2130 Commits

Author SHA1 Message Date
Kevin Roast
6763cfabc1 Merged V3.1 to HEAD
14955: Merged V2.2 to V3.1
      14352: Fixed ETWOTWO-1113: Creation date / modification date reset to current date during import
   14956: Fix for ETHREEOH-2198 and ALFCOM-2972
           - Thumbnail Service now allows creation of system managed thumbnails nodes by Consumer users or on Locked items
           - Explicit permission check to ensure user must at least be able to Read the original doc
           - Now correctly ensures that the 'modifier' properties are not updated on the original doc due to thumbnail generation

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14957 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-26 12:47:58 +00:00
Jan Vonka
8139b17300 ALFCOM-3024 - added optional property exclusion list to versionable aspect (-> onUpdateProperties)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14952 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-26 11:12:56 +00:00
Andrew Hind
9c630f07f3 Merged V3.1 to HEAD
14919: Merged V2.2 to V3.1
        14785: Fix for ETWOTWO-1164: Newly created access groups for web projects are not deleted when the project is removed


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14950 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-26 09:39:30 +00:00
Derek Hulley
5500f162b4 Merge IMAP in
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14947 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-26 08:48:25 +00:00
Dave Ward
5443afbdd0 ETHREEOH-2242: New ldap-ad Authentication subsystem with defaults for Active Directory
- Fixed parsing of timestamps
- Fixed resolution of group members
- Shared Spring configuration with ldap subsystem
- Authentication still only supported with DIGEST-MD5 binding enabled - chain with passthru authentication otherwise

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14934 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-25 18:16:26 +00:00
Jan Vonka
d19baaebcf ALFCOM-3024 - re-enabled (via new cm:autoVersionOnUpdateProps) and added additional tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14932 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-25 17:18:07 +00:00
David Caruana
8c8eb1d047 Fix ALFCOM-3049: JCR TypeConversionException: Cannot convert non UTF-8 streams to String
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14929 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-25 14:02:43 +00:00
Derek Hulley
47a00104a0 Added RepositoryStartupTest with hard-failure in build
- Runs before all other repo tests
 - Tests basic write operation to ensure that repo has started properly
 - Any failure stops the build
 - Is separate from other repo tests, which don't stop the build on failure


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14928 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-25 13:45:30 +00:00
Derek Hulley
623c7ddabe Check for null TransactionListeners being registered
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14926 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-25 13:35:57 +00:00
Mike Hatfield
2f34fc6b20 Moved IMAP Favourites preference from imap.favourites to imapFavourites. Prevents an unnecessary exception being thrown when evaluating in JavaScript.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14910 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-25 08:41:42 +00:00
Jan Vonka
c005190e71 Fixed ALFCOM-3024 - follow-on fix (missed line)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14905 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-24 17:21:13 +00:00
Mark Rogers
9efa161ac3 Share interface now only shows groups in APP.DEFAULT zone.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14894 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-24 14:04:43 +00:00
Derek Hulley
f2a0a4f35e Fixed user usage tracking query
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14891 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-24 12:51:07 +00:00
Jan Vonka
36302a2f66 Fixed ALFCOM-3024 - Updating metadata for an auto-versioned object does not create a new version
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14890 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-24 12:29:10 +00:00
Dave Ward
c38cb41d48 Correction to HibernateNodeDaoServiceImpl. Do not store content data for properties of type ANY in the content data table. Fixes license persistence in the enterprise edition.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14887 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-24 11:53:02 +00:00
Derek Hulley
104a97f934 Old versioning NodeService can now handle new content references (for test)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14886 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-24 11:45:36 +00:00
Dave Ward
f13306ce45 Fix failing JBPMDeleteProcessTest after removal of derby dependencies
- Run on real repository rather than fake derby one
- Also tidied up classpath.unit.test in build.xml

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14881 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-24 10:21:26 +00:00
Derek Hulley
fda4df9dee Added support to bypass PostgreSQL's use of 'TRUE' where other DBs use '1'
- http://wiki.alfresco.com/wiki/Schema_Upgrade_Scripts#Script_Variables


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14866 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-23 14:57:27 +00:00
Kevin Roast
3602a7c989 Merged V3.1 to HEAD
14628: Second attempt at ETHREEOH-2144 fix - tested against several known good webforms.
   14854: Fix for ETHREEOH-2206. Also fixes minor issue where rule condition selection box was not reset after adding a condition to a composite.
   14862: Fix for ETHREEOH-1946 - correctly coerce nodes returned from javascript into AVMTemplateNode objects if they are AVM NodeRef objects.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14864 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-23 14:34:50 +00:00
