Commit Graph

3920 Commits

Author SHA1 Message Date
Brian Remmington
153e2f8d33 Merge BRANCHES/DEV/BRIAN/FSTR to HEAD:
28906: File Transfer Receiver SPRINT1
 29365: Initial check in
 29378: Configuration properties can now be located in "filetransferreceiver.properties" separated from spring configuration files.
 29417: Delete, first check in
 29450: Now multiple distinct contents can be send over in one transfer.
 29516: 
 29517: 
 29531: Manage cases like /F1/F2/F3 ... becoming /F3/F2/F1
 29550: FTR:
    - Tidied project classpath
    - Removed incorrect reference to OpenOffice RuntimeException in JobLockServiceImpl
    - Removed references to StringOutputStream



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29643 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-09 21:02:03 +00:00
Neil McErlean
62cfc60ce9 Fixed a problem NickB discovered with Explorer-entered comments.
This will probably be a fix for ALF-9506 as well, but I can't test that currently.
Fix was to tweak the behaviour registered to fm:post onUpdateProperties to *not* throw exceptions when the content model doesn't look like a 'share comment'.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29642 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-09 20:23:40 +00:00
Gavin Cornwell
6dbe542032 Fixed issues found as a result of ALF-9636: SVC 67: Lucene removal: Sanity test Share UI with Lucene turned off
Fixed ALF-9686: It's impossible to find any group at the Manage Space Users page

Fixed ALF-9673: It's impossible to find any site

Fixed ALF-9669: Site invite fails using SOLR while building email - need to remove query use in invite.

NOTE: Searches from the UI are now consistent in that by default a canned query based search (consistent results) are performed by default for people, group, user & site searches, to force a lucene based search that support the "contains" type query users must prefix their search with *, this is no longer added by default by the UI.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29628 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-09 11:35:51 +00:00
N Smith
0dc8ed5929 Finished implementing Unpublishing.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29625 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-09 11:01:23 +00:00
Andrew Hind
d004bc3e90 SOLR bug fixes
- Fix SOLR web app shutdown 
- Lucene search sub-system can start and self-test without being live
- Fix passing faceting parameters
- Model deletion on update/removal
- ALF-9798 Share - doc lib - favourites fails to show with SOLR - incorrect query ....
   - ID now uses hidden LID field if it is a NodeRef
- QNAME and other related queries generated against AUX doc

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29624 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-09 10:42:23 +00:00
Florian Mü
18bd553b68 ALF-9805: non-existing user don't follow other users
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29604 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-08 11:06:23 +00:00
Steven Glover
5a8ff3dfc1 ALF-9086 "RINF 52: Lucene Removal: Fix FileFolderService search methods"
- FileFolderService can return List<FileInfo> or PagingResults<FileInfo>

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29603 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-08 10:45:14 +00:00
Steven Glover
9826a1fdcc ALF-9086 "RINF 52: Lucene Removal: Fix FileFolderService search methods"
- committed file missed in previous commit

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29599 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-08 08:55:45 +00:00
N Smith
9696a74002 Implemented Unpublishing of content.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29593 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-07 15:42:23 +00:00
Andrew Hind
37f19ecf45 ALF-9611 RSOLR 049: Share works against SOLR
- mostly working with bugs raised or the issues found
- ALF-9627 	RSOLR 049: Support for TAG list - simple field facettting
  - was not required. Facetting alpha is there (limits not set and need to go into JSON) - added to result set
- ALF-9628 	RSOLR 049: HTTPClient pooling and sharing by query
  - pooled for query, one reused instance for each tracker (could be shared)
