Angus McLeod
cebc63b6d8
Try removing conditional from bootstrap
2022-04-11 11:47:33 +02:00
Angus McLeod
7d941eaf5e
Update bootstrap.js.es6
2022-04-11 11:10:00 +02:00
Angus McLeod
8b5b9624d7
Update wizard-qunit.js
2022-04-11 11:08:07 +02:00
Angus McLeod
305f94e9d9
Minor config updates
2022-04-11 11:02:21 +02:00
Angus McLeod
2d6581c60c
FIX: createWizard is a route action
2022-04-04 15:07:17 +02:00
Angus McLeod
0b6ba868ce
FIX: Ensure we always progress index
2022-04-04 12:15:13 +02:00
Angus McLeod
cd43cdd29b
Revert "Update admin-wizards-wizard-show.hbs"
...
This reverts commit 13f5aeda98
.
2022-04-04 12:14:05 +02:00
Angus McLeod
61ad74e07b
Revert "Update action usage"
...
This reverts commit 37685ea8cf
.
2022-04-04 12:14:00 +02:00
Angus McLeod
13f5aeda98
Update admin-wizards-wizard-show.hbs
2022-04-04 12:02:42 +02:00
Angus McLeod
37685ea8cf
Update action usage
2022-04-04 12:01:36 +02:00
Angus McLeod
15b72155c5
Update admin-wizards-wizard-show.hbs
2022-03-30 11:01:36 +02:00
Angus McLeod
1296d3bff8
Update action usage
2022-03-29 21:15:09 +02:00
Angus McLeod
92219ace2f
Apply linting
2022-03-25 12:22:27 +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
5edfb4c41e
Remove subs and notices files
2022-03-16 15:49:25 +01:00
Angus McLeod
ea52b2779b
Remove duplicated functions
2022-03-16 14:10:54 +01:00
Angus McLeod
e7755b106f
Update workflow to add frontend tests && handle deprecations
2022-03-16 14:09:23 +01:00
Angus McLeod
0c48435672
Merge branch 'pro-release' into add_acceptance_tests
2022-03-16 12:51:15 +01:00
Angus McLeod
835600c054
Fix linting
2022-03-16 12:46:16 +01:00
Angus McLeod
8893e6caf1
Refactor wizard client and add tests
2022-03-16 12:33:34 +01:00
Angus McLeod
69fd3d451d
merge main
2022-03-12 15:08:56 +01:00
Angus McLeod
f9b35a2541
COMPATIBILITY: Remove lodash
2022-03-07 09:02:39 +01:00
Angus McLeod
cb1054bcd6
FIX: output text for dropdown should not be possible
2022-03-03 20:47:30 +01:00
Faizaan Gagan
dcefd7c39e
FIX: add pretty-text-bundle
2022-02-11 19:20:48 +05:30
Faizaan Gagan
6201530606
FIX: add required dependency
2022-02-11 00:01:43 +05:30
Faizaan Gagan
f0580d2bba
FEATURE: allow tags from tag field to be confined to a tag group ( #175 )
...
* FEATURE: allow tag field to be confined to a tag group
* fixed linting
* bump minor version
* moved monkeypatch to a separate module
* use snake case for variable names
* added specs
2022-02-07 11:10:52 +05:30
Faizaan Gagan
8d2dbd565e
FIX: increase width to accomodate long category names ( #178 )
...
* FIX: increase width to accomodate long category names
* version bump
2022-01-31 16:21:23 +05:30
Angus McLeod
f92c2cd574
FIX: Wizard id increment fix ( #177 )
...
* increment object ids based on last object id
* Bump version
* Apply prettier
2022-01-31 15:12:26 +05:30
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
angusmcleod
4605b23585
Merge branch 'main' into pro-release
2022-01-27 17:51:24 +08:00
angusmcleod
43c4a1e0d6
COMPATIBILITY: composer editor compatibility updates
2021-12-22 16:41:38 +08:00
angusmcleod
41b5ba4f31
FIX: cleanup mixin requires
2021-12-22 12:35:47 +08:00
Martin Brennan
7f065d91a1
FIX: Use uppy-image-uploader instead of image-uploader
...
The image-uploader component is deprecated and will
be removed shortly in Discourse core. The new component
is functionally equivalent.
2021-12-21 15:15:11 +10:00
Angus McLeod
517da30a4c
DEV: Use uppy in upload field ( #167 )
...
* Move from jquery uploads to uppy.js
* Apply prettier and update version
2021-12-16 13:56:44 +05:30
angusmcleod
b37f7dbdd5
DEV: preview template style improvements
2021-12-14 09:11:23 +08:00
angusmcleod
70c3f19334
Update settings text and file naming
2021-12-09 09:53:10 +08:00
Faizaan Gagan
21b0d52b1b
cleanup
2021-12-08 12:56:14 +05:30
Faizaan Gagan
9c98887437
optional chaining to prevent errors
2021-12-08 12:50:57 +05:30
Faizaan Gagan
1a08c9b0c0
merged 'main' and resolved conflicts
2021-12-08 12:30:37 +05:30
angusmcleod
1ad9691e49
COMPATIBILITY: support new uploader
2021-12-01 15:19:14 +08:00
Faizaan Gagan
c271612fa9
minor formatting
2021-11-22 01:40:50 +05:30
Faizaan Gagan
3cb7e1fffb
set a fallback if no date format is passed
2021-11-22 01:23:12 +05:30
Faizaan Gagan
342fe53a4d
remove unused import
2021-11-22 00:38:43 +05:30
Faizaan Gagan
acd27cd380
FIX: don't pass format to date picker
2021-11-22 00:30:29 +05:30
Faizaan Gagan
ac944dbb3e
FIX: Discourse.BaseUrl no longer works
2021-11-21 11:22:36 +05:30
Faizaan Gagan
80d470b25d
FIX: add import, fix deprication
2021-11-21 10:41:44 +05:30
angusmcleod
fac8d821cf
publish notice count at the end of the update cycle
2021-11-18 17:07:15 +08:00
angusmcleod
e1a746ca28
Add pluginId and console.logs
2021-11-18 16:32:23 +08:00
angusmcleod
49538d554d
Linting
2021-11-17 20:48:11 +08:00
angusmcleod
98061c14e8
Fix spec (mostly)
2021-11-17 20:26:44 +08:00
angusmcleod
81bb7e56c2
WIP
2021-11-17 20:26:44 +08:00
Faizaan Gagan
892914d649
fixed formatting
2021-11-11 17:38:53 +05:30
Faizaan Gagan
564985e46e
FEATURE: allow 'New Topic' button to redirect to a wizard
2021-11-11 17:20:42 +05:30
merefield
14a337e00c
template lint
2021-11-02 09:11:30 +00:00
merefield
3add43e81b
eslint
2021-11-02 09:09:06 +00:00
merefield
8cbc8745b9
prettier
2021-11-02 09:06:00 +00:00
merefield
bd5edaffe9
custom field input: further make generic, fix serializers dropdown
2021-11-02 08:58:15 +00:00
Faizaan Gagan
51dbf7ac40
FIX: handle non-logged in user trying to skip wizard ( #154 )
...
* FIX: handle non-logged in user trying to skip wizard
* update version, fixed formatting
* make sure skipping user is logged in
2021-11-02 13:41:46 +05:30
angusmcleod
b9b80ecc63
FIX: use object property shorthand to make linter happy
2021-10-28 09:55:50 +08:00
merefield
a3d59caee8
yet more linting fixes
2021-10-27 15:05:09 +01:00
merefield
203876e927
linting fixes
2021-10-27 15:01:29 +01:00
merefield
60388b7dab
fix more linting errors
2021-10-27 14:52:22 +01:00
merefield
31b4663b3f
Fix linting errors
2021-10-27 14:41:49 +01:00
merefield
9350db5424
REFACTOR: abstract subscription logic to reduce code
2021-10-25 18:55:28 +01:00
merefield
7b129debac
partial generalisation of subscription logic
2021-10-25 15:31:44 +01:00
merefield
a806e14c64
Admin custom fields subscription differentiation
2021-10-23 13:06:12 +01:00
merefield
5334d12f10
format code
2021-10-22 19:57:16 +01:00
merefield
fbab8d89a5
Update action dropdown behaviour to show sub level
2021-10-22 19:56:00 +01:00
merefield
30fe73570a
remove triple curlies
2021-10-22 15:38:38 +01:00
angusmcleod
ede6752619
Apply prettier
2021-10-20 22:00:30 +08:00
angusmcleod
5abc0f4a4c
IMPROVE: Add value type to mapper selector
2021-10-20 21:56:34 +08:00
merefield
b4f463778d
fix linting issues
2021-10-19 13:49:06 +01:00
merefield
b616adaf71
fix linting
2021-10-19 13:13:32 +01:00
merefield
a42e23d352
Show but differentiate unsubbed action options
2021-10-14 13:41:24 +01:00
Robert Barrow
a13096c8f1
merge in pro-release branch
2021-10-13 14:22:33 +01:00
Robert Barrow
d4e489456e
rename functional levels
2021-10-12 13:01:39 +01:00
Robert Barrow
67cfeb6ed9
Distinguish actions which require additional subscription
2021-10-12 12:51:38 +01:00
Robert Barrow
14e7e9c0db
improve api section switch
2021-10-12 09:54:52 +01:00
Angus McLeod
538d618ff3
FEATURE: Add mentionables integration ( #148 )
...
* Add mentionables integration
* fix linting issues
* bump version
* FIX: Use wizard site model
* FIX: apply prettier
2021-10-06 17:25:50 +05:30
angusmcleod
925c8c009a
DEV: Add notice specs and UI updates
2021-10-05 20:54:06 +08:00
merefield
1f939c1ca0
API: only show API menu on business sub
2021-10-05 10:20:36 +01:00
merefield
a2ebd5c463
API: don't present an API menu entry if not subscribed
2021-10-04 18:51:47 +01:00
merefield
c9453a0bdd
API: remove GET method from API options
2021-10-04 14:40:17 +01:00
angusmcleod
084c6f4a7a
wip
2021-09-24 17:58:42 +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
angusmcleod
270d3bccf5
IMPROVE: translation feature
2021-09-14 11:33:16 +08:00
angusmcleod
15668d37dc
COMPATIBILITY: add new click-trap vendor
2021-09-09 15:13:02 +08:00
angusmcleod
10fb3ee176
Merge branch 'master' into pro-release
2021-09-09 14:39:49 +08:00
angusmcleod
2cd02a15fe
COMPATIBILITY: remove removed vendor
2021-09-09 14:39:36 +08:00
angusmcleod
7b57e7fcab
Apply new table style to wizard logs view
2021-09-09 14:07:12 +08:00
angusmcleod
18c43f499e
Apply template lint
2021-09-07 20:53:45 +08:00
angusmcleod
ba897abf8e
Apply eslint
2021-09-07 20:15:04 +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
0313c773e8
Apply prettier
2021-09-07 20:13:01 +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
angusmcleod
61f7cf64af
COMPATIBILITY: add new vendor require
2021-09-07 11:11:59 +08:00
angusmcleod
a5b0cf95ba
COMPATIBILITY: Add new textarea-text-manipulation mixin
2021-09-06 10:52:32 +08:00
angusmcleod
9db8ce908a
COMPATIBILITY: Add new composer-upload mixin
2021-09-06 10:52:32 +08:00
angusmcleod
e07a57e398
IMPROVE: by default every tag should be available in admin tag selector
2021-09-06 10:52:32 +08:00