Commit Graph

4869 Commits

Author SHA1 Message Date
Michael Ru
c5e960382c - moved tagscopetags to correct tagscopes api
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10555 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-28 09:32:53 +00:00
Simon Buckle
69a262565e Returns more informative message if page cannot be found. Updated mediawiki template to display error message from script - for the case when the wiki dashlet tries to display a page that has been deleted.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10554 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-28 09:26:26 +00:00
Simon Buckle
443bc923a6 First cut of components for creating new wiki pages as per the visuals.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10544 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-27 16:46:32 +00:00
Erik Winlof
58f29af9f4 Create site:
- Gives a nice error for duplicate shortNames
- service returns "error.duplicateShortName" as the message so a proper error message can be displayed to the client.

Delete site
- Icons for each site (a small typo had gone into the css in the previous commit)
- Handles a failed delete better (i.e. because of lacking permissions)

Full preview & Preview
- Does only display their page navigation controls if more than 1 page exists
- Does not display an error message if an invalid page is given (displays the last or first instead)

Preview
- Displays its controls above the preview instead of below

Full Preview
- If its an web image (jpeg, png, gif) it displays the actual image instead of a imgpreview

Dashlets
- All dashlets use Camel Case in their short name
- New shortName for Docsummary: Recently Modified Files


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10542 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-27 16:22:17 +00:00
Michael Ru
b7a8c5fac8 - removed highlight for blog/discussions/comments in case no actions are available
- some ui improvements for blog/discussions lists
- comment components now check for permissions

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10540 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-27 16:00:21 +00:00
Michael Ru
8b71ac4400 - confirm dialogs for delete in blog/discussions/comment
- document library search results link to document-details page & nicer search load message
- reduced height of comment components in document-details page
- no minimum search term length required in people-finder search
- replies component now scrolls to editor and highlights updated/added replies

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10537 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-27 13:30:27 +00:00
Erik Winlof
41df763bd4 Delete Site module
- finished
- the service webscript now returns something {success: true}

My Sites
- New icons and calls the Delete Site module

Thumbnail/Previews
- imgpreview is 480x480 instead of 400x400

Upload
- The label when no files are in the list are always the same (not taken from doclib)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10535 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-27 13:14:42 +00:00
Simon Buckle
bf9aa1634b Events in agenda view are now clickable. Modified event list data so it is now sorted correctly by date.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10534 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-27 12:12:07 +00:00
Kevin Roast
23a7dfb82f Fix to Upload webscript to require a transaction wrapper - this caused an issues where if multiple asynchronous requests to upload occured and the parent container was not yet created, then it was possible for a race condition to occur.
Fix to site finder JS to encode username string for a REST request.
Fix to flash upload JS to use the Alfresco JSON parser wrapper to catch and display JSON exceptions.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10521 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-26 14:54:08 +00:00
Michael Ru
2dc4ddcef0 - strip dangerous html for blog/discussions/comments
- fix for wrong-working all-filter in forum

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10520 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-26 14:53:36 +00:00
Michael Ru
0cbea60cf6 - changed accept/reject webscripts to put method
- some code cleanup / removed obsolete invite.get.html.ftl

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10515 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-26 09:53:05 +00:00
Erik Winlof
a3c4c70d3e Create site
- Shows spinner during create

HTML upload 
- works in profile page
- returns filename in callback and highlights file after upload.get.html.400.ftl

