1027 Commits

Author SHA1 Message Date
Derek Hulley
1f774fa8a7 Merged V2.1 to HEAD
6309: Fixed AWC-1195 - Email space users.
   6311: AWC-1378
   6319: Fixed minor caching bug
   6320, 6326: Some fixes to the raw content download servlet available on /dr
   6324: Fix for AWC-1444 (workflow history issue)
   6325: Exceptions that occur in NavigatorPluginBean now correctly logged to the console


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6720 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-10 12:58:48 +00:00
Derek Hulley
25d51202e0 Merged V2.1 to HEAD
6308: Various RM bug fixes
   6343: Minor config cleanup for RM bootstrap
            Conflict resolved


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6719 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-10 12:40:59 +00:00
Derek Hulley
9b1f563ebf Merged V2.1 to HEAD
6295, 6296: EHCache patch on 1.3.0 and related classpath fixes
   6300: WCM-509 - Usernames with '@'
   6301: FacesHelper.makeLegalId()
   6302: Portlet fixes to remove hardcoded "Company Home" string
   6305: Fix for AWC-1440 - Potential NullPointerException in workflow history
   6306: Fix to error message when incorrect parameters are passed to number range constraint


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6718 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-10 12:33:37 +00:00
Derek Hulley
5f5a4ac052 Merged V2.1 to HEAD
6499: Duplicate FK removal script fix
   6593: Full export/import aspect missing fix
   6673: AR-1731JavaScript processTemplate()


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6714 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-10 11:57:39 +00:00
Jan Vonka
3b58addf08 Dynamic model activation / deactivation - via WebClient UI or RepoAdmin console - also verified in MT env
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6712 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-10 11:37:01 +00:00
Jan Vonka
c730f41aba Anonymous M2 constraint name should be stored with resolved namespace prefix (of its property) - fix for model activation in MT env (e.g. bootstrap workflow models)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6711 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-10 11:34:40 +00:00
Kevin Roast
e22575b74e Performance tweaks after profiling HEAD code. Audit interceptor shortcut to avoid calling auditImpl at all when auditing disabled in config.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6700 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-07 14:27:17 +00:00
Jan Vonka
a03df08f5e First-cut validation of dynamic model changes
- in case of re-deploy (dynamic update) check for incremental updates only
- in case of undeploy (dynamic delete) check for type/aspect usages (in content and workflows)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6698 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-07 11:32:51 +00:00
Jan Vonka
6e002e6de8 Build fix for unit test: ActionServiceImplTest.testActionResult (follow-on for r6686)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6695 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-06 17:23:23 +00:00
Jan Vonka
ab85be5821 Added getTaskDefinitions to WorkflowService - required for delete model validation
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6693 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-06 17:10:39 +00:00
Jan Vonka
4ba6200dd3 Couple of RepoAdmin fixes
- reload models syntax error
- get models not being listed with correct details

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6687 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-06 11:35:06 +00:00
Jan Vonka
4e94c52813 Couple of MT fixes
- default admin should not see tenant-specific stores
- nodeRef properties should not be returned as tenant-specific

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6686 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-06 11:33:38 +00:00
Jan Vonka
9f539ce6e7 First-cut RepoAdmin Service for managing models & messages in the repo (not yet enabled)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6682 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-05 17:18:23 +00:00
Derek Hulley
964f88773b Allow read methods against transactional caches during the afterCommit or afterRollback phase.
Writes during these phases are still not allowed.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6680 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-05 14:29:29 +00:00
Jan Vonka
91c83aa5eb Fix unit tests / build - when initialising the Dictionary/Namespace services (follow-on to r6675)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6679 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-05 13:02:08 +00:00
Jan Vonka
27ef680947 Fix for MT permissions issue for tenant users - added missing Tenant Service hooks (follow-on to r6399)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6676 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-05 09:04:54 +00:00
Jan Vonka
6e854e6166 First-cut dynamic Dictionary & Namespaces - updated caches to be cluster-aware & tenant-aware
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6675 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-04 14:23:55 +00:00
Kevin Roast
bfb1cba3b6 Fix to interfaces required to be public by hibernate persistance util lib 'javassist' (alternative to CGLIB used by default in JBoss4.2.X)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6671 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-04 09:22:42 +00:00
Jan Vonka
40b3a8b154 Updated Workflow Interpreter to extend from BaseInterpreter, in preparation for other console interpreters such as WebClientConfig admin console.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6662 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-08-31 14:55:24 +00:00
Jan Vonka
586763e113 Fix for AMP init/bootstrap issue found by RW - see also r6631.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6632 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-08-29 14:52:19 +00:00
Glen Johnson
4c2aba1bd9 Workflow JavaScript API
-----------------------

