2084 Commits

Author SHA1 Message Date
Dave Ward
97e28176a0 Possible build fix. Do not close result set before reading it in WebProjectServiceImpl.getWebProjectsRoot()
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14721 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-15 15:18:24 +00:00
Gavin Cornwell
cbf2501f6e - Added display labels to PeriodProvider's
- Period control now uses the display labels returned from the server

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14706 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-12 20:59:31 +00:00
Gavin Cornwell
60cd434285 Final minor forms refactor with the way data type parameters are handled
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14705 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-12 20:06:48 +00:00
Gavin Cornwell
e9dfb3f64b - 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
Jan Vonka
0dcda8c629 MTDemoTest fix - fallout from r14588 (changes to authorities)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14695 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-12 14:07:12 +00:00
Dave Ward
bc991a45bc Fix intermittent failures of SiteActivityTest. Shut down scheduler in setup() method so that we aren't competing with the scheduled post lookup and feed generator jobs.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14684 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-12 12:08:01 +00:00
Kevin Roast
6c562fe9ea 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
0decb3ceb0 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
Kevin Roast
ace9e44956 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
Derek Hulley
cb7c4e6593 Reverse-merged /alfresco/BRANCHES/DEV/IMAP3:r14500,14521,14560,14563,14632
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14657 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-11 14:00:22 +00:00
Derek Hulley
1a0c0dc758 Merged DEV/IMAP3 to HEAD
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14654 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-11 11:14:55 +00:00
Derek Hulley
5b6ff13d94 Merged V3.1 to HEAD
14192: Support for variable assignment and replacement in upgrade scripts
   14263 (RECORD ONLY)
   14286: Merged V2.2 to V3.1
      14124: Fixed ETWOTWO-961: FileFolderService.listFolders throws UnsupportedOperationException for AVM nodes
      14277: Fixed ETWOTWO-1228: CLONE -NodeService properties don't support collections of collections for d:any
   14302: Merged DEV/V3.1_UPGRADE_SCRIPTS_2 to V3.1: DB2 scripts and other minor changes
      14126 (RECORD ONLY)
      14193 (RECORD ONLY)
      14205: Next version of DB upgrade scripts for SQLServer and DB2
      14208: Enterprise DB scripts review: Move scripts to correct locations as a first pass
      14211: Carried V2.1-A script change into branch; use STR() function for numeric to string comparison
      14212: Moved script from old SQLServer dialect directory
      14213: Minor script formatting
   14303: Merged DEV/V3.1_UPGRADE_SCRIPTS_2 to V3.1: DB2 scripts and other formatting
      14214: Removed redundant scripts; these are all covered by generic scripts
      14236: Format SQL
      14248: Formatting of SQL to produce meaningful diffs
      14266: Next version of upgrade scripts
      14281: Clean up formatting of SQL scripts using Convert utility
   ___________________________________________________________________
   Modified: svn:mergeinfo
      Merged /alfresco/BRANCHES/DEV/V3.1_UPGRADE_SCRIPTS_2:r14126,14193,14205,14208,14211-14213
      Merged /alfresco/BRANCHES/V2.2:r14124,14130,14277
      Merged /alfresco/BRANCHES/V3.1:r14192,14263,14286,14302-14303


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14652 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-11 10:30:57 +00:00
Andrew Hind
592a2bb2fc Added support for paging using SearchParameters on the SearchService API (ARCHIVE-85)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14651 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-11 10:07:42 +00:00
Dave Ward
a4b283068c MOB-710: LDAP queries now performed with RFC 2696 paging and a configurable page size, defaulting to 1000 (the AD default maximum)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14648 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-11 09:04:24 +00:00
Dave Ward
b76f5fe5e1 Fix failing unit test. Account for EMAIL_CONTRIBUTORS group in SimpleAuthorityServiceTest
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14647 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-11 07:56:37 +00:00
David Caruana
b9dd81cf3a 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
Jan Vonka
2051b0709a MOB-690 - WCM PreviewURIService - checkpoint
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14642 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-10 17:04:09 +00:00
Dave Ward
e5c375d103 Fix failing unit test. Cascade delete site groups on site deletion.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14641 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-10 15:20:05 +00:00
Mike Hatfield
d8228cb23f MOB-216 - Group based site membership UI
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14638 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-10 14:59:20 +00:00
Gavin Cornwell
896bfd8986 Completion of MOB-837 (type support in forms)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14621 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-10 09:33:58 +00:00
Mark Rogers
e3c41b3fb2 Build fix. Adding deployment authentication service adapter.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14620 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-10 09:32:54 +00:00
Dave Ward
5688516416 Added extra diagnostics to testAdminUser to find out why it fails in the build
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14612 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-09 19:18:43 +00:00
Dave Ward
067bcc25a6 Fix authority-related bugs
- migration patch uses non-public authority service
- root authority query ignores deleted nodes
- avoid exception for getContainingAuthorities("System")
- update unit test to cope with corrected EMAIL_CONTRIBUTORS group and slight difference in behaviour with root authorities

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14609 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-09 17:17:23 +00:00
Gavin Cornwell
65a61fa306 First cut of MOB-837 (type support in forms)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14606 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-09 15:00:51 +00:00
Mark Rogers
e4c1d31655 Rework ETWOTWO-1236 To HEAD (rework not merge since deployment has been refactored)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14602 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-09 12:34:50 +00:00
Gary Spencer
343cc6502c Fix for file server ACL manager exception, added <aclDebug/> config value. ETHREEOH-2177.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14600 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-09 11:08:29 +00:00
Gary Spencer
679092f7e6 Added log level mapping to the DebugInterface implementation used by the JLAN code.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14597 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-09 10:24:16 +00:00
Gary Spencer
12f6a70788 Merged 3.1 to HEAD:
14359: Fixed native call being used when <disableNative/> was configured. ETHREEOH-2105.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14596 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-09 10:20:11 +00:00
Mike Hatfield
972d555ef4 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
d5e0432589 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
Andrew Hind
e4562d384d Added data type for period expressions (MOB-750)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14580 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-08 11:19:32 +00:00
Andrew Hind
1a261b54fd Added generic support for lucene scalar functions and used the to implement CMIS Upper/Lower string functions (MOB-221)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14578 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-08 10:42:01 +00:00
Mark Rogers
2c122bca4e ALFCOM-2946 Reworked File System Target to have metadata specific to each target rather than shared.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14574 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-08 09:57:11 +00:00
Jan Vonka
c1dc3189da Merged V3.1 to HEAD
14077: Merged V2.2 to V3.1
        14074: Fix ETWOTWO-929 and ETWOTWO-1175 (WCM preview)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14568 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-05 17:12:00 +00:00
