1
0
Fork 0
Commit-Graph

223 Commits

Autor SHA1 Nachricht Datum
Faizaan Gagan
7bc7c4013e simplified pluralization logic 2021-01-20 14:22:52 +05:30
Angus McLeod
d85ee726d4 Update wizard-date-input.hbs 2021-01-20 19:34:51 +11:00
Faizaan Gagan
cdfd699491 resolved conflicts with latest code 2021-01-20 13:07:44 +05:30
Angus McLeod
b5a6d15c9d Add wizard field tabindex relative to field order 2021-01-19 18:50:37 +11:00
Faizaan Gagan
36094d70d6 fixed formatting for composer field type 2021-01-19 12:21:37 +05:30
Faizaan Gagan
f27ca60d24 updated char counter logic 2021-01-19 12:17:07 +05:30
Faizaan Gagan
b2cdc1c29e REFACTOR: used new syntax for computed property 2021-01-16 17:27:38 +05:30
Faizaan Gagan
57b51c2972 Added a wizard setting to toggle displaying character counter 2021-01-12 16:16:24 +05:30
Faizaan Gagan
25021edd82 added a computed property 2021-01-08 12:42:58 +05:30
Faizaan Gagan
ea5b420253 code formatting 2021-01-08 12:24:51 +05:30
Faizaan Gagan
10f80709c2 FEATURE: text length counter for text type fields 2021-01-08 12:20:57 +05:30
Angus McLeod
78dad97dc8 Use ember debounce until discourseDebounce hits stable 2021-01-04 14:22:43 +08:00
romanrizzi
11ff364cbe
Use the new discourseDebounce function wrapper.
We recently merged a Discourse core's PR to replace usages of Ember's debounce and discourseDebounce with a new debounce wrapper. The new wrapper works exactly like Ember's debounce but internally calls "run" when called in test mode.

