Commit Graph

932 Commits

Author SHA1 Message Date
d52ca0e9e1 Rename debian/bash-completion to debian/domframework.bash-completion
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3927 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-05 09:43:31 +00:00
7d52288f81 Use the dh_bash-completion for cli-completion
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3926 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-05 09:34:23 +00:00
7fba032ca6 Go to version 0.45
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3925 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-05 09:27:56 +00:00
4397e7193e Start packaging version 0.44
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3924 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-05 09:24:36 +00:00
3368041beb bash-completion: directory change for Debian etc/bash_completion.d/ -> usr/share/bash-completion/completions
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3923 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-05 09:22:57 +00:00
0ddcff8507 dblayer: return the primarykey value after an insert. If it is not an autoincrement, return the provided value
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3922 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-05 09:00:51 +00:00
b0d215da1b Update dblayeroo Tests to check the insert return value correctely
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3921 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-05 07:35:23 +00:00
826d8851d4 dblayeroo: in isert, return the primary key if the provided value is not autoincrement field with valid value
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3920 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-05 07:02:09 +00:00
fdce871157 dblayeroo: pgsql doesn't supports lastInsertId if there is no autoincrement field
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3919 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-04 13:46:20 +00:00
82b25ae519 dblayeroo: PgSQL return the PK valeu added in INSERT if there is no AUTOINCREMENT primary field
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3918 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-04 13:42:18 +00:00
1b40529501 dblayeroo: PgSQL crash if the LastInsertID is called on table without autoincrement field. Return 1 in this particular case
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3917 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-04 13:14:47 +00:00
f0d5255321 Tools in doc to not generate an error
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3904 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-08-04 09:23:27 +00:00
02ff4a0ea6 The tools are not in the right directory
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3903 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-08-04 09:22:33 +00:00
54a5dd131e Start packaging for 0.44 version
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3902 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-08-04 09:20:49 +00:00
e2c877f732 dblayeroo: do not allow an array of array to be provided to displayAdd
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3901 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-08-04 09:19:20 +00:00
904f520a7a ratelimitfile: do a clean of the expired entries automatically
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3900 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-08-04 08:08:04 +00:00
439513f65d dblayeroo: manage correctely the PGSQL string_agg (instead of GROUP_CONCAT)
dblayeroo: Manage correctely the Aliases (do not emit Notice in execute)


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3899 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-08-04 08:03:14 +00:00
9af6d7402d dblayeroo: update check the unique columns. Allow string with comma separated values or array
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3875 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-08-02 12:49:51 +00:00
7fefe0220a Add tools to DFK in the system
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3863 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-08-01 14:11:40 +00:00
d3dd847fb5 Update locales
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3861 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-08-01 13:47:12 +00:00
2f96e33931 Start packaging of version 0.43
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3860 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-08-01 13:45:16 +00:00
a8ddee5833 domci update
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3859 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-08-01 13:43:40 +00:00
3bda16ce6c verify: quote the regexp before using them
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3858 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-08-01 13:40:12 +00:00
e56e19215f * dblayeroo: insert/update null are checked against the "NOT NULL" definition except for autoincrement key, which is allowed
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3857 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-08-01 13:39:37 +00:00
55ff6e13c3 Add sqlMigrate tool
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3855 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-08-01 09:42:31 +00:00
ca79fba390 dblayeroo: insert/update null are not checked against the field format
dblayeroo: insert/update null are checked against the "NOT NULL" definition


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3854 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-08-01 08:54:55 +00:00
c63a30eebf dblayeroo: Add the PDO::FETCH_ASSOC to directQuery
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3853 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-31 14:59:31 +00:00
443a2bcada dblayeroo: add directQuery support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3852 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-31 14:50:33 +00:00
30391835fa Start version 0.42
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3838 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-26 08:39:32 +00:00
7ddd343e52 Start Version 0.42
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3837 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-26 08:39:19 +00:00
9fc7ad35e5 form: Block the submit button to not allow Chrome/Edge to submit multiple times in case of multiple clicks on slow server. Bug introduced in 0.41 doesn't work with Chrome: the form is not submitted
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3836 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-26 08:37:14 +00:00
26a78dfc0f Start package version 0.41
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3833 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-26 07:42:57 +00:00
8e24549ddd dblayeroo: add < and > comparisons
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3832 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-25 13:50:41 +00:00
3509b8b1f3 dblayeroo: manage the group by of the join object is defining the GROUP BY without not groupbed by field. (ex. Join with display MAX only field)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3831 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-25 12:10:19 +00:00
20befc4fcf dblayeroo: Do not add all the fields if there is no defined ones
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3830 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-25 11:21:21 +00:00
50062a4d1c dblayeroo: if displayAdd is empty, remove all the previous defined displayed columns
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3829 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-25 11:08:57 +00:00
cfd9f99518 dblayeroo: manage correctely the GROUP BY when there is join objects
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3828 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-25 09:49:55 +00:00
391eb9e83b dblayeroo : Update tests to be valid without the GROUP BY as they were in rev 3538
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3827 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-25 09:32:42 +00:00
eea451b131 dblayeroo : do not add the not needed GROUP BY
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3826 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-25 08:57:29 +00:00
e98686d91c dblayeroo: Update of multiple not unique fields should not be an exception
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3825 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-24 19:05:11 +00:00
ea8bbcf37b dblayeroo: UPDATE should not verify if the unique are not modified
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3824 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-24 14:25:38 +00:00
1be12b297f dblayeroo: Add IS NOT NULL operator to whereAdd
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3823 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-21 12:51:54 +00:00
9518419f25 dblayeroo: Update Alias support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3822 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-20 14:17:15 +00:00
643bce947a dblayeroo: Add alias support (AS) to displayAdd
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3821 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-20 13:21:17 +00:00
5223b529d1 dblayeroo: push the group_concat_max_len to maximum allowed
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3820 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-20 12:03:39 +00:00
36de4b3600 dblayeroo: Add DISTINCT feature to displayAdd
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3819 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-20 09:50:42 +00:00
db06724fa9 dblayeroo: in GROUP_CONCAT, allow the Separator to be set (use sqlite syntax, with a comma and the second optional parameter is the separator string)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3818 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-19 14:11:28 +00:00
0ac0fa75a5 dblayeroo: whereAddParenthesisOpen: Add automatically AND before if there is no already defined operator
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3817 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-19 10:30:44 +00:00
88f394fb72 dblayeroo: whereAdd "IS NULL" : do not add the value as it doesn't exists
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3816 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-19 10:28:24 +00:00
3ad9d4be68 dblayeroo: add more details in case of error in development
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3815 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-19 07:02:01 +00:00