Laurent Destailleur
594da940fa
Sanitize input
2024-04-02 11:57:30 +02:00
Laurent Destailleur
b58e439a17
Clean use of $_POST
2024-03-28 21:29:02 +01:00
Laurent Destailleur
f598bcbd54
Look and feel v20
2024-03-24 16:36:08 +01:00
MDW
baaa7c721e
Fix PHPdoc typing ($cols, $phpmin)
2024-03-24 14:19:09 +01:00
Laurent Destailleur
3b17fceadb
Update modMyModule.class.php
2024-03-23 19:38:35 +01:00
Florian HENRY
b4f04dbaee
new: upgrade minimum version of dolibarr for module builder
2024-03-21 20:58:59 +01:00
Laurent Destailleur
e92d6230df
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/ticket/class/ticket.class.php
htdocs/ticket/list.php
htdocs/ticket/stats/index.php
2024-03-20 02:31:33 +01:00
Laurent Destailleur
607bc16351
Fix menu postion
2024-03-19 22:05:55 +01:00
MDW
fd9d48faac
Fix phpstan CommonObject->fields - notnull is optional field
2024-03-19 00:32:00 +01:00
Laurent Destailleur
f9346a8022
Fix restore declaration to avoid to many uncompatibility problems.
2024-03-18 15:15:35 +01:00
Laurent Destailleur
b72b38f5d1
Doc
2024-03-18 15:03:41 +01:00
Laurent Destailleur
72d758e054
Doc
2024-03-18 14:56:54 +01:00
Laurent Destailleur
de58435ef1
FIX: if we stop for security purpose, we must exit a non zero value.
2024-03-16 23:08:15 +01:00
Laurent Destailleur
310b74960e
Fight against ucfirst to get a className.
2024-03-16 22:26:24 +01:00
Laurent Destailleur
90172fba83
Code simpler
2024-03-16 22:00:55 +01:00
Laurent Destailleur
93882871d7
Merge pull request #28901 from mdeweerd/spelling/dolibarr_keyword
...
Qual: Add dolibarrr to dict
2024-03-16 21:35:47 +01:00
MDW
5067a8bee9
Fix Dolibarr spellings
2024-03-16 18:11:10 +01:00
Laurent Destailleur
eececbe72b
More secured parameter for $tmpobjectkey
2024-03-16 17:34:58 +01:00
Laurent Destailleur
e994d6650f
Fix regression in GETPOST limit
2024-03-16 11:41:00 +01:00
Laurent Destailleur
2b9d5b7232
Clean code
2024-03-16 11:16:32 +01:00
Laurent Destailleur
0e07611344
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
Fix for #28785 and #28889
2024-03-16 11:09:24 +01:00
Laurent Destailleur
ea2eab434c
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
2024-03-16 11:04:54 +01:00
Laurent Destailleur
97e4346913
Fix look and feel
2024-03-16 10:45:32 +01:00
Laurent Destailleur
28269b1a0a
Clean code for #28785
2024-03-15 20:26:22 +01:00
MDW
23785393a3
Add csslist to json keys
2024-03-15 03:55:52 +01:00
Laurent Destailleur
6b48e09854
Debug
2024-03-14 16:49:29 +01:00
Laurent Destailleur
45a68ba612
Better error management
2024-03-13 20:17:26 +01:00
Laurent Destailleur
9e16016125
Merge pull request #28770 from mdeweerd/typing/fields
...
Fix: Repeat fields typing in CommonClass children
2024-03-12 14:30:36 +01:00
MDW
88d59896ec
Qual: 'enabled' in fields can be string ('isModEnabled(...)')
...
# Qual: 'enabled' in fields can be string ('isModEnabled(...)')
Update PHPdoc to allow that enabled is a string
2024-03-12 13:38:08 +01:00
Laurent Destailleur
c458a46862
Fix warning
2024-03-12 03:46:00 +01:00
Laurent Destailleur
b9094fc00a
Fix warning
2024-03-12 03:37:21 +01:00
MDW
26e487d69e
Fix: Repeat fields typing in CommonClass children
...
# Fix: Repeat fields typing in CommonClass children
phpstan needs typing to be 'co-variant' and therefore typing must be repeated as
the method is not to initialise the property in the constructor, but to override
the proparty by a 'local' definition in the child class
2024-03-11 17:39:52 +01:00
Laurent Destailleur
f32bf4b3a7
Fix join -> implode
2024-03-11 12:38:21 +01:00
Laurent Destailleur
4f5c400870
Fix missing search_all
2024-03-08 19:39:33 +01:00
Laurent Destailleur
fb16af02b4
Clean code. Move member type API in good file.
2024-03-08 11:00:19 +01:00
Laurent Destailleur
f45f1f6cfd
Fix separator block for modulebuilder
2024-03-07 15:00:08 +01:00
Laurent Destailleur
f00d3ff6dd
Fix route not complete
2024-03-07 14:57:41 +01:00
Laurent Destailleur
7866ee472b
QUAL Clean code around dol_eval use
2024-03-06 17:07:24 +01:00
Frédéric FRANCE
bc2f527e41
add phpdoc ( #28639 )
...
* add phpdoc
* add phpdoc
* add phpdoc
* add phpdoc
* add phpdoc
* add phpdoc
2024-03-05 17:11:46 +01:00
Laurent Destailleur
c544efec7f
QUAL: Remove use of customurl filter. Must use the USF syntax.
2024-03-05 03:51:36 +01:00
Laurent Destailleur
ce010a54c7
Clean code and prepare a more powerfull phpunit check for sql forging.
2024-03-05 00:22:12 +01:00
Frédéric FRANCE
fba15178eb
all initAsSpecimen return int ( #28577 )
...
* all initAsSpecimen return int
* all initAsSpecimen return int
* all initAsSpecimen return int
2024-03-02 16:38:35 +01:00
Laurent Destailleur
ef224a7a45
Clean code
2024-02-29 16:48:52 +01:00
Laurent Destailleur
4d10fe3bba
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-02-29 15:48:50 +01:00
Laurent Destailleur
049eaa1820
Compact code
2024-02-27 15:33:48 +01:00
Laurent Destailleur
0a345e37a0
Fix delete not used table
2024-02-27 13:01:42 +01:00
Laurent Destailleur
637ffa837f
Clean code
2024-02-22 13:28:18 +01:00
Laurent Destailleur
5167fe2a62
Fix complete for #28349
2024-02-22 11:32:21 +01:00
Laurent Destailleur
9d48dcbd3d
Fix phpstan
2024-02-22 01:32:55 +01:00
MDW
7dce4c354d
Fix: PHPUnit Object Test template ( #28299 )
...
# Fix PHPUnit Object Test template
Fix some typing issues discovered when reusing the template.
2024-02-20 01:29:47 +01:00
Laurent Destailleur
dff5d3ac93
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-02-19 18:24:57 +01:00
Laurent Destailleur
3e8ee34f9c
FIX Bad column for total in bom list
2024-02-19 16:58:59 +01:00
William Mead
640774d554
Qual clean dolibarrtriggers ( #27968 )
...
* Moved property init to constructor
* Added VERSIONS constant
* Updated code comments
* Refactor to use switch statement
* Added contributor details
* Refactored to use VERSIONS constant
* Added method return & parameter types
* Added getter methods
* Clean code
* Remove runTrigger return type
* Refactored & cleaned code. Added contributor details.
* Refactored modulebuilder trigger interface
* Cleaned code
* Fixed runTrigger types
* Added changelog warning
* Fixed return type
* Fixed return type
* Fixed PHP 7.0 compatibility
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-02-18 23:54:01 +01:00
Laurent Destailleur
1bd04a04f5
Update doc
2024-02-17 00:15:43 +01:00
Laurent Destailleur
75cdfcbf52
Fix if reffield does not exists
2024-02-15 18:08:38 +01:00
Frédéric FRANCE
5f1c679142
fix warning ( #28177 )
...
* fix warning
* clean properties
* clean properties
2024-02-15 13:59:19 +01:00
Laurent Destailleur
c8777a94b0
Fix table for export profile in modulebuilder
2024-02-15 13:13:24 +01:00
Laurent Destailleur
7bb21e7ff6
Fix picto
2024-02-15 13:10:28 +01:00
Laurent Destailleur
e9a0905fba
Use same return
2024-02-13 11:14:11 +01:00
Laurent Destailleur
cdff5d7c91
FIX external module can cumulate return of arrays
2024-02-12 20:08:05 +01:00
Laurent Destailleur
0920d6e08f
Enhance modulebuilder
2024-02-12 07:10:49 +01:00
Laurent Destailleur
37bd68b27a
Debug
2024-02-10 10:38:29 +01:00
Laurent Destailleur
d4296c2ffd
Work on website templates from external modules
2024-02-09 17:54:57 +01:00
MDW
7b54824d49
Fix #28071 - New branch to fix bad merge ( #28083 )
...
* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
* Qual: Introduce getDataToShowPhoto to prepare generic code
* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
* Fix missing trans
* Fix langs
* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
* Remove useless files in web templates
* Clean code
* Fix duplicate translation key
* Fix duplicate translation key
* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
* Fix duplicate key
* Fix $object
* Debug v19
* WIP SMSing
* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
* WIP EMAILINGS_SUPPORT_ALSO_SMS
* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
* WIP SMSing
* Debug the "validate" feature
* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
* Clean code
* Move rights->x->y into hasRight('x', 'y')
* Move rights->x->y into hasRight('x', 'y')
* Move rights->x->y into hasRight('x', 'y')
* Move rights->x->y into hasRight('x', 'y')
* Move rights->x->y into hasRight('x', 'y')
* Move rights->x->y into hasRight('x', 'y')
* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
* Enhance rector to fix empty($user->rights->modulex->perm1)
* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
* Fix template to use v19 dev rules
* Fix use v19 dev rules
* Fix phpunit
* Debug v19
* Clean code
* Use rector to convert user->rights into user->hasRight
* Clean code
* Use rector to convert user->rights into user->hasRight
* Use rector to convert user->rights into user->hasRight
* Clean code
* Fix phpcs
* add editorconfig for sql files (#27999 )
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* add model_pdf field in llx_ticket-ticket.sql (#27996 )
* add model_pdf field in llx_ticket-ticket.sql
* Update 19.0.0-20.0.0.sql
* Update 19.0.0-20.0.0.sql
* Improve wording in README (#27994 )
* fix phpstan (#27989 )
* fix phpstan
* Update UserRightsToFunction.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* Qual: Fix spelling/working in datapolicy translations (#28006 )
# Qual: Fix spelling/wording in datapolicy translations
Fixed some spelling and wording in datapolicy translations.
* qual: phpstan for htdocs/ticket/class/ticketstats.class.php (#27986 )
htdocs/ticket/class/ticketstats.class.php 98 Parameter #1 $year (string) of method TicketStats::getNbByMonth() should be compatible with parameter $year (int) of method Stats::getNbByMonth()
* Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
* Fix user with readonly perm on email template must be able to read.
* Fix doc
* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
* Better message
* Add missing fields in merge of thirdparty
* Debug v19 selection of ticket printer per terminal
* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
* Use constant
* NEW: Adding a recipient on emails sent, change status to sent partialy.
* fix travis (#28052 )
* fix travis
* Update partnership.class.php
* fix php doc (#28047 )
* fix undefined array key (#28048 )
* Add region and departament for Cuba (#28046 )
* Update llx_10_c_regions.sql
Add Cuba Regions (id_country=77)
* Update llx_20_c_departements.sql
Add Provinces Cuba (id country=77)
* Find the typo (#28050 )
* Find the typo
* clean code
* add last_main_doc field to product (#28045 )
* add las_main_doc field to product
* add field fetch
* NEW Add Categorie filter for ActionComm (#28041 )
* New Add Categorie filter for ActionComm
New Add Categorie filter for ActionComm
* Fix space errors
Fix space errors
* Fix space errors 2
Fix space errors 2
* Update cunits.class.php (#28056 )
FIX: error SQL when creating a Cunit
* Update codespell-lines-ignore.txt to avoid PR merge conflict
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
Co-authored-by: Frédéric FRANCE <frederic34@users.noreply.github.com>
Co-authored-by: thibdrev <thibault.drevet@gmail.com>
Co-authored-by: sonikf <93765174+sonikf@users.noreply.github.com>
Co-authored-by: Ikarus <44511582+LeKarSol@users.noreply.github.com>
Co-authored-by: Anthony Damhet <73399671+EchoLoGeek@users.noreply.github.com>
Co-authored-by: Quentin-Seekness <72733832+Quentin-Seekness@users.noreply.github.com>
2024-02-09 15:58:49 +01:00
Laurent Destailleur
eb4f53665d
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
.github/workflows/pre-commit.yml
ChangeLog
dev/tools/codespell/codespell-lines-ignore.txt
htdocs/comm/mailing/card.php
htdocs/contact/card.php
htdocs/langs/en_US/admin.lang
htdocs/modulebuilder/template/core/modules/mailings/mailinglist_mymodule_myobject.modules.php
2024-02-07 18:30:10 +01:00
Laurent Destailleur
6dca2e6bf0
Debug v19
2024-02-04 16:29:40 +01:00
Laurent Destailleur
7c88705f14
Fix template to use v19 dev rules
2024-02-04 16:05:02 +01:00
Laurent Destailleur
d8a3508cbe
Debug v19
2024-02-03 17:26:10 +01:00
Laurent Destailleur
4aeda8d28d
Fix escapeforlike/escape
2024-02-03 15:29:40 +01:00
Laurent Destailleur
62e25855e5
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-01-28 00:40:53 +01:00
Laurent Destailleur
c084c76405
Enhance email selector
2024-01-27 23:29:21 +01:00
Laurent Destailleur
279f9e715a
WIP API
2024-01-27 02:22:25 +01:00
Laurent Destailleur
bf80809a96
Debug v19
2024-01-27 01:34:53 +01:00
Laurent Destailleur
3a6468dd33
Fix init hook context "cli" for all cli scripts
2024-01-26 01:52:06 +01:00
Laurent Destailleur
82a3f29cf3
Fix trans
2024-01-23 18:06:53 +01:00
Laurent Destailleur
a7378be744
Fix use css of setup text item when fieldAttr are also provided
2024-01-23 16:28:36 +01:00
Laurent Destailleur
1a17130fbc
Enhance the default setup page of generated modules
2024-01-23 15:25:45 +01:00
Frédéric France
03e29c6960
fix param
2024-01-20 09:22:38 +01:00
Laurent Destailleur
43d8e26023
Move API HTTP code from 401 to 403
2024-01-18 16:25:47 +01:00
Aloïs Micard
9c27b76d55
Fix index name
2024-01-18 15:35:08 +01:00
Aloïs Micard
d89d1ede98
FIX: ModuleBuilder: make sure fk_object is unique on extrafields
2024-01-18 15:21:35 +01:00
Laurent Destailleur
936be12f44
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-01-15 17:21:26 +01:00
Laurent Destailleur
23e8b48c5b
Fix phpstan
2024-01-15 14:02:11 +01:00
Laurent Destailleur
3ac7706a63
Clean code
2024-01-15 11:28:25 +01:00
Francis Appels
3d82778516
Fix modulebuilder fetchAll with extrafield ( #27500 )
2024-01-14 18:00:48 +01:00
MDW
a04f2bf4e7
Qual: Spelling fixes that newly appeared. ( #27495 )
...
* Qual: Spelling fixes that newly appeared.
# Qual: Fix spelling erros that appeared since the bulk updates.
These issues mostly appeared since the bulk updates (a few ones were postponed
to make sure no real spelling errors were missed.)
* Update modulebuilder.lib.php
* Update pdf_standard.modules.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-14 12:26:37 +01:00
MDW
39769482b1
Qual: Fix typing hints for DoliDB ( #27484 )
...
# Qual: Fix typing hints for DoliDB
This should help the static tools for type and method checking.
2024-01-13 15:50:02 +01:00
Laurent Destailleur
cb2ebb1d56
Fix phpcs
2024-01-12 20:51:10 +01:00
Laurent Destailleur
f201692001
Fix phpstan
2024-01-12 19:50:22 +01:00
MDW
591306d7b1
Qual: Spelling htdocs/[l-o]* & htdocs/pa* ( #27435 )
...
# Qual: Fix spelling htdocs/[l-o]* & htdocs/pa*
Mostly comments, some local variables changed and translations to avoid
automatic fixes.
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-12 18:06:50 +01:00
Laurent Destailleur
618a364064
FIX #27439 but using the opposite direction. int is bette as we can evolve to add a third value in a future.
2024-01-12 17:47:54 +01:00
Laurent Destailleur
aba9afe9f1
NEW Add method getPublicImageOfObject() for website module
2024-01-12 13:05:28 +01:00
Laurent Destailleur
866b44e34e
Debug v20
2024-01-11 14:37:32 +01:00
Laurent Destailleur
2a4578ef68
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-01-11 13:48:15 +01:00
Laurent Destailleur
6b42b48d20
NEW Can generate the email selector file
2024-01-11 02:47:42 +01:00
Laurent Destailleur
77a922a72e
Debug v19
2024-01-11 01:41:13 +01:00
Laurent Destailleur
e0c8a652e9
Merge pull request #27322 from frederic34/cleanboxescode
...
clean code of boxes
2024-01-10 14:28:16 +01:00
Laurent Destailleur
910a541c60
Clean code
2024-01-09 13:08:22 +01:00
Laurent Destailleur
e2f49c407f
Clean sql request to use exist instead of left join
2024-01-09 10:44:50 +01:00
Frédéric France
94b66d5411
clean code of boxes
2024-01-07 16:57:14 +01:00
Laurent Destailleur
0d2a0d3cd2
Fix warning
2024-01-03 16:17:53 +01:00
Laurent Destailleur
6484f49fd8
Fix missing hook
2024-01-03 16:16:44 +01:00
Laurent Destailleur
83addfcef0
Merge pull request #27258 from defrance/patch-313
...
FIX : php 8.1 depreciated strftime
2024-01-02 12:26:39 +01:00
Fabian Heinz
b78632a20e
api fixes
...
According to [RFC2616](https://www.rfc-editor.org/rfc/rfc2616#section-10.2 ), APIs should return 2xx status codes if the request was correct.
The response should be status 200 with an empty result array.
2023-12-31 14:11:05 +01:00
Charlène Benke
d5c7d8dcdf
Update mod_myobject_standard.php
2023-12-30 08:26:04 +01:00
routmoute
1d38a3b7b8
fix conflict with develop branch
2023-12-29 20:19:17 +01:00
routmoute
48f4e52a22
fix: Display of the list of merged pdf
2023-12-29 02:30:32 +01:00
Laurent Destailleur
b28ae5d8d3
Clean code
2023-12-27 12:12:20 +01:00
Laurent Destailleur
484dd8e426
Debug v19
2023-12-23 10:17:28 +01:00
Laurent Destailleur
7f5df80efd
Debug v19
2023-12-19 11:51:48 +01:00
Laurent Destailleur
22c93cb029
Fix phpcs
2023-12-17 22:59:15 +01:00
Laurent Destailleur
98009ea6be
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
ChangeLog
htdocs/compta/bank/class/account.class.php
htdocs/core/modules/supplier_order/doc/pdf_cornas.modules.php
htdocs/langs/en_US/recruitment.lang
htdocs/master.inc.php
htdocs/projet/contact.php
2023-12-17 22:17:14 +01:00
Laurent Destailleur
64b9414271
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
...
Conflicts:
htdocs/modulebuilder/template/myobject_list.php
2023-12-17 22:08:40 +01:00
Laurent Destailleur
8cb9bdd852
Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0
...
Conflicts:
htdocs/comm/action/list.php
htdocs/compta/facture/list.php
htdocs/modulebuilder/template/myobject_list.php
htdocs/product/stock/movement_list.php
htdocs/product/stock/productlot_list.php
htdocs/ticket/list.php
2023-12-17 22:06:48 +01:00
Laurent Destailleur
21b7d68f49
Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0
...
Conflicts:
htdocs/comm/action/list.php
htdocs/compta/facture/list.php
htdocs/modulebuilder/template/myobject_list.php
htdocs/product/stock/movement_list.php
htdocs/product/stock/productlot_list.php
2023-12-17 21:49:08 +01:00
ATM john
00cba14e99
Add llxHeader body css for modulebuilder
2023-12-16 14:38:13 +01:00
Laurent Destailleur
d92c65ad91
FIX infinite loop in API call/trigger by adding a caller
2023-12-15 12:15:33 +01:00
Laurent Destailleur
c3d569968f
Doc
2023-12-11 14:59:09 +01:00
Laurent Destailleur
60af6843fd
Clean code
2023-12-08 02:05:51 +01:00
Laurent Destailleur
89e1e1b859
Merge pull request #26980 from atm-jonathan/FIX_in_array()_list.php
...
FIX in_array() on key
2023-12-08 01:59:32 +01:00
Frédéric FRANCE
61b79fda17
avoid phpstan error with phpdoc
2023-12-06 15:46:39 +01:00
Jonathan Lescaut
771b735384
FIX in_array() on key
2023-12-05 16:12:18 +01:00
Laurent Destailleur
d191220683
Debug v19
2023-12-05 10:45:46 +01:00
Laurent Destailleur
1c9429643a
Fix php-cs
2023-12-04 13:46:42 +01:00
Frédéric FRANCE
53c8a3acf8
clean phpdoc for phpstan ( #26905 )
2023-12-01 19:51:32 +01:00
Laurent Destailleur
240869f2f2
Fix warnings
2023-11-30 21:45:58 +01:00
Laurent Destailleur
552e745908
Debug v19
2023-11-28 10:33:06 +01:00
Laurent Destailleur
4c844dfd12
Fix warnings
2023-11-27 12:13:50 +01:00
Laurent Destailleur
e8dc651877
Fix php8.2 warnings
2023-11-27 11:56:32 +01:00
Laurent Destailleur
aeec2101e3
Clean log
2023-11-21 12:17:10 +01:00
Laurent Destailleur
090ecd3611
Debug v19
2023-11-20 12:31:30 +01:00
Marc de Lima Lucio
786ea1029e
FIX: more correctly parse the select part to be replaced in sql queries, part 2
2023-11-18 12:40:10 +01:00
MDW
e47811a710
QUAL Improve spelling in documentation strings/text ( #26611 )
2023-11-16 15:33:55 +01:00
Laurent Destailleur
6cdb7c929a
Debug v19
2023-11-10 15:10:41 +01:00
Marc de Lima Lucio
a3fa8b82fa
FIX: more correctly parse the select part to be replaced in sql queries
2023-11-09 17:04:13 +01:00
Laurent Destailleur
2a2dec2f88
Debug v19
2023-11-04 16:02:24 +01:00
Florian Mortgat
73524c2f81
[modulebuilder] FIX handling of the $filter parameter in fetchAll() method ( #25931 )
...
* FIX handling of the $filter parameter for fetchAll: the previous version can result in invalid SQL
* Remove #[AllowDynamicProperties] attribute from Conf class (cf. PR #25931 )
* Ensure sql-building strings are detectably sanitized to avoid PR rejection
2023-11-03 23:01:57 +01:00
Laurent Destailleur
440baec6e7
Debug v19
2023-11-02 02:04:09 +01:00
Laurent Destailleur
b92d685940
Debug v19
2023-11-02 01:59:51 +01:00
Laurent Destailleur
127de7e7d8
FIX On object validation, ecm index are not updated for uploaded files
2023-11-01 16:17:54 +01:00
Laurent Destailleur
74e1ec4099
FIX On object validation, ecm index are not updated for uploaded files
2023-10-31 19:28:11 +01:00
Laurent Destailleur
b713ef80ff
Debug v19
2023-10-30 16:32:35 +01:00
Laurent Destailleur
c13d1abd0c
Debug v19
2023-10-29 17:55:02 +01:00
Laurent Destailleur
d285f03120
Debug v19
2023-10-29 14:54:27 +01:00
Laurent Destailleur
197f0a19ec
NEW Add more param on fetch() to prepare perf optimization
2023-10-26 21:05:37 +02:00
Laurent Destailleur
a318031034
QUAL Standardize code. Renamed ID of user properties into ->user_xxx_id
2023-10-24 11:37:29 +02:00
Laurent Destailleur
cad186aed5
css
2023-10-20 16:36:28 +02:00
Laurent Destailleur
455fb4417a
Look and feel v19
2023-10-20 12:57:58 +02:00
Laurent Destailleur
f803b991e6
Setup of website module to enable login/pass is easier
2023-10-18 18:16:10 +02:00
Laurent Destailleur
0fbffea663
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop
2023-10-17 14:49:16 +02:00
Laurent Destailleur
15e927be31
FIX Bad name for trigger in HRM module
2023-10-17 14:46:51 +02:00
Laurent Destailleur
0ab330102f
Fix phpcs
2023-10-16 02:50:05 +02:00
Laurent Destailleur
2ae5314a23
Fix warning
2023-10-14 16:34:28 +02:00
Laurent Destailleur
c507adeef7
NEW Top menu support picto of modules that are font awesome picto.
2023-10-13 15:00:51 +02:00
Laurent Destailleur
92ec85df26
Debug v19
2023-10-11 14:40:02 +02:00
Laurent Destailleur
6cd7ef77fc
Merge branch 'develop' into 13.0_fix_sellist_add_order_by_option
2023-10-06 01:42:22 +02:00
Laurent Destailleur
b0cc8d7b0d
Merge branch '18.0' into 13.0_fix_sellist_add_order_by_option
2023-10-05 21:25:19 +02:00
pascal
80f060c771
fix tab indentation
2023-09-26 18:43:25 +02:00
pascal
871f896962
implementation of properties filter
2023-09-26 18:04:48 +02:00
Laurent Destailleur
d02c615f40
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
2023-09-16 15:14:22 +02:00
Laurent Destailleur
818b1193b1
Fix escapesql
2023-09-15 16:19:05 +02:00
Laurent Destailleur
2391a5da6f
FIX Filter on partnership status
...
FIX Kanban view
2023-09-15 15:58:43 +02:00
UT from dolibit
785b274700
Update myobject_card.php
2023-09-13 23:10:22 +02:00
Laurent Destailleur
bc89f535b1
Qual: Clean code
2023-09-13 11:36:44 +02:00
Laurent Destailleur
18b65ddb2f
Merge pull request #25875 from frederic34/phpstan2
...
phpstan
2023-09-12 17:30:24 +02:00
Frédéric FRANCE
98388e3bd4
phpstan
2023-09-12 12:28:53 +02:00
Laurent Destailleur
91fa48199a
Fix warnings
2023-09-10 17:41:22 +02:00
Laurent Destailleur
52fb2aa2bb
Merge pull request #25854 from dolibit-ut/patch-761
...
Update myobject_note.php
2023-09-09 21:26:30 +02:00
UT from dolibit
d71820aaa7
Update myobject_list.php
2023-09-09 12:38:56 +02:00
UT from dolibit
5ac3219a4b
Update myobject_note.php
2023-09-09 12:34:06 +02:00
Laurent Destailleur
150de687bf
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop
2023-09-05 20:13:38 +02:00
Laurent Destailleur
f43ef55b26
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
...
Conflicts:
htdocs/modulebuilder/template/class/myobject.class.php
htdocs/modulebuilder/template/core/boxes/mymodulewidget1.php
htdocs/modulebuilder/template/core/modules/modMyModule.class.php
htdocs/modulebuilder/template/core/modules/mymodule/doc/doc_generic_myobject_odt.modules.php
htdocs/modulebuilder/template/core/modules/mymodule/doc/pdf_standard_myobject.modules.php
htdocs/modulebuilder/template/myobject_agenda.php
htdocs/modulebuilder/template/myobject_list.php
2023-09-05 19:38:45 +02:00
Laurent Destailleur
345668b2ca
Default html for an url is no more a 'float' div
2023-09-03 17:31:50 +02:00
Laurent Destailleur
5e729d399e
Merge pull request #25698 from dolibit-ut/patch-750
...
Update myobject_document.php
2023-09-01 00:48:29 +02:00
Laurent Destailleur
a6cf5db718
Doc
2023-08-31 23:26:07 +02:00
Florian HENRY
3db024e6b5
fix travis
2023-08-28 14:33:02 +02:00
UT from dolibit
833d967ee4
Update myobject_document.php
2023-08-28 14:16:29 +02:00
Florian HENRY
e56fed15c5
fix travais
2023-08-28 14:12:06 +02:00
UT from dolibit
3982051455
Update myobject_document.php
...
edit / sort general defined options
2023-08-27 20:42:14 +02:00
Laurent Destailleur
5d4f53046a
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
2023-08-27 18:18:34 +02:00
Laurent Destailleur
8fa06ccfa7
Fix empty and getDolGlobal...
2023-08-27 17:11:28 +02:00
Florian HENRY
5deaaa08a2
fix review
2023-08-25 09:10:47 +02:00
HENRY Florian
1cbe8c9327
Update doc_generic_myobject_odt.modules.php
2023-08-23 20:08:58 +02:00
HENRY Florian
f255fac000
Update doc_generic_myobject_odt.modules.php
2023-08-23 20:06:42 +02:00
Laurent Destailleur
4b20e90329
Fix remove warnings
2023-08-21 13:59:19 +02:00
HENRY Florian
b37ca67729
Update myobject.class.php
...
fix https://github.com/Dolibarr/dolibarr/pull/25633#discussion_r1299167338
2023-08-19 21:49:56 +02:00
Laurent Destailleur
24040c78bb
Tooltip for help in ODT doc generation setup is now clickable
2023-08-18 01:46:54 +02:00
Laurent Destailleur
a4d04b84f5
css
2023-08-18 01:06:47 +02:00
Laurent Destailleur
5f774bc960
clean search
2023-08-16 18:28:51 +02:00
Florian HENRY
e387e009bf
fix: use of getDolGlobal in module builder template
2023-08-16 11:59:14 +02:00
Florian HENRY
83ff60a131
fix: use of getDolGlobal in module builder template
2023-08-16 10:44:01 +02:00
Florian HENRY
4a453d0805
fix: use of getDolGlobal in module builder template
2023-08-16 10:40:03 +02:00
Laurent Destailleur
bfde27ea36
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop
2023-08-13 16:33:23 +02:00
Laurent Destailleur
cbf0c314d3
Doc
2023-08-12 13:49:01 +02:00
Laurent Destailleur
47a0c1df54
Debug v18
2023-08-12 13:31:08 +02:00
Laurent Destailleur
28620c58b8
Clean code
2023-08-11 11:42:49 +02:00
Laurent Destailleur
08e428b46d
Fix missing param
2023-08-09 18:00:31 +02:00
Laurent Destailleur
db2a70b86a
NEW Factorize a lot of code for numbering modules
2023-08-09 14:50:28 +02:00
Laurent Destailleur
33cc8e1ff9
Doc
2023-08-09 13:08:57 +02:00
Laurent Destailleur
6daf47e0e5
Add flag to isolate sections
2023-08-08 20:22:31 +02:00
Laurent Destailleur
b43ca2a0ad
Clean code
2023-08-06 13:39:32 +02:00
Laurent Destailleur
08fa36d52a
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop
2023-08-05 15:48:56 +02:00
Laurent Destailleur
7ce9bf6b23
Clean code
2023-08-05 15:44:28 +02:00
Laurent Destailleur
4a7e52f808
Debug v18
2023-08-05 14:26:57 +02:00
Laurent Destailleur
0658c91bb6
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop
2023-08-05 14:21:40 +02:00
Laurent Destailleur
4431ca659f
Debug v18
2023-08-05 14:20:25 +02:00
Laurent Destailleur
ea364ff1a3
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop
2023-08-05 13:47:17 +02:00
Laurent Destailleur
df76b9940d
Debug v18
2023-08-05 13:27:56 +02:00
Laurent Destailleur
81b8d1e532
Clean code
2023-08-04 18:33:07 +02:00
Laurent Destailleur
b76dadd5c5
Clean code
2023-08-02 00:37:02 +02:00
Laurent Destailleur
17d813a8d5
Clean code
2023-08-02 00:34:52 +02:00
Laurent Destailleur
b52f426518
Remove hardcoded value
2023-08-01 18:52:35 +02:00
Laurent Destailleur
9fd651ee5c
FIX warnings
2023-07-30 19:46:23 +02:00
Laurent Destailleur
7cbc8728a5
FIX warnings
2023-07-30 19:44:04 +02:00
Laurent Destailleur
054cb4a6d1
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
2023-07-21 14:44:22 +02:00
Laurent Destailleur
dbe9cc45f9
Debug v18
2023-07-19 02:51:51 +02:00
Laurent Destailleur
e8ad953e12
Debug v18
2023-07-12 15:23:14 +02:00
Laurent Destailleur
37beb399d5
Debug v18
2023-07-12 15:02:34 +02:00
Laurent Destailleur
d4cda09794
Debug v18
2023-07-10 02:25:33 +02:00
Laurent Destailleur
5fd7bcaae9
Debug v18
2023-06-29 12:10:31 +02:00
Laurent Destailleur
b5cdb1b88c
Debug v18
2023-06-28 15:15:37 +02:00
Laurent Destailleur
cb40e2ebd2
Fix warnings
2023-06-28 14:52:44 +02:00
Laurent Destailleur
fb51c902a6
Debug v18
2023-06-28 12:05:51 +02:00
Laurent Destailleur
ef64e1dcfc
Debug v18
2023-06-28 11:50:28 +02:00
Laurent Destailleur
31474d80f1
Doxygen
2023-06-19 00:52:43 +02:00
Laurent Destailleur
f90483cc09
FIX #25095
2023-06-16 03:50:24 +02:00
Frédéric FRANCE
740ac26277
use user hasRight
2023-06-14 19:54:16 +02:00
Frédéric France
0cb70110eb
use user hasRight
2023-06-12 20:10:42 +02:00
Aloïs Micard
25587ba786
FIX: ModuleBuilder admin setup numbering rules
2023-06-10 23:01:48 +02:00
Florian HENRY
3624e0efe3
again check php 8 review
2023-06-09 11:02:46 +02:00
Florian HENRY
ce10c68d31
getDol rather than ->global
2023-06-08 22:38:11 +02:00
Laurent Destailleur
5525cfcab2
Merge branch 'develop' into AddApiUrl
2023-06-07 19:14:26 +02:00
Frédéric France
5a018d715d
use user hasRight
2023-06-06 00:05:02 +02:00
Lamrani Abdel
0f4feec3ff
fix some problems
2023-06-05 16:15:52 +02:00
Laurent Destailleur
66393753c4
Clean code - fix warnings
2023-05-30 13:29:57 +02:00
Laurent Destailleur
c564bf4850
Merge pull request #24868 from BB2A-Anthony/NEW---Add-action-trigger-in-modulebuilder-template
...
NEW - Add action trigger in modulebuilder template
2023-05-24 14:08:25 +02:00
Anthony Berton
a6f6b906bb
NEW - Add action trigger in modulebuilder template
2023-05-24 12:39:15 +02:00
Lamrani Abdel
0de29550f2
optimize all menu section
2023-05-23 17:37:52 +02:00
Laurent Destailleur
5dae5b57a0
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
2023-05-17 12:27:46 +02:00
Laurent Destailleur
476f95c4f6
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/adherents/subscription/list.php
htdocs/comm/action/index.php
htdocs/core/modules/propale/doc/pdf_azur.modules.php
htdocs/core/modules/propale/doc/pdf_cyan.modules.php
htdocs/core/modules/supplier_proposal/doc/pdf_aurore.modules.php
htdocs/cron/class/cronjob.class.php
htdocs/eventorganization/class/conferenceorbooth.class.php
htdocs/modulebuilder/template/myobject_list.php
htdocs/public/ticket/list.php
htdocs/supplier_proposal/list.php
htdocs/ticket/class/ticket.class.php
2023-05-17 00:57:17 +02:00
Laurent Destailleur
9635fa35d8
Merge pull request #24706 from alexandre-janniaux/constructor-bump-phpunit/1
...
FIX test/phpunit: add $name to __construct()
2023-05-16 20:58:15 +02:00
Laurent Destailleur
342ff65837
Fix code template
2023-05-16 12:56:03 +02:00
Laurent Destailleur
5dd3f57a1e
Debug v18
2023-05-11 13:11:21 +02:00
Laurent Destailleur
09120d3fa9
Debug v18
2023-05-09 16:08:43 +02:00
Alexandre Janniaux
df0adc391d
FIX test/phpunit: add $name to __construct()
...
Fix the following errors when running recent phpunit:
Message: Too few arguments to function PHPUnit\Framework\TestCase::__construct(), 0 passed in
dolibarr/test/phpunit/DateLibTzFranceTest.php on line 63 and exactly
1 expected Location: phar:///usr/share/webapps/bin/phpunit.phar/phpunit/Framework/TestCase.php:265
Indeed, the old constructor had an optional $name='' parameter but the
new constructor reads like this:
public function __construct(string $name)
and the parameter is now mandatory.
2023-05-08 16:29:31 +02:00
Laurent Destailleur
ad195f53f0
Debug v18
2023-05-04 22:17:06 +02:00
Laurent Destailleur
4028b5d568
Clean code
2023-04-29 13:13:12 +02:00
Laurent Destailleur
be835d63ed
Merge pull request #24635 from VMR-Global-Solutions/develop
...
API add / fix filter on extrafields in index()
2023-04-28 20:02:09 +02:00
Laurent Destailleur
e74c50aa8a
Clean code
2023-04-28 16:05:25 +02:00
VMR Global Solutions
926aa6fec7
API add / fix filter on extrafields in index()
...
Add / change in api_xxx.class.php files the ability to filter on extrafields when missing in the public functions index()
by changing the SQL query with the pattern
" FROM ".MAIN_DB_PREFIX"xxxx AS t LEFT JOIN ".MAIN_DB_PREFIX."xxxx_extrafields AS ef ON (ef.fk_object = t.rowid)
2023-04-28 09:31:33 +02:00