- ALF-9629 	RSOLR 049: Support for PARENT field and start of PATH rebuilding other index tracking (group and site search)
  - done - also started PATH change and returns other data as not yet finished (QNAME is the most obvious)
  - fixed up and tidied query generation for index tokenisation mode form the model and what the query would like

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29585 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-05 19:43:05 +00:00
Nick Burch
4a8f8b7c2f ALF-9157 Add title/name rules for wikis to the wiki service, with tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29583 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-05 18:31:17 +00:00
Nick Burch
970a2f7602 ALF-9157 Tweak wiki naming, and finish new Wiki Service unit tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29573 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-05 14:40:06 +00:00
Steven Glover
382ed97a94 Fix for ALF-9086 "RINF 52: Lucene Removal: Fix FileFolderService search methods"
- changed wildcard character to '*'

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29567 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-05 13:31:34 +00:00
N Smith
ee66c4dab2 Fixed failing publishing tests.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29564 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-05 13:01:09 +00:00
Mark Rogers
b1834d4339 ALF-9778 - Alfresco Explorer doesn't work with installed WCMQS
Query changed to selectNodes method

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29562 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-05 12:53:40 +00:00
Steven Glover
5857c90025 Fixes for:
- ALF-1692 "Error message appears when trying to log in with incorrect tenant-username"
  - ALF-3489 "Inconsistency in how Alfresco handles case sensitivity in tenant creation and tenant login"

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29547 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-04 12:35:45 +00:00
Steven Glover
7d30b7b050 Fix for ALF-9086 "RINF 52: Lucene Removal: Fix FileFolderService search methods"
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29546 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-04 12:31:45 +00:00
Brian Remmington
7ceaf0a9b0 Merged BRANCHES/DEV/BRIAN/PUBLISHING to HEAD:
29482: Publishing:
   - Added support for LinkedIn status updates
 29486: Social Publishing UI Updates, including:
   - Dialogue: Complete UI rework
   - Publishing History: display of unpublish event support
   - Created Alfresco.util.toggleClass function
 29491: Publishing:
   - Added correct list of supported MIME types the the YouTube channel type
 29493: Publishing:
   - Added video/mp4 to YouTube supported MIME types
 29496: ChannelsGet now filters out channels that are not authorised. Added a space before the node URL on status updates. Extended unit tests to check behaviour for non-Admin users.
 29513: Adds specific http client libraries to prevent the mac falling back to it's buggy default implementation (which, e.g. doesn't send Content-Length headers if the content length is zero). Required for Flickr support (their publish API requires both a content length header and zero length content. It returns a 411 error using the default Mac libs).
 29534: Fixed PublishingEventsGet REST method. ChannelService getChannels() methods now support filtering by publish permissions.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29542 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-04 08:26:41 +00:00
