Commit Graph

345 Commits

Author SHA1 Message Date
f7c830576a authsql : Add the authentication in SQL database : first version
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2053 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-23 11:09:18 +00:00
1cfc21e5f0 dblayer : check if the unique key is defined before using it in UPDATE. If not defined, use primary key
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2052 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-23 11:08:28 +00:00
5f441df4b7 dblayer : add the connected tests before using the SQLITE PDO engine
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2051 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-23 09:49:49 +00:00
839d71a44f dblayer : add a exception if the provided PDO driver is not known
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2050 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-23 09:42:39 +00:00
ac483b1ef9 routeSQL : Add a select list (or a text search) for foreign keys when insert or update
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2049 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-22 11:34:09 +00:00
263741d316 routeSQL : display the associated unique field to a foreign key instead of the numerical value
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2048 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-22 10:58:40 +00:00
ba5f375b5a dblayer : bad function name
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2047 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-22 08:15:35 +00:00
e3bec29cf8 dblayer : bad function name
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2046 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-22 08:14:30 +00:00
70b71de74b routeSQL : allow chain to not be defined
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2045 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-22 08:13:07 +00:00
74f5fed52c routeSQL : Limit the list to the authorized of elements
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2044 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-22 04:55:10 +00:00
f7c0395a31 routeSQL : removing the $datas word : it should be $data
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2043 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-22 04:26:16 +00:00
8897e82170 dblayer : add support to hooks (pre|post)(insert|update|delete)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2042 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-22 04:18:05 +00:00
17a1f35b0b routeSQL : Add the Chain support to REST support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2041 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-21 17:03:44 +00:00
a0e0e6b022 routeSQL : allow to users to authorize : authHTML and authREST
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2040 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-21 16:40:08 +00:00
fc40f729b2 routeSQL : Add a CR/LF to the end of JSON/XML outputs
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2039 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-21 16:09:05 +00:00
843f0d4f42 routeSQL : valid HTML list page
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2038 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-21 16:01:32 +00:00
db4f3da2f8 routeSQL : add REST support (without auth, nor chained mode)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2037 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-21 15:56:35 +00:00
cb5f651247 dblayer : don't do the update if no data is provided
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2036 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-21 15:48:27 +00:00
672111b07e routeSQL : Allow the result to be displayed in HTML by the renderer
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2035 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-20 14:33:34 +00:00
7b1c81d917 outputhtml : Don't generate an error when the layout is provided in the variable
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2034 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-20 14:30:58 +00:00
03cdd0b394 routeSQL : Test if the chained object exists or send a 404
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2031 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-17 19:57:15 +00:00
c27d60107d routeSQL : Add support of url-defined var (like zone/XX/entry/YY)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2030 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-17 17:52:08 +00:00
37f0159ae8 routeSQL : Redirection are now compatible with chained mode
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2025 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-13 13:10:23 +00:00
156cf358ac routeSQL : allow to add a filter on foreign keys to limit the list of elements displayed
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2024 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-13 10:53:48 +00:00
9628c604fd dblayer : remove a 506 http code unknown
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2023 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-13 10:48:34 +00:00
211dbfcefb dblayer : don't allow the foreign keys to be in the select : conflict
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2022 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-13 10:44:24 +00:00
d590337cf5 dblayer : add the possibility to filtering on foreignkeys when reading
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2021 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-13 10:35:24 +00:00
ce1ecca5da route.php : Add support of URL matching with or without Slash
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2020 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-12 20:35:08 +00:00
9aa5c8dcc7 routeSQL : search can now start with a ^ or finished by a dollar to simulate a regex
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2019 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-12 20:10:16 +00:00
c1f009107f routeSQL : remove an erroneous message in submit button
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2018 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-12 20:04:51 +00:00
d097106ad7 routeSQL : Create a beautiful internal CSS for editing an entry (without external dependency)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2017 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-12 14:25:22 +00:00
0c0e207b3d routeSQL : beginning of authorization
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2016 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-11 22:30:41 +00:00
2ab0c08a1b routeSQL : If there is no result, don't display 1 in the information
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2015 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-11 21:44:02 +00:00
6938ce0a75 routeSQL : Allow the user to define which Area is write in each bar (top or bottom) and left or right
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2014 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-11 21:41:37 +00:00
3e72a3189c routeSQL : two panes by top/bottom bar to align the modules on left and right
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2013 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-11 21:19:53 +00:00
23102f3cac routeSQL : Add divs to allow 3 columns in top and bottom bars
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2012 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-11 21:16:58 +00:00
03da60b64a routeSQL : modify the css to have the height of the Search div with the same size as the others
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2011 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-11 20:07:50 +00:00
25e1ba2f48 routeSQL : add the style for titles
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2010 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-11 15:51:14 +00:00
284388dc61 routeSQL : add the cookie support to save the parameters by page
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2009 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-11 15:49:15 +00:00
f9ce6e2483 routeSQL : set cookies to store the search, number of elements and page
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2008 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-11 15:28:13 +00:00
54861413e0 routeSQL : Push the icons by default instead of the texts
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2007 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-11 15:18:27 +00:00
8bc3ce99f2 routeSQL : Add informationArea support
routeSQL : BUG : correct the pager : missing last page


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2006 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-11 15:16:56 +00:00
24276ab6f5 routeSQL : firstversion with search support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2005 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-11 14:36:21 +00:00
087d9eb502 routeSQL : Prepare the CSS management of the routeSQL module
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2004 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-11 11:01:03 +00:00
b57d51fc41 routeSQL : allow the parameters to be missing without error
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2003 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-11 10:55:11 +00:00
a50b19480e routeSQL : Allow to put the parameters in any order
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2002 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-11 10:49:30 +00:00
177c6bd1e8 routeSQL : push on the last page if the values are too high
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2001 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-11 10:42:34 +00:00
a45db83b9e routeSQL : Add paginator
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2000 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-11 10:37:47 +00:00
3ca3ad6e73 routeSQL : Allow the user to change the Actions links (to images, UTF-8 chars...)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1999 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-10 15:03:26 +00:00
1b3e234e22 routeSQL : Actions can be wrote at the start or at the end of line
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1998 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-03-10 14:39:55 +00:00