137955 jvonka: REPO-2643 - add "clearAuditByIdRange" to underlying Audit Service/Component/DAO
- to enable deletion of audit entries within an audit app based on id range (fromId / toId) in addition to time range
- required for REST API Delete Application Audit Entries (REPO-1519)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137982 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Renamed to testGetPersistentTypeForStrings
- divorce the test from any dialect that happens to set the string length by setting and resetting the string length
- Test explicitly around 2000 chars rather than the default
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137722 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
136412 cpopa: APPSREPO-66: Capture and transmit permission changes to the client
- Added AuthorityServicePolicies policies which are invoked when a group is deleted, an authority is added or removed from a group
- Added PermissionServicePolicies policies which are invoked when a local permissions is granted/removed, permission inheritance is enabled/disabled
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136420 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
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
124703 rmunteanu: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
124682 jvonka: Merged 50N-NDB (5.0.4) to 5.0.N (5.0.4)
124674: MNT-15211: Follow-on (note: only affects NDB)
- use string_value 400 to enable schema bootstrap (and be consistent with existing customer pilot DBs)
- minor tweaks to unit test cases (note: only affects NDB)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@124856 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
124582 rmunteanu: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
124539 jvonka: Merged 50N-NDB (5.0.4) to 5.0.N (5.0.4)
124514: MNT-15211: NDB-specific workaround fix for trashcan restore (since NDB does not support partial rollback on constraint violation)
- this fix is dialect-specific (hence does not impact existing supported DB types)
- note: MySQL Cluster NDB - experimental/unsupported
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@124656 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
122467 dhulley: Add back missing code for MNT-12716 in order to address ACE-5143 correctly
- MNT-12716: 3.4 -> 4.2 Upgrade does not migrate locales of translated documents
- ACE-5143: CLONE - CleanAlfPropTables deleting more than it should
- The move of the SQL execution framework to a ScriptExecutor seems to have dropped the feature allowing --ASSIGN to have a default value
- Added back the feature
- Added check of variable assignment with system message giving details e.g.
Caused by: ... Variable assignment '--ASSIGN:PROP_DOUBLE_MAX_ID' produced no value. A default can be assigned e.g. '--ASSIGN:PROP_DOUBLE_MAX_ID!-1'. (line 80 of ...\CleanAlfPropTables.sql).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@123661 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
120968 amorarasu: Merged 5.0.N (5.0.4) to 5.1.N (5.1.1)
120952 aleahu: Merged V4.2-BUG-FIX (4.2.6) to 5.0.N (5.0.4)
120889 amukha: Merged AMUKHA/MNT-15398 (4.2.6) to V4.2-BUG-FIX (4.2.6)
120887 amukha: MNT-15398: Supportability - warn about MS-SQL server mis-configuration
- Added a check for the db.txn.isolation to be set to 4096 for the MS SQL Server dialect.
- Used the message bundle for all logger messages.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@123636 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
120102 nsmintanca: Merged 5.0.N (5.0.4) to 5.1.N (5.1.1)
120042 gjames: Merged MNT-15211 (5.0.4) to 5.0.N (5.0.4)
119705 gjames: MNT-15211 Restoring data from Trashcan with MySQL Cluster NDB backend doesn't work
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@123608 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
120101 nsmintanca: Merged 5.0.N (5.0.4) to 5.1.N (5.1.1)
120041 gjames: Merged MNT-15211 (5.0.4) to 5.0.N (5.0.4)
119608 gjames: MNT-15211 Restoring data from Trashcan with MySQL Cluster NDB backend doesn't work
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@123607 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
113586 tvalkevych: Merged 5.0.N (5.0.3) to 5.1.N (5.1.1)
113508 adavis: Merged V4.2-BUG-FIX (4.2.6) to 5.0.N (5.0.3)
113395 tvalkevych: Merged V4.1-BUG-FIX (4.1.11) to V4.2-BUG-FIX (4.2.6)
113371 amorarasu: Merged DEV to V4.1-BUG-FIX (4.1.11)
113345: MNT-10305: DeletedNodeCleanupWorker should be improved.
- Fixed the starting time for the purge old nodes process.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@123579 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
113397 tvalkevych: Merged 5.0.N (5.0.3) to 5.1.N (5.1.1)
113290 adavis: Merged V4.2-BUG-FIX (4.2.6) to 5.0.N (5.0.3)
113278 adavis: Merged V4.1-BUG-FIX (4.1.11) to V4.2-BUG-FIX (4.2.6)
112985 amorarasu: Merged DEV to V4.1-BUG-FIX (4.1.11)
111742: MNT-10305: DeletedNodeCleanupWorker should be improved
- Delete in multiple statements, filtering by transactions with commit time in a time interval.
112722: Improved the algorithm that sets appropriate time windows for delete, based on the evolution of the purge process.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@123576 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
119029 adavis: Merged 5.1.N (5.1.1) to 5.1-MC1 (5.1.0)
116130 adavis: Merged 5.0.N (5.0.3) to 5.1.N (5.1.1)
115965 adavis: Merged V4.2-BUG-FIX (4.2.6) to 5.0.N (5.0.3) (PARTIAL MERGE)
115823 arebegea: MNT-14887 : Rework ChainingUserRegistrySynchronizer's methods that uses RetryingTransaction with 'requiresNew=true'.
- removed the code that deleted the older property value that may have been present when updating a value.
- fixed the tests from RepoUsageComponentTest.java
- updated the authorised-users jar with the version that uses the attributeService again.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@119867 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
115572 adavis: Merged 5.1.N (5.1.1) to 5.1-MNT1 (5.1.0)
114988 rmunteanu: Merged 5.0.N (5.0.3) to 5.1.N (5.1.1) (PARTIAL MERGE)
114790 amorarasu: MNT-15007: CLONE - String values when migrating from MySQL to other DBs
Merged V4.2-BUG-FIX (4.2.6) to 5.0.N (5.0.3)
114311 amorarasu: Merged V4.1-BUG-FIX (4.1.11) to V4.2-BUG-FIX (4.2.6)
114245 tvalkevych: Merged V4.1.9 (4.1.9.13) to V4.1-BUG-FIX (4.1.11)
113717 dhulley: MNT-14911: String values when migrating from MySQL to other DBs
- Add a new job that allows node string values to be re-persisted according to the current 'system.maximumStringLength' value
- Job is unscheduled by default
- Set the 'system.maximumStringLength' and the 'system.maximumStringLength.jobCronExpression'
- Various touched code format fixes, method naming fixes, etc
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@115702 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
115461 adavis: Merged 5.1.N (5.1.1) to 5.1-MNT1 (5.1.0)
113729 amorarasu: Merged 5.0.N (5.0.3) to 5.1.N (5.1.1)
113704 adavis: Fix build error after
Merged V4.2-BUG-FIX (4.2.6) to 5.0.N (5.0.3) (PARTIAL MERGE)
113603 cturlica: Merged DEV to V4.2-BUG-FIX (4.2.6)
113602 cturlica: MNT-14504: Cloud pull process not working after large delete
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@115671 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
115460 adavis: Merged 5.1.N (5.1.1) to 5.1-MNT1 (5.1.0)
113727 amorarasu: Merged 5.0.N (5.0.3) to 5.1.N (5.1.1)
113684 adavis: Merged V4.2-BUG-FIX (4.2.6) to 5.0.N (5.0.3) (PARTIAL MERGE)
113603 cturlica: Merged DEV to V4.2-BUG-FIX (4.2.6)
113602 cturlica: MNT-14504: Cloud pull process not working after large delete
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@115670 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
108044: Merged 5.0.N (5.0.3) to HEAD-BUG-FIX (5.1/Cloud)
107731: Merged 5.0.2 (5.0.2) to 5.0.N (5.0.3)
107679: MNT-13820 "Model can be deactivated with a node referencing the model is in trashcan"
Use the database to check if model is in use, rather than Search
Fix up existing tests in light of these changes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@108075 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
108043: Merged 5.0.N (5.0.3) to HEAD-BUG-FIX (5.1/Cloud)
107697: Merged DEV to 5.0.N (5.0.3)
107623: MNT-14125: Errors related to sizeCurrent property.
- Update actual_type_n and persisted_type_n to 3 (stands for long type) of cm:sizeCurrent properties which have invalid 0 types
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@108074 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
107541: Merged 5.0.N (5.0.3) to HEAD-BUG-FIX (5.1/Cloud) (PARTIAL MERGE)
107413: Merged DEV to 5.0.N (5.0.3)
106858 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Cleaning of Javadoc,
107565: MNT-13545 Fix compilation after merge of Javadoc
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@107633 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
104814: Merged 5.0.N (5.0.2) to HEAD-BUG-FIX (5.1/Cloud)
104747: MNT-10914: Merged V4.2-BUG-FIX (4.2.5) to 5.0.N (5.0.2)
104737: Merged DEV to V4.2-BUG-FIX (4.2.5)
104724: MNT-10914: Alfresco 4.2.d categories corrupting in share
- Ignore rule execution for the nodes of cm:failedThumbnail type. Add patch that removes cm:generalclassifiable aspect, associated properties for the nodes of cm:failedThumbnail type and triggers reindex. Add unit test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@104872 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261