Angus McLeod
009bb71a24
Add time groups feature
2024-10-17 16:15:25 +02:00
Angus McLeod
95aba3c9c5
COMPATIBILITY: more linting
2024-10-16 14:18:23 +02:00
Angus McLeod
f042f6b9b8
COMPATIBILITY: update linting
2024-10-16 13:52:03 +02:00
Angus McLeod
d4148ebd3f
FIX: ensure user is not redirected to single-submission wizard they have completed
2024-10-10 10:19:43 +02:00
Angus McLeod
d4d27c0bf3
DEV: Ensure admins are excluded from set_user_redirect
2024-10-03 11:34:13 +02:00
Angus McLeod
1f3fe7a923
Ensure user is in permitted group before redirecting after time
2024-09-24 13:39:25 +02:00
merefield
712c15e845
FIX: upon revisit, start at step 1 if reset on revisit is set
2023-06-21 09:53:42 +01:00
Angus McLeod
8734cda00b
Fix start step when step is added to previously used wizard
2023-03-22 11:20:30 +01:00
merefield
092947f68b
FIX: regular users can't access wizard with guest permissions
2023-03-10 12:43:37 +00:00
Angus McLeod
b2b93aad59
Ensure admin can access wizard multiple times
2023-02-09 13:10:55 +01:00
Angus McLeod
7c8f530c86
Update wizard.rb
2023-02-09 12:33:55 +01:00
Angus McLeod
8f8c6d50c6
move guest toggle to permitted attribute
2023-02-07 12:46:17 +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
2f21358f10
Merge branch 'main' into pro-release
2022-08-01 16:44:42 +01:00
Angus McLeod
150afb29e0
Namespace CSS and remove uneccessary site attributes
2022-07-27 14:40:05 +01:00
Angus McLeod
69fd3d451d
merge main
2022-03-12 15:08:56 +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
4605b23585
Merge branch 'main' into pro-release
2022-01-27 17:51:24 +08:00
Faizaan Gagan
2678ee153d
FEATURE: add resume wizard popup ( #146 )
...
* FEATURE: add resume wizard popup
* code cleanup, copy edits
* FIX: address functionality, setting and copy issues
@fzngagan a few issues fixed
1. The resume button wasn't working (old reference to ``resumeDialog`` remained in callback.
2. This needs a wizard setting
3. It's not necessary to serialize the first step separately. We have all the steps in ``steps`` and steps have indexes.
4. Button copy
* Fix linting
* Ensure aa submission exists
* Apply prettier
Co-authored-by: angusmcleod <angus@mcleod.org.au>
2021-09-22 13:52:05 +05:30
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
angusmcleod
55b92f4256
IMPROVE: Add additional data to submission serialiser
2021-07-21 11:31:03 +08:00
angusmcleod
34fee3729c
Add pagination to submissions
2021-07-14 14:04:19 +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
Faizaan Gagan
ff14570d64
FIX: exclude conditional fields while saving step submission
2021-05-12 18:15:55 +05:30
Faizaan Gagan
c254a0c6b8
convert key to string
2021-05-07 04:02:56 +05:30
Faizaan Gagan
56268823c5
confine exclusion to wizard fields
2021-05-07 03:28:16 +05:30
Faizaan Gagan
957a32cf5a
FIX: filter conditionally excluded fields from wizard submission
2021-05-05 13:13:03 +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
e7a1472a1c
Handle when permitted is set as "everyone"
2021-03-12 21:02:42 +11:00
Angus McLeod
4edb40e526
Apply rubcop and get tests pass ( #76 )
2021-03-11 12:00:15 +05:30
angus
1a175b4d2b
Ensure prompt completion works as intended
...
- Users who have completed should never see prompt
- Add rspec test for this case
2021-02-19 17:10:59 +11:00
Angus McLeod
f31054f75d
Isolate and specify template and update validation
2020-11-26 14:05:50 +11:00
Angus McLeod
fc7c5b9b34
Complete tests
2020-11-03 11:24:20 +11:00
Angus McLeod
b726d40a0c
working builder and action specs
2020-10-31 18:05:50 +11:00
Angus McLeod
5588180dcd
Clean up: variable usage and style registration
2020-08-19 14:41:20 +10:00
Angus McLeod
47722d13a3
after_signup on approval fixes
2020-04-19 16:42:44 +10:00
Angus McLeod
949b28cecb
Update logs
2020-04-15 12:47:14 +10:00
Angus McLeod
d128565979
various
2020-04-14 15:46:06 +10:00
Angus McLeod
92e61f3f51
various
2020-04-14 09:39:21 +10:00
Angus McLeod
ab18769820
various
2020-04-13 22:17:22 +10:00
Angus McLeod
b5fce333f6
wip
2020-04-07 17:54:30 +10:00
Angus McLeod
6570e4b74b
wip
2020-04-06 18:36:38 +10:00
Angus McLeod
666c4f1eb4
Update wizard.rb
2020-04-03 12:10:52 +11:00
Angus McLeod
335e69e53b
Update wizard.rb
2020-04-03 10:06:13 +11:00
Angus McLeod
2046648862
various
2020-04-01 21:58:30 +11:00
Angus McLeod
ee61c1deb3
add permitted setting
2020-03-30 17:16:03 +11:00
Angus McLeod
2e6ab27ea0
add prefil
2020-03-22 04:30:11 +11:00