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)
Automated merge with https://gss.googlecode.com/hg/
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....
View revisions
Also available in: Atom