~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/filesystem/browser/media/browser.js

  • Committer: William Grant
  • Date: 2009-02-23 23:47:02 UTC
  • mfrom: (1099.1.211 new-dispatch)
  • Revision ID: grantw@unimelb.edu.au-20090223234702-db4b1llly46ignwo
Merge from lp:~ivle-dev/ivle/new-dispatch.

Pretty much everything changes. Reread the setup docs. Backup your databases.
Every file is now in a different installed location, the configuration system
is rewritten, the dispatch system is rewritten, URLs are different, the
database is different, worksheets and exercises are no longer on the
filesystem, we use a templating engine, jail service protocols are rewritten,
we don't repeat ourselves, we have authorization rewritten, phpBB is gone,
and probably lots of other things that I cannot remember.

This is certainly the biggest commit I have ever made, and hopefully
the largest I ever will.

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
default_type_icon = "txt.png";
56
56
 
57
57
/* Relative to IVLE root */
58
 
type_icons_path = "media/images/mime";
59
 
type_icons_path_large = "media/images/mime/large";
 
58
type_icons_path = "+media/ivle.webapp.core/images/mime";
 
59
type_icons_path_large = "+media/ivle.webapp.core/images/mime/large";
60
60
 
61
61
/* Mapping SVN status to icons, just the file's basename */
62
62
svn_icons = {
87
87
default_svn_icon = null;
88
88
default_svn_nice = "Unknown status";
89
89
 
90
 
svn_icons_path = "media/images/svn";
 
90
svn_icons_path = "+media/ivle.webapp.core/images/svn";
91
91
 
92
 
published_icon = "media/images/interface/published.png";
 
92
published_icon = "+media/ivle.webapp.core/images/interface/published.png";
93
93
 
94
94
/* List of MIME types considered "executable" by the system.
95
95
 * Executable files offer a "run" link, implying that the "serve"
835
835
        action_unpublish(selected_files);
836
836
        break;
837
837
    case "share":
838
 
        //alert("Not yet implemented: Sharing files");
839
 
        window.open(public_app_path(serve_app, current_path, filename), 'share')
 
838
        window.open(public_app_path("~" + current_path, filename), 'share')
840
839
        break;
841
840
    case "submit":
842
841
        // TODO