d6c2c1b9b3
Added optional limits to Job Lists and hid dummy
...
Added optional limit to the number of jobs retrieved for a given status.
Added conditions to hide a dummy job used to keep the database
consistent when logging client-side info not tied to a specific job.
2010-08-22 22:59:49 +01:00
0ca5a716d6
Updated SourceLister to use DvdDirectoryIterator
...
Greatly simplified the code to list DVD source directories using
iterator class.
2010-08-22 22:58:31 +01:00
3c9129657d
Fixed bugs in ForegroundTask runner
...
Fixed bugs and tidied code.
2010-08-22 22:57:49 +01:00
9d244ce5ed
Added utility file iterator filters
...
Added SPL iterator filters to quickly and easily list visible files,
class files, and DVD source directories.
2010-08-22 22:56:44 +01:00
83bb33c5e4
WIP new Worker class and worker shell script
2010-08-14 18:24:49 +01:00
474cfb2853
Updated logging to support multiple tables
2010-08-14 18:24:15 +01:00
ca9abf66f5
Added ForegroundTask class
...
New class to run a command in the foreground, and process the stdout and
stderr output streams.
2010-08-14 18:22:53 +01:00
76f2c4790d
Reorganised code layout
...
Separated class library and web interface code
Added a common config/database config to be referenced by all
subprojects
Fixed previous commit
2010-08-14 15:36:31 +01:00
5aa4bf11c7
Various UI improvements
2010-08-14 12:19:50 +01:00
a5282ebe5a
Fix issue with input/ouput filenames
...
Current version of the worker script expects the input and output
filenames as whole strings not constituent parts. Altered the Job class
to pass the filenames in as the expected format.
2010-06-08 22:23:18 +01:00
65f2bbeb80
Update rip setup page with clearer UI and bug fixes
2010-06-08 21:26:18 +01:00
6b0017c5b8
Update database with rip progress
...
Changes the status to RUNNING when the task is queued in Gearman, and
updates the progress information each time gearman reports a status
update.
2010-06-08 21:23:42 +01:00
41e09ff440
Display rip progress on Job status page
2010-06-08 21:21:26 +01:00
04c95c6940
Added mtime support to Job Status object
...
Added a modified time column to the Job Status table and updated code to
match.
2010-06-08 21:18:32 +01:00
9cf50b9cfd
Fixed bug in Job factory method
...
Factory method failed to return the newly created object. Fixed.
2010-06-08 21:16:49 +01:00
ca852d57d4
Added missing table row around heading cells
2010-06-08 18:07:22 +01:00
9881fb7cea
Added UI for additional rip options
2010-06-08 18:04:14 +01:00
aba31daaa0
Fixed typo in exception class name
2010-04-26 23:40:32 +01:00
2f86156561
Updated source/rips and jobs pages to reflect code changes
2010-04-03 23:06:34 +01:00
3121de74cc
Background client script for clustered rip jobs
2010-04-03 23:05:53 +01:00
8e5e05fdea
Only display template if Page execution was successful
2010-04-03 23:05:13 +01:00
817b4b6388
Updated job and source classes
2010-04-03 23:02:50 +01:00
539344ccd1
Updated Logger to use new database apis
2010-04-03 22:59:53 +01:00
85f488bdb5
Added update method to database class
2010-04-03 22:58:49 +01:00
df818037f2
Added class to handle running tasks in the background
2010-04-03 22:57:58 +01:00
b0c6302538
Added support for redirects in Page class
2010-04-03 22:57:15 +01:00
df5721181f
Added stack trace to exception page
2010-04-03 22:51:22 +01:00
7632741d86
Added setup-rip page to configure new rip task
...
Added method to Source to identify the longest title in a source
2010-03-23 02:06:37 +00:00
ecea94cd5e
Added links to source details and setup rip pages
2010-03-23 02:06:21 +00:00
0ed82f8b1f
Added warning if exception details are displayed
...
Added a warning to disable exception details in prouction mode, and a
link to an admin settings page to disable the setting if required
2010-03-23 02:03:45 +00:00
7b96040e17
Fixed jquery include paths
2010-03-23 02:03:18 +00:00
ce8b93aad9
Added InvalidParameters exception
...
InvalidParameters exception to be used when a page should be aborted
because the parameters are malformed.
2010-03-23 01:58:22 +00:00
0b5d37b62c
Placeholder admin settings management page
2010-03-23 01:57:27 +00:00
8caf48f53b
Improved support for page parameters
...
The get method accepts a default value/exception to be thrown if the requested variable does not exist (similar semantics to HBC_Main::isset)
The last request string component is stripped if it is empty
The last request string variable is now given default value of true if no value is specified
2010-03-23 01:56:50 +00:00
ddbaf0022b
Added isset method
...
Returns the first parameter if it is set, otherwise returns the default value
unless the default value is the name of a valid HBC Exception class, in which case an instance of that exception is thrown.
2010-03-23 01:54:42 +00:00
048bcbd74f
Added jQuery UI 3rdparty lib
2010-03-22 21:00:05 +00:00
512350c37c
Added jQuery 3rdparty lib
2010-03-22 20:32:18 +00:00
71537ef20b
Renamed browse subdir to rips, and fixed links
2010-03-22 19:59:28 +00:00
a5330c67bc
Merge branch 'webui' of git.sihnon.net:/home/git/public/dev into webui
2010-03-21 23:22:47 +00:00
648968bcb7
Added caching to Sources
...
Added caching to Sources.
Updated the source browser to mark sources which are still cached
2010-03-21 23:22:29 +00:00
b166e125f5
Added cache specific exceptions.
...
Tidied up exception class hierarchy
2010-03-21 23:22:16 +00:00
0d4ae9e9ef
Added caching to Sources
...
Added caching to Sources.
Updated the source browser to mark sources which are still cached
2010-03-21 23:16:56 +00:00
dd273fc664
Added cluster specific exceptions.
...
Tidied up exception class hierarchy
2010-03-21 23:16:09 +00:00
a5b57b3f44
Added a simple cache implementation
2010-03-21 23:14:22 +00:00
50283e9a9b
Implemented HBC parser to read all useful info about titles
...
Titles, chapters, audio and subtitle streams and metadata are now parsed from the handbrakecli output into title objects.
Source-details page now renders this info
2010-03-21 16:12:21 +00:00
0477d7363f
Fixed bug where empty request string would fail
2010-03-21 13:30:38 +00:00
ed3ef8c01d
Fixed call to handbrake, and printout of response
...
Added an ignore on 'lost+found' directories in the Source Lister, since
by default only root has access to this dir, which was causing
permission denied errors.
2010-03-21 03:43:47 +00:00
3207c28b5c
Added Source class to parse HandBrake output
...
Added a Source class which executes HandBrake -t 0 to list the available titles and streams in a given source.
Added a placeholder on the source-details page to display HandBrake output
2010-03-21 03:21:08 +00:00
5bb99c0f58
Added sidebar link to source browser
2010-03-21 02:55:35 +00:00
b26367e953
Added a page to display details about a source
...
Placeholder source detail page which checks that the source is valid and lies below the configured rips.source_dir.
2010-03-21 02:46:31 +00:00