Laurent Destailleur
ea010b9e01
Fix reduce side effects of debugbar
2019-03-23 12:15:42 +01:00
Laurent Destailleur
5d21547854
Merge branch '9.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/core/class/extrafields.class.php
htdocs/product/price.php
htdocs/user/perms.php
2019-03-21 12:20:24 +01:00
Laurent Destailleur
a7fdd34973
Merge branch '8.0' of git@github.com:Dolibarr/dolibarr.git into 9.0
2019-03-21 12:17:50 +01:00
Laurent Destailleur
032aa869e4
FIX Can't insert if there is extrafields mandatory on another entity.
...
FIX Can't set default value of extrafield of type varchar
2019-03-21 12:14:15 +01:00
Laurent Destailleur
b4bdbda9f5
Update mysqli.class.php
2019-03-07 12:36:57 +01:00
Christophe Battarel
414bac6fb4
avoid logging empty query
2019-03-06 17:56:43 +01:00
Frédéric FRANCE
c5c27fdb77
add visibility
2019-03-01 19:24:06 +01:00
Frédéric FRANCE
bd2e541fd6
add visibility
2019-03-01 18:28:51 +01:00
Laurent Destailleur
38d4284638
Merge branch '9.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/core/db/pgsql.class.php
htdocs/core/modules/facture/doc/pdf_crabe.modules.php
htdocs/filefunc.inc.php
htdocs/imports/import.php
htdocs/supplier_proposal/card.php
2019-02-08 11:26:08 +01:00
Laurent Destailleur
fe1188c4ea
Merge branch '8.0' of git@github.com:Dolibarr/dolibarr.git into 9.0
...
Conflicts:
htdocs/filefunc.inc.php
2019-02-08 10:44:45 +01:00
atm-ph
51515a487e
Fix search unaccent from left menu search box
2019-02-07 17:58:25 +01:00
atm-ph
ec7ef265b7
Fix psql search insensitive accent
2019-02-07 17:47:17 +01:00
Frédéric FRANCE
970392adb8
Merge remote-tracking branch 'upstream/develop' into psr2squizwhite
2019-02-03 22:41:57 +01:00
Frédéric FRANCE
80a12fcd1c
psr2 Squiz.WhiteSpace.ScopeClosingBrace.Indent
2019-02-03 14:29:45 +01:00
Laurent Destailleur
e18bd6f986
Merge branch 'develop' into nospaceaftercomma
2019-01-30 18:27:35 +01:00
Frédéric FRANCE
b10558bacd
Merge remote-tracking branch 'upstream/develop' into nospaceaftercomma
2019-01-27 23:23:38 +01:00
Laurent Destailleur
f30a3d59ba
Merge branch 'develop' into toomanylines
2019-01-27 17:59:13 +01:00
Laurent Destailleur
4f9f0fd7b5
Merge branch 'develop' into elseif
2019-01-27 17:54:06 +01:00
Frédéric FRANCE
f0cdf300d1
Squiz.Functions.FunctionDeclarationArgumentSpacing
2019-01-27 15:20:16 +01:00
Frédéric FRANCE
496fa9b0fb
PSR2.Files.EndFileNewline.TooMany
2019-01-27 14:10:35 +01:00
Frédéric FRANCE
7ee086b402
PSR2 space after comma in function call
2019-01-27 11:55:16 +01:00
Frédéric FRANCE
6e91b3cefc
PSR2 usage of else if is discouraged
2019-01-27 10:49:34 +01:00
Regis Houssin
569d59d251
FIX change my deprecated email
2018-10-27 14:43:12 +02:00
Frédéric FRANCE
86d854f3f4
Squiz.WhiteSpace.ControlStructureSpacing.SpacingBeforeClose
2018-10-24 23:04:26 +02:00
Frédéric FRANCE
70ba223788
move phpcs:ignore
2018-09-06 21:27:18 +02:00
Frédéric FRANCE
85df267a5b
move phpcs:ignore
2018-09-05 20:36:44 +02:00
Frédéric FRANCE
ecc6c118a6
move phpcs:ignore
2018-09-04 23:26:37 +02:00
Frédéric FRANCE
7799774ca1
move phpcs:ignore
2018-09-04 22:52:55 +02:00
Frédéric FRANCE
3847df1de6
move phpcs:ignore
2018-09-04 21:53:53 +02:00
Frédéric FRANCE
57fb3dc2f4
Merge remote-tracking branch 'upstream/develop' into camelCaps
2018-09-01 13:52:51 +02:00
Frédéric FRANCE
6aee680a4f
PSR2 ClassDeclaration
2018-08-29 22:06:05 +02:00
Frédéric FRANCE
6b6daf178f
Merge remote-tracking branch 'upstream/develop' into camelCaps
2018-08-21 20:57:58 +02:00
Frédéric FRANCE
69a7af88e7
function declaration
2018-08-15 18:14:02 +02:00
Frédéric FRANCE
3210181a3d
rule for private function is different
2018-08-14 10:21:34 +02:00
Frédéric FRANCE
850ac34020
mark non camelCaps function
2018-08-13 17:26:32 +02:00
Frédéric FRANCE
79aaddbb66
test phpcs v3
2018-08-09 14:46:00 +02:00
Laurent Destailleur
f747cefda3
Merge branch '7.0' of git@github.com:Dolibarr/dolibarr.git into 8.0
...
Conflicts:
htdocs/install/upgrade2.php
2018-07-16 15:44:44 +02:00
Laurent Destailleur
45a45b0dec
NEW Can enable a module, even external module, from command line
...
Conflicts:
htdocs/install/upgrade2.php
2018-07-16 15:35:00 +02:00
Laurent Destailleur
d3d1b6d513
NEW Can enable a module, even external module, from command line
2018-07-09 13:02:01 +02:00
Laurent Destailleur
e72c2e6a11
Enhance sorting of field for lists on field with several sort criterias
2018-04-28 19:54:41 +02:00
Laurent Destailleur
a892a3fe71
Fix info of collation is wrong on log
2018-01-19 12:10:03 +01:00
Laurent Destailleur
f0d6099e5f
Merge branch '6.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/core/db/DoliDB.class.php
htdocs/core/lib/functions.lib.php
2018-01-14 03:15:49 +01:00
Laurent Destailleur
9f6118ed52
Code comments
2018-01-14 03:12:22 +01:00
Laurent Destailleur
debc758134
Fix code comment
2018-01-14 01:40:12 +01:00
Laurent Destailleur
8189be0ac4
Fix warning
2017-12-11 14:17:26 +01:00
Laurent Destailleur
a9d3e90b70
Big debug of accountancy module
2017-11-27 21:53:22 +01:00
Laurent Destailleur
1ea9137863
Fix sort order
2017-11-25 16:21:44 +01:00
Laurent Destailleur
a630e665d9
Work on modulebuilder
2017-11-21 11:50:57 +01:00
Laurent Destailleur
14a43ba4d2
FIX sort on a date that is result of a MIN with mysql
2017-11-07 13:33:24 +01:00
Laurent Destailleur
d1e7577eed
Fix sql field can't be named 'offset' (reserved word).
2017-10-26 18:30:01 +02:00
Laurent Destailleur
87814af7b6
Move function colorIsLight into functions.lib.php
...
Fix scrutinizer bugs.
2017-10-16 09:29:10 +02:00
Laurent Destailleur
fcf82f1163
Enhancement into setup of member module
2017-09-12 11:17:23 +02:00
Laurent Destailleur
c6cbf2345d
FIX Management of default value in extrafields when default is '0'
2017-09-03 14:25:54 +02:00
Laurent Destailleur
3beee569a6
Enhance support of default value in extrafields
2017-09-02 15:18:41 +02:00
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
Raphaël Doursenaud
3b9388e57f
Added typehinting to resultsets in database drivers
2015-05-12 19:51:41 +02:00
Raphaël Doursenaud
6558c0f1f2
Removed a bunch of unused variables
2015-05-12 19:47:15 +02:00
Raphaël Doursenaud
3fdc4ca5e0
Better type hinting for the SQLite3 database driver
2015-05-12 19:45:14 +02:00
Raphaël Doursenaud
70d36dd1e3
Better type hinting for the SQLite database driver
2015-05-12 19:30:04 +02:00
Raphaël Doursenaud
67641280a4
Fixed parameter types
2015-05-12 19:16:29 +02:00
Raphaël Doursenaud
1fdff27184
Fixed type hintings
2015-05-12 19:11:12 +02:00
Raphaël Doursenaud
053f6ae494
[Qual] Fixed missing return statements
2015-05-12 19:10:47 +02:00
Raphaël Doursenaud
27d52cf2b0
Better type hinting for DoliDB
2015-05-12 19:01:01 +02:00
Raphaël Doursenaud
ccd14c8305
Better type hinting and code structure for the PgSQL database driver
2015-05-12 18:31:12 +02:00
Raphaël Doursenaud
4a01cf1256
Better type hinting for the Database interface
2015-05-12 18:30:16 +02:00
Raphaël Doursenaud
7231ca890a
Better type hinting for the MSSQL database driver
2015-05-12 18:13:24 +02:00
Raphaël Doursenaud
6e6e63db50
Better type hinting and code structure for the MySQLi database driver
2015-05-12 17:56:01 +02:00
Raphaël Doursenaud
04f5e73557
Better type hinting for MySQL database driver
2015-05-12 17:16:46 +02:00
Laurent Destailleur
56a14da5d4
FIXME that are not bug are replaced with TODO
...
Add control on batch movement (lot/serial is mandatory, and control
eatby and sellby are same for each lot/serial)
2015-04-12 04:01:28 +02:00
Scrutinizer Auto-Fixer
4da737424e
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-04-06 10:25:30 +00:00
Laurent Destailleur
8fb14b122a
Fix phpcs
2015-04-06 11:28:06 +02:00
Scrutinizer Auto-Fixer
b693ed3f51
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-03-16 23:21:17 +00:00
Laurent Destailleur
958667ada0
Fix phpcs
2015-03-11 12:33:34 +01:00
Laurent Destailleur
a5645b626c
Merge remote-tracking branch 'origin/3.7' into develop
...
Conflicts:
htdocs/core/tpl/objectline_view.tpl.php
htdocs/projet/element.php
2015-03-11 03:55:46 +01:00
Laurent Destailleur
ec322e2e29
Revert was not complete
2015-03-11 03:03:17 +01:00
Laurent Destailleur
4b8fa00edb
Merge pull request #2422 from guedel/sqlite3-dev
...
Sqlite3 dev
2015-03-11 02:54:15 +01:00
Laurent Destailleur
52e9ae5fe4
Merge pull request #2442 from delcroip/patch-2
...
FIX: jdate returning -62169955200 on x64 machine
2015-03-11 02:35:36 +01:00
Laurent Destailleur
b564b754fc
Doxygen
2015-03-10 14:09:29 +01:00
delcroix Patrick
e6984bae9d
FIX: jdate returning -62169955200 on x64 machine
...
on x64 machine jdate return -62169955200 instead of 0 when the input is 00-00-00 00:00:00 or equivalent
same issue for mktime https://bugs.php.net/bug.php?id=53662
2015-03-08 12:37:07 +01:00
Scrutinizer Auto-Fixer
27e99793a3
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-03-06 02:10:01 +00:00
Laurent Destailleur
1660c1c05b
Fix bug introduced with var_dump
2015-03-06 01:30:46 +01:00
Guillaume de Lestanville
dd2594692e
Updating compatibility with Sqlite3
...
- Replace USING syntax by IN SELECT syntax
- Fix error on database creation
- Removing test on username parameter when installing.
2015-03-05 17:35:37 +01:00
guillaume
0ef46b06f4
Sqlite3-PDO restoration
...
FR:
- Restauration de la version PDO dans sqlite.class.php et désactivation.
- Ajout de la classe de base de données Sqlite3 dans sqlite3.class.php
EN:
- revert of the PDO version of sqlite.class.php and deactivation.
- add database class Sqlite3 into sqlite3.class.php.
2015-03-05 10:52:37 +01:00
guillaume
1b89b8c808
Ajout de la liste des paramètres en utilisant l'instruction PRAGMA
2015-03-03 15:22:52 +01:00
guillaume
e4edafd42a
Ajout de la liste des paramètres en utilisant l'instruction PRAGMA
2015-03-03 15:21:14 +01:00
guillaume
8de170bfc2
Ajout de fonctions pour le traitement des dates avec SQLITE.
2015-03-03 13:06:20 +01:00
Laurent Destailleur
5d1545ad1f
Work on supplier order and customer extrafields
...
Use templates to show/edit supplier order and invoice lines
2015-02-27 18:05:12 +01:00
guillaume
4ede9295a6
Correction de la gestion d'erreur.
2015-02-27 14:06:53 +01:00
guillaume
9839420a68
Correction de la gestion d'erreur.
2015-02-25 15:44:06 +01:00
guillaume
24b069fcb0
Utilisation de la librairie Sqlite3 et création de fonctions personnalisées pour la compatibilité avec MySQL. Certains formats de date ne sont pas complètement pris en compte.
2015-02-25 14:31:41 +01:00
guillaume
207fa671b1
Mise en place de l'initialisation de la base avec PDO SQlite
2015-02-25 09:04:11 +01:00
Laurent Destailleur
2f5c94fb4a
Merge pull request #2357 from KreizIT/fix_mssql
...
Fix mssql
2015-02-18 23:32:48 +01:00
Laurent Destailleur
e5b401c8f2
Merge remote-tracking branch 'origin/3.7' into develop
...
Conflicts:
htdocs/langs/es_ES/agenda.lang
htdocs/langs/fr_FR/admin.lang
htdocs/langs/fr_FR/bills.lang
htdocs/langs/fr_FR/errors.lang
htdocs/langs/fr_FR/projects.lang
htdocs/langs/fr_FR/stocks.lang
htdocs/langs/fr_FR/suppliers.lang
2015-02-15 19:51:49 +01:00
KreizIT
7d51ae6789
Fix typo
2015-02-14 16:33:05 +01:00
KreizIT
0c0c442248
Make MS SQL working
2015-02-14 16:27:00 +01:00
Laurent Destailleur
c596fa1475
Introduce a protection to avoid migration if database has critical bugs
...
making data lost.
2015-02-14 12:24:16 +01:00
Laurent Destailleur
e3885d6d73
Merge remote-tracking branch 'origin/3.7' into develop
...
Conflicts:
htdocs/core/lib/tax.lib.php
2015-02-10 21:36:38 +01:00
Marcos García de La Fuente
a9ba2f3179
Fix: [ bug #1810 ] [pgsql] Error while upgrading from 3.6 to 3.7
2015-02-02 11:48:57 +01:00
Laurent Destailleur
5ead994955
Merge remote-tracking branch 'origin/3.7' into develop
...
Conflicts:
ChangeLog
2014-12-26 04:57:55 +01:00
Laurent Destailleur
657fc1b91c
Merge remote-tracking branch 'origin/3.6' into 3.7
...
Conflicts:
ChangeLog
htdocs/comm/fiche.php
htdocs/core/lib/functions2.lib.php
htdocs/fourn/fiche.php
htdocs/langs/fr_FR/compta.lang
htdocs/projet/element.php
htdocs/projet/tasks/contact.php
htdocs/projet/tasks/time.php
2014-12-26 04:44:15 +01:00
Laurent Destailleur
d18770c1e7
Merge remote-tracking branch 'origin/3.5' into 3.6
2014-12-26 04:16:08 +01:00