Andrew Hind
7038f07076 Fix for MOB-1029: Read operations for zones should not create zones
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14859 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-23 13:39:55 +00:00
msha
e2d250171f Fixed queries used by User Usage tracking to extend to alf_content_url table
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14857 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-23 13:04:26 +00:00
Jan Vonka
07e6ccf223 ALFCOM-2885 - WCM/AVM - modify mime_type length (to allow upload of MS Office 2007 docs)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14846 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-23 09:28:11 +00:00
Kevin Roast
a8843c3374 Fixes for ALFCOM-2910 and ALFCOM-2986
- Also fixes an underlying issue where RepositoryAuthenticationDao.getUserOrNull() method cannot handle username's containing quotes during the Lucene based lookup

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14841 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-23 08:29:16 +00:00
Derek Hulley
2d45a887c0 Unit test Suite for DAOs and some extra content clean tests and fallout
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14838 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-22 17:57:48 +00:00
Jan Vonka
dc5c8b61e2 Fixed ALFCOM-2893 - WCM content expiration throws "Invalid Path: /"
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14836 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-22 16:12:57 +00:00
Andrew Hind
de477c27df Add pattern based search for authorities constrained to zones
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14829 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-22 12:45:00 +00:00
Derek Hulley
5fe2c1507b Fixed ContentData entity cleanup when null value repeatedly applied to cm:content property
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14826 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-22 12:08:21 +00:00
Kevin Roast
d5c07c5646 Result skipping wired into new JavaScript query API.
- supported by all Alfresco search languages via new JS API

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14821 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-22 09:36:58 +00:00
Dave Ward
68f87e6c05 Two new editable properties supported by Synchronization Subsystem
- synchronization.syncWhenMissingPeopleLogIn
- synchronization.autoCreatePeopleOnLogin
When both are false you can now cause users who your LDAP sync doesn't bring in to be rejected (seems to be a requirement)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14814 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-19 16:52:17 +00:00
Derek Hulley
d22b8baa6c Integrated Content Properties Refactor and Content Purge
- MOB-30: Content Purge
 - MOB-415: Content Properties Refactor
 - Adds to MOB-214: Upgrade scripts for Ent DBs


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14810 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-19 15:11:24 +00:00
Mark Rogers
ceb954c0f1 Removed exception handling from invitation patch.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14809 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-19 14:50:58 +00:00
Andrew Hind
7b1fdf1d2f MOB-1022: Fix migration issue for AuthorityDefaultZonesPatch (AuthorityMigrationPatch will already have added default zones to everything)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14805 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-19 12:51:13 +00:00
Jan Vonka
3045926665 ALFCOM-2977 - follow-on (for MT bootstrap)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14797 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-18 20:14:02 +00:00
Mark Rogers
7d5dd9faf5 ETHREEOH-2133 Creating a duplicate 'private' site returns permission denied instead of meaningful error
- The pre-existing test is now run as root.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14794 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-18 16:59:23 +00:00
Mark Rogers
31c439521f ALFCOM-2981 Cannot find moderated site if I am a 'non-owner' using search field
- Moderated sites now have CONSUMER role for everyone.
 - Note that I havn't fixed the permissions of existing Moderates Sites,  This will only work for new and updated sites.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14793 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-18 16:13:08 +00:00
