pithos
15 years agoUse the proper license header for the progress bar implementation.
Panagiotis Astithas [Fri, 5 Jun 2009 13:23:21 +0000 (16:23 +0300)]
Use the proper license header for the progress bar implementation.

15 years agoDecode file names received by PUT, as we do with file names received by multipart...
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.

15 years agoUse application/json content type for all JSON responses.
Panagiotis Astithas [Thu, 4 Jun 2009 13:34:40 +0000 (16:34 +0300)]
Use application/json content type for all JSON responses.

15 years agoFix the ignored file paths.
Panagiotis Astithas [Thu, 4 Jun 2009 09:42:49 +0000 (12:42 +0300)]
Fix the ignored file paths.

15 years agoRemove the redundant gss top-level directory.
Panagiotis Astithas [Thu, 4 Jun 2009 09:02:28 +0000 (12:02 +0300)]
Remove the redundant gss top-level directory.

15 years agoAdd a temporary hard-coded notice for the extended token validity period. This should...
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.

15 years agoAdd ignored files and folders.
Panagiotis Astithas [Wed, 3 Jun 2009 08:31:06 +0000 (11:31 +0300)]
Add ignored files and folders.

15 years agoAdd a request signature implementation in Java. This should evolve to both a Java...
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.

15 years agoUser can see in lists only files for which they have read permission.
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.

15 years agoChange the property name for the file root folder from files to fileroot. This was...
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).

15 years agoPrevent owner permissions from being revoked at both the client and the server level...
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.)

15 years agoPrevent owner permissions from being revoked at both the client and the server level...
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).

15 years agoAdd the X-GSS-Meatadata header on folders. Its contents are the main attributes of...
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.

15 years agoAvoid making a redundant request to the server for the initial quota display.
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.

15 years agoAdd a configuration property for showing simple announcements to the users when they...
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.

15 years agoUse a default value of 1 day for tokenTTL, in case the configuration property is...
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.

15 years agoMove file uploads via WebDAV and PUT API calls out of the transaction boundary, so...
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.

15 years agoReplace locking with pseudo-locking.
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.

15 years agoAdd a file's modification date in the folder JSON representation. This way clients...
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.

15 years agoMove the token validity period to a configuration variable.
pastith [Mon, 25 May 2009 12:40:28 +0000 (12:40 +0000)]
Move the token validity period to a configuration variable.

15 years agoAvoid a NPE when the user-agent header is not set.
pastith [Fri, 22 May 2009 12:44:46 +0000 (12:44 +0000)]
Avoid a NPE when the user-agent header is not set.

15 years agoMake sure that unfinished uploads do not result in unreferenced files in the file...
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.

15 years agoAllow encoding conversion of request attributes containing strings, since the servlet...
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.

15 years agoMake the launchers use the now-default 127.0.0.1 address.
pastith [Wed, 20 May 2009 13:09:56 +0000 (13:09 +0000)]
Make the launchers use the now-default 127.0.0.1 address.

15 years agoAdd a fix from Tomcat's DefaultServlet that I missed in the previous commit:
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.

15 years agoBring in fixes from tomcat 6.0.x up to r739532 (or tomcat trunk r734734):
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

15 years agoUpdate a forgotten piece of code to retrieve the MIME type from the file, instead...
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.

15 years agoFixed typo.
droutsis [Fri, 15 May 2009 14:41:53 +0000 (14:41 +0000)]
Fixed typo.

15 years agoWebdav should now work with international characters for clients that properly use...
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.

15 years agoPrint the actual contents of the byte arrays for debugging.
pastith [Wed, 13 May 2009 11:03:32 +0000 (11:03 +0000)]
Print the actual contents of the byte arrays for debugging.

15 years agoCheck the validity of database connections before use.
pastith [Wed, 13 May 2009 10:18:15 +0000 (10:18 +0000)]
Check the validity of database connections before use.

15 years agoAdd more debug logging for help in investigating the mangled greek user names from...
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.

15 years agocenter align the progress bar (it doesn't look good when uploading long filenames...
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)

15 years agolocalhost gets frakked up in Vista (does not resolve and fraks testing) - changed...
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

15 years agoTreat the Shibboleth SP attributes as UTF-8 strings, in an effort to fix encoding...
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.

