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