0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-21 17:00:29 +01:00
Commit-Graph

1078 Commits

Autor SHA1 Nachricht Datum
Angus McLeod
7a56b9d390 Rubocop 2022-03-12 14:02:11 +01:00
Angus McLeod
8cac2a5960 Update plugin.rb 2022-03-12 14:01:39 +01:00
Angus McLeod
46c86cda58 Move to new coverage approach 2022-03-12 14:00:07 +01:00
Angus McLeod
f9b35a2541 COMPATIBILITY: Remove lodash 2022-03-07 09:02:39 +01:00
Angus McLeod
035e997e35
Merge pull request #186 from paviliondev/bugfix_dropdown
FIX: dropdown content assignment should be allowed to be set to "text"
2022-03-03 21:19:12 +01:00
Angus McLeod
caf2333326 Bump coverage 2022-03-03 21:02:44 +01:00
Angus McLeod
cb1054bcd6 FIX: output text for dropdown should not be possible 2022-03-03 20:47:30 +01:00
Angus McLeod
71af94c80b Version bump 2022-03-03 20:40:29 +01:00
Angus McLeod
3169c0803e BUGFIX: assignment does not need mapping 2022-03-03 20:38:49 +01:00
Angus McLeod
1a2f8f1b76
Merge pull request #185 from Fma965/main
Fix issue with dropdown not working
2022-02-28 20:24:02 +01:00
Scott
c5da68823e
Update plugin.rb 2022-02-28 12:43:10 +00:00
Scott
dbd7251073
Update wizard_field_serializer.rb 2022-02-28 12:34:48 +00:00
Faizaan Gagan
038604e284
FIX: checkout correct branches of plugin and discourse (#182)
* FIX: checkout correct branches of plugin and discourse

* add condition to check correct discourse branch

* FIX: use updated redis version

* bump patch version
2022-02-16 19:44:56 +05:30
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
3b7b0e1a54 cleanup 2022-02-09 12:31:18 +05:30
Angus McLeod
dd067768fd FIX: use request_store properly 2022-02-09 10:30:46 +11:00
Angus McLeod
ba7e8d7cd2 Update plugin.rb 2022-02-09 09:54:55 +11:00
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
Keegan George
676d538da2
i18n: Update Translations (#173)
* New translations client.en.yml (Romanian)

* New translations client.en.yml (Ukrainian)

* New translations client.en.yml (Polish)

* New translations client.en.yml (Portuguese)

* New translations client.en.yml (Russian)

* New translations client.en.yml (Slovak)

* New translations client.en.yml (Slovenian)

* New translations client.en.yml (Albanian)

* New translations client.en.yml (Serbian (Cyrillic))

* New translations client.en.yml (Swedish)

* New translations client.en.yml (Turkish)

* New translations client.en.yml (Chinese Simplified)

* New translations client.en.yml (Norwegian)

* New translations client.en.yml (Chinese Traditional)

* New translations client.en.yml (Zulu)

* New translations client.en.yml (Urdu (Pakistan))

* New translations client.en.yml (Vietnamese)

* New translations client.en.yml (Galician)

* New translations client.en.yml (Icelandic)

* New translations client.en.yml (Indonesian)

* New translations client.en.yml (Persian)

* New translations client.en.yml (Khmer)

* New translations client.en.yml (Punjabi)

* New translations client.en.yml (Dutch)

* New translations client.en.yml (French)

* New translations client.en.yml (Basque)

* New translations client.en.yml (Spanish)

* New translations client.en.yml (Afrikaans)

* New translations client.en.yml (Arabic)

* New translations client.en.yml (Belarusian)

* New translations client.en.yml (Bulgarian)

* New translations client.en.yml (Catalan)

* New translations client.en.yml (Czech)

* New translations client.en.yml (Danish)

* New translations client.en.yml (German)

* New translations client.en.yml (Greek)

* New translations client.en.yml (Finnish)

* New translations client.en.yml (Mongolian)

* New translations client.en.yml (Hebrew)

* New translations client.en.yml (Hungarian)

* New translations client.en.yml (Armenian)

* New translations client.en.yml (Italian)

* New translations client.en.yml (Japanese)

* New translations client.en.yml (Georgian)

* New translations client.en.yml (Korean)

* New translations client.en.yml (Kurdish)

* New translations client.en.yml (Lithuanian)

* New translations client.en.yml (Macedonian)

* New translations client.en.yml (Tamil)

* New translations client.en.yml (Bengali)

* New translations server.en.yml (Finnish)

* New translations server.en.yml (Arabic)

* New translations server.en.yml (Belarusian)

* New translations server.en.yml (Bulgarian)

* New translations server.en.yml (Catalan)

* New translations server.en.yml (Czech)

* New translations server.en.yml (Danish)

* New translations server.en.yml (German)

* New translations server.en.yml (Greek)

* New translations server.en.yml (Basque)

* New translations server.en.yml (Hebrew)

* New translations server.en.yml (Spanish)

* New translations server.en.yml (Hungarian)

* New translations server.en.yml (Armenian)

* New translations server.en.yml (Italian)

* New translations server.en.yml (Japanese)

* New translations server.en.yml (Georgian)

* New translations server.en.yml (Korean)

* New translations server.en.yml (Kurdish)

* New translations server.en.yml (Lithuanian)

* New translations server.en.yml (Macedonian)

* New translations server.en.yml (Mongolian)

* New translations server.en.yml (Afrikaans)

* New translations server.en.yml (French)

* New translations client.en.yml (Thai)

* New translations client.en.yml (Welsh)

* New translations client.en.yml (Croatian)

* New translations client.en.yml (Kazakh)

* New translations client.en.yml (Estonian)

* New translations client.en.yml (Latvian)

* New translations client.en.yml (Azerbaijani)

* New translations client.en.yml (Hindi)

* New translations client.en.yml (Malay)

* New translations client.en.yml (Telugu)

* New translations client.en.yml (Tagalog)

* New translations client.en.yml (Yiddish)

* New translations client.en.yml (Esperanto)

* New translations server.en.yml (Romanian)

* New translations client.en.yml (Tatar)

* New translations client.en.yml (Malayalam)

* New translations client.en.yml (Tibetan)

* New translations client.en.yml (Bosnian)

* New translations client.en.yml (Kannada)

* New translations client.en.yml (Swahili)

* New translations client.en.yml (Nepali)

* New translations client.en.yml (Lao)

* New translations client.en.yml (Oromo)

* New translations client.en.yml (Sindhi)

* New translations server.en.yml (Dutch)

* New translations server.en.yml (Norwegian)

* New translations server.en.yml (Welsh)

* New translations server.en.yml (Kazakh)

* New translations server.en.yml (Estonian)

* New translations server.en.yml (Latvian)

* New translations server.en.yml (Azerbaijani)

* New translations server.en.yml (Hindi)

* New translations server.en.yml (Malay)

* New translations server.en.yml (Telugu)

* New translations server.en.yml (Tagalog)

* New translations server.en.yml (Yiddish)

* New translations server.en.yml (Esperanto)

* New translations server.en.yml (Thai)

* New translations server.en.yml (Tatar)

* New translations server.en.yml (Malayalam)

* New translations server.en.yml (Tibetan)

* New translations server.en.yml (Bosnian)

* New translations server.en.yml (Kannada)

* New translations server.en.yml (Swahili)

* New translations server.en.yml (Nepali)

* New translations server.en.yml (Lao)

* New translations server.en.yml (Oromo)

* New translations server.en.yml (Croatian)

* New translations server.en.yml (Bengali)

* New translations server.en.yml (Punjabi)

* New translations server.en.yml (Ukrainian)

* New translations server.en.yml (Polish)

* New translations server.en.yml (Portuguese)

* New translations server.en.yml (Russian)

* New translations server.en.yml (Slovak)

* New translations server.en.yml (Slovenian)

* New translations server.en.yml (Albanian)

* New translations server.en.yml (Serbian (Cyrillic))

* New translations server.en.yml (Swedish)

* New translations server.en.yml (Turkish)

* New translations server.en.yml (Chinese Simplified)

* New translations server.en.yml (Tamil)

* New translations server.en.yml (Chinese Traditional)

* New translations server.en.yml (Zulu)

* New translations server.en.yml (Urdu (Pakistan))

* New translations server.en.yml (Vietnamese)

* New translations server.en.yml (Galician)

* New translations server.en.yml (Icelandic)

* New translations server.en.yml (Indonesian)

* New translations server.en.yml (Persian)

* New translations server.en.yml (Khmer)

* New translations server.en.yml (Sindhi)

* New translations client.en.yml (Serbian (Cyrillic))

* New translations client.en.yml (Chinese Simplified)

* New translations client.en.yml (Chinese Traditional)

* New translations server.en.yml (Serbian (Cyrillic))

* New translations server.en.yml (Chinese Simplified)

* New translations server.en.yml (Chinese Traditional)

* bump version

* New translations server.en.yml (Romanian)

* New translations server.en.yml (Ukrainian)

* New translations server.en.yml (Polish)

* New translations server.en.yml (Portuguese)

* New translations server.en.yml (Russian)

* New translations server.en.yml (Slovak)

* New translations server.en.yml (Slovenian)

* New translations server.en.yml (Albanian)

* New translations server.en.yml (Serbian (Cyrillic))

* New translations server.en.yml (Swedish)

* New translations server.en.yml (Turkish)

* New translations server.en.yml (Chinese Simplified)

* New translations server.en.yml (Norwegian)

* New translations server.en.yml (Chinese Traditional)

* New translations server.en.yml (Zulu)

* New translations server.en.yml (Urdu (Pakistan))

* New translations server.en.yml (Vietnamese)

* New translations server.en.yml (Galician)

* New translations server.en.yml (Icelandic)

* New translations server.en.yml (Indonesian)

* New translations server.en.yml (Persian)

* New translations server.en.yml (Khmer)

* New translations server.en.yml (Punjabi)

* New translations server.en.yml (Dutch)

* New translations server.en.yml (French)

* New translations server.en.yml (Basque)

* New translations server.en.yml (Spanish)

* New translations server.en.yml (Afrikaans)

* New translations server.en.yml (Arabic)

* New translations server.en.yml (Belarusian)

* New translations server.en.yml (Bulgarian)

* New translations server.en.yml (Catalan)

* New translations server.en.yml (Czech)

* New translations server.en.yml (Danish)

* New translations server.en.yml (German)

* New translations server.en.yml (Greek)

* New translations server.en.yml (Finnish)

* New translations server.en.yml (Mongolian)

* New translations server.en.yml (Hebrew)

* New translations server.en.yml (Hungarian)

* New translations server.en.yml (Armenian)

* New translations server.en.yml (Italian)

* New translations server.en.yml (Japanese)

* New translations server.en.yml (Georgian)

* New translations server.en.yml (Korean)

* New translations server.en.yml (Kurdish)

* New translations server.en.yml (Lithuanian)

* New translations server.en.yml (Macedonian)

* New translations server.en.yml (Tamil)

* New translations server.en.yml (Bengali)

* New translations server.en.yml (Esperanto)

* New translations server.en.yml (Oromo)

* New translations server.en.yml (Lao)

* New translations server.en.yml (Nepali)

* New translations server.en.yml (Swahili)

* New translations server.en.yml (Kannada)

* New translations server.en.yml (Bosnian)

* New translations server.en.yml (Tibetan)

* New translations server.en.yml (Malayalam)

* New translations server.en.yml (Tatar)

* New translations server.en.yml (Welsh)

* New translations server.en.yml (Thai)

* New translations server.en.yml (Yiddish)

* New translations server.en.yml (Tagalog)

* New translations server.en.yml (Telugu)

* New translations server.en.yml (Malay)

* New translations server.en.yml (Hindi)

* New translations server.en.yml (Azerbaijani)

* New translations server.en.yml (Latvian)

* New translations server.en.yml (Estonian)

* New translations server.en.yml (Kazakh)

* New translations server.en.yml (Croatian)

* New translations server.en.yml (Sindhi)

Co-authored-by: Faizaan Gagan <fzngagan@gmail.com>
2022-02-01 12:20:18 +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
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