0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-09-19 15:21:11 +02:00
Commit-Graph

975 Commits

Autor SHA1 Nachricht Datum
KC Maddever
399cc9c220 DEV: rubocop 2021-08-31 14:43:21 +08:00
KC Maddever
c394656ed8 DEV: update tests for split log fields 2021-08-31 14:34:47 +08:00
KC Maddever
35ff172967 DEV: specify which fields to split in log data migration 2021-08-31 14:33:16 +08:00
KC Maddever
b79039c2e2 DEV: save logs with split fields 2021-08-31 14:33:16 +08:00
KC Maddever
aa928c319e DEV: add data migration to split out log fields 2021-08-31 14:33:16 +08:00
Keegan George
ae271ce647
UX: Add support button to admin-nav (#118)
* Add support button to admin-nav

* FIX: Security vulnerabilities with _blank anchor link

* Update pro support url

* UX: Create pro button custom styling

* UX: Merge support button focus styling with hover

* DEV: Move pro support url to setting

* UX: Change support button name to Pro Support

* DEV: Format stylesheet code

* DEV: Use variables and change selector specificity for pro button

* DEV: Hardcode pro-support url in button

* DEV: Remove support url localization

* DEV: Undo formatting fixes and add pro support button strings

* DEV: Undo formatting fixes auto applied

* DEV: Add space between selectors

* DEV: Convert scss variables to CSS Custom properties

* DEV: Fix linting

* FIX: Use SCSS variables for color manipulation functions

* DEV: Fix space before i18n

* DEV: Add new line at end of file

* DEV: Add new line at end of file

* DEV: Remove name attribute in localizations

* DEV: Remove padding from new line
2021-08-09 14:44:44 -07:00
Keegan George
5f5adf93e4
Merge pull request #134 from paviliondev/admin-ui-support
IMPROVE: Admin UI support
2021-07-19 09:18:28 -07:00
Faizaan Gagan
247f7ca466 IMPROVE: reduce field placeholder setting textarea width 2021-07-14 13:32:19 +05:30
angusmcleod
1a78b44d35 Apply rubocop 2021-07-14 14:06:54 +08:00
angusmcleod
56a1463413 Apply prettier 2021-07-14 14:05:13 +08:00
angusmcleod
34fee3729c Add pagination to submissions 2021-07-14 14:04:19 +08:00
angusmcleod
7375c63403 Version bump 2021-07-13 12:03:11 +08:00
Angus McLeod
5aef8972ff
Merge pull request #125 from paviliondev/submission_improvements
Abstract and improve submission handling
2021-07-12 22:43:13 +08:00
Faizaan Gagan
ca10ae797a
FEATURE: new field type Composer Preview (#130)
* WIP

* composer preview field working

* remove redundant variable

* fix linting issues

* fix rubocop

* remove unnecessary entry

* consolidate preview generation code

* add styles for onebox

* add css for @ mentions

* fixed eslint issues

* FIX: ensure oneboxes load every time

* remove unused import

* fix prettier issues

* removed unused code

* remove unused imports

* fixed prettier issue

* improve css structure

* add csrf header in all cases
2021-07-12 17:05:05 +05:30
angusmcleod
d602281a6a Fix failing test 2021-07-12 16:39:37 +08:00
angusmcleod
dfd382cd8a Apply prettier 2021-07-12 16:01:52 +08:00
angusmcleod
56f58414b3 Remove meta keys from fields attribute and update submissions ui to handle new submission structure 2021-07-12 15:53:58 +08:00
angusmcleod
20c8ec1202 Merge branch 'master' into pr/125 2021-07-12 14:05:02 +08:00
Faizaan Gagan
d88d2b7d97
converted placeholder input to a textarea (#133) 2021-07-10 11:33:00 +05:30
Faizaan Gagan
e4df646022
FIX: clear site model cache to prevent spec failure (#132) 2021-07-08 13:04:03 +05:30
Faizaan Gagan
c9f90fb8ce FIX: text length validation bug 2021-07-07 11:50:56 +05:30
Angus McLeod
9293aaeabc
Merge pull request #131 from paviliondev/text-placeholder
FEATURE: placeholder setting for text type fields
2021-07-05 16:44:09 +10:00
Faizaan Gagan
d47950733d enabled interpolation and templating 2021-07-05 11:52:29 +05:30
Faizaan Gagan
21ac87cdda FEATURE: placeholder setting for text type fields 2021-07-03 15:41:49 +05:30
Faizaan Gagan
c2e51cba3a FIX: hide placeholder on field focus 2021-07-03 13:23:33 +05:30
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
582b9d82aa FIX: Missing refresh button icon in logs pane 2021-06-18 11:36:18 -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