multiple selection fix in file and search result list
after folder rename refetch folder files since their uris have changed
remove misleading down arrow
Return status 409 (Conflict) on uploads for files in the trash bin. Such files cannot be modified before being restored.
fixed confirmation message
fixed bug from merge that prevented user addition
properly encode and decode group paths
Fix a merge error by returning the token field to its former read-only status. Fixed a warning, too.
if user attempts to create a file that exists in trash, allow him to rename the trashed file and proceed with new file creation
download file on double click
when user clicks on white area of file list a popup menu with a new file command is shown
when a request receives a 403 status code (meaning that the session has expired) prompt the user to reauthenticate
Use the wording suggested by Panos Louridas.
do not update progress bar to 100 on monitor error
update nodes properly when moving or restoring a folder from trash
select root folder and display its file in application startup
make the loading indicator behavior configurable for rest commandsdo not show loading indicator when updating progress in file uploads
Add a cautionary note about enabling read-for-all access to a file.
paste user support in group tab
allow rename of root folder
Allow renaming the root folder, since it is quite harmless actually.
Only fight IE broken caching for folders and progress updates. Files already have ETags and Last-modified headers.
refresh file list after empty trash
Move the DTOs outside the client package, now that they're no more used there, so that the GWT compiler can finish faster.
cleaned up references to old domain.dto objects
Don't allow anyone but the owner to change the read-for-all flag.
Use a workaround for IE's broken caching behavior on XHR.
ie interprets status code 204 as 1223
update trash node, this fixes a bugwhere trash node was not updated after deleting a folder from trash
Revert the previous change, since GWT apparently does not consider status 204 as successful result. Imitate GWT-RPC and return 200 with
Fix the error check for form uploads, since we can control now what gets returned to the client.
restoreversion and version download worksfix firefox caching of head requests in file properties
Implement a REST API method to restore an old version of a file: a POST request on the file URI with a parameter restoreVersion that has the desired version number as its value.
make other shared folder nodes draggabletune node updates
fixed error in folder rename by trimming the updated folder path
Merge the web_client_signed branch. Now the Web client communicates solely through the REST API with the server. Also, modified the hosted mode launchers a bit to pass the token as a parameter to the client.
Avoid a NPE when creating files.
Add an API method for receiving the progress in file uploads. It's a GET request on the file URI with the "progress" parameter containing the file name. For file updates the file name can be omitted.
Allow GET requests for files with the authorization and date headers passed as request parameters instead of HTTP headers. This should solve some hairy issues on implementing file downloads for browser-based clients.
Add support for authenticated uploads from browser-based web apps using form POST. Essentially we just defer the authentication until we verify that it's a multipart POST with the proper parameters (Date & Authorization with the same content as the respective headers). This resulted in extracting the two main validation procedures into separate reusable methods, isTimeValid() & isSignatureValid().
Don't pollute the method signature with pointless exceptions.
- change order of options in trash context menu to match the context menu of deleted items- change "empty trash" icon to a more appropriate and consistent one
added comment, since boolean params' names are misleading in the "update item" case
Don't show the update menu item when a folder is selected.
- added update option in file menu- added file update icon (changed accordingly in file context menu)
Properly return Forbidden for folders in the deferred authentication case. Folders cannot be accessible by everyone.
-fixed some path handling in trash and search when path contained a trailing slash-fixed some url encoding problem in filesjandler-folder update now returns updated folder url in response body
Ease the job of the clients by expanding string arrays to object arrays:- GET on the 'others' namespace returns the username of the user sharing the resource- GET on the 'groups' namespace returns the name of the group- GET on files and folders returns the parent folder as well
Use the username instead of the name for the mini-file JSON response, in order to be consistent with the full version.
- Help the clients make less requests, by returning the necessary object properties for files and folders. The "files" and "folders" string arrays were replaced with object arrays that include the information that is displayed in the clients by default.- Consistently name the subfolders of all folders as "folders" in the JSON response.
Display the WebDAV URL in the credentials dialog, in order to help users that don't RTFM.
Implement file uploads via multipart POST for browser-based JavaScript clients.
Fix fetching resources moved to the trash. This required a large-scale refactoring and assorted bug fixing that hopefully clears up the backend APIs. Major changes:
- ExternalAPI.getResourceAtPath() now requires the call site to explicitly mention whether it will consider a resource moved to the trash. Previously it would always ignore such resources....
fixed transaction error on concurrent deletes of files of the same folder, removal of file from folder happens by cascade
-Fix the URL of files & folders shared by user, when requested with a trailing slash in the URL-Use UTF-8 encoding when reading post contents
- Fix the URL of files & folders shared by others, when requested with a trailing slash in the URL.- Make sure file and folder URIs are properly encoded in trash, shared & others namespaces.
include tag url in users json response
Implement "empty trash" as a DELETE on the /trash namespace. Also, make sure that GETs on children of /trash get the error they deserve.
Add debugging info on failed Shibboleth authentications. That way the user can aid their IdP on resolving the problem.
fixed an infinite loop when source and target are the same folders
Partial revert of r18: don't encode the resource names, only the URIs.
Encode the nonce before using it, since the servler container decodes it automatically.
- Properly encode resource names and paths while constructing the JSON response.- Modify the signature calculation algorithm, in order to accomodate file names with spaces or localized file names. Now the path must be URI-encoded (once!) before being concatenated to the rest of the signature.
Return the shared files that do not belong in shared folders for GETs in the 'shared' namespace.
Properly encode the nonce in order to avoid modifications by the servlet container.
Initial import.