Commit Graph

282 Commits

Author SHA1 Message Date
ca850bd05b Add locale to Debian package
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1943 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-01-27 10:46:05 +00:00
c738f49efd Add header in cachefile
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1936 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-01-27 08:48:39 +00:00
d8ac7cfc34 Start the 0.12 version
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1934 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-01-27 01:45:55 +00:00
0b17469544 Version 0.11 of Domframework :
* BUG dblayer : check if the unique multiple values are not used before
    updating
  * BUG Markdown : Two automatic links on the same line are not correct, the
    regex must be Ungreedy
  * BUG route : if using modules, the redirect was wrong
  * form : the submit text can be defined in the label too
  * form : add the hidden support to the fields
  * BUG dblayer : Add support to ordering if column name is 'group' by using the
    separator (need by SQLite)
  * HTTP authentication : return an exception with 401 to allow the browser to
    authenticate. Allow the REST API to work by catching the error instead of
    die


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1932 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-01-27 01:33:47 +00:00
619da88365 Update locale files
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1931 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-01-27 01:29:21 +00:00
25da18512f Start process of creating new version : 0.11 !
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1930 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-01-26 20:10:21 +00:00
9a244e5082 If the authentication is incorrect, return an Exception instead of die : can be catched by the routing engine to display the authentication page if needed
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1929 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-01-26 20:08:01 +00:00
117341590d authzgroups : sort object when reading them
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1919 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-01-07 03:31:04 +00:00
fdf1e9e6f1 authzgroups : add rights support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1918 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-01-07 03:26:38 +00:00
53cd221538 DBLayer : Allow the order of column with name 'group' by adding separator
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1917 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-01-07 03:23:34 +00:00
82b35c115c Forec auth to CLI when using CLI
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1907 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-01-06 09:12:26 +00:00
7ef00c046f outputhtml : Add module support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1875 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-11-20 20:04:14 +00:00
a9295d0fe5 form : the submit text can be defined in the label too
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1874 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-11-20 20:02:43 +00:00
c333b251d6 form : add hidden support to fields
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1873 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-11-20 19:56:01 +00:00
14e7ccc08f authzgroups : add ByID in object Del/update support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1871 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-11-20 15:54:23 +00:00
25c015d22a authzgroups : Add titles in Objects
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1870 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-11-20 15:36:44 +00:00
59f443994e authzgroups : verifygroups can be updated
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1869 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-11-20 14:16:32 +00:00
8e772f8418 authzgroups : Add ByID support in place of unique group support by name
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1868 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-11-20 14:02:46 +00:00
6b9198f27c Form : CSRF createToken return now the token calculated
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1867 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-11-20 13:44:22 +00:00
83f2c6e980 route : Correct redirect when using modules
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1866 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-11-20 10:46:46 +00:00
8c1dbc8229 markdown : The automatic URL are now restricted to allow more than one URL by line
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1865 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-11-18 13:54:12 +00:00
b4a21057cd Add phpdox.xml file to allow phpdox analyze
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1864 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-11-18 09:27:56 +00:00
f0239ae314 markdown : Add phpdoc description
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1863 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-11-18 09:27:05 +00:00
aec8a0deb2 markdown : Add function debug
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1862 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-11-16 16:25:10 +00:00
153c58a39c dblayer : Check before update if multiple unique keys are not used before doing the update
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1858 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-10-02 13:57:19 +00:00
0b08bfa5de Start Version 0.10
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1854 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-26 14:31:12 +00:00
8b86ff4059 route : Remove old and comment and unused function
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1853 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-24 11:26:44 +00:00
56b26d0439 Version should return 0.10
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1851 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-24 11:09:40 +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
f05a5c0cda Typo in changelog
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1847 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-22 14:05:44 +00:00
4091757e65 Start of 0.10 version packaging
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1846 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-22 14:04:59 +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
6e97bad1f7 dblayer : foreign keys are not mandatory in update (in verify)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1844 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-22 11:32:54 +00:00
5085627b1d dblayer : be OK if the error of dblayer is an array or a string
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1843 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-22 11:18:35 +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
19966c094c dblayer : force the autoincrement values in INSERT to be compliant with our tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1841 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-19 12:22:20 +00:00
6d789a1651 dblayer : force the autoincrement fields to null in insert to have a value
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1840 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-19 12:19:44 +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
02bc20dd5d dblayer : correct tue verify in updates : must pass the key
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1838 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-19 11:07:29 +00:00
e81452a782 Remove the field name in tests : it is in the key
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1837 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-19 08:54:52 +00:00
ac15d8b3c3 Add translation to new dblayers
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1836 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-19 08:52:35 +00:00
92202c8f17 Correct typo
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1835 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-19 08:41:08 +00:00
c71452932f dblayer : return the verify result with priority
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1834 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-19 08:38:07 +00:00
853280c19d authparams : in CLI, return the user "cli"
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1833 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-19 07:29:23 +00:00
b2b1048bee authzgroups : add titles translation to definition of tables to be easily integrated
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1832 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-19 07:28:02 +00:00
a09ce0f6c3 outputhtml : permit to get the information to display from the view in array mode (wait for a title and a content).
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1831 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-19 07:25:29 +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
7df93f95db dblayer : push the verify before insert/update in a public method, callable from in HTML before doing the work. Keep the verifications before doing the real modification of the database
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1829 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-19 07:23:06 +00:00
a1c5a35899 dblayer : allow the titles to be defined in public variable in plus of a function which can be overloaded
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1828 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-17 13:54:02 +00:00
e6b0a396e4 route : Add an error management in all the cases of routing. It is possible to use an external error page too.
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1827 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-17 12:55:53 +00:00