Laurent Destailleur
77f5952318
Fix pgsql compatibility
2017-07-04 11:18:48 +02:00
Laurent Destailleur
aa1351d483
Fix to be sure database is not created using utf8mb4 (not yet supported)
2017-07-03 01:10:09 +02:00
Laurent Destailleur
3873bc7433
Fix bette compatibility with pgsql
2017-06-20 15:06:24 +02:00
Laurent Destailleur
f1701469e0
NEW data files are now also parsed by phpunit for sql syntax
2017-06-20 13:28:34 +02:00
Laurent Destailleur
1e3384a842
Fix travis
2017-04-30 14:16:58 +02:00
Laurent Destailleur
f5bdfc426f
Merge pull request #6584 from atm-ph/NEW_inventory_coreobject_listview
...
New inventory coreobject listview
2017-04-29 21:31:46 +02:00
Laurent Destailleur
2e6d865c7d
NEW Can define default values for create forms.
...
NEW Can define default filters for list pages.
NEW Can define default sort order for list pages.
2017-04-29 00:44:25 +02:00
atm-ph
edc2d39702
Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into NEW_inventory_coreobject_listview
2017-03-24 17:06:40 +01:00
Laurent Destailleur
4bf0e31299
Merge branch '5.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/core/class/html.form.class.php
htdocs/langs/en_US/loan.lang
htdocs/theme/eldy/style.css.php
htdocs/theme/md/style.css.php
2017-03-11 02:40:42 +01:00
Laurent Destailleur
8f338a155a
Fix last_insert_id at a better place
2017-03-10 15:19:15 +01:00
Marcos García de La Fuente
58d77a14af
FIX #4758 PHP warning when installing to PostgreSQL with incorrect credentials
...
Closes #4758
2017-01-29 23:05:20 +01:00
Alexis Algoud
370be70e46
Merge branch '5.0' of https://github.com/Dolibarr/dolibarr into NEW_inventory_coreobject_listview
2017-01-03 16:30:50 +01:00
Laurent Destailleur
1e1028605d
FIX If mysql server is distant, the creation of user must use % as host
...
with mysql.
2016-12-23 00:23:57 +01:00
Alexis Algoud
9f6f874655
fix
2016-12-15 12:33:26 +01:00
Alexis Algoud
81b01cd055
fix
2016-12-15 11:23:13 +01:00
Alexis Algoud
703b8708e3
fix create
2016-12-15 10:39:59 +01:00
Alexis Algoud
a463759ba3
init query builder into db
2016-12-14 16:54:05 +01:00
Laurent Destailleur
608ca669fd
Update doc
...
Add missing table in upgrade script
2016-11-07 03:18:53 +01:00
Laurent Destailleur
bcd3a1a888
NEW Default collation for mysql is now utf8_unicode_ci
2016-11-07 01:53:34 +01:00
Laurent Destailleur
571c127ce4
Remove not existing function sqlite_select_db() #5609
2016-09-14 11:47:39 +02:00
Laurent Destailleur
31a036c992
Removed driver sqllite that was never released as stable and is now
...
deprecated #5609
2016-09-14 11:42:07 +02:00
Laurent Destailleur
fac28f9589
Merge branch '4.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/commande/card.php
htdocs/compta/facture.php
htdocs/compta/sociales/charges.php
htdocs/core/boxes/modules_boxes.php
htdocs/core/class/commonobject.class.php
htdocs/fourn/class/fournisseur.commande.class.php
htdocs/fourn/commande/card.php
htdocs/fourn/facture/card.php
2016-08-28 02:40:20 +02:00
Laurent Destailleur
fead7967f2
Merge remote-tracking branch 'origin/3.9' into 4.0
...
Conflicts:
htdocs/commande/list.php
htdocs/core/class/commonobject.class.php
htdocs/core/class/extrafields.class.php
htdocs/resource/class/resource.class.php
2016-08-17 16:55:39 +02:00
florian HENRY
a1323756a9
FIX : in PgSQL no quote "word style" is permitted around column name
2016-08-17 10:23:23 +02:00
Laurent Destailleur
0e3ec5df38
Merge branch 'remove-mysql-driver' of
...
https://github.com/marcosgdf/dolibarr into marcosgdf-remove-mysql-driver
Conflicts:
htdocs/core/db/mysql.class.php
2016-08-05 13:12:43 +02:00
Laurent Destailleur
f013656b02
Better error management
2016-07-23 10:25:31 +02:00
Laurent Destailleur
945fcc7586
FIX Better support of GROUP_CONCAT for postgresql
2016-06-25 14:38:10 +02:00
Laurent Destailleur
4856010400
Try to fix the group_concat function for pgsql.
2016-06-25 02:30:12 +02:00
Laurent Destailleur
9ebf7a1e35
Try to fix the group_concat function for pgsql.
2016-06-25 02:21:54 +02:00
Frédéric FRANCE
375ce04076
Update mysqli.class.php
2016-06-22 09:53:02 +02:00
Laurent Destailleur
c8a8474b69
Better practice in boolean comparison
2016-05-17 23:19:57 +02:00
Laurent Destailleur
753c5c7fc4
Fix minor error management
2016-05-17 23:14:30 +02:00
Marcos García de La Fuente
257d9b2f8d
NEW #4772 Removed support for Mysql deprecated driver. Please use Mysqli instead
2016-04-17 15:39:46 +02:00
Laurent Destailleur
724610ba5b
Quality fixes reported by scrutinizer
2016-04-09 15:07:55 +02:00
Raphaël Doursenaud
9eff599f97
[Qual] Mysqli: constructor cannot return a value
2016-01-13 11:55:59 +01:00
Raphaël Doursenaud
aeb3935e31
[Qual] Mysqli: escape with the proper method
2016-01-13 11:55:59 +01:00
Raphaël Doursenaud
87762f14b5
[Qual] Mysqli: OOP style
2016-01-13 11:55:59 +01:00
Raphaël Doursenaud
daa3ce3591
[Qual] Mysqli: set charset with recommended method
2016-01-13 11:55:59 +01:00
Laurent Destailleur
c64eac5e72
Fix doc and mysql min version
2015-12-27 17:05:56 +01:00
Laurent Destailleur
484dc5937b
Fix regression in sorting
2015-12-18 18:05:07 +01:00
Raphaël Doursenaud
b45d4a2a51
[Qual] OOP detection of PHP MySQL driver
2015-12-03 22:31:13 +01:00
Raphaël Doursenaud
0c5c762c1c
[Qual] More robust sorting
...
Only allow valid values and discard others.
Do not use user supplied data in SQL query.
2015-12-02 21:15:59 +01:00
Laurent Destailleur
57ea4fc23d
FIX sql syntax error when sort order not defined.
2015-10-13 14:40:02 +02:00
Raphaël Doursenaud
148e8a2c23
Used OOP for mysqli connector
...
Better error handling
Slightly more readable codebase
2015-09-17 20:39:48 +02:00
tomours
9267fe367e
FIX #3372 - Printing issue with Postgres and dates (SQL format)
...
After connecting to the database, we force datestyle to "ISO, YMD", so dates returned by the db will have a format compatible with Dolibarr functions.
This will fix dates printing issues in mostly all pages, with a postgres db configured with "SQL, DMY" as default.
2015-08-10 15:10:58 +02:00
Laurent Destailleur
f52b5a240a
Show sql query when log level is lower than LOG_DEBUG
2015-07-22 23:33:48 +02:00
Laurent Destailleur
6f90605185
Fix: Sqlite can't be supported until alter table add constraint is
...
supported by sqlite, so choice is hidden
2015-07-12 11:44:37 +02:00
Laurent Destailleur
324d855b9c
Still working on project module to uniformize way of working with other
...
modules
2015-07-04 18:20:17 +02:00
Laurent Destailleur
8d84dd1155
Uniformize code
2015-06-06 14:34:57 +02:00
Raphaël Doursenaud
c018858e91
Deprecation of the mysql driver
...
Fix #2886
2015-05-23 20:43:21 +02:00