Commit Graph

1446 Commits

Author SHA1 Message Date
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
3690760108 authzgroups : Better work in table creation (don't hang on first error when creating multiple times the tables)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1825 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-16 13:52:24 +00:00
41e8a4a876 route : Return to standard class : not not needed static
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1824 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-16 12:57:18 +00:00
d5aefa2b09 authparams : take the informations from session with the right name ("domframework)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1823 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-16 11:42:02 +00:00
a877f06fe9 authsession : add the capability to store the informations in session
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1822 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-16 11:41:01 +00:00
6d8a210beb BUG : auth : Add the path to the default login window to load the javascript
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1821 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-16 11:40:27 +00:00
3cd475a0d9 route : Add support to errors from the application
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1820 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-16 11:34:37 +00:00
75910359d9 route : Allow redirect from same URL to same URL if the method is changed
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1819 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-16 10:53:29 +00:00
4c0ffd38cd Version is going to 0.9
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1818 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-15 14:21:18 +00:00
29e92c1147 dblayer : reindent / add a todo
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1817 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-15 14:19:31 +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
5e93c78ddb dblayer : Force using UTF8 for MySQL and PostgreSQL
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1811 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-11 14:44:35 +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
b496dadc62 BUG : dblayer : allow to create more than one foreign key
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1808 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-10 14:41:22 +00:00
effbc9f4a8 Correct indentation error
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1807 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-10 11:38:30 +00:00
675ecee530 dblayer : Add support to OR in WHERE clause
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1806 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-10 11:13:57 +00:00
45a7fef578 Date in error in changelog
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1804 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-10 10:56:22 +00:00
10778560e9 Version 0.8 : changelog
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1803 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-10 10:55:32 +00:00
8fd5983e30 Start version 0.8 packaging
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1802 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-10 10:02:30 +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
0d0a366657 markdown : support of imbricated ul/ol entries with indentation
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1798 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-09 11:43:04 +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
941701004f Simplify the regex in markdown to found the emphasis strings
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1793 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-03 12:52:22 +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
a04b7c8aed Correct the emphasis when there is multiple underscore or stars : cut at the first _ not, the last
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1791 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-03 12:48:54 +00:00
ee8559b657 Add support to redirect permanently
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1790 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-03 12:23:28 +00:00
ab23aacb79 The mailtolink don't have the //
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1789 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-03 10:49:18 +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