3579 Commits

Author SHA1 Message Date
Jan Vonka
e60dc76152 Merged BRANCHES/DEV to HEAD:
32284: MT/Solr: fix intermittent "My Favorites"


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32315 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-25 15:26:51 +00:00
Nick Burch
f939783d70 ALF-6356 Correct repeating events handling of the last instance by day
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32282 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-24 14:28:55 +00:00
N Smith
c23974a0fc Disabled test1000Invitations as this test runs very slowly.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32278 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-24 14:08:01 +00:00
Derek Hulley
c0203199af RetryingTransactionInterceptor was bypassing all nested interceptors
- The code did this:
        return method.invoke(target.getThis(), target.getArguments());
   rather than this:
        return target.proceed();
 - Services that used this are PublishingService, ChannelService, TransferService and
   old CMIS dmServicesProxyCreator
 - None of the above are adversely affected because the first 3 don't apply permissions
   and the last one uses the interceptor in reverse order
 - BUT: None of the aforementioned services will be auditable!


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32276 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-24 12:57:29 +00:00
Derek Hulley
9e7c10abd0 Fixed publishing tests to use public service beans ('ChannelService' and 'PublishingService')
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32275 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-24 12:52:52 +00:00
Derek Hulley
69623f9978 FeedGenerator doesn't run when system is in read-only mode
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32274 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-24 12:51:57 +00:00
Derek Hulley
1586958070 Log errors to logger rather than stdout
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32267 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-24 12:03:18 +00:00
Andrew Hind
5defa670b1 Fix for ALF-11656 Person search starting with * goes the DB and return no results - it should go to the query
- DB is only used for * and * only at the end

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32257 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-23 20:30:49 +00:00
Nick Burch
50053fbc1c ALF-11437 Fix duplicated Mimetypes in the list when transforming content in Share, by either correcting labels when two mimetypes are different, or rationalising (with patch) where multiple mimetypes exist for one filetype (photoshop and AutoCAD dwg)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32254 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-23 18:26:25 +00:00
Nick Burch
fc1d367dc2 ALF-11664 site.public.group (via SysAdminParams.SitePublicGroup) should be used when updating site visibilities, as it is for creating sites
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32251 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-23 17:21:43 +00:00
Nick Burch
a93ca27cb9 Unit tests for ALF-10343, with the problematic parts commented out pending a fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32245 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-23 16:02:56 +00:00
Matt Ward
4b998a5fdd ALF-11648: Create unit test to run schema comparator, failing upon differences/validation failures
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32243 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-23 15:53:43 +00:00
Nick Burch
91d0fc28ba ALF-11664 Moderated sites should use site.public.group (from SysAdminParams) for setting the group with general access, as Public sites already do, rather than hard coding the EVERYONE group
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32242 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-23 15:42:19 +00:00
N Smith
b6ea53cd82 ALF-10083 Workflow Task Title/Description can now be set using localization labels.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32240 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-23 14:23:27 +00:00
Matt Ward
f495a69ba9 ALF-11591: Externalise diff/validation messages
system-messages.properties now contains log messages and diff/validation output messages.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32236 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-23 13:16:27 +00:00
N Smith
e24f355d47 Implemented localization of list constraint values on Workflow Task properties in the workflow REST API.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32197 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-22 17:01:00 +00:00
N Smith
656a792d06 WorkflowServiceImpl.isReassignable() method now gives an up-to-date result, avoiding stale data issues.
Added tests to check isReassignable works on a task that has been completed by JBPM timer.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32196 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-22 16:59:07 +00:00
Matt Ward
d021543bce ALF-7260: schema validation: ensure outputting UTF-8 and Windows line endings.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32183 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-22 13:16:01 +00:00
Derek Hulley
5b10c912b5 Unit test site uses GUID instead of time for random naming
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32173 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-22 10:52:14 +00:00
Nick Burch
772056a903 ALF-11319 Work around the fact that Filtered Lucene Results don't support start/hasMore calls, so the new services using these for tag queries (links and discussion) need to handle that if the results were filtered
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32158 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-21 17:35:59 +00:00
Nick Burch
99b97831bb ALF-8671 When listing Blogs/Lists/Discussions, the tag filter string is encoded before sending, so must be decoded in the webscript before searching. (Plus blog tagging test enhancements)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32146 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-21 15:54:45 +00:00
Nick Burch
b592976e93 Bump the Tika version for the updated TIKA-784 fix, and add an Alfresco side unit test for this case
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32138 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-21 12:20:49 +00:00
N Smith
33e6a55826 ALF-11588 Fixed failing FormServiceImplTest.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32134 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-21 10:44:51 +00:00
Roy Wetherall
175e8a7420 ALF-10717: Renditions doclib and webpreview accumulates (not replaced) when creating new version using Edit Offline
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32129 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-21 04:56:09 +00:00
Derek Hulley
1e81baf116 Minor formatting in GetChildrenCannedQueryParams
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32126 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-20 22:41:10 +00:00
Derek Hulley
37edc9916a Raised ALF-11588: Test disabled: FormServiceImplTest.testActivitiWorkflowForm
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32121 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-20 21:00:49 +00:00
Matt Ward
29dadc748a ALF-11518 and ALF-11519: unify separate validation/differences lists and move text generation to Result classes.
ALF-11518: Unify differences and validation results lists
ALF-11519: Move validation/diff result text generation from SchemaBootstrap to result classes.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32110 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-18 18:20:53 +00:00
Mike Hatfield
f187fdecc5 Fix ALF-11385 - Check out to Google Docs, Check in from Google Docs are available when Google Docs subsystem is disabled
Share no longer uses the DocumentLibrary/google-docs/enabled config flag but instead reacts to the current subsystem status.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32102 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-18 15:02:43 +00:00
Kevin Roast
51b41465ba Fix for ALF-11570 - NPE in UsernamePropertyDecorator on null lastname
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32098 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-18 13:46:41 +00:00
Kevin Roast
10bd3e40dc Missing JavaScript API javadoc on creating a new node version as spotted by TonyB
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32072 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-17 18:29:12 +00:00
Derek Hulley
9a49808cf8 Fixed ALF-11540: Alfresco generates errors when running in read-only mode
- NodeMonitoryFactor
 - FullTextSearchIndexerImpl


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32067 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-17 17:16:34 +00:00
N Smith
645913c9bf ALF-10947 Fixed issue where repeating JBPM timer was causing an infitinte loop if an exception was thrown within the timer event.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32063 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-17 15:38:46 +00:00
Andrew Hind
7f7224c2f5 Fix for ALF-11001 Index check is not aware of cm:indexControl:isIndexed
- also fixed index checker to respect the current live index subsytem and not the property (which may be over ridden by sub-system configuration)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32062 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-17 15:29:58 +00:00
Nick Burch
1cd461a4cb Merged BRANCHES/DEV/BELARUS/HEAD-ENH-1107 to HEAD:
31986: ENH-1107 : Auditable fix as discussed with Derek, needed when connecting to alfreco sharepoint protocol via Office 2008 for Mac


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32060 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-17 14:24:48 +00:00
Matt Ward
9d1b2cbf9c Fix NPE exposed by RepositoryStartupTest.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32056 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-17 14:00:41 +00:00
Gethin James
6b0b6187c6 FIXED : ALF-11051: publishing assets with comments not possible
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32050 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-17 11:29:58 +00:00
Matt Ward
d111a38a56 ALF-11516: Load schema ref. file using same location and mechanism as for db create scripts
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32049 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-17 11:28:07 +00:00
Alan Davis
d80f8c136a ALF-8882 Edit Online: Modifier and Modified date are changed even no changes were applied
- needed to turn off ASPECT_AUDITABLE on removeProperty which is called on unlock
   - added code to not enable this aspect early if nested calls were made (this is not done, but is safer this way)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32047 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-17 10:18:45 +00:00