Overview
--------
The WorkflowManager bean is available in the root scripting scope.
It provides a simplified object oriented API giving JavaScript scripts access to Workflow Service operations. Through the WorkflowManager object, scripts can do things like
- get latest versions of all deployed workflow definitions
- get assigned tasks, pooled tasks etc.
- get workflow paths
- get workflow instances
- start a new workflow instance
- delete a workflow instance, cancel a workflow instance
- get all tasks belonging to a workflow path
- end a task
- etc. etc.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6479 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-08-10 07:34:12 +00:00
Jan Vonka
5279ab5a22 - add new Message Service + hook into Workflow Service
- add Tenant Service hooks to Workflow Service
- MT bootstrap ordering fix


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6476 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-08-09 17:13:22 +00:00
Jan Vonka
9ed7b186f0 Tenant Service hooks for LockService, FileFolderService and other MT fixes (DbNodeService & AuthorityService)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6437 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-08-07 08:40:25 +00:00
Jan Vonka
e0f2b295af Unit test fixes for r6401.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6434 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-08-06 17:15:06 +00:00
Derek Hulley
cb7bfbec70 Merged V2.1 to HEAD
6413: ML copy code switches off the MLPropertyInterceptor whilst copying
   6416: WCM-709 CIFS automount comment 


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6422 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-08-06 10:01:00 +00:00
Jan Vonka
7ffe085354 Additional unit test fix (AVMServiceTest.testProperties etc) for r6401
Have run some more tests locally and will let build continue to run through the rest ...

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6414 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-08-03 12:48:30 +00:00
Jan Vonka
7ebd28b129 Unit test fix for r6399
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6410 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-08-03 09:15:15 +00:00
Derek Hulley
81e364ebd3 Merged V2.1 to HEAD
6383: ML contributions
   6400: AR-1625 Empty translations track pivot translation


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6406 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-08-02 23:57:38 +00:00
Derek Hulley
9f7c5d6443 Merged V2.1 to HEAD
6374: AR-1639 Web Script Content Upload
         Patch merge: Schema target 71 changed to 101


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6404 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-08-02 23:44:15 +00:00
Jan Vonka
dbdbb003f1 - add TenantService hooks to ADM Searcher & Indexer
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6401 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-08-02 14:22:48 +00:00
Jan Vonka
65f660c26c - add TenantService hooks to org.alfresco.repo.security services
- Authentication, Person, Permission, Authority
- add user/tenant-based logging via log4j NDC (nested diagnostic context)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6399 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-08-02 10:56:30 +00:00
Jan Vonka
f75175cbd3 - add TenantService hooks to (Db)NodeService
- add deleteStore to NodeService (not yet exposed via public API)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6391 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-08-01 16:30:28 +00:00
Jan Vonka
0c6e62605d - repo-based Config Service which can be reloaded at runtime
- can also be configured to be cluster-aware and multi-tenant-aware
- minor typo fix in core UrlConfigSource

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6380 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-08-01 11:46:40 +00:00
Jan Vonka
b5201ed22d Tenant Service Interface (with Single-Tenant implementation by default)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6378 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-08-01 09:11:06 +00:00
David Caruana
c44e6bb01c Fix AR-1616
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6310 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-21 00:53:36 +00:00
Derek Hulley
9a1cc0a9b3 Merged V2.1 to HEAD
6274: AR-1609 lucene.indexer.maxFieldLength property
   6282: AWC-1347 Orphaned categories


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6283 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-17 20:24:23 +00:00
Derek Hulley
91c962aae5 Fixed recursive initialization of OpenOfficeMetadataExtracter.
Fixed minor incorrect warning when XMLMetadataExtracter is active.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6279 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-17 16:30:44 +00:00
Kevin Roast
eccc9be0be Warning output to console when HSQL is used as database.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6278 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-17 15:58:34 +00:00
Derek Hulley
72cdb81f47 Build fix.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6256 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-15 19:27:36 +00:00
Gavin Cornwell
38b3804ad2 - Added 'default' configuration for file server deployments
- Changed deployment action to use 'default' target

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6255 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-14 22:00:25 +00:00
Britt Park
eec1bb9ed7 Fixed rabbit like proliferation of versions bug.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6254 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-13 20:35:47 +00:00
Derek Hulley
8288d99e98 Final fix for AR-357: Metadata extractors are configurable
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6246 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-13 15:35:58 +00:00
Derek Hulley
44f6b94cff Enabled metadata extraction in WCM.
A set of extracters for different mimetypes can be activated across AVM land.
The XML extraction sample has been modified to be AVM-specific, and therefore
includes the necessary config to activate the metadata extraction in AVM.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6238 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-13 00:33:55 +00:00
Britt Park
82841201e2 Adds the barely necesaries for post deployment actions for alfresco->alfresco.
Remoted Actions service.
Added getRomoteActionService call to DeploymentService.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6236 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-12 23:15:14 +00:00
Andrew Hind
7a575c5518 Fix AVM index for last index info
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6235 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-12 21:22:55 +00:00
Britt Park
92c16b80d0 Alfresco->Alfresco deployment understands exclusions.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6228 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-12 14:03:41 +00:00
Derek Hulley
0d1bd57217 More for AR-460: System concurrency
There might be a few SDK projects that still use TransactionUtil, but this checkin gets rid of
its use otherwise.
I took a glance over the areas of the code that use UserTransaction directly and didn't see any
transactionally wrapped code that desperately needed to be put into a retry loop (i.e. write
transactions in a concurrent scenario).  If you spot any that you think might qualify, let me know.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6220 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-12 04:15:28 +00:00
Derek Hulley
97654618ad Fix for AR-1432: Patches for FK indexes
Fix for AR-1433: Upgrade failures on PostgreSQL
Partial fix for AR-160: Concurrency fix for version counter
Partial fix for AR-1483: Synchronization issues

