Commit Graph

320 Commits

Author SHA1 Message Date
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
Simon Buckle
f8d9ce1618 Added wiki RSS feed. Fixed wiki page create to set the title property.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10347 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-13 16:03:47 +00:00
Simon Buckle
b03a1b1107 First cut of calendar tag filtering; events without the selected tag are de-emphasised.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10319 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-12 14:57:26 +00:00
Michael Ru
82decb8cb5 - Refactored blog component to be client-side rendered (still needs some cleanup work, also haven't removed obsolete files yet)
- Added setter function for Form.ajaxSubmitMethod / updated scripts using ajaxSubmitMethod

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10309 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-11 13:54:59 +00:00
Roy Wetherall
9d2fa4ce44 Tagging Service: tag scope refresh added. Async action execution policy added.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10288 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-07 10:25:05 +00:00
Simon Buckle
84784198f9 Modified page list JSON to include the tags for each page. Changed the UI for wiki page listing to bring more inline with wiki visuals.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10269 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-06 10:12:52 +00:00
Michael Ru
2923a12f09 - added link to external post if available
- fixes for taglibrary component
- fix for broken users search dialog in case first/lastname null


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10268 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-06 10:05:45 +00:00
Simon Buckle
93091b6475 Modified how wiki pages are created.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10267 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-06 09:42:06 +00:00
Simon Buckle
79801ecac5 Modified scripts to include a list of internal pages that the wiki page links to.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10258 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-05 16:05:08 +00:00
Mike Hatfield
fd3f660ee6 Document Library support for pagination - currently off by default (in component instance definition). Reworked More Actions pop-up to avoid MSIE script error on deferred events. YUI History Manager allowed to initialise correctly. OpenOffice mimetypes added to allowed swf preview pop-up.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10249 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-05 12:13:39 +00:00
Michael Ru
720b70035f - moved html encoding from REST API to ui layer webscripts and javascript
- proper header for discussions/blog list (aligned with documentlibrary)
- highlighting of selected filter in blog/discussions
- fix for broken invite users component if a user has null as first or last name
- removed obsolete webscripts
- various small fixes

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10241 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-05 08:37:37 +00:00
Simon Buckle
e432646ca9 Removed YUI tab component. Brought view / edit / details more inline with the visuals. Added escaping to returned JSON after page update.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10228 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-04 14:09:21 +00:00
Roy Wetherall
d230c72045 Change file modified date on returned content from web script of type 'ContentStream', fix for SLNG- 894, change relating to SLNG-989, assertNotNull added to JS unit test API
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10223 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-04 12:06:19 +00:00
Simon Buckle
24a5b01493 Initialised tags property to an empty array when creating a wiki page. Came up with a workaround to display "tags" property of a page in the Freemarker template.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10220 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-04 10:51:21 +00:00
Kevin Roast
476267e8f8 Thumbnail API mutually exclusive force/queue flags collapsed into single create mode parameter.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10219 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-04 10:46:04 +00:00
Glen Johnson
0a6cccc428 Fixed check for missing user name parameter, and added checks for missing first name and missing last name parameters, to Person Service REST API method POST People.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10215 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-04 02:32:28 +00:00
Glen Johnson
57668a2647 Various improvements to InviteServiceTest in setup(), tearDown(), and startInvite() helper method
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10213 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-02 19:35:02 +00:00
Glen Johnson
a80774c9bf Remove JavaScript files implemented for first drop of Invite REST API (leaving them in SVN might cause confusion)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10209 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-02 15:27:00 +00:00
Simon Buckle
8c3f00f808 Modified "Created by" and "Modified by" to show user's first and last name and not their username. Hooked up "Edit" and "Details" links on the wiki listing page.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10196 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-01 09:17:51 +00:00
Roy Wetherall
84270f27b6 Fix up test so failing async thumbnail creation does not cause test to wait indefinately
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10195 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-01 09:09:51 +00:00
Michael Ru
b381747731 - stress test for failing tag tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10193 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-01 09:07:19 +00:00
Michael Ru
18db58a702 - disabled tagging related blog post unit tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10186 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-31 17:04:49 +00:00
Michael Ru
668c288b52 - fix for invite acceptance step
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10182 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-31 13:35:38 +00:00
Glen Johnson
2556d511a8 Fixed up URLs embedded in invitation email to invoke inviteresponse with InviteID parameter (was workflowID) and using HTML format
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10180 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-31 13:21:38 +00:00
Mike Hatfield
4df306effc Some XHTML and CSS clean-up
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10176 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-31 11:36:23 +00:00
Mike Hatfield
ab4d089f72 Multi-file actions no longer cause the DocLib to refresh multiple times
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10169 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-31 10:39:12 +00:00
Simon Buckle
1fc0044d45 Modified event update so edited tags are applied properly.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10160 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-31 09:14:44 +00:00
Roy Wetherall
2e86ffb54e Thumbnail Service and Upload: thumbnails now refresh when new content is uploaded, content mime is not reset to binary when new content is checked in
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10145 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-30 18:33:24 +00:00
Mike Hatfield
20377c9e30 Dashlets link names to profile page
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10143 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-30 18:32:52 +00:00
Simon Buckle
450f4e5278 First cut of styling to the calendar dashlet on the user's dashboard.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10137 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-30 17:46:27 +00:00
Michael Ru
fd2073ead7 - fix for broken site members webscript in case usernames are numeric
- fix for failing member invite call in case member contains dot in its username
- added missing tag icon (didn't get committed last time)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10132 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-30 15:41:42 +00:00
Kevin Roast
aebed59eab Case insenitive username compare for user profile set. Alfresco Share Beta logo applied.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10125 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-30 13:44:43 +00:00
Simon Buckle
3c4670d752 Improved error handler if calendar data fails to load. Added site property to user events.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10123 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-30 13:21:42 +00:00
Kevin Roast
9392bbf502 Fix to Site Profile dashlet to handle missing "isPublic" flag.
Refactor of upload webscript to fix issue with missing document reference and reduce code paths.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10118 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-30 11:38:03 +00:00
Simon Buckle
abc20e4b06 Fixed link to main page on wiki filter component. Wiki markup is now rendered correctly on wiki page listing. Fixed null title in link to renamed page.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10117 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-30 10:56:42 +00:00
Glen Johnson
6079c6fdfb Fix for inviteresponse web script - when an invitation is either accepted or rejected, the respective tasks in the invite workflow are now getting ended properly, thus ending the workflow
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10105 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-29 15:50:42 +00:00
Simon Buckle
87782d4124 Added escaping to JSON about calendar events.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10102 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-29 15:02:34 +00:00
Mike Hatfield
07868cba9f Document preview supressed for non-supported mimetypes. Data webscripts use encodeJSONString() again.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10093 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-29 11:10:57 +00:00
Mike Hatfield
859240faaa Mimetype added to details pop-up. Icons replaced. HTML encoding of data-sourced strings.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10086 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-29 07:55:50 +00:00
Roy Wetherall
18d13c2392 JSON Encoding: added JSON encoding to data API's (note activities, wiki, forum and blogs have not been done yet to prevent unessesary destabalisation before preview release)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10076 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-28 17:57:00 +00:00
Michael Ru
1345499ca7 - numeric tags correctly handled now (SLNG-812)
- tags on blog list and blog view page are now clickable (SLNG-813
- search handles quotes and special characters better (SLNG-835)
- search now encodes the searched string (SLNG-862)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10073 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-28 15:05:58 +00:00
Michael Ru
fc5db63119 - fixed IE js errors (creating posts/topics works again)
- proper html escaping of titles in comments/blog/forum/search webscripts + activity feeds
- reverted debug flag in alfresco-template.ftl

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10069 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-28 13:17:20 +00:00
Simon Buckle
07e5be51a6 Added event name validation to disallow invalid characters - works on both event creation and edit. Modified PUT script to return non-empty JSON response.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10065 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-28 11:36:22 +00:00
Roy Wetherall
ef3a04948d Fix-up unit test to allow build to commence
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10060 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-28 10:32:14 +00:00
Simon Buckle
2ede1778c8 Escaped site name used in Lucene query used to retrieve events using the ISO9075Encode(...) method.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10059 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-28 10:27:06 +00:00
Glen Johnson
90905a5ae1 Various minor fixes for REST Invite Service (mostly to starting the invitation process, building the invitation email and sending out the email)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10057 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-28 06:11:43 +00:00
Michael Ru
fea55713f8 - invite of users and adding of new users works, but still some js/css issues around YUI buttons on IE
- Adapted people.get to return an object containing a people property instead of an array and added avatar image url to the returned person data

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10054 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-27 21:06:20 +00:00
Gavin Cornwell
5d77e95215 Implemented Leave functionality
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10048 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-26 21:08:32 +00:00
Mike Hatfield
d934b3b83e DocLib simple metadata editing and tag support.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10047 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-26 04:46:52 +00:00
Mike Hatfield
1061838a4c Doc Summary dashlet now doesn't show working copies
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10044 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-26 04:40:33 +00:00