David Caruana
1070ddd702 Merged BRANCHES/DEV/JBPM31UPGRADE to HEAD
14417: MOB-414 Upgrade to jBPM 3.3.1

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14567 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-05 17:04:57 +00:00
Kevin Roast
34cae989d9 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
Gavin Cornwell
a269ac3298 - Refactored low level form service to implement MOB-946 (add ability to do pre and post form processing)
- Added ignore patterns to new wdr-deployment project's build folder

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14558 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-05 14:09:34 +00:00
Mark Rogers
a3c3a40916 More integration fallout.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14554 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-05 13:07:10 +00:00
Mark Rogers
eeb22722a8 Merge WCM_WDR_MER TO HEAD
MOB-399 Implementation of Deploymemnt Engine
     MOB-669
     MOB-630
     Revisions 14181 - 14539 merged,,

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14543 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-04 20:57:18 +00:00
Derek Hulley
5cd055bbd7 Increased wait times in test; Expiry to use '>' again.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14532 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-04 13:02:35 +00:00
Andrew Hind
dc74e02dfb Fixes for ALFCOM-2942 (after the addition of subsystems etc in 3.2)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14530 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-04 11:25:37 +00:00
Kevin Roast
8343b2a642 Fix for ALFCOM-2912 - group search now correctly handles double quotes in search terms
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14522 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-03 14:13:40 +00:00
Andrew Hind
a8ac68a6e6 Add d:period data type (MOB-750)
- persistence, type conversion, and tests
- test model and index
- default set of implementations and tests

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14504 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-02 14:45:07 +00:00
Gavin Cornwell
abeb02268a Merged FORMS-TB3 to HEAD and fix for ALFCOM-2925 (The changes in document's metadata are not applied for 'Author' field)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14502 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-02 14:02:29 +00:00
David Caruana
cbcce91bd8 Merged DEV/MOB453 to HEAD
14474: MOB-453 Export multiple root nodes into a single export package (for RM)
___________________________________________________________________
Modified: svn:mergeinfo
   Merged /alfresco/BRANCHES/DEV/MOB453:r14474

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14496 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-02 10:58:42 +00:00
Andrew Hind
801eac5c2c Test Fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14470 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-05-28 13:46:18 +00:00
David Caruana
2798ec52f0 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
e46585becf 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
d8c87a5abd 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
Dave Ward
e193c622b3 Attempt to fix intermittent build errors
- LockEntity.hasExpired() now uses
System.currentTimeMillis() >= expiryTime

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14451 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-05-27 13:31:36 +00:00