This is an overhaul of the current state of the upgrade scripts.  All redundant scripts have been ripped out and replaced
with fresh 2.1 scripts.  Indexes for FK relationships have been put in place where required.  Several edge cases have been
dealt with including columns being added to two indexes, Sybase not allowing column additions for NOT NULL columns of
certain types, etc.

These changes have been tested for 1.4.0 -> 2.0 -> 2.1 on
MySQL
Oracle
Sybase
PostgreSQL

Found a bug in the VersionCounter Hibernate classes where the optimistic version support was not implemented.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6216 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-11 23:38:59 +00:00
Derek Hulley
9cd707b76f Fixed AWC-1254: Schema changes run in auto-commit mode without rollback.
Some databases support transactional changes of the schema, but most don't.
Some don't update the schema metadata until the transaction ends.
To workaround all of these issues, a lock table is created at the beginning of the schema bootstrap
and removed afterwards.  Each statement is executed in auto-commit mode.  If there is a failure,
there is no alternative but to revert to the original data and try again.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6215 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-11 23:20:47 +00:00
Britt Park
edd333a029 Deployment stuff.
Filesystem deployment can now run a given java class, or external
program on commit.
Changed signatures of DeploymentService methods
to take a NameMatcher to act as an exclusion
filter for deployment. This works for filesystem deployment
but isn't in place for alfresco->alfresco deployment.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6214 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-11 21:03:48 +00:00