Statistics
| Branch: | Tag: | Revision:

root / src / gr / ebs / gss / server / rest @ f9bd859c

# Date Author Comment
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.

617fe906 06/12/2009 06:17 pm Dimitris Routsis

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

f0c744b4 06/04/2009 05:01 pm Panagiotis Astithas

Decode file names received by PUT, as we do with file names received by multipart POST.

7513cffa 06/04/2009 04:34 pm Panagiotis Astithas

Use application/json content type for all JSON responses.

16baf609 06/04/2009 12:02 pm Panagiotis Astithas

Remove the redundant gss top-level directory.