1
0
Fork 0
vaultwarden-test/src/static/scripts
BlackDex 613b2519ed
Removed unsafe-inline JS from CSP and other fixes
- Removed `unsafe-inline` for javascript from CSP.
  The admin interface now uses files instead of inline javascript.
- Modified javascript to work not being inline.
- Run eslint over javascript and fixed some items.
- Added a `to_json` Handlebars helper.
  Used at the diagnostics page.
- Changed `AdminTemplateData` struct to be smaller.
  The `config` was always added, but only used at one page.
  Same goes for `can_backup` and `version`.
- Also inlined CSS.
  We can't remove the `unsafe-inline` from css, because that seems to
  break the web-vault currently. That might need some further checks.
  But for now the 404 page and all the admin pages are clear of inline scripts and styles.
2022-12-31 22:17:16 +01:00
..
404.css Removed unsafe-inline JS from CSP and other fixes 2022-12-31 22:17:16 +01:00
admin.css Removed unsafe-inline JS from CSP and other fixes 2022-12-31 22:17:16 +01:00
admin.js Removed unsafe-inline JS from CSP and other fixes 2022-12-31 22:17:16 +01:00
admin_diagnostics.js Removed unsafe-inline JS from CSP and other fixes 2022-12-31 22:17:16 +01:00
admin_organizations.js Removed unsafe-inline JS from CSP and other fixes 2022-12-31 22:17:16 +01:00
admin_settings.js Removed unsafe-inline JS from CSP and other fixes 2022-12-31 22:17:16 +01:00
admin_users.js Removed unsafe-inline JS from CSP and other fixes 2022-12-31 22:17:16 +01:00
bootstrap-native.js Updated deps and misc fixes and updates 2022-06-14 14:51:51 +02:00
bootstrap.css Removed unsafe-inline JS from CSP and other fixes 2022-12-31 22:17:16 +01:00
datatables.css Update dependencies for Rust and Admin interface. 2022-12-04 18:38:46 +01:00
datatables.js Update dependencies for Rust and Admin interface. 2022-12-04 18:38:46 +01:00
jdenticon.js Update dependencies for Rust and Admin interface. 2022-12-04 18:38:46 +01:00
jquery-3.6.2.slim.js Disable groups by default and Some optimizations 2022-12-16 14:52:42 +01:00