Fix in displaying the proper shared folders for the owner in 'My Shared' view.This solves Issue 33.
Fix on Issue 17. On uploading a file, the file's readForAll value is inherited from the folder it is contained.
Allow public folders and all of the containing subfolders and files to be available in a web page.
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
Fix the case where in the userFullNameMap, that stores user's full name along with the userName, contains only username in both key-value pair. In this case the Map is updated with the new userFullName value. This solves Issue 16.
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.
Complete the code that allows the deletion of group permissions in files and/or folders when the group is deleted.
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.
Minor fixes and remove logging
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
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)
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.
Fixed typo
minor code fixes on displaying the full name in ACL
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.
the new command added to the repo
A new Command(GetUserFullName) was implemented in order to fetch user's full name out of the user name.
Automated merge with https://gss.googlecode.com/hg/
display tags issues - another try
Inline the tags and separate them with commas to hint on their impportance as separators.
Support console.log() besides console.debug() in DisplayHelper.log().
fixing 'All tags' display version 2 - add a new css class named 'gss-tag'
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.
fixing All tags display
Fix updates for folders named '%'.
Convert tag buttons to links. This solves issue 22
-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
Display the version number in the web client and set the next release to become 1.2.
- 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...
Explicitly activate the user on creation and don't rely on the DB to do it.
Simplify the content type conditional and make sure resource representation choice is independent of the access privileges.
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
first commit - display public's folder contents as a web page
Forbid logins from disabled users.
Add a Report Bug menu item, so that users will find it easier to report bugs.
Reject invalid resource names, like '.' and '..' in both server and web client. This fixes issue 19.
Make the warning message more informative.
Fix silent NPE due to auto-unboxing.
The public flag, as well as all resource properties, are nouns, not verbs.
Consider the folder public flag when checking for authorization permissions.
Fix copy & paste typos (file -> folder).
slight display changes
Merge with 66f69a7348ed1a0de9113a64025721fcc6e68b84
-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 modelPublic 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
- 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.
first commit of adding the public feature to folder / readForAll on each folder
Avoid a NPE when the client doesn't send a Content-Type header.
Use a more friendly message for status 503.
change visibility modifier for handleSpecialFolderNames method from public to private
remove unnecessary logging
allow the proper completion of the given url for cases such as Trash, My Shared, Other's Shared.
Minor fix. In case of a bad typed url home folder is selected instead of Trash folder in previous version
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
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....
merge with 5302e019c665
Store and display the users that created and modified a file or folder.
Set the subfolders' parent on construction, since it's already known.
View the actual version contents when clicking on 'View this version'.
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....
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)
merge with revision 605:de6019500c15
The parent folder name is never send encoded.
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
Add a help menu item that leads to the quota upgrade page.
Stop fetching and checking the user affiliation, since we are not going to use it for determining its userclass.
Avoid a race that caused duplicate coupon class insertions, and remove a transactional call as a performance bonus.
Fix warnings.
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.
early commit - first attemp, regarding giving a uri and fetching the proper directory
Complete quota upgrades with coupons. Also fix equals() and hashCode() for Invitations to consider the name or its components.
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
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)
Fix warnings and simplify a method signature.
- 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.
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
Fix the owner permission removal check when updating folders as well, and add the empty permission check to that case, too.
- Use encodeComponent for encoding the new folder name in order to be compatible with the server.- Style fixes.
Fix build path errors during the last merge and silence a few warnings.
merge with 51a2069b54c1
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
Redirect to login for browser requests without a cookie present and also for requests with cookies but without the proper one.
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....
Simplify a method call.
Fix more than 100 warnings.
Don't allow usernames with spaces.
Only clear the cookie when the user logs out. This way a user only needs to login once per session and the site appears more web-like. This was not possible before the SSL transport was present, since the token would be exposed to eavesdroppers.
Fix warnings and stop complaining about parameter assignment. We're not eleven.
New javascript method Trim added in DisplayHelper that trim not only whitespaces but also nbsp. Continue modifying the PopupTree in order to show the correct URI in browsers address bar. Not completed yet since the encoding need revision and history hasnot implemented yet. Add a new condition check in FileMenu.java that checks when the Upload option should be available (related to Issue 9 bug), no completed since in Trash/foo_folder the option of New Folder/Upload should not be available
Fix the check for removed owner permissions.
Handle metadata updates even if they are sent with application/x-www/form-urlencoded content type.