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
Laurent Destailleur
76ab7136f2
Clean code
2023-03-19 15:22:21 +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
Laurent Destailleur
4052410c70
Merge pull request #24218 from lamrani002/permissionsRewriting
...
NEW function in modulebuilder.lib for rewriting all permissions
2023-03-17 21:12:56 +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
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