Commit Graph

578 Commits

Author SHA1 Message Date
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
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
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
Lamrani Abdel
f82e3fc27e NEW updating by adding tooltip for api section in Modulebuilder 2023-09-09 12:44:38 +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
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
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
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
Lamrani Abdel
a5326f8586 create function for generate api urls and add them to documentation 2023-08-16 12:45:01 +02:00
Laurent Destailleur
f66b51a32f
Merge pull request #25620 from lamrani002/editMainPropsOfMB
NEW functionality for edit properties in description tab for ModuleBuilder
2023-08-16 02:06:03 +02:00
Lamrani Abdel
bd67313d34 finish this functionnality 2023-08-14 12:37:21 +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
606124a188 Debug v18 2023-08-12 13:43:33 +02:00
Laurent Destailleur
47a0c1df54 Debug v18 2023-08-12 13:31:08 +02:00
Lamrani Abdel
9f0523dc1d add functionality for edit property of module 2023-08-11 19:34:35 +02:00
Laurent Destailleur
c5d6f3f5b0
Merge pull request #25398 from lamrani002/testMB
NEW Upgrade in module builder in menu section
2023-08-11 14:16:13 +02:00
Lamrani Abdel
77a9388aed add button on top 2023-08-10 10:41:58 +02:00
Lamrani Abdel
d963d0cd67 add edit/delete on dicionary list 2023-08-10 10:04:17 +02:00
Lamrani Abdel
d0dc3b019c fix problem for namedic 2023-08-09 13:43:44 +02:00
Lamrani Abdel
5a825f519b update functionnality for delete dict 2023-08-09 13:19:52 +02:00
Lamrani Abdel
513dc9c0dc Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into removeDictionaryInMB 2023-08-09 12:44:23 +02:00
Lamrani Abdel
d5140b312a new functionnality for remove dict 2023-08-09 12:42:37 +02:00
lamrani abdelwadoud
2e8525933c
Add new dictionary for modulebuilder (#25592)
* product_card problem unexpected tocken

* new update for function generate_doc

* new function for create dictionnary

* add function for create new dictionary

* fix problem

* update function for building correct string

* optimize function and fix incoherences

* optimize function and fix incoherences

* Revert "optimize function and fix incoherences"

This reverts commit ecbd902a9f.
2023-08-09 12:37:20 +02:00
Lamrani Abdel
9837e1ab62 fix css problem 2023-08-02 12:04:30 +02:00
lamrani abdelwadoud
01efddbc23
Merge branch 'develop' into formAddPropertyMB 2023-08-02 11:52:56 +02:00
Lamrani Abdel
22dc2e7f4c fix conflits 2023-08-01 13:01:40 +02:00
Lamrani Abdel
7742b2c5e0 test button & update the select type 2023-08-01 12:30:36 +02:00
Laurent Destailleur
d34e718770 Debug v18 2023-07-31 22:40:17 +02:00
Laurent Destailleur
ddaa32d67b Debug v18 2023-07-31 22:17:46 +02:00
Lamrani Abdel
1a6c53ef86 add autocomplete for an input 2023-07-28 19:41:25 +02:00
Lamrani Abdel
fac590261f fix button and change the page 2023-07-28 01:19:03 +02:00
Lamrani Abdel
5377e72593 make button add property 2023-07-25 20:32:13 +02:00
Lamrani Abdel
a6ed391b60 fix problem 2023-07-21 16:19:04 +02:00
Lamrani Abdel
00bec4e971 fix 2023-07-19 16:27:33 +02:00
Lamrani Abdel
a5d2c5c625 other fixes 2023-07-19 13:12:39 +02:00
Lamrani Abdel
f0977b2467 add auto fill in for url when add menu 2023-07-19 12:43:11 +02:00
Lamrani Abdel
94f5896d43 fix incoherences in update menu in relation to select permission 2023-07-19 11:57:13 +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
Lamrani Abdel
04ba3e8883 fix path of api file 2023-06-14 15:36:43 +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
hystepik
826466d071 Fix : Wrong lang code modulebuilder 2023-06-09 15:02:46 +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
130a2dc4f7 Fix warning 2023-05-30 12:57:30 +02:00
Lamrani Abdel
0de29550f2 optimize all menu section 2023-05-23 17:37:52 +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
Lamrani Abdel
c37ca02064 optimize section for add & remove apiFile 2023-04-13 17:13:56 +02:00
lamrani abdelwadoud
29f8ba3a0f
Merge branch 'develop' into deleteFromDocMB 2023-04-05 11:08:34 +02:00
Lamrani Abdel
ee9da9b424 add table of permissions in documentation 2023-03-24 18:21:06 +01:00
Lamrani Abdel
fcbae93328 add function writePropsInAsciiDoc when Init object if doc was generated 2023-03-21 16:00:50 +01:00
Lamrani Abdel
742890157a delete table of property from documentation 2023-03-20 19:43:23 +01:00
Lamrani Abdel
d9e3866786 uncomment function for get objects 2023-03-18 14:58:00 +01:00
Lamrani Abdel
85916bfb64 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into generateDocInMB 2023-03-18 14:56:34 +01:00
Lamrani Abdel
a8a1b9fddc write all fields and their properties in asciidoc format 2023-03-18 02:55:35 +01:00
Laurent Destailleur
2a8674f3c6 Fix name of method 2023-03-18 02:43:49 +01:00
Laurent Destailleur
cf2d1a24d6
Merge branch 'develop' into ModuleBuilderFixes 2023-03-18 02:39:02 +01:00
Lamrani Abdel
6fa3e7417d update function for rewrite permissions 2023-03-16 10:40:18 +01:00
Lamrani Abdel
f1ba6a3611 add function in modulebuilder for rewriting all permissions 2023-03-15 10:33:42 +01:00
Lamrani Abdel
f7c867f208 fix header s problemes 2023-03-13 15:16:06 +01:00
Lamrani Abdel
3659b38bf9 add function for listiong objects from directory 2023-03-13 12:39:28 +01:00
Laurent Destailleur
c75dc107e7 Doc 2023-03-08 12:20:35 +01:00
Laurent Destailleur
52644de26d Debug modulebuilder 2023-03-07 17:05:17 +01:00
Laurent Destailleur
5ff366178c Debug module builder 2023-03-07 16:47:24 +01:00
Laurent Destailleur
11c16fff06 Debug Modulebuilder 2023-03-07 16:20:36 +01:00
Laurent Destailleur
5d7b6c4f80 Debug module builder 2023-03-07 16:07:10 +01:00
Laurent Destailleur
bd066b3211 Debug modulebuilder 2023-03-07 15:51:27 +01:00
Lamrani Abdel
a5703a9618 fix message for delete api 2023-03-01 18:15:15 +01:00
Lamrani Abdel
72cb43f65b New functionality for api_object 2023-03-01 16:40:01 +01:00
Laurent Destailleur
f7e05b505c
Merge pull request #23983 from lamrani002/fixPermssions
fix incoherence on permissions
2023-02-22 00:55:55 +01:00
Lamrani Abdel
00ffc28adf fix problem in update permission 2023-02-21 17:19:07 +01:00
Lamrani Abdel
c4991213bf fix problem in permission when init object 2023-02-21 16:01:03 +01:00
Lamrani Abdel
ce7c54c570 fix incoherence on permissions 2023-02-21 13:10:13 +01:00
Laurent Destailleur
ba70262f04 Fix qodana warnings 2023-02-21 12:37:03 +01:00
Laurent Destailleur
0b4cacd291 Use dolChmod 2023-02-17 20:01:53 +01:00
Lamrani Abdel
c692d8e6ba New functionnality update menu on modulebuilder 2023-02-10 18:16:18 +01:00
Lamrani Abdel
844ee2f9e5 New functionality and fix som coherence in initial object & deleteObject 2023-02-10 18:02:25 +01:00
Lamrani Abdel
78c6f12a8a NEW functionality (delete menu manually) in modulebuilder 2023-02-09 11:40:43 +01:00
Lamrani Abdel
8f2076e83e fix problems in menus for modulebuilder 2023-02-09 11:07:30 +01:00
Lamrani Abdel
352ac40d06 fix errors and conflicts 2023-02-07 15:26:23 +01:00
Lamrani Abdel
00affd520a fix conflits 2023-02-07 15:14:26 +01:00
stickler-ci
23d212d9dc Fixing style errors. 2023-02-07 13:58:29 +00:00
lamrani abdelwadoud
b67a676c89
Merge branch 'develop' into DeleteRightManually 2023-02-07 14:53:35 +01:00
Laurent Destailleur
4c99e5d6be
Merge pull request #23770 from lamrani002/AddRightManually
NEW functionality "Add right manually" In ModuleBuilder
2023-02-04 15:21:51 +01:00
Lamrani Abdel
a480347738 New functionality for permission on modulebuilder 2023-02-03 17:08:02 +01:00
Lamrani Abdel
d15e1af966 New functionality for permission on modulebuilder 2023-02-03 17:06:05 +01:00
Lamrani Abdel
4d243360eb modify form for editing right 2023-02-03 15:53:05 +01:00
Lamrani Abdel
eeb792ba0e fix error 2023-02-03 15:43:18 +01:00
Lamrani Abdel
8f4ab293e0 NEW fonctionality delete right manually on modulebuilder 2023-02-03 15:23:50 +01:00
Lamrani Abdel
c424825840 added manually permission implementation 2023-02-03 15:13:00 +01:00
Lamrani Abdel
d990d55139 add forms for add and edit permission 2023-02-03 14:35:44 +01:00
Lamrani Abdel
6c0a923b67 add forms for add and edit permission 2023-02-03 14:33:33 +01:00
Lamrani Abdel
6df5eefa1a fix error in delete permission when we delete object 2023-02-03 13:55:17 +01:00
Lamrani Abdel
f84f94f0be delete rights if exists when delete object 2023-02-03 11:09:59 +01:00
Lamrani Abdel
05a1558778 add checkbox when itit object for generate permission by default 2023-02-03 11:05:14 +01:00
Lamrani Abdel
64ce1705f7 add checkbox when itit object for generate permission by default 2023-02-03 11:01:06 +01:00
hystepik
84436e1217 Fix : php 8.1 warnings and dolibarr log 2023-01-19 15:31:47 +01:00
Laurent Destailleur
ad00a17ac3 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-01-13 13:03:54 +01:00
Laurent Destailleur
9246795159 Fix warning 2023-01-12 13:06:11 +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
Laurent Destailleur
4c85236243 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2022-12-31 17:30:44 +01:00
Laurent Destailleur
97222603c1 Debug v17 2022-12-31 17:14:58 +01:00
Laurent Destailleur
e977a95cc7 Fix warning 2022-12-31 13:23:09 +01:00
Laurent Destailleur
15c05d9b7d Fix warnings 2022-12-31 12:39:42 +01:00
Lamrani Abdel
aa5419cfb5 update in modulbuilder for menu object 2022-12-29 16:10:53 +01:00
hystepik
c1b355fcac Fix : php 8.1 warnings 2022-11-27 00:44:05 +01:00
stickler-ci
c8090a0361 Fixing style errors. 2022-11-26 10:13:48 +00:00
Delthair
60257cec09
Fix #22998 Disabled module before delete (modulebuilder)
Ensure that the module is disabled before delete
2022-11-26 10:06:39 +01:00
Laurent Destailleur
aacb7b16a4 Fix installmodules.lock must also block module builder 2022-11-16 22:36:08 +01:00
Laurent Destailleur
927223bfe3 Clean package generation (exclude backup files) 2022-11-14 02:34:09 +01:00
Laurent Destailleur
9aeb1b0f86 Remove no more used option MODULEBUILDER_FOREVERYONE
Add menu entry in main menu Tools for Modulebuilder and API explorer
2022-11-01 11:46:21 +01:00
Laurent Destailleur
39daea9755 Exclude .git dir fom package generation 2022-10-19 17:45:45 +02:00
Laurent Destailleur
95b69eaefb Clean code 2022-10-12 19:57:25 +02:00
Laurent Destailleur
f718de344b Fix typo 2022-10-12 19:40:21 +02:00
Laurent Destailleur
d3797c48a8 Fix warnings 2022-10-12 16:17:25 +02:00
Laurent Destailleur
62c3d3b2f0 MODULEBUILDER_SPECIFIC_EDITOR_NAME/URL is now a stable option 2022-10-12 14:06:30 +02:00
Laurent Destailleur
fe6dcb2269 NEW ModuleBuilder can generate code of class from an existing SQL table 2022-09-27 13:37:38 +02:00
Laurent Destailleur
edaa111461 Replace use of png file for module image with a font awesome image 2022-09-27 12:05:11 +02:00
Laurent Destailleur
5e6e6e1c98 NEW #22370 Modulebuilder supports 'alwayseditable' (like extrafields) 2022-09-27 01:50:56 +02:00
Laurent Destailleur
7a277d9560
Merge branch 'develop' into loaddolibarrenv 2022-09-09 17:02:05 +02:00
Laurent Destailleur
b23ab2cb71 FIX #yogosha12266 2022-09-09 13:58:54 +02:00
Frédéric France
07e761d115 Merge remote-tracking branch 'upstream/develop' into loaddolibarrenv 2022-09-07 20:37:29 +02:00
Frédéric France
8d33953142 add comment 2022-09-07 20:08:59 +02:00
Laurent Destailleur
50169bc96a Clean code 2022-09-07 15:50:40 +02:00
Philippe GRAND
371f5ee581 Update code 2022-09-03 11:30:24 +02:00
stickler-ci
b8f4433ec8 Fixing style errors. 2022-08-27 11:41:55 +00:00
UT from dolibit
d6f7115b42
Update index.php
line 937  ->  'help'=>'LinkToThirdparty'),
2022-08-27 13:37:06 +02:00
Laurent Destailleur
6d80b6a710 dolButtonToOpenUrlInDialogPopup works better with nojs=1 2022-08-23 12:25:44 +02:00
Laurent Destailleur
1d0ba05e90 Debug 2022-07-15 15:35:45 +02:00
Laurent Destailleur
504383c4a2 Fix reposition 2022-07-15 14:37:35 +02:00