664d5e6923
Expose backend listUsers via Auth class
2011-12-20 00:33:53 +00:00
e30535f88b
Expose changePassword() method through the Auth object
2011-12-19 19:29:02 +00:00
414b696f60
Fix bug in save() method's UPDATE query generation
2011-12-19 19:28:40 +00:00
aaf19079bb
Catch unknown user errors on failed login
2011-12-19 16:06:12 +00:00
d92cc576d7
Initial commit of Session/Authentication code
...
Plugin architecture with single Database-backed implementation.
2011-12-19 12:13:14 +00:00
5b72a8a206
Update Page to support processed includes
...
Permit inclusion of templates through the templating code, rather than
through smarty.
2011-12-19 12:07:12 +00:00
537583a231
Add DatabaseObject base class
...
DatabaseObject exposes common behaviours for database table wrapper
classes.
2011-12-19 12:00:08 +00:00
bc154dd1c8
Add shortfile option for console logging
...
To reduce the width of console log messages, add an field to display the
filename without full path info.
2011-12-13 01:23:02 +00:00
d7dfdadc14
Upgrade BackgroundTask to support modified environment
2011-10-06 22:54:07 +01:00
de1519c5bb
Merge branch 'develop' of git+ssh://git.sihnon.net/home/git/public/sihnon-php-lib into develop
2011-10-02 23:10:07 +01:00
90f190578d
Update formatDuration to support fuzzy times
2011-09-24 18:16:55 +01:00
6c5596e436
Add support for hashes in the Config class.
2011-09-24 16:13:23 +01:00
0fb3284403
Check for config or environment variable defining base directory
2011-08-29 23:46:07 +01:00
b8dfca3aa5
Add support for renaming config settings
2011-08-29 19:19:29 +01:00
01d97bface
Add support for removing config settings
2011-08-28 16:18:25 +01:00
faf8806472
Add write support to Config backends with add/set methods
2011-08-28 13:01:56 +01:00
da746cb118
Bug fixes: remove debug output, return values from functions
2011-08-28 13:01:17 +01:00
f0012d7be2
Add method to verify user input exists as class constant of given type
2011-08-28 12:58:47 +01:00
23cca3ff74
Fix double-slash bug in absolute url generation
2011-08-22 18:44:41 +01:00
24b2c837eb
Prevent non-error logs being fatal if logging not initialised
2011-08-21 16:10:55 +01:00
2f076848ea
Bug fix for errors thrown during Log initialisation
2011-08-21 11:30:23 +01:00
2781b63b68
Bug fixes to reduce logging-related crashes
...
* Provide a method for plugins to report failure to initialise
* Check plugins initialised properly before adding to list of logging
backends
* Check the logger is available before trying to log a message
(might cause bugs if errors are logged very early in initialisation)
2011-08-20 11:34:29 +01:00
fc33112097
Check for gone-away database server and reconnect
...
Should stop the worker process crashing if mysql closes the connection
due to timeout.
2011-08-13 13:06:02 +01:00
294679567f
Fix bug following hostname/progname alterations
2011-08-07 15:52:50 +01:00
04de50cecd
Add Syslog logging backend
2011-08-06 14:51:51 +01:00
87b0789137
Fix log handling of hostname and progname
...
Log classes previously assumed all logs to be sourced from the local
machine with no program name set. This change adds support to read/set
the program name, and ensures the hostname/program name are properly
tracked into and out of the database.
2011-08-06 14:49:11 +01:00
f7b5947863
Merge branch 'master' of git+ssh://git.sihnon.net/home/git/public/sihnon-php-lib
2011-06-26 18:25:12 +01:00
a3d684bdb3
Added gitignore to mask configuration files in test dir
2011-06-26 18:24:42 +01:00
7d3f730fa2
Add test cases. Requires installation of config.php and settings.txt
2011-06-26 18:23:28 +01:00
d41ee43e51
Remove project metadata files inadvertantly committed
2011-06-26 18:22:14 +01:00
0510a86c01
Update autoloader to handle loading files outside the app
...
Previously would fail to load PEAR classes if one of the base prefixes
was redeclared, e.g. Net_*.
2011-06-26 18:15:31 +01:00
05464cb189
Updated makeAbsoluteUrl to handle already absolute paths
2011-06-26 18:12:50 +01:00
d31613c9ec
Additional tests for HTTPS in redirects
2011-06-19 01:47:06 +01:00
5735e0df75
Fix redirection to https:// links
2011-06-19 00:56:52 +01:00
a96b3599c8
Updates Page/RequestParser to support custom directory structures
2011-06-15 21:20:07 +01:00
4604a57434
Add logging to backtround task
2011-04-25 00:44:42 +01:00
e2648d4c08
Add custom error handler to log through new logging code
2011-04-25 00:43:46 +01:00
0260adb4b4
Bug fix in database query construction
2011-04-25 00:42:52 +01:00
e343457d43
Files missed from previous commit
2011-04-24 11:16:36 +01:00
e1cb31e5ca
Refactor of logging code to suport multiple log engines
2011-04-24 10:37:15 +01:00
ab127e93e8
Removed "logging started" message
2011-04-22 00:41:18 +01:00
75c6ff2ad8
Bug fixes
2011-04-22 00:26:07 +01:00
177ed337b0
Modifications to make RippingCluster code work
2011-04-21 23:33:21 +01:00
998a9d958f
Imported Page/RequestParser classes for page templating.
...
Added formatFilesize method to Main class
2011-01-16 22:46:34 +00:00
67397fd776
Adds a DirectoryFilter IteratorFilter to match subdirectories
2010-10-11 23:05:57 +01:00
6d1705f5a9
Updates class autoloader to use class_alias
...
Makes Exceptions extend the base classes, rather than the subclasses to
avoid class redefinition errors.
Makes PluginFactories define the interface using the base class rather
than a subclass to avoid class_implements() to fail by testing for a
class not in the hierarchy.
2010-10-11 23:04:20 +01:00
f592abe15f
Merge branch 'feature-multiple-autoloader-bases'
2010-10-10 20:50:39 +01:00
d6eb1aa5ed
Implements multiple autoloader tree support
...
Additional class prefixes can be registered with the class autoloader.
Also supports subclass trees, which override base classes with stub class support,
in exactly the same way SihnonFramework and Sihnon classes are loaded.
2010-10-10 20:49:57 +01:00
4bbe036f70
Merge branch 'feature-subclass'
2010-10-10 18:40:05 +01:00
81521eae5f
Updates framework to support automated framework subclasses
...
All framework classes have been renamed to use the SihnonFramework_ prefix.
The class autoloader now looks for subclasses of the framework classes in the Sihnon_Lib directory, and
automatically creates them if they don't exist. The autoloader correctly creates interfaces and abstract
classes as needed, by using reflection to check the type of the parent class.
All references to classes within the framework now use the Sihnon_ prefix.
The PluginFactory supports multiple scan directories, and will search both the framework and subclass class
tree to find candidate plugins.
2010-10-10 18:32:16 +01:00