Commit Graph

626 Commits

Author SHA1 Message Date
Derek Hulley
e3e2711e29 Merged V2.1 to HEAD
6327: Drops alfresco-deployment.zip in build/dist instead of build.
   6328:Set AVM file name requirements as lenient as possible.
   6329: Fixed DNS name restriction to allow 1-char host labels.
   6330: Setting read-only flag for start up components (AR-1621 and AR-193)
   6331: Minor formatting
   6332: Implementation of a read-only, HTTP-based ContentStore.
   6333: AR-1619: A debug message needed changing as the FileFolderService now supports adding children onto system nodes.
   6334: Build fix
   6335: Fix for AWC-1447 (Office Add-In - Create Collaboration Space)
   6337: Fixed AR-1622: WebService requests must be wrapped in retries


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6721 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-10 13:09:30 +00:00
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
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
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
Gavin Cornwell
018f8eb9c0 Sample config file to make content expiration check every 2 minutes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6692 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-06 16:19:18 +00:00
Jan Vonka
382219b2ae Enable dynamic management - add bootstrap/patches for 3 new data dictionary spaces - Models, Messages, Web Client Config Extension (note: Workflows will be added later)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6688 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-06 11:38:32 +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
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
Jan Vonka
ebffc09089 Tenant Services hooks for FTP - for getting tenant-specific company home/root space
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6670 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-03 17:05:34 +00:00
Jan Vonka
69637c7013 Tenant Services hooks for Repo - enable bootstrap of tenant-specific 'guest' (can login explicitly once CHK-994/AR-1152 gets merged from V21 to HEAD)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6652 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-08-31 10:14:11 +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
4a2135499e Unit test fix for r6401
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6411 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-08-03 10:20:54 +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
feca4b296a update config for user/system store bootstrap so that admin username/password properties can be re-configured (when creating new tenants) - note: the actual default values remain unchanged
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6403 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-08-02 16:41: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
56a0b7e164 Missing file - extra for r6391
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6395 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-08-02 08:14:28 +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
Derek Hulley
43784a170b Bumped HEAD schema number to 100. Enterprise is currently at 70, giving us 29 patches for V2.1.x releases.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6372 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-31 13:49:59 +00:00
Gavin Cornwell
3d76a17af7 Updated version number and label for next dev cycle
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6366 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-31 09:05:57 +00:00
Paul Holmes-Higgin
4acbe9e7c3 Removed dev from version label
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6287 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-18 11:42:46 +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
Andrew Hind
64fcb69be2 Async index for avm
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6248 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-13 16:54:29 +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
Britt Park
bef3799e15 Rejiggering of wiring to allow CIFS not to go through the lockin layer.
AVMNodeService doesn't point at AVMLockingAwareService.
Web Client now points at AVMLockingAwareService.
Forced a couple of places in the Web Client that were going through NodeService
to use AVMLockingAwareService to get proper locking behavior.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6234 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-12 16:26:02 +00:00
Jon Cox
32054c773c Provided an API to get a merged list of broken links between 2 areas,
and what the baseline & latest versions were, as well as the number
of files and links checked in staging.  Made LinkValidationAction 
use the new apis, and annotated the source code so that it's obvious 
what should be done to use the base & latest snapshot version info  
(see "Gav TODO" within LinkValidationAction.java).


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6219 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-12 03:01:38 +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
Jon Cox
c5d97bfebe Generalized handling of URI schemas to be ignored during link validation.
These are configurable in linkvalidation-service-context.xml
Also ensured the list of links per file is sorted & unique.

 Here's a list of known protocols:

 http://www.iana.org/assignments/uri-schemes.html

      aaa aaas acap afs cap cid crid data dav dict dns dtn fax file
      ftp go gopher h323 http https iax2 icap im imap info ipp iris
      iris.beep iris.lwz iris.xpc iris.xpcs ldap mailserver mailto
      mid modem msrp msrps mtqp mupdate news nfs nntp opaquelocktoken
      pop pres prospero rtsp service shttp sip sips snmp soap.beep
      soap.beeps tag tel telnet tftp thismessage tip tn3270 tv urn
      vemmi wais xmlrpc.beep xmlrpc.beeps xmpp z39.50r z39.50s

 For now, all these URI schemes get a free pass except http & https. 
 Any URI not qualified by one of these protocol/scheme designators 
 is presumed to be broken.  It would be nice to validate ftp links
 for real, but that won't happen for a while.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6189 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-07 02:58:22 +00:00
