2
0
forked from Wavyzz/dolibarr
Commit Graph

2013 Commits

Author SHA1 Message Date
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
MDW
be7585d1e2 Fix arg type to trim() with cast 2024-03-20 04:08:41 +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
MDW
79a0b7d234 Fix array_key_exists in websiteaccount_card by adding key to initializer 2024-03-19 02:58:56 +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
Laurent Destailleur
28217c6dd5 Fix warning 2024-03-16 16:21:43 +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
Jon Bendtsen
a25ac083d8 Merge branch 'fix_delete_company_bank_account' into new_thirdparty_notification_api 2024-03-15 22:37:14 +01:00
Jon Bendtsen
db18ba99bd writing why it is not allowed 2024-03-15 22:30:55 +01:00
Jon Bendtsen
cda2fd03af adding the rowid as the notification id 2024-03-15 22:28:51 +01:00
Jon Bendtsen
8625fc717d Merge branch 'develop' into new_thirdparty_notification_api 2024-03-15 22:05:51 +01:00
Jon Bendtsen
081b5a256f 403 when loggin is ok but permission are wrong. 2024-03-15 21:52:59 +01:00
Jon Bendtsen
434d4d2a0d using the type casted variable in if 2024-03-15 20:07:56 +01:00
Jon Bendtsen
5f0c13b73b only if supplied 'account' numbers match will we actually delete, else return 416. Return 401 when not authorized 2024-03-15 20:04:03 +01:00
Laurent Destailleur
b658beab99 Merge pull request #28872 from mdeweerd/fix/PhanTypeMismatchReturnProbablyReal
Fix & enable PhanTypeMismatchReturnProbablyReal
2024-03-15 15:24:31 +01:00
MDW
3a6144dc90 Fix PhanTypeMismatchReturnProbablyReal 2024-03-15 14:20:57 +01:00
MDW
7025738db8 Fix fields initialisation 2024-03-15 10:12:50 +01:00
MDW
23785393a3 Add csslist to json keys 2024-03-15 03:55:52 +01:00
MDW
7e36eac969 Fix PhanTypeMismatchPropertyDefault 2024-03-15 03:54:12 +01:00
Laurent Destailleur
fd4fa05313 FIX #yogosha21416 2024-03-14 23:39:16 +01:00
Jon Bendtsen
390a190094 Merge branch 'develop' into new_thirdparty_notification_api 2024-03-13 23:56:39 +01:00
Jon Bendtsen
f10fd0cbc0 we do not use these fields which are null anyway 2024-03-13 23:52:18 +01:00
Jon Bendtsen
0c1add5f91 initialising the variable 2024-03-13 23:31:27 +01:00
Jon Bendtsen
864074804a removing the 2 unfinished functions 2024-03-13 23:15:50 +01:00
Jon Bendtsen
8dcd73e420 using the correct class 2024-03-13 23:14:49 +01:00
Jon Bendtsen
f884bb9a0a load Notify class 2024-03-13 23:06:39 +01:00
Jon Bendtsen
b55a0fbeb3 change is not big enough to warent copyright 2024-03-13 22:16:43 +01:00
Jon Bendtsen
35d41faa6d getNotifications now produces output 2024-03-13 22:13:57 +01:00
Laurent Destailleur
cad8f24322 Merge pull request #28799 from mdeweerd/fix/PhanPluginDuplicateExpressionAssignmentOperation
Fix & enable PhanPluginDuplicateExpressionAssignment
2024-03-13 14:49:21 +01:00
MDW
9053c0c7c0 Fix PhanPluginRedundantAssignment 2024-03-13 01:04:58 +01:00
MDW
71e6cbf534 Fix PhanPluginDuplicateExpressionAssignment (NOOP assignment) 2024-03-12 22:25:38 +01:00
Laurent Destailleur
9e16016125 Merge pull request #28770 from mdeweerd/typing/fields
Fix: Repeat fields typing in CommonClass children
2024-03-12 14:30:36 +01:00
Laurent Destailleur
949c885477 Merge branch 'develop' into fix/phpdoc1 2024-03-12 14:11:30 +01:00
MDW
3a441359da Qual: Fix PHPdoc for fields 2024-03-12 14:10:46 +01:00
MDW
88d59896ec Qual: 'enabled' in fields can be string ('isModEnabled(...)')
# Qual: 'enabled' in fields can be string ('isModEnabled(...)')

Update PHPdoc to allow that enabled is a string
2024-03-12 13:38:08 +01:00
MDW
d9b63894d1 Qual: Fix PHPdoc to match parent 2024-03-11 23:46:47 +01:00
Jon Bendtsen
8eb805c433 working on Notifications, not accounts 2024-03-11 23:24:26 +01:00
Jon Bendtsen
dbc8f15d2f copy from bankaccount, then some edits to apply to notifications 2024-03-11 22:36:07 +01:00
Laurent Destailleur
9cc32d70d2 Clean code 2024-03-11 18:25:48 +01:00