pithos
15 years agoif not owner don't show the "read for all" option or include it in the update sent...
fstamatelopoulos [Wed, 18 Mar 2009 14:22:31 +0000 (14:22 +0000)]
if not owner don't show the "read for all" option or include it in the update sent to the server

15 years agoadded total size of files shown in the search results file list
fstamatelopoulos [Wed, 18 Mar 2009 13:55:25 +0000 (13:55 +0000)]
added total size of files shown in the search results file list

15 years agoChanged overall layout according to latest GRNET requirements:
fstamatelopoulos [Wed, 18 Mar 2009 13:49:11 +0000 (13:49 +0000)]
Changed overall layout according to latest GRNET requirements:
- merge the two logos and move them to the right side
- user details displayed on the right of the search widget
- move statistics to the status bar

Also, added total size of files shown in the file list

15 years agoadded a static String getFileSizeAsString(long size) method for use outside FileResou...
fstamatelopoulos [Wed, 18 Mar 2009 13:45:46 +0000 (13:45 +0000)]
added a static String getFileSizeAsString(long size) method for use outside FileResource (changed the implementation of String getFileSizeAsString() to use the static method)

15 years agodo not display deleted files, except trash
koutsoub [Wed, 18 Mar 2009 13:27:44 +0000 (13:27 +0000)]
do not display deleted files, except trash

15 years agogetFiles in ExternalAPI gets an extra boolean argument for ignoring or not deleted...
koutsoub [Wed, 18 Mar 2009 13:26:13 +0000 (13:26 +0000)]
getFiles in ExternalAPI gets an extra boolean argument for ignoring or not deleted files
allow update of deleted files

15 years agocosmetic changes: (a) center version column, (b) add time in search results date...
fstamatelopoulos [Wed, 18 Mar 2009 12:34:10 +0000 (12:34 +0000)]
cosmetic changes: (a) center version column, (b) add time in search results date column

15 years agoshow time in file list
fstamatelopoulos [Wed, 18 Mar 2009 11:49:06 +0000 (11:49 +0000)]
show time in file list

15 years agochanged "New File" to "Upload" and "Download File" to "Download"
fstamatelopoulos [Tue, 17 Mar 2009 15:45:19 +0000 (15:45 +0000)]
changed "New File" to "Upload" and "Download File" to "Download"
we still need to:
(1) make upload act as update if the file exists, and remove the "update" option - we should probably add a "Are you sure" dialog for updating the file with the same name...
(2) show the "upload" option instead of the to-be-removed "update" option when a file is selected

15 years agoAdd the folder URI for files and the parent folder URI for folders to the response...
pastith [Tue, 17 Mar 2009 15:34:49 +0000 (15:34 +0000)]
Add the folder URI for files and the parent folder URI for folders to the response attributes for requests on trash and shared namespaces, in order to accommodate the desktop client.

15 years agonew file context menu now works on empty lists
koutsoub [Tue, 17 Mar 2009 15:32:40 +0000 (15:32 +0000)]
new file context menu now works on empty lists

15 years agoclear file list when others shares node is selected
koutsoub [Tue, 17 Mar 2009 15:28:27 +0000 (15:28 +0000)]
clear file list when others shares node is selected

15 years agoshow sorting icon on file list refresh
koutsoub [Tue, 17 Mar 2009 15:19:38 +0000 (15:19 +0000)]
show sorting icon on file list refresh

15 years agofix file list refresh issues for My Shares and Other Shared User nodes
koutsoub [Tue, 17 Mar 2009 15:12:52 +0000 (15:12 +0000)]
fix file list refresh issues for My Shares and Other Shared User nodes

15 years agomultiple selection fix in file and search result list
koutsoub [Tue, 17 Mar 2009 15:05:19 +0000 (15:05 +0000)]
multiple selection fix in file and search result list

15 years agoafter folder rename refetch folder files since their uris have changed
koutsoub [Tue, 17 Mar 2009 14:58:29 +0000 (14:58 +0000)]
after folder rename refetch folder files since their uris have changed

15 years agoremove misleading down arrow
fstamatelopoulos [Tue, 17 Mar 2009 14:22:38 +0000 (14:22 +0000)]
remove misleading down arrow

15 years agoadd correct image file
fstamatelopoulos [Tue, 17 Mar 2009 14:17:15 +0000 (14:17 +0000)]
add correct image file

15 years agoremove image with extension in capitals
fstamatelopoulos [Tue, 17 Mar 2009 14:16:19 +0000 (14:16 +0000)]
remove image with extension in capitals

