Alex Mukha
972a52c4f0
REPO-1489: Slowdown of brute force attack on passwords
...
- Extended tests.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133158 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-26 15:21:07 +00:00
Alex Mukha
75286950f1
REPO-1489: Slowdown of brute force attack on passwords
...
- Added the implementation based on REPO-1539.
- Added JUnit tests.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133149 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-25 21:20:31 +00:00
Derek Hulley
5682ef0c34
Undo fix for REPO-1022: MNT-16271. Tests working locally but race conditions are possible.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133098 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-24 21:05:13 +00:00
Derek Hulley
b6358642e4
REPO-1022: MNT-16271 SiteGroups of existing sites are deleted if site of the same name exists in the Trashcan.
...
- It is not possible to create a site if a same-named site has not been deleted and purged
- Before this change came in, there were cases where sites had been created while same-named sites existed in the trashcan
- Purging those sites was detrimental to the live sites
- Added the workaround and associated test as suggested by Andrea on MNT-16271
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133079 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-24 13:13:22 +00:00
Derek Hulley
b4f68c0630
Removed for class after review of MNT-16991root\projects\repository\source\test-java\org\alfresco\repo\security\authority\AuthorityServiceTest.java
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132713 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-11 13:52:26 +00:00
Alex Mukha
17f9b1cf00
REPO-1525: PdfBoxMetadataExtracterTest failures on all DBs (including main PostgreSQL build)
...
- Committed whitespaces to satisfy license checker...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132695 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-10 22:28:24 +00:00
Alex Mukha
52d8d9cf59
REPO-1525: PdfBoxMetadataExtracterTest failures on all DBs (including main PostgreSQL build)
...
- Moved the concurrent test to a separate class - ConcurrencyPdfBoxMetadataExtracterTest
- It is now utilizing an overridden extractor with a configurable timeout.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132690 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-10 18:46:46 +00:00
Stefan Kopf
c9f08144b0
REPO-1535 - HotFix: MNT-16991: Mixed case user name issue for public workflow REST API
...
MNT-16991 - Mixed case user name issue for public workflow REST API
- AuthorityDAOImpl: Normalize username before reading from or writing to the cache
- AuthorityServiceTest: Added test case using mixed case user names
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132619 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-10 11:30:45 +00:00
Ramona Neamtu
dbe2c44536
SHA-1892 : Error appears when Consumer or Contributor is trying to create a link on a document
...
- After creating the link for a node, add the marker aspect (LINKED) to the original node as System user.
- Added test for case
- Added a new test for DocumentLinkServiceImplTest for updated fucntionality
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132612 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-10 09:39:15 +00:00
Jamal Kaabi-Mofrad
b49bb8f36c
Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
...
132578 jkaabimofrad: APPSREPO-59: Modified the model validator to ignore the TYPE_NAMESPACE when there is a DIFF_DELETED type.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132589 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-09 10:45:19 +00:00
Stefan Kopf
2a37b4e180
REPO-1110 - Apply patch provided in ALF-21632 (FreeMarker performance improvement)
...
ALF-21632 - FreeMarker API node.childByNamePath can be very slow
- Added test cases
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132561 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-08 13:29:33 +00:00
Alex Mukha
c6f82e5489
REPO-1525: PdfBoxMetadataExtracterTest failures on Oracle, MSSQL Server, DB2
...
- Another Java8 to Java7 compliation fallback.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132557 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-08 13:14:27 +00:00
Alex Mukha
2b129ae1b6
REPO-1525: PdfBoxMetadataExtracterTest failures on Oracle, MSSQL Server, DB2
...
- Removed Java8 includes, those are not necessary and break compilation on Java7
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132552 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-08 12:49:06 +00:00
Alex Mukha
815cc0ed95
REPO-1525: PdfBoxMetadataExtracterTest failures on Oracle, MSSQL Server, DB2
...
- Another attempt to stabilize the test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132501 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-08 10:03:45 +00:00
Alex Mukha
ff553f3376
REPO-1525: PdfBoxMetadataExtracterTest failures on Oracle, MSSQL Server, DB2
...
- An attempt to fix the test (refactored the checks and timeouts)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132496 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-07 18:45:24 +00:00
Alexandra Leahu
ad5e18ffb4
REPO-1529: Ignore tests that fail recurrently on certain DBs for now
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132426 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-04 16:20:22 +00:00
Derek Hulley
b083325e0a
Fix compilation after r132100
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132109 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-02 16:59:34 +00:00
Alexandra Leahu
6c41a4f779
REPO-1219: Allow file content URLs to be generated by a provider
...
- merged implementation from ACE-5093
- marked the FileContentUrlProvider as public
- added the default implementation bean, and injected it in the TenantRoutingFileContentStore
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132105 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-02 15:43:31 +00:00
Andrei Rebegea
1e97c7c275
ALF-18332 : WorkflowObjectFactory.createTransition doesn't use the description property
...
- Fixed default description key for transition + added testcase
- merged from DEV/HEAD_WROKFLOW to 5.2.N
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131924 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-01 09:07:52 +00:00
Ramona Neamtu
fee7ef2ad4
SHA-1629 : Creating a link to file in a different location
...
- Added support for multiple files in doclink.post webscript
- Added unit test for api/node/doclink api
- Added marker aspect app:linked for nodes that have links attached
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131857 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-28 12:09:59 +00:00
Ramona Neamtu
354f66df4c
Reverse merged 5.2.N (5.2.1)
...
131742 rneamtu: SHA-1629 : Creating a link to file in a different location
- Added support for multiple files in doclink.post webscript
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131775 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-26 09:39:37 +00:00
Ramona Neamtu
2d7b780763
131742 rneamtu: SHA-1629 : Creating a link to file in a different location
...
- Added support for multiple files in doclink.post webscript
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131742 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-25 14:39:25 +00:00
Andreea Dragoi
c95cbaccd9
MNT-16709 : Metadata extraction on 200MB PDF file causes large heap utilization
...
- added concurrent extraction limit
- added max document size limit
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131709 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-24 12:13:50 +00:00
Gethin James
3c7a0a0e2e
SEARCH-107: Extend search public API for multi-select facets
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131528 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-19 07:58:16 +00:00
Kevin Roast
829474d7e4
Merged DEV/WEBAPP-API (5.2.0) to 5.2.N (5.2.N)
...
131265 kroast: Merged 130934 from HEAD - SHA-1698
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131488 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-17 15:47:06 +00:00
Gethin James
99a47b92e7
SEARCH-106: Fix highlighting typo
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131308 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-11 10:59:54 +00:00
Gethin James
460db685d7
SEARCH-194: Adding hightlighting to the Solr Http request
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131291 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-11 07:12:19 +00:00
Alex Mukha
33ee24817c
Merged DEV to 5.2.N (5.2.1)
...
131050 skopf: REPO-483 - The repository does not contain any code or data related to JBPM / ACE-1659 - Remove JBPM and Hibernate
131057 skopf: REPO-483 - The repository does not contain any code or data related to JBPM / ACE-1659 - Remove JBPM and Hibernate / fix test CMISTest.testModelAvailability
131064 skopf: REPO-483 - The repository does not contain any code or data related to JBPM / ACE-1659 - Remove JBPM and Hibernate
- added patch to remove JBPM database tables
131169 skopf: REPO-483 - The repository does not contain any code or data related to JBPM / ACE-1659 - Remove JBPM and Hibernate
- replaced generic DB script with database specific scripts
131171 skopf: REPO-483 - The repository does not contain any code or data related to JBPM / ACE-1659 - Remove JBPM and Hibernate
- Fix DB2 patch
131213 skopf: REPO-483 - The repository does not contain any code or data related to JBPM / ACE-1659 - Remove JBPM and Hibernate
- Fix JBPM table removal patch
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131286 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-10 17:34:57 +00:00
Derek Hulley
245770e049
Updated to use alfresco-data-model:6.1-SNAPSHOT that includes the removal of ContentStore.getUrls methods
...
- Fixed derived code to remove the implementations
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131256 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-06 19:46:02 +00:00
Alex Mukha
395ff422c5
REPO-1357: HotFix: MNT-16889: With encryption enabled alf_content_url_encryption not set using ContentService getWriter(null,,false)
...
- Fixed creation of the content URL so that the key is not lost.
- Added a test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131243 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-06 16:28:14 +00:00
Joel Bernstein
5efe89b616
SEARCH-175: Support Solr4 and Solr6 spellcheck response formats
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131184 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-04 21:42:20 +00:00
Constantin Popa
c4484c18e3
SHA-1779 : Double slash in the pending invites link
...
- Get rid of the double slash in the pending invites link
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130881 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-23 12:22:28 +00:00
Steven Glover
a11c8778e9
Reverse Merge:
...
MNT-15135 "Alfresco Media Management: Rendition Concurrency Failure on Property update"
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130769 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-19 10:23:19 +00:00
Steven Glover
e83e9f4bc1
Merged DEV/SG/MNT15135 to 5.2.N
...
MNT-15135 "Alfresco Media Management: Rendition Concurrency Failure on Property update"
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130692 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-15 13:06:35 +00:00
Derek Hulley
08ed266520
Fix test after MNT-16748. Forgotten file.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130674 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-15 08:56:00 +00:00
Derek Hulley
0e6e0dd1a8
More succint audit example for MNT-16748
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130648 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-14 14:08:12 +00:00
Derek Hulley
5148f6f0e0
Extended testing for 'post' auditing for MNT-16748
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130633 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-14 11:17:24 +00:00
Derek Hulley
aad9baaf63
Test for MNT-16748: Failing to extract auditing entries from SearchService
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130631 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-14 09:59:18 +00:00
Constantin Popa
f1a811ac8a
SHA-1720 : Implement the Cloud email template
...
- Allow Cloud customization of the moderated email template
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130537 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-12 06:22:19 +00:00
Alan Davis
416221e6b8
MNT-16381 Transformers must validate the content stream mimetype
...
- Allow the whitelist to be viewed and set via JMX.
Before this change it was only possible via alfresco-global.properties.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130528 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-09 16:01:44 +00:00
Derek Hulley
91bc40800e
Fix ACE-1249: Fix HazelcastLockStoreTxTest.testReadsWhenNoTransaction
...
- Actually, I just deleted the commented out code since it's not a use case we need to worry about
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130497 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-08 19:40:16 +00:00
Derek Hulley
8991f629ee
Remove some deprecated methods and classes in the MetadataExtracter hierarchy
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130493 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-08 16:02:39 +00:00
Gethin James
1672f28cb1
Merged searchapi (5.2.1) to 5.2.N (5.2.1)
...
130022 gjames: Merged 5.2.N-AHIND (5.2.1) to searchapi (5.2.1)
129926 ahind: SEARCH-31 SOLR 6 - Shard based on date - SOLR implementation
- Support returning a date, datetime or string property to use for sharding
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130285 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 15:35:59 +00:00
Alan Davis
4557b66f73
MNT-16381 Transformers must validate the content stream mimetype
...
- Addition of a while list of Tika derived mimetypes and declared mimetypes that are deemed to be safe (e.g. for .ai and .pdf).
- Based on Andrei's patch (see CR-546), but with the strictMimetypeCheck configuration and logic moved to TransformerConfig
- Rework of DifferrentMimeTypeTest (was not in the patch) as it had become hard to understand.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130139 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-05 16:22:31 +00:00
Steven Glover
69875655cf
REPO-1112 "ActionTrackingServiceImplTest.testTransientlyFailingActions() is transiently failing" let's try a retry loop for the offending assert (the actionservice may just be slow)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130135 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-05 15:41:55 +00:00
Jan Vonka
4a08d6bdfc
REPO-1130 / MNT-16531: Cannot create a folder (or site) named "v" while Smart Folders is enabled
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130072 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-02 11:03:06 +00:00
Jan Vonka
756bf65c24
REPO-1108 / ALF-21645: Unable to delete a folder containing a checked-out document
...
- follow-on fix for test fallout
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129958 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-30 18:50:54 +00:00
Jan Vonka
0f8c965198
REPO-1108 / ALF-21645: Unable to delete a folder containing a checked-out document
...
- add initial fix & related new test for COCI (delete + restore)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129951 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-30 15:39:34 +00:00
Steven Glover
215660d5a3
MNT-15135 "Alfresco Media Management: Rendition Concurrency Failure on Property update" relax test constraints and more debug logging to determine test failure
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129788 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-23 10:47:57 +00:00
Steven Glover
b61c0705e4
MNT-15135 "Alfresco Media Management: Rendition Concurrency Failure on Property update" add extra debugging to determine why test fails
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129784 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-23 08:46:39 +00:00