Commit Graph
100 Commits
Author SHA1 Message Date
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 91cc086b67 * Markdown : remove http:// mandatory in links : can be relative !
* Markdown : add image support (http://daringfireball.net/projects/markdown/syntax )


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1787 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-03 09:21:48 +00:00
Dominique.Fournier 8d7f1549e8 Display the call stack in Expert mode of CLI
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1747 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-08-21 09:42:59 +00:00
Dominique.Fournier 080d0c2e16 Add a space in place of dash
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1734 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-08-19 09:17:40 +00:00
Dominique.Fournier 526349a5d4 Add the error level in cli
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1733 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-08-19 09:17:00 +00:00
Dominique.Fournier 8056491a1a Add error management in CLI (display the trigger_errors in stderr)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1732 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-08-19 09:05:55 +00:00
Dominique.Fournier 9eb50a537e Correct path : bash-completion must be in /etc/bash_completion.d/
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1724 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-08-18 12:08:17 +00:00
Dominique.Fournier 53f192f23c Add bash-completion support to CLI
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1723 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-08-18 12:00:52 +00:00
Dominique.Fournier a886b63eb3 Allow to display the controllers and the methods line by line to be parseable
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1722 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-08-18 09:53:04 +00:00
Dominique.Fournier 33e87e33de Add Exception code in dblayer
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1701 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-08-11 14:59:17 +00:00
Dominique.Fournier 96be9dfc1b Starting version 0.7 release process
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1684 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-08-08 08:43:17 +00:00
Dominique.Fournier e17ec390a2 Better support of exceptions catch by routing. The HTML page is valid, with UTF-8 support and Noindexes for robots
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1671 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-08-07 09:24:22 +00:00
Dominique.Fournier 05e817fa44 Add the language in $GLOBALS variable to be easily use in views
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1666 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-08-06 14:16:05 +00:00
Dominique.Fournier 37317a1cca Version 0.7 in development
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1665 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-08-06 13:55:55 +00:00
Dominique.Fournier e0b87e6670 Update the language.php file to support domframework domain.
Temporaly remove the link cache support (use clearstatcache instead)


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1663 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-08-06 13:49:20 +00:00
Dominique.Fournier d214119fbf Add the .mo files
Correct a fr_FR translation


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1662 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-08-06 13:19:15 +00:00
Dominique.Fournier b8a3e1aa23 Update domframework to be gettext package compliant
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1661 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-08-06 13:16:43 +00:00
Dominique.Fournier ab7f76d0bb Add the translations of domframework strings
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1660 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-08-06 09:17:27 +00:00
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 355a8f6111 Add comments to phpdoc
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1651 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-08-01 12:33:27 +00:00
Dominique.Fournier 39bfbad1e9 The params function of config don't display the default param, but return it in array
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1650 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-08-01 11:42:17 +00:00
Dominique.Fournier 40ad90502c dblayer : Add dropTable support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1644 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-08-01 08:04:54 +00:00
Dominique.Fournier 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
Dominique.Fournier e823248ff7 Removing unused dirs debian file
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1635 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-31 17:46:14 +00:00
Dominique.Fournier 8e18c869e5 Remove unnecessary directory in debian
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1634 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-31 17:44:57 +00:00
Dominique.Fournier 66509af77f Correct typo : thanks Lintian
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1633 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-31 17:43:00 +00:00
Dominique.Fournier ff12d10954 Prepare version 0.6
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1632 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-31 17:42:09 +00:00
Dominique.Fournier 1e8c4cfef6 Rename domframeworkversion.php to version.php
Update how the version is returned to the caller


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1630 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-31 14:26:56 +00:00
Dominique.Fournier 83fae5f05b Add support to domframeworkversion support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1629 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-31 14:21:30 +00:00
Dominique.Fournier dea292339a dblayer : don't check the non provided field in update
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1623 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-31 12:54:04 +00:00
Dominique.Fournier 33f15aff33 dblayer: Add the verification of the types of fields in update
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1622 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-31 12:47:19 +00:00
Dominique.Fournier 49fbe8b16e dblayer : Add verification of format in insert selected by field type
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1621 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-31 12:42:21 +00:00
Dominique.Fournier cf51241f34 BUG dblayer : if the foreign keys are not modified, we don't check if they are correct
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1617 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-31 12:00:56 +00:00
Dominique.Fournier b15d90ce0b dblayer : add date support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1602 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-30 12:07:55 +00:00
Dominique.Fournier 7afa8bfc54 dblayer : Add better error messages (gettext, Exception code, field name)
dblayer : Add support to date type 


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1601 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-30 11:49:36 +00:00
Dominique.Fournier 725356dda0 Allow the configuration file to be defined by a PHP constant for phpunit
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1599 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-30 11:28:56 +00:00
Dominique.Fournier 09e7559086 dblayer/authorizationdb : tableprefix is updated
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1595 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-30 09:10:41 +00:00
Dominique.Fournier 8f9e540a4a dblayer : Simplify the prefix table code (all the calls are the same)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1592 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-30 08:24:12 +00:00
Dominique.Fournier 7c935b49ef dblayer : Add the prefix support in tables name
dblayer : Add $table public attribute in the definition


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1591 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-30 06:31:04 +00:00
Dominique.Fournier 8e5824a503 cacheoutput : If the TTL is 0, disable the cache in file correctely
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1588 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-28 18:18:13 +00:00
Dominique.Fournier b20c47c884 Version 0.5
* dblayer : Add a check before using unique/foreign to be sure that the field
  to be linked is in the fields array
  * dblayer : rename the function create to insert. Keep the create temporaly to
    be compliant with old soft
  * Create the phpunit tests : just run "phpunit" from the root directory
  * route : baseURL/requestURL : missing port when using not standard port
  * PHP Strict Standards:  Only variables should be passed by reference in
    cli.php on line 151 (on debian, whith ./cli/cli.php records)
  * Add support to variables in the renderer. They will be availabe to the view
    to be trated as needed
  * Add support to cache in file (anything can be cached)
  * Add support to easy cache HTML pages
  * Route : remove port in baseURL if it is the standard port (http->80,
    https->443)
  * cachefile : run the garbage collector each request (it will be skipped if
    it is run too early, before 24h)


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1586 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-28 11:46:13 +00:00
Dominique.Fournier c5f4f745b0 cachefile : Run the garbage each 24h automatically
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1585 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-28 11:44:18 +00:00
Dominique.Fournier 7631d8cb71 Docs : Add dblayer example
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1584 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-28 10:27:26 +00:00
Dominique.Fournier d09e4ad4c1 Add the database abstraction layer in the USAGE
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1583 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-28 10:22:03 +00:00
Dominique.Fournier 414610db41 dblayer : Add test of foreign keys before INSERT or UPDATE. Reject with an exception if the foreign key doesn't exists
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1582 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-28 10:13:51 +00:00
Dominique.Fournier 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
Dominique.Fournier 3a35351199 Remove the ports in baseURL if it is the standard port (80 for http, 443 for https)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1577 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-27 09:29:02 +00:00
Dominique.Fournier af990df2f3 Correct typo consistancy -> consistency
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1571 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-27 06:59:41 +00:00
Dominique.Fournier e93aacecbc The cache doc is inconsistent : the cache ttl is 60s, not 3600s
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1568 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-27 06:38:58 +00:00
Dominique.Fournier 9d3e7c987f Cacheoutput : first version : easy method to cache the HTML pages
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1567 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-27 06:12:42 +00:00
Dominique.Fournier e52cda1216 The cache dir must be with 0777, not 0666 !
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1566 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-27 05:50:23 +00:00
Dominique.Fournier 34b0dfe095 Add the cas study for routing with ending slash in docs
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1565 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-27 05:19:45 +00:00
Dominique.Fournier 0e0fa5942e Put the informations to chmod in the right sense
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1558 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-25 16:26:28 +00:00