Commit Graph

2221 Commits

Author SHA1 Message Date
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
Frédéric FRANCE
0d3e0c8ec4
fix incorrect case and remove exclude check (#27449) 2024-01-12 20:40:34 +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
f711144428 Try to move tmp dir 2024-01-10 14:52:12 +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
4501872f17 Clean code with rector 2 2024-01-05 04:33:58 +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
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
c6040146b2 Add more function to disable. Add preg_quote to avoid false positive. 2023-12-21 19:39:02 +01:00
Laurent Destailleur
7f5df80efd Debug v19 2023-12-19 11:51:48 +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
7d109e9419 Fix phpcs 2023-12-13 12:46:23 +01:00
Laurent Destailleur
e040219fdc Fix phpcs 2023-12-13 12:45:07 +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
06736918de Fix warning 2023-11-27 12:33:07 +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
Laurent Destailleur
c2c610adbc Fix warning 2023-11-17 02:18:24 +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
b65d5c8740 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-11-05 19:52:54 +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
Francis Appels
d33b273f39
Fix module builder add/edit object foreignkey (#26425) 2023-11-01 14:18:57 +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
47f5a6396e Can edit label of a field of an object 2023-10-30 17:23:22 +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
0158c3ff68 Debug v19 2023-10-29 17:36:00 +01:00
Laurent Destailleur
582a6f7f45 Debug v19 2023-10-29 16:44:41 +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
MDW
c0c5eccfb5
Fix some phan notices (not critical) (#26265) 2023-10-20 02:22:07 +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
01a139158d Debug v19 2023-10-16 21:15:03 +02:00
Laurent Destailleur
0ab330102f Fix phpcs 2023-10-16 02:50:05 +02:00
Laurent Destailleur
b8c8e903c2 Fix php8.2 warnings 2023-10-15 18:39:13 +02:00
Laurent Destailleur
2ae5314a23 Fix warning 2023-10-14 16:34:28 +02:00
Laurent Destailleur
cbb60d8b5e Debug v19 2023-10-14 16:23:28 +02:00
Laurent Destailleur
4594188984 Debug v19 2023-10-14 01:10:25 +02:00
Laurent Destailleur
d11543c806 Debug v19 2023-10-13 20:07:39 +02:00
Laurent Destailleur
9f13d74534 Clean code 2023-10-13 16:49:59 +02:00
Laurent Destailleur
0e7c5debed Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2023-10-13 16:38:51 +02:00
Laurent Destailleur
af186509b9 Fix error management 2023-10-13 15:42:15 +02:00
Laurent Destailleur
3f1964a892 Fix warnings 2023-10-13 15:15:51 +02:00
Laurent Destailleur
e358ef9fa0 NEW Can modify the picto into modulebuilder 2023-10-13 15:08:50 +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
Mohamed DAOUD
0620eab415
[FIX] Warnings in ModuleBuilder Configuration Page (#26149)
* Fix Warnings in ModuleBuilder Configuration Page

* Fix Warnings in ModuleBuilder Configuration Page
2023-10-10 09:19:49 +02:00
Laurent Destailleur
1a249237a0 Debug v19 2023-10-09 16:46:47 +02:00
Laurent Destailleur
df454003da FIX php8.2 2023-10-09 15:44:57 +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
Laurent Destailleur
5bcd89d66c Debug v19 2023-10-03 19:39:22 +02:00
Laurent Destailleur
5411a18e1b Fix warning 2023-09-27 12:53:58 +02:00
Laurent Destailleur
cdfa7c901a
Merge pull request #25532 from lamrani002/formAddPropertyMB
NEW Form for add object's property on moduleBuilder
2023-09-27 11:34:07 +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
abd236e804 Fix picto of data type 2023-09-20 03:14:48 +02:00
Lamrani Abdel
0f0f66f252 New picto for type in modulebuilder 2023-09-19 19:25:24 +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
1dc928c728 Fix warning 2023-09-11 15:36:08 +02:00
Laurent Destailleur
a0914e6e70 USe css for badge instead of parenthesis 2023-09-11 15:08:06 +02:00
Laurent Destailleur
31c74d8d95 Fix warning 2023-09-11 14:06:33 +02:00
Laurent Destailleur
91fa48199a Fix warnings 2023-09-10 17:41:22 +02:00
Laurent Destailleur
053aa19c34
Merge pull request #25856 from lamrani002/titleOfApi
NEW updating by adding tooltip for api section in Modulebuilder
2023-09-09 21:27:14 +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
Lamrani Abdel
f82e3fc27e NEW updating by adding tooltip for api section in Modulebuilder 2023-09-09 12:44:38 +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
ef3590d659 Fi phpcs 2023-09-08 21:34:54 +02:00
Laurent Destailleur
575aa4af43
Merge pull request #25847 from lamrani002/addChangeLogToDoc
NEW functionality add section changeLog to Doc in MB
2023-09-08 21:33:16 +02:00
Lamrani Abdel
f2b72ec15a NEW functionality add section changeLog to Doc in MB 2023-09-08 14:45:59 +02:00
Lamrani Abdel
5adf2ccf5b fix problem 2023-09-08 12:11:52 +02:00
Laurent Destailleur
0e7703f0ce
Merge pull request #25805 from lamrani002/checkBeforereWrite
NEW functionality for Checkin comments begin and end before each actions
2023-09-05 23:39:58 +02:00
Laurent Destailleur
e280bc0b11
Merge pull request #25804 from lamrani002/addBadgeInMB
NEW functionnality for add badge for each tabs
2023-09-05 23:37:58 +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
Lamrani Abdel
d8c51cb311 check before each actions 2023-09-05 18:54:08 +02:00
Lamrani Abdel
b739b5b76d add badge for each tabs 2023-09-05 18:50:04 +02:00
Lamrani Abdel
8f7d68ac8e add function for check comments for sections before any actions 2023-09-05 15:43:23 +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
Lamrani Abdel
2ba38eaaae update function for writeProps and deleteProps and parsing string 2023-08-30 17:00:12 +02:00
lamrani abdelwadoud
1d3f2fc34a
Merge branch 'develop' into formAddPropertyMB 2023-08-30 12:11:42 +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
Laurent Destailleur
151cd24b32
Merge pull request #25634 from lamrani002/addApiUrlToDoc
NEW functionality for Add api url to documentation in ModuleBuilder
2023-08-19 22:11:17 +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