History | View | Annotate | Download (102.7 kB)
Commit after code review concerning handling of lastLogin in the admin interface and Issue 66.
Small optimisation in getResourceAtPath(). Should pay more dividents once DTOs are removed. (Avoids getting every detail of root folder in each and every call.)
Changed progress logging during reindexing from debug to info
Added owner and public flag to the indexModified solr query to check file permissions in the indexUpdated error messages during solr index rebuild to include exception type
Fixed a solr field name
Added in the index the id of users and groups that have read access to a file
Automated merge with https://gss.googlecode.com/hg/
Merge with 95418fb0c49b from default
Merge with 7b39195399329dca42a7de7175f8e9e2f7478a4e
Added profiling code
Implement the ManyToOne relationship for UserLogin and User that is related to Issue 64.
Started removing DTOs
Initial commit related to Issue 64. Last login should point to the user's last login.
Added check for number of solr results so that we can ask for the total
Index rebuild is done synchronously. Added some logging messages for monitoring
Migrated to solr 1.4. Added a filter factory so that solr can use the greek lower case filter inside the default analyzer
Implemented wildcard search
Implemented search with solrj
Upgraded solr to 1.4 and refactored things a bit so that index rebuild is done synchronously from the ejb
Another fix for setting the auditInfo object by setting AND the user that changed the resource, not only the modification date of the object.
Setting the modification date and setting the auditInfo object to every resource that causes the proper show of permissions to group in every resource.
Rewrite the touchFolder and touchFile methods in order to update only the modification date and nothing else. Add a new method that select the appropriate files tat have permissions to the specific group that is to be deleted.
Recall a faulty previous commit that was related to forbiding the uploading of a file which file name would contain a slash and also adding to some files a copyright year.
Remove the unnecessary throwing of NPE and show the shared sub-folders along with the shared files below 'My Shared' view properly. The above mentioned fixes are related to Issue 17
Another fix for Issue 17. On the creation of a new folder it's public property is being set according to the public property of the containg folder
Fix on Issue 17. On uploading a file, the file's readForAll value is inherited from the folder it is contained.
Allow folders and subfolders and all of their contents to be marked as public for all when the user hits Public in the parent folder. The opposite is not applied (meaning that when a parent folder is marked as notPublic all the containing subfolders and files are not accordingly marked as notPublic
Complete the code that allows the deletion of group permissions in files and/or folders when the group is deleted.
Mark the folders and files as modified in order to inform the client that something has changed concerning the folder and/or file.The change of modification date does the work. The changes in these folders and/or files have come from the deletion of a group that had permissions on that folders and/or files.
- fix the problem which was related to download a file. It works now since an if statement was updated from if(content) to if (folder != null && content)- fix the path of a containing subfolder in a public folder- When a folder is marked as public from a user all containing files are also marked as public...
Explicitly activate the user on creation and don't rely on the DB to do it.
Merge with 66f69a7348ed1a0de9113a64025721fcc6e68b84
- Add an administration application.- Remove the redundant RequestBuilder wrapper for efficiency.- Fix warnings.- Ignore the admin app build artifacts.- Guard against users without userclasses in the DB.- Add a dev mode launcher for debugging the admin app.
first commit of adding the public feature to folder / readForAll on each folder
Avoid a race that caused duplicate coupon class insertions, and remove a transactional call as a performance bonus.
Complete quota upgrades with coupons. Also fix equals() and hashCode() for Invitations to consider the name or its components.
Fix the owner permission removal check when updating folders as well, and add the empty permission check to that case, too.
Fix the check for removed owner permissions.
Set all required objectClass attributes when adding an entry to LDAP. Also consistently encode and decode request parameters on success and errors.
Use firstname & lastname instead of full name for more flexibility and escape commas in property file.
Create user accounts in an LDAP-based IdP server after registration, so that Shibboleth login can work.
Implement proper backend lookup for invitations.
Add a user registration flow. Registration can be open for all, or limited to issued invitation codes, as configured in gss.properties.
Make folder move more efficient by not copying the actual file contents.
Split persistentId into identityProvider and identityProviderId for easier DB queries.
Store the time the user last logged-in. Since the user object is now modified in every login, drop the updated flag optimization. Also, remove an obsolete EJB method.
Retrieve the persistent-id from Shibboleth and store it in the DBMS for future use. Also, fix a few warnings.
Fix bug introduced through stupid Eclipse cleanup.
- Check when renaming file that name doesn't already exist.- Add constraint to DB to ensure we don't get duplicate filenames.
Make folder updates work with a single DB transaction (EJB call). Now the modification date on every child file is properly updated. Also rename modifyFolder() to updateFolder() for consistency with updateFile() and make setFilePermissions/setFolderPermissions private helper methods.
Make file updates work with a single DB transaction (EJB call). Besides the performance benefits, this change properly updates the modification date on every file update.
Allow setting the modification date when updating a file.
Update the FileHeader auditInfo when uploading a new body.
Change to folder modification semantics: When anything inside a folder is updated (including file and folder metadata), modification user and date should be updated also for all parent folders up to root.
Prevent any client from creating group including / in name (by sending BAD REQUEST response.)
Fix wrong encoding in new folder names, by returning the already constructed URI. This required that createFolder() returns the newly-created folder, which was always a good idea (builder pattern).
Retry transactions in the face of optimistic locking exceptions when creating folders or modifying resources. Also avoid an extra EJB call by returning the modified folder after the fact.
- added a few more mime-types when attempting to identify mime-type from the file extension- remove warnings (uneeded throws declarations)
ignore case when examining the file extension for guessing the mime-type
Fixed bug: When copying a versioned file, destination versioned flag wasn't set, causing only last version to be copied.
- more efficient moveFile implementation- code clean up for better maintenance and easier implementation of future file storage layering
- Remove completely Permission entry for user that get assigned no permissions at all when updating file / folder permissions.- Delete orphan Permission entries when updating file / folder permissions. (Used to stay behind)
Add system-generated password for WebDAV. (Bug #705)
Minor cleanups.
Uploaded files should be checked against owner's (i.e. namespace owner's) quota, not uplolader's.
Fixed bug: Uploading a new version of a versioned file with no quota left would leave file without any bodies at all.
Centralize quota retrieval.
Remove the redundant gss top-level directory.