3614 Commits

Author SHA1 Message Date
Andrew Hind
c4d2cefaeb Fix build - solr ping uses cron expression
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29305 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-25 13:10:45 +00:00
Florian Mü
d3d0a33fe9 OpenCMIS server update
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29303 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-25 11:31:18 +00:00
N Smith
a6d7fef35a Removed all references to Site from publishing REST API. Replaced publishing-events-query.post with publishing-events-for-node.get.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29301 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-25 09:30:08 +00:00
Steven Glover
0ec0b0939e Missed a file
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29299 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-25 08:52:52 +00:00
Steven Glover
a719b84c85 Remove unused files
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29298 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-25 08:50:25 +00:00
Steven Glover
8cb9a102fe Fix build unit tests
Added copyright headers

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29296 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-25 08:49:29 +00:00
Derek Hulley
a4a5605403 cm:copiedfrom aspect is not applied to copies of type not derived from cm:object
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29292 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-25 08:45:41 +00:00
Derek Hulley
18a50d8532 LockDAOTest: Add additional concurrency check to handle test running against clean repo
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29290 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-25 08:23:26 +00:00
Brian Remmington
1546669ade Publishing:
- Return JSON status in response to authform.post
- Remove authstatus webscript 
- Add icon URL to channel type data on REST API
- Add authorise status to channel data on REST API
- Add delete channel to REST API
- Altered get icon operation on channel type so the required size can be specified freely (previously limited to known sizes)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29275 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-22 10:44:32 +00:00
Derek Hulley
3b95ca79da Beefing up testConcurrentLockAquisition
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29273 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-22 10:20:32 +00:00
Roy Wetherall
92eefc9b78 ALF-9252 - SVC 58: Apply contribution for category management services
* Contribution from Jan Pfitzner
  * Merged Util methods into core category JS API
  * Light refactor of category web scripts to align them better with other Alfresco web scripts and add them to the repository API
  * Minor bug fixes/tweaks to UI (added title, I18N, adjust to use modified webscripts, etc)

TODO: modify results from webscripts to bring inline with other webscripts in API (will take into consideration tag manager first)



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29264 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-22 00:49:32 +00:00
Florian Mü
240f77d3ba OpenCMIS server: performance improvments
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29257 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-21 16:43:12 +00:00
N Smith
2c3c17229b Removed the siteId from all PublishingService and ChannelService methods. These services are no longer tied to a Share site.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29255 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-21 16:10:17 +00:00
Derek Hulley
dd7facf14a Made MethodSecurityBean compatible with any MethodInterceptor (see failures around AlwaysProceedMethodInterceptor)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29252 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-21 14:38:15 +00:00
Brian Remmington
e16e19e2c5 Publishing:
- Added initial icons to each of the supported channel types along with API (foundation and REST) to access them.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29249 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-21 12:39:18 +00:00
Steven Glover
f07faf00b0 Checkin of remaining files for ALF-8793: "RSOLR 036: Update IndexChecker to call SOLR check APIs"
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29244 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-21 11:01:19 +00:00
Gavin Cornwell
81dfb2dd72 Fixed ALF-9398: Alfresco deployments in the Activiti Admin UI need to be more descriptive than "Nameless Deployment"
A new method has been added to WorkflowService that takes an additional "name" parameter. The WorkflowDeployer now passes the name of the file being deployed as the name parameter.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29240 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-21 10:21:21 +00:00
Andrew Hind
79ec6cd1e3 ALF-9079: RSOLR 019: Lucene to SOLR switchover administration
- fixed ordering and the indexing of datetime for ordering

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29239 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-21 09:13:49 +00:00
Derek Hulley
2fe6c6fa72 ALF-9569: copiedFromAspect patch does not take documents with more than one working copy into account
- Added handling of detection of multiple check-outs of a node: 
   - ALF-9029 RINF 49: Lucene Removal: CheckOutCheckInService API
     - ALF-9032: RINF 49: fixes to cm:workingcopy aspect


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29236 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-20 18:45:17 +00:00
Nick Burch
aaf02b7f6c ALF-9156 Finish recurring event support in the calendar listing webscript, and add in new unit tests to cover this case
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29235 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-20 17:44:55 +00:00
Nick Burch
858748ddf1 ALF-9156 Recurring event canned query test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29232 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-20 16:18:38 +00:00
Nick Burch
f1e73ef459 ALF-9156 Support for repeating events in the Calendar get events canned query, and more tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29231 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-20 16:11:33 +00:00
Brian Remmington
78d5cb0f42 Publishing:
- channels.post webscript now returns authCallbackUrl in addition to previous data

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29230 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-20 15:54:43 +00:00
Brian Remmington
9ac2599e9d Publishing:
- Flickr support for publish and unpublish

