Fotis Stamatelopoulos [Mon, 6 Jul 2009 14:30:38 +0000 (17:30 +0300)]
Fotis Stamatelopoulos [Mon, 6 Jul 2009 14:28:01 +0000 (17:28 +0300)]
ignore case when examining the file extension for guessing the mime-type
Dimitris Routsis [Mon, 6 Jul 2009 13:31:35 +0000 (16:31 +0300)]
Fixed bug that prevented tags with international characters from being indexed properly, causing search to fail. (Bug #864 #2)
Dimitris Routsis [Mon, 6 Jul 2009 12:49:50 +0000 (15:49 +0300)]
Fixed broken search for international characters. (Bug #864)
Dimitris Routsis [Mon, 6 Jul 2009 10:12:29 +0000 (13:12 +0300)]
Dimitris Routsis [Mon, 6 Jul 2009 10:11:29 +0000 (13:11 +0300)]
Fixed bug: When copying a versioned file, destination versioned flag wasn't set, causing only last version to be copied.
Dimitris Routsis [Mon, 6 Jul 2009 09:25:47 +0000 (12:25 +0300)]
Fixed problems copying/moving via drag-and-drop had with international characters in file / folder names.
Fotis Stamatelopoulos [Fri, 3 Jul 2009 15:05:34 +0000 (18:05 +0300)]
dropped SOAP
Dimitris Routsis [Fri, 3 Jul 2009 14:40:32 +0000 (17:40 +0300)]
Fixed corner case: When selecting 1 row and then the one above it via shift-click, only one row would be selected instead of the correct two.
Fotis Stamatelopoulos [Fri, 3 Jul 2009 13:29:33 +0000 (16:29 +0300)]
Fotis Stamatelopoulos [Fri, 3 Jul 2009 13:25:06 +0000 (16:25 +0300)]
- more efficient moveFile implementation
- code clean up for better maintenance and easier implementation of future file storage layering
Dimitris Routsis [Fri, 3 Jul 2009 12:54:27 +0000 (15:54 +0300)]
Move create new WebDAV password URL from /users to plain / for user.
Dimitris Routsis [Fri, 3 Jul 2009 11:42:05 +0000 (14:42 +0300)]
Dimitris Routsis [Fri, 3 Jul 2009 11:41:03 +0000 (14:41 +0300)]
Add Cut, Move to trash and Delete options to Other's shared context menu.
Dimitris Routsis [Fri, 3 Jul 2009 11:39:47 +0000 (14:39 +0300)]
Reauthenticate user when creating new WebDAV password, so the new password gets sent back in a secure way.
Fotis Stamatelopoulos [Fri, 3 Jul 2009 11:24:55 +0000 (14:24 +0300)]
- add status panel refresh wherever needed
- remove various warnings
- display "move" option for "Shared" folders
Fotis Stamatelopoulos [Fri, 3 Jul 2009 11:16:45 +0000 (14:16 +0300)]
refresh status panel on delete folder
Fotis Stamatelopoulos [Fri, 3 Jul 2009 10:50:31 +0000 (13:50 +0300)]
refresh status panel on Paste
Dimitris Routsis [Thu, 2 Jul 2009 13:53:50 +0000 (16:53 +0300)]
Dimitris Routsis [Thu, 2 Jul 2009 13:29:43 +0000 (16:29 +0300)]
Switch reset WebDAV password from GET to POST.
Panagiotis Astithas [Thu, 2 Jul 2009 09:18:46 +0000 (12:18 +0300)]
Use a different strategy for login in development environments that does not require me to recompile the web client for production deployment. Now, if the testUsername property is found in gss.properties the server treats the value as an authenticated username.
The client redirect does not work for development though, since the login URL is specified in a web client property that would require recompilation again. So instead of:
http://127.0.0.1:8080/pithos/
we will now use the more elaborate form:
http://127.0.0.1:8080/pithos/login?next=http://127.0.0.1:8080/pithos/
Panagiotis Astithas [Wed, 1 Jul 2009 15:40:55 +0000 (18:40 +0300)]
Panagiotis Astithas [Wed, 1 Jul 2009 15:39:08 +0000 (18:39 +0300)]
Add forgotten getter and setter.
Panagiotis Astithas [Wed, 1 Jul 2009 15:38:30 +0000 (18:38 +0300)]
Fix a typo.
Dimitris Routsis [Wed, 1 Jul 2009 15:36:51 +0000 (18:36 +0300)]
If no WebDAV password has ever been generated, copy token to it at initial login, to make sure user sees value in Show Credentials dialog.
Dimitris Routsis [Wed, 1 Jul 2009 12:48:05 +0000 (15:48 +0300)]
Dimitris Routsis [Wed, 1 Jul 2009 12:45:16 +0000 (15:45 +0300)]
Properly update root "other's shared" when refreshing / expanding tree after other user has changed sharing. (Bug #703)
Dimitris Routsis [Wed, 1 Jul 2009 09:17:53 +0000 (12:17 +0300)]
Properly update others shares when refreshing / expanding tree after other user has changed sharing. (Bug #703)
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