-Navigation from the parent folder to subfolder and vice versa is available in the web page of a public folder-Only files that are marked as public are available in the web page of a public folder
- 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...
Simplify the content type conditional and make sure resource representation choice is independent of the access privileges.
In order to implement display public's folder contents as a web page i)Implement renderHTML method inside FilesHandler ii)make changes in serveResource in order to decide the contentType depending on client header request. This solves Issue 17
first commit - display public's folder contents as a web page
Reject invalid resource names, like '.' and '..' in both server and web client. This fixes issue 19.
Fix silent NPE due to auto-unboxing.
Consider the folder public flag when checking for authorization permissions.
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 NPE when the client doesn't send a Content-Type header.
Redirect to login for browser requests without a cookie present and also for requests with cookies but without the proper one.
Now that we keep around the cookie, give the user the opportunity to use it as the authentication token to get to a file. This way passing around simple file resource URIs is possible, and as long as the user has authenticated with the service in the current browser session, he can access the file. Furthermore, treat such simple browser access as a special case and redirect to login before returning back to the file. Now one can e-mail the file URI to another user and he can click on the link, get prompted to login (or even register for the service) and then get back to the file URI to download it automatically....
Handle metadata updates even if they are sent with application/x-www/form-urlencoded content type.
Display the last login in the web client.
Add a new API operation for invalidating the current authentication token and returning a new one.
use http caching by using IF-MODIFIED-SINCE HEADERS and handling response accordingly
Add the file content type to the search results, as specified in the API documentation.
Discovered by: Giorgos Verigakis
Don't convert spaces to plus signs when downloading a file. This fixes bug #756.
Fix the updated URL for a modified folder. This closes bug #759.
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.
Requests without Authorization header should be rejected by isRequestValid().
Use the modification date for files in search results, too.
Send and display modification dates for shared, others and trash namespaces, since the UI file list code is the same for both the files namespace and these virtual namespaces. It is also more consistent to use the same reduced file representation for every namespace.
Allow setting the modification date when updating a file.
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.
Retry transactions in the face of optimistic locking exceptions for all "write" transactions in REST API.
Fixed broken caching in IE.
Prevent any client from creating group including / in name (by sending BAD REQUEST response.)
Added the groupURI parameter when parsing permissions, which precedes the group parameter. This allows the unique identification of groups throughout the application. We keep the group parameter for backwards compatibility with old clients
Fix bug: Delete user didn't work for group with international name.
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.
Fix multiple file uploads in IE using Google Gears. It needed a POST instead of PUT, which required accommodating it in the server-side code. Also, error codes from file uploads are not handled in IE, since merely accessing the request.status field throws an internal error.
Fixed broken search for international characters. (Bug #864)
Fixed problems copying/moving via drag-and-drop had with international characters in file / folder names.
Merge with f948e955504b0f4f31c1fe813f97f0297cd64cdb
- more efficient moveFile implementation- code clean up for better maintenance and easier implementation of future file storage layering
Move create new WebDAV password URL from /users to plain / for user.
Switch reset WebDAV password from GET to POST.
Properly update others shares when refreshing / expanding tree after other user has changed sharing. (Bug #703)
Add system-generated password for WebDAV. (Bug #705)
Uploaded files should be counted towards owner's (i.e. namespace owner's) quota, not uplolader's.
Use an exponential backoff strategy for retrying rolled back transactions.
Introduce TransactionHelper, a utility class for retrying the supplied transactional command in the face of rollbacks caused by optimistic lock exceptions. This allows multiple file uploads to succeed, even in a single core system.
Also make hitting the ENTER key behave the same as clicking the Upload button.
- Add "Save file as" menu that forces browser to download file instead of opening it inline.- Fix broken international characters in browser Save As dialog.
Decode file names received by PUT, as we do with file names received by multipart POST.
Use application/json content type for all JSON responses.
Remove the redundant gss top-level directory.