Faizaan Gagan
e235a66b01
FIX: avoid translating pre-translated placeholder
2021-07-03 13:06:06 +05:30
Faizaan Gagan
d8f6f00e60
FIX: add csrf token to all wizard ajax requests in dev ( #129 )
...
* FIX: add csrf token to all wizard ajax requests in dev
* fix formatting
* simplified code
* Update field.rb
2021-07-01 11:25:31 +05:30
Faizaan Gagan
dc19b508ab
Merge branch 'master' into submission_improvements
2021-06-29 16:19:23 +05:30
Penar Musaraj
0bd4dbd08b
DEV: Switch to CSS custom properties for colors ( #127 )
2021-06-29 13:19:28 +05:30
Faizaan Gagan
6d1958d772
Merge branch 'master' into submission_improvements
2021-06-28 13:54:03 +05:30
Angus McLeod
262f2d5628
Merge pull request #128 from paviliondev/fix-theme-lookup
...
DEV: fix compatibility with core theme architecture changes
2021-06-28 17:18:27 +10:00
Angus McLeod
8a9f3e1a3d
Merge pull request #114 from paviliondev/sprockets-fix
...
DEV: add new sprockets directive to require discourse folders
2021-06-28 12:17:47 +10:00
Faizaan Gagan
13faa849d8
minor formatting
2021-06-27 17:02:19 +05:30
Faizaan Gagan
9ec2da5a9f
DEV: fix compatibility with core theme arch changes
2021-06-27 16:58:26 +05:30
Faizaan Gagan
be86c77a77
IMPROVE: cron schedule and use step output ( #126 )
...
* use step output for populating repo name
* schedule cron every 12 hours
2021-06-26 19:07:08 +05:30
Faizaan Gagan
28400ee24e
Merge branch 'master' into sprockets-fix
2021-06-26 13:30:37 +05:30
Angus McLeod
f80f40d6b3
Apply consistent date validation on the server (using v8) ( #124 )
...
* Apply consistent date validation on the server (using v8)
* Variable fix
* added specs to verify date/time field validation
* minor text change
Co-authored-by: Faizaan Gagan <fzngagan@gmail.com>
2021-06-26 13:15:33 +05:30
Angus McLeod
7bfa0aff70
Apply format to new picker in wizard-date-input ( #123 )
2021-06-26 13:15:19 +05:30
angusmcleod
5a6856fcff
COMPATIBILITY: categories are being loaded differently on Site model
...
See 0e4b8c5318
2021-06-25 11:45:22 +10:00
angusmcleod
3d9f6aac98
Ensure data is not nil
2021-06-23 17:02:21 +10:00
angusmcleod
39ee61b422
Update coverage
2021-06-23 16:17:18 +10:00
angusmcleod
098e8418fb
Apply rubocop
2021-06-23 16:15:17 +10:00
angusmcleod
e441588aa3
Fix specs and tighten conditional handling
2021-06-23 16:13:58 +10:00
Keegan George
d8a24eb940
Merge https://github.com/paviliondev/discourse-custom-wizard into ui_conventions
2021-06-18 12:04:17 -07:00
Keegan George
dd8513a563
UX: Add wizard-message component to logs pane
2021-06-18 11:47:24 -07:00
Keegan George
582b9d82aa
FIX: Missing refresh button icon in logs pane
2021-06-18 11:36:18 -07:00
Keegan George
10c7c8bcc0
UX: Change info message when selecting a wizard in the submissions pane
2021-06-18 11:25:51 -07:00
Keegan George
c490da3145
UX: Add wizard message component to submissions page
2021-06-18 10:25:01 -07:00
angusmcleod
d3c6733e59
Abstract and improve submission handling
2021-06-17 17:50:22 +10:00
Faizaan Gagan
7b9a54590b
Merge branch 'master' into sprockets-fix
2021-06-16 14:28:55 +05:30
Angus McLeod
cc0b5fcf9f
Merge pull request #122 from paviliondev/final_step_single_submission_issue
...
Force second step build to overcome can_access? check
2021-06-16 16:42:35 +10:00
angusmcleod
dc7e43b6d7
Force second step build to overcome can_access? check
...
The can_access? check will fail if the wizard does not allow multiple submissions. This means that on the second build of the wizard on the final step of a single submission wizard, the wizard instance will have no steps, and an error will be thrown when logic assumes it does.
2021-06-16 16:21:24 +10:00
Angus McLeod
85bb23e70f
Merge pull request #120 from paviliondev/fix-paste-event
...
Ensure our custom paste logic is running
2021-06-16 15:01:31 +10:00
Angus McLeod
b2ed2c1dc7
Merge pull request #121 from paviliondev/cant_access_skip_bugfix
...
Cant access skip bugfix
2021-06-16 14:41:49 +10:00
angusmcleod
46bb28bb07
Fix linting
2021-06-16 14:26:28 +10:00
angusmcleod
33df6f9fbc
Add test for skip when cant access
2021-06-16 14:24:07 +10:00
angusmcleod
9452907f0a
Don't attempt to save submissions if the user can't access the wizard
2021-06-16 14:13:12 +10:00
angusmcleod
f742626786
Ensure our custom paste logic is running
2021-06-16 13:55:10 +10:00
Angus McLeod
58b3bc13c9
FIX: Ensure user_email and user_option attributes are handled properly ( #119 )
2021-06-15 11:48:17 +05:30
Angus McLeod
af3e61fe75
Add custom field improvements ( #115 )
...
* Add custom field improvements
This PR does a few things to improve our support of custom fields
1. Adds custom fields added by other plugins to the list in admin/wizards/custom-fields and the custom field list in the mapper selector
2. Adds support for json custom fields in the wizard actions
* Make eslint happy
* Make prettier happy
* Make rubocop happy
* Make ember template lint happy
* Don't assume we have the context in the selector
* Ensure custom fields don't require optional attributes (with tests)
2021-06-08 17:09:49 +05:30
Angus McLeod
f1f13065c8
Merge pull request #117 from paviliondev/ci-impr
...
FIX: populate repository name from global object and enable cron
2021-06-08 21:29:50 +10:00
Faizaan Gagan
48fbb61dcc
FIX: populate repository name from global object
2021-06-08 16:10:00 +05:30
Angus McLeod
522d4e9489
IMPROVE: ensure redirect_to_wizard is cleaned up even if sidekiq is not working ( #116 )
...
* Add test of redirect_to_wizard when wizard is removed
* Make clear_user_wizard_redirect a synchronous operation
2021-06-07 18:45:41 +05:30
Angus McLeod
31a27cbb00
Merge pull request #113 from paviliondev/fix-locales
...
FIX: changed wizard id resolution logic
2021-05-31 08:45:09 +12:00
Faizaan Gagan
61ff018244
added spec
2021-05-30 18:30:51 +05:30
Faizaan Gagan
db72617b61
FIX: changed wizard id resolution logic
2021-05-18 16:10:43 +05:30
Faizaan Gagan
04f008575f
combine rspec run with coverage report ( #101 )
2021-05-17 14:00:23 +05:30
angusmcleod
c574ad7c32
Update package.json
2021-05-17 19:57:13 +12:00
angusmcleod
0c4eb02038
Exclude gems from simplecov
2021-05-17 19:57:09 +12:00
Angus McLeod
6cb5d62a7a
Merge pull request #109 from paviliondev/conditional-submission
...
FIX: filter conditionally excluded fields from wizard submission
2021-05-14 08:44:48 +12:00
Faizaan Gagan
ff14570d64
FIX: exclude conditional fields while saving step submission
2021-05-12 18:15:55 +05:30
Faizaan Gagan
a1e8070062
FIX: move sprockets customization to monkeypatch
2021-05-12 06:33:19 +05:30
Faizaan Gagan
eb5e2fe604
move sprockets logic outside after_initialize
2021-05-12 06:17:01 +05:30
Faizaan Gagan
a4adeecf5f
Revert "Revert "DEV: add new sprockets directive to require discourse folders" ( #111 )"
...
This reverts commit ca125a2a8a
.
2021-05-12 06:14:09 +05:30
Faizaan Gagan
8c61b9b1f3
Merge branch 'master' into conditional-submission
2021-05-12 03:11:40 +05:30