History | View | Annotate | Download (9.6 kB)
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
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....
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)
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
early commit - first attemp, regarding giving a uri and fetching the proper directory
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
Automated merge with https://gss.googlecode.com/hg/
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.
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 build path errors during the last merge and silence a few warnings.
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
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
Changes in PopupTree.java in order to catch user's selection and present it in the browser url. not completed yet
Formating commit. Comments fixed after code review. 1. Added a 2010 entry in copyright notice in GSS.java and also in PopupTree.java 2. Removed unnecessary comments in GSS.java 3. Code layout fixed for JSNI code 4. comment layout fixed in PopupTree.java line 181
PopupTree.java changed and works for left folders menu. User's current selection in Folders is shown in the browser's address bar. Bug: it doesn't work when Trash / Other's Shared is selected
GSS.java changes to show user's selection in browser's addressPopupTree.java method on selection not completedTestUri.java test class
use http caching by using IF-MODIFIED-SINCE HEADERS and handling response accordingly
right click selection for folder tree
moved towards gwt version 2.0 - updated dnd to version 3 -removed all deprecations
Fix warnings.
Remove the redundant gss top-level directory.