Nick Burch
74b9ff5845
ALF-9456 - Finish updating the Site Importer/Exporter now that Site Config is in the normal repo rather than in AVM
...
(The sample team site export had already been tweaked by Kev in June to include the surf-config)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30745 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-23 16:41:09 +00:00
Jan Vonka
c2e5a7546c
ALF-6706 - MT: activities not generated (for tenants)
...
- related to ALF-1605
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30736 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-23 14:56:06 +00:00
Mark Rogers
f966c4a391
Allow FilesystemTransactionAdvice to propogate SMBException.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30735 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-23 14:55:11 +00:00
Brian Remmington
646dd196af
ALF-10402: PUB: Access tokens are not being stored in encrypted properties
...
- Corrected a previously missed a path through the code (used by SlideShare)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30709 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-22 16:41:39 +00:00
Nick Burch
fa9c522610
ALF-9521 Update the MetadataExtrator OverwritePolicy PRAGMATIC (the default) to always copy media related properties (such as image width), and add a PRUDENT for the previous PRAGMATIC behaviour
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30702 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-22 11:59:43 +00:00
N Smith
b385e57f87
ALF-10084, ALF-10242. Fixed issues and added WorkflowService methods to get workflow instances without filtering by definition id.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30699 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-22 11:16:20 +00:00
Steven Glover
91eed305bd
Fix for ALF-8176
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30694 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-22 09:36:34 +00:00
Nick Burch
cf8a0d18ab
Fix ALF-1017 specific test following ALF-1017 changes to permissions
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30692 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-22 09:15:27 +00:00
Steven Glover
f7b89305b5
Removed i18n'ed string (didn't need to be i18n)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30691 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-22 08:38:18 +00:00
Nick Burch
cb4d98449c
ALF-1017 Remove EVERYONE Contributor permissions from /Company Home/Sites/, to avoid misc nodes being created in there by mistake by users, and update the SiteService to runAsSystem when creating the Site node
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30683 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-21 14:55:31 +00:00
Nick Burch
ee69b4abe0
Unit test for ALF-1017 - Non site content in the Sites Space
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30679 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-21 14:06:03 +00:00
Nick Burch
bd95deb992
ALF-10334 Merge r30652 from 3.4-BUG-FIX to Head
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30653 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-20 15:14:52 +00:00
Brian Remmington
10abd069bc
Fix ALF-10402: PUB: Access tokens are not being stored in encrypted properties
...
- NOTE: this fix means that any existing publishing channels in the repo will cease to work and will cause the publishing generally to have problems. If you have publishing channels in your repo then you must remove them following this fix. This can be done by either cleaning your repo out completely or deleting the node underneath "Data Dictionary/Publishing Root" (it has a UUID as its name).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30646 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-20 13:49:36 +00:00
Derek Hulley
d8b5f09911
ALF-10271: Test disabled: ArchiveAndRestoreTest.testAR7889ArchiveAndRestoreMustNotModifyAuditable
...
- Added required checks for behaviour activation
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30640 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-20 12:47:34 +00:00
Derek Hulley
ff5693740c
ALF-10271: Test disabled: ArchiveAndRestoreTest.testAR7889ArchiveAndRestoreMustNotModifyAuditable
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30628 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-20 09:58:28 +00:00
Brian Remmington
2f08b645e6
ALF-10105: PUB: Improved handling of errors reported from Flickr service
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30626 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-20 09:37:20 +00:00
Neil McErlean
cd2167de85
Additional test classes that allow for easier testing of Notifications (emails mostly).
...
The new TestNotificationProvider acts like a simple callback. You inject an instance of the new NotificationReceiver into the above NotificationProvider and then override the EMailNotificationProvider with the test one.
By doing so, emails will not be sent, but the NotificationContext object, which encapsulates all input state for such emails, can be stored and validated against expected values.
Test code for same.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30618 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-19 21:44:23 +00:00
Derek Hulley
a87c7cb605
Further fix on HEAD following rev 30520: Revisited timestamp propagation (cm:modified)
...
- Added missing override of cm:auditable properties in 'touch' method
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30617 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-19 19:45:30 +00:00
Derek Hulley
d88dc0f100
Minor merge cleanup
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30616 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-19 19:43:55 +00:00
Mark Rogers
53a1c35e78
ALF-6721 - added a new unit test for ftp and quota.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30608 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-19 15:27:45 +00:00
Nick Burch
eced94e231
ALF-10318 Update CalendarEntry to hold the created and modified at dates
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30601 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-19 12:56:01 +00:00
Derek Hulley
fb406b769b
Merged V3.4-BUG-FIX
...
30520: Revisited timestamp propagation (cm:modified) now that the system does this by default
- Original low-level code (Hibernate optimizations) pulled back into NodeService implementation
- Use case driven prompting to touch the parent node
- Full indexing and policy callbacks against parent (was missing completely)
- Optimizations to ensure parent node modifications are only done where required and
the same transaction is used where possible
- 1s accuracy limit is maintained to prevent unnecessary modifications
- Enhanced tests to cover use cases where propagation is expected
- ALF-10262: Timestamp propagation is enabled by default
- Fixes or will fix:
- ALF-10291: Test disabled: SOLRTrackingComponentTest (various)
- ALF-7433: A file deleted using the web UI still appears in a NFS mount but with NULL stats
- ALF-10271: Test disabled: ArchiveAndRestoreTest.testAR7889ArchiveAndRestoreMustNotModifyAuditable
- ALF-10267: Test disabled: NodeServiceTest.testArchiveAndRestore
Also
- Found problem where cm:auditable properties could be modified directly against the cached values
- Extended locking of cached entities to the AuditablePropertiesEntity
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30598 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-19 11:30:56 +00:00
Brian Remmington
5e3cb4cb96
ALF-10351: FSTR: No receiver-side report is being generated and returned
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30596 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-19 11:09:03 +00:00
Gavin Cornwell
4ca838b761
Build fixes:
...
- ALF-10374: Test disabled: MultiTDemoTest.testCustomModels
- Removed unused abstract base class that didn't follow naming conventions so got picked up as a test to run
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30593 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-19 09:59:44 +00:00
Nick Burch
5de60b97be
Upate Tika and add Ogg Vorbis support + tests
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30589 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-18 23:08:59 +00:00
Mark Rogers
677a0a85f5
Node monitor needs to deal with more than a single node.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30567 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-16 10:04:36 +00:00
N Smith
6d46ef90ec
Added tests to ensure multi-tenancy works and fixed several multi-tenancy issues in workflow.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30563 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-16 09:34:02 +00:00
Kevin Roast
53674e57eb
Reworking of AVM to ADM RemoteStore patch to remove thread contention by precreating 'surf-config' folders for each site.
...
Also speeds up patch processing by ~20%.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30559 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-15 19:49:12 +00:00
Andrew Hind
446dd424ee
Fix for ALF-10231: SOLR: CMIS infolder and inTree fail as the noderef can not be turned into a PATH ....
...
- added ANCESTOR tracking to SOLR (as there is no wya to turn a node ref into a PATH)
- tested using the open cmis workbench using IN_FOLDER and in_TREE
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30557 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-15 18:38:20 +00:00
Nick Burch
2fdaab8c35
ALF-611 Correct finding of compensating action for failed scheduled actions
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30553 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-15 16:53:29 +00:00
Nick Burch
3eed98f84a
ALF-9981 Due to Spring 3.0 SPEL running on FTL entries like ${foo} before they are passed as properties to beans, support an escaped form of \$\{foo\} which is un-escaped before being passed to the FreeMarker engine. Updates the template code for scheduled actions to un-escape, and the example action definitions to be escaped
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30551 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-15 16:02:25 +00:00
Kevin Roast
127ca27aa0
Fix for ALF-10326 - AVMToADMRemoteStorePatch fails with Duplicate child name not allowed: surf-config
...
- since fix for ALF-10280 rev 30468 a DuplicateChildNodeNameException no longer automatically retries in the txn - now throw out an exception that does retry instead.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30533 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-15 10:14:19 +00:00
Brian Remmington
e23edd49d4
Fix ALF-10328: Test disabled: TransferManifestTest
...
Fix ALF-10329: Test disabled: RepoTransferReceiverImplTest
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30525 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-15 07:53:59 +00:00
Nick Burch
878297316b
ALF-9981 Add unit tests for the selectSingleNode freemarker function used in the example scheduled action
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30512 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-14 15:34:19 +00:00
Brian Remmington
c3c68edc49
ALF-10132: FSTR is not working
...
- Fixes some problems with progress tracking and reporting. Still needs some work.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30503 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-14 09:58:41 +00:00
Kevin Roast
11eb432faf
Fix for ALF-8127 - Inconsistence between Create and Edit user page
...
- Last name no longer mandatory in Create User and associated pages
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30501 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-14 09:47:10 +00:00
Brian Remmington
c90ff1b526
Fix failing test: PublishingPackageSerializerTest
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30494 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-14 07:54:08 +00:00
Brian Remmington
6112a00691
ALF-10132: FSTR is not working, due to fault in TransferService
...
- Initial tidying and fixing-up during investigation
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30491 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-13 19:41:51 +00:00
Mark Rogers
c9a7210e9d
ALF-10213 - Content rule is not applied to empty files, created via CIFS
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30484 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-13 16:24:49 +00:00
Derek Hulley
3914c77f50
ALF-10291: Test disabled: SOLRTrackingComponentTest (various)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30472 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-13 13:13:19 +00:00
Mark Rogers
ca11ba7b54
ALF-10200 - NodeMonitor: StringIndexOutOfBoundsException
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30471 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-13 13:01:40 +00:00
Mark Rogers
271595f862
ALF-10052 - Channel Exception when reading file
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30470 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-13 13:00:59 +00:00
Derek Hulley
e40265f1a1
Fixed ALF-10280: Slow to report « Duplicate entry » in database.
...
- DuplicateChildNodeNameException implements DoNotRetryException
- Must be merged back to V3.4
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30468 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-13 12:40:21 +00:00
Nick Burch
f0014de603
Expand the Calendar all-day event tests a bit more
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30467 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-13 11:11:02 +00:00
Nick Burch
a22263ccd4
Fix whole-day calendar detection test, and expand it to handle a few more cases too
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30453 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-13 08:50:10 +00:00
Brian Remmington
b94e282177
Publishing: Tidied PublishingService and ChannelService interface to remove obsolete operations.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30437 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-12 15:38:47 +00:00
Nick Burch
a48be26668
ALF-10204 Support for specifying the timezone (rather than just offset) for calendar entries when creating/editing, with tests, and use this to improve all day event storage/detection
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30436 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-12 15:38:38 +00:00
Derek Hulley
0902840a2b
Proper retrying during ReplicationServiceIntegrationTest teardown
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30430 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-12 14:04:01 +00:00
Steven Glover
5a689543ab
Fixed fallout from ALF-10189.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30422 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-12 12:14:05 +00:00
Derek Hulley
d112b6d218
Disabled test ArchiveAndRestoreTest.testAR7889ArchiveAndRestoreMustNotModifyAuditable
...
- Raised ALF-10271
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30417 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-12 09:00:05 +00:00