Fix ALF-9425: xml-apis.jar duplicates some classes from core JDK 1.6



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29216 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-20 11:35:27 +00:00
Mike Hatfield
feb32d5a4c Fix for document list not returning data (e.g. when tag property is null)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29215 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-20 10:45:27 +00:00
Gavin Cornwell
dba83496a9 Fix a couple of minor issues with sites search REST API (no results were being returned)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29213 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-20 09:41:51 +00:00
Andrew Hind
0af05e8256 ALF-9079 RSOLR 019: Lucene to SOLR switchover administration
- SOLR support for old lucene query language
- issue to resolve for sorting with afts and alfresco/lucene

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29206 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-19 19:45:23 +00:00
Mike Hatfield
4da4e784a8 Merged DEV/SWIFT-MIKE to HEAD
28328: Merged DEV/SWIFT-UI to DEV/SWIFT-MIKE
      28245: Work in Progress: DocLib data webscript and action config refactor.
   28676: Work in Progress: Document Library list view renders with new data structures. Action evaluators mostly populated. Tweaks to appUtils.toJSON. Client-side "ScriptNode-lite". Evaluators now use json-simple lib.
   28898: Work in progress. New doclib webscripts into new "v2" namespace. Action refactoring. Initial status indicator config. Site preset & container type returned & evaluator templates to support wcmqs and dod5015.
   28952: Work in Progress: End of Sprint 3. Refactored web-tier data webscripts. Full parent node details returned with nodes (or in metadata for common parent scenario). Action fixes.
   28971: Merged HEAD@28970 to DEV/SWIFT-MIKE
   29018: Work in progress: Document details page. Evaluator tweaks. New value evaluator. Consolidated getActionUrls.
   29037: Merged HEAD@29035 to DEV/SWIFT-MIKE (Bringing in publishing action to migrate to new framework)
   29156: Work in progress: Folder details page refactor. "working mode" flag removed to allow removal of some repository browser-specific overrides. Client-side folder and document renderers coalesced. Category, link and working copy handling improved.
   29168: Merged HEAD@29166 to DEV/SWIFT-MIKE (Share extensibility features merged across. Folder details page conflicts resolved by migrating to new extensibility model.)
   29195: Minor fixes for action event handler and changes to Surf API
   29197: Merged HEAD@29196 to DEV/SWIFT-MIKE to prepare for merge back to trunk

