Commit Graph

4869 Commits

Author SHA1 Message Date
Kevin Roast
abacbf1c6b Implemented "Use Default" button on Edit User screen to allow admin reset of user uploaded photo image. MOB-34.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14700 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-12 15:45:55 +00:00
Mike Hatfield
90a2032577 Catch additional NumberFormatException when attempting to parse If-Modified-Since header
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14699 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-12 15:16:12 +00:00
Gavin Cornwell
02a948e94d - Refactored FormData class to remove unecessary API layer and fixed up fallout
- Renamed 'definition' webscript to 'formdefiniton' (no change to URL)
- Simplified and improved formdefinition webscript JS/FTL

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14698 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-12 15:15:19 +00:00
Mike Hatfield
1cd2a772e8 ALFCOM-2961 - Admin Console - Edit User: different UI displays depending on browser.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14683 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-12 11:43:33 +00:00
Mike Hatfield
36905ad325 Fix for parsing of "If-Modified-Since" header
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14679 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-12 09:37:23 +00:00
Kevin Roast
0ef171598a Added transaction allow=readonly to all appropriate Share and Remote Service WebScript descriptiors.
- fixed up SiteService to create inner transactions as readonly where appropriate
 - tested Share with basic operations, may be some further issues that fall out

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14672 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-11 21:01:48 +00:00
Gavin Cornwell
579e07567e Completed MOB-876: Period control (based on new d:period data type)
- Removed temporary period control from DOD project
- Added proper period control based on new d:period type
- Added ability for a data type to return a set of parameters to describe it or its restrictions (used here to return the period provider definitions)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14671 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-11 20:16:27 +00:00
David Caruana
565c57d893 Web Script Framework enhancements: ReadOnly transactions, Buffered Responses
- additional 'allow' attribute on <transaction> element in web script descriptor
   - values: readonly, readwrite (default)
   - readonly means that the whole web script executes in read transaction
   - readonly lighter weight; no flushing, no cache checks/updates
- transaction aware web script response buffers
   - only commits to response when trx is committed
   - fixes ALFCOM-2497 - CMIS: createFolder & immediately add document can fail
   - also means errors half-way thru response result in clean response with error contents only
   - readonly transactions are not buffered
- WebScript RepoStore now uses ReadOnly transaction for gets
- CMIS getter Web Scripts set to ReadOnly transaction
- Fix up Web Script pattern that checks for WebScriptServletResponse using instanceof
   - no longer the case, as it may be wrapped in BufferedResponse
   - use getRuntime() instanceof WebScriptServletRuntime and/or
   - WebScriptServletRuntime.getHttpServletResponse/Request(WebScriptReponse r) - returns null, if none

Tests:
- Run CMIS Tests
- Run CMIS BulkCreateSystemTest (now working)
- Run Share

Suggestion:
- Update your 'read' web script descriptors to include <transaction allow="readonly">. This will improve repo performance significantly.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14670 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-11 18:25:59 +00:00
Mike Hatfield
63bc21f5c5 ETHREEOH-1097 - Document Details page is not sensitive to locked file state
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14664 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-11 14:41:02 +00:00
Kevin Roast
2ceeb71ae8 Share User Console tool enhancements and fixes:
- Username and password field length checks based on config values (ALFCOM-2907, ETHREEOH-1199)
 - Password checked against Validate Password field on Create and Update of a user (ALFCOM-2913, ALFCOM-2922)
 - Fix to recently broken script People API - attempting to create a user with a username that already exists did not return null but instead throw an exception (ALFCOM-2921)
 - Field validation correctly trims fields before validation (ALFCOM-2920)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14663 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-11 14:39:03 +00:00
Kevin Roast
80f83ebecd Fix up double-encoding issue Content I'm Editing dashlet.
- also clean up of template and optimization of data webscript queries
 - fixes issue where any edited content would be shown as a Wiki item in the dashlet
 - error handled fixed in dashlet web-tier javascript

 - missing file

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14650 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-11 09:22:31 +00:00
Mike Hatfield
78913e033a Remove redundant development scripts
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14646 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-10 22:58:45 +00:00
David Caruana
01718c3455 MOB-356: CMIS Spec - deleteContentStream()
- AtomPub binding
- added testContentStreamEmpty()
- added testContentStreamDelete()
- some spec issues raised for CMIS TC

