1
0
Fork 0
Commit-Graph

1206 Commits

Autor SHA1 Nachricht Datum
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
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
Angus McLeod
5bbb36e213
Merge pull request #151 from paviliondev/wizard-permissions
FIX: grant reply/edit permissions to topic author
2022-01-31 16:04:38 +08:00
Faizaan Gagan
f5a35baa1b simplified logic 2022-01-31 12:50:20 +05:30
Faizaan Gagan
5d882d69a2 merged 'main' and resolved conflicts 2022-01-31 09:47:12 +05:30
Keegan George
c9e243f3d8
DEV: Add PR title for translations 2022-01-26 09:37:31 -08:00
Keegan George
9f0b08a37e Update Crowdin configuration file 2022-01-26 06:20:50 -08:00
angusmcleod
02e931ae08 Update plugin-linting.yml 2021-12-22 16:49: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
Angus McLeod
3ffb0a9c2a
Merge pull request #169 from martin-brennan/issue/replace-image-uploader-with-uppy-image-uploader
FIX: Use uppy-image-uploader instead of image-uploader
2021-12-22 12:14:51 +08:00
angusmcleod
b74dfcc3f8 Increment patch version 2021-12-22 12:12:48 +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
Angus McLeod
1c31097078
Merge pull request #155 from paviliondev/create_topic_button_override
FEATURE: allow 'New Topic' button to redirect to a wizard
2021-12-09 10:09:29 +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
Faizaan Gagan
00682fb4c2
FIX: field validation was not working in backend (#165)
* FIX: field validation was not working in backend

* added tests
2021-12-07 14:20:34 +05:30
Faizaan Gagan
460d4e397a fixed linting 2021-12-07 14:01:39 +05:30
Tim Santos
757b382345
Update .discourse-compatibility (#161) 2021-12-06 11:49:09 +05:30
Angus McLeod
b95639b315
Merge pull request #163 from paviliondev/uploader_compatibility_fixes
COMPATIBILITY: support new uploader
2021-12-01 16:38:07 +08:00
angusmcleod
1ad9691e49 COMPATIBILITY: support new uploader 2021-12-01 15:19:14 +08:00
Angus McLeod
ce0335b679
Merge pull request #159 from paviliondev/fix_date_time_display
FIX: pass a fallback format to date picker
2021-11-22 09:24:25 +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
Faizaan Gagan
cdafffea2b use proper structure for preloading category custom fields 2021-11-17 20:15:48 +05:30
Faizaan Gagan
892914d649 fixed formatting 2021-11-11 17:38:53 +05:30
Faizaan Gagan
f044ad6101 bump version 2021-11-11 17:22:54 +05:30
Faizaan Gagan
564985e46e FEATURE: allow 'New Topic' button to redirect to a wizard 2021-11-11 17:20:42 +05:30
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
Faizaan Gagan
4b0008ee52 version bump 2021-10-30 16:09:38 +05:30
Faizaan Gagan
b7575a3295 use standard naming for custom fields 2021-10-30 16:07:16 +05:30
Faizaan Gagan
dec5f5b5ce added more specs and fixed formatting 2021-10-30 16:03:30 +05:30
Faizaan Gagan
c1481e2ad4 Merge branch 'main' into wizard-permissions 2021-10-30 14:29:32 +05:30
angusmcleod
b9b80ecc63 FIX: use object property shorthand to make linter happy 2021-10-28 09:55:50 +08:00
Angus McLeod
c2864b9790
Merge pull request #153 from paviliondev/conditionality_fix
Conditionality Fix
2021-10-28 09:46:14 +08:00
angusmcleod
a9af086252 bump version: patch
@fzngagan I don't think this qualifies as a new feature, as it's a bugfix plus a related UI update to make the UX of an existing feature clearer
2021-10-20 22:03:42 +08: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
angusmcleod
f908e5ec9d Add spec for fix 2021-10-20 21:19:21 +08:00
angusmcleod
805e934fdf FIX: cast both key and value as boolean if operator is `is:[true|false]` 2021-10-20 20:48:38 +08:00
angusmcleod
774cf70efc IMPROVE: remove custom paragraph line-height 2021-10-19 15:16:54 +08:00
Angus McLeod
69153a7379
IMPROVE: Add plugin metadata workflow with version check (#149)
* IMPROVE: Add plugin metadata workflow with version check

* Update error message

* Fix workflow keys

* Update plugin-metadata.yml

* Update plugin-metadata.yml

* Update plugin-metadata.yml

* bump version

* Update plugin-metadata.yml

* Update plugin-metadata.yml

* Use npm semver to compare versions

* Fix syntax

* Add semver to package.json

* Update npm usage

* Update plugin-metadata.yml

* Update plugin-metadata.yml

* purposefully fail test

* Pass test
2021-10-19 09:11:16 +05:30