This PR replaces all usages of other debounce functions with the new wrapper and fallbacks to Ember's debounce for backward-compatibility.
2020-12-22 11:06:13 -03:00
Angus McLeod
1962388501 Fix missing banner import 2020-12-18 19:25:04 +11:00
Angus McLeod
6dfd9e36c2 FIX: no access locale and svg icon 2020-12-08 13:27:19 +11:00
Angus McLeod
3bff13492f Allow wizard i18n to be overridden by wizard theme i18n 2020-11-26 16:45:30 +11:00
Faizaan Gagan
295eaf2b21 prettified the file 2020-11-11 17:07:30 +05:30
Faizaan Gagan
f096f7d05f FIX: confine the wizard composer's dropZone 2020-11-11 16:58:28 +05:30
Angus McLeod
94c56ef550 Make uploadIcon responsive to authorized extensions 2020-10-06 21:05:24 +11:00
Angus McLeod
6297ddaa03 Update composer style and text usage to match the standard composer 2020-10-06 20:47:40 +11:00
Angus McLeod
96e85bb2b3 Add authorized_extensions support to wizard composer 2020-10-06 20:30:24 +11:00
Angus McLeod
1087facb54 Wrap import in wizard check 2020-10-05 13:40:51 +11:00
Angus McLeod
545dc615c2 Add missing model import 2020-10-05 13:08:15 +11:00
Angus McLeod
039262ce2c FIXES: Improve wizard initialization && more upload improvements 2020-10-02 14:40:10 +10:00
Angus McLeod
20ddba2afd Cleanup composer autocomplete 2020-10-02 11:41:39 +10:00
Angus McLeod
05f96beac1 Update raw templating handling to new asset pipeline 2020-10-02 11:38:32 +10:00
Angus McLeod
39790bf11e Add missing conditional 2020-10-02 10:33:17 +10:00
Angus McLeod
aa7d5df77b CLEANUP #1: Upload progress and link modal 2020-10-02 10:33:01 +10:00
Angus McLeod
8a0dc999b3 Merge branch 'master' into rich-comp 2020-10-02 07:42:38 +10:00
fzngagan
3bd1129acf FEATURE: Insert hyperlink on wizard composer 2020-10-01 19:18:20 +05:30
fzngagan
67d87f74c1 Upload files, drag and drop files, syntax highlighting working 2020-10-01 11:13:29 +05:30
jbrw
866926501f
REFACTOR - remove _.debounce and _.isEqual
Lodash is being removed from core Discourse.
2020-09-29 12:57:32 -04:00
fzngagan
3fd3900cea Added message bus to wizard side 2020-09-24 17:34:32 +05:30
Angus McLeod
fd0dfeae32 Remove wizard composer static id
This causes an issue if multiple composers are used in a single step
2020-09-21 15:36:11 +10:00
Angus McLeod
b57a06ceff Asset pipeline can't handle es6 2020-09-01 21:40:12 +10:00
Angus McLeod
48e3c385dc Require and setup the new Discourse initialization objects 2020-09-01 11:01:46 +10:00
Angus McLeod
a0f48e5a28
Merge pull request #53 from paviliondev/style_upgrade
Integrate custom wizard styles into the Discourse asset pipeline
2020-08-19 18:53:57 +10:00
Angus McLeod
b855417adb Helper context usage has changed
See 41fd7a8b72
2020-08-19 13:23:10 +10:00
Angus McLeod
18f0356d15 Integrate custom wizard css into discourse asset pipeline 2020-08-19 13:14:28 +10:00
fzngagan
63f8faea36 FIX: discourse now uses helperContext to fetch siteSettings on frontend 2020-07-31 19:26:51 +05:30
Angus McLeod
8d9179665b Working date, time and dateTime inputs 2020-07-16 13:26:56 +10:00
Angus McLeod
58d0fda5af Merge branch 'master' into pr/46 2020-07-07 10:31:27 +10:00
Robin Ward
15c24b6098 FIX: get-url deprecation 2020-07-06 15:05:15 -04:00
Angus McLeod
1f7f17ee30 Add date field 2020-07-02 15:25:17 +10:00
Angus McLeod
841923b79c Create CW-version of site singleton 2020-06-22 10:13:10 +10:00
Angus McLeod
57aa93d9db raw-templates have been moved 2020-05-28 13:06:24 +10:00
Angus McLeod
f28bde5206 I18n is now imported 2020-05-14 13:42:11 +10:00
Angus McLeod
dd3875840b Lightbox doesn't work in custom wizard 2020-05-04 18:09:18 +10:00
Angus McLeod
707f187455 Use full name if present 2020-04-16 09:32:35 +10:00
Angus McLeod
3e350ac3dd Use group full name in wizard selector 2020-04-16 09:10:39 +10:00
Angus McLeod
db16c9692b Update custom validation && location style 2020-04-15 18:58:57 +10:00
Angus McLeod
3066c22367 bugfix 2020-04-15 13:21:40 +10:00
Angus McLeod
83243af22d Minor bugfix 2020-04-14 23:16:45 +10:00
Angus McLeod
bab2c95cfe Update error handling 2020-04-14 23:08:02 +10:00
Angus McLeod
ebab021916 Handle case when error input can't be found 2020-04-14 23:00:19 +10:00
Angus McLeod
d128565979 various 2020-04-14 15:46:06 +10:00
Angus McLeod
ab18769820 various 2020-04-13 22:17:22 +10:00
Angus McLeod
d8fd5cb258 various 2020-04-11 16:22:12 +10:00
Angus McLeod
539f61c610 wip 2020-04-07 18:33:51 +10:00
Angus McLeod
2e272f3ef4 Merge branch 'events-support-imports' into add_group_field 2020-04-07 17:57:36 +10:00
Angus McLeod
b5fce333f6 wip 2020-04-07 17:54:30 +10:00
Angus McLeod
6570e4b74b wip 2020-04-06 18:36:38 +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
6088efcbbb Merge branch 'master' into events-support-imports 2020-04-02 21:31:59 +11:00
Angus McLeod
87a53a8c85 wip 2020-04-02 16:21:57 +11:00
Angus McLeod
bbdf11c84f wip 2020-04-01 23:16:26 +11:00
Angus McLeod
2046648862 various 2020-04-01 21:58:30 +11:00
Angus McLeod
9a489f3b9b Merge branch 'master' into add_group_field 2020-03-31 15:53:00 +11:00
Angus McLeod
9b03552344 Migrate to new Site registration approach 2020-03-31 14:14:49 +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
Angus McLeod
71054b80f3 Style and deprecation updates 2020-03-29 18:49:33 +11:00
fzngagan
2b45e9b039 added css/js for timepicker on wizard side 2020-03-27 12:49:27 +05:30
Angus McLeod
f7c1185644 Update group validation 2020-03-24 21:45:28 +11:00
Angus McLeod
ab1763545b Update custom.js.es6 2020-03-24 21:24:27 +11:00
Angus McLeod
fe7283ab3c Add content conditionals 2020-03-24 20:35:46 +11:00
Robert Barrow
ce9373dd91 working url and number validation 2020-03-23 18:40:11 +00:00
Robert Barrow
f2d7f57bb6 first feature commit 2020-03-23 14:49:39 +00:00
Angus McLeod
2e6ab27ea0 add prefil 2020-03-22 04:30:11 +11:00
Angus McLeod
b8369146c7 remove preset dropdown 2020-03-19 18:58:45 +11:00
Angus McLeod
f2a97f903c Add onChange to category-selector 2020-02-05 18:20:24 +11:00
Angus McLeod
1b3dd5a6ba Revert use of options && other combo-box cleanups 2020-02-05 17:58:35 +11:00
Angus McLeod
e293a3f5e9 Update to select-kit-2 2020-02-02 21:42:05 +11:00
Angus McLeod
4d1ee9007b Improve custom wizard serialization and add spec 2019-12-12 15:43:11 +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
9ac57eeb98 FEATURE: Add real Discourse composer 2019-11-20 23:08:04 +11:00
Angus McLeod
833195039b Add a whole bunch of required objects 2019-11-14 18:28: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
c9348469d7 FIX: gracefully deal with lack of field label for dropdown and add settings explanation key value 2019-10-22 20:40:27 +01:00
Robert Barrow
ce49a8ab94 new site setting to allow admin to choose the label cue to show national flag images when using the drop-down to select flag 2019-10-21 11:56:36 +01:00
Robert Barrow
fc602db262 Merge branch 'master' of https://github.com/angusmcleod/discourse-custom-wizard into juless_extensions 2019-10-11 10:47:16 +01:00
Angus McLeod
bdb1d936b9 Remove link functionality from editor 2019-10-11 08:49:20 +11:00
Robert Barrow
96d5a189dc Various PR fixes inc moving flag data to yml, making accepted image upload files a site setting and adding class binding for image uploads 2019-10-04 22:13:41 +01:00
Robert Barrow
d376e178b4 removed console log 2019-09-23 23:00:53 +01:00
Robert Barrow
1597e40a8a FEATURE: added image preview for image uploads 2019-09-23 22:16:41 +01:00
Robert Barrow
938e29fe3f NEW FEATURE: can upload avatar in a wizard step 2019-09-11 12:58:57 +01:00
Robert Barrow
1670ed4b67 NEW FEATURE: ability to request national flag update in wizard 2019-09-11 09:30:38 +01:00
Angus McLeod
ad18ec9809 Improve redirect code clarity 2019-08-29 09:51:18 +10:00
Angus McLeod
b41d66214a Fix validations 2019-07-31 17:42:50 +10:00