Statistics
| Branch: | Tag: | Revision:

root / src / gr / ebs / gss / server / rest @ 086c7250

# Date Author Comment
086c7250 04/19/2011 02:52 pm Giannis Koutsoubos

include shared flag for subfolders json output

e6190245 04/13/2011 01:30 pm Christos Stathis

Merged with 2c57823c24b6

fcc0410c 04/13/2011 01:24 pm Christos Stathis

Fixed display of the AUTH users message along with other announcements

6b5bd65e 04/12/2011 03:12 pm Christos Stathis

Added special message for AUTH users

a5cde01a 04/06/2011 04:44 pm Christos Stathis

Automated merge with https://gss.googlecode.com/hg/

af6aa461 04/06/2011 04:37 pm Christos Stathis

Re-structured the whole thing
Removed unused folders
Re-packaged the java code
Fixed the packaging of various artifacts to contain only relevant things
Changed build.xml to check for all dependencies, fixed target dependencies

be40713c 03/28/2011 01:50 pm Giannis Koutsoubos

fix for user search query when query string already contains an @ character

56a56754 03/24/2011 12:53 pm Christos Stathis

Merge from celltable branch

9b11a5ca 03/15/2011 03:47 pm Giannis Koutsoubos

server side paging support for search results, asyncdataprovider for display search results in gwt client

db93eeea 03/04/2011 03:22 pm Christos Stathis

Fixed issue 72. IE does not send the correct Accept header resulting in gss serving public html folders with json content type instead of html

39ece393 03/04/2011 03:18 pm Christos Stathis

Fixed regression bug with uninitialized fields when rendering a public folder as html

d032a4f4 02/23/2011 05:57 pm Christos Stathis

Removed all DTO where possible

946cc90a 02/11/2011 05:47 pm Christos Stathis

Merge with optimizations branch

f8543d77 01/26/2011 02:55 pm Christos Stathis

Backed out changeset ad848a720811

62c4facc 01/18/2011 05:04 pm Christos Stathis

Files uploaded on a shared folder get the user as owner instead of the folder 's owner

a3c09df3 01/07/2011 03:02 pm Giannis Koutsoubos

temorary fix for lazy loading exception

6392bd64 12/22/2010 04:40 pm fstamatelopoulos

- finished DTO removal (needs extensive functional testing). Kept DTO objects since we need them for the Admin GWT app.
- reverted removal of getDTO() and getUserDTO(), for the Admin App
- need to add the appropriate methods that return DTOs in AdminService in order to (a) build without errors, (b) have a working admin app

f7c44c33 12/21/2010 06:03 pm fstamatelopoulos

removed even more DTOs

769f9814 12/17/2010 04:36 pm Natasa Kapravelou

Commit after code review concerning handling of lastLogin in the admin interface and Issue 66.

1919e87f 12/17/2010 02:19 pm Natasa Kapravelou

Added 'versioned' and 'shared' fields for Search

0915224d 12/17/2010 01:15 pm Natasa Kapravelou

Added 'versioned' field in the JSON for Trash

c9de8a2f 12/16/2010 03:03 pm Natasa Kapravelou

Shared flag added to TrashResource concerning Issue 69.

f5684a19 12/14/2010 02:32 pm Christos Stathis

Merge with sharing branch

6a8b8972 12/10/2010 03:10 pm Christos Stathis

Automated merge with https://gss.googlecode.com/hg/

fb76bffb 12/10/2010 02:29 pm Natasa Kapravelou

Merge with 7b39195399329dca42a7de7175f8e9e2f7478a4e

5d0ffbbc 12/09/2010 05:52 pm Natasa Kapravelou

Current session login and Last login functionality added in the client code (related to Issue 64).

a3d193a5 12/09/2010 04:33 pm Natasa Kapravelou

Implement the ManyToOne relationship for UserLogin and User that is related to Issue 64.

769e0ecb 12/08/2010 05:13 pm Fotis Stamatelopoulos

