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
-Allow user to declare a public folder i)a checkbox named [Public] added in the web client's folder properties dialog ii) an API change made in order to return readforall flag for a folder iii) a readforall column added in the domain modelPublic folders are marked with the same icon as shared folders and are available also in the My Shared view. This fixes Issue 17 along with the revision 7fc12576aafb
- 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.
Log the file id when indexing fails and hide the stack trace for file not found cases, where it is redundant.
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.
Replace JBossMessaging 1.x and its HSQLDB data store with HornetQ. Indexing should be faster and more reliable now.
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.
Throw any exceptions thrown unwrapped. This way, the caller knows what it's dealing with in its try/catch block.(Previously, everything thrown was an Exception and most (all?) callers would simply turn this into a 500 error, since they don't check the cause.)
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.
Double the retry attempts and the retry timeout in an attempt to better handle the load on the app servers. Also log the final failed retry so that it is greppable in the logs.
Allow setting the modification date when updating a file.
Update the FileHeader auditInfo when uploading a new body.
merge
better matching of MS Office mime types (in showing file icons and indexing)
Retry transactions in the face of optimistic locking exceptions for all "write" transactions in WebDAV API.Move TransactionHelper class to EJBs so it is visible from both REST and WebDAV WARs.
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)
Merge with d1e79f3c8c8779d14ab5297049bdc0812f942654
ignore case when examining the file extension for guessing the mime-type
Fixed bug that prevented tags with international characters from being indexed properly, causing search to fail. (Bug #864 #2)
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
Fix a typo.
- 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.