15 years agoReturn status 409 (Conflict) on uploads for files in the trash bin. Such files cannot...
pastith [Tue, 17 Mar 2009 13:40:31 +0000 (13:40 +0000)]
Return status 409 (Conflict) on uploads for files in the trash bin. Such files cannot be modified before being restored.

15 years agofixed confirmation message
koutsoub [Mon, 16 Mar 2009 14:07:38 +0000 (14:07 +0000)]
fixed confirmation message

15 years agofixed bug from merge that prevented user addition
koutsoub [Mon, 16 Mar 2009 14:06:59 +0000 (14:06 +0000)]
fixed bug from merge that prevented user addition

15 years agoproperly encode and decode group paths
koutsoub [Mon, 16 Mar 2009 14:06:03 +0000 (14:06 +0000)]
properly encode and decode group paths

15 years agoFix a merge error by returning the token field to its former read-only status. Fixed...
pastith [Mon, 16 Mar 2009 13:38:31 +0000 (13:38 +0000)]
Fix a merge error by returning the token field to its former read-only status. Fixed a warning, too.

15 years agoif user attempts to create a file that exists in trash, allow him to rename the trash...
koutsoub [Mon, 16 Mar 2009 12:38:31 +0000 (12:38 +0000)]
if user attempts to create a file that exists in trash, allow him to rename the trashed file and proceed with new file creation

15 years agodownload file on double click
koutsoub [Mon, 16 Mar 2009 11:23:43 +0000 (11:23 +0000)]
download file on double click

15 years agowhen user clicks on white area of file list a popup menu with a new file command...
koutsoub [Mon, 16 Mar 2009 10:22:01 +0000 (10:22 +0000)]
when user clicks on white area of file list a popup menu with a new file command is shown

15 years agowhen a request receives a 403 status code (meaning that the session has expired)...
koutsoub [Mon, 16 Mar 2009 10:19:04 +0000 (10:19 +0000)]
when a request receives a 403 status code (meaning that the session has expired) prompt the user to reauthenticate

15 years agoUse the wording suggested by Panos Louridas.
pastith [Mon, 16 Mar 2009 09:54:55 +0000 (09:54 +0000)]
Use the wording suggested by Panos Louridas.

15 years agodo not update progress bar to 100 on monitor error
koutsoub [Mon, 16 Mar 2009 09:17:23 +0000 (09:17 +0000)]
do not update progress bar to 100 on monitor error

15 years agoupdate nodes properly when moving or restoring a folder from trash
koutsoub [Fri, 13 Mar 2009 17:20:50 +0000 (17:20 +0000)]
update nodes properly when moving or restoring a folder from trash

15 years agoselect root folder and display its file in application startup
koutsoub [Fri, 13 Mar 2009 13:58:00 +0000 (13:58 +0000)]
select root folder and display its file in application startup

15 years agomake the loading indicator behavior configurable for rest commands
koutsoub [Fri, 13 Mar 2009 12:54:02 +0000 (12:54 +0000)]
make the loading indicator behavior configurable for rest commands
do not show loading indicator when updating progress in file uploads

15 years agoAdd a cautionary note about enabling read-for-all access to a file.
pastith [Fri, 13 Mar 2009 11:30:52 +0000 (11:30 +0000)]
Add a cautionary note about enabling read-for-all access to a file.

15 years agopaste user support in group tab
koutsoub [Fri, 13 Mar 2009 09:51:28 +0000 (09:51 +0000)]
paste user support in group tab

15 years agoallow rename of root folder
koutsoub [Thu, 12 Mar 2009 17:50:06 +0000 (17:50 +0000)]
allow rename of root folder

15 years agoAllow renaming the root folder, since it is quite harmless actually.
pastith [Thu, 12 Mar 2009 16:25:37 +0000 (16:25 +0000)]
Allow renaming the root folder, since it is quite harmless actually.

15 years agoOnly fight IE broken caching for folders and progress updates. Files already have...
pastith [Thu, 12 Mar 2009 16:02:13 +0000 (16:02 +0000)]
Only fight IE broken caching for folders and progress updates. Files already have ETags and Last-modified headers.

15 years agorefresh file list after empty trash
koutsoub [Thu, 12 Mar 2009 15:57:02 +0000 (15:57 +0000)]
refresh file list after empty trash

15 years agoRemove obsolete reference to GSSService.
pastith [Thu, 12 Mar 2009 15:56:30 +0000 (15:56 +0000)]
Remove obsolete reference to GSSService.

