Commit Graph

2894 Commits

Author SHA1 Message Date
Simon Buckle
07d0e31390 First cut of wiki dashlet. Added binding to site dashboard.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9944 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-18 15:40:48 +00:00
Roy Wetherall
51fdc5743a Fix up test to fix build
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9943 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-18 15:34:44 +00:00
Kevin Roast
4c81588ffc First cut of User Profile component - basic Edit Form and layout at present, displays User props such as name, location, biography etc.
- TBD: read only view (which will be the initial view), Save Changes, Upload photo.
Alfresco Share logo added to slingshot header area.
Improvements to user meta-data retrieval to return content strings if content properties are found.
AlfrescoUserFactory now retrieves user bio property.
Enhanced FreeMarker template API - added method to test for content properties.
Enhanced script People API - added method to test for admin authority.
Changed User Dashboard default template to two column.
Removed some old files/folders no longer needed in slingshot.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9942 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-18 15:06:58 +00:00
Simon Buckle
18330c8cb8 Fixed permission problem when creating/editing/deleting calendar events; non-admin users can now do the previously mentioned actions on an event.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9941 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-18 12:54:26 +00:00
Simon Buckle
999d634dc3 Fixed permission problem for wiki pages. Non-admin users can now create/edit/delete pages.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9939 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-18 12:32:30 +00:00
Michael Ru
1d5529f22c - tagscopetags webscript now checks whether container exists, returns empty tag list in case it doesn't
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9937 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-18 11:43:52 +00:00
Mike Hatfield
7f79b42eb4 DocList i18n updates. Thumbnail requested from thumbnail service.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9935 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-18 10:44:48 +00:00
Michael Ru
9433d1ba58 - fix for comments which didn't hide when edit form was displayed
- seach site wip

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9927 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-17 21:23:26 +00:00
Kevin Roast
773b9e811e Enhanced User properties available ready for User Profile component - added new properties to content model definition, ContentModel constants file and Slingshot User objects.
Added AlfrescoUser object, to be responsible for persisting changes to User Profile.
Added concept of ThreadLocalRequestContext - similar to FacesContext in that it has a static accessor method to retrieve the "current" instance.
Removal of 'alfresco-system' endpoint from web-framework and replaced usage with 'alfresco' endpoint:
 - removes the need for admin user detailed to be stored in web-framework config files (!) and being constantly transmitted between tiers
 - refactored appropriate webscripts to accept non-admin authentication but added code checks to ensure non-admin users can only bring back meta-data about themselves
 - refactored AVMRemoteStore and RemoteStore client to use authenticated endpoint rather than system admin authentication driven endpoint
 - this also reduces the the traffic between tiers and vastly reduces the number of login tickets requested
