539344ccd1
Updated Logger to use new database apis
Ben Roberts2010-04-03 22:59:53 +01:00
85f488bdb5
Added update method to database class
Ben Roberts2010-04-03 22:58:49 +01:00
df818037f2
Added class to handle running tasks in the background
Ben Roberts2010-04-03 22:57:58 +01:00
b0c6302538
Added support for redirects in Page class
Ben Roberts2010-04-03 22:57:15 +01:00
df5721181f
Added stack trace to exception page
Ben Roberts2010-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
Ben Roberts2010-03-23 02:06:37 +00:00
ecea94cd5e
Added links to source details and setup rip pages
Ben Roberts2010-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
Ben Roberts2010-03-23 02:03:45 +00:00
ce8b93aad9
Added InvalidParameters exception InvalidParameters exception to be used when a page should be aborted because the parameters are malformed.
Ben Roberts2010-03-23 01:58:22 +00:00
0b5d37b62c
Placeholder admin settings management page
Ben Roberts2010-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
Ben Roberts2010-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.
Ben Roberts2010-03-23 01:54:42 +00:00
71537ef20b
Renamed browse subdir to rips, and fixed links
Ben Roberts2010-03-22 19:59:28 +00:00
a5330c67bc
Merge branch 'webui' of git.sihnon.net:/home/git/public/dev into webui
Ben Roberts2010-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
Ben Roberts2010-03-21 23:16:56 +00:00
b166e125f5
Added cache specific exceptions. Tidied up exception class hierarchy
Ben Roberts2010-03-21 23:16:09 +00:00
0d4ae9e9ef
Added caching to Sources Added caching to Sources. Updated the source browser to mark sources which are still cached
Ben Roberts2010-03-21 23:16:56 +00:00
dd273fc664
Added cluster specific exceptions. Tidied up exception class hierarchy
Ben Roberts2010-03-21 23:16:09 +00:00
a5b57b3f44
Added a simple cache implementation
Ben Roberts2010-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
Ben Roberts2010-03-21 16:12:21 +00:00
0477d7363f
Fixed bug where empty request string would fail
Ben Roberts2010-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.
Ben Roberts2010-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
Ben Roberts2010-03-21 03:21:08 +00:00
5bb99c0f58
Added sidebar link to source browser
Ben Roberts2010-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.
Ben Roberts2010-03-21 02:46:31 +00:00
835609a2c9
Added source browser Added a SourceLister class, which enumerates all DVD folders below a given starting directory. Added a source browse page to list the available sources
Ben Roberts2010-03-21 02:14:41 +00:00
48e596841a
Fixed inheritence of HBC exception classes
Ben Roberts2010-03-21 01:45:09 +00:00
86d8d65dd8
Improved request parser to support subdirectories Leading components in the request string are checked to see if they match template subdirectories before looking for valid page names. Index files are checked if the request string ends on a valid subdirectory If no valid page is found within a subdirectory, the last name is rechecked to see if it was a valid page file
Ben Roberts2010-03-21 01:35:48 +00:00
3cbc12e918
Merge branch 'webui' of git.sihnon.net:/home/git/public/dev into webui
Ben Roberts2010-03-21 00:44:00 +00:00
611182d09e
Improved template handling with exceptions The Page class is now responsible for executing the subpage template rather than the index file. Template processing has been improved with exceptions to catch 404s, or any other template exception, which will abort the current page and display an error document instead.
Ben Roberts2010-03-21 00:21:04 +00:00
c17e3f0e04
Improved template handling with exceptions The Page class is now responsible for executing the subpage template rather than the index file. Template processing has been improved with exceptions to catch 404s, or any other template exception, which will abort the current page and display an error document instead.
Ben Roberts2010-03-21 00:21:04 +00:00
42268af1c7
Added eclipse metadata to git ignore
Ben Roberts2010-03-19 16:38:05 +00:00
69cead4ca3
Updated all page templates Log page now displays recent log entries Job Details page now shows job-specific log entries. Jobs page lists all jobs in the database, while homepage lists all running/completed/failed jobs in groups
Ben Roberts2010-03-18 02:05:32 +00:00
9af46a1c5d
Removed unwanted CSS class to highlight table rows
Ben Roberts2010-03-18 02:04:56 +00:00
0becbddf84
Ignoring temp and local config files in repo
Ben Roberts2010-03-18 02:04:09 +00:00
a9ebf6e0cb
Core class updates Improved database abstraction class to support insert and select queries in various forms. Added classes for pulling log entries back out of the database. Updated Job class to describe a known job in the database, and added JobStatus to track status updates on jobs. Updated Config class to connect to the database, and load all settings on startup. Improved the class autoloader to support Exceptions in a single file as a special case, and added this file.
Ben Roberts2010-03-18 02:00:53 +00:00
3603445a5b
Made the template code file optional The template code file (stored in pages/) is no longer required
Ben Roberts2010-03-17 02:54:17 +00:00
23a5590131
Job details page shows the job id, fixed bug Job details page now shows the id number for the current job, reading it from the URL using the RequestParser Fixed a bug where if no query string was provided (index.php was accessed directly) then a blank pagename was used (instead of 'home') and an exception was thrown.
Ben Roberts2010-03-17 02:49:57 +00:00
8db695166e
Initial commit of HandBrakeCluster PHP framework Replaced dodgy placeholder with a set of PHP classes for displaying a HandBrake webui. Current code uses Smarty as a templating engine, and includes an ugly but functional set of pages. The HandBrake classes are at present only placeholders, and offer no real functionality. Working class autoloader for the HandBrakeCluster_ hierarchy.
Ben Roberts2010-03-17 02:29:12 +00:00
5b09ef44aa
Initial commit for a page to list running jobs
Ben Roberts2010-03-01 22:31:46 +00:00