343fd33545
dblayer : support of null data was not working in insert/update
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2381 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-11-13 10:58:16 +00:00
afb69d0487
route : require_once instead of require !
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2380 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-11-13 10:19:50 +00:00
20fa98ce60
imap : the cert validation switch was not functionnal
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2378 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-10-25 15:29:46 +00:00
d52e9432f4
route : when a 401 error is thrown, request the WWW-Authentication
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2377 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-10-25 14:48:21 +00:00
67b1d771ac
imap : if there is an authentication, return an exception with 401 code
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2376 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-10-23 12:53:51 +00:00
64c1130fa7
The output* can't exit or the unittest crash. Put an exception
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2375 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-10-23 12:53:13 +00:00
2fec89d95f
route : route allow now to get the information from a return in the function of map and display it with the provided output type (json, html, xml, text).
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2374 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-10-23 12:24:51 +00:00
1726abd0a5
route : multi now return $this to be chainnable
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2373 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-10-23 09:23:58 +00:00
9523dbdc6a
outputhtml : display the result, not return it ! (and adapt the unit tests accordinally)
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2372 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-10-23 08:51:38 +00:00
34322f8540
imap : allow the imap class to be extendend -> The constructor doesn't do anything except calling 'connect' method. The connect can be used by child class, if the constructor of the child is override the imap constructor
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2371 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-10-22 12:00:09 +00:00
223c36251a
Add imap and authimap support
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2370 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-10-21 12:49:10 +00:00
23bfc34f1a
route : allow the routing to be chained : return $this each time
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2369 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-10-19 09:29:31 +00:00
4d8ee4bd8d
dblayerauthzgroups : allow the user to be provided by auth object directely
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2368 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-10-14 06:33:24 +00:00
eb039e5c94
Start the 0.22 version life
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2367 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-10-14 06:04:11 +00:00
a59fb58381
Version 0.21 package
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2365 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-10-14 05:59:25 +00:00
c421d73749
dblayer : correct the regression introduced in 2362
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2364 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-10-14 05:55:40 +00:00
d2bba22013
cli : don't display the private/protected methods, they can't be called
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2363 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-10-14 05:44:17 +00:00
bb2dbb6dae
dblayer : datas -> data
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2362 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-10-13 16:13:50 +00:00
4c5e06011b
cli : if no controller or models exists, return nothing in listonly mode (bash_completion)
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2361 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-10-13 16:03:44 +00:00
37c8f4a443
cli : the classes displayed by -list option have now the \\ instead of \ to be easier to collate in shell
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2324 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-09-25 11:52:35 +00:00
6ddce8a705
Remove debug in cli-completion
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2323 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-09-25 09:40:10 +00:00
da21d8ba8d
Typo in calculation
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2322 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-09-25 09:38:59 +00:00
242996154e
cli-completion : rewrite completely the program
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2321 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-09-25 09:35:48 +00:00
937f071960
cli : add support to namespaces
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2292 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-09-17 13:20:58 +00:00
5d679872ff
users : error of copy/paste. Thanks phpunit tests !
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2280 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-09-12 18:52:42 +00:00
9be561212b
authhtpasswd : Add support to authenticate the user from a .htpasswd file, created by "htpasswd" command. Allow to add easily a new user if the admin password is lost
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2279 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-09-12 17:08:32 +00:00
6c43b65a8c
users : don't allow colon (:) in fields
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2278 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-09-12 15:54:06 +00:00
93bf0cf482
Add Tests/userssqlTest.php
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2277 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-09-12 15:27:44 +00:00
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