e17ec390a2
Better support of exceptions catch by routing. The HTML page is valid, with UTF-8 support and Noindexes for robots
Dominique Fournier2014-08-07 09:24:22 +00:00
05e817fa44
Add the language in $GLOBALS variable to be easily use in views
Dominique Fournier2014-08-06 14:16:05 +00:00
e0b87e6670
Update the language.php file to support domframework domain. Temporaly remove the link cache support (use clearstatcache instead)
Dominique Fournier2014-08-06 13:49:20 +00:00
7afa8bfc54
dblayer : Add better error messages (gettext, Exception code, field name) dblayer : Add support to date type
Dominique Fournier2014-07-30 11:49:36 +00:00
725356dda0
Allow the configuration file to be defined by a PHP constant for phpunit
Dominique Fournier2014-07-30 11:28:56 +00:00
8f9e540a4a
dblayer : Simplify the prefix table code (all the calls are the same)
Dominique Fournier2014-07-30 08:24:12 +00:00
7c935b49ef
dblayer : Add the prefix support in tables name dblayer : Add $table public attribute in the definition
Dominique Fournier2014-07-30 06:31:04 +00:00
8e5824a503
cacheoutput : If the TTL is 0, disable the cache in file correctely
Dominique Fournier2014-07-28 18:18:13 +00:00
b20c47c884
Version 0.5 * dblayer : Add a check before using unique/foreign to be sure that the field to be linked is in the fields array * dblayer : rename the function create to insert. Keep the create temporaly to be compliant with old soft * Create the phpunit tests : just run "phpunit" from the root directory * route : baseURL/requestURL : missing port when using not standard port * PHP Strict Standards: Only variables should be passed by reference in cli.php on line 151 (on debian, whith ./cli/cli.php records) * Add support to variables in the renderer. They will be availabe to the view to be trated as needed * Add support to cache in file (anything can be cached) * Add support to easy cache HTML pages * Route : remove port in baseURL if it is the standard port (http->80, https->443) * cachefile : run the garbage collector each request (it will be skipped if it is run too early, before 24h)
Dominique Fournier2014-07-28 11:46:13 +00:00
414610db41
dblayer : Add test of foreign keys before INSERT or UPDATE. Reject with an exception if the foreign key doesn't exists
Dominique Fournier2014-07-28 10:13:51 +00:00
2f1c06a53a
The routeTest was incorrect : the SERVER_PORT is a string, not an integer
Dominique Fournier2014-07-27 09:37:08 +00:00
3a35351199
Remove the ports in baseURL if it is the standard port (80 for http, 443 for https)
Dominique Fournier2014-07-27 09:29:02 +00:00
7d90d6fba8
Renderer : Update docs to add the variable support to view
Dominique Fournier2014-07-20 20:39:30 +00:00
8612a760ba
Add the variables support to the renderer : we can send datas variable to the view and the view can manage them. The Search/Replacement feature continue to be available
Dominique Fournier2014-07-20 20:37:44 +00:00
386f490481
Add the code coverage to phpunit. Need to be launch with phpunit --coverage-text or phpunit --coverage-html=/tmp/cover
Dominique Fournier2014-07-01 11:26:50 +00:00
0b8eede15c
markdown : BUG : in code, don't allow to have list. Just code !
Dominique Fournier2014-06-30 14:33:09 +00:00
4191996006
markdown : BUG : Errors in \n in return markdown : BUG : Error if code section starting at the top of text markdown : All the actual phpunit tests are good
Dominique Fournier2014-06-30 10:39:47 +00:00
284a4e2c5e
BUG : the ### TITLEx doesn't work caused by the search empty line at the ned and at the start of the regex
Dominique Fournier2014-06-25 19:35:29 +00:00
3116a1f5c3
Correct the code when it finished the file : no blank line
Dominique Fournier2014-06-25 19:19:19 +00:00
01b95a2b95
BUG : * * * - - - shoud be SEPARATORS BUG : the mails/url are not working caused by htmlentities
Dominique Fournier2014-06-25 14:30:55 +00:00
5f81675c8b
markdown : remove the left spaces in the beginning of lines as it is not necessary. Not use ltrim to conserve the indent in the codes
Dominique Fournier2014-06-25 13:59:45 +00:00