J. King
8a0d021622
More User tests and resultant fixes
8 years ago
Dustin Wilson
e5d825d360
Started integration of PicoFeed
• Integrated PicoFeed into Database->subscriptionAdd
• Added exception handling for feeds
• Added static method for formatting SQL dates into Db/Common
8 years ago
J. King
8db31cf3e4
Tweaked Lang; added comments and tests
Tweaks:
- get() method can now report loaded and well as wanted locale
- msg() passed without vars still gets formatted to catch malformed strings
- set('en', false) followed by set('en', true) will now immediately load
- Lang::$synched was not getting set to true properly
Tests:
- Added test for get()
- Added test for malformed strings (exception code was missing)
- Added test for missing strings
- Added test for strings taking variables not being passed any variables
8 years ago
Dustin Wilson
c5fac33398
Converted all hard tabs to soft tabs
8 years ago
J. King
c8274eca74
Moved base exception code to abstract class
This allows differentiating specific and general exceptions in tests; a library-wide trap would have to trap AbstractException
8 years ago
J. King
c213b5928d
move code out of vendor tree into lib
8 years ago
J. King
849294d082
Clean up test names; add Lang & Exception tests
8 years ago
J. King
2c134c76dc
Basic tests for exceptions
8 years ago
J. King
f78048317e
Refactor language test boilerplate into trait
8 years ago
J. King
f16e490141
First set of unit tests for Conf.php
8 years ago
J. King
9ed4bb6f5b
Added authorization checks throughout
8 years ago
J. King
646b44c9cf
Functioning (but still incomplete) user management
8 years ago
J. King
7a66b28310
Added database exception error codes
8 years ago
J. King
6ffe942f99
SQLite3 database driver in working condition
PDO stub for now; other drivers to come
8 years ago
J. King
db0bd18663
Localization class, and other improvements
Language file format will almost certainly change
8 years ago