Commit Graph

3899 Commits

Author SHA1 Message Date
Laurent Destailleur
54501bccc3 Merge pull request #29066 from mdeweerd/fix/dol_get_fiche_head
Fix arguments to dol_get_fiche_head and dol_get_fiche_end
2024-03-28 14:16:45 +01:00
MDW
ebefa90b25 Fix arguments to dol_get_fiche_head 2024-03-27 10:23:09 +01:00
MDW
66ce94bafb Fix arguments to dol_get_fiche_head 2024-03-27 10:23:08 +01:00
MDW
ebb4c2111a Improve gender, admin, entity typing 2024-03-27 10:18:47 +01:00
MDW
d60a630d35 Fix: note<->note_private aliasing is handled by DeprecationHandler
# Fix: note<->note_private aliasing is handled by DeprecationHandler

The extra copy is useless, the aliasing for the deprecated property is already handled
2024-03-24 17:39:06 +01:00
MDW
bbc086ce26 Force type to fix PhanNonClassMethodCall 2024-03-24 15:40:29 +01:00
MDW
1986888333 Update PHPdoc for User::$users 2024-03-24 15:40:26 +01:00
Laurent Destailleur
73fea610d1 Fix regression 2024-03-23 17:27:40 +01:00
Laurent Destailleur
0ce6e016b4 Update bank.php 2024-03-23 16:29:23 +01:00
Jon Bendtsen
dc3a46c88d bug fix that allowed to view /user/bank.php?id= for any other user id (salaries read -> readall. + allowing user to edit their own bank account as well as personal email and phone. + allowing user to change their own bank account and allow useradmin to add a bank account for a user 2024-03-23 11:18:04 +01:00
Jon Bendtsen
e739c0d092 too many ) 2024-03-22 23:18:19 +01:00
Jon Bendtsen
8f4d7d6336 updating to new user->hasRight method 2024-03-22 23:16:11 +01:00
Jon Bendtsen
4489187edd create and edit actions uses permissiontoaddbankaccount variable 2024-03-22 23:13:12 +01:00
Jon Bendtsen
c22dce308b allow user to self edit their bank account details + allowing a user administrator edit bank account details 2024-03-22 22:41:00 +01:00
Laurent Destailleur
7b0177a84d Move to getDolGlobalString 2024-03-22 00:37:56 +01:00
MDW
aeefca7e7e Fix $arrayfields typing lost by dol_sort_array() by forcing the type 2024-03-20 23:29:48 +01:00
Laurent Destailleur
5bae4ffe4d FIX #28978 FIX #28976 2024-03-20 21:29:29 +01:00
Laurent Destailleur
440c7b4493 FIX #28978 FIX #28976 2024-03-20 21:28:35 +01:00
Laurent Destailleur
e16d1d5de9 FIX #28978 FIX #28976 2024-03-20 21:27:28 +01:00
MDW
1824950c40 Force value to string because Phan can't determine the proper type 2024-03-20 04:10:03 +01:00
MDW
a094ad38fc Fix spelling (using beta codespell)
# Fix spelling (using beta codespell

New spelling fixes - ignoring thirdparty which should be either third-party
or third party.
2024-03-20 00:35:01 +01:00
Laurent Destailleur
5d073ac208 Fix hasRights into hasRight 2024-03-19 22:02:42 +01:00
Laurent Destailleur
363a083c54 Look and feel v20 2024-03-19 15:34:47 +01:00
MDW
f892b3a27c Fix configuration 2024-03-19 00:32:09 +01:00
Laurent Destailleur
e994d6650f Fix regression in GETPOST limit 2024-03-16 11:41:00 +01:00
Laurent Destailleur
57d826e261 Merge pull request #28889 from mdeweerd/fix/PhanTypeMismatchArgumentInternalReal
Fix & enable PhanTypeMismatchArgumentInternalReal
2024-03-16 11:05:20 +01:00
MDW
b494c1a57c Qual add typing for $users property 2024-03-15 23:41:28 +01:00
Laurent Destailleur
79aa9fb1f1 Code simpler 2024-03-15 20:29:21 +01:00
Laurent Destailleur
f1a8d712fb Merge branch 'develop' into fix-warnings-and-trad-not-showing 2024-03-15 00:23:54 +01:00
Frédéric France
93d2cad7fe fix warnings 2024-03-13 21:33:51 +01:00
Laurent Destailleur
b8fd539a89 Merge pull request #28811 from W1W1-M/qual-ldap
Qual ldap.php
2024-03-13 18:25:31 +01:00
Laurent Destailleur
439654a634 Fix ternary of ternary too difficult to read 2024-03-13 18:24:35 +01:00
Laurent Destailleur
9918f99c6d Merge pull request #28815 from W1W1-M/qual-user-agenda
FIX user agenda
2024-03-13 18:12:33 +01:00
Laurent Destailleur
e01d9452d5 Update agenda.php 2024-03-13 18:12:00 +01:00
William Mead
b3b7afa07a Fixed warning undefined userId & nbevent. 2024-03-13 16:26:10 +01:00
Hystepik
3668efcd90 fix warnings phpstan 2024-03-13 15:34:29 +01:00
William Mead
06a593a2c3 Added contributor details 2024-03-13 14:36:04 +01:00
William Mead
2baab69aa0 Cleaned code. Fixed undefined userSID warning when LDAP bind failed. Added attribute table error message when LDAP bind failed. 2024-03-13 14:34:46 +01:00
MDW
17a0ee0810 Fix PhanPluginRedundantAssignment 2024-03-13 01:05:01 +01:00
MDW
8c08c6d483 Fix PhanPluginRedundantAssignment 2024-03-13 01:05:00 +01:00
Laurent Destailleur
74b8162d22 Merge pull request #28700 from mdeweerd/urlencode/fixuptype
Fix: Ensure the argument type for urlencode is string
2024-03-12 14:43:41 +01:00
Laurent Destailleur
949c885477 Merge branch 'develop' into fix/phpdoc1 2024-03-12 14:11:30 +01:00
Laurent Destailleur
56950673b8 Better support for MAIN_OPTIMIZEFORTEXTBROWSER 2024-03-12 02:41:47 +01:00
MDW
b79328f4e6 Qual: Fix PHPdoc to match parent 2024-03-11 23:46:46 +01:00
Laurent Destailleur
2df1ea2097 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2024-03-11 13:30:13 +01:00
Laurent Destailleur
ab760df389 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2024-03-11 13:29:40 +01:00
Laurent Destailleur
2db58f09bc Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2024-03-11 13:19:44 +01:00
MDW
be80a14b47 Fix: Ensure string type for urlencode() 2024-03-09 16:57:01 +01:00
MDW
08424f1347 Fix: Ensure string type for urlencode() 2024-03-09 16:57:00 +01:00
MDW
41a82fe7da Fix: Ensure string type for urlencode() 2024-03-09 16:56:59 +01:00