Angus McLeod
8f7fae0e7c
Remove beta tag
2022-09-23 17:27:11 +02:00
Angus McLeod
785bd5d956
Merge branch 'main' into pro-release
2022-09-22 08:20:44 +02:00
Angus McLeod
b2714b524c
Bump version
2022-09-02 10:01:21 +02:00
Angus McLeod
78a9c97e43
FIX: Ensure no access skip works for guests
2022-08-24 09:52:08 +02:00
Angus McLeod
b05ed5093e
Bump version
2022-08-23 17:04:44 +02:00
Angus McLeod
d6b4954ae3
Bump version
2022-08-22 15:57:38 +02:00
Angus McLeod
6e02c138ef
Update plugin about
2022-08-18 23:04:42 +02:00
Angus McLeod
1f254732da
version bump
2022-08-15 15:41:01 +02:00
Angus McLeod
5c6b66e730
Update plugin contact email
2022-08-12 15:48:30 +01:00
Angus McLeod
209bb077e9
Update metadata in preparation from v2.0
2022-08-09 15:20:49 +01:00
Angus McLeod
c3c87852b8
Bump version
2022-08-02 13:57:44 +01:00
Angus McLeod
1e8b667e3f
Working version contained within template model
2022-08-02 13:54:57 +01:00
Angus McLeod
2cec01ba2c
WIP Example
2022-08-02 12:39:56 +01:00
Angus McLeod
d4da391a4d
Various rebase fixes
2022-08-01 18:07:16 +01:00
Angus McLeod
2f21358f10
Merge branch 'main' into pro-release
2022-08-01 16:44:42 +01:00
Angus McLeod
556a32aa5c
wizard_js locales are only loaded on the new /wizard route for non-staff
2022-07-30 11:23:12 +01:00
Angus McLeod
e3efc68dc9
Bump version
2022-07-29 17:13:44 +01:00
Angus McLeod
c6d5778d12
Update metadata
2022-07-27 14:42:08 +01:00
Angus McLeod
11ff38ae90
Move wizard into core app first step: move the files
2022-07-26 15:18:09 +01:00
Angus McLeod
ac279e4a67
Version bump
2022-07-18 07:41:46 +01:00
Angus McLeod
d7271b7288
Version bump
2022-07-15 16:41:04 +01:00
Angus McLeod
8f53d25114
Merge branch 'main' into pro-release
2022-07-13 16:29:24 +01:00
Angus McLeod
6a5198041b
Bump version
...
Plugin supports all recent asset pipeline changes in Discourse.
2022-06-22 12:56:41 +02:00
Angus McLeod
7dcc6ea61f
Add ember_jquery to precompilation pipeline
2022-06-22 12:29:54 +02:00
Angus McLeod
b8329f0fa0
wizard-vendor needs to be precompiled
2022-06-22 10:37:02 +02:00
Angus McLeod
70329f209a
COMPATIBILITY: The core wizard is now an ember addon
2022-06-17 16:00:22 +02:00
Angus McLeod
aea2df9b06
Bump version
2022-06-15 09:59:40 +02:00
Angus McLeod
7cf99f2391
Final cherry pick fixes
2022-06-15 09:57:20 +02:00
Angus McLeod
a19a1fa3b1
Refactor wizard client and add tests
2022-06-15 08:03:38 +02:00
Angus McLeod
8fd5ae7169
Ensure wizard asset paths are included
2022-05-31 13:04:35 +02:00
Angus McLeod
0970b49db8
Remove unnecessary extensions
2022-04-11 15:24:10 +02:00
Angus McLeod
4348a4ee68
Add more logs
2022-04-11 14:36:04 +02:00
Angus McLeod
86b0df89d1
Test config
2022-04-11 13:42:32 +02:00
Angus McLeod
a87dc19eb3
Add qunit CSP extension
2022-04-11 12:21:38 +02:00
Angus McLeod
3c0d256e4e
Update plugin.rb
2022-04-11 11:35:00 +02:00
Angus McLeod
84d21f78e5
Udpate version
2022-04-11 10:01:28 +02:00
Angus McLeod
466c7a7a49
Explicitly load asset paths for tests
2022-03-29 20:17:59 +02:00
Angus McLeod
a053440466
Update plugin.rb
2022-03-29 18:09:12 +02: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
6cd6b111bd
Bump minor version
2022-03-16 14:13:45 +01:00
Angus McLeod
0c48435672
Merge branch 'pro-release' into add_acceptance_tests
2022-03-16 12:51:15 +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
cb7bb4e12f
Move to proper folder structure
2022-03-12 14:49:41 +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
71af94c80b
Version bump
2022-03-03 20:40:29 +01:00
Scott
c5da68823e
Update plugin.rb
2022-02-28 12:43:10 +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
3b7b0e1a54
cleanup
2022-02-09 12:31:18 +05:30
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
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
angusmcleod
4605b23585
Merge branch 'main' into pro-release
2022-01-27 17:51:24 +08:00
angusmcleod
41b5ba4f31
FIX: cleanup mixin requires
2021-12-22 12:35:47 +08:00
angusmcleod
b74dfcc3f8
Increment patch version
2021-12-22 12:12:48 +08: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
Faizaan Gagan
460d4e397a
fixed linting
2021-12-07 14:01:39 +05:30
Faizaan Gagan
cdafffea2b
use proper structure for preloading category custom fields
2021-11-17 20:15:48 +05:30
angusmcleod
81bb7e56c2
WIP
2021-11-17 20:26:44 +08:00
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
angusmcleod
9ab441f888
Update plugin metadata
2021-11-09 20:38:53 +08: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
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
c1481e2ad4
Merge branch 'main' into wizard-permissions
2021-10-30 14:29:32 +05:30
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
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
Faizaan Gagan
687c3530b3
WIP
2021-10-19 09:05:55 +05:30
Faizaan Gagan
d9d4c7d8fa
WIP
2021-10-14 18:27:18 +05:30
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
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
Faizaan Gagan
11192182e7
DEV: bump version according to latest calculation ( #141 )
...
* bump version according to latest calculation
* bumped version for the current PR
2021-09-09 19:06:01 +05:30
Angus McLeod
f4d419cac2
Merge branch 'pro-release' into pro-features
2021-09-07 20:10:12 +08:00
Keegan George
622ab1b2ce
Merge branch 'pro-release' of https://github.com/paviliondev/discourse-custom-wizard into ui_conventions
2021-09-01 12:38:09 -07:00
angusmcleod
001d116298
Merge branch 'master' into pro-release
2021-09-01 10:37:50 +08:00
angusmcleod
6b1e7568c1
Improve PRO feature approach
2021-09-01 10:19:00 +08:00
Keegan George
d74d3d25be
UX: Display submission fields unique to each type
2021-08-30 16:23:33 -07:00
angusmcleod
eadc40bdae
Add CustomWizard class protections and pro feature restrictions
2021-08-18 14:11:00 +08:00
angusmcleod
eff1d2c7d2
Merge branch 'master' into pro-features
2021-08-17 19:35:10 +08:00
angusmcleod
a27c222dc6
Update authentication and subscription handling
2021-08-10 14:45:23 +08:00
Keegan George
ae271ce647
UX: Add support button to admin-nav ( #118 )
...
* Add support button to admin-nav
* FIX: Security vulnerabilities with _blank anchor link
* Update pro support url
* UX: Create pro button custom styling
* UX: Merge support button focus styling with hover
* DEV: Move pro support url to setting
* UX: Change support button name to Pro Support
* DEV: Format stylesheet code
* DEV: Use variables and change selector specificity for pro button
* DEV: Hardcode pro-support url in button
* DEV: Remove support url localization
* DEV: Undo formatting fixes and add pro support button strings
* DEV: Undo formatting fixes auto applied
* DEV: Add space between selectors
* DEV: Convert scss variables to CSS Custom properties
* DEV: Fix linting
* FIX: Use SCSS variables for color manipulation functions
* DEV: Fix space before i18n
* DEV: Add new line at end of file
* DEV: Add new line at end of file
* DEV: Remove name attribute in localizations
* DEV: Remove padding from new line
2021-08-09 14:44:44 -07:00
Angus McLeod
911a47db28
IMPROVE: Remove sortable and add manual step and field sorting ( #135 )
...
* IMPROVE: Remove sortable and add manual step and field sorting
* Apply eslint
* Apply prettier
2021-07-20 13:02:18 +05:30
angusmcleod
7375c63403
Version bump
2021-07-13 12:03:11 +08:00
Faizaan Gagan
6d1958d772
Merge branch 'master' into submission_improvements
2021-06-28 13:54:03 +05:30
angusmcleod
e441588aa3
Fix specs and tighten conditional handling
2021-06-23 16:13:58 +10:00
angusmcleod
d3c6733e59
Abstract and improve submission handling
2021-06-17 17:50:22 +10:00
Faizaan Gagan
7b9a54590b
Merge branch 'master' into sprockets-fix
2021-06-16 14:28:55 +05:30
Angus McLeod
af3e61fe75
Add custom field improvements ( #115 )
...
* Add custom field improvements
This PR does a few things to improve our support of custom fields
1. Adds custom fields added by other plugins to the list in admin/wizards/custom-fields and the custom field list in the mapper selector
2. Adds support for json custom fields in the wizard actions
* Make eslint happy
* Make prettier happy
* Make rubocop happy
* Make ember template lint happy
* Don't assume we have the context in the selector
* Ensure custom fields don't require optional attributes (with tests)
2021-06-08 17:09:49 +05:30
Angus McLeod
522d4e9489
IMPROVE: ensure redirect_to_wizard is cleaned up even if sidekiq is not working ( #116 )
...
* Add test of redirect_to_wizard when wizard is removed
* Make clear_user_wizard_redirect a synchronous operation
2021-06-07 18:45:41 +05:30
Faizaan Gagan
a1e8070062
FIX: move sprockets customization to monkeypatch
2021-05-12 06:33:19 +05:30
Faizaan Gagan
eb5e2fe604
move sprockets logic outside after_initialize
2021-05-12 06:17:01 +05:30
Faizaan Gagan
a4adeecf5f
Revert "Revert "DEV: add new sprockets directive to require discourse folders" ( #111 )"
...
This reverts commit ca125a2a8a
.
2021-05-12 06:14:09 +05:30
Faizaan Gagan
ca125a2a8a
Revert "DEV: add new sprockets directive to require discourse folders" ( #111 )
2021-05-12 02:58:12 +05:30
Faizaan Gagan
5f24882ef6
DEV: raise plugin specific errors on failure
2021-05-08 23:15:06 +05:30
Faizaan Gagan
13eabe0695
added specs
2021-05-03 03:42:26 +05:30
Faizaan Gagan
fb8cdab0fd
merged master
2021-04-21 03:32:31 +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
88a0846842
Remove jquery timepicker
2021-04-12 14:56:48 +10:00
Faizaan Gagan
105fc46774
FEATURE: added liquid based templating ( #83 )
...
* FEATURE: added liquid based templating
* templating should be false by default
* added rspec tests for mapper templating
* wrapped templating tests in a context block
* added a custom liquid filter and tests
* ran rubocop on changed files
* DEV: minor variable and naming changes
* minor code formatting
* improved overall structure and tightened spec for custom filter
* added a spec template: false
* define method at the top of spec file
* naming convention
* removed extra space
2021-04-09 11:04:42 +05:30
Faizaan Gagan
1bc55c6099
code formatting
2021-04-05 22:04:17 +05:30
Faizaan Gagan
ae918976a3
DEV: add sprockets directive to require discourse folders
2021-04-05 21:53:34 +05:30
Penar Musaraj
fa73a18363
Ensure SCSS compilation compatibility with core ( #77 )
...
* WIP: Fix for new Discourse
* Ensure SCSS compilation compatibility with core
Co-authored-by: Faizaan Gagan <fzngagan@gmail.com>
2021-03-13 13:27:18 +05:30
Angus McLeod
4edb40e526
Apply rubcop and get tests pass ( #76 )
2021-03-11 12:00:15 +05:30
angus
a86942df2e
Add contact email to plugin metadata
2021-03-10 20:45:45 +11:00
angusmcleod
4e7b13ffe3
Version bump
2021-02-20 18:18:27 +11:00
angusmcleod
c45e51fcb6
Various fixes
...
* Code formatting
* Both "type" and "name" are used to refer to the validation type. Changed all to "type".
* Added proper abstraction of realtime validation classes on server
* UI improvements in admin and wizard
2021-02-16 11:43:00 +11:00
Faizaan Gagan
77ca946745
completed categories and date after filters
2021-02-05 18:29:30 +05:30
Faizaan Gagan
ffd2101a30
added backend validation mechanism and refined code
2021-02-01 19:28:37 +05:30
Faizaan Gagan
5d749fe426
some changes
2021-01-27 10:38:26 +05:30
Angus McLeod
d453d97df3
Add custom-wizard-specific caching system
...
Initially for use with registered custom fields
2020-12-04 18:05:56 +11:00
Angus McLeod
39ce7248a8
Add enabled? wrapper for CustomField extensions
2020-12-01 18:20:02 +11:00
Angus McLeod
96ac100602
version bump
2020-11-26 18:52:33 +11:00
Angus McLeod
f31054f75d
Isolate and specify template and update validation
2020-11-26 14:05:50 +11:00
Angus McLeod
e066ee4b00
Revert "Remove unused ExtraLocaleController extension"
...
This reverts commit 37c18ff324
.
2020-11-23 10:11:45 +11:00
Angus McLeod
b383538a6b
Move to individual custom field saving
2020-11-10 11:56:11 +11:00
Angus McLeod
097af63090
Add preloading to custom field implementation
2020-11-09 17:50:17 +11:00
Angus McLeod
3e2a471d7d
Update plugin url
2020-11-09 15:14:45 +11:00
Angus McLeod
0a542af7c6
Bump version
2020-11-09 14:33:46 +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
37c18ff324
Remove unused ExtraLocaleController extension
2020-11-08 14:27:13 +11:00
Angus McLeod
3da4d546b2
Add custom field spec and improve custom field structure
2020-11-08 14:24:20 +11:00
Angus McLeod
b201289358
Version bump
2020-11-03 14:01:28 +11:00
Angus McLeod
74cba10a10
Merge branch 'master' into tests_improvements
2020-11-03 11:28:45 +11:00
Angus McLeod
fc7c5b9b34
Complete tests
2020-11-03 11:24:20 +11:00
Angus McLeod
b726d40a0c
working builder and action specs
2020-10-31 18:05:50 +11:00
Angus McLeod
9d260635ca
Move to more reliable custom field metaprogramming
2020-10-23 11:53:39 +11:00
Angus McLeod
54d244c1d8
Make custom field metaprogramming dynamic
2020-10-20 20:02:13 +11:00
Angus McLeod
b14d334829
Complete custom field management
2020-10-20 16:40:23 +11:00
Angus McLeod
d221d65d77
init
2020-10-17 12:31:07 +11:00
Angus McLeod
66dc55ef10
Use correct precompilation path
2020-10-02 18:07:16 +10:00
Angus McLeod
6aad50202a
Update asset pre-compilation
2020-10-02 15:03:26 +10:00
Angus McLeod
8f3d1796eb
Ensure after_signup runs for oauth singups
2020-09-16 23:35:07 +10:00
Angus McLeod
37e609430b
Remove unused precompilation file
2020-09-10 13:21:58 +10:00
Angus McLeod
4417c96953
Wizard scss cannot be precompiled by rails anymore
2020-08-20 22:36:32 +10:00
Angus McLeod
5588180dcd
Clean up: variable usage and style registration
2020-08-19 14:41:20 +10:00
Angus McLeod
18f0356d15
Integrate custom wizard css into discourse asset pipeline
2020-08-19 13:14:28 +10:00
Angus McLeod
f19cc33af4
Precompile wizard-preload
2020-05-14 15:00:23 +10:00
Angus McLeod
9383695c5b
Add trigger post jobs when post is created
2020-05-04 19:02:49 +10:00
Angus McLeod
7cc84e4a25
Remove enabled? check from extension prepension
2020-04-30 10:54:30 +10:00
Angus McLeod
ef611f3b19
Move wizard extensions to new extension handling
2020-04-29 12:36:44 +10:00
Angus McLeod
47722d13a3
after_signup on approval fixes
2020-04-19 16:42:44 +10:00
Angus McLeod
02c6096395
Update structure
2020-04-19 16:06:18 +10:00
Angus McLeod
fdbc31c30a
bugfix after signup
2020-04-17 08:42:55 +10:00
Angus McLeod
04198339ca
Action logging and submissions bugixs
2020-04-15 10:46:44 +10:00
Angus McLeod
961d5ec1c5
Version bump
2020-04-14 22:12:43 +10:00
Angus McLeod
ab18769820
various
2020-04-13 22:17:22 +10:00
Angus McLeod
2e272f3ef4
Merge branch 'events-support-imports' into add_group_field
2020-04-07 17:57:36 +10:00
Angus McLeod
7b3ed54f29
various
2020-04-05 11:37:09 +10:00
Angus McLeod
610ab8570a
Add style updates
2020-04-03 19:49:36 +11:00
Angus McLeod
7035c05e37
Add pickaday style
2020-04-03 00:21:19 +11:00
Angus McLeod
694f5f1898
Update plugin.rb
2020-04-01 23:16:49 +11:00
Angus McLeod
2046648862
various
2020-04-01 21:58:30 +11:00
Angus McLeod
3bb16f1fb5
wip
2020-04-01 16:03:26 +11:00
Angus McLeod
ee61c1deb3
add permitted setting
2020-03-30 17:16:03 +11:00
Angus McLeod
b212eaa2f3
wip
2020-03-30 10:53:28 +11:00
fzngagan
2b45e9b039
added css/js for timepicker on wizard side
2020-03-27 12:49:27 +05:30
Angus McLeod
4d1ee9007b
Improve custom wizard serialization and add spec
2019-12-12 15:43:11 +11:00
Angus McLeod
9e29947e27
Merge master
2019-12-09 17:21:38 +11:00
merefield
0a79517301
Merge pull request #26 from merefield/national_flags_better_integration
...
REMOVE: all redundant nat flags logic that has been moved to national flags plugin
2019-12-06 11:47:08 +00:00
Angus McLeod
ba33576f51
File restructuring
2019-12-05 19:05:21 +11:00
Angus McLeod
f1fdc37a21
Add enabled setting && tests && file restructure
2019-12-05 17:48:32 +11:00
Angus McLeod
642e3cca98
FIX: reduce scope of ExtraLocalesController override
2019-11-11 09:48:26 +11:00
Robert Barrow
5b210c41d4
REMOVE: all national flags logic that will be moved to national flags plugin
2019-11-10 22:48:06 +00:00
Robert Barrow
c5c91a11af
MERGE: merged upstream changes
2019-10-09 16:06:39 +01:00
Angus McLeod
a2b15024b9
precompile wizard-custom-guest
2019-10-09 10:09:30 +11:00
Angus McLeod
514a03c3af
add require_dependency back for backwards compatibility
2019-10-03 16:54:15 +10:00
Angus McLeod
954dea0af9
zeitwork compatibility
2019-10-03 15:17:21 +10:00
Angus McLeod
f1a310ad4a
FIX: zeitwork cleanup
2019-10-03 10:40:06 +10:00
Robert Barrow
1670ed4b67
NEW FEATURE: ability to request national flag update in wizard
2019-09-11 09:30:38 +01:00
Angus McLeod
9006126e04
Fix wizard locales for non-staff
2019-08-27 14:49:29 +10:00
Angus McLeod
30390e8264
Improve flexibility and structure of send_to_api action
2019-08-13 14:11:46 +10:00
Faizaan Gagan
25792f92e4
Fixed code formatting, tweaked css, moved remaining hardcoded strings to translations and removed all console.log calls
2019-08-06 16:38:05 +05:30
Faizaan Gagan
bf9ceb6dd3
made the changes discussed with Angus, some UI improvements and some edge-case validations
2019-07-30 22:34:18 +05:30
Faizaan Gagan
63fb0658e9
added a feature for importing and exporting wizards
2019-07-28 02:47:20 +05:30
Angus McLeod
b9f8cc61b2
distinguish between 2 legged and 3 legged oauth && other authorization improvements
2019-06-07 13:09:31 +10:00
Robert Barrow
95ba52f973
added logging for api calls
2019-06-06 17:10:13 +01:00
Angus McLeod
5ffcee1dde
Add custom wizard integration
2019-06-03 17:09:24 +10: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
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
Robert Barrow
fdecbe155e
added controller to handle callbacks
2019-05-22 11:46:34 +01:00
Robert Barrow
839f085500
add file reference to plugin dot rb
2019-05-12 15:08:59 +01:00
Angus McLeod
62ee016c7c
ensure wizard exists before forcing redirect
2019-04-09 19:11:09 +10:00
Angus McLeod
4316e6c6ce
Add svg fontawesome icons
2019-02-20 17:27:17 +11:00
Angus McLeod
6aefc5a192
precompile raw-templates script
2019-01-29 11:42:23 +11:00
Angus McLeod
44e15ddfaa
various fixes
2019-01-18 11:34:52 +11:00
Angus McLeod
50593dc298
preload custom wizard start script
2019-01-17 15:45:21 +11:00
Angus McLeod
87c0c8fe74
add calendar-o svg
2019-01-14 13:03:42 +11:00
Angus McLeod
b71ec64a9f
Refactor redirect logic and update not_permitted text
2018-07-06 10:58:53 +10:00