Commit Graph

1457 Commits

Author SHA1 Message Date
13624b195c markdown : remove empty <p></p> sections
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1483 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-25 12:04:12 +00:00
197c9de161 Add short titles support (== TITRE -> h1, -- TITRE -> h2)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1482 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-24 12:17:54 +00:00
29bc34a07b Correct the HTTP return codes (401 only if not authorized, 405 in case of error)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1481 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-20 14:03:22 +00:00
bde592292a Preparing 0.3 version
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1479 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-20 13:28:14 +00:00
954fdfdfc0 Add Authorization in docs
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1478 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-20 13:25:31 +00:00
c2c5ea42ab Preparing version 0.3
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1477 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-20 13:19:27 +00:00
9718cfd5bc Modify comment : esthetics
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1476 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-20 13:17:57 +00:00
b30d0c9ec6 authorisationdb : remove all the sub-objects when removing one object
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1475 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-20 11:53:48 +00:00
f1ca57b4cb Do the chmod only if we are on linux and if we are the owner of the file
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1474 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-20 11:23:17 +00:00
d168f3a06f Force the SQLite database file in 0666 mode to be readable from CLI or Web site
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1473 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-20 11:16:42 +00:00
647e1603bd First version of authentication : storage in database and abstract class
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1471 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-18 20:21:28 +00:00
21964e47b0 Add directRead to dblayer to solve the problem of read with OR in WHERE clause
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1470 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-18 11:57:11 +00:00
280617b547 Add support to list of tables in dblayer for the 3 PDO engines
Add support to connect database


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1469 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-18 09:10:18 +00:00
9e2da45514 dblayers functions are now public
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1468 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-17 18:00:45 +00:00
e74bbf7369 Add initialize method in authorization
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1466 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-17 17:42:30 +00:00
971335fe5d Define the phpdoc configuration
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1465 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-16 13:50:53 +00:00
42bc4280a1 Typo
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1464 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-16 13:46:55 +00:00
027cbccdcf PHPDoc support : correct the erroneous entries
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1463 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-16 13:46:39 +00:00
679fa2c24a Exit of makePackageDebian if the compilation failed before launching lintian
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1452 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-13 09:45:58 +00:00
4a441c3154 Modify the makePackageDebian to have a version variable
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1451 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-13 09:45:19 +00:00
486b1ff921 Changelog too long
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1447 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-13 09:32:11 +00:00
d4e1de348c Prepare 0.2 version
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1445 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-13 09:16:56 +00:00
7e993d4007 out-of-date-standards-version : go to 3.9.5 version
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1444 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-13 09:12:53 +00:00
81e298a089 The createTable must use the class fields and not external variables. Easier !
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1443 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-12 14:39:44 +00:00
aa26715645 A variable was used without initialisation in CLI
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1440 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-12 14:17:17 +00:00
ab6a4715ac dblayer : Add foreign keys in creation of table
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1439 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-12 12:39:51 +00:00
1d1e0cb0b6 dblayer : Move unique fields in each SQL engine
bug dblayer : table name was alwas 'table' (missing $)
adding quotes arround unique fields to support spaces


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1438 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-12 12:00:52 +00:00
a1122a716c Add creationTable function for MySQL, SQLite and PostgreSQL
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1437 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-11 14:50:16 +00:00
87b4c843ef Add the public in functions of dblayer
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1436 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-11 12:23:19 +00:00
9ce72830e1 Removing TODO in docs : not in svn
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1430 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-05 20:19:54 +00:00
57ee35fb22 Fix error in unique fields validation
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1429 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-05 20:18:02 +00:00
3671350f7d Check before using if the SQLite database file is writeable and raise an exceptiion in case of error
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1423 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-05 12:27:36 +00:00
edb78f936c Force Foreignkeys support in SQLite (PRAGMA foreign_keys = ON;)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1422 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-05 11:19:33 +00:00
b7fe8ad341 Missing ! : not test of existing key in an array before update in dblayer
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1412 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-04 16:43:51 +00:00
c746d1fe4b Error in debian watch
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1411 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-04 12:31:33 +00:00
2e8dd883d2 Add a PDO exception if PDO has a problem
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1408 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-04 12:17:22 +00:00
65b83208f7 Install the domframework in /usr/share/php/domframework
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1407 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-04 11:36:14 +00:00
b1e9abdcae Forgot a dns in framework
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1405 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-03 14:37:22 +00:00
7025795c23 Add debian package to domframework
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1404 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-03 14:35:55 +00:00
cec5c60e83 Add a 3600s timeout on the CSRF token
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1377 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-01 09:10:27 +00:00
5deed571ec Don't display an error if the headers are already sent
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1375 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-01 08:17:49 +00:00
9398370664 Catch the non catched exception in routes and display them in Internal server error
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1374 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-01 07:53:46 +00:00
3ec8e3f052 Add forms in documentation
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1373 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-01 07:37:46 +00:00
cba4fcc57c Add CSRF support in form
Get the values provided by the user with a method with CSRF validation
Remove the verify support as it is not used (and it use eval function which is evil)


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1371 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-01 06:03:52 +00:00
a2e0be173f Typo : start -> star
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1370 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-01 04:39:44 +00:00
20db47f64f Bug inserted in last commit : the dash in parameters is converted in array in place to be read as string
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1366 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-05-28 17:45:53 +00:00
a0a5cade28 Remove warning in CLI usage
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1365 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-05-28 14:19:09 +00:00
db9554facc Add mandatory field option to display a red star for mandatory fields
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1352 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-05-22 14:42:21 +00:00
f87874ca03 Don't look at & in stdin entries in CLI
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1343 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-05-22 09:17:53 +00:00
02b6d20908 Add the PHP version in 5.2 minimum
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1342 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-05-21 21:09:43 +00:00