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

509 Commits

Autor SHA1 Nachricht Datum
Angus McLeod
f693a2d25a Add add_to_group action 2019-07-01 12:31:50 +10:00
Angus McLeod
20f605b899 Use wizard name in no access messages 2019-06-19 13:39:39 +08:00
Angus McLeod
aa7dd16827 Handle guests on wizard routes 2019-06-19 13:23:10 +08:00
Angus McLeod
92fb880502 Cook step titles 2019-06-19 12:32:03 +08:00
Robert Barrow
8db52e0656 a slew of bug fixes to ensure a fault free OAuth 2 authorisation 2019-06-16 16:40:47 +01:00
Robert Barrow
7efaf25572 added logging to token refresh, added user column to log and log display 2019-06-16 12:49:51 +01:00
Robert Barrow
c6fed81d28 updated some ember actions to closure actions to remove deprecation warnings, fixed issue where you could not remove last auth parameter as key would never be cleared 2019-06-12 21:57:38 +01:00
Angus McLeod
620f30368e bugfix min length 2019-06-11 17:19:46 +10:00
Angus McLeod
b9f8cc61b2 distinguish between 2 legged and 3 legged oauth && other authorization improvements 2019-06-07 13:09:31 +10:00
Angus McLeod
4f195c704a Additional error handling 2019-06-07 09:57:34 +10:00
Robert Barrow
95ba52f973 added logging for api calls 2019-06-06 17:10:13 +01:00
Robert Barrow
1544d4494b removed test file 2019-06-05 22:29:35 +01:00
Robert Barrow
def5f8e669 added validation for endpoint body JSON in API admin and fixed error handling in actual API calls 2019-06-05 22:23:15 +01:00
Robert Barrow
06f9b4be69 fix for empty api_body and addition of catch for bad JSON 2019-06-04 19:51:24 +01:00
Angus McLeod
8f64d77940 Add special formatting for tags in Create Topic Topic Fields 2019-06-03 17:51:45 +10:00
Angus McLeod
5ffcee1dde Add custom wizard integration 2019-06-03 17:09:24 +10:00
Angus McLeod
819c76b3ff API data validation and administration improvements 2019-06-03 12:49:54 +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
52b8c229ba added code to handle token refresh jobs specific to services 2019-05-19 14:56:17 +01:00
Robert Barrow
0ca8758f6c comments cleanup and added better paramater check for oauth2 2019-05-15 08:09:48 +01:00
Robert Barrow
08172d7d35 added basic authentication and error handling 2019-05-15 07:54:32 +01:00
Robert Barrow
19a9497d74 added authentication protocol type 2019-05-14 14:54:33 +01:00
Robert Barrow
221c233e6d first commit 2019-05-11 16:53:37 +01:00
Angus McLeod
62ee016c7c ensure wizard exists before forcing redirect 2019-04-09 19:11:09 +10:00
Angus McLeod
2af1c543c1 gsub fix 2019-01-23 10:07:29 +11:00
Angus McLeod
a0b34f308b fix custom_title check 2019-01-22 13:45:49 +11:00
Angus McLeod
3a5d3a0687 stripe whitespace when validating length 2019-01-22 13:11:42 +11:00
Angus McLeod
76c2e0a88d bugfix 2019-01-22 10:57:03 +11:00
Angus McLeod
0ea0524dcf add reset flag 2019-01-14 13:53:53 +11:00
Angus McLeod
f903aaed59 ensure custom_value is not a blank string 2018-10-07 18:03:53 +11:00
Angus McLeod
7952fd03b1 ensure after_signup is not triggered on password reset 2018-09-25 21:04:08 +10:00
Angus McLeod
b78c2f0c0f add skip_redirect for actions 2018-09-18 11:56:42 +10:00
Angus McLeod
a1f4d6fdf9 Allow wizard and user fields in custom_title 2018-09-18 11:15:11 +10:00
James Hahn II
51f4365976
Update field.rb 2018-09-09 08:20:12 -05:00
Angus McLeod
b6c26b43a7 Add custom field validators 2018-08-19 10:34:20 +10:00
Angus
7a781b24d0 theme key has changed to theme id 2018-07-17 08:57:53 +10:00
Angus McLeod
b71ec64a9f Refactor redirect logic and update not_permitted text 2018-07-06 10:58:53 +10:00
Angus McLeod
c098a24cb3 bugfix 2018-07-04 13:48:03 +10:00
Angus McLeod
dcee0b3774 Also standardise booleans when pre-filling fields 2018-06-29 12:51:59 +10:00
Angus McLeod
72810b755a Update check 2018-06-22 00:03:29 +10:00
Angus McLeod
0dab4f4964 boolean cast fix 2018-06-19 09:56:45 +10:00
Angus McLeod
bdc699d43f Add wizard find method 2018-06-14 10:00:36 +10:00
Angus McLeod
b0223cc62d Ensure all checkboxes are boolean when validating 2018-06-05 13:11:52 +10:00
Angus McLeod
2dc7ada433 Better check of value 2018-06-05 12:54:05 +10:00
Angus McLeod
9343b63945 Value can be false 2018-06-05 12:37:47 +10:00
Angus McLeod
9bbc72481a Ensure added fields have a key and value 2018-06-05 12:36:56 +10:00
Angus McLeod
a5a18666ad Also pass custom_fields to the UserUpdater 2018-05-25 10:43:46 +10:00
Angus McLeod
2981c32ea5 Add support for user_fields 2018-05-24 15:34:58 +10:00
Angus McLeod
6d769a5392 If wizard is required add a redirect_to after signup 2018-05-24 15:32:51 +10:00
Angus McLeod
a9b5c2700c Ensure submissions are underscored 2018-05-24 15:32:22 +10:00
Angus McLeod
cf4beb7619 Bugfix: fix error arising from restructure 2018-05-21 15:52:39 +10:00
Angus McLeod
8b88309ed0 More improvements to the builder structure 2018-05-20 13:15:53 +10:00
Angus McLeod
b4e8572fd7 Fix custom labels and descriptions 2018-05-20 11:57:48 +10:00
Angus McLeod
39b323c5d1 Improve builder structure 2018-05-20 11:57:34 +10:00
Angus McLeod
bb0f3dfb3e Rm unnecessary options 2018-05-13 15:47:55 +10:00
Angus McLeod
b73b39370f Cook field labels 2018-05-13 15:46:02 +10:00
Angus McLeod
5e936036e6 Cook dropdown choices 2018-05-13 15:39:28 +10:00
Angus McLeod
1442bfe898 Template should return nil if there is wizard data 2018-05-11 10:43:00 +10:00
Angus McLeod
9a3ae6406f Fix completed? for reused wizards && ensure users with no access can get back to site 2018-05-09 15:06:43 +10:00
Angus McLeod
a295f6fe20 Stop reduce returning nil 2018-04-25 11:15:19 +10:00
Angus McLeod
11c85270a7 Update wizard composer 2018-04-15 12:49:12 +10:00
Angus McLeod
9d8424a35f Allow theme to be added by name && use template when loading wizard for controller 2018-04-06 14:21:11 +10:00
Angus McLeod
4ab2cbb1ff Cook step descriptions && add image type && style updates 2018-03-05 09:52:15 +08:00
Angus McLeod
9dd6efdaa2 Add composer field type 2018-02-08 12:30:55 +08:00
Angus McLeod
ce1cbd5e8c Update user custom field handling 2018-02-04 16:42:02 +08:00
Angus McLeod
d837a7c9bc Add custom user fields to actions 2018-02-04 15:52:53 +08:00
Angus McLeod
c0e0338f5f Add text-only field && make more elements optional && style changes 2018-01-30 21:19:32 +08:00
Angus McLeod
984b71ee34 bugfix 2018-01-11 09:59:18 +08:00
Angus McLeod
5784a9db20 Allow admin to override multiple submissions setting 2017-12-25 20:34:33 +08:00
Angus McLeod
e2aa55b4b2 Bugfix theme admin 2017-12-17 12:04:31 +08:00
Angus McLeod
aa1c30f1d3 Add custom category and title for create_topic 2017-11-30 10:55:15 +08:00
Angus McLeod
f7c1170e07 Add min trust setting 2017-11-29 17:48:49 +08:00
Angus McLeod
099880a85b Name fallback is actually a bit confusing 2017-11-24 15:53:27 +08:00
Angus McLeod
b58c20c60c Use a new template field 2017-11-24 14:03:39 +08:00
Angus McLeod
f5ffff35d8 Add post builder 2017-11-24 12:32:15 +08:00
Angus McLeod
e731ecba23 Add user-selector and checkbox as field options 2017-11-23 17:03:19 +08:00
Angus McLeod
c9b8403569 add_fields exception protection 2017-11-23 07:19:55 +08:00
Angus McLeod
ce29654f0f Serialiser and css tweaks 2017-11-22 18:35:43 +08:00
Angus McLeod
b45d26c143 Add prompt completion feature 2017-11-22 17:34:21 +08:00
Angus McLeod
c40bf06953 Fix multiple submissions setting 2017-11-22 14:13:27 +08:00
Angus McLeod
c490523412 Start step bugfix 2017-11-13 15:49:08 +08:00
Angus McLeod
75d4fcaab5 Fix start step && add dropdown none 2017-11-09 10:50:48 +08:00
Angus McLeod
8c173a7b17 Fix dropdown choices && wizard start 2017-11-08 16:52:50 +08:00
Angus McLeod
a784d4a33e Add add_wizard helper 2017-11-07 15:40:09 +08:00
Angus McLeod
b8a78de4c3 bugfix 2017-11-07 11:14:27 +08:00
Angus McLeod
5d8dce986d Add existing profile values to fields associated with profile update actions 2017-11-06 19:50:19 +08:00
Angus McLeod
7f15e2a657 Minor tweaks 2017-11-06 17:06:53 +08:00
Angus McLeod
8a216fcfcf Fix strong param checks so they can handle dynamic wizard fields 2017-11-03 13:56:10 +08:00
Angus McLeod
48ed74c4ce Properly pass and permit submission data 2017-11-02 15:41:14 +08:00
Angus McLeod
bd88f6ace6 Value population bugfix 2017-11-02 12:15:30 +08:00
Angus McLeod
37cd08a3de Profile updater bugfix 2017-11-02 11:54:40 +08:00
Angus McLeod
8f9fe92849 Add check so that default wizard still works 2017-11-02 10:26:49 +08:00
Angus McLeod
11953055fd various 2017-11-01 17:50:03 +08:00
Angus McLeod
be81aa7f4d various 2017-11-01 12:21:14 +08:00
Angus McLeod
a09376e645 various 2017-10-30 14:24:51 +08:00
Angus McLeod
f6251ace06 various 2017-10-22 11:37:58 +08:00
Angus McLeod
dc1cbfbfe4 Working version 2017-10-17 21:17:53 +08:00
Angus McLeod
5220b069f6 various 2017-10-17 15:18:53 +08:00
Angus McLeod
897cc0b60e various 2017-10-15 11:58:22 +08:00
Angus McLeod
e859e3efa2 various 2017-10-13 21:02:34 +08:00
Angus McLeod
dd26ac63af various 2017-10-09 13:52:09 +08:00
Angus McLeod
a43f4b1344 various 2017-10-07 10:27:38 +08:00
Angus McLeod
7b09410a26 various 2017-10-05 08:36:46 +08:00
Angus McLeod
f8848d2b93 Custom forms display steps, just don't save data yet 2017-09-29 19:27:03 +08:00
Angus McLeod
3fa2735c63 various 2017-09-25 22:47:40 +08:00
Angus McLeod
a3f9135698 Working wizard creation 2017-09-24 11:01:18 +08:00
Angus McLeod
ebd026887c Init unfinshed 2017-09-23 10:34:07 +08:00