Commit Graph

6820 Commits

Author SHA1 Message Date
Damien Churchill b724f74700 web: drop JSLoader extension
Ext now includes an Ext.Loader class that can load scripts so this
extra extension to do so is surplurfluous.
2011-10-05 23:31:41 +01:00
Damien Churchill d44a357284 web: fix the sidebar and filterpanels
The filters in the sidebar can now be switch between finally. It
was down to the setTitle method overwriting whatever the accordion
layout was adding in.
2011-10-05 02:31:51 +01:00
Damien Churchill d6715fcbb9 web: fix the filterpanel column width
Set flex = 1 on the column so it auto expands to take up the
entire available width.
2011-10-05 02:21:06 +01:00
Damien Churchill 2853d028fd web: more progressbar fixes
Fix displaying the progress bars within the peers tab, also
reduce the modifier so that the bars don't overflow their
containers.
2011-10-05 02:05:58 +01:00
Damien Churchill 4ab5c6d9de web: fix selecting the active tab
Fix selecting the active tab in the details panel, it seems that
the activeTab property wasn't working so explicitly call
setActiveTab after adding in the various panels.
2011-10-05 01:54:33 +01:00
Damien Churchill f53dc5faaf web: random fixes
Just a bunch of random fixes to improve the situation whilst
trying to convert over to extjs4.
2011-10-05 01:41:49 +01:00
Damien Churchill c46bc049d1 web: add files resource to the web server
Add a files resource that allows Ext to fetch the file tree via
one of it's ajax proxies.
2011-10-05 01:40:40 +01:00
Damien Churchill 39d19b5afd web: ensure torrent keys are always str
Make sure that we aren't sending unicode strings as keys, always
map them with str.
2011-10-05 01:40:40 +01:00
Damien Churchill e8506b925f web: fix the progressbar renderer
Modify our progress bar renderer so it uses the new ext style
and actually creates a progress bar now :-)
2011-10-05 01:40:40 +01:00
Damien Churchill eb9071fcb0 web: add a secure decorator to the auth module
This new decorator will make it easy to secure the render method
of twisted resources as we will be adding a fair few as more of
the interface moves to use ajax requests over json-rpc.
2011-10-05 01:38:37 +01:00
Damien Churchill 9362ec0103 ui: add a new file tree geared towards ext
Add a new file tree that is more suited to created a tree that
an ext proxy will be able to load and convert into a data store.
This file tree also has an improved file tree walk method that
uses generators instead of callbacks.
2011-10-05 01:38:37 +01:00
Damien Churchill fe0332bccf web: allow the peers grid to be stateful
Give the peers grid an id so it can store it's state and be
guaranteed to be able to restore it upon a refresh.
2011-10-05 01:38:37 +01:00
Damien Churchill 64bacbfbf4 web: support using localStorage for state
This adds support for checking to see if the browser supports
the HTML5 localStorage, if so use that instead of cookies for
storing the UI state.
2011-10-05 01:38:37 +01:00
Damien Churchill 280377ad6f web: convert the peers tab to use an ext proxy
Instead of fetching the peer information via a rpc call simply
expose it as a fetching page via ajax so we can make use of
the Ext proxy and reader instead of manually loading it into
the store ourselves.
2011-10-05 01:38:37 +01:00
Damien Churchill 0c3d2322cc web: add loading mask
Add a loading mask that hides the loading of the interface with
some text and a nice ajax spinner. The situation can be further
improved by loading all of the scripts and other resources
dynamically, which will be added later.
2011-10-05 01:36:58 +01:00
Damien Churchill 07b6db0c98 web: update to extjs 4.0.2a 2011-10-05 01:36:58 +01:00
Damien Churchill 713953ec03 web: fix the toolbar actions
Use the proper method for getting the torrent ids instead of the
implementation within the toolbar. Using the one on the torrent
grid will be more likely to work.
2011-10-05 01:36:58 +01:00
Damien Churchill 6324737031 web: simple formatting change
Nicely space out a few dictionaries so they are easier on the
eye when reading the code.
2011-10-05 01:36:58 +01:00
Damien Churchill 428681aca3 webui: use the getId method in the details panel
Before we were using the id property which seems to have been
deprecated and wasn't returning the actual id. Switching to
use the getId() method returns the correct id (the torrent hash)
so grabbing the torrent details starts working again for the
details tabs.
2011-10-05 01:36:57 +01:00
Damien Churchill 317e9ee423 webui: fix the details tab
The path to DomHelper isn't working, so fix that, and also update
the copyright notices.
2011-10-05 01:36:57 +01:00
Damien Churchill 08e774bbda webui: fix displaying the torrent context menu
The event name and arguments has changed, as well as the response
from getPoint, nothing major.
2011-10-05 01:36:57 +01:00
Damien Churchill 43cb787b44 webui: fix closing the connection manager
Don't override the onHide method in the ConnectionManager, this
was stopping the window from being able to close.
2011-10-05 01:36:57 +01:00
Damien Churchill fb8f1e7ebc web: fix the FilterPanel to a degree
This finishes converting the FilterPanel to use the new data stuff
from ExtJS4 as well as switching from a listview to a gridview.
Currently the Sidebar is still broken.
2011-10-05 01:36:57 +01:00
Damien Churchill 881bcee160 web: fix starting/stopping daemons
Just a simple change from listview to gridview here.
2011-10-05 01:36:57 +01:00
Damien Churchill 42b8af25aa milestone number 1, web interface loads now 2011-10-05 01:36:57 +01:00
Damien Churchill bf4b826809 webui: fix the login window
The login window now functions correctly under ExtJS 4.0.
2011-10-05 01:36:57 +01:00
Damien Churchill 8ae14de208 webui: fix up the connection manager
Partially fix the connection manager so it now displays correctly
on first load. A lot of the functionality needs to be changed
due to the list -> grid migration.
2011-10-05 01:36:57 +01:00
Damien Churchill 5b45670a85 webui: first commit where the interface loads
At this point the interface loads, but it is misshapen and needs a lot more
work to get it fully extjs 4.0 compatible.
2011-10-05 01:36:57 +01:00
Damien Churchill 6cdf9940d3 add extjs javascript files too 2011-10-05 01:31:14 +01:00
Damien Churchill 8b69d66bae tidy up some deferred stuff 2011-10-05 01:31:13 +01:00
Damien Churchill 3ee434975c upgrade to extjs 4.0.2 2011-10-05 01:31:13 +01:00
Damien Churchill dda4620d98 remove and update the ext-extensions 2011-10-05 01:31:13 +01:00
Damien Churchill 7ac0083239 remove more extensions that have been moved into core 2011-10-05 01:31:13 +01:00
Damien Churchill 6ae58248a1 remove the treegrid extensions as they are now included with extjs 2011-10-05 01:31:12 +01:00
Damien Churchill 1c78bcbb29 upgrade to extjs4 2011-10-05 01:31:12 +01:00
Andrew Resch 7227c97cac Fix typo in Windows shutdown handler 2011-08-08 10:42:29 -07:00
Pedro Algarvio 4fcfb677a4 Allow changing ownership even though the owner column is not visible. 2011-08-03 11:59:42 +01:00
Andrew Resch 808ff02130 Fix path for desktop file 2011-07-29 20:56:48 -07:00
Calum Lind 08a0a2de99 Fix i18n sub-dir issue in gitignore 2011-07-28 22:56:22 +01:00
Andrew Resch fd56ccaabf Fix .desktop file creation on Windows by just ignoring it 2011-07-28 22:53:40 +01:00
Calum Lind cebddf9c79 Add my name to author list 2011-07-22 19:29:32 +01:00
Andrew Resch e9b602d85f Update windows setting 2011-07-19 16:50:56 -07:00
Calum Lind 5b2d37954c Add intltool to dependencies 2011-07-13 23:27:00 +01:00
Calum Lind fcc13f454b Fix torrent file and folder renaming issues
Adds `sanitize_filepath` for use before passing to libtorrent rename_file
2011-07-13 22:44:13 +01:00
Calum Lind 15ef668fef Localize the Desktop file
Conflicts:

	setup.py
2011-07-13 21:49:25 +01:00
Calum Lind bf145c0715 Option tab spin buttons connected to key press events 2011-07-11 17:23:42 +01:00
Calum Lind 192f3d88e5 set spinbuttons numeric only 2011-07-11 16:27:48 +01:00
Pedro Algarvio d9cf3a8c08 Remove un-needed signal handlers. 2011-07-11 15:15:45 +01:00
Calum Lind a41b1357b5 Update translations files 2011-07-11 14:27:08 +01:00
Pedro Algarvio c3c21dae72 More missing(?) signal handlers. Refs #1891. 2011-07-10 23:24:10 +01:00