Commit Graph

5481 Commits

Author SHA1 Message Date
Roy Wetherall
18d13c2392 JSON Encoding: added JSON encoding to data API's (note activities, wiki, forum and blogs have not been done yet to prevent unessesary destabalisation before preview release)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10076 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-28 17:57:00 +00:00
Michael Ru
1345499ca7 - numeric tags correctly handled now (SLNG-812)
- tags on blog list and blog view page are now clickable (SLNG-813
- search handles quotes and special characters better (SLNG-835)
- search now encodes the searched string (SLNG-862)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10073 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-28 15:05:58 +00:00
Michael Ru
fc5db63119 - fixed IE js errors (creating posts/topics works again)
- proper html escaping of titles in comments/blog/forum/search webscripts + activity feeds
- reverted debug flag in alfresco-template.ftl

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10069 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-28 13:17:20 +00:00
Simon Buckle
07e5be51a6 Added event name validation to disallow invalid characters - works on both event creation and edit. Modified PUT script to return non-empty JSON response.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10065 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-28 11:36:22 +00:00
Roy Wetherall
ef3a04948d Fix-up unit test to allow build to commence
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10060 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-28 10:32:14 +00:00
Simon Buckle
2ede1778c8 Escaped site name used in Lucene query used to retrieve events using the ISO9075Encode(...) method.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10059 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-28 10:27:06 +00:00
Glen Johnson
90905a5ae1 Various minor fixes for REST Invite Service (mostly to starting the invitation process, building the invitation email and sending out the email)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10057 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-28 06:11:43 +00:00
Michael Ru
fea55713f8 - invite of users and adding of new users works, but still some js/css issues around YUI buttons on IE
- Adapted people.get to return an object containing a people property instead of an array and added avatar image url to the returned person data

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10054 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-27 21:06:20 +00:00
Gavin Cornwell
5d77e95215 Implemented Leave functionality
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10048 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-26 21:08:32 +00:00
Mike Hatfield
d934b3b83e DocLib simple metadata editing and tag support.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10047 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-26 04:46:52 +00:00
Mike Hatfield
1061838a4c Doc Summary dashlet now doesn't show working copies
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10044 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-26 04:40:33 +00:00
David Caruana
906c759ef2 Test Web Script server now picks up webscript-framework-config.xml "Server" configuration.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10041 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-25 21:12:53 +00:00
Roy Wetherall
abc95e42d1 Added support for pagesize on site collections for preview
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10035 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-25 15:14:53 +00:00
Kevin Roast
f123bca2f3 User Profile enhancements:
- User Profile page now visible for any user via the /page/user/<username>/profile URL
 - Pages in slingshot now reference the user profile URL to display it on username click 
 - Only the logged in User can modify their own profile page - other pages are all read-only
 - Enhancements to User Factory pattern to load user details for arbitrary users
General I18N message walk through as agreed with doc team+ui design.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10032 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-25 14:31:14 +00:00
Roy Wetherall
5f6cb30310 Sites collection added to person rest API, check point of tagging rest API
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10025 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-25 12:21:03 +00:00
Kevin Roast
6b736cfa12 User Profile enhancements and fixes:
- CSS styling overhaul to bring profile inline with latest visuals
 - Avatar thumbnail displayed on profile summary dashlet
 - Info message labels for Photo Upload
 - Fix to issue where photo image persisted but not updated in web-tier User object if user clicks out of the profile page

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10020 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-25 10:16:49 +00:00
Erik Winlof
06ca886666 Document preview
- Added a cache token to avoid cache issues
- Maximizes the panel to fit the window

Uploader
Possibility to generate multiple thumbnails on upload

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10012 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-24 16:08:33 +00:00
Kevin Roast
2e2642cb7d User Profile enhancements:
- Upload of Avatar image - added as a child node via preferences aspect to the cm:person node for the current user
 - Ajax update of image in profile read/edit views
 - Auto generated thumbnail used for avatar immediately after upload
Tweak of file-upload component to allow override of destination URL for POST of content
Added new flag to thumbnail GET call to force thumbnail creation synchronously without waiting
Fix to Person PUT API (Unit Test now executes correctly)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10008 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-24 14:44:45 +00:00
Mike Hatfield
0df277628f DocLib single and multi-asset Copy To action. DocLib RSS Feed link. Various bug fixes and CSS tweaks to DocLib components and data webscripts.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10005 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-24 13:28:56 +00:00
Michael Ru
0af3358015 - inserted new blog icons
- fixes for top search bar, but icons still not correctly layed out
- fixed blog/discussion REST API unit tests
- fix for broken external blog config dialog
- documentlibrary activity now produces correct download url for files (filename at the end of the url was missing)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10001 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-24 09:45:06 +00:00
Michael Ru
a451555bac - correctly escaping xml characters in all rss/atom feeds.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9994 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-23 15:41:35 +00:00
Simon Buckle
ee66c2217e Escaped title URL parameter. First cut of allowing users to see the content of the various versions of a wiki page.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9993 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-23 14:27:05 +00:00
Michael Ru
f11972f381 - Moved creation of activities urls for blog/discussions from the REST api to the client side
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9992 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-23 13:37:41 +00:00
Kevin Roast
e3c9b02d37 User Profile component updates:
- Values now persisted back to repository via REST service
 - All User Profile fields now working get/set except for Avatar set
 - CSS fixes and cleanups

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9991 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-23 12:51:26 +00:00
Michael Ru
c53850728d - corrected urls for discussions/blog activity feeds (still with hardcoded context though)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9985 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-23 09:37:46 +00:00
Michael Ru
e2d8f76d4b - activities for blog comments
- correct date encoding in rss blog/discussions feeds

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9983 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-23 08:57:30 +00:00
Erik Winlof
2150e618d4 File upload service: Does an overwrite if file is versionable by default.
File upload GUI: Displays the No flash text without destroying the layout
My site profile and collaboration site handles missing variables such as title and description
Create site: Its now possible to choose between public and private in the gui

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9982 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-23 07:09:44 +00:00
Michael Uzqu
8eaf3d9c1e Dashlet for Alfresco Network + Minor fixes
- Alfresco Network dashlet for Share
- Credential Vault returns boolean for save and load to assist with persistent stores
- AlfrescoConnector now supports "unauthenticated-mode" property which when set to "guest" allows unauthenticated users to participate against Alfresco repo as a guest user

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9980 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-23 03:29:16 +00:00
Michael Ru
d270d91ff6 - moved all REST api webscripts for blog, forum and comments to /api
- typo fix in resource bundle

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9976 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-22 14:28:58 +00:00
Michael Ru
2ab76e148d - avatar image and real names for blog and comments
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9974 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-22 13:44:30 +00:00
Michael Ru
88b76c94c7 - improved search bar
- discussions now show real user names and avatars (wip)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9969 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-22 10:24:53 +00:00
Mike Hatfield
e0821f2751 First cut of single- and multi-file Move To. Thumbnail generation in file upload
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9959 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-21 15:28:41 +00:00
Kevin Roast
3e3f90ee77 User Profile component:
- Read only view mode
 - View/Edit screen switching
 - User Avatar now returned as noderef in person meta-data call
 - User Avatar displayed (via proxy) if present in person data

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9957 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-21 14:43:05 +00:00
Glen Johnson
71a89cfdb7 Modified error handling in person.get Web Script to use status.STATUS_NOT_FOUND constant rather than 404 integer literal
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9949 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-18 22:40:49 +00:00
Glen Johnson
1eb74a78a1 Fix person.get and people.get Web Scripts to require user-level authentication (these web scripts are part of Person Service REST API)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9948 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-18 22:32:21 +00:00
Glen Johnson
bedc406bf4 Java-backed person.put (person update) Web Script for the Person Service REST API
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9947 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-18 22:19:31 +00:00
Michael Ru
6c0e187e53 - some improvements to search, e.g. searchs now in different components
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9946 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-18 16:34:52 +00:00
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