Flash upload.get.html.400.ftl
- includes highlightFile after upload.get.html.400.ftl for single upload and update

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10513 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-25 11:23:06 +00:00
Mike Hatfield
4c5576ec0c Document Library permissions
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10512 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-23 09:52:54 +00:00
Mike Hatfield
c91677bbb4 Minor refactor of doclib action data webscripts
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10510 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-23 09:49:55 +00:00
Mike Hatfield
a51412515e Site roles data webscript
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10509 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-23 09:49:01 +00:00
Michael Ru
03a08a20f9 - added webscript to get invite information for a given id and ticket
- invite response webscript now uses correct api and put/delete method and only requires invite id and ticket
- improved invite accept/reject pages ui, correct handling in case the invite has already been canceled
- fixed buggy digit-only usernames handling in memberships webscript
- slightly changed comment activities wording

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10506 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-22 19:58:31 +00:00
Kevin Roast
ad30bbbbbe First set of fixes for SLNG-1072.
PLEASE NOTE: user IDs may contain invalid characters that cannot be used in URLs,  XML or HTML pages or filesnames - therefore please ensure that they are always XML/HTML encoded both for display in XML/HTML pages, and URL Encoded for us in URLs or filenames.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10496 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-22 13:05:40 +00:00
Glen Johnson
d0d19ba6ea Various Invite Service fixes
- removed unnecessary siteService property from 'invites' web script
- removed unnecessary getSentDateFromInvite(...)) method from InviteHelper.java
- added comments to property getters in InviteInfo.java
- return sentInviteDate, inviteeSiteRole and invitationStatus from 'invites' Web Script   

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10493 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-22 12:39:24 +00:00
Glen Johnson
e0921fe3ef Committing Invite.java left out of last commit (for revision r10481) by mistake
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10487 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-22 08:48:45 +00:00
Glen Johnson
f32aa602f5 Fix for bug with Invite Service's "inviteresponse" web script where 'accepting' or 'rejecting' a site invitation was completing the associated workflow task for workflow instances other than just the instance it was related to
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10481 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-21 17:24:57 +00:00
Glen Johnson
3ba7715580 Use global workflow instance ID (with engine ID prefix on front) as invite ID injected into 'accept' and 'reject' URLs embedded in Invite Service's Invitation Email (fixes a mismatch between this and the invite IDs returned by the invite web scripts).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10478 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-21 16:19:24 +00:00
Simon Buckle
d2fadeecf2 Fixed the links to wiki pages in the RSS feed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10475 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-21 15:26:23 +00:00
Michael Ru
4c522387c3 - added pending-invites, accept-invite and reject-invite pages.
- adapted header component to only show logo and help if no user logged in

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10464 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-21 11:59:47 +00:00
Simon Buckle
a6bdfca691 Fixed date validation bug on event creation for the calendar and refresh problem when event had no tags. Fixed problem with the wiki dashlet.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10463 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-21 11:47:50 +00:00
Kevin Roast
0103b7ca03 Slingshot Change Password page and implementation.
Repository API for change password.
Fixes to webscript framework to ensure that webscript POSTed Content is only read once from the underlying inputstream - it was previously possible for a Java backed WebScript to read content during executeImpl() and the same inputstream content would be further processed again when the template parameters for the output were generated.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10461 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-21 10:55:11 +00:00
Mike Hatfield
5bde469d0c Doclist data webscripts return permissions metadata
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10459 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-21 10:24:20 +00:00
Mike Hatfield
cab287d27c Fixes for task transitions: default transitions and setting scope in Workflow JS API
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10454 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-21 08:50:14 +00:00
Michael Ru
2fd6dd1f39 - added serverPath, acceptUrl, rejectUrl and ticket params to the invite webscript/workflow
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10439 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-20 11:58:11 +00:00
Roy Wetherall
b5caf3fdef Thumbnail Service: can now get a list of thumbnail definitions that can be applied to a given content property
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10437 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-20 10:27:56 +00:00
Glen Johnson
f4da392bc3 Change to Invite Service so that 'start invite' operation receives a given invitee site role and 'accept invite' picks it off the workflow and sets the invitee's site membership with that role
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10435 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-20 09:06:13 +00:00
Mike Hatfield
31bf4fc817 Fixed filter=node for doclist data webscript
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10434 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-20 07:52:56 +00:00
Simon Buckle
f14191332d Cleaned up atom entry for event creation/update/delete; removed empty icon element.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10432 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-19 18:44:06 +00:00
Simon Buckle
7c9cc2d5c8 Added link to ical feed to calendar.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10431 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-19 18:38:11 +00:00
Michael Ru
496d70736b adapted "invites" webscript to return all data required for the sent-invites page. Some data only stubbed currently
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10428 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-19 17:23:51 +00:00
Erik Winlof
164b43b9fd First cut of the Uploader in pure html (non flash version).
- Works in single upload and update mode (multi upload mode defaults to single upload)
- Tested in doclib and works

