Giannis Koutsoubos [Fri, 15 Jan 2010 13:25:32 +0000 (15:25 +0200)]
moved towards gwt version 2.0 - updated dnd to version 3 -removed all deprecations
Panagiotis Astithas [Mon, 14 Dec 2009 12:19:03 +0000 (14:19 +0200)]
Remove extra empty space on top of the page on webkit browsers.
Panagiotis Astithas [Fri, 11 Dec 2009 14:18:49 +0000 (16:18 +0200)]
Fix the alignment of the quota label and simplify the HTML widget for better performance.
Panagiotis Astithas [Thu, 10 Dec 2009 13:51:35 +0000 (15:51 +0200)]
Update gwt-dnd to version 2.6.5.
Panagiotis Astithas [Wed, 9 Dec 2009 15:02:21 +0000 (17:02 +0200)]
Guard firebug console logging to avoid warnings on webkit & IE(?).
Panagiotis Astithas [Wed, 9 Dec 2009 14:49:59 +0000 (16:49 +0200)]
Allow compilation with GWT 2.0.
Panagiotis Astithas [Tue, 8 Dec 2009 12:56:12 +0000 (14:56 +0200)]
Don't convert spaces to plus signs when downloading a file. This fixes bug #756.
Panagiotis Astithas [Mon, 7 Dec 2009 15:14:56 +0000 (17:14 +0200)]
Fix the updated URL for a modified folder. This closes bug #759.
Dimitris Routsis [Fri, 20 Nov 2009 12:21:45 +0000 (14:21 +0200)]
Cover case of null uri (which does exist after all).
Fotis Stamatelopoulos [Fri, 20 Nov 2009 10:24:25 +0000 (12:24 +0200)]
- keep sorting on refresh (file list & search results list)
- image preview in file list has slide show functionality and the "view" link is only available for png, gif, jpg/jpeg files)
Dimitris Routsis [Thu, 19 Nov 2009 14:30:52 +0000 (16:30 +0200)]
Fixed cases where previous selection might cause confusion (selection still showing for a while while new folder selected is updated) or minor bugs (no right-click menu appearing even though it looks like file(s) are selected).
Dimitris Routsis [Thu, 19 Nov 2009 12:19:43 +0000 (14:19 +0200)]
Fix bug: Using the tag buttons with "(Multiple values)" would keep it as a tag.
Dimitris Routsis [Thu, 19 Nov 2009 10:47:16 +0000 (12:47 +0200)]
Add multiple file selection properties dialog allowing editing of tags and versioning.
Dimitris Routsis [Thu, 19 Nov 2009 10:45:40 +0000 (12:45 +0200)]
Also allow data.
Dimitris Routsis [Thu, 19 Nov 2009 10:32:56 +0000 (12:32 +0200)]
Remove any parameters before storing uri.
Dimitris Routsis [Thu, 12 Nov 2009 12:39:03 +0000 (14:39 +0200)]
Fix bug: When renaming file, selected file was not updated, leading to a 404 error if user tried to view properties of renamed file. (Bug #752)
Dimitris Routsis [Thu, 12 Nov 2009 11:53:13 +0000 (13:53 +0200)]
Fix bug introduced through stupid Eclipse cleanup.
Dimitris Routsis [Thu, 12 Nov 2009 09:45:54 +0000 (11:45 +0200)]
- Check when renaming file that name doesn't already exist.
- Add constraint to DB to ensure we don't get duplicate filenames.
Dimitris Routsis [Thu, 12 Nov 2009 09:18:05 +0000 (11:18 +0200)]
Throw any exceptions thrown unwrapped. This way, the caller knows what it's dealing with in its try/catch block.
(Previously, everything thrown was an Exception and most (all?) callers would simply turn this into a 500 error, since they don't check the cause.)
Panagiotis Astithas [Wed, 11 Nov 2009 14:34:13 +0000 (16:34 +0200)]
Make folder updates work with a single DB transaction (EJB call). Now the modification date on every child file is properly updated. Also rename modifyFolder() to updateFolder() for consistency with updateFile() and make setFilePermissions/setFolderPermissions private helper methods.
Panagiotis Astithas [Wed, 11 Nov 2009 13:07:08 +0000 (15:07 +0200)]
Make file updates work with a single DB transaction (EJB call). Besides the performance benefits, this change properly updates the modification date on every file update.
Panagiotis Astithas [Tue, 10 Nov 2009 15:05:07 +0000 (17:05 +0200)]
Requests without Authorization header should be rejected by isRequestValid().
Panagiotis Astithas [Tue, 10 Nov 2009 11:05:09 +0000 (13:05 +0200)]
Panagiotis Astithas [Tue, 10 Nov 2009 10:40:09 +0000 (12:40 +0200)]
Double the retry attempts and the retry timeout in an attempt to better handle the load on the app servers. Also log the final failed retry so that it is greppable in the logs.
Dimitris Routsis [Tue, 10 Nov 2009 10:12:51 +0000 (12:12 +0200)]
- Add constraint in order to avoid double entries due to concurrency. (Happened twice in production.)
- Add versioning to avoid lost updates. (Impossible to tell if it has already happened.)
Dimitris Routsis [Tue, 10 Nov 2009 10:09:42 +0000 (12:09 +0200)]
correctly sense if GWT compilation is needed
Panagiotis Astithas [Tue, 3 Nov 2009 15:40:35 +0000 (17:40 +0200)]
Don't cache the API responses, since we do it in the various operation handlers.
Panagiotis Astithas [Tue, 3 Nov 2009 10:00:11 +0000 (12:00 +0200)]
Add a custom error page for HTTP status 503.
Panagiotis Astithas [Mon, 2 Nov 2009 16:24:47 +0000 (18:24 +0200)]
Don't cache the login, nonce, token and policy paths.
Panagiotis Astithas [Fri, 30 Oct 2009 15:00:13 +0000 (17:00 +0200)]
Make sure *nocache* files are never cached and *cache* files are cached for a year. This way redeployments should never require cleaning the browser cache again. Also, cache everything else for 40 days, to make the application startup snappier.
Panagiotis Astithas [Fri, 30 Oct 2009 14:47:11 +0000 (16:47 +0200)]
Use the modification date for files in search results, too.
Panagiotis Astithas [Thu, 29 Oct 2009 15:53:53 +0000 (17:53 +0200)]
Send and display modification dates for shared, others and trash namespaces, since the UI file list code is the same for both the files namespace and these virtual namespaces. It is also more consistent to use the same reduced file representation for every namespace.
Panagiotis Astithas [Tue, 20 Oct 2009 09:51:07 +0000 (12:51 +0300)]
Allow setting the modification date when updating a file.
Panagiotis Astithas [Fri, 16 Oct 2009 15:15:40 +0000 (18:15 +0300)]
- Display the modification date instead of the creation date, since the former is more useful.
- Fix sorting on the owner column.
- Make sorting comparisons more efficient by removing unnecessary object creation.
Panagiotis Astithas [Fri, 16 Oct 2009 15:13:09 +0000 (18:13 +0300)]
Update the FileHeader auditInfo when uploading a new body.
Panagiotis Astithas [Fri, 16 Oct 2009 15:12:21 +0000 (18:12 +0300)]
Parse the modification date for files in the folder.
Panagiotis Astithas [Fri, 16 Oct 2009 15:10:43 +0000 (18:10 +0300)]
Chase the JDK update.
Fotis Stamatelopoulos [Wed, 30 Sep 2009 16:03:25 +0000 (19:03 +0300)]
merge
Fotis Stamatelopoulos [Wed, 30 Sep 2009 15:47:06 +0000 (18:47 +0300)]
better matching of MS Office mime types (in showing file icons and indexing)
Dimitris Routsis [Mon, 28 Sep 2009 11:32:54 +0000 (14:32 +0300)]
Retry transactions in the face of optimistic locking exceptions for all "write" transactions in WebDAV API.
Move TransactionHelper class to EJBs so it is visible from both REST and WebDAV WARs.
Dimitris Routsis [Mon, 28 Sep 2009 09:39:39 +0000 (12:39 +0300)]
Retry transactions in the face of optimistic locking exceptions for all "write" transactions in REST API.
Dimitris Routsis [Thu, 24 Sep 2009 12:55:01 +0000 (15:55 +0300)]
Change to folder modification semantics: When anything inside a folder is updated (including file and folder metadata), modification user and date should be updated also for all parent folders up to root.
Dimitris Routsis [Thu, 10 Sep 2009 09:59:59 +0000 (12:59 +0300)]
Don't show loading indicator for suggestion.
Dimitris Routsis [Thu, 10 Sep 2009 09:46:52 +0000 (12:46 +0300)]
Fixed broken caching in IE.
Dimitris Routsis [Tue, 8 Sep 2009 13:02:54 +0000 (16:02 +0300)]
Prevent any client from creating group including / in name (by sending BAD REQUEST response.)
Fotis Stamatelopoulos [Mon, 7 Sep 2009 10:00:42 +0000 (13:00 +0300)]
Hide download and property file menu options on multiple selection
Fotis Stamatelopoulos [Mon, 7 Sep 2009 09:07:03 +0000 (12:07 +0300)]
Hide download and property file menu options on multiple selection
Fotis Stamatelopoulos [Fri, 4 Sep 2009 15:01:45 +0000 (18:01 +0300)]
Added the groupURI parameter when parsing permissions, which precedes the group parameter. This allows the unique identification of groups throughout the application. We keep the group parameter for backwards compatibility with old clients
Dimitris Routsis [Fri, 4 Sep 2009 08:31:59 +0000 (11:31 +0300)]
Fix bug: Delete user didn't work for group with international name.
Panagiotis Astithas [Thu, 3 Sep 2009 15:19:12 +0000 (18:19 +0300)]
Fix wrong encoding in new folder names, by returning the already constructed URI. This required that createFolder() returns the newly-created folder, which was always a good idea (builder pattern).
Panagiotis Astithas [Wed, 2 Sep 2009 14:52:09 +0000 (17:52 +0300)]
Update the 32bit VM due to a new jdk update.
Panagiotis Astithas [Wed, 2 Sep 2009 14:51:09 +0000 (17:51 +0300)]
Retry transactions in the face of optimistic locking exceptions when creating folders or modifying resources. Also avoid an extra EJB call by returning the modified folder after the fact.
Fotis Stamatelopoulos [Wed, 2 Sep 2009 10:05:12 +0000 (13:05 +0300)]
- Correctly check whether the group has already access to the resource
- Check NPE (to be on the safe side & clear warning)
- More appropriate messages
Fotis Stamatelopoulos [Mon, 31 Aug 2009 09:58:37 +0000 (12:58 +0300)]
minor cosmetic change: appropriate button label
Fotis Stamatelopoulos [Fri, 28 Aug 2009 16:50:51 +0000 (19:50 +0300)]
correctly refresh the OthersShared folder tree on folder renames
Fotis Stamatelopoulos [Fri, 28 Aug 2009 15:02:38 +0000 (18:02 +0300)]
only sumbit changes to permissions if there are any
Fotis Stamatelopoulos [Fri, 28 Aug 2009 14:27:04 +0000 (17:27 +0300)]
properly select and expand the tree item (group) that was previously "selected", upon updating the tree
Fotis Stamatelopoulos [Fri, 28 Aug 2009 13:39:18 +0000 (16:39 +0300)]
be consistent: show sharing option in shared folders, as we do in shared folders
Dimitris Routsis [Wed, 26 Aug 2009 09:57:34 +0000 (12:57 +0300)]
Silently replace @ character when uploading. (Will have to do at least till a proper solution is found.)
Dimitris Routsis [Tue, 25 Aug 2009 14:58:03 +0000 (17:58 +0300)]
Use URL.encodeComponent() instead of URL.encode() as it encodes a few more characters that may appear in filenames and URL.encode() left unencoded.
Dimitris Routsis [Tue, 25 Aug 2009 14:56:43 +0000 (17:56 +0300)]
Increase stack size as compiler in Windows chokes with default size.
Panagiotis Astithas [Fri, 21 Aug 2009 12:08:15 +0000 (15:08 +0300)]
Avoid a NPE when the next parameter is empty.
Panagiotis Astithas [Fri, 7 Aug 2009 14:39:34 +0000 (17:39 +0300)]
Fix multiple file uploads in IE using Google Gears. It needed a POST instead of PUT, which required accommodating it in the server-side code. Also, error codes from file uploads are not handled in IE, since merely accessing the request.status field throws an internal error.
Panagiotis Astithas [Wed, 5 Aug 2009 14:02:57 +0000 (17:02 +0300)]
Add a custom error page for 403 errors and apply the main site style to all error pages.
Panagiotis Astithas [Tue, 4 Aug 2009 09:56:03 +0000 (12:56 +0300)]
Parse the nextUrl parameter with URI instead of URL so that chrome: URIs can be used for redirection. This should simplify the login process for Firefox extensions.
Panagiotis Astithas [Tue, 14 Jul 2009 14:35:26 +0000 (17:35 +0300)]
Upgrade gwt-dnd to version 2.6.4 for bug fixes and better support of GWT 1.6. Also add a commented-out flag for enabling detailed GWT compiler output.
Panagiotis Astithas [Tue, 14 Jul 2009 14:12:50 +0000 (17:12 +0300)]
Don't use the unsafe Accept-Charset header, since its contents are already defined in the Accept header and Webkit (Chrome, Safari) complains about it.
Panagiotis Astithas [Mon, 13 Jul 2009 12:46:13 +0000 (15:46 +0300)]
Use Lytebox (a Lightbox clone) for quick viewing images.
Panagiotis Astithas [Mon, 13 Jul 2009 10:03:13 +0000 (13:03 +0300)]
Disable multiple uploads using Gears for IE, until we investigate the problem.
Fotis Stamatelopoulos [Wed, 8 Jul 2009 15:23:41 +0000 (18:23 +0300)]
do not show the "Save as" option on multiple selection
Fotis Stamatelopoulos [Wed, 8 Jul 2009 15:10:02 +0000 (18:10 +0300)]
display message while image loads on the client viewer
Fotis Stamatelopoulos [Wed, 8 Jul 2009 15:09:16 +0000 (18:09 +0300)]
avoid class cast exception in multiple file selection
Fotis Stamatelopoulos [Wed, 8 Jul 2009 13:55:32 +0000 (16:55 +0300)]
take into account Mac OS clients
Fotis Stamatelopoulos [Tue, 7 Jul 2009 12:49:55 +0000 (15:49 +0300)]
initial implementation of a simple image viewer ("View Image" command in the file context menu)
Fotis Stamatelopoulos [Tue, 7 Jul 2009 10:41:08 +0000 (13:41 +0300)]
Cosmetic changes (widget sizes and alignment)
Fotis Stamatelopoulos [Mon, 6 Jul 2009 15:23:02 +0000 (18:23 +0300)]
- added a few more mime-types when attempting to identify mime-type from the file extension
- remove warnings (uneeded throws declarations)
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.