Started removing DTOs

366f3f31 12/07/2010 05:19 pm Natasa Kapravelou

Initial commit related to Issue 64. Last login should point to the user's last login.

8a89a0ce 12/03/2010 03:02 pm Christos Stathis

Removed System.out debug messages

16b54aa8 12/02/2010 03:09 pm Giannis Koutsoubos

shared flag for shared files(removed explicit head for fetching file display info), versioned flag for versioned files, admin support to update shared flag for all existing files and folders

bb9093fe 11/29/2010 04:53 pm Christos Stathis

Uncommented lines that are forgotten as commented

c031299f 11/29/2010 03:31 pm Christos Stathis

Field name in X-GSS-Metadata header should have been encoded

d2b12cad 11/12/2010 05:26 pm Giannis Koutsoubos

fix for 404 on upload progress, needs some further tuning

eaf8360b 10/22/2010 06:09 pm Christos Stathis

Fixed indentation and brackets

e8c076d7 10/11/2010 10:56 am Natasa Kapravelou

Fix of Revision: 6b1f43efcd after code review. Rewrite the check condition.

9bee2fe5 10/11/2010 10:31 am Natasa Kapravelou

Fix for Issue 35 and for Revision: 8746b05052 concerning the forbideness of '/' in the file name.

ea3f5e5f 10/11/2010 10:19 am Natasa Kapravelou

Fix of Revision: ec7b8d0b2c after code review. Added a check condition before removing the first and the last slash of the query path.

2f4700ad 10/08/2010 06:14 pm Natasa Kapravelou

Remove the first and the trailing slash from the query when searching for a resource

c62f0b96 10/07/2010 05:24 pm Natasa Kapravelou

Recall a faulty previous commit that was related to forbiding the uploading of a file which file name would contain a slash and also adding to some files a copyright year.

8b79a1c8 10/07/2010 04:15 pm Natasa Kapravelou

Fix for Issue 35, added a note message on creating a new folder or updating an existing folder, informing the user that slashes are not allowed in folder names.The same note is added during the update of file name. Also, the client code has altered in order to forbid the creation or the update of a resource name.At last, don't allow uploading a file which file name contains slash.

62c7d7dc 10/07/2010 12:59 pm Natasa Kapravelou

Fix for Issue 35 that doesn't allow renaming of a file name when the new file name contains slashes.

891f51ce 10/06/2010 05:50 pm Natasa Kapravelou

Fix for Issue 35 that doesn't allow the creation of a folder which name contains slashes or the renaming of a folder name when the new folder name contains slashes

eba21118 10/06/2010 04:48 pm Natasa Kapravelou

Fix for Issue 35 that doesn't allow the creation of a folder which name contains slashes.

66f2db74 10/05/2010 06:41 pm Natasa Kapravelou

Fix the response uri when making a GET request by username to /pithos/rest/users/

51ad539e 09/30/2010 04:47 pm Natasa Kapravelou

Allow public folders and all of the containing subfolders and files to be available in a web page.

8e471ce5 09/23/2010 08:21 pm Natasa Kapravelou

Navigation through public folder url with no special characters in their folder names fixed. 1. Todo: Treat the special characters 2. For every public folder all containing sub-folder should also be public.

4497ec95 09/16/2010 05:01 pm Natasa Kapravelou

Minor fixes and remove logging

d235f94f 09/16/2010 01:06 pm Natasa Kapravelou

Fix the authentication sequence in requests of a file or a folder which is public or not public. This solves the Issue 14. Fix login with fireGSS by adding a boolean check in order the fireGSS client to receive a JSON response. ***TODO: fix sharing the home directory inside renderHTML

bdf739a9 09/14/2010 06:17 pm Natasa Kapravelou

Some more fixes on Issue 16 - handling a CastException. Also working Issue 14 - when the user isNull and the file or folder is public for everyone then pretend that the owner is the user and and the user as a request attribute inside the FilesHandler servlet and not inside each method (e.g copy)

