Statistics
| Branch: | Tag: | Revision:

root / src / gr / ebs / gss / server / ejb / ExternalAPIBean.java @ 769f9814

History | View | Annotate | Download (102.7 kB)

# Date Author Comment
769f9814 12/17/2010 04:36 pm Natasa Kapravelou

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

966ae42b 12/16/2010 12:10 pm Dimitris Routsis

Small optimisation in getResourceAtPath(). Should pay more dividents once DTOs are removed. (Avoids getting every detail of root folder in each and every call.)

2213a03c 12/13/2010 07:11 pm Christos Stathis

Changed progress logging during reindexing from debug to info

a4c15e92 12/13/2010 06:02 pm Christos Stathis

Added owner and public flag to the index
Modified solr query to check file permissions in the index
Updated error messages during solr index rebuild to include exception type

aeb5e751 12/13/2010 05:10 pm Christos Stathis

Fixed a solr field name

a17a48ae 12/13/2010 04:49 pm Christos Stathis

Added in the index the id of users and groups that have read access to a file

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

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

87163078 12/10/2010 03:09 pm Christos Stathis

Merge with 95418fb0c49b from default

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

Merge with 7b39195399329dca42a7de7175f8e9e2f7478a4e

f187ebb7 12/10/2010 01:36 pm Christos Stathis

Added profiling code

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.

013f74c5 12/03/2010 06:21 pm Christos Stathis

Added check for number of solr results so that we can ask for the total

376d0ebf 11/24/2010 06:04 pm Christos Stathis

Index rebuild is done synchronously. Added some logging messages for monitoring

312648dd 11/19/2010 04:49 pm Christos Stathis

Migrated to solr 1.4. Added a filter factory so that solr can use the greek lower case filter inside the default analyzer

8c0fa677 11/18/2010 05:47 pm Christos Stathis

Implemented wildcard search

ff5c5752 11/18/2010 05:17 pm Christos Stathis

Implemented search with solrj

0fcbf8bd 11/17/2010 06:49 pm Christos Stathis

Upgraded solr to 1.4 and refactored things a bit so that index rebuild is done synchronously from the ejb

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.

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

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.

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

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.

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.

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

Merge with 66f69a7348ed1a0de9113a64025721fcc6e68b84

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

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.

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.

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

Fix the check for removed owner permissions.

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.

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.

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.

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.

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

Allow setting the modification date when updating a file.

82481089 10/16/2009 06:13 pm Panagiotis Astithas

Update the FileHeader auditInfo when uploading a new body.

f22e4d5d 09/24/2009 03:55 pm Dimitris Routsis

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.

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

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

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.

4684df80 07/06/2009 06:23 pm Fotis Stamatelopoulos

- added a few more mime-types when attempting to identify mime-type from the file extension
- remove warnings (uneeded throws declarations)

f3f7bdf3 07/06/2009 05:28 pm Fotis Stamatelopoulos

ignore case when examining the file extension for guessing the mime-type

2be5f35d 07/06/2009 01:11 pm Dimitris Routsis

Fixed bug: When copying a versioned file, destination versioned flag wasn't set, causing only last version to be copied.

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

66c7511a 06/29/2009 03:31 pm Dimitris Routsis

- Remove completely Permission entry for user that get assigned no permissions at all when updating file / folder permissions.
- Delete orphan Permission entries when updating file / folder permissions. (Used to stay behind)

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

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

78214787 06/23/2009 05:31 pm Panagiotis Astithas

Minor cleanups.

b6510556 06/11/2009 03:40 pm Dimitris Routsis

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

6dddaedf 06/10/2009 02:21 pm Dimitris Routsis

Fixed bug: Uploading a new version of a versioned file with no quota left would leave file without any bodies at all.

d3ff9c69 06/05/2009 12:06 pm Dimitris Routsis

Centralize quota retrieval.

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

Remove the redundant gss top-level directory.