Jan Vonka
e4efa5265c ALFCOM-2977 - Dictionary fails to re-init
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14784 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-18 11:35:12 +00:00
Dave Ward
8d3d1d4a70 Third party subsystem failed to start if dir.root was a relative path
- due to Spring's conversion between Strings and Files
- now own custom conversion routine is used

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14782 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-18 10:50:36 +00:00
Gavin Cornwell
65bdf48d96 Fix for ALFCOM-2970: System properties are editable if configured to appear in a form, also added title and description for sys:node-dbid property
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14780 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-18 09:55:31 +00:00
Dave Ward
be7433d596 Fix up new createAuthority() call in ResetWCMToGroupBasedPermissionsPatch
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14773 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-17 17:13:53 +00:00
Dave Ward
9f69064bd6 Reliable formatting of ${ooo.user} variable in Open Office Startup
- Open office seems to be temperamental about starting if its env:UserInstallation argument doesn't begin "file:///" on Windows or "file://" on Unix. The argument may not contain any backslashes either. Unfortunately, this doesn't correspond to Java's File to URI conversion
- Created OpenOfficeURI class for doing the formatting instead instead

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14771 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-17 14:02:45 +00:00
Derek Hulley
7ca716d403 Merged V3.1 to HEAD
14528: Added missing comma to CREATE TABLE statement: ETHREEOH-2150
   14531: Acegi diff file added.
   14608: Merged V2.2 to V3.1
      14509: ETWOTWO-1235 - update for MySQL
      14515: ETWOTWO-1235 - update #2 for MySQL
      14551: ETWOTWO-1235 - update #3 (fix "Failed to set top acl for store: .... unexpected updateCount ...")
   14736: Merged V2.2 to V3.1
      14735: ETWOTWO-1247 - WCM upgrade
   14748: ETHREEOH-2225 - WCM upgrade
   ___________________________________________________________________
   Modified: svn:mergeinfo
      Merged /alfresco/BRANCHES/V2.2:r14509,14515,14551,14735
      Merged /alfresco/BRANCHES/V3.1:r14528,14531,14608,14736,14748


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14770 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-17 14:00:18 +00:00
Derek Hulley
0697be41a3 Merged V3.1 to HEAD
13857: Merged V2.2 to V3.1
      7028-13041: (Record only) New merge path
      13343: (Record onlY) Merged V3.1 to V2.2:
         13330: Fix ETHREEOH-1408: Incorrect button name at "Manage Task: Submitted" page
         13337: Fix for ETHREEOH-1409 and further fix for ETHREEOH-1408
      13363: Fix ETWOTWO-1022 (Virtual website not found - Bad host name)
      13386: Fix ETWOTWO-1145: WCM Form web script include is not handling ${} token format
      13387: (Record only) Removed dev from version label
      13621: (Record only) Merged V3.1 to V2.2
         13497: Fixed ETHREEOH-1431: Authentication case sensitivity switch doesn't work
                Fixes ETWOTWO-1012
      13828: ETWOTWO-1171 - checkpoint (alternative patch: resetWCMToGroupBasedPermissions)
      13845: ETWOTWO-1171 - alternative patch: resetWCMToGroupBasedPermissions (part 2 of 2 - set layered/shared acls)
      13855: Fixed line endings
      13856: ETWOTWO-1171 - minor fix: wcmPostPermissionSnapshot patch target schema should be 95
   ___________________________________________________________________
   Modified: svn:mergeinfo
      Merged /alfresco/BRANCHES/V2.2:r7028-12305,12307-12310,12312-12319,12321,...
      Merged /alfresco/BRANCHES/V3.1:r13857


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14765 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-17 12:44:32 +00:00
Derek Hulley
3a5c120bbe Merged V3.1 to HEAD
13853: Merged V3.0 to V3.1
      13008: Merged V2.2 to V3.0
         12824: (record only) Change admin access to the web project staging store to be read-only in the virtualization view - ETWOTWO-933
      13031: (Record only) AMP fix for ETWOTWO-968: Space rules are not run when saving from MS Word
      13040: Merged V2.2 to V3.0
         12824: (record-only) - already done via r13005 (ETWOTWO-933)
      13145: Merged V2.2 to V3.0:
         13089: (record-only) Fix "Read-Write transaction started within read-only transaction" exception. ETWOTWO-1055.
         13091: (record-only) Fix for NFS server "Read-Write transaction started within read-only transaction" exception. ETWOTWO-1054.
      13508: ETHREEOH-1548 - allow config to reset (even if null/cache)
      13514: ETHREEOH-1548 (follow-on fix) - to allow config to reset (even if null/cache) and also reduce 5 caches to 1
      13848: Merged V2.2 to V3.0
         13188: *RECORD ONLY* Using correct ooo startup context - does not work for *nix.  Fixed in 3.0sp1
         13212: *RECORD ONLY* AMP for ETWOTWO-984
         13342: *RECORD ONLY* Merge info stuff
         13435: Merged V2.1 to V2.2
            12307: Merged DEV/V2.1SP7 to 2.1
               11927: ETWOONE-396
               12112: ETWOONE-396
         13442: *RECORD ONLY* Updated version to 2.2.4dev
         13468: *RECORD ONLY* Removed svn:mergeinfo crud
         13470: I18NUtil doesn't cause NPE if message key doesn't exist
         13471: Fixed ETWOTWO-1133: Incorrect CRC32 Values for non-ASCII names
         13475: Test fix: I18NUtil.getMessage() no longer returns null, leading to NPEs if message bundle is missing
         13476: Reverted back to null return values.  Will save for fixing on HEAD.
         13749: Fixed ALFCOM-2655: MLTranslationInterceptor doesn't handle getType method
         13803: ETWOTWO-710
         13819: *RECORD ONLY* ACT-6420 - Office 2003 "Install for all users" - DO NOT MERGE
         13827: ETWOTWO-1172 - authority exists now checks nodeRef result
   ___________________________________________________________________
   Modified: svn:mergeinfo
      Merged /alfresco/BRANCHES/V3.0:r12824,13008,13031,13040,13089,13091,13145,13848
      Merged /alfresco/BRANCHES/V2.2:r12824,13188,13212,13342,13442,13468,13470-13471,13475-13476,13749,13803,13827
      Merged /alfresco/BRANCHES/V3.1:r13853


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14763 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-17 12:28:56 +00:00
Andrew Hind
e3df62325d Extended zone support for multiple zones and added Authorities (including people) to zones. (MOB-762: Part 1)
WCM and Share groups are not in the default zones so they can be hidden in the UI.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14762 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-17 11:57:21 +00:00
Mark Rogers
0e2e131279 ALFCOM-2974 Corrected AVM version for reading properties from AVM Node Service.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14737 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-16 13:20:40 +00:00
Gavin Cornwell
4ed7957b63 Last refactor of forms API before Labs release - FieldConstraints API now receives and returns a Map<String, Object> rather than Map<String, String>, a method to return the parameters as JSON has also been added and is used in the REST API. This means that parameters go all the way to client side validation handlers in their native form.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14727 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-15 23:32:40 +00:00
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