2157 Commits

Author SHA1 Message Date
Dave Ward
a929a7fd74 Merged V3.2 to HEAD
15099: Do not allow referential integrity problems in user registry data (dangling references to users in groups) fail the whole sync operation. Just warn and continue.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15100 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-07-08 09:59:43 +00:00
Gavin Cornwell
47f34d0c10 MOB-884: Select many control, renders a select list with configurable size (5 by default) and allowing multiple selections
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15086 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-07-07 10:38:38 +00:00
Kevin Roast
fc3a3f2a49 Fix to LuceneQueryParser to throw a descriptive exception rather than cause a Nullptr when an aspect that is not present in the model is specified in the query string.
- Spotted when running an old RM query against new model

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15084 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-07-07 08:17:38 +00:00
Mark Rogers
6219a0c748 Unit test for reject action on Invitation service.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15079 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-07-06 13:14:58 +00:00
Kevin Roast
e025d28ebd Merged DEV/RM-DEV to HEAD
14731: Branch for continued records managment development
   14739: Records Management Action Service updates
   14756: Declare/Undeclare record RM actions added
   14791: RM dynamic modelling Stage One.
   14878: Record mamagement events
   14927: Importing the recordsCustomModel.xml
   14993: RM. Handle changes to the Vital Record Definition
   14996: Checking in comments that record the fact that this class is likely to be deleted soon.
   15011: Typo in PublishVitalRecordDefinitionAction.
   15027: Custom properties and associations for RM
   15053: First cut of records management events
   15057: Vital Records refactor, renaming and test fixing
   15060: Form config for RM types and aspects updated to reflect current model
   15071: - MOB-988: Completed type based form support, means that 'create' pages can now be implemented for RM
          - Updated form test page to include 'destination' field to allow instances to be created
   15075: Refactored defineCustomProp,Assoc out into RM actions.
Modified: svn:mergeinfo
   Merged /alfresco/BRANCHES/DEV/RM-DEV:r14731-15075

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15076 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-07-06 10:07:37 +00:00
Derek Hulley
2902b0e6d8 IMAP configuration changes including support for IMAP home definition
- Added generic RepositoryFolderConfigBean for referencing folders in repo
 - Redefined default and properties used by IMAP


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15064 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-07-02 14:55:22 +00:00
Derek Hulley
0146cb2f3b Javadoc changes after IMAP example change
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15063 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-07-02 14:51:26 +00:00
Dave Ward
4fed6c95ee Realign AuthorityServiceTest with the new definition of 'root group in zone'
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15055 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-07-01 16:57:57 +00:00
Dave Ward
57cd1bfd94 ALFCOM-3110: Groups added to sites became invisible to Share client
- Root groups are now those in the default zone that are not children of groups in the same zone

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15051 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-07-01 11:39:37 +00:00
Mark Rogers
be07d6ca83 ALFCOM - 3111 - It's impossible to remove group with "Manager" role on "Search for Site Groups" page
- Added new Unit Text and applied similar fixes to removeMembership to those applied to setMembership.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15046 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-30 16:39:13 +00:00
Mark Rogers
8f971b1528 ALFCOM-3109 - It's impossible to change role from site manager to any other role on "Search for Site Groups" page
- Now you can chage the last group as long as there's still a user with the manager role.
 - Last manager check is now sums  both groups and users.   And added another unit test.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15044 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-30 16:13:45 +00:00
Derek Hulley
4abdae701d Fix up packaging and samples
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15043 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-30 15:28:21 +00:00
Derek Hulley
ffb8441f71 Added NodeDaoService.getNodePropertiesRaw(Long nodeId)
- Allow low-level retrieval of the persisted node properties
 - Unmarshalling of cm:auditable properties included


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15042 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-30 15:25:39 +00:00
Derek Hulley
e622af0425 Fixed MailMetadataExtractor after recent switch of .msg mimetype
- Added unit test for extractor
 - TODO: Add unit test to ContentTestSuite


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15040 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-30 15:06:29 +00:00
Mark Rogers
7c377f5bf8 ALFCOM-3083
- bug fix to previous check in CHK-8031

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15026 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-30 09:22:05 +00:00
Kevin Roast
b2cd89e945 Fix for ALFCOM-3086 - admin enforced to enter an old password when changing their own password.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15017 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-29 19:28:36 +00:00
Mark Rogers
ab81f0f310 ALFCOM-3083 Failure to 'post activity' when a Group is added as a Site member
- implemented "activities" for Web Site, group add, remove and update.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15016 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-29 16:17:11 +00:00
David Caruana
b5d4daa46a Allow 'cmis-sql-strict' query language in Node Browser.
- fix up Search Service to CMIS query engine wrappers

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15015 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-29 15:47:06 +00:00
Gavin Cornwell
886dd5355a Fixed form persistence issue with empty category fields
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15012 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-29 14:11:31 +00:00
Jan Vonka
6e0550717e Build/test fix (MTDemoTest.testCustomModels)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15008 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-29 13:44:45 +00:00
Derek Hulley
f3bbea2f18 Fixed MailContentTransformerTest after Mimetype mapping changes
- rfc822 is now .eml
 - application/vnd.ms-outlook is now .msg


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15007 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-29 13:24:58 +00:00
Derek Hulley
56410e05f7 Fixed ImapServiceImplTest: Dug out missing acp file from old DEV branch
- TODO: LoadTester is broken and can't work out of the box, see DH: comments


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14997 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-29 10:54:21 +00:00
Jan Vonka
5ad47eb432 MT - fix ALFCOM-3063 - tenant user can't login to Share (Read-Write transaction started within read-only transaction)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14995 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-29 10:45:47 +00:00
Jan Vonka
aa6ea33e25 ALFCOM-2658 - version migrator fix to maintain uuid (of frozen state nodeRef)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14987 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-29 08:57:29 +00:00
Gary Spencer
b2d5f4d235 Merged 3.1 to HEAD:
14962: Fix for CIFS create folder on Vista/Windows7. ALFCOM-3033. Port content IO exception file server fix. ETWOTWO-1241


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14973 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-26 16:18:00 +00:00
Mark Rogers
cff7e69957 ALFCOM-3047 - Share Invite Workflow outputs a bunch of logging to System.out
- Changed System.outs to debug statements.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14963 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-26 14:02:58 +00:00
Jan Vonka
b527d6d66c Merged V3.1 to HEAD
14326: Fix ETHREEOH-2091 - version migrator should not skip subsequent nodes (after error), also add unit tests
    14420: Fix ETHREEOH-1832 - VersionMigrator optimisations (disable indexing of version2Store, if first migration then don't check if already migrated)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14961 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-26 13:26:49 +00:00
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