f653f938f8
dblayerauthzgroups : don't return the primary key field if it is added by the authorization process and not wanted by the user
Dominique Fournier2015-08-21 12:56:47 +00:00
3ad0a5d618
dblayerauthzgroups : define the setters of properties to allow chained ->
Dominique Fournier2015-08-21 12:08:46 +00:00
e6fca943f6
dblayer : define the setters of properties to allow chained ->
Dominique Fournier2015-08-21 12:08:20 +00:00
58f4e000b3
dblayerauthzgroups : add the support to dblayer with authzgroups right
Dominique Fournier2015-08-21 11:44:10 +00:00
162629f214
authzgroups : clear the local cache when there is an update in the objects/members/rights to reload the informations from the database
Dominique Fournier2015-08-21 09:53:33 +00:00
8bc3ded20b
authzgroups : if the provided object start by a slash, don't add it. authzgroups : add a local cache in the object, for the userrightsget, to not access to the database each time
Dominique Fournier2015-08-21 08:18:25 +00:00
2106eaf93d
language : add the languageSubTag function to the HTML tag
Dominique Fournier2015-08-20 13:29:00 +00:00
e780507897
unittests : complete unit test crash : missing a disconnect in dblayer tests
Dominique Fournier2015-08-20 12:32:29 +00:00
ec235d606d
dblayer tests : add the disconnect when needed to deconnect from the singleton
Dominique Fournier2015-08-20 12:21:19 +00:00
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
Dominique Fournier2015-08-20 12:19:58 +00:00
2238778dd6
authzgroups : the allow rights are tested and displayed only in debug mode
Dominique Fournier2015-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
Dominique Fournier2015-08-17 14:32:10 +00:00
bf4d1e036e
authzgroups : add the functions to check the accessRight, accessWrite, accessReadOnly
Dominique Fournier2015-08-17 12:10:21 +00:00
5d4eae4473
logger : allow to store the logs in session (to be readable in debug)
Dominique Fournier2015-08-17 12:07:58 +00:00
907e92ced8
authentication : better error management in configuration (Exception in case of errors).
Dominique Fournier2015-08-17 12:05:21 +00:00
521540bc1c
logger : add a <br/> to messages displayed on screen to allow the traces to be readable
Dominique Fournier2015-08-14 13:49:48 +00:00
9381836a32
start : move the language selector to be enabled in authentication page
Dominique Fournier2015-08-14 13:05:01 +00:00
78fe387468
renderer : display the flash informations automatically if it is defined. Allow to overwrite the layout page when calling the function
Dominique Fournier2015-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
Dominique Fournier2015-08-14 07:08:49 +00:00
0dff869ccd
outputhtml : add a basic HTML page when there is nothing declare
Dominique Fournier2015-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 !
Dominique Fournier2015-08-13 14:52:01 +00:00
ac0cf5a16b
logger : remove one backtrace step to have the right error log by default
Dominique Fournier2015-08-13 13:26:13 +00:00
e5d3f31100
authentication : add a REST/HTML authentication class to not reinvent the wheel each time
Dominique Fournier2015-08-13 13:00:00 +00:00
c08d504486
logger : add the support to catch all the trigger_error messages logger : add the backtraceDisplay conditionnal
Dominique Fournier2015-08-13 12:43:56 +00:00
93cf28ebfb
lockfile : better error message to found the class which generate the error
Dominique Fournier2015-08-13 09:50:04 +00:00
a98697b5f6
ratelimitfile : allow the lockfile to be in the same directory than the ratelimit files
Dominique Fournier2015-08-13 09:48:10 +00:00
8f9d404343
route : remove the automatic adding of the / to allow the redirect from word to word/ without error of loop
Dominique Fournier2015-08-10 14:31:16 +00:00
bd45fb2566
route : add the 'multi' method to allow multiple methods to be applied to the same route and function
Dominique Fournier2015-08-09 07:26:12 +00:00
ca9af5324e
route : add a message to errors when the Exception code is 0 and converted to 500
Dominique Fournier2015-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)
Dominique Fournier2015-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
Dominique Fournier2015-08-07 08:54:41 +00:00
83175e10b1
form : checkboxes : better management of defaults/values
Dominique Fournier2015-08-07 08:24:41 +00:00
20d58f427d
form : allow the checkboxes to be unique or multiple. Manage correctely the defaults/values
Dominique Fournier2015-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
Dominique Fournier2015-08-06 14:28:55 +00:00
52b0da9bc8
form : checkbox are not correctely aligned when using "<div class='checkbox'>"
Dominique Fournier2015-08-06 12:41:48 +00:00
8a7857e403
form : remove the \n after the help to have a beautiful HTML code
Dominique Fournier2015-08-06 12:10:44 +00:00
aa658fac3a
form : allow checkbox to be multiple (in an array) or simple (in text)
Dominique Fournier2015-08-06 12:06:56 +00:00
0a5d7edfad
form : display the help with the error if both are defined
Dominique Fournier2015-08-06 11:50:05 +00:00
59ae5b8e28
* form : don't allow to display a form without defined fields * form : add a "addfield" method to add a field in form * form : remove the in labels to be W3C compliant * form : rework the checkbox/radio to be compliant with bootstrap and ARIA * form : add the help support (which is hidden when there is an error)
Dominique Fournier2015-08-05 11:48:20 +00:00
8f1d5f9076
config : allow to force the configuration file when it is set in the object (and not use the default ones)
Dominique Fournier2015-05-18 12:40:58 +00:00
9f2cebdff8
outputtxt : allow the titles to be longer than the datas, without error
Dominique Fournier2015-05-13 13:25:47 +00:00
d88dbce612
form : remove the prefix, which is not compatible with the definition of values. The developper must use it's own prefix method
Dominique Fournier2015-05-12 14:30:06 +00:00
78d2d5e4ca
config : getAll function : return all the defined parameters
Dominique Fournier2015-05-12 12:09:21 +00:00
852bf162b4
config : trim the arrays contents to be correctely detected
Dominique Fournier2015-05-06 19:16:48 +00:00
6b21c41ff9
config : add the function docComment to read the parameters from the default config file. It permits to create easily the interface to configure the soft
Dominique Fournier2015-05-06 13:30:26 +00:00
a266381f34
logger : allow the facility and loglevel to be string. They are converted into integer before use
Dominique Fournier2015-05-05 12:29:08 +00:00
89e9c53a30
auth : if the user is already authenticated and the URL back is provided, add a link to the defined URL
Dominique Fournier2015-05-05 10:02:00 +00:00