- also added delete() to ScriptContentData

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14643 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-10 17:55:40 +00:00
David Caruana
c185e0674f System test for ALFCOM-2947: Bulk create folders/docs via CMIS can fail.
Note: This test currently fails intermittently, but won't halt the build, as it's a System test.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14640 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-10 15:13:50 +00:00
Lawrence Carvalho
a04532e10f Minor fixes including escape issues and filtering out non-blog posts if copied into blog container
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14637 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-10 14:29:41 +00:00
Lawrence Carvalho
8715b7e671 now filters out non blogposts
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14634 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-10 14:13:57 +00:00
Mike Hatfield
b303855dc9 ETHREEOH-1909 - Browser (FF) specific: Some Action buttons are missing and some are displayed incorrectly because of the broken disign in "Document list" component
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14631 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-10 13:10:35 +00:00
Lawrence Carvalho
490dc077fa MOB-492 - Now shows last 3 blog,wiki and forums posts user has edited
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14630 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-10 12:05:31 +00:00
Kevin Roast
e281f49e09 Image Preview dashlet now uses much faster images specific data webscript from doclib REST API
Doclib images data webscript improvements:
 - applies limitResults argument to Lucene search call so max results filtered at repo level
 - returns additional useful metadata

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14625 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-10 10:26:32 +00:00
Mike Hatfield
1ed429a206 MOB-723 - Specialise Type Action. Small tweaks to Manage Aspect action.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14613 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-09 20:38:55 +00:00
Kevin Roast
5218738666 Fix up since Authority migration patch model changes.
Some related remote API Javascript and FTL cleanup.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14603 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-09 12:53:23 +00:00
Mike Hatfield
525b4ed72e ETHREEOH-2179 - Share search results that return a folder don't link correctly
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14591 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-09 09:08:41 +00:00
Mike Hatfield
4d1bc4f5e3 Manage Aspects action and picker. List of available aspects in config: visible, addable and removeable. Does NOT support mandatory aspect properties with no defaults. "shortQName" added to Repo JavaScript (utils) and Freemarker APIs
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14590 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-09 08:58:11 +00:00
Dave Ward
916774a1fe Merged BRANCHES/DEV/DAVEW/LDAP to HEAD
14587: Added new node service method getNodesWithoutParentAssocsOfType to public-services-security-context.xml (or at least my best guess at it!)
   14586: Use US spelling of synchronization in filenames for consistency
   14585: Lower the default user registry sync frequency to daily instead of hourly. Now users and groups are pulled over incrementally on login of missing users.
   14583: Unit test for ChainingUserRegistrySynchronizer
   14571: Migration patch for existing authorities previously held in users store
      - Uses AuthorityService to recreate authorities in spaces store with new structure
   14555: Authority service changes for LDAP sync improvements
      - Moved sys:authorities container to spaces store
      - All authorities now stored directly under sys:authorities
      - Authorities can now be looked up directly by node service
      - Secondary child associations used to model group relationships
      - 'Root' groups for UI navigation determined dynamically by node service query
      - cm:member association used to relate both authority containers and persons to other authorities
      - New cm:inZone association relates persons and authority containers to synchronization 'zones' stored under sys:zones
      - Look up of authority zone and all authorities in a zone to enable multi-zone LDAP sync
   14524: Dev branch for finishing LDAP zones and upgrade impact

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14588 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-08 16:16:32 +00:00
Kevin Roast
8c84d09566 Fixed the completely broken code in memberships.get.js REST API and the equally challenged URL that's calling it in colleagues.get.js.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14570 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-05 18:47:25 +00:00
Kevin Roast
6f60cfc4e0 Merged V3.1 to HEAD
14465: Fix for ALFCOM-195 - date added to WCM FreeMarker template model.
   14466: Fix for ETHREEOH-2075
   14469: Fix for ETHREEOH-2120

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14564 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-05 16:29:50 +00:00
David Caruana
902252cde4 Merged DEV/CMIS0_61 to HEAD:
14395 : MOB-689 Support custom sub-types in CMIS Web Services
___________________________________________________________________
Modified: svn:mergeinfo
   Merged /alfresco/BRANCHES/DEV/CMIS0_61:r14395

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14505 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-02 14:48:00 +00:00
Mike Hatfield
a75b698944 Minor change to where JSON escaping happens in usercontent data webscript
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14492 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-02 07:22:38 +00:00
Lawrence Carvalho
dd66bdb15e better lucene query, visual improvements and added links to user's own profile page
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14486 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-01 13:41:33 +00:00
Lawrence Carvalho
cb39d1bdd3 profile pages of other users now lists their site membership and recently edited content
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14478 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-05-29 14:33:05 +00:00
Mike Hatfield
ababef935d ALFCOM-2917 - Rules folders showing up in DocLib. Also made treenode data webscript much faster when checking for subfolders.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14477 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-05-29 14:28:23 +00:00
Mike Hatfield
7531e57a23 Merged BRANCHES/DEV/RM-DEMO to HEAD
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14476 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-05-29 13:16:12 +00:00
David Caruana
4fa8c5c423 CMIS Relationship delete implementation
- added testDeleteRelationship

