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.
pastith [Thu, 30 Apr 2009 12:19:01 +0000 (12:19 +0000)]
Remove unused code and fix warnings.
pastith [Thu, 30 Apr 2009 12:15:46 +0000 (12:15 +0000)]
Minor code style fix.
pastith [Thu, 30 Apr 2009 08:18:27 +0000 (08:18 +0000)]
Fix forgotten reference to the gss context path.
pastith [Wed, 29 Apr 2009 15:40:39 +0000 (15:40 +0000)]
Replace forgotten hard-coded JNDI references with configuration retrieval.
pastith [Wed, 29 Apr 2009 15:39:28 +0000 (15:39 +0000)]
Public files are shared as well.
droutsis [Wed, 29 Apr 2009 15:20:44 +0000 (15:20 +0000)]
Fixed: File path wasn't properly displayed in file list.
Reason: Path String was encoded twice, by getPath() and renderJson(), but only decoded once. Only renderJson() should encode.
droutsis [Wed, 29 Apr 2009 15:08:38 +0000 (15:08 +0000)]
Fixed: IE couldn't create folder with non-ASCII characters in name.
koutsoub [Wed, 29 Apr 2009 08:34:20 +0000 (08:34 +0000)]
use standard share icon for MyShared folders
pastith [Wed, 29 Apr 2009 08:27:08 +0000 (08:27 +0000)]
Remove unused method.
koutsoub [Tue, 28 Apr 2009 17:06:13 +0000 (17:06 +0000)]
set null gss selection when there are no selected files in file list
koutsoub [Tue, 28 Apr 2009 15:52:42 +0000 (15:52 +0000)]
add a refresh command in folder, file popups and File menu
koutsoub [Tue, 28 Apr 2009 15:43:45 +0000 (15:43 +0000)]
fixed firefox caching of head requests for files
pastith [Tue, 28 Apr 2009 15:02:38 +0000 (15:02 +0000)]
Reduce verbosity in file icon selection and fix a warning.
pastith [Tue, 28 Apr 2009 12:49:01 +0000 (12:49 +0000)]
Add a comment as a future reminder about the apostrophe fix.
pastith [Tue, 28 Apr 2009 12:41:01 +0000 (12:41 +0000)]
Change the context root path to pithos and add a date field for testing signature generation from others' logs.
pastith [Tue, 28 Apr 2009 10:48:41 +0000 (10:48 +0000)]
Use a hand cursor over the clickable message panel.
pastith [Tue, 28 Apr 2009 10:48:09 +0000 (10:48 +0000)]
Fix warnings.
droutsis [Tue, 28 Apr 2009 10:01:40 +0000 (10:01 +0000)]
Fix (hard coded) for uploading filename which contain '.
koutsoub [Mon, 27 Apr 2009 16:33:06 +0000 (16:33 +0000)]
synchronize folder contents with server before fetching file information
koutsoub [Mon, 27 Apr 2009 16:21:24 +0000 (16:21 +0000)]
display shared icon for folders and files in User's folder tree
koutsoub [Mon, 27 Apr 2009 15:13:54 +0000 (15:13 +0000)]
hide message panel when user clicks on error message
koutsoub [Mon, 27 Apr 2009 15:04:22 +0000 (15:04 +0000)]
update statistics after copying of file
pastith [Mon, 27 Apr 2009 10:44:19 +0000 (10:44 +0000)]
Move the authentication error page to a JSP file for easier maintenance and the notification message to gss.properties.
pastith [Mon, 27 Apr 2009 10:43:08 +0000 (10:43 +0000)]
Fix the path to the CSS now that the context path has changed.
pastith [Mon, 27 Apr 2009 10:42:26 +0000 (10:42 +0000)]
Add the Javadoc location for Commons Configuration.
pastith [Mon, 27 Apr 2009 09:34:25 +0000 (09:34 +0000)]
Change service name from GSS to Pithos.
pastith [Mon, 27 Apr 2009 09:12:26 +0000 (09:12 +0000)]
Change the context path to pithos as well.
pastith [Mon, 27 Apr 2009 09:11:38 +0000 (09:11 +0000)]
Change service name from GSS to Pithos.
droutsis [Fri, 24 Apr 2009 16:32:44 +0000 (16:32 +0000)]
Fixed typo that led to crash for files with no extension.
pastith [Fri, 24 Apr 2009 12:43:41 +0000 (12:43 +0000)]
Move all user visible references to the service name from GSS to Pithos.
pastith [Fri, 24 Apr 2009 12:10:06 +0000 (12:10 +0000)]
- Move the EJB JNDI path to the configuration file.
- Move the GSSConfiguration error handling code from the call sites to the callee. This way getConfiguration() will always return an initialized object.
- Now that getConfiguration() can be called in a one liner, remove the static initialization blocks and import statically the method for minimizing code redundancy.
pastith [Fri, 24 Apr 2009 10:38:00 +0000 (10:38 +0000)]
Move the configuration elements to a single external configuration file.
pastith [Fri, 24 Apr 2009 09:50:23 +0000 (09:50 +0000)]
Add forgotten GPL notice and fix a warning.
pastith [Thu, 23 Apr 2009 14:50:58 +0000 (14:50 +0000)]
Move the definition of the service name to gss.properties. This currently only affects the login servlet.
pastith [Thu, 23 Apr 2009 14:10:43 +0000 (14:10 +0000)]
Move the definition of the API URL root to gss.properties.
pastith [Thu, 23 Apr 2009 11:14:48 +0000 (11:14 +0000)]
Don't include test code in the production deployment.
koutsoub [Wed, 22 Apr 2009 13:15:06 +0000 (13:15 +0000)]
Requests for the 'shared' namespace return root shared folders instead of all shared folders
pastith [Wed, 22 Apr 2009 10:01:01 +0000 (10:01 +0000)]
Fix warnings.
pastith [Wed, 22 Apr 2009 09:31:57 +0000 (09:31 +0000)]
Fix warnings.
pastith [Tue, 21 Apr 2009 15:26:09 +0000 (15:26 +0000)]
Fix a couple of typos that returned buggy results.
pastith [Tue, 21 Apr 2009 14:49:27 +0000 (14:49 +0000)]
Use the same JSON representation for a file's folder in every namespace.
pastith [Tue, 21 Apr 2009 13:50:19 +0000 (13:50 +0000)]
Add a uri property to the JSON representation for files, for completeness.
pastith [Thu, 16 Apr 2009 09:21:07 +0000 (09:21 +0000)]
Revert previous accidental commit.
pastith [Thu, 16 Apr 2009 09:07:40 +0000 (09:07 +0000)]
Merge from gss trunk r278.
pastith [Wed, 15 Apr 2009 15:45:04 +0000 (15:45 +0000)]
Remove unused method.
pastith [Wed, 15 Apr 2009 15:44:07 +0000 (15:44 +0000)]
Fix typos.
pastith [Wed, 15 Apr 2009 15:36:03 +0000 (15:36 +0000)]
Rename ExecuteFoo to FooCommand, since classes are nouns and methods are verbs.
pastith [Wed, 15 Apr 2009 15:21:50 +0000 (15:21 +0000)]
Remove unused RestRequestBuilder constructor with the googley method overriding. It is unsupported by the server for a long time.
pastith [Wed, 15 Apr 2009 13:18:17 +0000 (13:18 +0000)]
Fix warnings and code style.
pastith [Wed, 15 Apr 2009 13:17:31 +0000 (13:17 +0000)]
Fix a couple of typos that went undetected by the compiler. So much for static languages and strong typing.
pastith [Wed, 15 Apr 2009 12:02:09 +0000 (12:02 +0000)]
Use a separate JSON object for the parent folder of a resource, instead of the folder/folderName properties. This object contains the familiar name/uri properties. Also add this extra data to the trash namespace for consistency, even if there is no immediate need for the clients.
Since this change breaks backward compatibility, fix the web client.
pastith [Wed, 15 Apr 2009 11:45:41 +0000 (11:45 +0000)]
Remove unused code.