Commit Graph

1966 Commits

Author SHA1 Message Date
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
Laurent Destailleur
46e3413e8a Fix tooltips 2023-04-27 15:55:21 +02:00
Frédéric FRANCE
53d2757a8f
clean code 2023-04-27 09:54:40 +02:00
Laurent Destailleur
06f8291e07 Dolibarrize v18 2023-04-24 18:09:18 +02:00
Frédéric FRANCE
5f5fa38561 Merge remote-tracking branch 'upstream/develop' into use_ismodenabled 2023-04-21 15:16:08 +02:00
Laurent Destailleur
9859720dc3 Clean module dependency system 2023-04-21 13:27:50 +02:00
Frédéric FRANCE
cfa10bb8ba use isModEnabled 2023-04-18 20:40:07 +02:00
Frédéric FRANCE
40c5be6f7f use isModEnabled 2023-04-18 20:37:07 +02:00
Frédéric FRANCE
7760ba86da use isModEnabled 2023-04-18 20:33:36 +02:00
Laurent Destailleur
c510b7d4df Add hidden search parameter search_current_entity 2023-04-12 18:16:14 +02:00
Laurent Destailleur
aea1f60c67 Debug v18 2023-04-10 01:46:30 +02:00
Laurent Destailleur
a4a014cfd5 Clean libelle into label 2023-04-08 15:08:55 +02:00
Laurent Destailleur
0fb03fdc2d Clean code 2023-04-08 01:43:21 +02:00
Laurent Destailleur
931c9fa7ca Look and feel v18 2023-04-08 00:30:21 +02:00
Laurent Destailleur
8898a1a432 Debug ajax tooltip 2023-04-03 19:51:40 +02:00
Laurent Destailleur
6a470dbcf7 Kanban on inventory list. Look and feel v18 2023-04-01 12:05:29 +02:00
Laurent Destailleur
1e94959042 Debug v18 2023-03-27 10:00:12 +02:00
hystepik
e8f8c643f7 add support on modulebulder 2023-03-23 14:01:54 +01:00
Laurent Destailleur
152bbeb90a Securize and enhance objectonoff for external modules 2023-03-21 18:27:32 +01:00
Laurent Destailleur
76ab7136f2 Clean code 2023-03-19 15:22:21 +01:00
Jyhere
ecfa7f1676 FIX: remove obsolete preg_replace for removing commat at the beginning... needed to work 2023-03-16 14:58:44 +01:00
Laurent Destailleur
10be924888 Look and feel v18 2023-03-14 10:58:35 +01:00
Laurent Destailleur
8208884af4 Work on kanban views 2023-03-13 09:45:47 +01:00
Laurent Destailleur
3f264989ce
Merge pull request #23906 from FliyFly/qodanaincompatible
Fix (qodana)
2023-03-08 13:21:14 +01:00
Laurent Destailleur
a92081cf43 Debug Kanban views 2023-03-07 22:04:40 +01:00
Laurent Destailleur
8bde9ce270 Look and feel v18 2023-03-07 20:03:04 +01:00
Laurent Destailleur
5ff366178c Debug module builder 2023-03-07 16:47:24 +01:00
Laurent Destailleur
c9d869f837 Debug kanban view 2023-03-07 13:41:01 +01:00
Laurent Destailleur
9e18a8b783 Clean code 2023-03-06 18:03:30 +01:00
Laurent Destailleur
25d09d7516 Tab events for proposals 2023-03-06 17:42:06 +01:00
Laurent Destailleur
3c96c42f32 Look and feel v18 2023-03-05 19:14:57 +01:00
Laurent Destailleur
1833bfc9d3 Fix kanban view 2023-03-05 15:29:41 +01:00
Laurent Destailleur
dd1a9d91fc
Merge pull request #24086 from lamrani002/apiForModule
NEW comment in api_mymodule for seperate methods
2023-03-02 13:35:18 +01:00
Laurent Destailleur
54d1250887 Merge + Clean duplicate trigger code. We must use the context. 2023-03-02 02:19:24 +01:00
Lamrani Abdel
0d3a4d68b2 add comment in api_mymodule for seperate methods 2023-03-01 23:20:42 +01:00
Laurent Destailleur
12bd795afc Work on Kanban view 2023-03-01 20:13:21 +01:00
Laurent Destailleur
f6271d83db Debug v17 2023-03-01 19:28:32 +01:00
Laurent Destailleur
b0b1e8d327 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-02-27 03:40:12 +01:00
Laurent Destailleur
bf544bef63 css 2023-02-26 13:13:58 +01:00
Laurent Destailleur
ed5c890769 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-02-25 20:12:48 +01:00
Laurent Destailleur
cbb6ca071a Fix #yogosha15157 2023-02-25 19:51:05 +01:00
FLIO
29e56ab3cf fix (qodana) edit error and merge develop to be update 2023-02-21 17:51:24 +01:00
Laurent Destailleur
40d9d7481b Debug v18 2023-02-21 02:12:20 +01:00
Laurent Destailleur
75cddd8c09 Debug kanban 2023-02-21 00:54:00 +01:00
Laurent Destailleur
870ac42082 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-02-20 16:20:49 +01:00
Laurent Destailleur
3b8794dfb6 Debug v17 2023-02-20 02:08:04 +01:00
Laurent Destailleur
767b1d60d9 Debug v17 2023-02-20 00:16:02 +01:00
Laurent Destailleur
eaa0e5eb3e CSS 2023-02-19 02:39:39 +01:00
Laurent Destailleur
438c7b93f2 Debug v18 2023-02-19 02:18:46 +01:00
Laurent Destailleur
fd3dffc892 Add kanban view for partnership object 2023-02-18 19:20:54 +01:00
Laurent Destailleur
a59716e69f Debug kanban on thirdparty 2023-02-18 15:45:07 +01:00
Laurent Destailleur
0b4cacd291 Use dolChmod 2023-02-17 20:01:53 +01:00
Frédéric FRANCE
8765e00e00 Merge remote-tracking branch 'upstream/develop' into membertooltip 2023-02-16 21:27:56 +01:00
Laurent Destailleur
c498589bac
Merge pull request #23937 from bloxera/wikilink_DE_1
New: add links to wiki pages in German language
2023-02-16 21:23:15 +01:00
priojk
247ba8d0c3 New: added links to wiki pages in German language 2023-02-16 17:52:41 +01:00
Frédéric FRANCE
c1882425db fix tooltip 2023-02-15 22:26:16 +01:00
FLIO
156922fc51 Fix (qodana) Incompatible return type 2023-02-14 14:09:56 +01:00
Laurent Destailleur
19bfb021e1 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-02-13 13:51:35 +01:00
Laurent Destailleur
c02113de6a Debug v17 2023-02-11 13:04:23 +01:00
Laurent Destailleur
6764075501
Merge pull request #23857 from frederic34/patch-7
fix syntax
2023-02-09 18:17:42 +01:00
Frédéric FRANCE
3417b633f7
fix syntax 2023-02-09 15:28:05 +01:00
Frédéric FRANCE
06904246f8 clean code 2023-02-05 23:40:02 +01:00
Frédéric FRANCE
b238830c82 keep original label 2023-02-05 23:19:56 +01:00
Frédéric FRANCE
5a33e40667 fix for double tooltip 2023-02-04 21:34:48 +01:00
Frédéric FRANCE
04610763aa Merge remote-tracking branch 'upstream/develop' into ajaxtooltip 2023-02-04 18:31:40 +01:00
Frédéric FRANCE
41dd574b16 clean js 2023-02-02 22:59:54 +01:00
Frédéric FRANCE
9f365ac568 add ajax tooltip on modulebuilder 2023-02-02 21:35:40 +01:00
Laurent Destailleur
9fb08b5a0a Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-01-31 21:28:59 +01:00
Laurent Destailleur
67bf4a3ec0 Debug v17 2023-01-31 20:45:32 +01:00
Laurent Destailleur
52267efb99 Fix filter must use the Dolibarr filter syntax 2023-01-31 18:18:33 +01:00
Laurent Destailleur
583891a8e5 Fix template for line total 2023-01-31 01:14:49 +01:00
Laurent Destailleur
a628852a32 Fix template for line total 2023-01-31 01:13:57 +01:00
Laurent Destailleur
dd70552374 Fix css 2023-01-30 15:54:19 +01:00
Laurent Destailleur
95cb4237bf Fix css 2023-01-30 15:51:34 +01:00
Eric Seigne
7d4b459639 change to 7 to be close to extrafields + reverse doc 2023-01-28 14:43:00 +01:00
Laurent Destailleur
a6daba61ce Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-01-26 02:32:08 +01:00
Laurent Destailleur
d96b2f9ae3 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2023-01-26 02:21:27 +01:00
Laurent Destailleur
d0e9290daf NEW An external module can modify the quick search fields 2023-01-25 15:27:10 +01:00
Laurent Destailleur
b41776e6c0 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2023-01-25 14:55:05 +01:00
Laurent Destailleur
ae118f2109 Clean code 2023-01-25 14:48:41 +01:00
Laurent Destailleur
450263f3f1
Merge pull request #23644 from frederic34/patch-7
fix missing global in template modulebuilder
2023-01-23 01:53:59 +01:00
Laurent Destailleur
fa185e9cf0 NEW Add helplist property to describe fields of obects 2023-01-21 12:24:54 +01:00
Frédéric FRANCE
7df07b57ce
fix missing global in template modulebuilder 2023-01-20 13:58:04 +01:00
Laurent Destailleur
31002317ee Debug kanban 2023-01-20 09:38:35 +01:00
Laurent Destailleur
1a2b48c575 Fix kanban 2023-01-18 23:07:34 +01:00
Laurent Destailleur
0f475783de Enhance method getKanbanView 2023-01-18 22:27:52 +01:00
Laurent Destailleur
80d46a22f1 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-01-18 21:36:57 +01:00
Laurent Destailleur
48161b8400 Debug v17. Bad param for selection of project 2023-01-17 13:50:23 +01:00
Laurent Destailleur
3e273d4004 Debug v17 2023-01-14 15:47:22 +01:00
Laurent Destailleur
79ecc945e9 Fix warning 2023-01-14 11:43:47 +01:00
Laurent Destailleur
577ef4a8a1
Merge pull request #23501 from aspangaro/18a4
Use isModEnabled()
2023-01-11 10:29:37 +01:00
Alexandre SPANGARO
8f5edcab02 Use isModEnabled() 2023-01-11 06:11:41 +01:00
Laurent Destailleur
5280d070e3 Fix technical debt 2023-01-06 19:24:57 +01:00
Laurent Destailleur
75104c1a1b Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-01-05 16:03:24 +01:00
Francis Appels
ffc314d1a7 FIX module builder template setup.php for default doc model. 2023-01-05 11:13:11 +01:00
Laurent Destailleur
9aa6e59f9b Look and feel v18 2023-01-05 04:04:16 +01:00
Laurent Destailleur
566fb52fb8 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-01-04 15:38:57 +01:00
Laurent Destailleur
eed3cdd9cc Debug v17 2023-01-04 15:10:53 +01:00
Laurent Destailleur
a4472f52e2 Debug v17 2023-01-04 14:15:07 +01:00
Laurent Destailleur
6580aa056a Clean code 2023-01-03 19:05:13 +01:00
Laurent Destailleur
5c17b3ba92
Merge pull request #23367 from lamrani002/ModulBuilderMenuAdd
NEW updating in modulbuilder on tab Menu when adding object
2023-01-02 00:26:01 +01:00