Statistics
| Branch: | Tag: | Revision:

root / src / gr / ebs / gss / server @ 5210ea4c

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

50cd9e9c 11/26/2010 04:15 pm Giannis Koutsoubos

properly remove user

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

fix for 404 on upload progress, needs some further tuning

4ac60e04 11/05/2010 06:50 pm Giannis Koutsoubos

fixed a permission exception bug when requesting file versions

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

29e77d35 10/08/2010 02:01 pm Natasa Kapravelou

Another fix for setting the auditInfo object by setting AND the user that changed the resource, not only the modification date of the object.

fff42066 10/08/2010 10:16 am Natasa Kapravelou

Setting the modification date and setting the auditInfo object to every resource that causes the proper show of permissions to group in every resource.

b7565ade 10/07/2010 06:48 pm Natasa Kapravelou

Rewrite the touchFolder and touchFile methods in order to update only the modification date and nothing else. Add a new method that select the appropriate files tat have permissions to the specific group that is to be deleted.

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/

749c03f9 10/05/2010 04:03 pm Natasa Kapravelou

Remove the unnecessary throwing of NPE and show the shared sub-folders along with the shared files below 'My Shared' view properly. The above mentioned fixes are related to Issue 17

484428ad 10/04/2010 12:01 pm Natasa Kapravelou

Another fix for Issue 17. On the creation of a new folder it's public property is being set according to the public property of the containg folder

dd127df7 10/01/2010 05:36 pm Natasa Kapravelou

Fix in displaying the proper shared folders for the owner in 'My Shared' view.This solves Issue 33.

99d0d40c 10/01/2010 11:40 am Natasa Kapravelou

Fix on Issue 17. On uploading a file, the file's readForAll value is inherited from the folder it is contained.

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.

6f77bdda 09/30/2010 03:08 pm Natasa Kapravelou

Allow folders and subfolders and all of their contents to be marked as public for all when the user hits Public in the parent folder. The opposite is not applied (meaning that when a parent folder is marked as notPublic all the containing subfolders and files are not accordingly marked as notPublic

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.

de595072 09/23/2010 12:42 pm Natasa Kapravelou

Complete the code that allows the deletion of group permissions in files and/or folders when the group is deleted.

ff397940 09/22/2010 06:15 pm Natasa Kapravelou

Mark the folders and files as modified in order to inform the client that something has changed concerning the folder and/or file.The change of modification date does the work. The changes in these folders and/or files have come from the deletion of a group that had permissions on that folders and/or files.

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)

b8e09949 09/10/2010 10:17 am Natasa Kapravelou

Fixed a NullPointerException while range headers existed in the HttpServletResponse. An if check for nulls added in copy method inside the WebDav. This solves Issue 14.

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

6233fca8 07/16/2010 07:25 pm Panagiotis Astithas

Explicitly activate the user on creation and don't rely on the DB to do it.

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.

81cb1c22 07/15/2010 06:20 pm Natasa Kapravelou

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

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

6b950645 07/14/2010 03:51 pm Panagiotis Astithas

Forbid logins from disabled users.

ed7db29f 07/14/2010 03:44 pm Panagiotis Astithas

Forbid logins from disabled users.

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.

a3b6a99f 06/10/2010 12:19 pm Panagiotis Astithas

Fix WebDAV mounts from the Windows WebDAV mini-redirector client implementation:

DAV: namespaced elements in a PROPFIND responses can not use a default namespace; each element must be explicitly prefixed with a namespace prefix defined in itself or a parent. If a default namespace is used the client will give no errors, but will not display any resources....

7d2692fe 06/03/2010 05:50 pm Panagiotis Astithas

Stop fetching and checking the user affiliation, since we are not going to use it for determining its userclass.

c2334823 06/03/2010 02:51 pm Panagiotis Astithas

Avoid a race that caused duplicate coupon class insertions, and remove a transactional call as a performance bonus.

01a30cd0 06/02/2010 06:26 pm Panagiotis Astithas

Complete quota upgrades with coupons. Also fix equals() and hashCode() for Invitations to consider the name or its components.

978061e3 06/01/2010 05:46 pm Panagiotis Astithas

- Initial implementation of quota coupon workflow. Userclass modifications are not happening yet.
- Factor out the common servlet methods into a base class.
- Style the error messages in registration and coupons.

7a1c02de 05/27/2010 02:17 pm Panagiotis Astithas