Added open HTTP endpoint - for use by RSS feed components etc. that point to any website feed - configured as 'unsecure' endpoint so purposely cannot be accessed via proxy URLs.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9920 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-17 14:38:55 +00:00
Roy Wetherall
5f5937479b Site Service: refactor container API (Java & JS) to have separate create method, fix-up UI fallout, expose node details on site details (Java/JS/REST), fixup web scripts with correct permission levels
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9918 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-17 14:17:16 +00:00
Michael Ru
3b9c4db6f4 - replaced px values by % values in css files
- added search webscript
- added search page component

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9904 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-17 09:02:27 +00:00
Mike Hatfield
d60c243861 Multi-asset actions groundwork. First cut of multi-asset delete.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9903 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-17 07:47:02 +00:00
Glen Johnson
3c7c03052b DELETE Person REST API method for Person Service & Unit Test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9894 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-16 20:02:36 +00:00
Glen Johnson
ee8cc00023 Person Service REST API call PUT /people/{userName} to update a person's details, including supporting fix for POST /people/ (create person Web Script) using "jobTitle" property on person ScriptNode instead of all lower case "jobtitle"
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9886 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-15 20:30:07 +00:00
Michael Ru
8d931598ce - new aspect cm:contentupdated used for forum/blog to mark updated posts
- aspect blg:released is used to mark a internally published post
- added missing I18N file for blog rss
- some ui enhancements, e.g. blog drafts won't show add comment box anymore

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9881 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-15 17:33:33 +00:00
Michael Ru
1632956b4a - Activities for forum posts and replies
- Tag library now fetches popular tags from site
- some I18N fixes

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9870 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-15 13:56:24 +00:00
Mike Hatfield
b23ef36578 DocLib error handling improvements. Fix to URL issue with posted activities. Hooked validation into simple-dialog.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9857 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-15 07:08:01 +00:00
Simon Buckle
777bafce03 Modified event info panel to display tag information. Fixed event creation bugs with regard to all day events and an empty tag field. Added i18n properties to info panel.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9853 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-14 15:57:36 +00:00
Michael Ru
7498c06852 - added tagging to forum
- aligned code style/used helper functions for forum and blog
- missing images for tag library

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9835 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-14 09:44:33 +00:00
Jan Vonka
1063408a4b Activity Service - for template store, move "path" arg to be URL extension (SLNG-777)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9832 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-14 08:59:30 +00:00
Glen Johnson
9db77075db Added invitee first name and last name parameters to the "/api/invite/start" web script call for the Invite Service
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9831 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-14 07:25:39 +00:00
Glen Johnson
a3412c899e Fixes to Invite Service to expose internal invite workflow instance ID externally as invite ID for all Invite Web Scripts
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9822 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-11 17:10:46 +00:00
Simon Buckle
56d2fb57f7 Added support for tagging to the calendar. Added resizer to left column.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9821 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-11 16:59:39 +00:00
Glen Johnson
022f0bed8f Invite REST API Service with (1) additional Unit Tests (2) latest round of fixes so all unit tests for "invite", "inviteresponse" and "invites" (pending invites) Java-backed Web Scripts pass (3) moving superseded invite.get.js and inviteresponse.get.js out of the way and "turning on" Java-backed Web Scripts
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9818 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-11 14:45:02 +00:00
Kevin Roast
edd806d89a Fixed regression in upload JS where mimetype was being set back to the default flash mimetype (always binary).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9817 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-11 14:32:46 +00:00
Mike Hatfield
02aeeb60e0 DocumentLibrary working again with moved Sites home. "Create folder" using simple dialog framework. Doclist and tree webscript support for nodeRefs. Base.css tweaks to font-size, yui-skin-sam names restored. Toolbar swaps visible elements based on active display filter.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9814 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-11 13:21:21 +00:00
Erik Winlof
1cae290559 DONE TODAY
Uploader 
- Update new version OK in sub folders (requires repo re-deploy)
- Reseting description and version for each display
- Hiding and showing tips and status depending on which mode: upload or update

Popups
- shadow is back under the popups


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9810 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-11 10:20:43 +00:00
Michael Ru
735e6f3961 - added activities for blog posts
- added tagging support for blog

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9809 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-11 10:12:53 +00:00
Simon Buckle
cd93a049c3 Removed reference to site store and updated path clauses in the Lucene queries. Fixed component definitions to work with the latest build.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9808 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-11 09:25:13 +00:00
Erik Winlof
08d74f082d Popups
- More like visuals
- Moved all Panel-styling from each component into base.css.
  The only thing that needs to be styled in each popup is .module-name{width: 40em}
- Refactored all popups I could find: Create site, Create folder, Uploader, Add event, Configure blog
- Popups look ok in FF, Safari, IE7 and almost ok in IE6.

Create site
- Creates real presets so new sites can be created (not limited to deafult anymore)

Uploader
- Update new version is working (not in sub folder though)
- Clashing filenames gets a number appended by default but can be overriden from show() with attribute overwrite=true
- Module is now a "singleton" to avoid several flash instantiations
- For now all uploaded files become versionable (should be revisited when a decision about a new version store has been taken, SLNG-269)

IE6
- Uploader OK in IE6
- IE6 had the wrong color for visited links



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9736 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-10 17:21:02 +00:00
Kevin Roast
3dfa87174e Implemented Delete Document API for remote AVM store (repo-tier) and remote store client (web-tier).
Fixed and added APIs to bind and unbind components in web-tier object model - mirrored API methods for "sitedata" JS API.
 - this completes the working APIs needed to add/remove pages and add/remove/modify component bindings to facilitate user dashboard configuration and site page configuration.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9716 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-10 11:17:30 +00:00