Jon Cox
e1858011f8 Made linkvalidation able to check HTTPS links with valid certs
(bad/untrusted certs look like broken links), pretend ftp links 
aren't broken, detect old href schemas, and added low-level 
feature to drop href info on startup in case we ever need a 
sledgehammer.  Maybe one day I'll really validate ftp links, 
but not now.  Also fixed startup logic that got broken earlier
(the config file wasn't getting copied in).


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6183 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-06 08:08:58 +00:00
Jon Cox
7d537bf42d Added transaction hook for store purges, version creations and version purges;
this allows an internal cache to be maintained that permits most calls to 
the heavyweight getLatestSnapshotID(String store) AVM API to be skipped.
This addresses a performance problem noticed when the number of stores 
is large.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6182 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-05 22:43:31 +00:00
Derek Hulley
6017658ff6 JBPM data patch had typo.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6176 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-05 13:26:02 +00:00
Derek Hulley
82d7b1a2f8 Fixed BDE-46: Circular runtime dependencies in Eclipse.
Typically this is known as a hack, or to use Jon's words, "We're hiding behind a wildcard".
The Spring config pulls in additional (not extension) bootstrap contexts where it was specifically referencing Link Validation.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6172 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-05 04:45:52 +00:00
Derek Hulley
25411a888b Merged V2.0 to HEAD
5910: Web Services getUsers
   5913: Web Services admin user password change
   5956: LDAP anon simple bind test
   6133: WCM-486
   6158: Merged V1.4 to V2.0
      5600: Split person bootstrap
      5642: AR-439 NetBIOS adaptor status request
   6160: VersionHistoryPerformance patch with no versionedNodeId


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6166 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-04 16:03:31 +00:00
David Caruana
8eeba59f55 Fix to fix for JBPM unique constraint issue. SQL should work against all DBs now.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6165 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-04 15:43:25 +00:00
Derek Hulley
530d129634 Merged V2.0 to HEAD
5880, 5881: Script actio parameter


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6162 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-04 13:44:00 +00:00
David Caruana
8e5e8ec126 AR-1560 Fix case of JBPM table names in upgrade script
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6161 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-04 13:06:07 +00:00
David Caruana
01098ee76e AR-1551 Oracle Constraint violation error submitting workflow in WCM
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6156 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-04 11:25:02 +00:00
Derek Hulley
096729effc Unfix AR-822 and defer to AR-1573.
The in-transaction work has to align with the work that will be done by the actual background archival,
but node archival doesn't fully support all model constructs and associated behaviour.
Instead of continuing to hack away at each issue that comes up, a complete archive rethink is in order.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6154 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-04 11:05:15 +00:00
Jon Cox
da4677218e Added configs to set poll, local, and remote timeouts separately (plus some code cleanup).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6149 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-04 04:53:52 +00:00
Derek Hulley
6c07ba53c7 Fixed AR-822: Space deletion via FTP or Web Client is improved.
The node is renamed and hidden from FileFolderService clients.  A background task then performs the archival.
A bootstrap component ensures that failed archivals are picked up again.
Found a bug with the status of nodes archived as part of a hierarchy not being updated correctly.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6148 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-04 01:03:16 +00:00
Derek Hulley
d2027916c7 Build label is RC2-dev
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6147 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-04 00:54:39 +00:00