Commit Graph
100 Commits
Author SHA1 Message Date
Dominique.Fournier e12f7c516d * ipaddresses : add validCIDR, validIPv4CIDR, validIPv6CIDR to check the CIDR
* ipaddresses : add compressIP to compress an IPv6 address (remove the 0 and add the :: if possible)
* ipaddresses : add networkFirstIP and networkLastIP to get the first and last address of a network. In IPv4, the first address is network address and the last address is broadcast address.
* ipaddresses : add ipInNetwork to know if the provided ip address is in or outside the network and cidr provided


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4026 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-01-10 14:34:35 +00:00
Dominique.Fournier 20e75710c9 tcpclient: enable crypto : raise an exception in case of error
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4023 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-01-08 14:00:31 +00:00
Dominique.Fournier d54c0d8aef tcpserver : do not check the client certificate in SSL mode, as there is no certificate provided by it !
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4021 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-01-05 14:49:53 +00:00
Dominique.Fournier db55ec03b4 tcpclient: test correctely the certificate of the server by setting correctely the name of the peer
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4017 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-01-05 11:17:10 +00:00
Dominique.Fournier 65bae90ec1 Update changelog due to lintian warning
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4016 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-01-05 10:14:31 +00:00
Dominique.Fournier 1f99482558 Start packaging of 0.49 version
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4015 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-01-05 10:13:01 +00:00
Dominique.Fournier 44b7b34094 Add tcp client and tcp server support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4014 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-01-05 09:47:20 +00:00
Dominique.Fournier 89738ec9ae fork : allow to clean without blocking
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4010 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-12-22 14:46:25 +00:00
Dominique.Fournier 2835eafd12 Add daemon support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4009 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-12-22 14:03:29 +00:00
Dominique.Fournier 63dd033864 fork: Add name of the child process for "ps -edf"
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4008 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-12-22 14:03:10 +00:00
Dominique.Fournier 8822ec580e fork : add startDetachedChild
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4007 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-12-22 12:37:23 +00:00
Dominique.Fournier 75f2df3da6 Add fork support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4006 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-12-22 12:09:20 +00:00
Dominique.Fournier 8495ce241b form: select field : allow the provided value to be an integer and work correctely in comparison with the string defaults values
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4005 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-12-01 08:36:01 +00:00
Dominique.Fournier a80a51c862 dblayeroo: the post execute select must not convert a NULL to INT if a column definition is INTEGER
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4004 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-11-30 10:57:29 +00:00
Dominique.Fournier 4fccb57e7a dblayeroo: allow the foreign keys to be a NOT NULL field, then not be tested
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4002 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-11-16 13:13:22 +00:00
Dominique.Fournier fc21407614 route : Add proxy support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3989 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-10-30 19:50:45 +00:00
Dominique.Fournier f125cbc0f0 Add Changelog for 0.48 version
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3987 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-10-30 09:43:13 +00:00
Dominique.Fournier 432ad517ea Version 0.48
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3986 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-10-30 09:41:53 +00:00
Dominique.Fournier 09256e887f Debian: add the PHP7.0 Support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3985 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-10-30 09:40:51 +00:00
Dominique.Fournier 730438f186 changelog : add missing fts []
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3978 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-10-02 06:55:12 +00:00
Dominique.Fournier a087134858 Package the 0.47 version
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3963 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-26 12:31:15 +00:00
Dominique.Fournier 56e2567601 Start the 0.47 version
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3962 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-26 12:17:26 +00:00
Dominique.Fournier 4088a58196 config: trailling "DO NOT USE"
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3959 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-26 10:34:01 +00:00
Dominique.Fournier bacf9658b8 form: raise an exception if a default value is not a string
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3958 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-26 10:11:34 +00:00
Dominique.Fournier f0b2d1193d config: Manage the configuration in update too
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3957 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-26 10:09:53 +00:00
Dominique.Fournier d622bf2c71 fts: add [] to regex to the start/end of word
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3956 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-20 12:53:03 +00:00
Dominique.Fournier f955423c35 config: return the boolean and null definitions with the PHP associated types
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3955 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-20 12:36:36 +00:00
Dominique.Fournier a1ec92d36b config: manage correctely the spaces between the doccomments
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3954 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-20 08:33:36 +00:00
Dominique.Fournier d4a19ca412 config: allow the DocComment to start with star
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3953 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-20 07:07:15 +00:00
Dominique.Fournier e8d0f29b59 Start packaging fro 0.46 version
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3949 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-18 12:44:07 +00:00
Dominique.Fournier 092a3153f7 dblayeroo : bug in GROUP BY : return the child object group by display content instead of nothing
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3948 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-18 12:35:33 +00:00
Dominique.Fournier d622a1995a Start packaging for 0.45 version
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3947 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-18 11:41:24 +00:00
Dominique.Fournier 10246fad3e ftp: Add the simple-quote as separator too
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3946 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-18 10:14:21 +00:00
Dominique.Fournier 425fd36d05 dblayeroo: Update tests to add DISTINCT in tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3945 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-12 18:51:01 +00:00
Dominique.Fournier c7e0e563ae dblayeroo: Manage correctely the DISTINCT select (remove the sep correctely)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3944 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-12 18:39:17 +00:00
Dominique.Fournier 199d8bf710 dblayeroo: DISTINCT is now allowed in the typing of the fields
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3943 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-12 14:31:01 +00:00
Dominique.Fournier 33e85225ed dblayeroo: Manage correctely the DISTINCT type of fields
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3942 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-12 14:17:56 +00:00
Dominique.Fournier efe31391b5 dblayeroo: manage correctely the GROUP BY part: Add it only if needed and with the local and join objects parameters
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3941 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-12 12:59:33 +00:00
Dominique.Fournier bf65632a2b dblayeroo: remove debug
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3940 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-12 09:44:46 +00:00
Dominique.Fournier 3065215106 dblayeroo: GROUP BY was incorrect when there was a join and only one local grouped function: do not call the displayed field on the join objects
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3939 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-12 09:44:12 +00:00
Dominique.Fournier 9fa5cc4ed2 dblayeroo: allow the DBException function to be extended easily to log in the application
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3936 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-05 14:36:47 +00:00
Dominique.Fournier 52d2dfb52f Update locales
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3934 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-05 12:19:08 +00:00
Dominique.Fournier 64afd283da Debian package: ancient-standards-version 3.9.6 (current is 3.9.8)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3933 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-05 12:15:32 +00:00
Dominique.Fournier 0d1f2b24e1 * Debian package: ancient-standards-version 3.9.6 (current is 4.0.0)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3932 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-05 12:14:56 +00:00
Dominique.Fournier 551bed514d Update compat mode to 9
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3931 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-05 12:13:08 +00:00
Dominique.Fournier 246cb4d159 form: if there is errors on hidden fields, display them as text with read-only
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3930 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-05 12:09:26 +00:00
Dominique.Fournier 7de411e6c3 cli-completion: work on the Stretch bash
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3929 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-05 12:02:10 +00:00
Dominique.Fournier 314f1cf9f6 Add bash_completion to Build-Depends
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3928 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-05 09:49:58 +00:00
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 2b183d15ad modelGenerator: Add the foreign keys objects in the constructor
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3814 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-19 06:41:05 +00:00
Dominique.Fournier bf31012a81 Add Exception if MB support is not available in PHP
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3813 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-19 06:30:27 +00:00