Commit Graph

142 Commits

Author SHA1 Message Date
2b41be35ff The caches can be read or write by anybody to be usable in CLI in plus of Apache
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1557 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-25 16:24:38 +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
18d9f3f73f Update name of class in cachefile
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1553 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-25 16:10:13 +00:00
eededab422 Rename cacheFile in cachefile to be consistent with all domframework
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1552 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-25 16:09:53 +00:00
92fbf288f7 Rework of blog example to be compliant with version of domframework
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1551 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-25 12:40:19 +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
7d90d6fba8 Renderer : Update docs to add the variable support to view
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1532 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-20 20:39:30 +00:00
8612a760ba Add the variables support to the renderer : we can send datas variable to the view and the view can manage them. The Search/Replacement feature continue to be available
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1531 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-20 20:37:44 +00:00
09e5365124 cli : BUG : Removing Strict Standard warning
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1513 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-01 16:26:37 +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
386f490481 Add the code coverage to phpunit. Need to be launch with phpunit --coverage-text or phpunit --coverage-html=/tmp/cover
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1510 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-01 11:26: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
18fe0913ae markdown : BUG : Correct the "code" section : don't allow ul/li in codes, print */- normally
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1508 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-30 12:11:52 +00:00
9ef7095303 markdown : BUG in Sharp Titles (if not ending by #, the title is not discovered)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1507 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-30 11:24:57 +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
4191996006 markdown : BUG : Errors in \n in return
markdown : BUG : Error if code section starting at the top of text
markdown : All the actual phpunit tests are good


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1505 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-30 10:39:47 +00:00
0823d36cd6 markdown : correct partial testTitleSharp : removing unwanted ending space
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1504 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-30 07:46:03 +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
052a8a8d1a Add PHPUnit tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1501 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-27 11:57:45 +00:00
884da19d71 route : Correct support of SERVER_PORT
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1500 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-27 11:56:27 +00:00
fef26c83a6 Add ports in routing module
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1499 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-27 09:21:04 +00:00
40b9ac1015 Add port in URL to the routing module
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1498 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-27 09:18:17 +00:00
136790a988 route : BUG : Add server port in routing to be used in VPN
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1497 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-27 08:52:29 +00:00
2ad181d97b Preparing the 0.4 version
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1494 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-27 08:02:12 +00:00
7e4102d103 Allow characters with # in the titles
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1493 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-25 20:24:36 +00:00
2c4e69f62e Markdown : be compatible with ul or li
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1492 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-25 19:45:21 +00:00
284a4e2c5e BUG : the ### TITLEx doesn't work caused by the search empty line at the ned and at the start of the regex
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1491 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-25 19:35:29 +00:00
3116a1f5c3 Correct the code when it finished the file : no blank line
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1490 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-25 19:19:19 +00:00
86bb25a688 the right file to debug markdown
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1489 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-25 19:04:16 +00:00
94b77ec490 Removing correctely the debug file (only if it exists)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1488 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-25 18:58:47 +00:00
8834797041 markdown : BUG : - line1\nline2 : should be the continuity of <li>, not <p>
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1487 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-25 17:54:11 +00:00
738c9132b3 markdown : Correct the <hr> stack (too much <p></p>)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1486 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-25 14:44:41 +00:00
01b95a2b95 BUG : * * * - - - shoud be SEPARATORS
BUG : the mails/url are not working caused by htmlentities


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1485 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-25 14:30:55 +00:00
5f81675c8b markdown : remove the left spaces in the beginning of lines as it is not necessary. Not use ltrim to conserve the indent in the codes
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1484 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-25 13:59:45 +00:00
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