1
0
Fork 0
Commit-Graph

595 Commits

Autor SHA1 Nachricht Datum
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
Angus McLeod
4be7349d99 Improve input error styles
- Use outline instead of border
- Remove unecessary padding and margin
2020-11-25 12:58:20 +11:00
Angus McLeod
4b3efb2e1b Merge branch 'master' of https://github.com/angusmcleod/discourse-custom-wizard 2020-11-13 11:44:28 +11:00
Angus McLeod
b4d956a99c Don't allow minLength input for url field 2020-11-13 11:44:19 +11:00
Angus McLeod
26b3797159
Merge pull request #59 from paviliondev/composer-drop
FIX: confine the wizard composer's dropZone
2020-11-13 11:22:13 +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
f2ef53cff7 Minor custom field fixes 2020-11-10 12:03:33 +11:00
Angus McLeod
b383538a6b Move to individual custom field saving 2020-11-10 11:56:11 +11:00
Angus McLeod
155eabd377 Isolated custom field removal 2020-11-09 21:44:32 +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
3da4d546b2 Add custom field spec and improve custom field structure 2020-11-08 14:24:20 +11:00
Angus McLeod
74cba10a10 Merge branch 'master' into tests_improvements 2020-11-03 11:28:45 +11:00
Angus McLeod
4e094edc7b Add integer data type to custom field feature 2020-10-20 18:24:27 +11:00
Angus McLeod
0094be8352 Custom field management locale and style updates 2020-10-20 17:07:59 +11:00
Angus McLeod
b14d334829 Complete custom field management 2020-10-20 16:40:23 +11:00
Angus McLeod
9e0cf29b7c Merge branch 'master' into custom_field_management 2020-10-20 11:42:58 +11:00
Angus McLeod
3e86d0ffa6 FEATURE: suppress notifications setting for post actions 2020-10-20 11:42:10 +11:00
Angus McLeod
8fdd263d8e wip 2020-10-20 10:15:03 +11:00
Angus McLeod
d221d65d77 init 2020-10-17 12:31:07 +11:00
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
55d7059469 Add missing isComposer computed property 2020-10-06 20:33:19 +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
245cb35330 Wizard composer style tweak 2020-10-05 12:32:14 +11:00
Angus McLeod
dc7249cfd2 Update wizard-raw-templates.js.erb 2020-10-02 19:32:18 +10: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
Angus McLeod
fce7b77a91 Add share-url import 2020-10-01 20:23:39 +10:00
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
1f8f24804b Add missing imports 2020-09-19 11:41:32 +10:00
Angus McLeod
b57a06ceff Asset pipeline can't handle es6 2020-09-01 21:40:12 +10:00
Angus McLeod
73cdd2bc4d Select-kit directory now needs to be manually injected 2020-09-01 21:28:14 +10:00
Angus McLeod
48e3c385dc Require and setup the new Discourse initialization objects 2020-09-01 11:01:46 +10:00
Angus McLeod
dc66bbe936 Import lib/cookie 2020-09-01 08:48:23 +10:00
Angus McLeod
4daae1bfe4 Bootbox is now imported 2020-08-28 09:46:29 +10:00
Angus McLeod
003bf08f85 Remove unecessary css declarations 2020-08-20 23:27:00 +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
5588180dcd Clean up: variable usage and style registration 2020-08-19 14:41:20 +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
53fefec6bb Added topic-fancy-title import 2020-08-10 11:57:53 +05:30
fzngagan
63f8faea36 FIX: discourse now uses helperContext to fetch siteSettings on frontend 2020-07-31 19:26:51 +05:30
Angus McLeod
888072f196 Merge branch 'master' into add_date_time_inputs 2020-07-22 11:30:40 +10:00
Angus McLeod
fe707f31e5 Add date-time style 2020-07-22 11:30:22 +10:00
Angus McLeod
a9a1409e66 Add event styles 2020-07-22 11:14:41 +10:00
Angus McLeod
a0f2d85eff Add visible to create_topic action 2020-07-20 14:26:11 +10:00
Angus McLeod
36c0281b2f Add watch category users and migration 2020-07-20 13:06:36 +10:00
Angus McLeod
290bacc4bd Add wizard actions and fix field listings 2020-07-17 17:02:48 +10:00
Angus McLeod
2e6c6ff4d6 Expose custom field support for create group and create category 2020-07-17 12:10:59 +10:00
Angus McLeod
1e4348b67a Complete new group category actions 2020-07-16 17:50:09 +10:00
Angus McLeod
aa380e2d6c Merge branch 'master' into create_category_and_create_group_actions 2020-07-16 15:25:18 +10:00
Angus McLeod
8fb44749f5 Add create_group 2020-07-16 15:25:06 +10:00
Angus McLeod
8d9179665b Working date, time and dateTime inputs 2020-07-16 13:26:56 +10:00
Angus McLeod
271e270dca Handle new category and tag hashtags 2020-07-15 10:19:04 +10:00
Angus McLeod
bb85b3a0d2 Update raw template global in erb 2020-07-09 13:15:23 +10:00
Angus McLeod
11bf892bcc Add Create Category action and Create Group serverside 2020-07-09 12:19:36 +10:00
Angus McLeod
f0edc18804
Merge pull request #44 from discoursehosting/master
Add email_messages_level and email_digests as updatable user fields
2020-07-07 10:49: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
Richard
224903b025 Add email_messages_level and email_digests as updatable user fields 2020-07-02 09:33:58 +00:00
Angus McLeod
1f7f17ee30 Add date field 2020-07-02 15:25:17 +10:00
Angus McLeod
7841ee8101 Add email_level as updatable user field 2020-07-02 09:59:14 +10:00
Angus McLeod
e0a2525cb0 Explicitly import d-textarea 2020-06-26 20:28:13 +10:00
Angus McLeod
802d74bab2 Add text selection and conditional input type to dropdown content options 2020-06-22 20:47:42 +10:00
Angus McLeod
841923b79c Create CW-version of site singleton 2020-06-22 10:13:10 +10:00
Robert Barrow
72f81c4c4c FIX: add missing api actions meta 2020-05-30 20:26:14 +01:00
Angus McLeod
57aa93d9db raw-templates have been moved 2020-05-28 13:06:24 +10:00
Angus McLeod
0c7d6f97fc Import I18n 2020-05-28 13:06:06 +10:00
Angus McLeod
afb543e0de Migrate from namespace to import 2020-05-28 11:26:39 +10:00
Robert Barrow
99f9907b1b fixed spurious line 2020-05-26 11:52:25 +01:00
Robert Barrow
33b2003827 improved layout so that mapped field settings have more room 2020-05-26 11:47:15 +01:00
Robert Barrow
1f0f7ff5f9 Added categorySelection on the output 2020-05-26 11:16:06 +01:00
Robert Barrow
92f626196d remove commented out code 2020-05-26 09:53:01 +01:00
Robert Barrow
c4471fa15f Added notification level dropdown to allow admin to specify which level of tracking will be chosen during action 2020-05-25 14:59:31 +01:00
Robert Barrow
2458525206 utilise wizard mapper to retrieve values 2020-05-24 11:20:15 +01:00
Robert Barrow
9097e3cad2 Remove unnecessary selection options 2020-05-24 09:03:34 +01:00
Robert Barrow
5fc5ce113e Update schema against PR feedback 2020-05-24 08:56:27 +01:00
Robert Barrow
d3e7fceb56 revert deletions of redundant spaces continued 2020-05-24 08:36:56 +01:00
Robert Barrow
ca3bad6664 revert deletions of redundant spaces to improve clarity of PR 2020-05-24 08:35:17 +01:00
Robert Barrow
f4a9cf86f2 FEATURE: added ability for user to selected watched categories in wizard 2020-05-22 23:42:26 +01:00
Angus McLeod
b196acf151 Update after-time modal to use new date time inputs 2020-05-15 12:06:21 +10:00
Angus McLeod
b9ad37c38f Locale loading update 2020-05-15 09:31:39 +10:00
Angus McLeod
e28576ba5b Update wizard-preload.js.es6 2020-05-14 14:46:41 +10:00
Angus McLeod
f28bde5206 I18n is now imported 2020-05-14 13:42:11 +10:00
Robin Ward
155493ce3b DEV: Discourse.Route has been deprecated 2020-05-12 14:01:26 -04:00
Angus McLeod
c5ccd638f7 Preload store has moved 2020-05-07 20:29:18 +10:00
Angus McLeod
b83469b776 New RAW_TEMPLATES handling 2020-05-06 11:31:45 +10:00
Angus McLeod
dd3875840b Lightbox doesn't work in custom wizard 2020-05-04 18:09:18 +10:00
Angus McLeod
d3eaceefe1 Convert boolean to is 2020-05-01 19:12:58 +10:00
Angus McLeod
379e839b71 FIX: make invite topic redirects work and allow them to be used in conditional route_tos 2020-05-01 18:16:58 +10:00
Angus McLeod
a8e8a1ecec Revert "Add underline to wizard titles"
This reverts commit da6d7a788b.
2020-04-30 19:35:12 +10:00
Angus McLeod
da6d7a788b Add underline to wizard titles 2020-04-30 19:34:12 +10:00
Angus McLeod
305ad2632a Reduce font-weight of checkbox labels 2020-04-30 19:31:48 +10:00
Angus McLeod
5b5bbd0e1a Add boolean connector 2020-04-30 19:17:37 +10:00
Angus McLeod
d8b9f5acac Discourse common is now an addon 2020-04-30 10:09:26 +10:00
Angus McLeod
489e615773 Ensure typeObject exists 2020-04-29 15:24:33 +10:00
Angus McLeod
857a159d0c Add conditionality to route_to url 2020-04-29 11:47:08 +10:00
Angus McLeod
2844a75f30 Handle changes via callbacks instead of observers 2020-04-29 11:42:39 +10:00
Angus McLeod
e2b1c9e69f Discourse client path change 2020-04-24 20:26:46 +10:00
Angus McLeod
082be35199 Selector active type fixes 2020-04-23 12:28:31 +10:00
Angus McLeod
428cccd643 Update wizard-admin.scss 2020-04-22 23:10:27 +10:00
Angus McLeod
77923b443d Handle case when action id does not have number at end 2020-04-22 23:08:04 +10:00
Angus McLeod
e06f543720 Move api to v0.2 2020-04-22 23:03:18 +10:00
Angus McLeod
8327b7fad0 Put-cursor-at-end is now a seperate lib 2020-04-21 07:24:57 +10:00
Angus McLeod
b74a46a89f Fix: new items may not have type on creation 2020-04-21 07:21:44 +10:00
Angus McLeod
de8b4f9b2e Minor fixes 2020-04-20 22:26:34 +10:00
Angus McLeod
8cd8c3aeaa Add field and action messages 2020-04-20 21:40:32 +10:00
Angus McLeod
7cffacafd2 Stub onUpdate 2020-04-20 19:42:52 +10:00
Angus McLeod
32aa7cc897 Improve change handling structure 2020-04-20 19:41:13 +10:00
Angus McLeod
d194a8313a Add user field options as dropdown option 2020-04-19 21:02:14 +10:00
fzngagan
500c305701 added import 2020-04-17 13:32:56 +05:30
Angus McLeod
a25d69eb5f Step description mapper updates 2020-04-16 15:14:03 +10:00
Angus McLeod
aa5f455c6b Update wizard.js.es6 2020-04-16 13:34:49 +10:00
Angus McLeod
ca7af31562 Update field id handling 2020-04-16 13:33:07 +10:00
Angus McLeod
4576aff5b5 Fix wizard-link sorting 2020-04-16 12:13:26 +10:00
Angus McLeod
d26744cf56 Schema handling updates
- support custom field types
- move client schema to seperate helper
- handle schema defaults properly
2020-04-16 12:04:27 +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
4889435164 Bugfix 2020-04-15 18:58:10 +10:00
Angus McLeod
a1272de568 Handle event and location fields 2020-04-15 16:22:54 +10:00
Angus McLeod
92bd7953f1 Handle incorrect data in mapped inputs 2020-04-15 15:41:27 +10:00
Angus McLeod
e285674c8f Handle corrupted wizard data 2020-04-15 15:22:21 +10:00
Angus McLeod
03ae1dc7c9 Update wizard-admin.scss 2020-04-15 14:48:42 +10:00
Angus McLeod
c24c7f7b44 Api tweaks 2020-04-15 14:29:47 +10:00
Angus McLeod
f114672dd8 Update wizard-admin.scss 2020-04-15 13:22:58 +10:00
Angus McLeod
3066c22367 bugfix 2020-04-15 13:21:40 +10:00
Angus McLeod
949b28cecb Update logs 2020-04-15 12:47:14 +10:00
Angus McLeod
57a19d4f23 Minor bugfixes 2020-04-15 12:34:39 +10:00
Angus McLeod
147b8a787c Improve log UI 2020-04-15 12:10:39 +10:00
Angus McLeod
1ac241fb9a Revert to post_builder 2020-04-15 11:23:41 +10:00
Angus McLeod
04198339ca Action logging and submissions bugixs 2020-04-15 10:46:44 +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
f8104eb01b Limit dropdown types 2020-04-14 22:10:42 +10:00
Angus McLeod
d96ebb3bdd Don't allow auto-updating of trust level 2020-04-14 20:46:53 +10:00
Angus McLeod
303c79be1f Only clear mapped properties if the field id remains the same 2020-04-14 16:06:02 +10:00
Angus McLeod
d128565979 various 2020-04-14 15:46:06 +10:00
Angus McLeod
92e61f3f51 various 2020-04-14 09:39:21 +10:00
Angus McLeod
ab18769820 various 2020-04-13 22:17:22 +10:00
Angus McLeod
dae08e53d4 various 2020-04-12 09:27:16 +10:00
Angus McLeod
d8fd5cb258 various 2020-04-11 16:22:12 +10:00
Angus McLeod
ae87e383d2 update profile update action fields 2020-04-10 18:51:01 +10:00
Angus McLeod
3c8dc540c8 wip 2020-04-10 17:57:49 +10:00
Angus McLeod
024ab63006 various 2020-04-08 17:59:54 +10:00
Angus McLeod
98f9215d65 various 2020-04-08 12:52:07 +10:00
Angus McLeod
5c33b4a621 Profile action fixes 2020-04-08 00:18:12 +10:00
Angus McLeod
df8d40cf2b Ensure update avatar works 2020-04-07 23:33:11 +10:00
Angus McLeod
06e618ecbe Cast comparisons 2020-04-07 21:53:00 +10:00
Angus McLeod
6ced0cf13c various 2020-04-07 21:06:35 +10:00
Angus McLeod
a20c74a943 various 2020-04-07 20:28:39 +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
e3fa75597b various 2020-04-07 14:56:16 +10:00
Angus McLeod
6570e4b74b wip 2020-04-06 18:36:38 +10:00
Angus McLeod
04d7fc1c59 various 2020-04-06 11:54:16 +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
a6cb3ddd05 Update wizard.js.es6 2020-04-03 09:47:32 +11:00
Angus McLeod
7035c05e37 Add pickaday style 2020-04-03 00:21:19 +11:00
Angus McLeod
6088efcbbb Merge branch 'master' into events-support-imports 2020-04-02 21:31:59 +11:00
Angus McLeod
10fb3c4c44 various 2020-04-02 20:29:22 +11:00
Angus McLeod
9e71195236 Update wizard-admin.scss 2020-04-02 19:25:38 +11:00
Angus McLeod
0d94c1d8c6 various 2020-04-02 19:21:03 +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
515f0b3393 Update wizard-mapper.scss 2020-04-01 16:31:09 +11:00
Angus McLeod
3bb16f1fb5 wip 2020-04-01 16:03:26 +11:00
Angus McLeod
66bd90a56e wip 2020-03-31 19:30:53 +11:00
Angus McLeod
947a42cf0f wip 2020-03-31 17:29:59 +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
906db9269f Update wizard-custom.js 2020-03-31 11:13:16 +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
b728af7a46 added events form css 2020-03-27 12:50:52 +05:30
fzngagan
19ed700e46 added requirejs imports for events form 2020-03-27 12:50:20 +05:30
fzngagan
2b45e9b039 added css/js for timepicker on wizard side 2020-03-27 12:49:27 +05:30
Robert Barrow
3c364c928c CSS for url entry to bring in line with text fields 2020-03-25 11:30:05 +00:00
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
8a4b4413b9 Update wizard-custom-action.hbs 2020-03-24 21:22:32 +11:00
Angus McLeod
b81685e1d1 Bugfixes 2020-03-24 21:14:42 +11:00
Angus McLeod
fe7283ab3c Add content conditionals 2020-03-24 20:35:46 +11:00