Roy Wetherall
4a73cf915b ALF-9937: Alfresco Share Icon on a folder that designates a rule
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32040 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-17 02:34:28 +00:00
Roy Wetherall
a16fd2d139 ALF-11108: Notification when item is updated, even though 'when' states 'items are created or enter this folder'
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32039 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-16 23:25:10 +00:00
Derek Hulley
b18da4e3cf Batch loading of nodes doesn't pull back deleted nodes; search-NodeService interaction fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31998 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-15 16:28:10 +00:00
Derek Hulley
3ba462a1a0 Point to CachingContentStore (ALF-11498)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31997 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-15 16:22:02 +00:00
N Smith
76be9d0da4 ALF-10279 The default transition label is now localisabel. Labels can be set globally, at the workflow level or at the node level.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31995 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-15 16:09:02 +00:00
Matt Ward
f5b08ab073 ALF-11256: SchemaBootstrap must compare running schema against reference dump
Reference schemas (e.g. classpath:org/alfresco/util/schemacomp/reference/PostgreSQLDialect-Reference.xml) are loaded (if present) and the database is compared to that reference schema.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31991 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-15 15:03:22 +00:00
Jan Vonka
8bb6a9a372 Merged DEV to HEAD:
31815: Fix "It is impossible to search, create or add tags" (also related to ALF-10616)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31990 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-15 14:41:01 +00:00
Derek Hulley
0b7432b4d0 Merged V3.4-BUG-FIX to HEAD
31987:Proper fix for ALF-11489: 'patch.sitesSpacePermissions' failed on upgrade 2.2.8 -> 3.4.6
         - Just handle missing defined ACLs


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31988 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-15 13:51:29 +00:00
Jan Vonka
5c2a68bdd2 Merged DEV to HEAD:
30289, 30366, 30381, 30607: (record-only)
    30621, 30658, 30674, 30689, 30700: MT-aware Solr (THOR-129) - enabler only (subject to QA)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31975 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-15 12:02:28 +00:00
Derek Hulley
f98125470c Merged DEV to HEAD
31957: ALF-11361: "--(optional)" parameter was added to "DROP INDEX source_node_id;" statment on Oracle dialect.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31960 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-15 10:43:33 +00:00
Gethin James
4c350ca0a0 FIXED : ALF-11400: Publishing - Incorrect behaviour of publishing permissions
Changed to a new publishedNode association


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31944 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-14 16:41:46 +00:00
Derek Hulley
d6ffc3d21e Batch loading of nodes doesn't pull back deleted nodes; search-NodeService interaction fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31935 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-14 14:34:04 +00:00