Glen Johnson
f8d631f9f1 Latest fixes for Java-backed Invite REST API Web Scripts - but invites.get (pending invites) still failing on Unit Tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9714 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-10 10:10:03 +00:00
Glen Johnson
f0b7fc0569 Fix to GET invites web script API - invites now directly addressable by invite ID, see invites.get.desc.xml for API description
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9706 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-09 18:03:09 +00:00
Glen Johnson
595fd3f854 Latest round of Invites (pending invites) Java-backed Web Script fixes/modifications
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9704 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-09 15:37:07 +00:00
Michael Ru
0d2114d4e0 - new webscript for my forum topics
- proper pagination component
- cleanup of topic list page js code
- tag support for blog REST API (still disabled though)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9702 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-09 15:20:48 +00:00
Simon Buckle
4b1d7c48cb Modified scripts to handle all day events; added all day event checkbox to the event form as per the visuals.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9700 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-09 12:38:07 +00:00
Glen Johnson
63bf4b1355 Latest drop of Java-backed version of Invite Web Scripts for (invite.get [start, cancel], inviteresponse.get [accept, reject], invites.get [pending])
- to take over from JavaScript version of these web scripts to allow secure running under admin authority

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9697 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-09 11:21:17 +00:00
Glen Johnson
6cd1fb9ac0 Remote-api-context.xml containing workflowDeployer bean with invite workflow definition and model deployment (previously in Repository bootstrap-context.xml which caused problems running repository unit tests in Eclipse)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9695 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-09 07:44:48 +00:00
Simon Buckle
47f5deedb3 Any html tags and/or wiki markup are now removed from the page content in the wiki page listing to ensure display consistency. Modified wiki css. Fixed width problem when displaying event information in the calendar.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9686 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-08 16:01:27 +00:00
Mike Hatfield
f14738c917 DocLib file upload posting to Activities service. Fixes for hash updates in browser address bar. More placeholder images for DocLib actions. Fix to json.status.ftl to pass YAHOO JSON isValid() test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9681 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-08 14:35:29 +00:00
Simon Buckle
ae8d81fa5d Added first cut of page rename functionality to the toolbar.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9676 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-08 12:54:16 +00:00
Simon Buckle
b2eb746a0f Initial version of wiki page filter.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9667 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-07 15:21:51 +00:00
Michael Ru
61815aa9d1 - some unit tests for the discussion service
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9666 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-07 14:28:28 +00:00
Michael Ru
9a7cc0f21f - Some unit tests for the blog web scripts
- Added proper permission handling for blog post drafts

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9665 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-07 13:05:25 +00:00
Michael Ru
30e3243e2a - made date properties on blg:releaseDetails aspect mandatory
- added webscripts for different blog filters
- adapted frontend for new filters

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9657 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-04 17:17:50 +00:00
Simon Buckle
0cf078cc21 Added first cut of activity templates for delete and renaming wiki pages. Modified the corresponding scripts to log page deletes and renames to the activity service.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9656 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-04 16:22:25 +00:00
Simon Buckle
2b99b7ec5b Added landing page for wiki; lists all the pages as per the visuals. Modified wiki page definition(s). Added scripts for listing all the pages for a given site. Page delete now redirects back to the list of pages.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9653 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-04 15:15:27 +00:00
Michael Ru
63dad6aa29 - Alfresco.util.Ajax now allows specifying the used http method
- blog draft/publish/publish external
- various css/js fixes for blog and discussions
- Added new aspect "blg:releaseDetails" to blog model, temporary naming/solution


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9647 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-04 11:15:36 +00:00
Simon Buckle
43b3208641 Fixed problem with event creation in the calendar; modified form POST to submit data as JSON.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9643 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-04 09:51:47 +00:00
Mike Hatfield
652cd91de7 Re-org of DocLib data webscripts to support both site-format and noderef-format references. New DocLib "generic action" function which enables much easier addition of new actions.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9638 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-03 15:34:18 +00:00