r. 22803 Merge from DEV/QUITE-RIGHT to HEAD (svn comment typo: should be to V3.3-BUG-FIX)
r. 22802 Fix for ALF-5040 SiteService.getSite(NodeRef) does not return the correct SiteInfo.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22804 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
22049: ALF-3786 Partial implementation of Configurable Site Creation Group.
Site configuration groups can be configured via permissions management in the usual way.
This check-in adds hasCreateSitePermissions() to various SiteService layers to better support
client code when site creation restrictions have been imposed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22053 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
Google Doc Integration
- The following configuration must be added to your alfresco-global.properties in order to enable the googleeditable repository behaviour:
googledocs.username=myuser@bob.com
googledocs.password=pwd123pwd
googledocs.googleeditable.enabled=true
Google Docs Share Integration
- Enabled via share-config (see share-config-custom.xml.sample for details)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20018 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Cleanup and improvements to RequestContext related classes.
- Removal of obsolete Alfresco util classes.
Fixed up imports back to Alfresco versions of unused SpringSurf util classes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19322 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
17571: ETHREEOH-1863 - alfresco-webscript-framework.jar is not available in the alfresco-enterprise-sdk-3.1
- although the framework jar was already part of the SDK when I looked I have done some re-organising of
- names and paths and added missing source files. By no means finished but its another step forward.
17581: Fix for ETHREEOH-3380 - upload servlet in Explorer does not handle well upload errors as no error message is displayed on the client browser.
17582: ETHREEOH-2760 - Sealing of standard library root scope objects to prevent script potentially interfering with another scripts processing.
- Example provided to fix ACT ticket issue against fixed codeline.
17583: Fixed ETHREEOH-3458 "If the rss feed to display returns bad formatted data or is unavailable an ugly free marker error is displayed"
- Rss urls pointing to a "missing resource"/"bad formated rss data" is now displayed as "Rss feed is unavailable"/"Can't read rss feed" (before they displayed freemarker error making it impossible to re-configure)
- Title is now updated after config (therefore the change to return json instead of html) (before a page refresh was needed)
- The new url is now updated in the "2nd" config dialog after it has been changed in the first (before page refresh was needed)
- Removed un-internationalised string from config respons template
17584: ALFCOM-3675 - WebDAV script does not allow inline editing for documents with name in upper case.
- Now allows any case, as per supplied patch.
- Also added support for Office 2007 file types so they can now be opened in write mode via webdav in IE6/7 from the Explorer client.
- Tested in IE6/7.
17585: Yet another fix for ETHREEOH-1733 - agenda view all days events fixed
17586: ETHREEOH-1843: /api/sites/*/memberships search is slow on specific query
17587: Add cluster lock for JPBM job/timer executor (for WCM submits in a clustered env - ETHREEOH-2230 / ETHREEOH-3319)
17590: New icons for View Original & View Working Copy actions
17591: ETHREEOH-2879 - Alfresco + OpenLDAP: Unable to retrieve user from repository.
- Fixed SURF to handle users without (utterly bizarely) First or Last names or even, usefully, neither.
17592: Merged V3.2 to V3.1
17415: Fix for ETHREEOH-3293 - Editing user details on large user repository causes Hibernate exception.
Fix for ETHREEOH-3294 - Extreemly slow repository performance adding a new user to large user repository via the Explorer Client admin console.
17593: Icon for doclib View In Browser action
17594: ETHREEOH-2864 - Share - Documents cannot be deleted (in "All Documents" view)
17595: ETHREEOH-3203: Impossibility to add comment to any object by SiteContributor user
17596: ETHREEOH-1469 - SMTP errors not reported when sending an invitation
- now errors are reported.
- may upset unit tests, i've fixed those I know about
17598: Fixed ETHREEOH-3445 "Admin Console - Group Search sometimes never displays results list"
17601: ETHREEOH-3382 - Share Sites menu is broken in "debug" mode. Reworked menu css. Removed unused footer component.
17602: Share global debug flags removed from web-framework-config-application.xml. Use share-config-custom.xml instead.
17603: Changed wording on Create/Edit Site dialogs from "Access" to "Visibility". "Access" was no longer accurate now that Moderated Sites' content is private to non-members.
17604: ETHREEOH-1469 - SMTP error when sending an invitation does not return a failure.
- SiteServiceTest also needed "fixing"
17606: ETHREEOH-3475 - IE: Second search on add groups to site gets yui error but works. Related to YUI bug 2286608. YUI patched instead of all DataTable client code. (Patch removed from DocLib)
17607: ETHREEOH-3470 - "Add" button is unavailable if the group with the name of more than 60 characters is found
17608: Fixed invalid use of Forms validator. Validators updated to handle specific case anyway.
17610: Fixed ETHREEOH-3445 "Admin Console - Group Search sometimes never displays results list" - missed commit of non-default theme files
17612: Fixed ETHREEOH-3480 "Browse" button no longer works after Groups Admin console page is refreshed
17613: ETHREEOH-3450 Fixed illegal nested comment in web-client-config-custom.xml.sample
17616: Fix for ETHREEOH-2863 - Code cache memory leak observed in JVM 1.6 when script action calls another script which in turn calls other functions.
- Fixed use of Rhino optimization level when executing string based scripts.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18160 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
17495: Changed xforms-samples name to wcm-sample
17496: Minor fixes for day and week views when rendering new events
17497: *RECORD ONLY* Added Enterprise logo local copy.
17498: ETHREEOH-2933 - User can see contents of the moderated site if user is not a member of the site
- Site containers are now private and non member's can't see content.
- fix only applies to new moderated sites.
17499: ETHREEOH-2322 - Office Plugin: filename overlaps the plugin UI if longer than 40 characters without spaces
17500: Temorary build fix for site visibility
17508: ETHREEOH-1268 - Pages and Components show varying degrees of success handling "site not found" errors.
17509: Fix for ETHREEOH1733 - Wrong display of multi day events in Share
17514: View In Browser action for document list and document details actions.
17515: Merged DEV-TEMPORARY to V3.2
17471: ETHREEOH-3193: 'capitalize' in output path pattern works differently for templates (vs. XSDs)
17516: Missing css file from Edit Offline changes. Also "Checked out on/by" text changed to "Editing started on/by". Tags now comma separated
17517: Merged DEV-TEMPORARY to V3.2
17474: ETHREEOH-1211: Can't See Images in TinyMCE
17518: Office add-in: ETHREEOH-3361 - Workflow name is visible only before symbol &, ETHREEOH-2735 - Total number of founded items is not shown
17519: 3.2E help links
17520: 3.2E help links, plus ETHREEOH-1536 - Incorrect "insert into current document" function work for unsupported files in MS Office Addin
17522: Fix for ETHREEOH-3257 - Event becomes All day again after editing it to not All day
17526: Fix for unreported issue when rendering an edited event after the view is filtered via tag component causes an script error
17528: Fixed ETHREEOH-3364 " Admin Console - Group Search needs to show searching message and disable further requests while search is running"
- Disabling search button & message displaying "Searching..." after 2 seconds for long searches for the following components:
* Admin Console: Users - search user, add group
* Admin Console: Groups - search group, add group, add user
* Site: Members: People - search members, add people
* Site: Members: Groups - search membergroups, add group
* Site: Members: Pending invites - search invites
* Site: Doclib: Assign Workflow - add users
* People Finder
* Site Finder
- All component listed above uses max search result except the following where webscript services lacks support for it:
* Admin Console: Users - add group
* Admin Console: Groups - search group, add group
* Site: Members: Pending invites - search invites
- Bugfix: When minSearchTermLength is set to 0:
* Group Admin Console: switched to browse view
* User Admin Console: didnt do a search
- Bugfix: For some components minSearchTermLength & maxSearchResults were brought in as strings causing the global search's max result to be 1001 instead of 101
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18126 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
17385: Minor performance tweaks and code cleanup/consolidation in SiteServiceImpl.
17386: ETHREEOH-3066 Added supporting logging
17387: Minor javadoc updates pertinent to the FreeMarker API chapter updates.
17392: Fix to unreported issue in User Profile where a recent fix incorrectly encoding javascript values as ?html.
- values passed into JS components in FreeMarker template should use ?js_string operator - not the ?html operator.
17399: ETHREEOH-3269, ETHREEOH-3271 - Dropdown markup changed for keyboard access
17400: ETHREEOH-3278 - Navigator is very wide
17401: Concatenate DocLib JavaScript files
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18120 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
17475: ETHREEOH-3295: Fix to AuthorityMigrationPatch
- Forces transaction retry if worker thread reaches child authority before a parent authority
- Tested on Kev's 3.1.1 repository with ~20,000 bulk loaded users and ~2,000 Share sites
- Now completes in 5 minutes as opposed to 45
17461: ETHREEOH-3268: Added MutableAuthenticationService.isAuthenticationCreationAllowed () to allow conditional display of external user invitation UI
17450: ETHREEOH-2762: Correction to previous fix. Do not generate new name when working copy copied back on check in.
17440: ETHREEOH-3295: Fixed logging in FixNameCrcValuesPatch
17439: ETHREEOH-2762: Improved behaviour when a working copy is copied
- Working copy aspect already removed the working copy aspect on copy
- Now derives a new name from the node checked out from and a UUID, preserving the extension
17438: ETHREEOH-2690: Fix sequencing of jgroups system property setting
- declared dependency between internalEHCacheManager and jgroupsPropertySetter
17436: ETHREEOH-3295: Further performance improvements to AuthorityMigrationPatch
- authority created at same time as all its parent associations to save lots of reindexing, as per LDAP sync
- multi-threaded BatchProcessor (as used by LDAP sync, FixNameCrcValuesPatch) used to process work in 2 threads in batches of 20, report progress every 100 entries and handle transaction retries
- BatchProcessor now promoted to its own package
17394: Fix for license issue in local enterprise builds.
- Replace Community with Enterprise in version.properties during enterprise war building
17365: ETHREEOH-3229: Visited and fixed all SearchService result set leaks
17362: ETHREEOH-3254: Eliminate needless ping to LDAP server in LDAPAuthenticationComponentImpl.implementationAllowsGuestLogin()
17348: ETHREEOH-3003: Fix NPE in Hyperic when LicenseDescriptor has null fields
17316: Merged V3.1 to V3.2
17315: ETHREEOH-3092: PersonService won't let you create duplicate persons anymore.
17314: ETHREEOH-3158: Fix RepoServerMgmt to work with external authentication methods
- AuthenticationService.getCurrentTicket / getNewTicket now call pre authentication check before issuing a new ticket, thus still allowing ticket enforcement when external authentication is in use.
17312: ETHREEOH-3219: Enable resolution of JMX server password file path on JBoss 5
17299: Merged V3.2 to V3.1 (Record only)
17297: ETHREEOH-1593: Changed name of username cookie and fixed login.jsp to decode it properly
17248: ETHREEOH-1593: alfUser cookie value should be base 64 encoded to allow for non-ASCII characters
17297: ETHREEOH-1593: Changed name of username cookie and fixed login.jsp to decode it properly
- thanks Kev!
17292: ETHREEOH-1842: Ticket association with HttpSession IDs tracked so that we don't invalidate a ticket in use by multiple sessions prematurely
- AuthenticationService validate, getCurrentTicket, etc. methods now take optional sessionId arguments
17269: Fix failing unit test
- reinstate original behaviour of AbstractChainingAuthenticationService.getAuthenticationEnabled()
17268: Fix InvitationService
- Runs as system to do privileged AuthenticationService actions
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18105 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
17667: Branch for SpringSurf integration - from HEAD r17665
17668: Fix to ensure included scripts files are not loaded from a cached classpath loader.
17670: Part 1 of SpringSurf integration - changes relating to spring-surf-core-1.0.0.CI-SNAPSHOT.jar
17674: Part 2 of SpringSurf integration - changes relating to spring-surf-core-configservice-1.0.0.CI-SNAPSHOT.jar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@17788 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
16700: Fix for ETHREEOH-2509 - Leaving a private site breaks All Sites search for any term found in documents user created in that site.
16703: Fix for ETHREEOH-2775 - "Show all" fails for user if permissions of folder that item was deleted from are changed to exclude them.
16705: Fixes to Site Links dashlet component.
16707: Fixed ETHREEOH-619 "User who is already a member of the site (or invite is pending) can be added to the invite list"
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16899 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
14587: Added new node service method getNodesWithoutParentAssocsOfType to public-services-security-context.xml (or at least my best guess at it!)
14586: Use US spelling of synchronization in filenames for consistency
14585: Lower the default user registry sync frequency to daily instead of hourly. Now users and groups are pulled over incrementally on login of missing users.
14583: Unit test for ChainingUserRegistrySynchronizer
14571: Migration patch for existing authorities previously held in users store
- Uses AuthorityService to recreate authorities in spaces store with new structure
14555: Authority service changes for LDAP sync improvements
- Moved sys:authorities container to spaces store
- All authorities now stored directly under sys:authorities
- Authorities can now be looked up directly by node service
- Secondary child associations used to model group relationships
- 'Root' groups for UI navigation determined dynamically by node service query
- cm:member association used to relate both authority containers and persons to other authorities
- New cm:inZone association relates persons and authority containers to synchronization 'zones' stored under sys:zones
- Look up of authority zone and all authorities in a zone to enable multi-zone LDAP sync
14524: Dev branch for finishing LDAP zones and upgrade impact
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14588 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
13409: Fix for ETHREEOH-1337 - to escape query characters in Site/People service filter methods.
13410: Fix for ETHREEOH-1272 - another missing pager control.
13425: Italian lang pack for TinyMCE editors. Fixes ETHREEOH-1491.
13430: Fix for ETHREEOH-1488.
Also IDs added to a couple of pagers - not causing a bug, but completes the pager fixes.
13464: Fix for ETHREEOH-1474 - now possible to use NTLM auth with Alfresco and SURF apps hosted in same app-server with same user browser session in different tabs.
Added additional NTLM filter debugging info for Session ID.
13483: Fix for ETHREEOH-1547 - System error happens when trying to create any Web Project.
Also fixes issue where webproject FormImpl objects did not deserialize correctly due to unsafe service call usage in constructor.
13501: Fix for ETHREEOH-965 - disallow guest login until explicit Guest support is added to Share.
13507: Fix for ETHREEOH-1586 - language selectable at login working again.
13512: Fix for ETHREEOH-1522 - wiki RSS feed template variable named incorrectly.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13598 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
13034: Performance improvements to SiteService listSites(username) method.
Removal of some non-sensical javascript.
***NOTE: Unable to apply critical 3.1E SiteService performance improvements due to HEAD changes ***
13036: Site Favorites restored to working order. If the user does not have any site favorite prefs then API call to retrieve the user sites list is avoided and exceptions are no longer produced and ignored.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13554 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261