2
0
forked from Wavyzz/dolibarr
Commit Graph

2215 Commits

Author SHA1 Message Date
Lamrani Abdel
94f5896d43 fix incoherences in update menu in relation to select permission 2023-07-19 11:57:13 +02:00
Laurent Destailleur
dbe9cc45f9 Debug v18 2023-07-19 02:51:51 +02:00
Lamrani Abdel
4bd9a62a44 add select perms for each object when add menu 2023-07-18 12:24:16 +02:00
Lamrani Abdel
e6527a79e5 fix some incoherence in ModuleBuilder menus 2023-07-17 18:31:00 +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
Laurent Destailleur
990c2335b2 Merge pull request #25099 from lamrani002/fixremoveApiFile
fix path of api file in module builder
2023-06-16 00:31:05 +02:00
Frédéric FRANCE
740ac26277 use user hasRight 2023-06-14 19:54:16 +02:00
Lamrani Abdel
04ba3e8883 fix path of api file 2023-06-14 15:36:43 +02:00
Frédéric France
0cb70110eb use user hasRight 2023-06-12 20:10:42 +02:00
Maxime Kohlhaas
fd5064d51d Merge pull request #25026 from Hystepik/develop#1
Fix : Wrong lang code modulebuilder
2023-06-12 19:40:33 +02:00
Lamrani Abdel
f55510a02e add script for complet label field 2023-06-12 14:16:09 +02:00
Aloïs Micard
25587ba786 FIX: ModuleBuilder admin setup numbering rules 2023-06-10 23:01:48 +02:00
hystepik
826466d071 Fix : Wrong lang code modulebuilder 2023-06-09 15:02:46 +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
342558d0fc Debug v18 2023-06-04 01:54:32 +02:00
Laurent Destailleur
a6df8fad0b Debug v18 2023-06-01 23:42:57 +02:00
Laurent Destailleur
66393753c4 Clean code - fix warnings 2023-05-30 13:29:57 +02:00
Laurent Destailleur
130a2dc4f7 Fix warning 2023-05-30 12:57:30 +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
daa99b989f Merge pull request #24679 from lamrani002/orgnizePermissions
Include all actions that manage permissions in a single function
2023-05-05 01:36:36 +02:00
Laurent Destailleur
ad195f53f0 Debug v18 2023-05-04 22:17:06 +02:00
Lamrani Abdel
2450819a95 orgnize function for permissions & simplify the code in index 2023-05-03 15:33:58 +02:00
Laurent Destailleur
07b9f0286e Merge pull request #24666 from lamrani002/sortPermission
optimize and clean function reWriteAllPermissions()
2023-05-03 11:39:49 +02:00
Laurent Destailleur
458431facb Merge pull request #24287 from lamrani002/deleteFromDocMB
NEW functionality delete table of property from documentation
2023-05-03 11:32:32 +02:00
Lamrani Abdel
90221407ce optimize and clean function rewritePerms 2023-05-02 18:02:36 +02:00
Alexandre Janniaux
4a3407aa82 FIX #24653 modulebuilder: replace /myobject/ in includes
The templates view, like myobject_card.php are including the following
files:

    dol_include_once('/mymodule/class/myobject.class.php');
    dol_include_once('/mymodule/lib/mymodule_myobject.lib.php');

The mymodule value was replaced correctly, but the myobject value
wasn't, leading to another classfile beind included when, for instance,
creating new `myobject` objects (whatever myobject actually was, except
myobject of course), and resulting in PHP errors like:

     Fatal error: Uncaught Error: Class "DemoObject" not found in
     /var/www/html/custom/demobug/demoobject_card.php:105 Stack trace:
     #0 {main} thrown in
     /var/www/html/custom/demobug/demoobject_card.php on line 105

Fixes #24653
2023-05-01 16:10:05 +02:00
Laurent Destailleur
e2ec34e1e5 Clean code 2023-05-01 14:33:08 +02:00
Laurent Destailleur
382f45ec14 Clean code 2023-04-30 03:36:02 +02:00