Commit Graph

489 Commits

Author SHA1 Message Date
94bc27f7d4 users/usersSQL : Add users storage in SQL and the users abstraction class
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2276 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-09-12 15:26:16 +00:00
800411803c dblayer : if the verify return an array with the field in key, the exception of update is now working
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2275 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-09-12 15:04:49 +00:00
56f7a1a0f0 dblayer : If provided select is not an array of array, throw an exception
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2274 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-09-12 14:51:21 +00:00
6fec924d11 dblayerauthzgroupsTest : add the authzgroups update in the tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2273 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-21 13:14:21 +00:00
cc41170136 Add dblayerauthzgroups unit tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2272 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-21 12:59:03 +00:00
f653f938f8 dblayerauthzgroups : don't return the primary key field if it is added by the authorization process and not wanted by the user
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2271 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-21 12:56:47 +00:00
3ad0a5d618 dblayerauthzgroups : define the setters of properties to allow chained ->
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2270 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-21 12:08:46 +00:00
e6fca943f6 dblayer : define the setters of properties to allow chained ->
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2269 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-21 12:08:20 +00:00
58f4e000b3 dblayerauthzgroups : add the support to dblayer with authzgroups right
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2268 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-21 11:44:10 +00:00
cfa429df0f dblayer : add the hookpreread and the hookpostread
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2267 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-21 11:43:18 +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
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2266 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-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


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2265 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-21 08:18:25 +00:00
2106eaf93d language : add the languageSubTag function to the HTML tag
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2264 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-20 13:29:00 +00:00
52b55e7ad3 Start 0.20 packaging
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2262 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-20 12:43:05 +00:00
e780507897 unittests : complete unit test crash : missing a disconnect in dblayer tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2261 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-20 12:32:29 +00:00
ec235d606d dblayer tests : add the disconnect when needed to deconnect from the singleton
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2260 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-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


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