27 Commits

Author SHA1 Message Date
Kevin Roast
9a3dc9eda1 Build fix.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10672 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-09-03 07:29:29 +00:00
Derek Hulley
7664f06131 Fixed file encoding after spotting compiler warnings
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10590 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-30 02:46:35 +00:00
Kevin Roast
636693bd05 New implementation of doclibrary fine grained permissions dialog.
- Updated to Linton's new design and visuals
 - Removal of obsolete actions
 - SiteManager group permissions can no longer be modified
 - Removal of unnecessary and naughty runAs(systemuser) code patterns in Site permission modification code
 - Setting and Resetting of permissions now working correctly
 - Addition of missing permission checks to doclib actions (fixes issue with apparent ability of a Consumer user able to edit document meta-data - infact they could not, no permission check was performed before rendering the action and cached data was displayed when subsequently clicked)
 - Various other fixes and improvements to related webscripts.
Addition of the SiteContributor role.
Fix to missing json encoding in json.status.ftl
Minor improvements to url encoder/decoder classes and removal of flush() call from RemoteClient that was not required but occasionally caused issues for Flash apps.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10579 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-29 13:45:34 +00:00
Mike Hatfield
7ad63641d9 Site.setPermissions(node, permissions)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10511 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-23 09:50:36 +00:00
Mike Hatfield
07e74b87b2 resetAllPermissions needed to check for inherited flag
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10494 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-22 12:44:47 +00:00
Roy Wetherall
f8e72d6b47 Site Service: expose methods to get group names and available site roles
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10479 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-21 16:32:30 +00:00
Roy Wetherall
540755aeb4 Site Service: added helper methods to set certain permissions at a node level within a site
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10393 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-18 12:44:09 +00:00
Roy Wetherall
9ccde2f127 Site Service: refactored site service to use groups to manage site users
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10375 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-08-15 08:43:59 +00:00
Roy Wetherall
a26cd025bf Site Service: make site service more robust in it's handling of special characters, only allow alphanumeric site short names for the preview release
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10119 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-30 12:33:18 +00:00
Roy Wetherall
bb29f1729c Site Service: support to add and remove membership to allow a user to add/remove them selves from public sites with the consumer role (used for join/leave functionality in the 3.0 client)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10080 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-28 21:21:16 +00:00
Roy Wetherall
49042e8dcb Sites collection added to person rest API, check point of tagging rest API
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10025 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-25 12:21:03 +00:00
Roy Wetherall
cef534a8c1 Site Service: fix issue when non-admin users create site containers
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9963 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-21 15:52:51 +00:00
Roy Wetherall
2c02d2a9d4 Site Service: Add permission bag that can be passed to JS create container API
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9923 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-17 15:29:41 +00:00
Roy Wetherall
1cca2f03b9 Site Service: refactor container API (Java & JS) to have separate create method, fix-up UI fallout, expose node details on site details (Java/JS/REST), fixup web scripts with correct permission levels
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9918 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-17 14:17:16 +00:00
Roy Wetherall
be9beda3b8 Site Service: sites created in sites folder within the SpacesStore
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9719 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-10 12:43:09 +00:00
Mike Hatfield
884811033d Test fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9684 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-08 15:10:57 +00:00
Paul Holmes-Higgin
5c34653299 More ProjectSpace cleanup and fix test failure
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9671 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-07 22:01:00 +00:00
Kevin Roast
cdd69a3879 Fix to run SiteAVMBoostrap as system user since AVM permissions.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9670 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-07 17:52:57 +00:00
Roy Wetherall
f13e6f19f2 Tagging Service: Initial implmentation of the tagging service, including tag scopes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9630 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-02 15:53:41 +00:00
Kevin Roast
a8fe4ffc04 AVM Site Store added to bootstrap for new installs and added patch for existing repos.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9501 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-17 15:21:08 +00:00
David Caruana
14660ea397 Support for sub-types of folder in site.getContainer() - to allow for specialised types of component folder and backwards compatibility with existing models such as forum.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9306 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-29 11:37:42 +00:00
David Caruana
95a622444e Implementation of site getContainer(), hasContainer()
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9267 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-27 15:20:36 +00:00
Jan Vonka
8979304535 Site Activities - including first-cut feed templates (joined, left, role-changed) + system test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9160 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-19 12:47:34 +00:00
Roy Wetherall
344b703a61 Site Service: GET, PUT and DELETE methods implemented and unit tested for Membership resource
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9063 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-10 00:27:11 +00:00
Roy Wetherall
5fe540e1cb Site service membership API (Java and JavaScript) and associated unit tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9012 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-06 17:35:32 +00:00
Roy Wetherall
5194966123 Site Service CRUD API's (Java, JavaScript and REST), unit test methods added to JS API to help unit test JS API's
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8986 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-01 16:48:30 +00:00
Roy Wetherall
c5733ca5ae Web Script unit test base class added, helpers for JSON support in web scripts added (JSON reader, JSON error template), update to test webscript server to support easy submit of content, first cut of site service API (JS and HTTP) - create site and listSites available
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8950 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-04-29 10:45:00 +00:00