15 years agoWorkaround for mimetype corruption in Firefox. (Bug #683)
droutsis [Mon, 11 May 2009 10:49:08 +0000 (10:49 +0000)]
Workaround for mimetype corruption in Firefox. (Bug #683)

15 years agoshow the "folder refresh" option even if no file is selected
fstamatelopoulos [Fri, 8 May 2009 14:51:28 +0000 (14:51 +0000)]
show the "folder refresh" option even if no file is selected

15 years agoMove the red circle back inside the o, where it belongs.
pastith [Fri, 8 May 2009 14:00:32 +0000 (14:00 +0000)]
Move the red circle back inside the o, where it belongs.

15 years agoAvoid the NPE that the compiler so thoughtfully warned us about.
pastith [Fri, 8 May 2009 13:52:50 +0000 (13:52 +0000)]
Avoid the NPE that the compiler so thoughtfully warned us about.

15 years agoUse a different getRelativePath() for the API handlers, since they are designed to...
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().

15 years agoDon't decode the file name since we are not encoding it in the server side. JSON...
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.

15 years agoAdd help menu options for the user guide and reporting abuses.
pastith [Fri, 8 May 2009 07:56:34 +0000 (07:56 +0000)]
Add help menu options for the user guide and reporting abuses.

15 years agoTweak the looks of the user guide to improve compatibility with the main pithos site.
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.

15 years agoWe don't need to get mime type from Content-Type header, as it is also included in...
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.

15 years agoLoosen mime type checking to cover cases where charset information is also included...
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)

15 years agoFixed issue when creating folder: getParameter() returns String already decoded,...
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)

15 years agoBring the user guide up to date with recent name, UI and functionality changes.
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.

15 years agoWorkaround for IE's broken caching behavior.
droutsis [Wed, 6 May 2009 11:52:25 +0000 (11:52 +0000)]
Workaround for IE's broken caching behavior.

15 years agoRevert previous change: Don't decode URI, as we only need it encoded anyway.
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.

15 years agoFix more problems with international/unusual characters:
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)

15 years agoChange the color scheme to be better aligned with the pithos.grnet.gr home page and...
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.

15 years agoAdd the beta notice to the Pithos logo.
pastith [Tue, 5 May 2009 13:31:09 +0000 (13:31 +0000)]
Add the beta notice to the Pithos logo.

15 years agoChange the logout URL to use SSL.
pastith [Tue, 5 May 2009 11:00:21 +0000 (11:00 +0000)]
Change the logout URL to use SSL.

15 years agoFix the different gradients in the toolbar.
pastith [Tue, 5 May 2009 10:01:00 +0000 (10:01 +0000)]
Fix the different gradients in the toolbar.

15 years agoMove the WebDAV URL to the properties file.
pastith [Tue, 5 May 2009 09:14:27 +0000 (09:14 +0000)]
Move the WebDAV URL to the properties file.

15 years agoCreate groups with international/special characters in name.
droutsis [Mon, 4 May 2009 15:21:25 +0000 (15:21 +0000)]
Create groups with international/special characters in name.

15 years agoRemoved no longer needed line (since previous fix).
droutsis [Mon, 4 May 2009 14:48:33 +0000 (14:48 +0000)]
Removed no longer needed line (since previous fix).

15 years agoFixed: FF still had trouble with filenames containing '.
droutsis [Mon, 4 May 2009 14:14:58 +0000 (14:14 +0000)]
Fixed: FF still had trouble with filenames containing '.

15 years agoMove the time skew definition to the configuration file.
pastith [Mon, 4 May 2009 13:33:08 +0000 (13:33 +0000)]
Move the time skew definition to the configuration file.

15 years agoChange the page title to Pithos.
pastith [Mon, 4 May 2009 13:22:44 +0000 (13:22 +0000)]
Change the page title to Pithos.

15 years agoMake the pithos logo point to the new hostname, pithos.grnet.gr.
pastith [Mon, 4 May 2009 10:10:39 +0000 (10:10 +0000)]
Make the pithos logo point to the new hostname, pithos.grnet.gr.

15 years agoFix for caching issues in IE.
droutsis [Thu, 30 Apr 2009 17:42:37 +0000 (17:42 +0000)]
Fix for caching issues in IE.

15 years agoRevert r322 and fix the problem by removing the double encoding in the namespace...
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.

15 years agowhen a folder is deleted, select parent folder and update file list contents
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

15 years agoUse the cached file info from the folder requests to display the file list right...
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.

15 years agoRemove unused code and fix warnings.
pastith [Thu, 30 Apr 2009 12:19:01 +0000 (12:19 +0000)]
Remove unused code and fix warnings.

15 years agoMinor code style fix.
pastith [Thu, 30 Apr 2009 12:15:46 +0000 (12:15 +0000)]
Minor code style fix.

15 years agoFix forgotten reference to the gss context path.
pastith [Thu, 30 Apr 2009 08:18:27 +0000 (08:18 +0000)]
Fix forgotten reference to the gss context path.

15 years agoReplace forgotten hard-coded JNDI references with configuration retrieval.
pastith [Wed, 29 Apr 2009 15:40:39 +0000 (15:40 +0000)]
Replace forgotten hard-coded JNDI references with configuration retrieval.

15 years agoPublic files are shared as well.
pastith [Wed, 29 Apr 2009 15:39:28 +0000 (15:39 +0000)]
Public files are shared as well.

15 years agoFixed: File path wasn't properly displayed in file list.
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.