15 years agoMove the DTOs outside the client package, now that they're no more used there, so...
pastith [Thu, 12 Mar 2009 15:44:05 +0000 (15:44 +0000)]
Move the DTOs outside the client package, now that they're no more used there, so that the GWT compiler can finish faster.

15 years agocleaned up references to old domain.dto objects
koutsoub [Thu, 12 Mar 2009 15:16:31 +0000 (15:16 +0000)]
cleaned up references to old domain.dto objects

15 years agoDon't allow anyone but the owner to change the read-for-all flag.
pastith [Thu, 12 Mar 2009 14:49:41 +0000 (14:49 +0000)]
Don't allow anyone but the owner to change the read-for-all flag.

15 years agoUse a workaround for IE's broken caching behavior on XHR.
pastith [Thu, 12 Mar 2009 14:28:50 +0000 (14:28 +0000)]
Use a workaround for IE's broken caching behavior on XHR.

15 years agoie interprets status code 204 as 1223
koutsoub [Thu, 12 Mar 2009 14:19:45 +0000 (14:19 +0000)]
ie interprets status code 204 as 1223

15 years agoupdate trash node, this fixes a bugwhere trash node was not updated after deleting...
koutsoub [Thu, 12 Mar 2009 13:58:40 +0000 (13:58 +0000)]
update trash node, this fixes a bugwhere trash node was not updated after deleting a folder from trash

15 years agoRevert the previous change, since GWT apparently does not consider status 204 as...
pastith [Thu, 12 Mar 2009 13:23:22 +0000 (13:23 +0000)]
Revert the previous change, since GWT apparently does not consider status 204 as successful result. Imitate GWT-RPC and return 200 with <pre></pre> to make it happy.

15 years agoFix the error check for form uploads, since we can control now what gets returned...
pastith [Thu, 12 Mar 2009 12:50:18 +0000 (12:50 +0000)]
Fix the error check for form uploads, since we can control now what gets returned to the client.

15 years ago- updated webdav help section with windows specific info
fstamatelopoulos [Thu, 12 Mar 2009 12:38:21 +0000 (12:38 +0000)]
- updated webdav help section with windows specific info
- add a screenshot I forgot to commit in the initial import

15 years agorestoreversion and version download works
koutsoub [Thu, 12 Mar 2009 12:22:43 +0000 (12:22 +0000)]
restoreversion and version download works
fix firefox caching of head requests in file properties

15 years agoImplement a REST API method to restore an old version of a file: a POST request on...
pastith [Thu, 12 Mar 2009 11:15:17 +0000 (11:15 +0000)]
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.

15 years agomake other shared folder nodes draggable
koutsoub [Thu, 12 Mar 2009 10:16:12 +0000 (10:16 +0000)]
make other shared folder nodes draggable
tune node updates

15 years agofixed error in folder rename by trimming the updated folder path
koutsoub [Wed, 11 Mar 2009 17:38:05 +0000 (17:38 +0000)]
fixed error in folder rename by trimming the updated folder path

15 years agoAdd references to the bundled SHA-1 JavaScript implementation.
pastith [Wed, 11 Mar 2009 16:25:34 +0000 (16:25 +0000)]
Add references to the bundled SHA-1 JavaScript implementation.

15 years agoMerge the web_client_signed branch. Now the Web client communicates solely through...
pastith [Wed, 11 Mar 2009 16:16:32 +0000 (16:16 +0000)]
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.

15 years agoAvoid a NPE when creating files.
pastith [Wed, 11 Mar 2009 16:02:44 +0000 (16:02 +0000)]
Avoid a NPE when creating files.

15 years agoAdd an API method for receiving the progress in file uploads. It's a GET request...
pastith [Tue, 10 Mar 2009 10:42:19 +0000 (10:42 +0000)]
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.

15 years agoAllow GET requests for files with the authorization and date headers passed as reques...
pastith [Fri, 6 Mar 2009 16:48:50 +0000 (16:48 +0000)]
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.

15 years agoadded webDAV help section
fstamatelopoulos [Thu, 5 Mar 2009 15:12:02 +0000 (15:12 +0000)]
added webDAV help section

15 years agoadded sharing help section and fixed some typos
fstamatelopoulos [Thu, 5 Mar 2009 14:59:21 +0000 (14:59 +0000)]
added sharing help section and fixed some typos

15 years agoAdd support for authenticated uploads from browser-based web apps using form POST...
pastith [Thu, 5 Mar 2009 14:45:19 +0000 (14:45 +0000)]
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().

