Angus McLeod
f042f6b9b8
COMPATIBILITY: update linting
2024-10-16 13:52:03 +02:00
Angus McLeod
35021eb176
DEV: Integrate subscription gem classes in rspec suite
...
I've tweaked the subscription client gem so we can just use the gem's models and tables in this plugin's rspec, which makes duplicating and stubbing them unnecessary.
See further https://github.com/paviliondev/discourse_subscription_client
2023-11-25 13:16:55 +01:00
Angus McLeod
635700a51e
DEV: custom fields concern has be refactored
...
6aa69bdaea
2023-11-25 11:35:21 +01:00
merefield
c8263ed6aa
change name of subscription stubbing method to add clarity of intent
2023-09-28 14:27:24 +01:00
merefield
da2a56adc6
specs: ensure sub client code is mocked out
2023-09-28 13:47:22 +01:00
Angus McLeod
1d7d9d1119
Fix failing specs
2022-05-31 13:16:28 +02:00
Angus McLeod
3e2faaa264
Merge branch 'main' into pro-release
2022-05-13 11:42:50 +02:00
Angus McLeod
294c35cf9b
COMPATIBILITY: three custom fields were dropped in core
...
991b62b6f1
2022-05-13 11:40:08 +02:00
Angus McLeod
69fd3d451d
merge main
2022-03-12 15:08:56 +01:00
Angus McLeod
46c86cda58
Move to new coverage approach
2022-03-12 14:00:07 +01:00
merefield
c6b8e08e38
Add subscription level logic to back-end validation
2021-11-09 14:57:33 +00:00
angusmcleod
084c6f4a7a
wip
2021-09-24 17:58:42 +08:00
angusmcleod
270d3bccf5
IMPROVE: translation feature
2021-09-14 11:33:16 +08:00
angusmcleod
7c9a0ef862
Apply rubocop
2021-09-07 20:11:50 +08:00
angusmcleod
23c4b45195
Add pro feature specs
2021-09-07 20:06:13 +08:00
Angus McLeod
af3e61fe75
Add custom field improvements ( #115 )
...
* Add custom field improvements
This PR does a few things to improve our support of custom fields
1. Adds custom fields added by other plugins to the list in admin/wizards/custom-fields and the custom field list in the mapper selector
2. Adds support for json custom fields in the wizard actions
* Make eslint happy
* Make prettier happy
* Make rubocop happy
* Make ember template lint happy
* Don't assume we have the context in the selector
* Ensure custom fields don't require optional attributes (with tests)
2021-06-08 17:09:49 +05:30
Angus McLeod
4edb40e526
Apply rubcop and get tests pass ( #76 )
2021-03-11 12:00:15 +05:30
Angus McLeod
d453d97df3
Add custom-wizard-specific caching system
...
Initially for use with registered custom fields
2020-12-04 18:05:56 +11:00
Angus McLeod
8a2a143ea8
Invalidate cache before checking enabled?
2020-12-04 09:45:28 +11:00
Angus McLeod
39ce7248a8
Add enabled? wrapper for CustomField extensions
2020-12-01 18:20:02 +11:00
Angus McLeod
f6f77547d7
Use explicit file loading for tests coverage
2020-12-01 08:20:10 +11:00
Angus McLeod
b383538a6b
Move to individual custom field saving
2020-11-10 11:56:11 +11:00
Angus McLeod
3da4d546b2
Add custom field spec and improve custom field structure
2020-11-08 14:24:20 +11:00