1
0
Fork 0
Commit-Graph

249 Commits

Autor SHA1 Nachricht Datum
Faizaan Gagan
c54273b94a implemented a relative time based filtering for similar topics 2021-02-25 15:36:43 +05:30
Faizaan Gagan
3d9a564d63
IMPR: simplified similar topics template (#73)
* IMPR: simplified similar topics template

* renamed label to key

* minor formatting

* added dasherize logic for classnames
2021-02-22 16:25:47 +05:30
Faizaan Gagan
19cc7a7365
FIX: prevent error if no categories are passed (#72) 2021-02-22 14:41:18 +05:30
angusmcleod
5e09d067bc Display category badge if similar topics is scoped to category 2021-02-18 14:40:59 +11:00
angusmcleod
41be645c17 Improve show/hide of similar topics results 2021-02-17 15:49:20 +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
8a6b240b46 removed extra newline 2021-02-15 19:03:01 +05:30
Faizaan Gagan
7ef7b4b8e0 fixed formatting 2021-02-15 19:02:11 +05:30
Faizaan Gagan
3f4b8afb55 fixed code formatting 2021-02-15 13:58:27 +05:30
Faizaan Gagan
eb29193d8b fixed formatting for main validator component 2021-02-15 13:49:14 +05:30
Faizaan Gagan
4e12e872be removed unused code 2021-02-15 13:47:37 +05:30
Faizaan Gagan
afbc4e1f57 fixed similar topics validator formatting 2021-02-15 13:46:19 +05:30
Faizaan Gagan
70cc20a919 remove unused keys 2021-02-15 13:44:46 +05:30
Faizaan Gagan
3de3ea44d0 fixed formatting for field-validators component 2021-02-15 13:41:58 +05:30
Faizaan Gagan
17ba3f9d77 removed the widgets framework 2021-02-11 22:38:22 +05:30
Faizaan Gagan
4883d85d56 renamed the validator 2021-02-11 22:35:04 +05:30
Faizaan Gagan
d47770de88 implemented similar topics UI via ember components 2021-02-11 22:23:13 +05:30
Faizaan Gagan
cfb65245ea renamed endpoint to realtime-validations 2021-02-11 19:53:54 +05:30
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
fa57bb8a5b Merge branch 'master' into realtime-validation 2021-01-30 23:18:43 +05:30
Faizaan Gagan
79e2368b57 validation framework code working 2021-01-30 23:16:04 +05:30
Faizaan Gagan
e7635b632c
added dynamic attributes that can be targetted via css (#67) 2021-01-27 10:48:22 +05:30
Faizaan Gagan
5d749fe426 some changes 2021-01-27 10:38:26 +05:30
Faizaan Gagan
3cc45fa714 frontend validator apis 2021-01-26 13:35:10 +05:30
Angus McLeod
505043922e
Merge pull request #65 from paviliondev/text-counter
FEATURE: text length counter for text type fields
2021-01-20 19:59:04 +11:00
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