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

30 Commits

Autor SHA1 Nachricht Datum
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
Angus McLeod
4edb40e526
Apply rubcop and get tests pass (#76) 2021-03-11 12:00:15 +05:30
Angus McLeod
fc7c5b9b34 Complete tests 2020-11-03 11:24:20 +11:00
Angus McLeod
8fdd263d8e wip 2020-10-20 10:15:03 +11:00
Angus McLeod
e34a24c495 Handle incorrect use of inputs
If the user mis-configures the wizard, e.g. using "is" instead of "=" it will produce an exception here in certain circumstances. This prevents that.
2020-09-21 15:50:46 +10:00
Angus McLeod
91a30178bf Add protection to data recursion 2020-07-22 11:39:30 +10:00
Angus McLeod
290bacc4bd Add wizard actions and fix field listings 2020-07-17 17:02:48 +10:00
Richard
224903b025 Add email_messages_level and email_digests as updatable user fields 2020-07-02 09:33:58 +00:00
Angus McLeod
7841ee8101 Add email_level as updatable user field 2020-07-02 09:59:14 +10:00
Angus McLeod
454872edc8 Add more checks for edgecases (e.g. when user_field is removed) 2020-06-10 19:52:28 +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
e257d60c86 rm byebug 2020-04-30 19:37:57 +10:00
Angus McLeod
90ea524382 Remove unecssary && 2020-04-30 19:17:53 +10:00
Angus McLeod
5b5bbd0e1a Add boolean connector 2020-04-30 19:17:37 +10:00
Angus McLeod
07d0cbb0b4 Pair validation should be cumulative 2020-04-23 12:52:25 +10:00
Angus McLeod
d194a8313a Add user field options as dropdown option 2020-04-19 21:02:14 +10:00
Angus McLeod
a25d69eb5f Step description mapper updates 2020-04-16 15:14:03 +10:00
Angus McLeod
ba7c50b40f Clarify mapper interpolation 2020-04-16 13:33:42 +10:00
Angus McLeod
ab18769820 various 2020-04-13 22:17:22 +10:00
Angus McLeod
ae87e383d2 update profile update action fields 2020-04-10 18:51:01 +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
539f61c610 wip 2020-04-07 18:33:51 +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
0d94c1d8c6 various 2020-04-02 19:21:03 +11:00
Angus McLeod
bbdf11c84f wip 2020-04-01 23:16:26 +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