15 years agoFixed: IE couldn't create folder with non-ASCII characters in name.
droutsis [Wed, 29 Apr 2009 15:08:38 +0000 (15:08 +0000)]
Fixed: IE couldn't create folder with non-ASCII characters in name.

15 years agouse standard share icon for MyShared folders
koutsoub [Wed, 29 Apr 2009 08:34:20 +0000 (08:34 +0000)]
use standard share icon for MyShared folders

15 years agoRemove unused method.
pastith [Wed, 29 Apr 2009 08:27:08 +0000 (08:27 +0000)]
Remove unused method.

15 years agoset null gss selection when there are no selected files in file list
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

15 years agoadd a refresh command in folder, file popups and File menu
koutsoub [Tue, 28 Apr 2009 15:52:42 +0000 (15:52 +0000)]
add a refresh command in folder, file popups and File menu

15 years agofixed firefox caching of head requests for files
koutsoub [Tue, 28 Apr 2009 15:43:45 +0000 (15:43 +0000)]
fixed firefox caching of head requests for files

15 years agoReduce verbosity in file icon selection and fix a warning.
pastith [Tue, 28 Apr 2009 15:02:38 +0000 (15:02 +0000)]
Reduce verbosity in file icon selection and fix a warning.

15 years agoAdd a comment as a future reminder about the apostrophe fix.
pastith [Tue, 28 Apr 2009 12:49:01 +0000 (12:49 +0000)]
Add a comment as a future reminder about the apostrophe fix.

15 years agoChange the context root path to pithos and add a date field for testing signature...
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.

15 years agoUse a hand cursor over the clickable message panel.
pastith [Tue, 28 Apr 2009 10:48:41 +0000 (10:48 +0000)]
Use a hand cursor over the clickable message panel.

15 years agoFix warnings.
pastith [Tue, 28 Apr 2009 10:48:09 +0000 (10:48 +0000)]
Fix warnings.

15 years agoFix (hard coded) for uploading filename which contain '.
droutsis [Tue, 28 Apr 2009 10:01:40 +0000 (10:01 +0000)]
Fix (hard coded) for uploading filename which contain '.

15 years agosynchronize folder contents with server before fetching file information
koutsoub [Mon, 27 Apr 2009 16:33:06 +0000 (16:33 +0000)]
synchronize folder contents with server before fetching file information

15 years agodisplay shared icon for folders and files in User's folder tree
koutsoub [Mon, 27 Apr 2009 16:21:24 +0000 (16:21 +0000)]
display shared icon for folders and files in User's folder tree

15 years agohide message panel when user clicks on error message
koutsoub [Mon, 27 Apr 2009 15:13:54 +0000 (15:13 +0000)]
hide message panel when user clicks on error message

15 years agoupdate statistics after copying of file
koutsoub [Mon, 27 Apr 2009 15:04:22 +0000 (15:04 +0000)]
update statistics after copying of file

15 years agoMove the authentication error page to a JSP file for easier maintenance and the notif...
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.

15 years agoFix the path to the CSS now that the context path has changed.
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.

15 years agoAdd the Javadoc location for Commons Configuration.
pastith [Mon, 27 Apr 2009 10:42:26 +0000 (10:42 +0000)]
Add the Javadoc location for Commons Configuration.

15 years agoChange service name from GSS to Pithos.
pastith [Mon, 27 Apr 2009 09:34:25 +0000 (09:34 +0000)]
Change service name from GSS to Pithos.

15 years agoChange the context path to pithos as well.
pastith [Mon, 27 Apr 2009 09:12:26 +0000 (09:12 +0000)]
Change the context path to pithos as well.

15 years agoChange service name from GSS to Pithos.
pastith [Mon, 27 Apr 2009 09:11:38 +0000 (09:11 +0000)]
Change service name from GSS to Pithos.

15 years agoFixed typo that led to crash for files with no extension.
droutsis [Fri, 24 Apr 2009 16:32:44 +0000 (16:32 +0000)]
Fixed typo that led to crash for files with no extension.

15 years agoMove all user visible references to the service name from GSS to Pithos.
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.

15 years ago- Move the EJB JNDI path to the configuration file.
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.

15 years agoMove the configuration elements to a single external configuration file.
pastith [Fri, 24 Apr 2009 10:38:00 +0000 (10:38 +0000)]
Move the configuration elements to a single external configuration file.

15 years agoAdd forgotten GPL notice and fix a warning.
pastith [Fri, 24 Apr 2009 09:50:23 +0000 (09:50 +0000)]
Add forgotten GPL notice and fix a warning.

15 years agoMove the definition of the service name to gss.properties. This currently only affect...
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.

15 years agoMove the definition of the API URL root to gss.properties.
pastith [Thu, 23 Apr 2009 14:10:43 +0000 (14:10 +0000)]
Move the definition of the API URL root to gss.properties.