1
0
Fork 0
Commit-Graph

993 Commits

Autor SHA1 Nachricht Datum
Angus McLeod
aca0fab74e
Merge pull request #103 from paviliondev/checkbox-def
DEV: checkbox value should default to false
2021-05-03 17:55:33 +12:00
Faizaan Gagan
cdb9ec6c3e remove the directory after spec run 2021-05-03 04:19:27 +05:30
Faizaan Gagan
77dd879f80 minor formatting 2021-05-03 03:43:47 +05:30
Faizaan Gagan
13eabe0695 added specs 2021-05-03 03:42:26 +05:30
Faizaan Gagan
4a4c1934a0 revert client side change 2021-04-30 23:02:13 +05:30
Faizaan Gagan
887de25833 FIX: set checkbox field default value as false 2021-04-30 22:59:06 +05:30
Faizaan Gagan
848874ea1f
FIX: clicking Maybe Later was causing 500 error (#105) 2021-04-30 21:56:00 +05:30
Faizaan Gagan
c463e8b541 fix formatting 2021-04-29 12:18:09 +05:30
Faizaan Gagan
8aafb257fd DEV: checkbox value should default to false 2021-04-29 11:02:51 +05:30
Faizaan Gagan
f05d859007
Enable templating (#102)
* enabled templating for create topic action

* enabled templating for step and field descriptions

* FIX: don't run pretty text on step description

* FIX: step description should be cooked post template parsing
2021-04-23 17:21:41 +05:30
Angus McLeod
7d38337c84
Merge pull request #100 from paviliondev/step-conditionality-multiple
FIX: allow setting multiple conditions for entering a step
2021-04-23 17:08:55 +10:00
Faizaan Gagan
eb93169f86 use option multiple and aggregate the result 2021-04-23 12:22:04 +05:30
Faizaan Gagan
be1eab6092 minor formatting 2021-04-22 23:52:38 +05:30
Faizaan Gagan
2a8a4367d8 added specs 2021-04-22 23:50:54 +05:30
Faizaan Gagan
911140fde3 improved the logic to accomodate multiple conditions using 'or' 2021-04-22 23:50:26 +05:30
Faizaan Gagan
fb8cdab0fd merged master 2021-04-21 03:32:31 +05:30
Angus McLeod
ceef3f4bc9
Step and field conditionality (#87)
* Re structure builder logic to allow for step conditionality

Concerns
- Performance. Look at whether the additional build in the steps controller can be reduced
- Does not work if applied to the last step.
- Certain conditions will not work with the first step(?)
- How should this be scoped to known functionality?

* Add indexes and conditions to steps and fields

* Complete and add spec

* Complete backend

* Complete step conditionality and field indexing

* Fix failing spec

* Update coverage

* Apply rubocop

* Apply prettier

* Apply prettier to wizard js

* Fix schema issues created in merge

* Remove setting label for force_final

* Improve client wizard cache naming

* Improve steps controller and spec conditionality

* Improve final step attribute naming

* Fix failing spec

* Linting

* Add one more final step test

* Linting

* Fix eslint issues

* Apply prettier

* Linting, syntax, merge and copy cleanups

* Update wizard-admin.scss

* Fix template linting

* Rubocop fixes
2021-04-20 23:28:19 +05:30
Angus McLeod
ec21c8e274
Merge pull request #98 from paviliondev/pm-multiple-targets
FEATURE: allow targetting multiple users/groups when sending a privat…
2021-04-19 17:41:50 +10:00
Faizaan Gagan
9ded3602eb Merge branch 'master' into pm-multiple-targets 2021-04-19 11:04:47 +05:30
Faizaan Gagan
772392efae
FIX: checkbox description alignment (#99) 2021-04-18 17:27:16 +05:30
Faizaan Gagan
b71548427d
Added files used by github actions workflows (#78)
* Added files used by github actions workflows

* added simplecov report for tests workflow

* removed trailing space

* Rubocop fixes

* Update plugin-linting.yml

* Create Gemfile.lock

* Update Gemfile.lock

* Re-add bundler

* Update gitignore

* Limit yarn install to dev

* Update rubocop config and gemfile.lock

* allow strings to be mutated

* Update invites_controller_spec.rb

Co-authored-by: angusmcleod <angus@mcleod.org.au>
2021-04-16 13:37:32 +05:30
Angus McLeod
d7542d58c7
Merge pull request #96 from paviliondev/hbs-lint
fixed linting for all the hbs files
2021-04-16 16:01:23 +10:00
Faizaan Gagan
ce222c0c04 modified spec to confirm working for multiple users and groups 2021-04-15 02:15:20 +05:30
Faizaan Gagan
bb08f50042 fixed wrongly introduced variable name changes 2021-04-14 09:09:41 +05:30
Faizaan Gagan
f443840358 FEATURE: allow targetting multiple users/groups when sending a private message 2021-04-14 08:59:12 +05:30
Faizaan Gagan
a76cda0c02 fixed linting for all the hbs files 2021-04-12 19:49:53 +05:30
Faizaan Gagan
2788e8026e
ran prettier on stylesheets and global wizard javascripts (#95) 2021-04-12 12:05:15 +05:30
Faizaan Gagan
0205d8ccb5
fixed linting issues for javascripts/wizard folder (#94)
* ran eslint and fixes linting issues for javascripts/wizard folder

* ran prettier
2021-04-12 11:56:22 +05:30
angusmcleod
54c00f1784 Apply prettier to recent changes 2021-04-12 16:12:20 +10:00
Angus McLeod
c02ae44a82
Merge pull request #93 from paviliondev/es-lint
Apply es-lint to javascripts/discourse
2021-04-12 15:58:07 +10:00
angusmcleod
8171fc730c Apply es-lint to javascripts/discourse 2021-04-12 15:44:47 +10:00
angusmcleod
9c17957b43 Apply to javascripts/discourse 2021-04-12 15:10:02 +10:00
Angus McLeod
cb930a27bb
Merge pull request #92 from paviliondev/jquery-timepicker-2
Remove jquery timepicker from wizard client
2021-04-12 15:05:22 +10:00
angusmcleod
0a23172fa9 Remove jquery timepicker from wizard client 2021-04-12 15:05:04 +10:00
Angus McLeod
f26176b7ab
Merge pull request #91 from paviliondev/move_vendor_assets
Remove jquery timepicker
2021-04-12 14:57:23 +10:00
angusmcleod
88a0846842 Remove jquery timepicker 2021-04-12 14:56:48 +10:00
Faizaan Gagan
9289439cbd
added gems folder to gitignore (#90) 2021-04-12 10:19:37 +05:30
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
Faizaan Gagan
dadac11c1e
FIX: use wizard-i18n helper to support theme translation overrides (#88) 2021-04-07 10:49:48 +05:30
Faizaan Gagan
1bc55c6099 code formatting 2021-04-05 22:04:17 +05:30
Faizaan Gagan
ae918976a3 DEV: add sprockets directive to require discourse folders 2021-04-05 21:53:34 +05:30
Faizaan Gagan
2fe3aa53b1
disable autocomplete when similar-topics validation is enabled (#85) 2021-04-02 19:21:33 +05:30
Faizaan Gagan
369ceb8584 FIX: set similarTopics to null when searching 2021-03-31 11:54:29 +05:30
Angus McLeod
d3e34a5be2
Merge pull request #84 from paviliondev/fix-theme-i18n
FIX: explicitly lookup for translation overrides in wizard theme
2021-03-30 22:03:16 +11:00
Faizaan Gagan
e79458f6ce FIX: explicitly lookup for translation overrides in wizard theme 2021-03-30 13:04:52 +05:30
Angus McLeod
cf50a7deb3
Apply prettier 💄 (#80)
* Apply prettier

* applied prettier for similar-topics-validator

Co-authored-by: Faizaan Gagan <fzngagan@gmail.com>
2021-03-28 14:36:49 +05:30
Faizaan Gagan
94a02157af
FIX: hide similar topics if the field becomes empty (#82) 2021-03-25 16:31:26 +05:30
Angus McLeod
87675c1bfa
Merge pull request #81 from paviliondev/similar-topics-impr
IMPR: added a state for insufficient characters
2021-03-25 19:11:55 +11:00
Faizaan Gagan
9d0a061099 removed unused computed property 2021-03-25 11:38:53 +05:30
Faizaan Gagan
873b30ac65 improved code structure 2021-03-25 11:33:12 +05:30