0e488a94 08/19/2010 01:11 pm Panagiotis Astithas

Don't decode resource names in JSON values. This is only necessary when names are passed as request parameters. This fixes renaming folders '+', '%' and ' ', among others.

8dca7586 08/18/2010 03:46 pm Panagiotis Astithas

Fix updates for folders named '%'.

f9bd859c 08/10/2010 05:29 pm Natasa Kapravelou

-Navigation from the parent folder to subfolder and vice versa is available in the web page of a public folder
-Only files that are marked as public are available in the web page of a public folder

e8fd351d 07/23/2010 05:16 pm Natasa Kapravelou

- fix the problem which was related to download a file. It works now since an if statement was updated from if(content) to if (folder != null && content)
- fix the path of a containing subfolder in a public folder
- When a folder is marked as public from a user all containing files are also marked as public...

4e7b8a39 07/16/2010 12:51 pm Panagiotis Astithas

Simplify the content type conditional and make sure resource representation choice is independent of the access privileges.

31e19588 07/15/2010 06:20 pm Natasa Kapravelou

In order to implement display public's folder contents as a web page i)Implement renderHTML method inside FilesHandler ii)make changes in serveResource in order to decide the contentType depending on client header request. This solves Issue 17

c5b81911 07/14/2010 06:17 pm Natasa Kapravelou

first commit - display public's folder contents as a web page

4315bcc5 07/13/2010 05:20 pm Panagiotis Astithas

Reject invalid resource names, like '.' and '..' in both server and web client. This fixes issue 19.

46397af3 07/12/2010 01:00 pm Panagiotis Astithas

Fix silent NPE due to auto-unboxing.

c05a9de0 07/12/2010 12:36 pm Panagiotis Astithas

Consider the folder public flag when checking for authorization permissions.

c5b7e657 07/09/2010 02:52 pm Natasa Kapravelou

Merge with 66f69a7348ed1a0de9113a64025721fcc6e68b84

2f924703 07/09/2010 02:32 pm Natasa Kapravelou

-Allow user to declare a public folder i)a checkbox named [Public] added in the web client's folder properties dialog ii) an API change made in order to return readforall flag for a folder iii) a readforall column added in the domain model
Public folders are marked with the same icon as shared folders and are available also in the My Shared view. This fixes Issue 17 along with the revision 7fc12576aafb

023f6f1e 07/08/2010 01:57 pm Panagiotis Astithas

- Add an administration application.
- Remove the redundant RequestBuilder wrapper for efficiency.
- Fix warnings.
- Ignore the admin app build artifacts.
- Guard against users without userclasses in the DB.
- Add a dev mode launcher for debugging the admin app.

9e6a28ed 07/07/2010 06:49 pm Natasa Kapravelou

first commit of adding the public feature to folder / readForAll on each folder

a2c88d01 07/05/2010 04:34 pm Panagiotis Astithas

Avoid a NPE when the client doesn't send a Content-Type header.

6567092b 05/21/2010 06:43 pm Panagiotis Astithas

Redirect to login for browser requests without a cookie present and also for requests with cookies but without the proper one.

a91ef7e8 05/20/2010 06:28 pm Panagiotis Astithas

Now that we keep around the cookie, give the user the opportunity to use it as the authentication token to get to a file. This way passing around simple file resource URIs is possible, and as long as the user has authenticated with the service in the current browser session, he can access the file. Furthermore, treat such simple browser access as a special case and redirect to login before returning back to the file. Now one can e-mail the file URI to another user and he can click on the link, get prompted to login (or even register for the service) and then get back to the file URI to download it automatically....

f9e01fcb 05/17/2010 01:55 pm Panagiotis Astithas

Handle metadata updates even if they are sent with application/x-www/form-urlencoded content type.

0e64bec2 04/16/2010 05:18 pm Panagiotis Astithas

Display the last login in the web client.

