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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
6aea199040
unit tests : update the tests to route to be compliant with mod_rewrite or not
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2157 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-05-07 13:38:22 +00:00
b80f9ecdea
BUG : dblayer : don't raise an exception when re-inserting unique record
...
dblayer : add more unit tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1850 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-24 09:13:18 +00:00
98439d0279
authzgroups : Return RW if just the leaf is RW and not all the members of the path
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1845 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-22 11:34:28 +00:00
b034fa3625
dblayer : add more debug
...
dblayer : add more unit tests (foreign keys)
dblayer : add the same answer when updating a line with the same informations
dblayer : better support of foreign keys
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1842 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-22 10:52:53 +00:00
b0ebf14791
dblayer : test unit for UNIQUE entries
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1839 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-19 11:19:36 +00:00
3602924fbb
dblayer : add more unit tests
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1830 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-19 07:23:29 +00:00
6f2bf60e3f
Add the first version of authzgroups.php with associated tests
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1816 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-15 14:18:39 +00:00
46e47fad63
Don't save in SVN the automatically created test files
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1814 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-12 14:33:24 +00:00
2c21043a9e
BUG : dblayer : UPDATE can now update the table primary key too
...
dblayer : add support of the differents field separator (choosed by DB engine)
Add more unit tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1813 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-12 14:14:26 +00:00
b2264440a4
dblayer : add more unittests
...
dblayer : add compatibility in column names with MySQL and SQLite
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1812 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-12 12:56:18 +00:00
2a4468cdd0
First version of tests for dblayer with support of 3 db engines. The tests files are generated from dblayerComplet
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1810 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-11 14:33:47 +00:00
50c328cdd6
BUG : dblayer : allow to prepare the SQL with fields containing spaces
...
BUG : dblayer : add more unit tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1809 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-11 13:05:53 +00:00
6869b6310a
Add support of variables in layout
...
Add unit tests associated
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1801 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-10 09:33:01 +00:00
6386af1397
Add more markdown tests
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1800 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-09 11:51:25 +00:00
18191c5459
Update Markdown tests
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1799 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-09 11:49:29 +00:00
70166c82d6
Remove debug from one markdown test
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1797 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-03 15:00:49 +00:00
3f0adcdf11
Markdown : add a space in the middle of two concatanated lines
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1796 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-03 15:00:17 +00:00
20d4c4ec57
Markdown : Add space between the lines when a paragraph continues
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1795 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-03 13:34:28 +00:00
54d2616b1c
Correct the test of markdown
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1794 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-03 13:20:57 +00:00
5315e46fc1
Add more Markdown unittests
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1792 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-03 12:51:35 +00:00
cb363f2b02
Add markdown tests
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1788 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-03 09:22:07 +00:00
c6587aeb11
Test of cachefile should be done in /tmp
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1654 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-08-01 12:52:43 +00:00
45b70602a7
Add Unit Tests
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1653 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-08-01 12:48:37 +00:00
086e2d1bcf
Correct the autoload for Unit Tests
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1652 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-08-01 12:47:21 +00:00
9fef934b71
Cosmetics : remove spaces at the end of lines and correct lines with more than 80 chars
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1643 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-08-01 07:11:14 +00:00
2f1c06a53a
The routeTest was incorrect : the SERVER_PORT is a string, not an integer
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1578 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-27 09:37:08 +00:00
f08221a9cd
Update the tests for cachefile
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1555 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-25 16:12:15 +00:00
0d36aa7b47
Rename cacheFileTest in cachefileTest
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1554 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-25 16:11:18 +00:00
11624f512b
First version of cacheFile with associated tests
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1550 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-25 09:59:33 +00:00
87cb2d4fcf
markdown allow a good indentation in ul/li.
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1511 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-01 12:27:50 +00:00
0b8eede15c
markdown : BUG : in code, don't allow to have list. Just code !
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1509 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-30 14:33:09 +00:00
980d68d2f1
Add markdown phpunit tests
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1506 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-30 10:40:15 +00:00
a404db66d8
Tests : don't remove $_SERVER variable
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1502 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-27 12:59:28 +00:00