Panagiotis Astithas [Tue, 30 Jun 2009 14:14:13 +0000 (17:14 +0300)]
Use a single configuration entry for the service home URL and avoid hardcoding it in the logo image link.
Dimitris Routsis [Mon, 29 Jun 2009 12:31:53 +0000 (15:31 +0300)]
- 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)
Dimitris Routsis [Mon, 29 Jun 2009 09:39:24 +0000 (12:39 +0300)]
When using token as WebDAV password (fallback case), also copy it to webdavpassword field so it will never expire.
Dimitris Routsis [Fri, 26 Jun 2009 14:52:13 +0000 (17:52 +0300)]
Fallback for transition to new WebDAV password: If no password has been created, use token as before.
Dimitris Routsis [Thu, 25 Jun 2009 16:10:19 +0000 (19:10 +0300)]
Dimitris Routsis [Thu, 25 Jun 2009 15:45:53 +0000 (18:45 +0300)]
Add system-generated password for WebDAV. (Bug #705)
Panagiotis Astithas [Wed, 24 Jun 2009 14:51:53 +0000 (17:51 +0300)]
Increase the GWT compiler memory so that using GWT 1.6 in compatibility mode is possible.
Dimitris Routsis [Wed, 24 Jun 2009 10:28:36 +0000 (13:28 +0300)]
Disable fade-in and fade-out effects for IE because it has bugs rendering non-opaque objects.
(See e.g. http://www.nabble.com/Fading-effects-and-anti-aliasing-in-IE-Opera-td15501116s27240.html, http://snook.ca/archives/html_and_css/ie-position-fixed-opacity-filter, http://blogs.msdn.com/ie/archive/2006/08/31/730887.aspx)
Panagiotis Astithas [Tue, 23 Jun 2009 14:31:50 +0000 (17:31 +0300)]
Minor cleanups.
Dimitris Routsis [Tue, 23 Jun 2009 09:11:56 +0000 (12:11 +0300)]
Uploaded files should be counted towards owner's (i.e. namespace owner's) quota, not uplolader's.
Dimitris Routsis [Tue, 23 Jun 2009 08:34:52 +0000 (11:34 +0300)]
Improved rounding for human-readable percentOfFreeSpace().
Panagiotis Astithas [Mon, 22 Jun 2009 13:02:58 +0000 (16:02 +0300)]
Fix uploads for files with funny names, by using URL.encode() instead of URL.encodeComponent(). The latter is required for HTML form-based uploads only.
Panagiotis Astithas [Fri, 19 Jun 2009 14:09:45 +0000 (17:09 +0300)]
Properly cancel the upload for both gears-enabled and regular file uploads. This doesn't seem to be working in my localhost tests, but it must be either a bug in gears, or the too fast connection to the server from the loopback interface.
Panagiotis Astithas [Fri, 19 Jun 2009 13:46:29 +0000 (16:46 +0300)]
Mention that we include the gwt-google-apis project in our code.
Panagiotis Astithas [Wed, 17 Jun 2009 15:11:10 +0000 (18:11 +0300)]
Use an exponential backoff strategy for retrying rolled back transactions.
Panagiotis Astithas [Wed, 17 Jun 2009 12:05:46 +0000 (15:05 +0300)]
Display the Google Gears site in a new window.
Panagiotis Astithas [Tue, 16 Jun 2009 14:35:29 +0000 (17:35 +0300)]
Perform the validation checks for every selected file and do it before starting the file uploads. Also, handle all possible error responses to the PUT requests.
Panagiotis Astithas [Tue, 16 Jun 2009 14:33:10 +0000 (17:33 +0300)]
Reword the help comment, add some code comments and do some minor style cleanup.
Panagiotis Astithas [Tue, 16 Jun 2009 13:27:50 +0000 (16:27 +0300)]
Fix warnings.
Panagiotis Astithas [Tue, 16 Jun 2009 11:00:32 +0000 (14:00 +0300)]
Add a help comment on the file upload dialog mentioning the extra functionality provided by google gears and a link for installing it.
Panagiotis Astithas [Mon, 15 Jun 2009 14:36:19 +0000 (17:36 +0300)]
Use separate progress bars next to each file, in order to better track the progress of the upload process.
Panagiotis Astithas [Mon, 15 Jun 2009 13:01:24 +0000 (16:01 +0300)]
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.
Panagiotis Astithas [Mon, 15 Jun 2009 10:30:12 +0000 (13:30 +0300)]
Use the shorter and more common label \"Save As\".
Panagiotis Astithas [Mon, 15 Jun 2009 10:02:52 +0000 (13:02 +0300)]
Dimitris Routsis [Mon, 15 Jun 2009 09:45:25 +0000 (12:45 +0300)]
Panagiotis Astithas [Mon, 15 Jun 2009 09:24:31 +0000 (12:24 +0300)]
Fix uploading file when a synonymous one is in the trash.
Dimitris Routsis [Fri, 12 Jun 2009 15:17:13 +0000 (18:17 +0300)]
- 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.
Panagiotis Astithas [Fri, 12 Jun 2009 15:04:53 +0000 (18:04 +0300)]
Panagiotis Astithas [Fri, 12 Jun 2009 15:02:21 +0000 (18:02 +0300)]
First rough implementation of the file upload functionality using Google Gears. Multiple file uploads are still buggy, but single file uploads are mostly working as before.
Dimitris Routsis [Fri, 12 Jun 2009 11:40:14 +0000 (14:40 +0300)]
Don't show Upload and Paste options in My Shared and Other's Shared pseudo-folders.
Dimitris Routsis [Thu, 11 Jun 2009 12:40:02 +0000 (15:40 +0300)]
Uploaded files should be checked against owner's (i.e. namespace owner's) quota, not uplolader's.
Dimitris Routsis [Thu, 11 Jun 2009 09:51:30 +0000 (12:51 +0300)]
Fixed bug: Uploading a new version of a versioned file with no quota left would leave file without any bodies at all.
Dimitris Routsis [Wed, 10 Jun 2009 11:21:36 +0000 (14:21 +0300)]
Fixed bug: Uploading a new version of a versioned file with no quota left would leave file without any bodies at all.
Panagiotis Astithas [Tue, 9 Jun 2009 13:50:36 +0000 (16:50 +0300)]
Make the progress bar look less like Windows 95 and clean up the style sheet a bit.
Panagiotis Astithas [Fri, 5 Jun 2009 13:23:21 +0000 (16:23 +0300)]
Use the proper license header for the progress bar implementation.
droutsis [Fri, 5 Jun 2009 09:06:01 +0000 (12:06 +0300)]
Centralize quota retrieval.
Panagiotis Astithas [Thu, 4 Jun 2009 14:01:16 +0000 (17:01 +0300)]
Decode file names received by PUT, as we do with file names received by multipart POST.
Panagiotis Astithas [Thu, 4 Jun 2009 13:34:40 +0000 (16:34 +0300)]
Use application/json content type for all JSON responses.
Panagiotis Astithas [Thu, 4 Jun 2009 09:42:49 +0000 (12:42 +0300)]
Fix the ignored file paths.
Panagiotis Astithas [Thu, 4 Jun 2009 09:02:28 +0000 (12:02 +0300)]
Remove the redundant gss top-level directory.
Panagiotis Astithas [Wed, 3 Jun 2009 13:40:31 +0000 (16:40 +0300)]
Add a temporary hard-coded notice for the extended token validity period. This should be removed when the desktop client is ready.
Panagiotis Astithas [Wed, 3 Jun 2009 08:31:06 +0000 (11:31 +0300)]
Add ignored files and folders.
pastith [Mon, 1 Jun 2009 13:22:47 +0000 (13:22 +0000)]
Add a request signature implementation in Java. This should evolve to both a Java client library for GSS and a REST API test harness.
droutsis [Fri, 29 May 2009 14:13:57 +0000 (14:13 +0000)]
User can see in lists only files for which they have read permission.
pastith [Fri, 29 May 2009 09:55:01 +0000 (09:55 +0000)]
Change the property name for the file root folder from files to fileroot. This was requested for developing an API client based on a grammar-parsing engine that was having problems due to 'files' being overloaded as both a URI (in the user's home namespace) and an array (in folder contents).
droutsis [Thu, 28 May 2009 12:50:07 +0000 (12:50 +0000)]
Prevent owner permissions from being revoked at both the client and the server level. This could cause problems as in bug #682, or even totally orphaned files (files invisible and inaccessible to everyone but still present and accounted for in owner's quota).
(Again, previous commit ran into problems.)
droutsis [Thu, 28 May 2009 12:35:34 +0000 (12:35 +0000)]
Prevent owner permissions from being revoked at both the client and the server level. This could cause problems as in bug #682, or even totally orphaned files (files invisible and inaccessible to everyone but still present and accounted for in owner's quota).
pastith [Thu, 28 May 2009 11:47:41 +0000 (11:47 +0000)]
Add the X-GSS-Meatadata header on folders. Its contents are the main attributes of the folder, modulo the parent, children and permissions. This way clients can use HEAD requests consistently for fetching the basic properties of arbitrary resources.
pastith [Wed, 27 May 2009 10:15:05 +0000 (10:15 +0000)]
Avoid making a redundant request to the server for the initial quota display.
pastith [Wed, 27 May 2009 09:24:30 +0000 (09:24 +0000)]
Add a configuration property for showing simple announcements to the users when they log in.
pastith [Wed, 27 May 2009 07:21:03 +0000 (07:21 +0000)]
Use a default value of 1 day for tokenTTL, in case the configuration property is not set.
pastith [Tue, 26 May 2009 10:00:58 +0000 (10:00 +0000)]
Move file uploads via WebDAV and PUT API calls out of the transaction boundary, so that transaction timeouts do not limit the file upload size.
droutsis [Tue, 26 May 2009 09:44:11 +0000 (09:44 +0000)]
Replace locking with pseudo-locking.
Real locking caused problems, as code assumes there is a single webdav root, but we have a different root for each user. This caused bug #685.
pastith [Mon, 25 May 2009 14:10:02 +0000 (14:10 +0000)]
Add a file's modification date in the folder JSON representation. This way clients can maintain their local caches in a more efficient manner, avoiding the need for subsequent HEAD requests, even with If-Modified-Since or If-Match headers.
pastith [Mon, 25 May 2009 12:40:28 +0000 (12:40 +0000)]
Move the token validity period to a configuration variable.
pastith [Fri, 22 May 2009 12:44:46 +0000 (12:44 +0000)]
Avoid a NPE when the user-agent header is not set.
pastith [Thu, 21 May 2009 13:26:58 +0000 (13:26 +0000)]
Make sure that unfinished uploads do not result in unreferenced files in the file system.
pastith [Wed, 20 May 2009 14:26:05 +0000 (14:26 +0000)]
Allow encoding conversion of request attributes containing strings, since the servlet container may be quick to apply the wrong conversion. This fixes the encoding of Shibboleth attributes received through the AJP connector.
pastith [Wed, 20 May 2009 13:09:56 +0000 (13:09 +0000)]
Make the launchers use the now-default 127.0.0.1 address.
pastith [Wed, 20 May 2009 12:16:08 +0000 (12:16 +0000)]
Add a fix from Tomcat's DefaultServlet that I missed in the previous commit:
- Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=45419
Set Accept-Ranges for static resources served by DefaultServlet
This brings us up to date with tomcat trunk r708151.
pastith [Wed, 20 May 2009 11:43:19 +0000 (11:43 +0000)]
Bring in fixes from tomcat 6.0.x up to r739532 (or tomcat trunk r734734):
- Remove duplicate definitions and make normalize consistent
pastith [Wed, 20 May 2009 11:27:37 +0000 (11:27 +0000)]
Update a forgotten piece of code to retrieve the MIME type from the file, instead of letting the container figure it out.
droutsis [Fri, 15 May 2009 14:41:53 +0000 (14:41 +0000)]
Fixed typo.
droutsis [Fri, 15 May 2009 11:59:52 +0000 (11:59 +0000)]
Webdav should now work with international characters for clients that properly use UTF8 encoding.
pastith [Wed, 13 May 2009 11:03:32 +0000 (11:03 +0000)]
Print the actual contents of the byte arrays for debugging.
pastith [Wed, 13 May 2009 10:18:15 +0000 (10:18 +0000)]
Check the validity of database connections before use.
pastith [Wed, 13 May 2009 10:17:32 +0000 (10:17 +0000)]
Add more debug logging for help in investigating the mangled greek user names from Shibboleth.
fstamatelopoulos [Tue, 12 May 2009 11:29:44 +0000 (11:29 +0000)]
center align the progress bar (it doesn't look good when uploading long filenames and the bar is left aligned)
fstamatelopoulos [Tue, 12 May 2009 11:28:18 +0000 (11:28 +0000)]
localhost gets frakked up in Vista (does not resolve and fraks testing) - changed it to 127.0.0.1
pastith [Mon, 11 May 2009 14:21:53 +0000 (14:21 +0000)]
Treat the Shibboleth SP attributes as UTF-8 strings, in an effort to fix encoding issues for IdPs that send data in non-latin character sets.
droutsis [Mon, 11 May 2009 10:49:08 +0000 (10:49 +0000)]
Workaround for mimetype corruption in Firefox. (Bug #683)
fstamatelopoulos [Fri, 8 May 2009 14:51:28 +0000 (14:51 +0000)]
show the "folder refresh" option even if no file is selected
pastith [Fri, 8 May 2009 14:00:32 +0000 (14:00 +0000)]
Move the red circle back inside the o, where it belongs.
pastith [Fri, 8 May 2009 13:52:50 +0000 (13:52 +0000)]
Avoid the NPE that the compiler so thoughtfully warned us about.
pastith [Fri, 8 May 2009 08:58:58 +0000 (08:58 +0000)]
Use a different getRelativePath() for the API handlers, since they are designed to work with unencoded URIs, whereas Webdav needs getPathInfo().
pastith [Fri, 8 May 2009 08:57:20 +0000 (08:57 +0000)]
Don't decode the file name since we are not encoding it in the server side. JSON responses in the message body are parsed properly, due to the correct charset in the HTTP headers.
pastith [Fri, 8 May 2009 07:56:34 +0000 (07:56 +0000)]
Add help menu options for the user guide and reporting abuses.
pastith [Thu, 7 May 2009 14:32:21 +0000 (14:32 +0000)]
Tweak the looks of the user guide to improve compatibility with the main pithos site.
droutsis [Thu, 7 May 2009 13:09:06 +0000 (13:09 +0000)]
We don't need to get mime type from Content-Type header, as it is also included in X-GSS-Metadata.
droutsis [Thu, 7 May 2009 13:07:30 +0000 (13:07 +0000)]
Loosen mime type checking to cover cases where charset information is also included. (Bug #678)
droutsis [Thu, 7 May 2009 08:35:42 +0000 (08:35 +0000)]
Fixed issue when creating folder: getParameter() returns String already decoded, so no need to decode a second time.
(This manifested itself when creating folder with characters like % or + in name)
pastith [Wed, 6 May 2009 15:13:31 +0000 (15:13 +0000)]
Bring the user guide up to date with recent name, UI and functionality changes.
droutsis [Wed, 6 May 2009 11:52:25 +0000 (11:52 +0000)]
Workaround for IE's broken caching behavior.
droutsis [Wed, 6 May 2009 11:51:32 +0000 (11:51 +0000)]
Revert previous change: Don't decode URI, as we only need it encoded anyway.
droutsis [Wed, 6 May 2009 09:13:46 +0000 (09:13 +0000)]
Fix more problems with international/unusual characters:
Need to URL encode - and decode on client side - anything that passes through HTTP response headers. (Something that happens for HEAD requests)
pastith [Tue, 5 May 2009 14:12:13 +0000 (14:12 +0000)]
Change the color scheme to be better aligned with the pithos.grnet.gr home page and GRNET colors.
pastith [Tue, 5 May 2009 13:31:09 +0000 (13:31 +0000)]
Add the beta notice to the Pithos logo.
pastith [Tue, 5 May 2009 11:00:21 +0000 (11:00 +0000)]
Change the logout URL to use SSL.
pastith [Tue, 5 May 2009 10:01:00 +0000 (10:01 +0000)]
Fix the different gradients in the toolbar.
pastith [Tue, 5 May 2009 09:14:27 +0000 (09:14 +0000)]
Move the WebDAV URL to the properties file.
droutsis [Mon, 4 May 2009 15:21:25 +0000 (15:21 +0000)]
Create groups with international/special characters in name.
droutsis [Mon, 4 May 2009 14:48:33 +0000 (14:48 +0000)]
Removed no longer needed line (since previous fix).
droutsis [Mon, 4 May 2009 14:14:58 +0000 (14:14 +0000)]
Fixed: FF still had trouble with filenames containing '.
pastith [Mon, 4 May 2009 13:33:08 +0000 (13:33 +0000)]
Move the time skew definition to the configuration file.
pastith [Mon, 4 May 2009 13:22:44 +0000 (13:22 +0000)]
Change the page title to Pithos.
pastith [Mon, 4 May 2009 10:10:39 +0000 (10:10 +0000)]
Make the pithos logo point to the new hostname, pithos.grnet.gr.
droutsis [Thu, 30 Apr 2009 17:42:37 +0000 (17:42 +0000)]
Fix for caching issues in IE.
pastith [Thu, 30 Apr 2009 15:27:40 +0000 (15:27 +0000)]
Revert r322 and fix the problem by removing the double encoding in the namespace handlers. Also use getURI() in many places over there, where needless manual URI creation was performed.
koutsoub [Thu, 30 Apr 2009 14:46:46 +0000 (14:46 +0000)]
when a folder is deleted, select parent folder and update file list contents
pastith [Thu, 30 Apr 2009 12:31:08 +0000 (12:31 +0000)]
Use the cached file info from the folder requests to display the file list right away, leaving the file metadata requests to lazily update the list when they are finished.