Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-26 02:50:28 +01:00
Add more logs
Dieser Commit ist enthalten in:
Ursprung
15c0245edf
Commit
4348a4ee68
2 geänderte Dateien mit 4 neuen und 1 gelöschten Zeilen
2
.github/workflows/plugin-tests.yml
gevendort
2
.github/workflows/plugin-tests.yml
gevendort
|
@ -112,7 +112,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
path: tmp/app-cache
|
path: tmp/app-cache
|
||||||
key: >-
|
key: >-
|
||||||
${{ hashFiles('.github/workflows/tests.yml') }}-
|
${{ hashFiles('.github/workflows/plugin-tests.yml') }}-
|
||||||
${{ hashFiles('db/**/*', 'plugins/**/db/**/*') }}-
|
${{ hashFiles('db/**/*', 'plugins/**/db/**/*') }}-
|
||||||
|
|
||||||
- name: Restore database from cache
|
- name: Restore database from cache
|
||||||
|
|
|
@ -22,6 +22,8 @@ if Rails.env.production?
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
puts "BEFORE ADD ASSET PATHS"
|
||||||
|
|
||||||
if Rails.env.test?
|
if Rails.env.test?
|
||||||
config = Rails.application.config
|
config = Rails.application.config
|
||||||
plugin_asset_path = "#{Rails.root}/plugins/discourse-custom-wizard/assets"
|
plugin_asset_path = "#{Rails.root}/plugins/discourse-custom-wizard/assets"
|
||||||
|
@ -252,6 +254,7 @@ after_initialize do
|
||||||
::InvitesController.prepend InvitesControllerCustomWizard
|
::InvitesController.prepend InvitesControllerCustomWizard
|
||||||
::UsersController.prepend CustomWizardUsersController
|
::UsersController.prepend CustomWizardUsersController
|
||||||
::Guardian.prepend CustomWizardGuardian
|
::Guardian.prepend CustomWizardGuardian
|
||||||
|
puts "PREPENDING CSP EXTENSION"
|
||||||
::ContentSecurityPolicy::Extension.singleton_class.prepend CustomWizardContentSecurityPolicyExtension
|
::ContentSecurityPolicy::Extension.singleton_class.prepend CustomWizardContentSecurityPolicyExtension
|
||||||
|
|
||||||
full_path = "#{Rails.root}/plugins/discourse-custom-wizard/assets/stylesheets/wizard/wizard_custom.scss"
|
full_path = "#{Rails.root}/plugins/discourse-custom-wizard/assets/stylesheets/wizard/wizard_custom.scss"
|
||||||
|
|
Laden …
In neuem Issue referenzieren