Commit Graph
100 Commits
Author SHA1 Message Date
Dominique.Fournier a8b527fbf4 Add tools/markdown.php
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2678 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-03-14 10:49:41 +00:00
Dominique.Fournier b8aae32c59 Add stats to domphptests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2676 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-03-14 10:48:53 +00:00
Dominique.Fournier 7a3bad0934 Update Tests to allow them to be parrallelized
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2675 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-03-14 10:18:37 +00:00
Dominique.Fournier 4356cb7c7d Add the domphptests ini file
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2672 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-03-14 08:59:49 +00:00
Dominique.Fournier e977f9dfa1 Update tests to remove the dependancy to configuration
Change the databases to be unique by test file


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2670 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-03-12 16:34:44 +00:00
Dominique.Fournier 3c133753ea Update locales
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2665 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-03-08 09:33:16 +00:00
Dominique.Fournier c8a4fc9bc2 Start packaging of 0.24 version
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2664 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-03-08 09:29:57 +00:00
Dominique.Fournier 5a1a015f11 config : if the default array "not configured" is not found, do not test the value
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2653 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-03-07 15:23:41 +00:00
Dominique.Fournier 83c3b46e87 Add domframework tools (for cli use)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2650 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-03-05 16:26:50 +00:00
Dominique.Fournier 089707e88f dbjson : the keys are the _id (no more N² searches)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2649 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-03-05 16:10:40 +00:00
Dominique.Fournier 29007c5afa config : allow to have the defaults params in ->get() in case of array without defined key
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2648 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-03-05 12:59:44 +00:00
Dominique.Fournier 84dbeb45ba dbjson : Use the $this->db instead of $data to store the database
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2647 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-03-05 10:42:21 +00:00
Dominique.Fournier 3dbcb5298e * BUG markdown : Example of cron configuration
* * * * * www-data /usr/share with 4 beginning spaces is not OK (remove
    all the stars and put a bullet)
  The lists (numbered or not) must start on first char


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2646 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-03-05 09:14:41 +00:00
Dominique.Fournier cd59ddf8d4 authldap : hide the error messages from ldap
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2619 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-03-03 09:27:22 +00:00
Dominique.Fournier 60c80c8351 cli.php : revert the last commit
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2591 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-29 13:42:27 +00:00
Dominique.Fournier 74f2810d9e Add the execution flag in SVN for cli.php
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2590 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-29 13:39:04 +00:00
Dominique.Fournier 7fad53016a dbjson : store the _id in key too (will be quicker when using indexes)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2584 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-28 19:25:01 +00:00
Dominique.Fournier 09c859ee98 dbjson : if the database is empty, allow to read it without error
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2583 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-27 16:54:46 +00:00
Dominique.Fournier 24f99e6a69 Update unit tests : $this->assertEquals -> $this->assertSame
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2563 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-25 08:40:53 +00:00
Dominique.Fournier 1ad99a3641 inifile : return an integer/float if the value is a number
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2562 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-25 08:37:00 +00:00
Dominique.Fournier e0b5b720c9 Add DBJSON support. DBJSON is a NoSQL database, writing the data in one file. There is no optimizations, so it is not quick, but it works on all the PHP sites
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2561 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-25 07:53:07 +00:00
Dominique.Fournier b847ec4261 authhtpasswd : Check if the first char exists before testing it
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2560 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-24 15:45:57 +00:00
Dominique.Fournier a88d8ed223 Start the version 0.24
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2554 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-23 13:56:27 +00:00
Dominique.Fournier 0f94754d62 Update locales
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2552 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-23 13:50:20 +00:00
Dominique.Fournier 3e96a6ed08 Update messages
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2551 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-23 13:48:20 +00:00
Dominique.Fournier 6cb1b2e17c Update changelog
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2550 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-23 13:45:24 +00:00
Dominique.Fournier 96737e4a0f Start 0.23 packaging
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2549 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-23 13:43:44 +00:00
Dominique.Fournier 019beadf57 dblayer : removing the unused create function (later than 0.8)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2548 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-23 13:41:20 +00:00
Dominique.Fournier 6b5056348b BUG Markdown : if an automatic URL have two underscores, the <em> work and the URL is incorrect
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2547 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-23 13:36:30 +00:00
Dominique.Fournier b6a8b728bd BUG Markdown : if an automatic URL have two underscores, the <em> work and the URL is incorrect
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2546 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-23 13:36:03 +00:00
Dominique.Fournier 1ae18596b1 Update unit test route : add a random ratelimit dir instead of data (to allow to restart the test from empty)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2545 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-23 12:41:32 +00:00
Dominique.Fournier e682e16f56 ratelimitfile : BUG must have the ratelimit.php included
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2544 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-23 12:36:16 +00:00
Dominique.Fournier 188ed7cd96 route : ratelimit the errors to not allow the hackers to brute force the backend
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2543 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-23 12:35:08 +00:00
Dominique.Fournier 9dbd64d6a2 ipaddresses : Add support to calculations on IP addresses
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2542 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-23 11:55:59 +00:00
Dominique.Fournier 01efb53dfa Check if all the translations are done by dgettext('domframework',
Update locales


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2541 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-23 10:27:18 +00:00
Dominique.Fournier 3a635ce39a form : add the javascript to focus on the first field if there is no error, or on the first error when there is one
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2534 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-23 08:53:30 +00:00
Dominique.Fournier 2e64755481 authzgroups : add the groupmembers by ID
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2528 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-22 15:53:19 +00:00
Dominique.Fournier 92a0fd8634 route : Pass to renderer the information concerning the routing and the exception
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2516 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-22 08:33:23 +00:00
Dominique.Fournier 38e4a43346 Update locales
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2514 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-21 19:45:27 +00:00
Dominique.Fournier 3d39037c5b Rename all the "informations" to "information"
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2513 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-21 19:25:55 +00:00
Dominique.Fournier c283362d05 Rename all the datas to data
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2512 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-21 19:21:29 +00:00
Dominique.Fournier 82f6f96c2e Remove start.php
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2511 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-21 19:14:27 +00:00
Dominique.Fournier e933491a27 Remove phpdox.xml
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2510 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-21 19:13:51 +00:00
Dominique.Fournier 060f47bce6 language : allow to force the language from anoter source than the cookie and the browser params
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2509 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-21 19:12:50 +00:00
Dominique.Fournier 79bae30807 Update language definition
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2467 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-17 13:41:10 +00:00
Dominique.Fournier d151ec2ee8 authzgroups : debug forget...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2455 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-15 15:10:04 +00:00
Dominique.Fournier 56975f22d4 authzgroups : the "right" alias is now between double-quotes to be compatible with MySQL
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2454 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-15 15:08:48 +00:00
Dominique.Fournier 0b950a315f authzgroups : Raise an exception if there is a SQL error
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2453 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-15 15:03:33 +00:00
Dominique.Fournier 083e803c09 Add inifile support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2409 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-12-08 15:19:19 +00:00
Dominique.Fournier cd50236528 Version 0.23 : Go !
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2395 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-11-13 14:48:08 +00:00
Dominique.Fournier 0b80c58282 Update month in changelog
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2390 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-11-13 12:37:23 +00:00
Dominique.Fournier 58a5649983 0.22 version
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2389 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-11-13 12:36:28 +00:00
Dominique.Fournier 0c3ecdde64 imap : sort the mails
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2388 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-11-13 12:36:07 +00:00
Dominique.Fournier de8bda851e form : add the placeholder support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2387 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-11-13 12:35:22 +00:00
Dominique.Fournier 56b08199ff Start the 0.22 version packaging
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2386 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-11-13 12:35:00 +00:00
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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