Note: Awaiting imminent Spring Surf fix before Document Libraries are fully functional.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29201 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-19 16:19:45 +00:00
Florian Mü
eb819e72a4 OpenCMIS Server: fixed getChildren paging
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29200 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-19 16:17:43 +00:00
Andrew Hind
ca67fe0aff ALF-9413: RSOLR 022: Fine-grained control of full-text indexing
- final part - supported in SOLR, added aspect support to explorer and share

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29192 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-19 15:02:21 +00:00
Nick Burch
663760cd08 ALF-9156 Calendar monthly repeating
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29189 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-19 14:36:40 +00:00
Nick Burch
7794d91f4e ALF-9156 Calendar weekly repeating
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29188 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-19 14:21:14 +00:00
Nick Burch
7c6eb61fdc ALF-9156 Refactor the repeating events code, and start on unit testing for it
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29187 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-19 14:00:27 +00:00
N Smith
b544f0effe Removed the Environment from the publishing implementation.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29183 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-19 11:39:11 +00:00
Steven Glover
aea1bf678d More missing files for ALF-8791: "RSOLR 036: Update IndexChecker to support SOLR"
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29181 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-19 11:34:36 +00:00
Steven Glover
de6fbae0bd Initial checkin for ALF-8702: "RSOLR 026: Alfresco to SOLR communication and configuration"
Initial checkin for ALF-8791: "RSOLR 036: Update IndexChecker to support SOLR"

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29179 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-19 11:28:57 +00:00
Derek Hulley
5d6d9a1574 Increased lock timeouts in testExclusiveLockBlockedByShared from 100ms to 5000ms.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29164 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-19 08:47:04 +00:00
Brian Remmington
83ed26170b Publishing: publishing a photo to Flickr now basically works.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29161 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-19 07:08:59 +00:00
Derek Hulley
6ec3f44c29 Merged DEV to HEAD
- ALF-8806 RINF 41: Lucene Removal: Fix CopyService
     - ALF-9028: RINF 41: Fix Aspect cm:copiedFrom
   - ALF-9029 RINF 49: Lucene Removal: CheckOutCheckInService API
     - ALF-9032: RINF 49: fixes to cm:workingcopy aspect

   28996: Dev branch for De-Lucene work pending patches
   29004: Evaluator runs in read-only txn
   29006: Additional PermissionCheckedCollection.create method
          - Use an existing collection's permission check data (cut-off, etc) to wrap a new collection
   29007:
          CopyService and CheckOutCheckInService refactors to remove Lucene
          
          CopyService:
          
          Removed cm:source property from cm:copiedfrom aspect and replaced with a cm:original association.
          Added CQ-based APIs to query for copies
          Added APIs to support bi-directional walking of copy association
          Fixed sundry uses of cm:copiedfrom esp. all uses related to cm:workingcopy
          
          CheckOutCheckInService:
          
          Check-out now creates a source aspect cm:checkedOut with 1:1 relationship to cm:workingcopy via cm:workingcopylink
          Removed explicit use of cm:workingcopy aspect and replaced it with calls to COCI API
          
   29083: Audit tests fail when indexing is turned off.
          Also removed a getReader() call during rule evaluation, leading to a 'sub-action' read being recorded.
   29113: NodeDAO.getNodesWithAspects supports paging
   29135: Removed unused patch queries
   29139: Basic patch (still terminates with error) to upgrade cm:copiedfrom and cm:workingcopy
   29157: Tested patch for cm:copiedfrom and cm:workingcopy aspects


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29159 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-19 03:22:11 +00:00
Andrew Hind
8a561b38ca RSOLR 019: Lucene to SOLR switchover administration
- related build fixes

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29155 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-18 19:30:21 +00:00
Nick Burch
6a3d3b8aa7 AFL-9156 Start on the logic to find future instances of a recurring event for the event listing webscript
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29150 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-18 15:44:06 +00:00
Brian Remmington
628df31d04 Publishing:
- abstracted asset id and url into a parent aspect (PublishingModel.ASPECT_ASSET)
- Tidied Flickr service provider (coding standards)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29115 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-18 08:43:03 +00:00
Florian Mü
d4406f7de7 Following email: ignore failures
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29114 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-17 21:37:38 +00:00
Florian Mü
f912390f68 Send following email asynchronously
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29112 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-17 16:54:57 +00:00
Brian Remmington
bf72b07d8e Oh dear. Fixed the compilation error in a couple of tests from my last commit. Sorry.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29111 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-17 16:04:29 +00:00
Brian Remmington
dfa3e42072 Publishing:
- Finish support for posting status updates to Facebook

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29110 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-17 15:24:58 +00:00
Andrew Hind
6018d8defa Part 2 of ALF-9413 RSOLR 022: Fine-grained control of full-text indexing
- big switch to turn off content indexing is working for lucene sub-system - catches up (eventually) via FTS as expected
- includes further improvements to subsystem shutdown which also relates to: ALF-9079 RSOLR 019: Lucene to SOLR switchover administration
- lucene indexes can be deleted after subsystem shutdown
- at subsystem  star the  index rebuilds if required and restarts FTS on load
- subsystem shutdown requires more work if two lucene subsytems are ever to exist together
   - does not shutdown existing IndexInfo work nicely -> possible exceptions as IndexInfo resources are cremoved and cleaned up from those expecting them to be there ... may regrab resourcse

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29097 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-16 11:15:25 +00:00
Andrew Hind
248997cb48 Build fix and Part 1 of ALF-9413 RSOLR 022: Fine-grained control of full-text indexing
- includes better subsystem shutdown which also relates to: ALF-9079 RSOLR 019: Lucene to SOLR switchover administration

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29096 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-16 08:40:12 +00:00
Andrew Hind
c4a82b18c1 ALF-9079: RSOLR 019: Lucene to SOLR switchover administration
- make solr base URL configurable

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29092 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-15 19:31:26 +00:00
Jan Vonka
7aff26a021 ALF-9403: MT - cannot access via Alfresco Explorer (or Share)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29088 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-15 16:33:21 +00:00