Commit Graph

473 Commits

Author SHA1 Message Date
e0b6aa77d2 dblayer : add a Singleton to not reconnect each time we need to access the same database.
dblayer : add a method to disconnect the database engine
dblayer : add the transactions methods, linke in PDO
dblayer : remove the extension of PDO


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2259 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-20 12:19:58 +00:00
2238778dd6 authzgroups : the allow rights are tested and displayed only in debug mode
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2258 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-19 13:58:33 +00:00
2a145e4db4 authzgroups : remove a / if it is alone. Permit to check if the rights on / object is available
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2257 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-17 14:32:10 +00:00
bf4d1e036e authzgroups : add the functions to check the accessRight, accessWrite, accessReadOnly
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2256 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-17 12:10:21 +00:00
5d4eae4473 logger : allow to store the logs in session (to be readable in debug)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2255 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-17 12:07:58 +00:00
907e92ced8 authentication : better error management in configuration (Exception in case of errors).
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2254 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-17 12:05:21 +00:00
521540bc1c logger : add a <br/> to messages displayed on screen to allow the traces to be readable
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2253 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-14 13:49:48 +00:00
9381836a32 start : move the language selector to be enabled in authentication page
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2252 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-14 13:05:01 +00:00
4c029b5c10 verify : remove bad comment (DomDNS->DomFramework)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2251 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-14 13:00:38 +00:00
1e69b034b1 start : remove the NOTICE from the logs when we are in production
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2250 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-14 12:55:32 +00:00
c7e77ed060 logger : remove the [internal functions] (without file and line) from the logs
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2249 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-14 12:51:30 +00:00
df06e0951e version 0.20 : start !
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2248 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-14 09:58:45 +00:00
774bdb7df3 remove exmaples
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2246 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-14 09:29:35 +00:00
d40de10b79 update locales
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2245 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-14 09:28:48 +00:00
643d3d8ecd remove the examples
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2244 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-14 09:23:40 +00:00
1d72c8fb1d lintian : informations->information
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2243 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-14 09:07:22 +00:00
a3d4b3ef59 Version 0.19
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2242 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-14 09:06:04 +00:00
5f3e003b70 dblayer : create table : add "if not exists"
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2241 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-14 08:59:40 +00:00
782f37411b unittests : update outputhtmlTest
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2240 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-14 08:21:11 +00:00
1b1618595e start : remove the debug forced
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2239 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-14 07:12:47 +00:00
78fe387468 renderer : display the flash informations automatically if it is defined. Allow to overwrite the layout page when calling the function
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2238 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-14 07:10:32 +00:00
144842b4da route : allow the 401 error code to be redirected to an external URL to authenticate the user
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2237 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-14 07:08:49 +00:00
0dff869ccd outputhtml : add a basic HTML page when there is nothing declare
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2236 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-14 07:07:21 +00:00
4eff852e16 start : add the start file to easily start a new project. Copy the beginning of the file in a index.php file and that's all !
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2235 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-13 14:52:01 +00:00
e536e15009 auth : Add the application name in authentication panel
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2234 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-13 14:34:45 +00:00
ac0cf5a16b logger : remove one backtrace step to have the right error log by default
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2233 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-13 13:26:13 +00:00
e5d3f31100 authentication : add a REST/HTML authentication class to not reinvent the wheel each time
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2232 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-13 13:00:00 +00:00
c08d504486 logger : add the support to catch all the trigger_error messages
logger : add the backtraceDisplay conditionnal


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2231 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-13 12:43:56 +00:00
93cf28ebfb lockfile : better error message to found the class which generate the error
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2230 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-13 09:50:04 +00:00
a98697b5f6 ratelimitfile : allow the lockfile to be in the same directory than the ratelimit files
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2229 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-13 09:48:10 +00:00
b52ad9e970 language : add the languageName support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2228 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-11 09:57:56 +00:00
8f9d404343 route : remove the automatic adding of the / to allow the redirect from word to word/ without error of loop
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2227 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-10 14:31:16 +00:00
0053e3eb1a route : redirect to myself : code 400
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2226 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-10 14:11:53 +00:00
bd45fb2566 route : add the 'multi' method to allow multiple methods to be applied to the same route and function
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2225 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-09 07:26:12 +00:00
7aed0c63e1 form : variable typo
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2224 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-07 13:10:32 +00:00
25632eb4c8 form : allow to define the bootstrap width for titles and fields columns
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2223 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-07 12:54:16 +00:00
35f2002e3f route : remove a obsolete comment
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2222 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-07 09:54:53 +00:00
ca9af5324e route : add a message to errors when the Exception code is 0 and converted to 500
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2221 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-07 09:46:30 +00:00
be7085fd68 route : catch the http errors from PHP (with error code 0) as "Internal Server Error" (error code 500)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2220 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-07 09:39:06 +00:00
b189725fa2 form : the help are always in "text-muted" and not in error when there is a detected error
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2219 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-07 08:54:41 +00:00
83175e10b1 form : checkboxes : better management of defaults/values
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2218 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-07 08:24:41 +00:00
20d58f427d form : allow the checkboxes to be unique or multiple. Manage correctely the defaults/values
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2217 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-07 08:17:07 +00:00
a04807bf0b form : add support to save the values and errors to redisplay the form in without code line ! Just add "$form->saveValuesErrors ($values, $errors);" in post routing to save the data, and in get they will be automatically re-displayed
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2216 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-06 14:28:55 +00:00
52b0da9bc8 form : checkbox are not correctely aligned when using "<div class='checkbox'>"
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2215 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-06 12:41:48 +00:00
8a7857e403 form : remove the \n after the help to have a beautiful HTML code
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2214 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-06 12:10:44 +00:00
aa658fac3a form : allow checkbox to be multiple (in an array) or simple (in text)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2213 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-06 12:06:56 +00:00
0a5d7edfad form : display the help with the error if both are defined
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2212 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-06 11:50:05 +00:00
3ae5bcf8c3 form : comment update
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2211 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-05 12:08:53 +00:00
0077b21e43 route : the URL are decoded before providing the informations to map
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2210 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-05 11:49:22 +00:00
36afdf4322 version : 0.19
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2209 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-05 11:49:00 +00:00