Mark Rogers
0e45772887
debug statement to assist with debugging transaction rollback.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16845 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-10-13 09:42:48 +00:00
Kevin Roast
a2186f9662
RM Search enhancements.
...
- KEYWORDS macro changed to keywords
- Added macros without cm: namespace for common cm attributes
- Added macros without recordSearch prefix for search roll-up attributes
- Made rma default search namespace so say "originator:someone" will work rather than "rma:originator:someone"
- Fix to minor UI issues when empty results shown
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16781 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-10-08 20:24:18 +00:00
Andrew Hind
30c486621a
RM: Query support for TODAY
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16744 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-10-08 10:11:39 +00:00
Andrew Hind
a40b7b9be2
RM: Major fixes for (non-standard) date+time tokeniser and lenient date parsing
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16743 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-10-08 09:52:57 +00:00
Jan Vonka
f58422cc9b
AVM - follow-on to CHK-9608 (add unit tests & fix update of serializable store property)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16742 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-10-08 09:06:49 +00:00
Andrew Hind
d014d715d3
RM: Lenient date format for lucene queries against datetime
...
- supports:
"yyyy-MM-dd'T'HH:mm:ss.SSS",
"yyyy-MM-dd",
"yyyy-MM-dd'T'HH:mm:ss.SSSZ",
"yyyy-MM-dd'T'HH:mm:ss",
"yyyy-MM-dd'T'HH:mm",
"yyyy-MM-dd'T'HH",
"yyyy-MM-dd'T'",
"yyyy-MMM-dd'T'HH:mm:ss.SSS",
"yyyy-MMM-dd",
"yyyy-MMM-dd'T'HH:mm:ss.SSSZ",
"yyyy-MMM-dd'T'HH:mm:ss",
"yyyy-MMM-dd'T'HH:mm",
"yyyy-MMM-dd'T'HH",
"yyyy-MMM-dd'T'"
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16738 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-10-07 19:39:07 +00:00
Derek Hulley
5365c3d6ef
Removed audit result time ordering tests, which depends on millisecond accurancy
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16711 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-10-06 14:25:51 +00:00
Jan Vonka
174e22a9f2
Fix ALFCOM-3384 - unable to create WCM form-based content
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16706 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-10-06 10:18:29 +00:00
Jan Vonka
a63369dbb7
MT - fix testCOCIandSearch (fallout from CHK-9517)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16688 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-10-05 12:55:06 +00:00
Roy Wetherall
5ffcd36aa7
RM: Run copy of permissions as Admin to allow records managers to copy record folders and records
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16641 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-10-01 08:38:39 +00:00
Dave Ward
8df9d5d00b
Merged V3.2 to HEAD
...
16631: Merged HEAD to V3.2 (record only)
16623: MOB-1665 (part one): HibernateNodeDaoServiceImpl must flush before calls to iBatis contentDataDAO to avoid 'content data leaks'
16585: Correction to IndexReader reference counting
- Handling of the first reader in the chain
16577: Fixed IndexReader reference counting issues introduced by move to Lucene v2.4.1
- Problem manifested itself in IndexReaders never being closed and deleteableReaders queue growing infeasibly large
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16633 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-30 16:35:11 +00:00
Derek Hulley
7bc361268d
Fixed MOB-1656: Audit Log: Log ordering is incorrect for "Last N" results
...
- Added option to have results in either ascending or descending order
- RM uses descending listings where the query results are limited
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16628 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-30 15:56:05 +00:00
Derek Hulley
77457e3670
Fixed unreported error: New transactions started in the post-commit phase *might* see stale cache data
...
- Transactional caches were flushing last in the post-commit phase
- New transactions in the post-commit phase would see cache data out of synch with the DB-committed data
- Affects DOD5015 post-commit audit actions, which were not generating full datasets for the first-pass data import
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16627 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-30 15:41:37 +00:00
Dave Ward
8a1a86dc0f
MOB-1665 (part one): HibernateNodeDaoServiceImpl must flush before calls to iBatis contentDataDAO to avoid 'content data leaks'
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16623 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-30 14:40:40 +00:00
Andrew Hind
7098bab5ea
RM: Support query for empty strings against untokenised text properties
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16622 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-30 14:36:46 +00:00
Mark Rogers
9ab5273e72
MOB-1615 - Cannot file email messages as a typical user (user)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16593 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-29 14:00:37 +00:00
Jan Vonka
4a7df596da
Merged V3.2 to HEAD
...
15151: IndexCheckServiceImplTest - build/test fix (ent-only)
15152: Formatting-only
15360: Fix for ETHREEOH-2567: Index check includes nodes in the unindexed version store - these should be excluded
15630: Merged V3.1 to V3.2
14424: Fix build/test - indexing of version store(s) is disabled
14438: Fix index check (related to ETHREEOH-1832 - disable indexing of version2Store)
14526: ETHREEOH-1759 - fix getVersion (affects IBM JVM => WebSphere)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16592 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-29 13:56:58 +00:00
Mark Rogers
aa4ad8b826
Adding debug logging so we can support the imap when it throws exceptions.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16591 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-29 13:50:30 +00:00
Mark Rogers
a3327cfb8e
MOB-1470 - Delete RM site
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16581 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-29 11:51:53 +00:00
Derek Hulley
5b8650fb4b
Final fix for MOB-1609: Incorrect number of results returned from audit log
...
- When the query size is limited, the DB query returns only the audit entries
- The audited properties are pulled back in batches
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16567 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-28 17:58:37 +00:00
Derek Hulley
a58c74a04a
Minor DEBUG statement fix
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16565 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-28 17:29:55 +00:00
Jan Vonka
b7570baf41
Dynamic models - allow incremental updates to property indexing definition (note: does not change existing index)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16552 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-28 10:29:27 +00:00
Jan Vonka
b447e3b9f2
Dynamic models - allow incremental updates to property indexing definition (note: does not change existing index)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16548 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-28 09:18:11 +00:00
Jan Vonka
084792f81d
EOL formatting only
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16546 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-28 08:58:31 +00:00
Derek Hulley
ac71c4f7d7
Added multi-select for property values
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16542 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-27 20:57:47 +00:00
Derek Hulley
c5b731763d
Audit enhancements
...
- Added marker data extractor to record the presence of a key in the audit data
- AuditMethodInterceptor applies a marker key in the case of success (failure already has a key)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16519 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-25 12:14:30 +00:00
Derek Hulley
5f50bf11e7
Partial fix for MOB-1609: Incorrect number of results returned from audit log - size parameter is not correctly processed
...
- This will pull back the correct number if you request less than the total number of audit entries
- TODO: You can still get N-1 entries if you request more than the total number of entries
- TODO: Reverse order of limited queries (last N)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16518 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-25 12:09:38 +00:00
Derek Hulley
9c05bc8ca1
Fixed unit test: Forgot that auditing is not enabled by default in repo anymore
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16505 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-24 23:56:34 +00:00
Derek Hulley
7c68847cb6
Wired AuditMethodInterceptor into new audit framework
...
- Two new repo properties to control auditing:
audit.enabled=false
audit.useNewConfig=false
- Auditing was enabled by default, but it is not enabled any more!
The property has to be set in alfresco-global.properties
- Unit tests for auditing successful and failed authentication attempts
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16496 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-24 14:52:25 +00:00
Derek Hulley
fc3431ecb4
Fixed javadoc for PublicServiceIdentifier
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16495 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-24 14:45:47 +00:00
Derek Hulley
3418597d85
Fixed audit annotations to NOT record arguments that are beans
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16494 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-24 14:43:43 +00:00
Derek Hulley
95b648f165
ContentReader and ContentWriter conversions to String now use toString()
...
- Previously, the ContentReader to String conversion was reading the binary data
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16492 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-24 14:37:54 +00:00
Derek Hulley
58f148650a
Minor in-line comments
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16488 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-24 14:26:29 +00:00
Derek Hulley
6e0979ea2c
Added invokeBeforeDeleteNode calls for all nodes down a deletion stack
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16480 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-24 09:57:45 +00:00
Derek Hulley
0a118c62aa
Mimetype is only defaulted if the content URL is not empty too
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16478 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-24 09:14:08 +00:00
Andrew Hind
8e115abc86
RM: Fix for MOB-1564: Unable to file via IMAP into a record folder that the user has file permissions on
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16471 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-23 21:45:30 +00:00
Derek Hulley
f0b95093e6
Failure to read an audit entry logs a warning and skips the entry
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16467 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-23 17:18:08 +00:00
Derek Hulley
7e0d38e62a
ContentData will now force it to 'application/octet-stream'
...
- The Share UI sets the mimetype to empty string ('') if the mimetype is unknown
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16466 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-23 17:13:06 +00:00
Mark Rogers
0a36194042
MOB-1512 - Date field processing for metadata extraction.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16458 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-23 12:48:41 +00:00
Derek Hulley
a48ac3deca
Added method to delete multiple child contexts for unique property contexts
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16441 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-22 15:17:45 +00:00
Kevin Roast
1935a73684
Fix for MOB-1558 - ThumbnailService no longer makes explicit permission checks based on DM permissions - RM users can now see content previews and document thumbnails correctly if they have ReadRecords access or similar.
...
ThumbnailServiceImplTest executed with no errors.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16440 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-22 14:32:54 +00:00
Derek Hulley
f0d6c44156
Added component to manage unique property triplets
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16434 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-22 12:51:40 +00:00
Derek Hulley
3f18dafd2b
Added conversion support for StoreRef-String conversion
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16433 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-22 12:49:36 +00:00
Derek Hulley
14515875c7
Added table and DAO: alf_prop_unique_ctx
...
- Ensure uniqueness across any three (incl. null) Serializable values
- Required to support RM rma:identifier contextual uniqueness
DB Update for MySQL:
drop table if exists alf_prop_unique_ctx;
CREATE TABLE alf_prop_unique_ctx
(
id BIGINT NOT NULL AUTO_INCREMENT,
version SMALLINT NOT NULL,
value1_prop_id BIGINT NOT NULL,
value2_prop_id BIGINT NOT NULL,
value3_prop_id BIGINT NOT NULL,
UNIQUE INDEX idx_alf_prop_unique_ctx (value1_prop_id, value2_prop_id, value3_prop_id),
CONSTRAINT fk_alf_prop_unique_ctx_1 FOREIGN KEY (value1_prop_id) REFERENCES alf_prop_value (id) ON DELETE CASCADE,
CONSTRAINT fk_alf_prop_unique_ctx_2 FOREIGN KEY (value2_prop_id) REFERENCES alf_prop_value (id) ON DELETE CASCADE,
CONSTRAINT fk_alf_prop_unique_ctx_3 FOREIGN KEY (value3_prop_id) REFERENCES alf_prop_value (id) ON DELETE CASCADE,
PRIMARY KEY (id)
);
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16417 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-21 22:20:29 +00:00
Andrew Hind
53fddcb5f7
RM: Fix ScriptNode to check public methods can be executed using PublicServiceAccessService (and not be based on an assumed permission check)
...
- rm doc details are now displayed correctly when users do not have DM read
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16415 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-21 20:19:29 +00:00
Derek Hulley
17ad855edc
RM Audit: More RM data extraction during audit (node type, identifier)
...
- Audit queries for a node context work (by accident: needs proper fix)
- TODO: Query filter for node actions name
- TODO: Query filter for node type
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16405 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-21 11:46:52 +00:00
Roy Wetherall
7005d27c77
RM: Tempory fix to surpress Access Denied exception when user with ReadRecords view file plan
...
- This fix needs review but this change allows testing to continue further
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16391 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-20 21:21:55 +00:00
Derek Hulley
ed3d9014f0
Merged V3.1 to HEAD
...
15963: Fix ETHREEOH-1962: Hibernate flush ordering incorrect for alf_qname
- This merge will come from V3.2 15972 as well, but should not cause issues
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16389 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-20 19:10:08 +00:00
Derek Hulley
db8181d496
Missed check in
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16381 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-19 14:17:44 +00:00
Dave Ward
c3bf64c111
Fix Enterprise build - allow system to boot up in read only mode again
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16374 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-09-18 16:28:21 +00:00