231 Commits

Author SHA1 Message Date
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
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
2010-03-21 02:14:41 +00:00
48e596841a Fixed inheritence of HBC exception classes 2010-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
2010-03-21 01:35:48 +00:00
3cbc12e918 Merge branch 'webui' of git.sihnon.net:/home/git/public/dev into webui 2010-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.
2010-03-21 00:39:53 +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.
2010-03-21 00:21:04 +00:00
42268af1c7 Added eclipse metadata to git ignore 2010-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
2010-03-18 02:05:32 +00:00
9af46a1c5d Removed unwanted CSS class to highlight table rows 2010-03-18 02:04:56 +00:00
0becbddf84 Ignoring temp and local config files in repo 2010-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.
2010-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
2010-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.
2010-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.
2010-03-17 02:29:12 +00:00
5b09ef44aa Initial commit for a page to list running jobs 2010-03-01 22:31:46 +00:00