Stuff that needs fixing is:
- Error handling from internal server errors
- Make it work in profile page
- Proper styling

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10427 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-19 16:58:28 +00:00
Mike Hatfield
6ee3e78da8 MY Tasks dashlet (missing file)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10426 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-19 15:38:05 +00:00
Mike Hatfield
9a4ce6d812 My Tasks dashlet.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10421 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-19 14:06:53 +00:00
Glen Johnson
1533fdf240 Removed invite service test which checks that the 'start invite' operation rejects starting an invitation when a duplicate one is already pending (until I find a fix for misbehaving workflow query behind it)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10418 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-19 11:58:17 +00:00
Simon Buckle
b5de110ca3 Modified the image picker plugin to be driven from document library container. Modified image query to exclude thumbnails.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10414 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-19 10:25:01 +00:00
Mike Hatfield
8d1f4af500 Fix for "node" and "tag" doclist regression
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10413 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-19 09:41:47 +00:00
Mike Hatfield
dd15922a47 Doclist allows trimming of results and ordering by date for Recently Modifed-style filters. Folders appear at top of list.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10411 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-19 07:44:08 +00:00
Simon Buckle
d3669b9bba Added type filter query. Missing file from previous check-in.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10409 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-19 06:30:33 +00:00
Simon Buckle
a032915615 Modified doc listing to use Lucene query to search docs according to filters etc. Added 'images' type to only return images in the listing.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10408 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-19 06:27:35 +00:00
Glen Johnson
da322f33ca Various fixes to "start" operation in Invite Web Script
- Fixed bug where "start invite" web script operation was always generating a new disabled invitee account, even if an account for a user with the given invitee email address already existed.
- Make sure that invitee ONLY receives account details in invitation email if a disabled invitee account has just been created for invitee prior to sending out the email (i.e. if there was no pre-existing account for the invitee and thus a disabled invitee account had to be created)
- Breaking out the long "start invite" web script method into various helper methods
- Throw web script exception if "start invite" web script operation hasn't been able to generate a unique user name for the given invitee email address after 10 attempts.
- If "start invite" web script operation detects that a person already exists in the repository with the given invitee email address, then use that existing person as the invitee (instead of always creating a new person node for the given invitee email address)  
- Throw Web Script exception if "start invite" web script operation detects that given invitee is already a member of the given site
- Added more comments to the code

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10405 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-18 16:38:38 +00:00
Mike Hatfield
db52f6c045 Documents I'm Editing dashlet. Documents Modified dashlet now uses main doclib data webscript.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10403 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-18 16:11:04 +00:00
Mike Hatfield
2deda6de62 DocLib workflow components
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10402 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-18 16:09:49 +00:00
Michael Ru
b2418a1eac - permissions for blog and forum components
- cleanup of taglibrary code

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10400 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-18 15:50:09 +00:00
Roy Wetherall
6cd48e1cbf Fixed up blog service test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10398 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-18 13:31:36 +00:00
Gavin Cornwell
68e75f18c5 - Initial cut of site members page (no interaction yet)
- I18N of join/leave buttons in site finder
- Made start page of Members area the site members page rather than invite

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10385 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-15 14:21:16 +00:00
Kevin Roast
df0e09286b Change to the way we apply 'versionable' aspect by default to uploaded documents. Aspect is still applied but "autoversion" and "create initial version" features are off by default. First version is instead explicitly created during checkout process.
Fix to apply 'versionable' aspect to documents that are being updated via the Share client but were initially uploaded via another route i.e. FTP or JSF Client.
Minor fix to doclist json to handle documents that have 'versionable' aspect applied but do not have any version history.
Code cleanup to ML document details.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10370 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-14 14:54:25 +00:00