15 years agosearch section of the greek user guide
fstamatelopoulos [Thu, 5 Mar 2009 14:24:21 +0000 (14:24 +0000)]
search section of the greek user guide

15 years ago- images & text for the copy/cut help section of the user guide (el)
fstamatelopoulos [Wed, 4 Mar 2009 12:15:58 +0000 (12:15 +0000)]
- images & text for the copy/cut help section of the user guide (el)
- added dnd help in the delete section

15 years agoupdate to match code change
fstamatelopoulos [Wed, 4 Mar 2009 11:00:53 +0000 (11:00 +0000)]
update to match code change

15 years agoDon't pollute the method signature with pointless exceptions.
pastith [Wed, 4 Mar 2009 10:56:29 +0000 (10:56 +0000)]
Don't pollute the method signature with pointless exceptions.

15 years agoimages and text for the "delete help" section of the user guide (el)
fstamatelopoulos [Wed, 4 Mar 2009 10:55:42 +0000 (10:55 +0000)]
images and text for the "delete help" section of the user guide (el)

15 years ago- change order of options in trash context menu to match the context menu of deleted...
fstamatelopoulos [Wed, 4 Mar 2009 10:54:09 +0000 (10:54 +0000)]
- 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

15 years agoimages and text for folder creation and properties
fstamatelopoulos [Wed, 4 Mar 2009 09:46:33 +0000 (09:46 +0000)]
images and text for folder creation and properties

15 years agoadded comment, since boolean params' names are misleading in the "update item" case
fstamatelopoulos [Wed, 4 Mar 2009 09:10:28 +0000 (09:10 +0000)]
added comment, since boolean params' names are misleading in the "update item" case

15 years agofinalized "file creation & properties" section
fstamatelopoulos [Wed, 4 Mar 2009 09:06:08 +0000 (09:06 +0000)]
finalized "file creation & properties" section

15 years agoDon't show the update menu item when a folder is selected.
pastith [Wed, 4 Mar 2009 08:55:09 +0000 (08:55 +0000)]
Don't show the update menu item when a folder is selected.

15 years ago- added update option in file menu
fstamatelopoulos [Wed, 4 Mar 2009 08:27:24 +0000 (08:27 +0000)]
- added update option in file menu
- added file update icon (changed accordingly in file context menu)

15 years agoProperly return Forbidden for folders in the deferred authentication case. Folders...
pastith [Tue, 3 Mar 2009 15:39:07 +0000 (15:39 +0000)]
Properly return Forbidden for folders in the deferred authentication case. Folders cannot be accessible by everyone.

15 years ago+ screenshots for the user guide (el)
fstamatelopoulos [Tue, 3 Mar 2009 13:41:19 +0000 (13:41 +0000)]
+ screenshots for the user guide (el)

15 years agolatest Greek user guide update
fstamatelopoulos [Tue, 3 Mar 2009 13:40:32 +0000 (13:40 +0000)]
latest Greek user guide update

15 years ago-fixed some path handling in trash and search when path contained a trailing slash
koutsoub [Fri, 27 Feb 2009 15:03:51 +0000 (15:03 +0000)]
-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

15 years agoEase the job of the clients by expanding string arrays to object arrays:
pastith [Fri, 27 Feb 2009 13:24:24 +0000 (13:24 +0000)]
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

15 years agoUse the username instead of the name for the mini-file JSON response, in order to...
pastith [Thu, 26 Feb 2009 15:05:21 +0000 (15:05 +0000)]
Use the username instead of the name for the mini-file JSON response, in order to be consistent with the full version.

15 years ago- Help the clients make less requests, by returning the necessary object properties...
pastith [Thu, 26 Feb 2009 14:02:49 +0000 (14:02 +0000)]
- 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.

15 years agoupdated content for the Greek (el) user guide
fstamatelopoulos [Wed, 25 Feb 2009 17:39:23 +0000 (17:39 +0000)]
updated content for the Greek (el) user guide

15 years agoDisplay the WebDAV URL in the credentials dialog, in order to help users that don...
pastith [Wed, 25 Feb 2009 14:01:27 +0000 (14:01 +0000)]
Display the WebDAV URL in the credentials dialog, in order to help users that don't RTFM.

15 years agoImplement file uploads via multipart POST for browser-based JavaScript clients.
pastith [Wed, 25 Feb 2009 13:38:33 +0000 (13:38 +0000)]
Implement file uploads via multipart POST for browser-based JavaScript clients.

