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
8f8c6d50c6
move guest toggle to permitted attribute
2023-02-07 12:46:17 +01:00
Angus McLeod
dfc1540d52
Fix tests and linting
2023-01-26 11:26:24 +01:00
Angus McLeod
7d2e876584
First working version
2023-01-18 19:53:36 +01:00
Angus McLeod
c1007e78f5
WIP
2022-12-24 09:42:09 +01:00
Angus McLeod
da7153fe34
Add subscription check for API features
2022-11-01 13:38:56 +01:00
Angus McLeod
2f21358f10
Merge branch 'main' into pro-release
2022-08-01 16:44:42 +01:00
Angus McLeod
60823cd87a
First release candidate
2022-07-27 11:47:50 +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
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
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
e34f2b5076
Merge branch 'pro-release' into split_log_messages
2021-09-01 16:51:28 +08:00
angusmcleod
403f063b0f
Fix failing specs
2021-09-01 11:10:49 +08:00
KC Maddever
c394656ed8
DEV: update tests for split log fields
2021-08-31 14:34:47 +08:00
Faizaan Gagan
e260241dea
group specs related to skip
functionality in a context
2021-08-13 18:58:41 +05:30
Faizaan Gagan
61c92ec768
FIX: reset user's progress on wizard skip
2021-08-13 17:49:31 +05:30
Faizaan Gagan
89f733ae32
added spec to verify functionality
2021-08-12 17:11:58 +05:30
angusmcleod
d602281a6a
Fix failing test
2021-07-12 16:39:37 +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
angusmcleod
33df6f9fbc
Add test for skip when cant access
2021-06-16 14:24:07 +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
522d4e9489
IMPROVE: ensure redirect_to_wizard is cleaned up even if sidekiq is not working ( #116 )
...
* Add test of redirect_to_wizard when wizard is removed
* Make clear_user_wizard_redirect a synchronous operation
2021-06-07 18:45:41 +05:30
Faizaan Gagan
ff14570d64
FIX: exclude conditional fields while saving step submission
2021-05-12 18:15:55 +05:30
Faizaan Gagan
56268823c5
confine exclusion to wizard fields
2021-05-07 03:28:16 +05:30
Angus McLeod
ceef3f4bc9
Step and field conditionality ( #87 )
...
* Re structure builder logic to allow for step conditionality
Concerns
- Performance. Look at whether the additional build in the steps controller can be reduced
- Does not work if applied to the last step.
- Certain conditions will not work with the first step(?)
- How should this be scoped to known functionality?
* Add indexes and conditions to steps and fields
* Complete and add spec
* Complete backend
* Complete step conditionality and field indexing
* Fix failing spec
* Update coverage
* Apply rubocop
* Apply prettier
* Apply prettier to wizard js
* Fix schema issues created in merge
* Remove setting label for force_final
* Improve client wizard cache naming
* Improve steps controller and spec conditionality
* Improve final step attribute naming
* Fix failing spec
* Linting
* Add one more final step test
* Linting
* Fix eslint issues
* Apply prettier
* Linting, syntax, merge and copy cleanups
* Update wizard-admin.scss
* Fix template linting
* Rubocop fixes
2021-04-20 23:28:19 +05:30
Angus McLeod
4edb40e526
Apply rubcop and get tests pass ( #76 )
2021-03-11 12:00:15 +05:30