Brian Remmington
34585f5f2e Build:
- Prevented ActionTrackingServiceImpl.testExecutionTrackingOnExecution from running due to intermittent, unexplained failures. Issue raised as ALF-9773.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29541 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-04 06:06:59 +00:00
Nick Burch
abeaaa4ca4 ALF-9157 Wiki Page Service CRUD unit tests (listing ones to follow)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29540 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-03 22:13:41 +00:00
Nick Burch
8a5a23c3b9 ALF-9157 Start on unit tests for the new (lucene free) wiki page service
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29537 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-03 17:40:32 +00:00
Nick Burch
b9fa6b7958 ALF-9157 First cut of a Wiki Pages service which is lucene free
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29536 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-03 16:39:11 +00:00
Nick Burch
e707401353 Switch some new services to using a tagging service method, rather than doing the work internally
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29535 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-03 16:31:19 +00:00
Nick Burch
2e6df326bf ALF-9155 Links service listing and finding in Java, plus tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29527 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-03 14:45:14 +00:00
Nick Burch
7f54672204 ALF-9157 stub out a new wiki service
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29526 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-03 14:44:48 +00:00
Nick Burch
98028807a9 ALF-9155 related refactoring
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29525 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-03 14:44:19 +00:00
Nick Burch
aa9b0beaaf ALF-9155 Canned query for links and wiki finding
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29524 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-03 14:43:25 +00:00
Nick Burch
c97d73ca90 Pull the Java port from searchutils.lib.js to a common class
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29523 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-03 14:42:17 +00:00
Brian Remmington
9268772ee9 Prevent testConcurrentLockAcquisition from running due to random and frequent failure.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29492 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-02 11:04:07 +00:00
Dave Ward
e93b7a3aa5 Merged V3.4-BUG-FIX to HEAD
29414: Fix for ALF-7437: CMIS query doesn't return any result when documents are created with a different lang
   and fixes duplicate ALF-8598 : Web QS - Dynamic asset collection failing for non en_US locale
   29445: ALF-9023: Cannot search/retrieve special characters of "???".
   - avoid requirement to escape unicode characters from classification "number, other" and others e.g. name:??? will generate a query (even ff it does not work due to tokenisation)
   29470: ALF-9632 "CMIS query fails if model name contains numbers" fix
      - Ensure CMIS query types are ISO9075 encoded
   29474: ALF-9668 / ALF-6434: Fix LDAP sync regression
   - On an incremental sync when there were no group->group association changes, new groups were getting ignored!


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29475 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-01 14:55:28 +00:00
Mark Rogers
b4bd3a21c2 Merge DEV to HEAD
ContentDiskDriver rework.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29451 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-29 09:08:54 +00:00
Frederik Heremans
65cb62ceb8 ALF-9621 Added invitation (nominated and moderated) processes and JavaDelegate for activiti (WIP)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29449 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-29 08:31:38 +00:00
N Smith
874a165cbb PublishingQueue.scheduleNewEvent() now includes a permission check to ensure user has 'Add CHild' access to the relevant Channels.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29440 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-28 16:15:42 +00:00
Nick Burch
b27eed65e6 Calendar and Blogs canned query refactoring of common property comparisons
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29437 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-28 14:59:38 +00:00
Nick Burch
98434c6954 Refactor out the common entity and factory parts of the Calendar and Blog canned queries
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29436 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-28 14:37:50 +00:00
N Smith
a59ce355c4 Added permission checking to the various ChannelService.getChannel() methods. Only users who have 'Add Children' access to a channel node may see that channel.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29432 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-28 13:26:38 +00:00
N Smith
ed739a5b7e Refactored AbstractOAuth1ChannelType. Partially implemented LinkedInChannelType.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29425 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-28 10:30:06 +00:00
Brian Remmington
2baa73cf31 Publishing:
- Corrected error in Flickr channel authorisation following previous refactor.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29415 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-27 20:12:20 +00:00
David Webster
f1cac570e0 Latest channel icons from Linton (LinkedIn there in anticipation of channelType being created)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29410 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-27 16:29:46 +00:00
N Smith
a4127cc99f Updated the Javadoc on the Publishing Foundation API
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29407 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-27 14:56:27 +00:00
Dave Ward
73826a7892 Merged V3.4-BUG-FIX to HEAD
29333: (RECORD ONLY) Merged HEAD to BRANCHES/DEV/V3.4-BUG-FIX:
      29311: Fixed tomcat shutdown problem (ALF-9574)
   29337: Merged DEV to V3.4-BUG-FIX
      29336: ALF-8554 : matchesEncodedPattern in ISO9075 class fails with some values
             Corrected matchesEncodedPattern method and unit test added to demonstrate the problem has gone.
   29340: Merged DEV to HEAD
      29330: ALF-3681 : Webdav lock issue returned on 3.3g and 4.0a
             LockMethod corrected: expiryDate (as lockOwner) should be cached in fileInfo's properties for correct response generation.
   29361: Fix for CIFS desktop actions are copied by copying a folder: ALF-8640.
   Pseudo file creates are converted to a file open, they are not writeable, writes are dumped.
   29380: ALF-6434: Better detection / prevention of cyclic group relationships in LDAP sync
   29387: Incremented version.revision for 3.4.5
   29388: Merged V3.4 to V3.4-BUG-FIX
      29307: Merged V3.4-BUG-FIX to V3.4 (3.4.4) (RECORD ONLY)
      29314: ALF-9612: Temporary placeholders for missing installer translations
      29385: ALF-9612: New installer translations from Gloria


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29389 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-27 11:34:50 +00:00
Brian Remmington
1111cb6155 Publishing:
- Corrected content model for Twitter publishing channel type

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29384 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-27 10:16:05 +00:00
Andrew Hind
e24f59c1f7 RSOLR 049: Trash can and deleted items - store <-> url configuration and unsupported store exception
- redirection complete
RSOLR 049: HTTPClient pooling and sharing by query
- connection to solr shared by query

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29381 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-27 09:52:15 +00:00
Brian Remmington
d5fe95520e Publishing:
- Added reauthorisation API for publishing channels
- Refactored OAuth1 channels to share common functionality (Twitter and Flickr)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29362 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-26 15:42:57 +00:00
Derek Hulley
56177d3d3a CopiedFromAspectPatch now preserves cm:auditable and disables rules during execution
- 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@29357 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-26 14:28:22 +00:00
Steven Glover
889ea0e58f ALF-9501 "RINF 38: KeyStore detection sequence, password file and encryption check"
- initial checkin

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29354 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-26 13:53:49 +00:00
Steven Glover
42f26c8a00 Fix the build
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29348 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-26 11:48:26 +00:00
Derek Hulley
abc29714db Added exception propagation and removed unused code
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29335 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-26 09:32:12 +00:00
Gavin Cornwell
8646c1084a Preparation for ALF-9258. Activiti process engine is now passed in to SchemaBootstrap so that table creation can be invoked at the appropriate time. Frederik is going to complete this task as he can build the latest Activiti JARs with the required method call and passing the process engine into SchemaBootstrap introduces a circular dependency in activiti-context.xml that needs to be resolved.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29331 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-26 07:42:58 +00:00
Roy Wetherall
f1fe03239e ALF-9542 - SVC 65: Contribution: Share Tag Management Console
* based on contribution from iptech
  * replaced origional web scripts with versions that compliement and extend exitsing tagging REST API
  * updated UI to use changed webScripts
  * fixed rename action caps sensitivity (rename with different capitalisation, but same name deleted tag!)
  * tested 

Also fixes:

  * ALF-8688 - Can't remove a tag from the tag list
  * ALF-4710 - Share Impossible to Permanently Remove Content Tags



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29327 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-26 05:03:44 +00:00