Brian Remmington
646dd196af
ALF-10402: PUB: Access tokens are not being stored in encrypted properties
...
- Corrected a previously missed a path through the code (used by SlideShare)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30709 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-22 16:41:39 +00:00
Brian Remmington
10abd069bc
Fix ALF-10402: PUB: Access tokens are not being stored in encrypted properties
...
- NOTE: this fix means that any existing publishing channels in the repo will cease to work and will cause the publishing generally to have problems. If you have publishing channels in your repo then you must remove them following this fix. This can be done by either cleaning your repo out completely or deleting the node underneath "Data Dictionary/Publishing Root" (it has a UUID as its name).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30646 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-20 13:49:36 +00:00
Brian Remmington
2f08b645e6
ALF-10105: PUB: Improved handling of errors reported from Flickr service
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30626 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-20 09:37:20 +00:00
Brian Remmington
c90ff1b526
Fix failing test: PublishingPackageSerializerTest
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30494 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-14 07:54:08 +00:00
Brian Remmington
b94e282177
Publishing: Tidied PublishingService and ChannelService interface to remove obsolete operations.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30437 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-12 15:38:47 +00:00
Gavin Cornwell
79093bd8ae
Coding standards and consistency sweep across new services code in repository project.
...
Covers spacing, trailing {, @since tags, tabs and copyright headers.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30211 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-02 21:10:49 +00:00
Brian Remmington
999cdcb5bd
Publishing: final config adjustments for each of the publishing channel types
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30100 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-26 14:55:36 +00:00
Frederik Heremans
578a58bbc8
ALF-9693: Social publishing now using the activiti process definition + fixed issue with activiti process without wait-state
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30078 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-26 07:52:20 +00:00
David Webster
41bf621c4d
Social Publishing UI Updates:
...
- Adds 20px icons
- AmericaniZes spellings
- Adds extra messaging to publishing dialogue status update field.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29738 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-15 07:28:25 +00:00
N Smith
7b493bb3e6
Fixed unpublishing events.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29696 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-11 16:52:06 +00:00
N Smith
0b171e0f40
Implemented truncation of status update messages if they exceed the max status length for that channel.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29681 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-11 09:57:56 +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
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
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
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
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
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
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
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
N Smith
4be0baaeb3
Implemented channel.put Rest method for renaming channels. Also renamed publishing-events-for-node.get to publishing-events.get.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29312 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-25 15:06:14 +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
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
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
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
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
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
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
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
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
Brian Remmington
aeb467a3d8
Publishing:
...
- Added start of the Flickr channel. Channel creation and authorisation is complete (written as a new Spring Social module). API not currently working.
- Fixed a problem with SlideShare API: it relies on the file extension to determine the type of the file, so needed to alter the way the files are sent.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29085 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-15 15:47:26 +00:00
N Smith
6bbd3b1684
Changed PublishEventProcessor so that it correctly updates the Publishing Status on the PublishingEvent node.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29042 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-14 15:41:11 +00:00
N Smith
812398be66
Fixing URL issues on publishing.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29035 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-14 13:39:07 +00:00
N Smith
68956f2c48
Added UrlShortener interface/implementation. Included support for shortening of Urls generated through publishing of content.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29014 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-14 09:11:04 +00:00
N Smith
7392670c01
Fixed failing ChannelServiceImpl.testUpdateChannel.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28976 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-13 12:02:54 +00:00
N Smith
9534fcf21e
The publish_web_content_processdefinition now always runs the PublishEventAction asynchronously. Added ScriptAction.executeAsynchronously(ScriptNode) method.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28975 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-13 11:45:51 +00:00
Brian Remmington
f12b5edafa
Publishing:
...
- SlideShare channel now tested (the service seems pretty flaky, but the publishing works fine).
- A couple of tweaks to ensure that credentials are being stored correctly for each channel.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28966 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-13 08:21:05 +00:00
N Smith
a750e322f7
Fixed several failing Publishing tests.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28961 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-12 16:08:06 +00:00
N Smith
db158066a0
Removed Environment from the Publishing Foundation API.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28957 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-12 14:41:36 +00:00
N Smith
c0eea3ae95
Added channel-types.get REST method. Also made the versioning work when publishing nodes.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28923 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-11 16:24:58 +00:00
Brian Remmington
869afa4673
Publishing: added authorisation framework for channel types. Migrated YouTube channel type onto it, and added Twitter and SlideShare channel types. Facebook is also added, but there is an issue with the way it authorises apps, so it isn't wired in yet.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28910 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-11 11:21:06 +00:00
Brian Remmington
dc87333db5
Migrate codebase onto Spring 3.0.5. There is an issue with using annotation based test cases that I haven't got to the bottom of yet. I have posted on the SpringSource forum here:
...
http://forum.springsource.org/showthread.php?111842-ConfigurationClassPostProcessor-IllegalStateException-when-starting-test-case
As a workaround I have converted all such test cases so that they simply use the "normal" BaseSpringTest super class. Fortunately there were only eight or nine such classes.
Although I have run quite a number of tests on the result I haven't run every test there is, so there may be some fallout.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28904 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-10 21:42:21 +00:00
N Smith
04639c7930
Fixed failing workflow tests.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28895 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-08 15:18:15 +00:00
N Smith
0138ee4a45
Added a new REST method, publishing-events-query.post which allows you to query for publishing events based on id or published nodes.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28846 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-07-07 11:53:12 +00:00
N Smith
f198084c66
Added capability to search for published nodes on PublishingEventFilter. Also, improved robustness of publishing-queue.post REST method.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28704 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-06-29 16:54:11 +00:00