15 years agoInitialize the input & output buffers for WebDAV & REST handlers in the deployment...
pastith [Wed, 25 Feb 2009 10:27:22 +0000 (10:27 +0000)]
Initialize the input & output buffers for WebDAV & REST handlers in the deployment descriptors. Also raise them to 4k in order to be consistent with the other buffer sizes we use in Webdav, FileUpload, FileDownload and ExternalAPIBean. Configuring all of them to the value of a single constant, defined in gss.properties, is left as a future task.

15 years agoFix fetching resources moved to the trash. This required a large-scale refactoring...
pastith [Tue, 24 Feb 2009 15:36:33 +0000 (15:36 +0000)]
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.
- Folder.getDTOWithDeleted() was retired. Now Folder has a single getDTO() method as everybody else and it's the caller's responsibility to prune subfolders moved to the trash, if required.

The GWT-RPC call sites have been modified to present the same behavior to the web client, until its pending RESTification. The SOAP call sites on the other hand, have been left unchanged, since we have no legacy client to worry about.

15 years agofixed transaction error on concurrent deletes of files of the same folder, removal...
koutsoub [Tue, 24 Feb 2009 15:17:38 +0000 (15:17 +0000)]
fixed transaction error on concurrent deletes of files of the same folder, removal of file from folder happens by cascade

15 years ago-Fix the URL of files & folders shared by user, when requested with a trailing slash...
koutsoub [Tue, 24 Feb 2009 15:11:20 +0000 (15:11 +0000)]
-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

15 years ago- Fix the URL of files & folders shared by others, when requested with a trailing...
pastith [Mon, 23 Feb 2009 12:01:13 +0000 (12:01 +0000)]
- 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.

15 years agoinclude tag url in users json response
koutsoub [Sat, 21 Feb 2009 14:36:04 +0000 (14:36 +0000)]
include tag url in users json response

15 years agoinitial import of the greek user guide
fstamatelopoulos [Fri, 20 Feb 2009 16:42:14 +0000 (16:42 +0000)]
initial import of the greek user guide

15 years agoinitial import of the greek user guide
fstamatelopoulos [Fri, 20 Feb 2009 16:41:42 +0000 (16:41 +0000)]
initial import of the greek user guide

15 years agoImplement "empty trash" as a DELETE on the /trash namespace. Also, make sure that...
pastith [Fri, 20 Feb 2009 15:55:59 +0000 (15:55 +0000)]
Implement "empty trash" as a DELETE on the /trash namespace. Also, make sure that GETs on children of /trash get the error they deserve.

15 years agoAdd debugging info on failed Shibboleth authentications. That way the user can aid...
pastith [Fri, 20 Feb 2009 13:46:22 +0000 (13:46 +0000)]
Add debugging info on failed Shibboleth authentications. That way the user can aid their IdP on resolving the problem.

15 years agofixed an infinite loop when source and target are the same folders
koutsoub [Fri, 20 Feb 2009 12:04:27 +0000 (12:04 +0000)]
fixed an infinite loop when source and target are the same folders

15 years agoPartial revert of r18: don't encode the resource names, only the URIs.
pastith [Fri, 20 Feb 2009 10:58:48 +0000 (10:58 +0000)]
Partial revert of r18: don't encode the resource names, only the URIs.

15 years agoEncode the nonce before using it, since the servler container decodes it automatically.
pastith [Thu, 19 Feb 2009 20:42:06 +0000 (20:42 +0000)]
Encode the nonce before using it, since the servler container decodes it automatically.

15 years ago- Properly encode resource names and paths while constructing the JSON response.
pastith [Thu, 19 Feb 2009 15:26:17 +0000 (15:26 +0000)]
- 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.

15 years agoReturn the shared files that do not belong in shared folders for GETs in the 'shared...
pastith [Thu, 19 Feb 2009 12:04:38 +0000 (12:04 +0000)]
Return the shared files that do not belong in shared folders for GETs in the 'shared' namespace.

15 years agoProperly encode the nonce in order to avoid modifications by the servlet container.
pastith [Thu, 19 Feb 2009 11:50:32 +0000 (11:50 +0000)]
Properly encode the nonce in order to avoid modifications by the servlet container.

15 years agoRemove pointless service configurations.
pastith [Thu, 19 Feb 2009 10:34:06 +0000 (10:34 +0000)]
Remove pointless service configurations.

15 years agoRemove pointless configuration files. These are supposed to be different for each...
pastith [Wed, 18 Feb 2009 20:51:13 +0000 (20:51 +0000)]
Remove pointless configuration files. These are supposed to be different for each production deployment.