Faizaan Gagan
51553bc71d
FEATURE: validate liquid templates on wizard save ( #156 )
...
* DEV: validate liquid templates on wizard save
* minor fix
* code improvements and spec
* version bump
* fixed failing specs
* FIX: handle displaying backend validation errors on frontend
* fixed linting
* improved error display
* validate raw description for steps
* refactor conditional
* Identify attribute with liquid template error and pass syntax error
Co-authored-by: angusmcleod <angus@mcleod.org.au>
Co-authored-by: Angus McLeod <angusmcleod@users.noreply.github.com>
2022-01-31 15:11:14 +05:30
Faizaan Gagan
ac944dbb3e
FIX: Discourse.BaseUrl no longer works
2021-11-21 11:22:36 +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
angusmcleod
54c00f1784
Apply prettier to recent changes
2021-04-12 16:12:20 +10:00
angusmcleod
8171fc730c
Apply es-lint to javascripts/discourse
2021-04-12 15:44:47 +10:00
angusmcleod
9c17957b43
Apply to javascripts/discourse
2021-04-12 15:10:02 +10:00
Angus McLeod
cf50a7deb3
Apply prettier 💄 ( #80 )
...
* Apply prettier
* applied prettier for similar-topics-validator
Co-authored-by: Faizaan Gagan <fzngagan@gmail.com>
2021-03-28 14:36:49 +05:30
Angus McLeod
b383538a6b
Move to individual custom field saving
2020-11-10 11:56:11 +11:00
Angus McLeod
155eabd377
Isolated custom field removal
2020-11-09 21:44:32 +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
e06f543720
Move api to v0.2
2020-04-22 23:03:18 +10:00
Angus McLeod
32aa7cc897
Improve change handling structure
2020-04-20 19:41:13 +10:00
Angus McLeod
d26744cf56
Schema handling updates
...
- support custom field types
- move client schema to seperate helper
- handle schema defaults properly
2020-04-16 12:04:27 +10:00
Angus McLeod
147b8a787c
Improve log UI
2020-04-15 12:10:39 +10:00
Angus McLeod
ab18769820
various
2020-04-13 22:17:22 +10:00
Angus McLeod
dae08e53d4
various
2020-04-12 09:27:16 +10:00
Angus McLeod
d8fd5cb258
various
2020-04-11 16:22:12 +10:00
Angus McLeod
3c8dc540c8
wip
2020-04-10 17:57:49 +10:00
Angus McLeod
024ab63006
various
2020-04-08 17:59:54 +10:00
Angus McLeod
98f9215d65
various
2020-04-08 12:52:07 +10:00
Angus McLeod
04d7fc1c59
various
2020-04-06 11:54:16 +10:00
Angus McLeod
7b3ed54f29
various
2020-04-05 11:37:09 +10:00
Angus McLeod
0d94c1d8c6
various
2020-04-02 19:21:03 +11:00
Angus McLeod
87a53a8c85
wip
2020-04-02 16:21:57 +11:00
Angus McLeod
bbdf11c84f
wip
2020-04-01 23:16:26 +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
Angus McLeod
b8369146c7
remove preset dropdown
2020-03-19 18:58:45 +11:00
Robert Barrow
1c3d272b79
FEATURE: new option to force restart at each revisit
2019-11-04 17:49:30 +00:00
Angus McLeod
802f7d1fd5
Add required data message
2019-07-27 17:01:29 +10:00
Angus McLeod
0b90fdabcf
bugfix
2019-07-18 09:18:08 +10:00
Angus McLeod
dfc87bccb0
Merge branch 'master' into api_authentication
2019-07-12 11:00:10 +10:00
Angus McLeod
650dc498a4
Add required data && permitted params to steps
2019-07-02 14:49:14 +10:00
Robert Barrow
95ba52f973
added logging for api calls
2019-06-06 17:10:13 +01:00
Robert Barrow
def5f8e669
added validation for endpoint body JSON in API admin and fixed error handling in actual API calls
2019-06-05 22:23:15 +01:00
Angus McLeod
819c76b3ff
API data validation and administration improvements
2019-06-03 12:49:54 +10:00
Robert Barrow
cc98a14d15
added basic auth interface changes and supporting code
2019-06-02 23:59:35 +01:00
Angus McLeod
f331f80cbb
Update wizard api CRUD
...
- New api metadata model
- New api id system
- Minor UI updates
2019-06-02 20:54:31 +10:00
Angus McLeod
6345083c4d
initialize auth params and endpoints in the route & model
2019-06-01 12:25:09 +10:00
Angus McLeod
9ff904d0fa
WIP: Add Endpoint Administration
2019-05-31 17:54:11 +10:00
Angus McLeod
01a9e7f148
complete OAuth authorization && Start API Admin UI
2019-05-30 15:04:34 +10:00
Angus
7a781b24d0
theme key has changed to theme id
2018-07-17 08:57:53 +10:00
Angus McLeod
0bb1660b6b
Replace object.assign with jQuery extend
2018-06-14 09:59:41 +10:00
Angus McLeod
a4875f2214
Add basic theme support to custom wizards
2017-12-17 11:43:18 +08:00
Angus McLeod
f7c1170e07
Add min trust setting
2017-11-29 17:48:49 +08:00
Angus McLeod
37b1b73f90
Improve checks and edge cases
2017-11-23 17:02:25 +08:00
Angus McLeod
b45d26c143
Add prompt completion feature
2017-11-22 17:34:21 +08:00
Angus McLeod
2f659f4d18
bugfix
2017-11-07 14:28:26 +08:00