Commit graph

53 commits

Author SHA1 Message Date
Philipp Stracker
67a6d9e765
♻️ Adjust “webhooks” property in Redux state 2025-01-08 16:52:21 +01:00
Philipp Stracker
6591889079
🚧 Refactor the eligible-feature REST response 2025-01-08 16:51:04 +01:00
Philipp Stracker
6167955374
🔥 Remove setters for clientId/secret
Those values should only be set by PHP after validating some authentication details
2025-01-08 15:10:25 +01:00
Philipp Stracker
54b174e447
♻️ Decouple API authentication from Redux 2025-01-08 15:01:40 +01:00
Philipp Stracker
1bf6e488a3
♻️ Apply more accurate authentication naming
- “authenticate” instead of “connect”
- “withCredentials” instead of “direct”
- “OAuth” instead of “ISU”
2025-01-08 14:59:59 +01:00
Philipp Stracker
4e7d89fd26
💡 Improve a code comment 2025-01-08 13:21:30 +01:00
Philipp Stracker
3f691bea01
♻️ Use EnvironmentConfig in ConnectionUrlGenerator 2025-01-03 13:52:42 +01:00
Philipp Stracker
9a84c7b4a9
🔀 Merge branch 'trunk'
# Conflicts:
#	modules/ppcp-settings/resources/js/data/common/action-types.js
#	modules/ppcp-settings/resources/js/data/common/controls.js
#	modules/ppcp-settings/resources/js/data/common/hooks.js
#	modules/ppcp-settings/services.php
2025-01-03 11:03:18 +01:00
Philipp Stracker
de3ab2c479
💬 Add missing prefix to an unrelated action-type 2025-01-02 18:22:53 +01:00
Philipp Stracker
0d5832aa8b
Add React logic for final ISU authentication 2025-01-02 18:22:09 +01:00
Philipp Stracker
1246a02f07
♻️ Adjust naming to new “authentication” pattern 2025-01-02 18:19:41 +01:00
Philipp Stracker
69d169533d
♻️ Unify function- and hook names 2025-01-02 17:59:33 +01:00
Philipp Stracker
084327c635
♻️ Rename ambgious hooks
Two different hooks and one store property shared the same name. This commit resolves the ambiguity and makes all names unique
2025-01-02 17:43:02 +01:00
Philipp Stracker
565ee96bb6
🚧 First steps for the final ISU authentication 2025-01-02 14:43:33 +01:00
Philipp Stracker
ef0e7e756c
♻️ Rename REST endpoint for manual login 2025-01-02 14:43:06 +01:00
Philipp Stracker
f9809bdc53
🚧 Rename ConnectManual endpoint
This is a preparation to include the UI login authentication in the same endpoint as the manual connection logic
2025-01-02 12:26:40 +01:00
inpsyde-maticluznar
da0a81036a
Move api requests to controls 2024-12-20 13:43:41 +01:00
inpsyde-maticluznar
f0a09ba83b
Small code fixes 2024-12-20 12:38:42 +01:00
inpsyde-maticluznar
64f97e8022
Remove unnecessary action types 2024-12-20 12:05:23 +01:00
inpsyde-maticluznar
f4b1a6e392
Updating messages, cleanup 2024-12-20 09:58:15 +01:00
inpsyde-maticluznar
80853c6fd4
Fix bugs & do some maintenance 2024-12-20 08:59:52 +01:00
Philipp Stracker
1e26852aa1
♻️ Rename actions for better semantics 2024-12-19 13:26:19 +01:00
Philipp Stracker
da96c084ab
♻️ Consolidate the onboarding-url-generation 2024-12-19 13:23:40 +01:00
inpsyde-maticluznar
ed77ad63ca
Add messages, separate components, finish actions 2024-12-19 13:10:19 +01:00
inpsyde-maticluznar
40b1b0d280
Merge remote-tracking branch 'origin/trunk' into PCP-3930-Make-the-webhook-resubscribe/simulate-logic-usable-in-React-application
# Conflicts:
#	modules/ppcp-settings/resources/js/Components/ReusableComponents/SettingsBlocks/ButtonSettingsBlock.js
#	modules/ppcp-settings/resources/js/Components/Screens/Overview/TabSettingsElements/Blocks/Troubleshooting.js
#	modules/ppcp-settings/resources/js/data/common/action-types.js
#	modules/ppcp-settings/resources/js/data/common/constants.js
#	modules/ppcp-settings/src/SettingsModule.php
2024-12-18 07:05:09 +01:00
inpsyde-maticluznar
08f5b4fba5
Get and resubscribe webhooks 2024-12-18 07:00:47 +01:00
Philipp Stracker
a77b209e3e
♻️ Simplify Redux controllers 2024-12-17 15:05:34 +01:00
Himad M
f31b78f91c
New Settings UI: Move request chaining fom control to action 2024-12-17 12:58:05 +01:00
Himad M
75f3b0b7e4
New Settings UI: Implement logic for features and refresh button. 2024-12-17 12:58:02 +01:00
Philipp Stracker
2b2d5585b1
♻️ Minor: Freeze read-only state objects 2024-12-06 19:22:32 +01:00
Philipp Stracker
82b364a0ac
Add “Common” hook to access merchant data 2024-12-06 19:11:17 +01:00
Philipp Stracker
b4d1596fd1
New action to refresh merchant data from server 2024-12-06 19:10:33 +01:00
Philipp Stracker
c97464d7e2
Add merchant details to “common” hydration path 2024-12-06 19:09:01 +01:00
Philipp Stracker
4e9d588058
♻️ Rearrange code, minor change 2024-12-06 15:49:37 +01:00
Philipp Stracker
64ea8ec011
♻️ Simplify some action generators 2024-12-05 18:56:23 +01:00
Philipp Stracker
9786a18eb0
Replace isBusy with new activity-state manager 2024-12-05 18:55:56 +01:00
Philipp Stracker
51db2de840
Add a default “reset” action to every store 2024-12-05 16:22:26 +01:00
Philipp Stracker
0e30ecde82
Add production login hook to last wizard step 2024-12-05 15:06:34 +01:00
Philipp Stracker
9075679921
♻️ Rename Redux action for consistent naming 2024-12-04 16:08:50 +01:00
Philipp Stracker
8341d4ec0e
First draft of production login action 2024-12-04 16:08:35 +01:00
Philipp Stracker
4d6bad1ffd
🎨 Minor code style (comment & whitespace) 2024-12-04 12:18:19 +01:00
Philipp Stracker
681f420b12
Add Redux defaults for read-only wooSettings 2024-12-04 12:11:21 +01:00
Himad M
4f0f71f5e0
New Settings UI: Apply feedback 2024-12-03 15:38:00 -04:00
Himad M
a06a74004c
New Settings UI: Map storeCountry and currency to WooCommerce settings 2024-12-02 18:15:07 -04:00
Philipp Stracker
2a28f38491
Implement sandbox login actions 2024-11-21 19:07:32 +01:00
Philipp Stracker
a0910962b4
🐛 Move required action type to common store 2024-11-21 18:04:11 +01:00
Philipp Stracker
f2f0329e4e
🐛 Implement missing common-store action 2024-11-21 17:43:22 +01:00
Philipp Stracker
454e7c1a6d
🎨 Small code cleanup 2024-11-21 17:43:15 +01:00
Philipp Stracker
faff0baa43
♻️ Move sandbox & manual-connect to common store 2024-11-21 16:16:20 +01:00
Philipp Stracker
2b2b24e434
🔥 Remove isSaving; move isBusy to common store 2024-11-21 16:14:26 +01:00