Commit Graph

15 Commits

Author SHA1 Message Date
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
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
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
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