Natasa Kapravelou [Thu, 16 Sep 2010 14:01:57 +0000 (17:01 +0300)]
Minor fixes and remove logging
Natasa Kapravelou [Thu, 16 Sep 2010 10:06:47 +0000 (13:06 +0300)]
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
Natasa Kapravelou [Tue, 14 Sep 2010 15:17:04 +0000 (18:17 +0300)]
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)
Natasa Kapravelou [Fri, 10 Sep 2010 07:17:26 +0000 (10:17 +0300)]
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.
Natasa Kapravelou [Mon, 6 Sep 2010 13:54:06 +0000 (16:54 +0300)]
Fixed typo
Natasa Kapravelou [Fri, 3 Sep 2010 14:07:38 +0000 (17:07 +0300)]
Automatic merge with default branch
Natasa Kapravelou [Fri, 3 Sep 2010 13:48:01 +0000 (16:48 +0300)]
minor code fixes on displaying the full name in ACL
Natasa Kapravelou [Fri, 3 Sep 2010 12:21:57 +0000 (15:21 +0300)]
Display the full name in the ACL. The full name is displayed once right click and select Properties on a file. Full name is displayed in the General tab > Owner, in the Sharing tab and in the Versions tab. Moreover in the file list of every folder. Full names are displayed after the execution of the GetUserCommand, thus they are not always displayed at once.
Natasa Kapravelou [Wed, 1 Sep 2010 15:27:02 +0000 (18:27 +0300)]
the new command added to the repo
Natasa Kapravelou [Wed, 1 Sep 2010 15:26:15 +0000 (18:26 +0300)]
A new Command(GetUserFullName) was implemented in order to fetch user's full name out of the user name.
Panagiotis Astithas [Mon, 30 Aug 2010 15:17:08 +0000 (18:17 +0300)]
Fix the shibboleth reference.
Natasa Kapravelou [Mon, 23 Aug 2010 07:27:54 +0000 (10:27 +0300)]
Automated merge with https://gss.googlecode.com/hg/
Natasa Kapravelou [Mon, 23 Aug 2010 07:24:55 +0000 (10:24 +0300)]
display tags issues - another try
Panagiotis Astithas [Fri, 20 Aug 2010 13:56:41 +0000 (16:56 +0300)]
Inline the tags and separate them with commas to hint on their impportance as separators.
Panagiotis Astithas [Thu, 19 Aug 2010 14:12:09 +0000 (17:12 +0300)]
Automated merge with https://gss.googlecode.com/hg/
Panagiotis Astithas [Thu, 19 Aug 2010 14:10:53 +0000 (17:10 +0300)]
Support console.log() besides console.debug() in DisplayHelper.log().
Natasa Kapravelou [Thu, 19 Aug 2010 11:42:06 +0000 (14:42 +0300)]
Automated merge with https://gss.googlecode.com/hg/
Natasa Kapravelou [Thu, 19 Aug 2010 11:41:55 +0000 (14:41 +0300)]
fixing 'All tags' display version 2 - add a new css class named 'gss-tag'
Panagiotis Astithas [Thu, 19 Aug 2010 10:11:04 +0000 (13:11 +0300)]
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.
Natasa Kapravelou [Wed, 18 Aug 2010 14:05:47 +0000 (17:05 +0300)]
Automated merge with https://gss.googlecode.com/hg/
Natasa Kapravelou [Wed, 18 Aug 2010 14:05:04 +0000 (17:05 +0300)]
fixing All tags display
Panagiotis Astithas [Wed, 18 Aug 2010 12:46:46 +0000 (15:46 +0300)]
Fix updates for folders named '%'.
Natasa Kapravelou [Mon, 16 Aug 2010 08:55:21 +0000 (11:55 +0300)]
Convert tag buttons to links. This solves issue 22
Natasa Kapravelou [Tue, 10 Aug 2010 14:29:09 +0000 (17:29 +0300)]
-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
Panagiotis Astithas [Thu, 29 Jul 2010 14:38:44 +0000 (17:38 +0300)]
Add an executive summary version.
Panagiotis Astithas [Thu, 29 Jul 2010 14:15:17 +0000 (17:15 +0300)]
Now that we can download and install dependencies, remove the lib directory jar files from the repository and fetch them on installation.
Panagiotis Astithas [Thu, 29 Jul 2010 12:58:22 +0000 (15:58 +0300)]
Better wording and typos fixed.
Panagiotis Astithas [Thu, 29 Jul 2010 12:49:56 +0000 (15:49 +0300)]
Convert build and deployment instructions to follow the new world order and remove the eclipse-only dependency to pre-defined user libraries.
Panagiotis Astithas [Thu, 29 Jul 2010 07:20:00 +0000 (10:20 +0300)]
Revamp the build script in order to support fetching and installing dependencies and running the server. No configuration is required any more. Changes to BUILD.txt with updated instructions are forthcoming.
Panagiotis Astithas [Wed, 28 Jul 2010 10:45:41 +0000 (13:45 +0300)]
Silence the redundant and obnoxious optimistic locking exceptions following the (controversial) advice from bug HHH-537.
Panagiotis Astithas [Tue, 27 Jul 2010 14:09:45 +0000 (17:09 +0300)]
We don't need informational logging from httpclient.
Panagiotis Astithas [Tue, 27 Jul 2010 10:02:34 +0000 (13:02 +0300)]
We are not using the version number in the server code, and even if we were, we would not want it to be configurable at runtime.
Panagiotis Astithas [Tue, 27 Jul 2010 09:44:45 +0000 (12:44 +0300)]
Display the version number in the web client and set the next release to become 1.2.
Natasa Kapravelou [Fri, 23 Jul 2010 14:16:44 +0000 (17:16 +0300)]
- 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
- When a folder is marked as not public then all containing files' state remain untouched.
- to do: enable moving to upper level (until root public folder) from a public sub-folder
- to do: sharing icon and it's not stable behavior when a folder is shared to others
Panagiotis Astithas [Fri, 16 Jul 2010 16:25:53 +0000 (19:25 +0300)]
Explicitly activate the user on creation and don't rely on the DB to do it.
Panagiotis Astithas [Fri, 16 Jul 2010 15:59:21 +0000 (18:59 +0300)]
Ignore vim temp files.
Panagiotis Astithas [Fri, 16 Jul 2010 09:51:54 +0000 (12:51 +0300)]
Simplify the content type conditional and make sure resource representation choice is independent of the access privileges.
Natasa Kapravelou [Thu, 15 Jul 2010 15:20:52 +0000 (18:20 +0300)]
Automated merge with https://gss.googlecode.com/hg/
Natasa Kapravelou [Thu, 15 Jul 2010 15:20:43 +0000 (18:20 +0300)]
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
Natasa Kapravelou [Wed, 14 Jul 2010 15:17:09 +0000 (18:17 +0300)]
first commit - display public's folder contents as a web page
Panagiotis Astithas [Wed, 14 Jul 2010 12:51:04 +0000 (15:51 +0300)]
Forbid logins from disabled users.
Panagiotis Astithas [Wed, 14 Jul 2010 12:44:56 +0000 (15:44 +0300)]
Forbid logins from disabled users.
Panagiotis Astithas [Tue, 13 Jul 2010 15:14:37 +0000 (18:14 +0300)]
Add a Report Bug menu item, so that users will find it easier to report bugs.
Panagiotis Astithas [Tue, 13 Jul 2010 14:20:06 +0000 (17:20 +0300)]
Reject invalid resource names, like '.' and '..' in both server and web client. This fixes issue 19.
Panagiotis Astithas [Mon, 12 Jul 2010 11:01:40 +0000 (14:01 +0300)]
Make the warning message more informative.
Panagiotis Astithas [Mon, 12 Jul 2010 10:00:45 +0000 (13:00 +0300)]
Fix silent NPE due to auto-unboxing.
Panagiotis Astithas [Mon, 12 Jul 2010 09:47:08 +0000 (12:47 +0300)]
The public flag, as well as all resource properties, are nouns, not verbs.
Panagiotis Astithas [Mon, 12 Jul 2010 09:36:37 +0000 (12:36 +0300)]
Consider the folder public flag when checking for authorization permissions.
Panagiotis Astithas [Mon, 12 Jul 2010 09:14:47 +0000 (12:14 +0300)]
Fix copy & paste typos (file -> folder).
Natasa Kapravelou [Fri, 9 Jul 2010 13:07:12 +0000 (16:07 +0300)]
slight display changes
Natasa Kapravelou [Fri, 9 Jul 2010 11:52:35 +0000 (14:52 +0300)]
Natasa Kapravelou [Fri, 9 Jul 2010 11:32:36 +0000 (14:32 +0300)]
-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
Panagiotis Astithas [Thu, 8 Jul 2010 10:57:12 +0000 (13:57 +0300)]
- 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.
Natasa Kapravelou [Wed, 7 Jul 2010 15:49:53 +0000 (18:49 +0300)]
first commit of adding the public feature to folder / readForAll on each folder
Panagiotis Astithas [Mon, 5 Jul 2010 13:34:09 +0000 (16:34 +0300)]
Avoid a NPE when the client doesn't send a Content-Type header.
Panagiotis Astithas [Mon, 5 Jul 2010 11:03:46 +0000 (14:03 +0300)]
Use a more friendly message for status 503.
Natasa Kapravelou [Mon, 28 Jun 2010 14:15:09 +0000 (17:15 +0300)]
Automated merge with https://gss.googlecode.com/hg/
Natasa Kapravelou [Mon, 28 Jun 2010 14:02:32 +0000 (17:02 +0300)]
change visibility modifier for handleSpecialFolderNames method from public to private
Panagiotis Astithas [Thu, 24 Jun 2010 13:52:26 +0000 (16:52 +0300)]
Tweak a few new compiler settings available in Eclipse 3.6.
Natasa Kapravelou [Thu, 24 Jun 2010 12:43:14 +0000 (15:43 +0300)]
remove unnecessary logging
Natasa Kapravelou [Thu, 24 Jun 2010 12:40:20 +0000 (15:40 +0300)]
allow the proper completion of the given url for cases such as Trash, My Shared, Other's Shared.
Natasa Kapravelou [Wed, 23 Jun 2010 14:44:56 +0000 (17:44 +0300)]
Minor fix. In case of a bad typed url home folder is selected instead of Trash folder in previous version
Natasa Kapravelou [Tue, 22 Jun 2010 15:00:25 +0000 (18:00 +0300)]
New Folder/ Upload option is not available when My Shared,Trash and any folder below Trash is selected. Options New Folder and Upload are shown when the user clicks the File menu from the MenuBar or right clicks on one of the above mentioned folders (My Shared,Trash and any folder below Trash). This fixes Issue 9
Natasa Kapravelou [Tue, 22 Jun 2010 11:30:05 +0000 (14:30 +0300)]
Features concerning history navigation: 1. the user can use the browser history navigation with back and fwd arrows. (problems emerge if the user closes an already expanded tree of a folder, or sub folder, then history navigation is broken).
2. the user can type any 'parent' folder uri in the browser's address bar and fetch it's files e.g #Files/files/Data and any folder right below the home folder (not deeper), #Files/thrash/, #Files/others/, #Files/shared/. Only if the parent folder is already expanded, the user can navigate to the sub folders by typing the sub folder's name/uri at the address bar. Finally, if the user types a uri in the address bar which can't match any object in the application, Trash folder is selected.
TODO: 1. Expand folders with a given uri 2. Open the corresponding folder using an external link 3. Add a / in case this is ommited when user's input is #Files/trash, #Files/shared, #Files/others
FIX: 1. the construction of uri if whitespaces or other special charactes are contained such as +
Natasa Kapravelou [Mon, 14 Jun 2010 15:21:33 +0000 (18:21 +0300)]
Panagiotis Astithas [Mon, 14 Jun 2010 14:59:22 +0000 (17:59 +0300)]
Store and display the users that created and modified a file or folder.
Panagiotis Astithas [Mon, 14 Jun 2010 14:15:39 +0000 (17:15 +0300)]
Set the subfolders' parent on construction, since it's already known.
Panagiotis Astithas [Mon, 14 Jun 2010 14:00:44 +0000 (17:00 +0300)]
View the actual version contents when clicking on 'View this version'.
Panagiotis Astithas [Thu, 10 Jun 2010 09:19:00 +0000 (12:19 +0300)]
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.
The only mention of this issue was found in:
http://www.greenbytes.de/tech/webdav/webdav-redirector-list.html
Also, fix the display of the top-level directory name when deployed as the root context of the domain.
Natasa Kapravelou [Wed, 9 Jun 2010 14:23:18 +0000 (17:23 +0300)]
updateHistory removed from RestResource and other resources and implemented only in GSS updateHistory. New method constructUri implemented inside every Resource. Can't call the RestResource constructUri inside getTreeItem method in PopupTree. In case doing that all history navigation using browser's arrows is broken. Some NPE received in folders containing special characters (still searching why)
Panagiotis Astithas [Wed, 9 Jun 2010 10:15:17 +0000 (13:15 +0300)]
Disable unused caches.
Natasa Kapravelou [Wed, 9 Jun 2010 06:45:04 +0000 (09:45 +0300)]
merge with revision 605:
de6019500c15
Panagiotis Astithas [Fri, 4 Jun 2010 12:07:43 +0000 (15:07 +0300)]
The parent folder name is never send encoded.
Natasa Kapravelou [Thu, 3 Jun 2010 15:59:30 +0000 (18:59 +0300)]
another attempt to implement fetching the corresponding directory from a given uri. A getTreeItem method implemented in PopupTree as log as implementing the getName() in RestResource----needs improvement
Panagiotis Astithas [Thu, 3 Jun 2010 15:12:08 +0000 (18:12 +0300)]
Add a help menu item that leads to the quota upgrade page.
Panagiotis Astithas [Thu, 3 Jun 2010 14:50:09 +0000 (17:50 +0300)]
Stop fetching and checking the user affiliation, since we are not going to use it for determining its userclass.
Panagiotis Astithas [Thu, 3 Jun 2010 11:51:48 +0000 (14:51 +0300)]
Avoid a race that caused duplicate coupon class insertions, and remove a transactional call as a performance bonus.
Panagiotis Astithas [Thu, 3 Jun 2010 10:39:08 +0000 (13:39 +0300)]
Fix warnings.
Panagiotis Astithas [Thu, 3 Jun 2010 10:35:45 +0000 (13:35 +0300)]
Automated merge with https://gss.googlecode.com/hg/
Panagiotis Astithas [Thu, 3 Jun 2010 10:10:41 +0000 (13:10 +0300)]
Display the file URI unconditionally, since it can be now meaningfully used even when not public. Also reword the label and tooltip in order to be more evident for inexperienced users.
Natasa Kapravelou [Wed, 2 Jun 2010 15:34:42 +0000 (18:34 +0300)]
Automated merge with https://gss.googlecode.com/hg/
Natasa Kapravelou [Wed, 2 Jun 2010 15:34:28 +0000 (18:34 +0300)]
early commit - first attemp, regarding giving a uri and fetching the proper directory
Panagiotis Astithas [Wed, 2 Jun 2010 15:26:50 +0000 (18:26 +0300)]
Complete quota upgrades with coupons. Also fix equals() and hashCode() for Invitations to consider the name or its components.
Natasa Kapravelou [Wed, 2 Jun 2010 10:05:52 +0000 (13:05 +0300)]
commit after code review. 1.Abstract method changed. Abstract removed and a basic implementation added in the RestResouce thus it's implemented only in the necessary Resource classes 2.bad comments removed 3. methods constructPartialPath and containsFolder moved from PopupTree to FolderResource since only this class uses them
Natasa Kapravelou [Tue, 1 Jun 2010 15:27:00 +0000 (18:27 +0300)]
Automated merge with https://gss.googlecode.com/hg/
Natasa Kapravelou [Tue, 1 Jun 2010 15:26:48 +0000 (18:26 +0300)]
improved version of bug (almost)fix 371. Abstract methods implemented inside RestResource and therefore inside inherited resources in order if/else statements to be removed from PopupTree.java. The functionality remains the same (history support for folder navigation)
Panagiotis Astithas [Tue, 1 Jun 2010 14:57:38 +0000 (17:57 +0300)]
Fix warnings and simplify a method signature.
Panagiotis Astithas [Tue, 1 Jun 2010 14:46:47 +0000 (17:46 +0300)]
Automated merge with https://gss.googlecode.com/hg/
Panagiotis Astithas [Tue, 1 Jun 2010 14:46:32 +0000 (17:46 +0300)]
- 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.
Natasa Kapravelou [Tue, 1 Jun 2010 11:58:53 +0000 (14:58 +0300)]
Automated merge with https://gss.googlecode.com/hg/
Natasa Kapravelou [Tue, 1 Jun 2010 11:58:27 +0000 (14:58 +0300)]
Bugzilla – Bug 371, Add history support for folder navigation almost done. Issues listed for futher development 1.Forward navigation through Other's Shared folders. 2. Usual navigation problems with folder name '%' 3.Cross browser functionality check
Panagiotis Astithas [Thu, 27 May 2010 11:17:19 +0000 (14:17 +0300)]
Fix the owner permission removal check when updating folders as well, and add the empty permission check to that case, too.
Panagiotis Astithas [Thu, 27 May 2010 10:32:18 +0000 (13:32 +0300)]
- Use encodeComponent for encoding the new folder name in order to be compatible with the server.
- Style fixes.
Natasa Kapravelou [Tue, 25 May 2010 12:53:39 +0000 (15:53 +0300)]
Automated merge with https://gss.googlecode.com/hg/
Natasa Kapravelou [Tue, 25 May 2010 12:44:18 +0000 (15:44 +0300)]
trying to fix a build path error
Panagiotis Astithas [Tue, 25 May 2010 12:31:30 +0000 (15:31 +0300)]
Fix build path errors during the last merge and silence a few warnings.
Natasa Kapravelou [Tue, 25 May 2010 10:44:46 +0000 (13:44 +0300)]
Natasa Kapravelou [Tue, 25 May 2010 10:34:32 +0000 (13:34 +0300)]
Just before implementing the browser's history-not fully tested yet. Changes: GSS.java has been changed,i) in the first launch historyToken equals(Files), ii) History.addValueChangeHandler has been implemented and a Map collection has been used to store corresponding uri's/ TreeItem objects.Therefore, PopupTree.java has been updated to add the uri - TreeItem object pair to history map collection. Finally, a getPopupTree method has been added in the Folders.java that returns the PopupTree obj
Panagiotis Astithas [Fri, 21 May 2010 15:43:02 +0000 (18:43 +0300)]
Redirect to login for browser requests without a cookie present and also for requests with cookies but without the proper one.
Panagiotis Astithas [Thu, 20 May 2010 15:28:07 +0000 (18:28 +0300)]
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.
This should help spread the word about the service in a more viral way.