Angus McLeod
389d02068c
Fix deprecations and broken tests
2024-01-26 16:18:11 +01: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
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
merefield
8407227f53
update back-end tests
2023-09-24 17:18:40 +01:00
merefield
2f206f60c7
remove redundant client installed check code
2023-09-22 17:08:03 +01:00
merefield
a342626267
stick to one method for text conversion
2023-07-19 11:14:08 +01:00
merefield
3fe1a7c7e8
remove redundant downcasing
2023-07-19 09:23:48 +01:00
merefield
609df33680
downcase name for category cstm setting
2023-07-18 14:29:39 +01:00
merefield
c26a89a78a
fix test
2023-07-18 14:05:09 +01:00
merefield
b71f627d73
improve test explanation
2023-07-15 10:00:54 +01:00
merefield
4449ab7aff
Add corresponding code to help pass test
2023-07-15 09:56:32 +01:00
merefield
1662ff166d
Add failing test
2023-07-15 09:38:46 +01:00
Angus McLeod
42d6e094a2
Fix failing spec
...
See further 6cf863080a
2023-06-06 09:15:16 +02:00
Angus McLeod
c256a41668
Also ensure subscription client definition is in the right state
2023-05-31 14:27:00 +02:00
Angus McLeod
99e747a331
Ensure subscriptions are not stubbed if testing for no subscription
2023-05-31 12:09:00 +02:00
Angus McLeod
71277f8448
Merge branch 'main' into subscription_client_update
2023-02-27 09:27:27 +01:00
Rafael dos Santos Silva
ce914c3f57
FIX: (File|Dir).exists? is deprecated
2023-02-24 12:13:51 -03:00
Angus McLeod
aef9ed24ae
Change problematic Dir.exists?
2023-02-24 14:27:08 +01:00
Angus McLeod
da6e75faca
Fix admin index
2023-02-24 14:17:00 +01:00
Angus McLeod
da7153fe34
Add subscription check for API features
2022-11-01 13:38:56 +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
04f0d34ef3
Fix specs
2022-03-25 17:08:24 +01:00
Angus McLeod
f607863510
Remove more subscription related things and integrate with subscription client
2022-03-25 12:18:54 +01: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
Angus McLeod
5e5b5e67ee
FIX: Cache valid directs and only allow one type in a template ( #176 )
...
* Cache valid directs and only allow one type in a template
* Add spec
* Bump version
* Bump version
* Exclude current wizard from other_after_signup
2022-01-31 14:48:04 +05:30
angusmcleod
98061c14e8
Fix spec (mostly)
2021-11-17 20:26:44 +08:00
angusmcleod
084c6f4a7a
wip
2021-09-24 17:58:42 +08:00
angusmcleod
7b57e7fcab
Apply new table style to wizard logs view
2021-09-09 14:07:12 +08:00
angusmcleod
33824de1d1
Merge branch 'pro-features' of https://github.com/angusmcleod/discourse-custom-wizard into pro-features
2021-09-07 20:13:13 +08:00
angusmcleod
7c9a0ef862
Apply rubocop
2021-09-07 20:11:50 +08:00
Angus McLeod
f4d419cac2
Merge branch 'pro-release' into pro-features
2021-09-07 20:10:12 +08:00
angusmcleod
23c4b45195
Add pro feature specs
2021-09-07 20:06:13 +08:00
KC Maddever
c394656ed8
DEV: update tests for split log fields
2021-08-31 14:34:47 +08:00
angusmcleod
e441588aa3
Fix specs and tighten conditional handling
2021-06-23 16:13:58 +10:00
angusmcleod
d3c6733e59
Abstract and improve submission handling
2021-06-17 17:50:22 +10: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
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
066eef4ef8
FEATURE: Wizard Manager
...
The "Transfer" UI has been upgraded into a full wizard manager, adding additional import/export features and bulk-delete functionality
2020-11-09 14:32:36 +11:00
Angus McLeod
3da4d546b2
Add custom field spec and improve custom field structure
2020-11-08 14:24:20 +11:00
Angus McLeod
fc7c5b9b34
Complete tests
2020-11-03 11:24:20 +11:00