9a2322fc 04/15/2010 06:09 pm Panagiotis Astithas

Add a new API operation for invalidating the current authentication token and returning a new one.

62f168b2 03/11/2010 11:53 am Giannis Koutsoubos

use http caching by using IF-MODIFIED-SINCE HEADERS and handling response accordingly

7d6b1709 01/27/2010 03:28 pm Panagiotis Astithas

Add the file content type to the search results, as specified in the API documentation.

Discovered by: Giorgos Verigakis

31ec597c 12/08/2009 02:56 pm Panagiotis Astithas

Don't convert spaces to plus signs when downloading a file. This fixes bug #756.

425e3d5e 12/07/2009 05:14 pm Panagiotis Astithas

Fix the updated URL for a modified folder. This closes bug #759.

ba5f9575 11/11/2009 04:34 pm Panagiotis Astithas

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.

d74c0270 11/11/2009 03:07 pm Panagiotis Astithas

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.

f24cdf08 11/10/2009 05:05 pm Panagiotis Astithas

Requests without Authorization header should be rejected by isRequestValid().

10786b3c 10/30/2009 04:47 pm Panagiotis Astithas

Use the modification date for files in search results, too.

d0d4d0f5 10/29/2009 05:53 pm Panagiotis Astithas

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.

d114cfe2 10/20/2009 12:51 pm Panagiotis Astithas

Allow setting the modification date when updating a file.

3b6b7f25 09/28/2009 02:32 pm Dimitris Routsis

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.

2f1a60e0 09/28/2009 12:39 pm Dimitris Routsis

Retry transactions in the face of optimistic locking exceptions for all "write" transactions in REST API.

c524530e 09/10/2009 12:46 pm Dimitris Routsis

Fixed broken caching in IE.

c25c6507 09/08/2009 04:02 pm Dimitris Routsis

Prevent any client from creating group including / in name (by sending BAD REQUEST response.)

867d129b 09/04/2009 06:01 pm Fotis Stamatelopoulos

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

bd5ad44d 09/04/2009 11:31 am Dimitris Routsis

Fix bug: Delete user didn't work for group with international name.

a0dde818 09/03/2009 06:19 pm Panagiotis Astithas

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).

77dcb3f1 09/02/2009 05:51 pm Panagiotis Astithas

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.

9fd42cf4 08/07/2009 05:39 pm Panagiotis Astithas

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.

cee371d9 07/06/2009 03:49 pm Dimitris Routsis

Fixed broken search for international characters. (Bug #864)

4c44fdca 07/06/2009 12:25 pm Dimitris Routsis

Fixed problems copying/moving via drag-and-drop had with international characters in file / folder names.

41ea71a3 07/03/2009 04:29 pm Fotis Stamatelopoulos

Merge with f948e955504b0f4f31c1fe813f97f0297cd64cdb

4d737770 07/03/2009 04:25 pm Fotis Stamatelopoulos

- more efficient moveFile implementation
- code clean up for better maintenance and easier implementation of future file storage layering

78137d35 07/03/2009 03:54 pm Dimitris Routsis

Move create new WebDAV password URL from /users to plain / for user.

b4348269 07/02/2009 04:29 pm Dimitris Routsis

Switch reset WebDAV password from GET to POST.

6cf8fb8b 07/01/2009 12:17 pm Dimitris Routsis

Properly update others shares when refreshing / expanding tree after other user has changed sharing. (Bug #703)

3ef7b691 06/25/2009 06:45 pm Dimitris Routsis

Add system-generated password for WebDAV. (Bug #705)

a9e3c075 06/23/2009 12:11 pm Dimitris Routsis

Uploaded files should be counted towards owner's (i.e. namespace owner's) quota, not uplolader's.

f656aeb2 06/17/2009 06:11 pm Panagiotis Astithas

Use an exponential backoff strategy for retrying rolled back transactions.

204107fb 06/15/2009 04:01 pm Panagiotis Astithas

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.