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
Lamrani Abdel
a5326f8586
create function for generate api urls and add them to documentation
2023-08-16 12:45:01 +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
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
cbf0c314d3
Doc
2023-08-12 13:49:01 +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
Laurent Destailleur
b3e36765a1
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2023-08-11 11:43:07 +02:00
Laurent Destailleur
28620c58b8
Clean code
2023-08-11 11:42:49 +02:00
Laurent Destailleur
f797a1cdcc
Merge pull request #25607 from lamrani002/updateDictInMB
...
NEW functionnality for edit name of dictionnary and delete it in MB
2023-08-11 11:11:05 +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
Laurent Destailleur
08e428b46d
Fix missing param
2023-08-09 18:00:31 +02:00
Laurent Destailleur
298522d791
Merge pull request #25598 from lamrani002/removeDictionaryInMB
...
New|NEW functionality for remove dictionary in ModuleBuilder
2023-08-09 15:20:41 +02:00
Laurent Destailleur
04b7b0aaa6
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
2023-08-09 15:02:34 +02:00
Laurent Destailleur
db2a70b86a
NEW Factorize a lot of code for numbering modules
2023-08-09 14:50:28 +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
Laurent Destailleur
33cc8e1ff9
Doc
2023-08-09 13:08:57 +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
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
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
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
Lamrani Abdel
22dc2e7f4c
fix conflits
2023-08-01 13:01:40 +02:00
Lamrani Abdel
4a234961dd
fix conflits
2023-08-01 12:38:26 +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
Laurent Destailleur
9fd651ee5c
FIX warnings
2023-07-30 19:46:23 +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
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
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
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
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
Lamrani Abdel
c37ca02064
optimize section for add & remove apiFile
2023-04-13 17:13:56 +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
lamrani abdelwadoud
29f8ba3a0f
Merge branch 'develop' into deleteFromDocMB
2023-04-05 11:08:34 +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
Laurent Destailleur
8c4056f38f
Merge pull request #24285 from Hystepik/develop#3
...
New : uploadfile drag and drop on fourn invoice card
2023-03-26 15:36:31 +02:00
Lamrani Abdel
ee9da9b424
add table of permissions in documentation
2023-03-24 18:21:06 +01: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
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