Laurent Destailleur
318148354b
Enhance setup of virtual card
2024-10-30 00:08:43 +01:00
lamrani abdelwadoud
fc8c299b3e
Update change select to button on/off ( #31443 )
...
* change select to button on/off
* fix error and update view to show social network enabled
* remove var_dump'
* add function getSocialNetworks
* fix errors params in function
* fix errors travis
* fix errors
* update type of params
* fix type of params in function getSocialNetwork
* remove ve_dump
* remove function getSocialNetwork
2024-10-29 23:09:56 +01:00
Laurent Destailleur
e38fed2f09
Merge
2024-10-28 18:13:02 +01:00
Laurent Destailleur
d1b348f051
Work on generic captcha architecture
2024-10-28 03:30:44 +01:00
Laurent Destailleur
f5e4ab0220
Rewrite code to prepare refactoring
2024-10-26 15:24:54 +02:00
Frédéric FRANCE
e0c1b067d8
add phpdoc ( #31562 )
...
* add phpdoc
* add phpdoc
* add phpdoc
* add phpdoc
* add phpdoc
2024-10-26 13:02:00 +02:00
Laurent Destailleur
8abfcf71a9
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
2024-10-24 13:54:13 +02:00
Laurent Destailleur
3bc1d35236
QUAL The property ->domiciliation and ->propio on bank accounts has been
...
deprecated and replaced with property ->address and ->owner_name
2024-10-24 12:38:41 +02:00
Frédéric FRANCE
2b72b69870
add tpl search dir ( #31522 )
2024-10-23 20:26:14 +02:00
Laurent Destailleur
4f772f15e0
Look and feel v21
2024-10-16 17:26:00 +02:00
Laurent Destailleur
d28ed5339b
Look and feel v21
2024-10-16 14:37:25 +02:00
Laurent Destailleur
6bcaabad8e
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-10-16 12:54:14 +02:00
Laurent Destailleur
495a31c8fe
FIX CSS and access to media files
2024-10-16 12:51:42 +02:00
Laurent Destailleur
47581442b1
FIX dol_openinpopup for virtual card
2024-10-16 11:45:07 +02:00
Laurent Destailleur
c36ddb0f43
FIX dol_openinpopup for virtual card
2024-10-16 11:44:03 +02:00
Laurent Destailleur
7f9759aa81
Maxi debug of the email notification feature an dlook and feel v21
2024-10-15 20:28:05 +02:00
Frédéric FRANCE
820333b02f
fix variants sql init ( #31319 )
...
* fix variants sql init
* add setup
* add setup
* add setup
* update class
* update list
* update list
* update list
* update class
* fix typos
* fix translations
* fix html
* fix update
* fix sql
* fix extrafields
* fix extrafields
2024-10-13 21:08:55 +02:00
Laurent Destailleur
26bb977006
WIP to allow upload of files
2024-10-13 12:40:46 +02:00
MDW
c9690393bc
Fix undefined global varialbe user/card.php ( #31353 )
...
# Fix undefined global varialbe user/card.php
Fix a few issues, one of which noticed in V21 UI.
Also notified by phan:
```
htdocs\user\card.php:626 PhanUndeclaredGlobalVariable Global variable $mesgs is undeclared
htdocs\user\card.php:2967 PhanUndeclaredGlobalVariable Global variable $soc is undeclared
```
2024-10-11 16:05:37 +02:00
Laurent Destailleur
58cc96cd33
QUAL All $conf->global->module->enabled are replaced with isModEnabled()
2024-10-07 14:40:29 +02:00
Laurent Destailleur
93a872e8e1
PERF: Reduce size for VCF files and virtualcard qrcode
2024-10-06 21:08:40 +02:00
MDW
0c26110636
Qual: Fix notices related to user classes ( #31291 )
...
# Qual: Fix notices related to user classes
This fixes several notices related to user classes (and reveals
some actual bugs or inconsistent typing).
2024-10-06 13:52:05 +02:00
MDW
42bb4fbf3e
Qual: Enable & fix or ignore Invalid DimOffset ( #31176 )
...
* Qual: Enable & fix or ignore Invalid DimOffset
# Qual: Enable & fix or ignore Invalid DimOffset
The Invalid DimOffset notices occur when array keys are defined and
the index used is not amongst the known array keys.
This PR enables these notices and fixes array definitions when needed,
or ignores the notices locally if it's a false positive, or in the
baseline.txt when it does not seem to be a false positive so that
it can be fixed later
* Nullable object typing in function signature not ok for 7.0/8.4
Can't user '?User' as argument type for PHP7.0 which is required by PHP8.4.
Therefore, removing the typing specification in the function definition
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-29 21:52:31 +02:00
MDW
0da4d51003
Qual: Fix multiple phan notifications ( #31151 )
...
* Qual: Fix notifications multiple files
# Qual: Fix notifications multiple files
Fixes to files with UnknownObject notices, fixing other
notices in these files as well
* Improve boxes typing
* Qual: Extend accepted types to reduce notices
* Fix type for GET/POST arguments of GETPOST* calls
2024-09-28 12:09:35 +02:00
Laurent Destailleur
b32225283d
Merge branch '20.0' of github.com:Dolibarr/dolibarr into develop
2024-09-25 22:32:36 +02:00
Frédéric FRANCE
a94cff63a7
fix phpstan ( #31102 )
...
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
2024-09-25 22:21:31 +02:00
Laurent Destailleur
59dadd88a3
FIX Duplicate trigger printFieldPreListTitle
2024-09-25 13:43:11 +02:00
Laurent Destailleur
b7d5f16da2
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-09-24 14:42:43 +02:00
Laurent Destailleur
72d2d716a1
CSS
2024-09-24 14:28:59 +02:00
MDW
5e02bec9df
Qual: Fix getTooltipContentArray typing hints ( #31081 )
...
* Qual: Fix getTooltipContentArray typing hints
# Qual: Fix getTooltipContentArray typing hints
This defines the aray type for all getTooltipContentArray occurences
* Ignore undeclared property ref_supplier (does not exist on OrderLine)
2024-09-23 03:24:19 +02:00
Frédéric FRANCE
000173c7b9
fix phpstan ( #31075 )
...
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-23 01:59:14 +02:00
MDW
099dbd9c1e
Qual: Fix notices for htdocs/admin/* ( #30982 )
...
* Fix (Possibly)UndeclaredGlobalVariable
* Update phan baseline
* Fix (Possibly)UndeclaredGlobalVariable (2)
* Qual: Fix notices for htdocs/admin/*
# Qual: Fix notices for htdocs/admin/*
Fixes most phan/phpstan noticies for files under htdocs/admin/* and ai.
2024-09-18 03:27:25 +02:00
MDW
115627a054
Qual: Fix PhanPluginUnknownObjectMethodCall where is the only phan notice ( #30957 )
...
* Qual: PhanPluginUnknownObjectMethodCall where it is the only phan notice
# Qual: PhanPluginUnknownObjectMethodCall where it is the only phan notice
Fix PhanPluginUnknownObjectMethodCall in files where it is the only phan notice
* Update phan baseline
* Fix $website global type in some contexts
2024-09-16 01:49:38 +02:00
MDW
f89245b354
Qual: Fix some CommonIncoterm/DocGenerator/People typings ( #30940 )
...
* Fix extraparams property typing
* Fix argument typing
* Fix 'status' argument type in calls to dolGetButtonTitle
* Fix argument2 for price to 1 (was 2)
* Fix deliveryreceipt argument
* Fix PHPDoc dol_sort_array
* Fix range for int argument
* Fix arg type for str_pad and add some PHPDoc
* Fix natsort value for dol_sort_array
* Fix arguments on calls to dol_sort_array
* Reduce phpstan exceptions
* Qual: Add type hints for Stripe objects
# Qual: Add type hints for Stripe objects
Suggest the more specific implementation of the StripObject.
* Typing, initialisation
* Qual: Fix undeclared variables
* Update phan baseline
* Update baseline
* Qual: Add type hints for Stripe objects
# Qual: Add type hints for Stripe objects
Suggest the more specific implementation of the StripObject.
* Add PHPDoc for host class properties
* Ignore false positive (phan) for deprecated property
* Improve typing
* Update baseline
2024-09-13 03:09:23 +02:00
MDW
0efe669e4b
Fix: 🛟 getrights must return a value ( #30904 )
...
# Fix:getrights must return a value
The phan notice is all about the function not returning a value
while it is said to return a value.
Added the missing 'return'
2024-09-10 00:57:02 +02:00
Laurent Destailleur
f5c57e1608
deprecate method getrights that is conflict with getRights() of
...
CommonObject.
2024-09-07 18:03:43 +02:00
Frédéric FRANCE
eb04c5c427
fix phpstan ( #30860 )
...
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
2024-09-06 13:44:29 +02:00
Laurent Destailleur
14d5b4bcc3
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-09-02 12:14:51 +02:00
Laurent Destailleur
ef84ba2a13
Debug v20
2024-09-02 10:21:24 +02:00
Laurent Destailleur
2e2ab9d84d
Fix missing test on permissions
2024-09-01 13:48:58 +02:00
Laurent Destailleur
e3c9f1db7c
Standardize name of var for permission check
2024-09-01 13:02:28 +02:00
Laurent Destailleur
4c0e978d42
Fix phan
2024-09-01 12:46:17 +02:00
Laurent Destailleur
827c3daa03
Fix test on permissions
2024-08-31 19:15:14 +02:00
Laurent Destailleur
c30d706ab6
Add more phpunit tests
2024-08-31 18:11:16 +02:00
Laurent Destailleur
f126e015a3
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-08-31 12:25:43 +02:00
Laurent Destailleur
ff79295e2c
Debug v20
2024-08-31 12:24:49 +02:00
William Mead
ca8bbc614a
NEW user list country filter ( #30770 )
...
* Added user country sql
* Added search user country to list
* Added contributor details
2024-08-27 03:06:08 +02:00
thibdrev
3dbd79dad8
qual: Method getKanbanView() has parameter $arraydata with no value type specified in iterable type array. ( #30712 )
...
* Update adherent.class.php
* Update adherent_type.class.php
* Update availabilities.class.php
* Update propal.class.php
* Update account.class.php
* Update paymentvarious.class.php
* Update cashcontrol.class.php
* Update localtax.class.php
* Update remisecheque.class.php
* Update bonprelevement.class.php
* Update chargesociales.class.php
* Update contact.class.php
* Update contrat.class.php
* Update commonorder.class.php
* Update timespent.class.php
* Update don.class.php
* Update conferenceorbooth.class.php
* Update expedition.class.php
* Update expensereport.class.php
* Update paymentexpensereport.class.php
* Update fichinter.class.php
* Update fournisseur.commande.class.php
* Update holiday.class.php
* Update evaluation.class.php
* Update job.class.php
* Update position.class.php
* Update skill.class.php
* Update intracommreport.class.php
* Update knowledgerecord.class.php
* Update loan.class.php
* Update mo.class.php
* Update partnership.class.php
* Update inventory.class.php
* Update entrepot.class.php
* Update project.class.php
* Update holiday.class.php - fix phan error
* Update task.class.php
* Update reception.class.php
* Update recruitmentcandidature.class.php
* Update recruitmentjobposition.class.php
* Update paymentsalary.class.php
* Update salary.class.php
* Update supplier_proposal.class.php
* Update ticket.class.php
* Update user.class.php
* Update usergroup.class.php
* Update webportalinvoice.class.php
* Update webportalorder.class.php
* Update webportalpropal.class.php
* Update workstation.class.php
* Update facture.class.php
2024-08-22 03:31:04 +02:00
HENRY Florian
d551f200f2
new: when initHook() and restrictedArea() exists always execute first initHook() ( #30703 )
2024-08-20 23:32:43 +02:00
Laurent Destailleur
fdb209ca41
Add a check to allow setPassword from apis
2024-08-17 16:41:30 +02:00
Laurent Destailleur
52c8b669c9
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2024-08-17 16:20:17 +02:00
Laurent Destailleur
c481be58f7
Clean code
2024-08-17 16:20:06 +02:00
Jon Bendtsen
5c6594b4ce
NEW API call to re-generate a users password. ( #30590 )
...
* NEW API call to re-generate a users password.
* fixing job:pre-commit that gave an error saying it was missing here
* adding the variable
* trying to load global user variable based on this comment https://github.com/Dolibarr/dolibarr/pull/30589#issuecomment-2276631147
* first attempt didnt work, but I found that global $conf at the top of the function
* adjust http error code to 500
* removing some comments and pre commit fix
* making send password a bool + using ->useraccount as pr. @eldy request
* lower case false
* Update api_users.class.php
---------
Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-08-17 16:19:55 +02:00
Florent Poinsaut
c7f8a8c06d
FIX #30520 Creator user data displayed in the form after an error in the user creation form ( #30521 )
2024-08-15 17:24:42 +02:00
Florent Poinsaut
4d3b83e625
FIX #30523 An user with only user->rights->user->self->password can't update it's password ( #30524 )
2024-08-15 17:10:57 +02:00
Florent Poinsaut
0008496974
FIX #30523 An user with only user->rights->user->self->password can't update it's password ( #30524 )
2024-08-15 17:10:27 +02:00
Laurent Destailleur
b1a83a6e58
Debug look and feel v21
2024-08-14 18:40:33 +02:00
MDW
be0f28245c
Qual: Fix phan notices wrt main.inc.php, menus ( #30633 )
...
* Qual: Fix phan notices wrt main.inc.php, menus
# Qual: Fix phan notices wrt main.inc.php, menus
This fixes phan notices stemming from main.inc.php and the menu classes.
* Qual: Fix phpstan notice that dol_authmode always set
# Qual: Fix phpstan notice that dol_authmode always set
dol_authmode is always set because it is now initialised.
2024-08-14 14:05:56 +02:00
Laurent Destailleur
ed73dc6471
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-08-13 11:59:53 +02:00
Laurent Destailleur
db93af6c77
Debug v20
2024-08-13 11:07:04 +02:00
Laurent Destailleur
f11bed462a
Fix label list
2024-08-13 05:05:54 +02:00
Laurent Destailleur
79f1cc95bb
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/core/lib/company.lib.php
2024-08-13 04:47:12 +02:00
Laurent Destailleur
fe21cc3605
Debug v20
2024-08-13 04:37:19 +02:00
Laurent Destailleur
5c36a834d1
Debug v20 - Fix sql distinct
2024-08-13 04:12:09 +02:00
MDW
45ed4caeb2
Qual: Enable Phan Simplify rule and fix notices ( #30537 )
...
* Qual: Phan - Enable Simplyfy expression
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Update functions2.lib.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-08-07 03:05:02 +02:00
MDW
d6948077b2
Qual: Fix spelling/update .pre-commit configuration (versions) ( #30546 )
...
* Qual: Update pre-commit configuration
* Qual: Update spelling
* Ignore use of deprecated constant
2024-08-07 01:20:43 +02:00
MDW
e3d3bad080
Fix: 🛟 Fix getrights usage & Update the documentation to suggest to use loadRights ( #30543 )
...
* Qual: Update the documentation to suggest to use loadRights
# Qual: Update the documentation to suggest to use loadRights
Given the pending issues, update the documention regarding getrights to
point to loadRights.
* Fix: call loadRights on User (not getRights)
2024-08-04 18:47:22 +02:00
Laurent Destailleur
823e53803d
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-08-03 15:45:33 +02:00
Laurent Destailleur
6558c69ac7
Doc
2024-08-02 11:17:14 +02:00
Laurent Destailleur
5727dadfdd
Fix condition to get permission
2024-08-02 10:55:53 +02:00
Laurent Destailleur
f002fb4ed1
Use the non deprecated function loadRights instead of getrights
2024-08-02 10:36:43 +02:00
Laurent Destailleur
46cde6431a
NEW Can use a specific profile to send email for password forgotten
2024-08-01 11:36:21 +02:00
Laurent Destailleur
292080ca14
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-07-30 12:28:15 +02:00
Laurent Destailleur
4223c6241c
Fix tooltip
2024-07-30 11:52:40 +02:00
Lucas Marcouiller
a4908abc8a
New Main checkbox left column to manage this conf for each users ( #30439 )
...
Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-07-26 05:01:26 +02:00
Laurent Destailleur
6d0e16c7b2
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2024-07-21 14:46:09 +02:00
Laurent Destailleur
6ac589b0a9
NEW Introduce value 'password' formode of sanitization in GETPOST.
2024-07-21 14:44:14 +02:00
MaximilienR-easya
66d8bc4f01
NEW Module to setup OpenID Connect module ( #30317 )
...
* import openid connect custom module phase 1
* indent fix
* fix ci
* Fix ci
* Fix
* add missing lang file
* lang file
* Multiple fix: callback url overwriten by a js.php from a module, admin page path fix, add a field to set MAIN_AUTHENTICATION_OIDC_LOGIN_CLAIM
* windows-ci friendly modification
* windows-ci friendly modification
* comment
* Fix precommit
* Fix precommit
* Fix precommit
* Fix precommit
* Update lang file and conditions
* Update functions_openid_connect.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-07-21 02:12:03 +02:00
Frédéric FRANCE
fbbdf7fb3e
fix cti ( #30323 )
2024-07-09 19:29:35 +02:00
Frédéric FRANCE
29f223fd3c
fix checkFunctionArgumentTypes ( #30249 )
...
* fix checkFunctionArgumentTypes
* fix checkFunctionArgumentTypes
* fix checkFunctionArgumentTypes
* fix checkFunctionArgumentTypes
* fix checkFunctionArgumentTypes
* fix checkFunctionArgumentTypes
* fix checkFunctionArgumentTypes
* fix checkFunctionArgumentTypes
* fix checkFunctionArgumentTypes
2024-07-04 17:47:31 +02:00
Frédéric FRANCE
2f5647e4e3
fix checkFunctionArgumentTypes ( #30234 )
...
* fix checkFunctionArgumentTypes
* fix checkFunctionArgumentTypes
* fix checkFunctionArgumentTypes
* fix checkFunctionArgumentTypes
* fix checkFunctionArgumentTypes
* fix checkFunctionArgumentTypes
* fix checkFunctionArgumentTypes
* fix checkFunctionArgumentTypes
* fix checkFunctionArgumentTypes
* fix checkFunctionArgumentTypes
* fix checkFunctionArgumentTypes
* fix checkFunctionArgumentTypes
* fix checkFunctionArgumentTypes
* fix checkFunctionArgumentTypes
* fix checkFunctionArgumentTypes
* fix checkFunctionArgumentTypes
* fix checkFunctionArgumentTypes
* fix checkFunctionArgumentTypes
* add ignore
* add ignore
add ignore
add ignore
add ignore
add ignore
* fix checkFunctionArgumentTypes
* fix checkFunctionArgumentTypes
* fix checkFunctionArgumentTypes
* fix checkFunctionArgumentTypes
* fix checkFunctionArgumentTypes
* fix checkFunctionArgumentTypes
* fix checkFunctionArgumentTypes
* fix checkFunctionArgumentTypes
* fix checkFunctionArgumentTypes
* fix checkFunctionArgumentTypes
* fix checkFunctionArgumentTypes
* fix checkFunctionArgumentTypes
2024-07-03 02:30:53 +02:00
Christophe Battarel
3faf45e6e5
FIX missing include ( #30242 )
...
Co-authored-by: Christophe Battarel <christophe@altairis.fr>
2024-07-03 01:56:19 +02:00
Laurent Destailleur
253fdba882
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-07-02 23:11:21 +02:00
Laurent Destailleur
55425a51fc
Debug v20
2024-07-02 23:08:46 +02:00
Zephyriony
dd08c07a65
NEW : Constant to hide user login times ( #29815 )
...
* Update card.php
* Update list.php
* Update list.php
2024-07-02 02:00:31 +02:00
Laurent Destailleur
49e2b57f8d
Fix add link of login after password change.
2024-07-01 12:12:14 +02:00
Alexandre SPANGARO
96afcaa476
Better comments ( #30200 )
...
* Fix language
* Fix language
* Fix language
* Fix language
* Fix language
* Fix language
* Fix language
* CI Missing language key
* Update eventorganization.lang
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-30 21:02:50 +02:00
Laurent Destailleur
db61320098
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0
...
Conflicts:
htdocs/contrat/class/contrat.class.php
htdocs/core/menus/standard/eldy.lib.php
htdocs/product/price.php
htdocs/product/stock/stocktransfer/class/stocktransfer.class.php
htdocs/user/list.php
2024-06-30 04:05:46 +02:00
Laurent Destailleur
b2e288f8ec
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
...
Conflicts:
htdocs/accountancy/bookkeeping/list.php
htdocs/core/menus/standard/eldy.lib.php
2024-06-30 03:53:16 +02:00
Laurent Destailleur
f64e4b4981
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
2024-06-29 20:53:10 +02:00
Alexandre SPANGARO
2e6af87823
FIX User List - Function is show in wrong column when module HRM enabled ( #30186 )
2024-06-29 19:30:06 +02:00
noec764
42d9b384d4
FIX: Bad calculation of $nbtotalofrecord ( #30183 )
...
Co-authored-by: Noé <noe@scopen.fr>
2024-06-29 19:29:14 +02:00
Frédéric FRANCE
facb1930a7
fix phpstan Property Product::$oldcopy in empty() is not falsy ( #30003 )
...
* fix phpstan Property Product::$oldcopy in empty() is not falsy
* add token
* doc
* fix phpstan Property Product::$oldcopy in empty() is not falsy
* fix phpstan Property Product::$oldcopy in empty() is not falsy
* fix phpstan
2024-06-13 08:11:11 +02:00
Frédéric FRANCE
0d9b4dfa39
fix phpstan level 4 ( #29971 )
...
* fix phpstan level 4
* fix phpstan level 4
* fix warning
2024-06-10 20:49:03 +02:00
Laurent Destailleur
f50d753ad5
Fix responsive
2024-06-09 14:06:16 +02:00
Frédéric FRANCE
acd8fdc24e
fix phpstan level 4 ( #29954 )
...
* fix phpstan level 4
* fix phpstan level 4
2024-06-09 13:26:45 +02:00
atm-lena
f40a1bd3b1
llxHeader CSSBody - user ( #29926 )
...
Co-authored-by: atm-lena <lena.papazian@atm-consulting.fr>
2024-06-08 15:02:50 +02:00
Laurent Destailleur
22ab3bd334
Debug v20
2024-06-04 02:24:33 +02:00
Laurent Destailleur
c62183ba49
Debug v20
2024-06-04 01:53:22 +02:00
Laurent Destailleur
82908a30eb
Clean phan warnings
2024-05-30 13:37:17 +02:00
Laurent Destailleur
66f4562300
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-05-23 14:50:17 +02:00
Laurent Destailleur
a854e58905
FIX Missing $param in hook call for list
2024-05-23 14:41:56 +02:00
Laurent Destailleur
59ae417912
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-05-23 12:52:28 +02:00
Laurent Destailleur
b3900964b5
Fix warning
2024-05-22 11:36:32 +02:00
Laurent Destailleur
88d9a945dc
Debug v20
2024-05-20 18:34:02 +02:00
Laurent Destailleur
8a71ccb1c3
Clean user card
2024-05-13 15:04:23 +02:00
Laurent Destailleur
dcd95a90fa
User form is lighter if there is only one user.
2024-05-13 14:56:56 +02:00
Laurent Destailleur
27bc1cddad
Debug v20
2024-05-08 15:43:46 +02:00
Laurent Destailleur
53abbc484e
Debug v20
2024-05-07 10:53:32 +02:00
Laurent Destailleur
dc61b22349
Show a warning
2024-05-06 19:36:12 +02:00
Laurent Destailleur
b1f4f09b1c
Code comment
2024-05-06 18:25:06 +02:00
Laurent Destailleur
e12fa90386
FIX Code between perms.php differs from code into loadRights(). Bad test
...
generates a list of permissions coming from a groupe wrong on a
superadmin user.
2024-05-06 18:24:23 +02:00
Laurent Destailleur
55d2f3d9fc
Debug v20
2024-05-06 10:00:18 +02:00
Laurent Destailleur
a6f15b6a19
Fix look and feel
2024-05-05 12:53:52 +02:00
Frédéric FRANCE
d0830b3159
fix phpstan ( #29602 )
...
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix travis
* fix phpstan
* fix phpstan
* fix phan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
fix phpstan
fix phpstan
fix phpstan
fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix travis
* fix phpstan
* fix phpstan
* fix phpstan
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-05-05 00:34:19 +02:00
Laurent Destailleur
0b9bd5408b
Debug v20: Encapsulate the feature using leaflet/geophp into a constant
...
MAIN_USE_GEOPHP. Fix webportal module.
2024-05-03 02:39:35 +02:00
Laurent Destailleur
577491b799
Fix permissions on external users
2024-05-02 21:48:50 +02:00
Laurent Destailleur
50aa16c270
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
2024-05-02 21:03:26 +02:00
Laurent Destailleur
9393c2c0e2
NEW users can set their own length for short lists
2024-04-30 10:20:40 +02:00
Laurent Destailleur
e3daa23949
Look and feel v20
2024-04-30 09:45:28 +02:00
Laurent Destailleur
cb604da904
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
2024-04-28 22:16:01 +02:00
Laurent Destailleur
d35dd5a5a2
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2024-04-28 21:57:00 +02:00
Laurent Destailleur
1af7ad923c
Fix phan
2024-04-28 21:56:41 +02:00
Frédéric FRANCE
7c73d7d2bd
fix phpstan ( #29520 )
...
* fix phpstan
* Update user.class.php
* typo
2024-04-28 18:20:58 +02:00
Laurent Destailleur
0312aaef90
Fix warnings
2024-04-27 04:18:49 +02:00
Laurent Destailleur
b8b964169a
Merge
2024-04-27 03:32:22 +02:00
Laurent Destailleur
2f1dcbc2ad
Fix filter on status in hierarchy page
2024-04-27 03:27:25 +02:00
Laurent Destailleur
d854870bb2
Fix CSS
2024-04-27 03:24:20 +02:00
Laurent Destailleur
50833e00d0
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
2024-04-27 03:14:17 +02:00
Laurent Destailleur
078c1dd489
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
2024-04-27 03:13:12 +02:00
Laurent Destailleur
3a887ab2fa
FIX #29496 - filtering a record should not hide its child not filtered
2024-04-27 03:12:17 +02:00
HENRY Florian
00e61f875a
FIX: Hierarchy Employee view do not filter on employee = 1 ( #29496 )
...
* FIX: Hierarchy Employee list do not filters on employee = 1
* Update hierarchy.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-27 00:57:32 +02:00
Laurent Destailleur
989f74a076
Better exaplanation of permission for external users
2024-04-26 12:34:13 +02:00
Laurent Destailleur
905476dece
Debug v20
2024-04-24 00:07:31 +02:00
Laurent Destailleur
f1bc41d100
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-04-23 22:36:13 +02:00
Laurent Destailleur
60c0fc2386
Fix warning PHP 8.2
2024-04-22 18:42:34 +02:00
Laurent Destailleur
d9278f8580
Fix phan
2024-04-22 15:17:38 +02:00
Laurent Destailleur
8ca94fd521
Fix warning
2024-04-22 14:51:58 +02:00
Laurent Destailleur
57b2b90730
Remove field egroupware_id that seems never itinialised/used
2024-04-22 14:50:25 +02:00
Frédéric FRANCE
dbd8657de1
Cleanaccount ( #29271 )
...
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* wip
* wip
* wip
2024-04-20 21:53:40 +01:00
Laurent Destailleur
612e41a8ca
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/core/class/commondocgenerator.class.php
htdocs/core/lib/functions.lib.php
htdocs/fourn/commande/card.php
htdocs/install/mysql/migration/19.0.0-20.0.0.sql
htdocs/product/stock/replenish.php
htdocs/takepos/invoice.php
2024-04-18 02:48:52 +02:00
atm-adrien
99e85334b5
FIX : Error when updating user ( #29304 )
...
* FIX : Error management
* FIW : PR returns
* FIX : PR returns error
2024-04-12 16:31:25 +02:00
Benjamin Falière
948e204fae
ADD arrayfields as parameter in doActions ( #29326 )
...
* ADD arrayfields as parameter in doActions
* FIX typo
* FIX syntax error
---------
Co-authored-by: Benjamin Falière <benjamin.faliere@altairis.fr>
2024-04-11 20:07:13 +02:00
Laurent Destailleur
a1e25601e7
Fix search_all must not force the status to enabled
2024-04-11 12:29:52 +02:00
Laurent Destailleur
bf92611e18
Fix warning
2024-04-11 12:26:02 +02:00
Regis Houssin
9fa6a77723
FIX multiple problems when MULTICOMPANY_TRANSVERSE_MODE ( #29287 )
...
* FIX can not show group when MULTICOMPANY_TRANSVERSE_MODE
* FIX wrong permissions with multicompany MULTICOMPANY_TRANSVERSE_MODE
* FIX better check for the "read" permission
* FIX only a superadmin can manage users in transverse mode
* FIX this is not "create" but "write"
* FIX use the new function hasRight
* FIX wrong check
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-09 23:55:07 +02:00
Laurent Destailleur
7f780fcb57
It seems constant are for storing data only and used for
...
DolibarrModules.class.php file only (main code shoud only use
->hasRight), so i try to move them.
2024-04-08 11:53:49 +02:00
Regis Houssin
68eb5e409a
NEW module user rights enhancement ( #29150 )
...
* NEW module user rights enhancement
* FIX syntax error
* FIX fuck
* FIX syntax error
* FIX Add label with the current language (key or with PermissionXXX)
* FIX wrong test
* FIX optimize
* FIX doc
* FIX add class "Rights" for constant
* FIX replace with constants
* FIX missing constant
* FIX wrong check
* TODO sql error : data too long for column 'libelle'
* FIX syntax error
* FIX synax error "the return"... i'll be back
* FIX use operator with double question mark
* FIX add comment
* FIX just remplace integer with constant
* FIX remove unused code
* FIX add an example
* FIX remove the possibility to have entity = 0 (too complicated)
* FIX perms must not be empty
* FIX sql syntax error
* FIX phpstan undefined property DolibarrModules::$modules
* FIX same fix of frederic34
* Update llx_rights_def.sql
* Update DolibarrModules.class.php
* Update DolibarrModules.class.php
* Update DolibarrModules.class.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-08 11:40:02 +02:00
Laurent Destailleur
b5de782c6b
Fix use the good HTTP code
2024-04-07 14:59:25 +02:00
Laurent Destailleur
fd9475be03
Use same doc comment eveywhere.
2024-04-07 12:26:27 +02:00