2
0
forked from Wavyzz/dolibarr
Commit Graph

5295 Commits

Author SHA1 Message Date
Laurent Destailleur
6a0678e717 Merge branch 'develop' into PhanTypeInvalidRightOperandOfNumericOp 2024-03-23 17:36:29 +01:00
Laurent Destailleur
8906df343a NEW Add option THIRDPARTY_MIN_NB_PROF_ID and THIRDPARTY_MAX_NB_PROF_ID 2024-03-23 16:01:41 +01:00
MDW
a1ba13e229 Fix type with cast/idate/phpdoc 2024-03-22 09:52:31 +01:00
Laurent Destailleur
7b0177a84d Move to getDolGlobalString 2024-03-22 00:37:56 +01:00
Laurent Destailleur
5121185541 Code readability 2024-03-21 15:00:54 +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
b0d1952567 Merge branch 'develop' into fix/PhanTypeMismatchInternal5 2024-03-20 12:00:39 +01:00
Laurent Destailleur
b6dc293b22 Debug v20 2024-03-20 11:58:39 +01:00
Laurent Destailleur
8da55ee877 Debug v20 2024-03-20 11:51:07 +01:00
MDW
79e71fb250 Fix arg type to preg_replace() with cast 2024-03-20 04:10:01 +01:00
MDW
be7585d1e2 Fix arg type to trim() with cast 2024-03-20 04:08:41 +01:00
Laurent Destailleur
ec109aaf42 Merge branch 'develop' into addSubscription 2024-03-20 01:52:51 +01:00
Laurent Destailleur
1447d86804 Merge branch 'develop' into addSubscription 2024-03-20 01:01:24 +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
Lamrani Abdel
c56077decc add cancel button for close form 2024-03-19 17:57:01 +01:00
Lamrani Abdel
757401afb4 Add Button+ in Notification section for company 2024-03-19 17:48:06 +01:00
MDW
0bdfbdd4ae Fix PhanPluginSuspiciousParamPosition by adding intermediate variable
# Fix PhanPluginSuspiciousParamPosition by adding intermediate variable

Add an intermediate variable to mediate the PhanPluginSuspiciousParamPosition notification
which also clarifies the meaning of the value where the function is called.
2024-03-19 16:14:37 +01:00
Laurent Destailleur
344052196b Merge pull request #28823 from JonBendtsen/new_thirdparty_notification_api
Thirdparty notification api GET, CREATE, DELETE & UPDATE
2024-03-19 15:57:23 +01:00
Laurent Destailleur
c92b5b90e9 Update api_thirdparties.class.php 2024-03-19 15:55:23 +01:00
Laurent Destailleur
c6b8b19725 Merge pull request #28955 from mdeweerd/fix/PhanTypeMismatchInternal2
Fix multiple PhanTypeMismatchInternal notifications (part 2)
2024-03-19 15:42:43 +01:00
Laurent Destailleur
363a083c54 Look and feel v20 2024-03-19 15:34:47 +01:00
Jon Bendtsen
c5ea918bac Merge branch 'develop' into new_thirdparty_notification_api 2024-03-19 08:16:10 +01:00
Jon Bendtsen
779aeee323 Merge branch 'develop' into fix_notification_count 2024-03-19 08:16:01 +01:00
MDW
8cf914b543 Fix arg type to url_encode by updating to ((int) $arg) 2024-03-19 02:59:35 +01:00
MDW
79a0b7d234 Fix array_key_exists in websiteaccount_card by adding key to initializer 2024-03-19 02:58:56 +01:00
Laurent Destailleur
6b1f490ee1 Merge branch 'develop' into phpstanphpstan 2024-03-19 02:05:42 +01:00
MDW
fd9d48faac Fix phpstan CommonObject->fields - notnull is optional field 2024-03-19 00:32:00 +01:00
Jon Bendtsen
cc0afd1558 Merge branch 'develop' into new_thirdparty_notification_api 2024-03-19 00:03:34 +01:00
Jon Bendtsen
f9797b82b4 the surrounding lines contained an ' as ' in the SQL statement, works both with and without, but this brings consistency 2024-03-18 22:25:29 +01:00
Frédéric France
eb8014c001 Merge remote-tracking branch 'upstream/develop' into phpstanphpstan 2024-03-18 17:50:42 +01:00
Laurent Destailleur
d9ba301611 Merge pull request #28890 from zephyriony/patch-1
Proposed function for records that can't be found
2024-03-18 14:25:31 +01:00
Frédéric France
c084f41525 fix sql 2024-03-17 22:49:18 +01:00
MDW
59e9a1c24d Qual: Remove useless trim 2024-03-17 15:12:41 +01:00
Laurent Destailleur
de58435ef1 FIX: if we stop for security purpose, we must exit a non zero value. 2024-03-16 23:08:15 +01:00
MDW
614d802117 Fix getting $id for Object from post
# Fix getting $id for Object from post

$id was assigned `GETPOSTINT() || GETPOSTINT()` which is a boolean while
the objective is to assigne the best id.
This fixes that.
2024-03-16 22:03:56 +01:00
Laurent Destailleur
a124b9aa43 Fix warnings deprecated 2024-03-16 16:48:36 +01:00
Laurent Destailleur
28217c6dd5 Fix warning 2024-03-16 16:21:43 +01:00
Zephyriony
d5e6fac6de Merge branch 'develop' into patch-1 2024-03-16 14:37:54 +01:00
Laurent Destailleur
3d02ca0fdc Debug v20 2024-03-16 13:41:24 +01:00
Zephyriony
a516b92040 Update card.php with new function record not found 2024-03-16 12:02:33 +01:00
Zephyriony
09b89903ca Update card.php 2024-03-16 11:52:04 +01:00
Laurent Destailleur
e994d6650f Fix regression in GETPOST limit 2024-03-16 11:41:00 +01:00
Zephyriony
6b20661c37 Update card.php with new function recordNotFound 2024-03-16 11:31:35 +01:00
Laurent Destailleur
25dd05c35e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-16 10:45:55 +01:00
Jon Bendtsen
158622dfb9 looking in git blame it seems people insert this for far less changes 2024-03-16 10:08:19 +01:00
Jon Bendtsen
6810cb487f api can create notification 2024-03-16 09:46:32 +01:00
Jon Bendtsen
5c98d38061 remove caller because it failed in phpstan 2024-03-16 00:41:45 +01:00
Jon Bendtsen
eb92e5a678 fetch does not take 4 arguments, only 3, and we don't need more than 2 2024-03-16 00:14:59 +01:00
Jon Bendtsen
c6c6bec2e7 based on update company bank account 2024-03-15 23:50:01 +01:00
Jon Bendtsen
6090e3efe7 modified just like deleteCompanyBankAccount in #28887 2024-03-15 22:40:43 +01:00