Commit Graph

8353 Commits

Author SHA1 Message Date
ldestailleur
b03f30c7e2 Sec: Remove functions accepting callable params - Reported by phdwg1410 2025-07-27 13:54:02 +02:00
Laurent Destailleur
a4657bbbf8 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-05-20 21:59:28 +02:00
Laurent Destailleur
08868566da Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-05-20 21:59:02 +02:00
Marc de Lima Lucio
aa93bf3f31 FIX: pgsql: boolean fields correctly defined in creation but not in migration (#34215) 2025-05-20 20:36:51 +02:00
ldestailleur
a74979bc04 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-05-05 00:04:17 +02:00
ldestailleur
d85cea32c0 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-05-05 00:03:49 +02:00
ldestailleur
f70cfeb6d3 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-05-05 00:03:09 +02:00
Marc de Lima Lucio
0ef0d339b5 FIX: pgsql: error when creating sequences in migration scripts (#34021)
* FIX: pgsql: error in migration from 15 to 16

* FIX: pgsql: error in migration from 7 to 8
2025-05-04 11:26:34 +02:00
Marc de Lima Lucio
9eaa8ad1d3 FIX: accountancy: create new french PCG25-DEV accounting system in upgrade (#34036) 2025-05-04 10:46:56 +02:00
ldestailleur
cf24f34947 Fix SQL 2025-04-25 17:26:17 +02:00
Regis Houssin
483112810e FIX avoid sql error when a comment is after without comma (#33758)
* FIX avoid sql error when a comment is after without comma

* FIX syntax error

* Update admin.lib.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-04-16 20:00:13 +02:00
Regis Houssin
59bc259804 FIX a comment without after a comma create a sql error (#33752)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-04-07 17:01:03 +02:00
ldestailleur
8e88532c3e Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-04-01 21:07:20 +02:00
ldestailleur
514e367d94 Rename constant 2025-04-01 20:46:31 +02:00
ldestailleur
21b5eb7b82 Debug migrate using the database flag 2025-04-01 20:45:46 +02:00
ldestailleur
de75d13c7a Use a database flag 2025-04-01 20:36:55 +02:00
Marc de Lima Lucio
5832f1807c FIX: invoice export models are incorrect after 20.0 migration (#33688)
* FIX: shift export models at upgrade

* FIX: 20.0 invoice export model mogrations: place lock in root of data dir
2025-04-01 20:29:06 +02:00
ldestailleur
533ca31814 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-03-29 17:32:45 +01:00
Alexandre Janniaux
f7c9d4ecfc migration: 19.0→20.0: rename llx_commande_fournisseur_dispatch sequences #31228 (#33542)
Fix an issue after upgrading to 20.0.x with the backend saying that the
sequences llx_expeditiondet_batch_rowid_seq doesn't exist.

The table was somehow renamed, and migration fixed for PostgreSQL in
the following commits:

- 3670ba75ba: rename the table to match
  the intent of the table.
- 9913778da0: using VPGSQL comments to use
  a different RENAME function for PostgreSQL.
- d73d27466b: Using RENAME TO which is
  compatible with both PostgreSQL and MySQL.

But the sequence was still a leftover after those migrations.

Co-authored-by: Alexis Thietard
Co-authored-by: Geoffrey Mellar

Fixes #31228
2025-03-20 08:56:47 +01:00
ldestailleur
5c1f8b58c4 Merge 2025-03-19 14:23:19 +01:00
ldestailleur
bb719f73cf Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-03-19 14:19:01 +01:00
ldestailleur
1ab438d62e Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-03-19 14:17:37 +01:00
Eric - CAP-REL
bd846da9f5 fix missing alter table for tms auto update timestamp (#33452)
* fix missing alter table for tms auto update timestamp

* add tables renamed since 13.0
2025-03-15 10:56:24 +01:00
Eric - CAP-REL
b256c9aaba fix missing alter table for tms auto update timestamp (#33451)
* fix missing alter table for tms auto update timestamp

* two tables was renamed 13.0 -> 16.0
2025-03-15 10:55:17 +01:00
ldestailleur
624e87bc51 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-03-14 17:24:52 +01:00
ldestailleur
3c4c5f1c75 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-03-14 12:33:40 +01:00
ldestailleur
681b20f09e Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-03-14 12:32:56 +01:00
ldestailleur
4897c9de7f Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2025-03-14 12:20:56 +01:00
ldestailleur
2058d572d9 Merge branch '16.0' of git@github.com:/Dolibarr/dolibarr.git into 17.0 2025-03-14 12:17:06 +01:00
ldestailleur
089fab828b Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2025-03-14 12:14:10 +01:00
ldestailleur
5b9453e302 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2025-03-14 11:28:33 +01:00
ldestailleur
d81a2d060e Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2025-03-14 11:27:49 +01:00
Eric - CAP-REL
97aaff7395 13.0 fix migration missing tms auto update (#33443)
* tms field in llx_product is not updated to default timestamp

* but that's not the only one ...
2025-03-13 23:01:52 +01:00
ldestailleur
bd537993d1 Fix missing table 2025-03-07 13:11:35 +01:00
ldestailleur
2b97ee8d88 Trans 2025-03-07 11:53:15 +01:00
ldestailleur
16418cfda6 Try a fix for migration error on bank line categories with postgres 2025-03-05 19:10:22 +01:00
ldestailleur
fdd5b5b8f4 Fix remove hard constraint that must be soft constraints (the commit
5e6ab79 was not complete)
2025-02-23 18:08:28 +01:00
Benjamin Falière
e9d0e4e963 FIX: rights on odt fiels
Three .odt files had execution rights for ugo. Should be u+rw, g+r and o+r
2025-02-06 16:40:30 +01:00
Laurent Destailleur
ef50c66575 Merge pull request #32928 from frederic34/patch-11
fix CI branch 21.0
2025-02-04 23:38:02 +01:00
Laurent Destailleur (aka Eldy)
31daa4a2f0 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-02-04 23:25:24 +01:00
Laurent Destailleur
eb58bf92d7 Update upgrade2.php 2025-02-04 23:17:22 +01:00
Regis Houssin
3da1c1c843 FIX more bugs and warnings 2025-02-04 04:54:54 +01:00
Frédéric FRANCE
72ffcdfc94 Update llx_accounting_account_fr.sql 2025-02-03 21:46:43 +01:00
Laurent Destailleur
940e42c1e4 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-01-27 01:30:34 +01:00
Frédéric FRANCE
53ec7e48d1 fix comments 2025-01-24 09:59:02 +01:00
Laurent Destailleur (aka Eldy)
8967d995a8 Fix repair script 2025-01-23 21:08:45 +01:00
Laurent Destailleur (aka Eldy)
78e0eeb557 Fix repair script 2025-01-23 21:06:21 +01:00
Laurent Destailleur (aka Eldy)
9c7686e571 Fix clean unvalid entries into ecm file table 2025-01-23 21:02:49 +01:00
Laurent Destailleur
17ac6fee61 Doc 2025-01-23 01:55:07 +01:00
Laurent Destailleur (aka Eldy)
695b0e12a7 Fix sql 2025-01-20 10:07:40 +01:00