CMIS Relationship loose ends
- added property filter to getRelationships
- updated allowable actions for relationships

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14468 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-05-28 13:31:02 +00:00
Andrew Hind
3b68651191 More SearchService refactor. Added CMIS SQL to the search service. Tidy ups. FTS supports default namespace and templates via search parameters API. (MOB-568, MOB-569)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14463 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-05-28 10:34:51 +00:00
David Caruana
47da70f4df CMIS Relationship support in AtomPub binding
- getRelationships
- getRelationship
- createRelationship
- unit tests for above

TODO: delete relationship, includeRelationships flag

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14461 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-05-27 22:11:31 +00:00
Andrew Hind
0e56f7f40c Search API updates. FTS fixes for range and dual tokenisation.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14419 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-05-22 14:36:48 +00:00
Mike Hatfield
48050c31bc Latest RM DocLib including up-to-date icons
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14389 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-05-21 12:25:39 +00:00
Derek Hulley
7de9315818 Reversed out revisions 14366, 14361 and 14356
- Just prior to this, created dev branch DEV/ANDY_HEAD_ROLLBACKS
 - Andy: Switch to this branch on your local copy if you have changes to any of the files modified here


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14374 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-05-20 10:32:23 +00:00
Gavin Cornwell
2558c285d2 Added repeating property to JSON response
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14369 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-05-20 09:06:28 +00:00
Derek Hulley
ea62970c6e Fix for ALFCOM-2889: Table Locking Issue on Derby when uploading docs via Share
- Is an alternative fix for ETHREEOH-1936 (undoes CHK-7199)
 - Removed nested read-write txn in 'upload.js'.
   The script was attempting to operate on the same node in both the nested and outer transactions.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14368 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-05-19 17:10:02 +00:00
Andrew Hind
3c067eca13 First pass at fixes/extensions/tidy ups to the search API - part of wiring FTS up as a query language MOB-568
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14361 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-05-19 14:06:15 +00:00
Mike Hatfield
a47b9475c7 First draft DOD5015 DocLib
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14358 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-05-19 12:02:09 +00:00
Kevin Roast
89d80b0976 First cut of RM search data webscript added to dod-5015 module
Second phase of Record Search component
 - Datagrid with draggable, resizable columns, calls RM search data webscript (you need some records in the RM site)
Clean up of recordsModel XML (trailing whitespace, tabs)
Clean up of unused code and incorrect javadoc in Share search.js
Removal of unused json data from Share search data webscript template

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14346 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-05-18 13:05:29 +00:00
Mark Rogers
6e0aae370f Rework createPerson to receive password. (Previous interface was un-usable)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14343 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-05-18 12:52:11 +00:00
Mark Rogers
495e767906 Implementing Web Site Group Membership.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14342 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-05-18 12:44:04 +00:00
Gavin Cornwell
6324d484cf Build fix - Moved imap status webscript from repository project to remote-api project
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14313 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-05-14 11:27:35 +00:00
Mark Rogers
d2cec2e7e6 Corrected invalid contents of files that have been broken for years!
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14306 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-05-13 17:54:42 +00:00
Mike Hatfield
d741ceb07e Share Folder details page
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14298 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-05-13 13:36:28 +00:00
Gavin Cornwell
b19cad46de Initial cut of IMAP support (disabled by default, to enable move imap sample files into extension folder)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14279 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-05-12 13:41:08 +00:00
Gavin Cornwell
6538ed2bb0 Fix so that subtypes of cm:folder can be seen in doclibrary tree
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14270 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-05-11 15:36:28 +00:00