Fix the owner permission removal check when updating folders as well, and add the empty permission check to that case, too.

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

86c951b2 05/19/2010 04:16 pm Panagiotis Astithas

Fix more than 100 warnings.

09c35393 05/19/2010 02:09 pm Panagiotis Astithas

Don't allow usernames with spaces.

fd294c94 05/19/2010 02:04 pm Panagiotis Astithas

Fix warnings and stop complaining about parameter assignment. We're not eleven.

d50c0133 05/17/2010 06:09 pm Panagiotis Astithas

Fix the check for removed owner permissions.

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.

edf24a21 05/06/2010 06:00 pm Panagiotis Astithas

Set all required objectClass attributes when adding an entry to LDAP. Also consistently encode and decode request parameters on success and errors.

46268014 05/05/2010 04:39 pm Panagiotis Astithas

Use firstname & lastname instead of full name for more flexibility and escape commas in property file.

3f6fd106 05/05/2010 03:45 pm Panagiotis Astithas

Create user accounts in an LDAP-based IdP server after registration, so that Shibboleth login can work.

82248972 04/29/2010 06:23 pm Panagiotis Astithas

Implement proper backend lookup for invitations.

2f551abc 04/29/2010 05:54 pm Panagiotis Astithas

Add a user registration flow. Registration can be open for all, or limited to issued invitation codes, as configured in gss.properties.

f1052f48 04/20/2010 05:17 pm Panagiotis Astithas

Make folder move more efficient by not copying the actual file contents.

c35f359f 04/20/2010 02:31 pm Panagiotis Astithas

Split persistentId into identityProvider and identityProviderId for easier DB queries.

eb02e692 04/20/2010 02:00 pm Panagiotis Astithas

Log the file id when indexing fails and hide the stack trace for file not found cases, where it is redundant.

872e1390 04/16/2010 05:39 pm Panagiotis Astithas

Use exponential backoff when updating the password or last login time in WebDAV.

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

Display the last login in the web client.

5b07b9ec 04/16/2010 04:32 pm Panagiotis Astithas

Update the last login for WebDAV access as well.

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.

125c5690 04/15/2010 05:04 pm Panagiotis Astithas

Store the time the user last logged-in. Since the user object is now modified in every login, drop the updated flag optimization. Also, remove an obsolete EJB method.

533ade50 04/15/2010 04:39 pm Panagiotis Astithas

Retrieve the persistent-id from Shibboleth and store it in the DBMS for future use. Also, fix a few warnings.

27f2be2f 04/08/2010 01:38 pm Panagiotis Astithas

Log any persistent-id attributes from Shibboleth.

e8e1ac78 04/01/2010 06:42 pm Panagiotis Astithas

Use EHCache for second-level caching.

a1aa74a8 03/15/2010 02:10 pm Panagiotis Astithas

Don't waste time constructing the cookie for the iPhone client login case.

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

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

139f2dd5 03/09/2010 05:43 pm Panagiotis Astithas

Replace JBossMessaging 1.x and its HSQLDB data store with HornetQ. Indexing should be faster and more reliable now.

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

51264241 01/26/2010 08:14 pm Panagiotis Astithas

Allow login in development mode to utilize the GWT 2.0 browser plugin.

b7b8c586 01/19/2010 03:35 pm Panagiotis Astithas

Fix warning.

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.

d1a50647 11/12/2009 01:53 pm Dimitris Routsis

Fix bug introduced through stupid Eclipse cleanup.

65e0a745 11/12/2009 11:45 am Dimitris Routsis

- Check when renaming file that name doesn't already exist.
- Add constraint to DB to ensure we don't get duplicate filenames.

38621e3c 11/12/2009 11:18 am Dimitris Routsis

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

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

63975784 11/10/2009 01:05 pm Panagiotis Astithas

Merge with 6e728a7cfa0b1004acb2613421e261890e560813

993e5ea7 11/10/2009 12:40 pm Panagiotis Astithas

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.

a18a4ca4 11/10/2009 12:12 pm Dimitris Routsis

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

5ffd24ee 11/03/2009 05:40 pm Panagiotis Astithas

Don't cache the API responses, since we do it in the various operation handlers.

c17c7081 11/02/2009 06:24 pm Panagiotis Astithas

Don't cache the login, nonce, token and policy paths.

4812228e 10/30/2009 05:00 pm Panagiotis Astithas

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.