From 86314300182c44b08e94c9b5734c8247d062f396 Mon Sep 17 00:00:00 2001 From: "Helmut K. C. Tessarek" Date: Fri, 24 Mar 2023 16:28:12 -0400 Subject: [PATCH] add missing eol at eof (POSIX compliance) According to the POSIX standard a line is defined as follows: ``` A sequence of zero or more non- characters plus a terminating character. ``` /ref https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 --- diesel.toml | 2 +- migrations/mysql/2018-01-14-171611_create_tables/down.sql | 2 +- .../2018-05-08-161616_create_collection_cipher_map/down.sql | 2 +- .../down.sql | 2 +- .../2018-06-01-112529_update_devices_twofactor_remember/up.sql | 2 +- .../mysql/2018-07-11-181453_create_u2f_twofactor/down.sql | 2 +- migrations/mysql/2018-08-27-172114_update_ciphers/up.sql | 2 +- migrations/mysql/2018-09-10-111213_add_invites/down.sql | 2 +- .../2019-05-26-216651_rename_key_and_type_columns/down.sql | 2 +- .../mysql/2019-05-26-216651_rename_key_and_type_columns/up.sql | 2 +- .../mysql/2019-10-10-083032_add_column_to_twofactor/up.sql | 2 +- migrations/mysql/2020-12-09-173101_add_stamp_exception/up.sql | 2 +- migrations/mysql/2021-03-11-190243_add_sends/up.sql | 2 +- migrations/mysql/2022-07-27-110000_add_group_support/down.sql | 2 +- migrations/mysql/2022-07-27-110000_add_group_support/up.sql | 2 +- migrations/postgresql/2019-09-12-100000_create_tables/up.sql | 2 +- .../postgresql/2019-09-16-150000_fix_attachments/down.sql | 2 +- migrations/postgresql/2019-09-16-150000_fix_attachments/up.sql | 2 +- .../postgresql/2019-10-10-083032_add_column_to_twofactor/up.sql | 2 +- .../postgresql/2020-12-09-173101_add_stamp_exception/up.sql | 2 +- migrations/postgresql/2021-03-11-190243_add_sends/up.sql | 2 +- .../postgresql/2022-07-27-110000_add_group_support/down.sql | 2 +- .../postgresql/2022-07-27-110000_add_group_support/up.sql | 2 +- migrations/sqlite/2018-01-14-171611_create_tables/down.sql | 2 +- migrations/sqlite/2018-01-14-171611_create_tables/up.sql | 1 - .../2018-05-08-161616_create_collection_cipher_map/down.sql | 2 +- .../2018-05-08-161616_create_collection_cipher_map/up.sql | 2 +- .../2018-05-25-232323_update_attachments_reference/up.sql | 2 +- .../down.sql | 2 +- .../2018-06-01-112529_update_devices_twofactor_remember/up.sql | 2 +- .../sqlite/2018-07-11-181453_create_u2f_twofactor/down.sql | 2 +- migrations/sqlite/2018-07-11-181453_create_u2f_twofactor/up.sql | 2 +- migrations/sqlite/2018-08-27-172114_update_ciphers/up.sql | 2 +- migrations/sqlite/2018-09-10-111213_add_invites/down.sql | 2 +- migrations/sqlite/2018-09-10-111213_add_invites/up.sql | 2 +- migrations/sqlite/2018-11-27-152651_add_att_key_columns/up.sql | 2 +- .../2019-05-26-216651_rename_key_and_type_columns/down.sql | 2 +- .../sqlite/2019-05-26-216651_rename_key_and_type_columns/up.sql | 2 +- migrations/sqlite/2020-12-09-173101_add_stamp_exception/up.sql | 2 +- migrations/sqlite/2021-03-11-190243_add_sends/up.sql | 2 +- migrations/sqlite/2022-07-27-110000_add_group_support/down.sql | 2 +- migrations/sqlite/2022-07-27-110000_add_group_support/up.sql | 2 +- src/static/global_domains.json | 2 +- src/static/scripts/404.css | 2 +- src/static/scripts/admin.css | 2 +- src/static/scripts/admin.js | 2 +- src/static/scripts/admin_diagnostics.js | 2 +- src/static/scripts/admin_organizations.js | 2 +- src/static/scripts/admin_settings.js | 2 +- src/static/scripts/admin_users.js | 2 +- src/static/scripts/jdenticon.js | 2 +- src/static/templates/email/change_email.html.hbs | 2 +- src/static/templates/email/delete_account.hbs | 2 +- src/static/templates/email/delete_account.html.hbs | 2 +- src/static/templates/email/invite_accepted.hbs | 2 +- src/static/templates/email/invite_accepted.html.hbs | 2 +- src/static/templates/email/invite_confirmed.hbs | 2 +- src/static/templates/email/invite_confirmed.html.hbs | 2 +- src/static/templates/email/new_device_logged_in.hbs | 2 +- src/static/templates/email/new_device_logged_in.html.hbs | 2 +- src/static/templates/email/pw_hint_none.hbs | 2 +- src/static/templates/email/pw_hint_none.html.hbs | 2 +- src/static/templates/email/pw_hint_some.hbs | 2 +- src/static/templates/email/pw_hint_some.html.hbs | 2 +- .../templates/email/send_emergency_access_invite.html.hbs | 2 +- src/static/templates/email/send_org_invite.hbs | 2 +- src/static/templates/email/send_org_invite.html.hbs | 2 +- src/static/templates/email/smtp_test.hbs | 2 +- src/static/templates/email/smtp_test.html.hbs | 2 +- src/static/templates/email/twofactor_email.hbs | 2 +- src/static/templates/email/twofactor_email.html.hbs | 2 +- src/static/templates/email/verify_email.hbs | 2 +- src/static/templates/email/verify_email.html.hbs | 2 +- src/static/templates/email/welcome.hbs | 2 +- src/static/templates/email/welcome.html.hbs | 2 +- src/static/templates/email/welcome_must_verify.hbs | 2 +- src/static/templates/email/welcome_must_verify.html.hbs | 2 +- 77 files changed, 76 insertions(+), 77 deletions(-) diff --git a/diesel.toml b/diesel.toml index 5a78b550..71215dbf 100644 --- a/diesel.toml +++ b/diesel.toml @@ -2,4 +2,4 @@ # see diesel.rs/guides/configuring-diesel-cli [print_schema] -file = "src/db/schema.rs" \ No newline at end of file +file = "src/db/schema.rs" diff --git a/migrations/mysql/2018-01-14-171611_create_tables/down.sql b/migrations/mysql/2018-01-14-171611_create_tables/down.sql index 1025a2c0..e724f577 100644 --- a/migrations/mysql/2018-01-14-171611_create_tables/down.sql +++ b/migrations/mysql/2018-01-14-171611_create_tables/down.sql @@ -6,4 +6,4 @@ DROP TABLE ciphers; DROP TABLE attachments; -DROP TABLE folders; \ No newline at end of file +DROP TABLE folders; diff --git a/migrations/mysql/2018-05-08-161616_create_collection_cipher_map/down.sql b/migrations/mysql/2018-05-08-161616_create_collection_cipher_map/down.sql index ba973f4f..3722c2b3 100644 --- a/migrations/mysql/2018-05-08-161616_create_collection_cipher_map/down.sql +++ b/migrations/mysql/2018-05-08-161616_create_collection_cipher_map/down.sql @@ -1 +1 @@ -DROP TABLE ciphers_collections; \ No newline at end of file +DROP TABLE ciphers_collections; diff --git a/migrations/mysql/2018-06-01-112529_update_devices_twofactor_remember/down.sql b/migrations/mysql/2018-06-01-112529_update_devices_twofactor_remember/down.sql index 291a97c5..d9a93fe9 100644 --- a/migrations/mysql/2018-06-01-112529_update_devices_twofactor_remember/down.sql +++ b/migrations/mysql/2018-06-01-112529_update_devices_twofactor_remember/down.sql @@ -1 +1 @@ --- This file should undo anything in `up.sql` \ No newline at end of file +-- This file should undo anything in `up.sql` diff --git a/migrations/mysql/2018-06-01-112529_update_devices_twofactor_remember/up.sql b/migrations/mysql/2018-06-01-112529_update_devices_twofactor_remember/up.sql index aaad8eab..8bdbfd5a 100644 --- a/migrations/mysql/2018-06-01-112529_update_devices_twofactor_remember/up.sql +++ b/migrations/mysql/2018-06-01-112529_update_devices_twofactor_remember/up.sql @@ -1,3 +1,3 @@ ALTER TABLE devices ADD COLUMN - twofactor_remember TEXT; \ No newline at end of file + twofactor_remember TEXT; diff --git a/migrations/mysql/2018-07-11-181453_create_u2f_twofactor/down.sql b/migrations/mysql/2018-07-11-181453_create_u2f_twofactor/down.sql index 84b6ee63..49f5054f 100644 --- a/migrations/mysql/2018-07-11-181453_create_u2f_twofactor/down.sql +++ b/migrations/mysql/2018-07-11-181453_create_u2f_twofactor/down.sql @@ -5,4 +5,4 @@ SET totp_secret = ( AND twofactor.user_uuid = users.uuid ); -DROP TABLE twofactor; \ No newline at end of file +DROP TABLE twofactor; diff --git a/migrations/mysql/2018-08-27-172114_update_ciphers/up.sql b/migrations/mysql/2018-08-27-172114_update_ciphers/up.sql index 624efd66..01fab2fa 100644 --- a/migrations/mysql/2018-08-27-172114_update_ciphers/up.sql +++ b/migrations/mysql/2018-08-27-172114_update_ciphers/up.sql @@ -1,3 +1,3 @@ ALTER TABLE ciphers ADD COLUMN - password_history TEXT; \ No newline at end of file + password_history TEXT; diff --git a/migrations/mysql/2018-09-10-111213_add_invites/down.sql b/migrations/mysql/2018-09-10-111213_add_invites/down.sql index af3776cf..00c41bd0 100644 --- a/migrations/mysql/2018-09-10-111213_add_invites/down.sql +++ b/migrations/mysql/2018-09-10-111213_add_invites/down.sql @@ -1 +1 @@ -DROP TABLE invitations; \ No newline at end of file +DROP TABLE invitations; diff --git a/migrations/mysql/2019-05-26-216651_rename_key_and_type_columns/down.sql b/migrations/mysql/2019-05-26-216651_rename_key_and_type_columns/down.sql index 8a87d193..aafb62dd 100644 --- a/migrations/mysql/2019-05-26-216651_rename_key_and_type_columns/down.sql +++ b/migrations/mysql/2019-05-26-216651_rename_key_and_type_columns/down.sql @@ -4,4 +4,4 @@ ALTER TABLE devices CHANGE COLUMN atype type INTEGER NOT NULL; ALTER TABLE twofactor CHANGE COLUMN atype type INTEGER NOT NULL; ALTER TABLE users CHANGE COLUMN akey `key` TEXT; ALTER TABLE users_organizations CHANGE COLUMN akey `key` TEXT; -ALTER TABLE users_organizations CHANGE COLUMN atype type INTEGER NOT NULL; \ No newline at end of file +ALTER TABLE users_organizations CHANGE COLUMN atype type INTEGER NOT NULL; diff --git a/migrations/mysql/2019-05-26-216651_rename_key_and_type_columns/up.sql b/migrations/mysql/2019-05-26-216651_rename_key_and_type_columns/up.sql index cee0351e..7600e190 100644 --- a/migrations/mysql/2019-05-26-216651_rename_key_and_type_columns/up.sql +++ b/migrations/mysql/2019-05-26-216651_rename_key_and_type_columns/up.sql @@ -4,4 +4,4 @@ ALTER TABLE devices CHANGE COLUMN type atype INTEGER NOT NULL; ALTER TABLE twofactor CHANGE COLUMN type atype INTEGER NOT NULL; ALTER TABLE users CHANGE COLUMN `key` akey TEXT; ALTER TABLE users_organizations CHANGE COLUMN `key` akey TEXT; -ALTER TABLE users_organizations CHANGE COLUMN type atype INTEGER NOT NULL; \ No newline at end of file +ALTER TABLE users_organizations CHANGE COLUMN type atype INTEGER NOT NULL; diff --git a/migrations/mysql/2019-10-10-083032_add_column_to_twofactor/up.sql b/migrations/mysql/2019-10-10-083032_add_column_to_twofactor/up.sql index cfcd6ca2..14d3c683 100644 --- a/migrations/mysql/2019-10-10-083032_add_column_to_twofactor/up.sql +++ b/migrations/mysql/2019-10-10-083032_add_column_to_twofactor/up.sql @@ -1 +1 @@ -ALTER TABLE twofactor ADD COLUMN last_used INTEGER NOT NULL DEFAULT 0; \ No newline at end of file +ALTER TABLE twofactor ADD COLUMN last_used INTEGER NOT NULL DEFAULT 0; diff --git a/migrations/mysql/2020-12-09-173101_add_stamp_exception/up.sql b/migrations/mysql/2020-12-09-173101_add_stamp_exception/up.sql index bcad3922..9efc4091 100644 --- a/migrations/mysql/2020-12-09-173101_add_stamp_exception/up.sql +++ b/migrations/mysql/2020-12-09-173101_add_stamp_exception/up.sql @@ -1 +1 @@ -ALTER TABLE users ADD COLUMN stamp_exception TEXT DEFAULT NULL; \ No newline at end of file +ALTER TABLE users ADD COLUMN stamp_exception TEXT DEFAULT NULL; diff --git a/migrations/mysql/2021-03-11-190243_add_sends/up.sql b/migrations/mysql/2021-03-11-190243_add_sends/up.sql index 65b818a4..f2690986 100644 --- a/migrations/mysql/2021-03-11-190243_add_sends/up.sql +++ b/migrations/mysql/2021-03-11-190243_add_sends/up.sql @@ -22,4 +22,4 @@ CREATE TABLE sends ( deletion_date DATETIME NOT NULL, disabled BOOLEAN NOT NULL -); \ No newline at end of file +); diff --git a/migrations/mysql/2022-07-27-110000_add_group_support/down.sql b/migrations/mysql/2022-07-27-110000_add_group_support/down.sql index 0ec5c501..9b30680f 100644 --- a/migrations/mysql/2022-07-27-110000_add_group_support/down.sql +++ b/migrations/mysql/2022-07-27-110000_add_group_support/down.sql @@ -1,3 +1,3 @@ DROP TABLE `groups`; DROP TABLE groups_users; -DROP TABLE collections_groups; \ No newline at end of file +DROP TABLE collections_groups; diff --git a/migrations/mysql/2022-07-27-110000_add_group_support/up.sql b/migrations/mysql/2022-07-27-110000_add_group_support/up.sql index 6d40638a..3dde2e09 100644 --- a/migrations/mysql/2022-07-27-110000_add_group_support/up.sql +++ b/migrations/mysql/2022-07-27-110000_add_group_support/up.sql @@ -20,4 +20,4 @@ CREATE TABLE collections_groups ( read_only BOOLEAN NOT NULL, hide_passwords BOOLEAN NOT NULL, UNIQUE (collections_uuid, groups_uuid) -); \ No newline at end of file +); diff --git a/migrations/postgresql/2019-09-12-100000_create_tables/up.sql b/migrations/postgresql/2019-09-12-100000_create_tables/up.sql index c747e9aa..d66435b2 100644 --- a/migrations/postgresql/2019-09-12-100000_create_tables/up.sql +++ b/migrations/postgresql/2019-09-12-100000_create_tables/up.sql @@ -118,4 +118,4 @@ CREATE TABLE twofactor ( CREATE TABLE invitations ( email VARCHAR(255) NOT NULL PRIMARY KEY -); \ No newline at end of file +); diff --git a/migrations/postgresql/2019-09-16-150000_fix_attachments/down.sql b/migrations/postgresql/2019-09-16-150000_fix_attachments/down.sql index f26824d1..84cabf79 100644 --- a/migrations/postgresql/2019-09-16-150000_fix_attachments/down.sql +++ b/migrations/postgresql/2019-09-16-150000_fix_attachments/down.sql @@ -23,4 +23,4 @@ ALTER TABLE ciphers_collections ALTER COLUMN cipher_uuid TYPE CHAR(36); ALTER TABLE ciphers_collections ALTER COLUMN collection_uuid TYPE CHAR(36); ALTER TABLE twofactor ALTER COLUMN uuid TYPE CHAR(36); ALTER TABLE twofactor ALTER COLUMN user_uuid TYPE CHAR(36); -ALTER TABLE invitations ALTER COLUMN email TYPE VARCHAR(255); \ No newline at end of file +ALTER TABLE invitations ALTER COLUMN email TYPE VARCHAR(255); diff --git a/migrations/postgresql/2019-09-16-150000_fix_attachments/up.sql b/migrations/postgresql/2019-09-16-150000_fix_attachments/up.sql index 388f2915..7548c732 100644 --- a/migrations/postgresql/2019-09-16-150000_fix_attachments/up.sql +++ b/migrations/postgresql/2019-09-16-150000_fix_attachments/up.sql @@ -24,4 +24,4 @@ ALTER TABLE ciphers_collections ALTER COLUMN cipher_uuid TYPE VARCHAR(40); ALTER TABLE ciphers_collections ALTER COLUMN collection_uuid TYPE VARCHAR(40); ALTER TABLE twofactor ALTER COLUMN uuid TYPE VARCHAR(40); ALTER TABLE twofactor ALTER COLUMN user_uuid TYPE VARCHAR(40); -ALTER TABLE invitations ALTER COLUMN email TYPE TEXT; \ No newline at end of file +ALTER TABLE invitations ALTER COLUMN email TYPE TEXT; diff --git a/migrations/postgresql/2019-10-10-083032_add_column_to_twofactor/up.sql b/migrations/postgresql/2019-10-10-083032_add_column_to_twofactor/up.sql index cfcd6ca2..14d3c683 100644 --- a/migrations/postgresql/2019-10-10-083032_add_column_to_twofactor/up.sql +++ b/migrations/postgresql/2019-10-10-083032_add_column_to_twofactor/up.sql @@ -1 +1 @@ -ALTER TABLE twofactor ADD COLUMN last_used INTEGER NOT NULL DEFAULT 0; \ No newline at end of file +ALTER TABLE twofactor ADD COLUMN last_used INTEGER NOT NULL DEFAULT 0; diff --git a/migrations/postgresql/2020-12-09-173101_add_stamp_exception/up.sql b/migrations/postgresql/2020-12-09-173101_add_stamp_exception/up.sql index bcad3922..9efc4091 100644 --- a/migrations/postgresql/2020-12-09-173101_add_stamp_exception/up.sql +++ b/migrations/postgresql/2020-12-09-173101_add_stamp_exception/up.sql @@ -1 +1 @@ -ALTER TABLE users ADD COLUMN stamp_exception TEXT DEFAULT NULL; \ No newline at end of file +ALTER TABLE users ADD COLUMN stamp_exception TEXT DEFAULT NULL; diff --git a/migrations/postgresql/2021-03-11-190243_add_sends/up.sql b/migrations/postgresql/2021-03-11-190243_add_sends/up.sql index c57ca93b..03e81558 100644 --- a/migrations/postgresql/2021-03-11-190243_add_sends/up.sql +++ b/migrations/postgresql/2021-03-11-190243_add_sends/up.sql @@ -22,4 +22,4 @@ CREATE TABLE sends ( deletion_date TIMESTAMP NOT NULL, disabled BOOLEAN NOT NULL -); \ No newline at end of file +); diff --git a/migrations/postgresql/2022-07-27-110000_add_group_support/down.sql b/migrations/postgresql/2022-07-27-110000_add_group_support/down.sql index 9a12d694..b1fa9ea5 100644 --- a/migrations/postgresql/2022-07-27-110000_add_group_support/down.sql +++ b/migrations/postgresql/2022-07-27-110000_add_group_support/down.sql @@ -1,3 +1,3 @@ DROP TABLE groups; DROP TABLE groups_users; -DROP TABLE collections_groups; \ No newline at end of file +DROP TABLE collections_groups; diff --git a/migrations/postgresql/2022-07-27-110000_add_group_support/up.sql b/migrations/postgresql/2022-07-27-110000_add_group_support/up.sql index 5eed1df3..1c55140d 100644 --- a/migrations/postgresql/2022-07-27-110000_add_group_support/up.sql +++ b/migrations/postgresql/2022-07-27-110000_add_group_support/up.sql @@ -20,4 +20,4 @@ CREATE TABLE collections_groups ( read_only BOOLEAN NOT NULL, hide_passwords BOOLEAN NOT NULL, PRIMARY KEY (collections_uuid, groups_uuid) -); \ No newline at end of file +); diff --git a/migrations/sqlite/2018-01-14-171611_create_tables/down.sql b/migrations/sqlite/2018-01-14-171611_create_tables/down.sql index 1025a2c0..e724f577 100644 --- a/migrations/sqlite/2018-01-14-171611_create_tables/down.sql +++ b/migrations/sqlite/2018-01-14-171611_create_tables/down.sql @@ -6,4 +6,4 @@ DROP TABLE ciphers; DROP TABLE attachments; -DROP TABLE folders; \ No newline at end of file +DROP TABLE folders; diff --git a/migrations/sqlite/2018-01-14-171611_create_tables/up.sql b/migrations/sqlite/2018-01-14-171611_create_tables/up.sql index 263ed8f3..1f5c9f57 100644 --- a/migrations/sqlite/2018-01-14-171611_create_tables/up.sql +++ b/migrations/sqlite/2018-01-14-171611_create_tables/up.sql @@ -59,4 +59,3 @@ CREATE TABLE folders ( user_uuid TEXT NOT NULL REFERENCES users (uuid), name TEXT NOT NULL ); - \ No newline at end of file diff --git a/migrations/sqlite/2018-05-08-161616_create_collection_cipher_map/down.sql b/migrations/sqlite/2018-05-08-161616_create_collection_cipher_map/down.sql index ba973f4f..3722c2b3 100644 --- a/migrations/sqlite/2018-05-08-161616_create_collection_cipher_map/down.sql +++ b/migrations/sqlite/2018-05-08-161616_create_collection_cipher_map/down.sql @@ -1 +1 @@ -DROP TABLE ciphers_collections; \ No newline at end of file +DROP TABLE ciphers_collections; diff --git a/migrations/sqlite/2018-05-08-161616_create_collection_cipher_map/up.sql b/migrations/sqlite/2018-05-08-161616_create_collection_cipher_map/up.sql index 9fdd7066..127cdd0d 100644 --- a/migrations/sqlite/2018-05-08-161616_create_collection_cipher_map/up.sql +++ b/migrations/sqlite/2018-05-08-161616_create_collection_cipher_map/up.sql @@ -2,4 +2,4 @@ CREATE TABLE ciphers_collections ( cipher_uuid TEXT NOT NULL REFERENCES ciphers (uuid), collection_uuid TEXT NOT NULL REFERENCES collections (uuid), PRIMARY KEY (cipher_uuid, collection_uuid) -); \ No newline at end of file +); diff --git a/migrations/sqlite/2018-05-25-232323_update_attachments_reference/up.sql b/migrations/sqlite/2018-05-25-232323_update_attachments_reference/up.sql index b7adb77e..b208ac00 100644 --- a/migrations/sqlite/2018-05-25-232323_update_attachments_reference/up.sql +++ b/migrations/sqlite/2018-05-25-232323_update_attachments_reference/up.sql @@ -11,4 +11,4 @@ CREATE TABLE attachments ( INSERT INTO attachments (id, cipher_uuid, file_name, file_size) SELECT id, cipher_uuid, file_name, file_size FROM oldAttachments; -DROP TABLE oldAttachments; \ No newline at end of file +DROP TABLE oldAttachments; diff --git a/migrations/sqlite/2018-06-01-112529_update_devices_twofactor_remember/down.sql b/migrations/sqlite/2018-06-01-112529_update_devices_twofactor_remember/down.sql index 291a97c5..d9a93fe9 100644 --- a/migrations/sqlite/2018-06-01-112529_update_devices_twofactor_remember/down.sql +++ b/migrations/sqlite/2018-06-01-112529_update_devices_twofactor_remember/down.sql @@ -1 +1 @@ --- This file should undo anything in `up.sql` \ No newline at end of file +-- This file should undo anything in `up.sql` diff --git a/migrations/sqlite/2018-06-01-112529_update_devices_twofactor_remember/up.sql b/migrations/sqlite/2018-06-01-112529_update_devices_twofactor_remember/up.sql index aaad8eab..8bdbfd5a 100644 --- a/migrations/sqlite/2018-06-01-112529_update_devices_twofactor_remember/up.sql +++ b/migrations/sqlite/2018-06-01-112529_update_devices_twofactor_remember/up.sql @@ -1,3 +1,3 @@ ALTER TABLE devices ADD COLUMN - twofactor_remember TEXT; \ No newline at end of file + twofactor_remember TEXT; diff --git a/migrations/sqlite/2018-07-11-181453_create_u2f_twofactor/down.sql b/migrations/sqlite/2018-07-11-181453_create_u2f_twofactor/down.sql index 84b6ee63..49f5054f 100644 --- a/migrations/sqlite/2018-07-11-181453_create_u2f_twofactor/down.sql +++ b/migrations/sqlite/2018-07-11-181453_create_u2f_twofactor/down.sql @@ -5,4 +5,4 @@ SET totp_secret = ( AND twofactor.user_uuid = users.uuid ); -DROP TABLE twofactor; \ No newline at end of file +DROP TABLE twofactor; diff --git a/migrations/sqlite/2018-07-11-181453_create_u2f_twofactor/up.sql b/migrations/sqlite/2018-07-11-181453_create_u2f_twofactor/up.sql index 3e78e721..e006b58b 100644 --- a/migrations/sqlite/2018-07-11-181453_create_u2f_twofactor/up.sql +++ b/migrations/sqlite/2018-07-11-181453_create_u2f_twofactor/up.sql @@ -12,4 +12,4 @@ CREATE TABLE twofactor ( INSERT INTO twofactor (uuid, user_uuid, type, enabled, data) SELECT lower(hex(randomblob(16))) , uuid, 0, 1, u.totp_secret FROM users u where u.totp_secret IS NOT NULL; -UPDATE users SET totp_secret = NULL; -- Instead of recreating the table, just leave the columns empty \ No newline at end of file +UPDATE users SET totp_secret = NULL; -- Instead of recreating the table, just leave the columns empty diff --git a/migrations/sqlite/2018-08-27-172114_update_ciphers/up.sql b/migrations/sqlite/2018-08-27-172114_update_ciphers/up.sql index 624efd66..01fab2fa 100644 --- a/migrations/sqlite/2018-08-27-172114_update_ciphers/up.sql +++ b/migrations/sqlite/2018-08-27-172114_update_ciphers/up.sql @@ -1,3 +1,3 @@ ALTER TABLE ciphers ADD COLUMN - password_history TEXT; \ No newline at end of file + password_history TEXT; diff --git a/migrations/sqlite/2018-09-10-111213_add_invites/down.sql b/migrations/sqlite/2018-09-10-111213_add_invites/down.sql index af3776cf..00c41bd0 100644 --- a/migrations/sqlite/2018-09-10-111213_add_invites/down.sql +++ b/migrations/sqlite/2018-09-10-111213_add_invites/down.sql @@ -1 +1 @@ -DROP TABLE invitations; \ No newline at end of file +DROP TABLE invitations; diff --git a/migrations/sqlite/2018-09-10-111213_add_invites/up.sql b/migrations/sqlite/2018-09-10-111213_add_invites/up.sql index b42e9a2a..e17bddfc 100644 --- a/migrations/sqlite/2018-09-10-111213_add_invites/up.sql +++ b/migrations/sqlite/2018-09-10-111213_add_invites/up.sql @@ -1,3 +1,3 @@ CREATE TABLE invitations ( email TEXT NOT NULL PRIMARY KEY -); \ No newline at end of file +); diff --git a/migrations/sqlite/2018-11-27-152651_add_att_key_columns/up.sql b/migrations/sqlite/2018-11-27-152651_add_att_key_columns/up.sql index 4a73a8c9..ca0d322e 100644 --- a/migrations/sqlite/2018-11-27-152651_add_att_key_columns/up.sql +++ b/migrations/sqlite/2018-11-27-152651_add_att_key_columns/up.sql @@ -1,3 +1,3 @@ ALTER TABLE attachments ADD COLUMN - key TEXT; \ No newline at end of file + key TEXT; diff --git a/migrations/sqlite/2019-05-26-216651_rename_key_and_type_columns/down.sql b/migrations/sqlite/2019-05-26-216651_rename_key_and_type_columns/down.sql index 4e6902aa..1b8c0577 100644 --- a/migrations/sqlite/2019-05-26-216651_rename_key_and_type_columns/down.sql +++ b/migrations/sqlite/2019-05-26-216651_rename_key_and_type_columns/down.sql @@ -4,4 +4,4 @@ ALTER TABLE devices RENAME COLUMN atype TO type; ALTER TABLE twofactor RENAME COLUMN atype TO type; ALTER TABLE users RENAME COLUMN akey TO key; ALTER TABLE users_organizations RENAME COLUMN akey TO key; -ALTER TABLE users_organizations RENAME COLUMN atype TO type; \ No newline at end of file +ALTER TABLE users_organizations RENAME COLUMN atype TO type; diff --git a/migrations/sqlite/2019-05-26-216651_rename_key_and_type_columns/up.sql b/migrations/sqlite/2019-05-26-216651_rename_key_and_type_columns/up.sql index ab2c5b52..9b8dbeaa 100644 --- a/migrations/sqlite/2019-05-26-216651_rename_key_and_type_columns/up.sql +++ b/migrations/sqlite/2019-05-26-216651_rename_key_and_type_columns/up.sql @@ -4,4 +4,4 @@ ALTER TABLE devices RENAME COLUMN type TO atype; ALTER TABLE twofactor RENAME COLUMN type TO atype; ALTER TABLE users RENAME COLUMN key TO akey; ALTER TABLE users_organizations RENAME COLUMN key TO akey; -ALTER TABLE users_organizations RENAME COLUMN type TO atype; \ No newline at end of file +ALTER TABLE users_organizations RENAME COLUMN type TO atype; diff --git a/migrations/sqlite/2020-12-09-173101_add_stamp_exception/up.sql b/migrations/sqlite/2020-12-09-173101_add_stamp_exception/up.sql index bcad3922..9efc4091 100644 --- a/migrations/sqlite/2020-12-09-173101_add_stamp_exception/up.sql +++ b/migrations/sqlite/2020-12-09-173101_add_stamp_exception/up.sql @@ -1 +1 @@ -ALTER TABLE users ADD COLUMN stamp_exception TEXT DEFAULT NULL; \ No newline at end of file +ALTER TABLE users ADD COLUMN stamp_exception TEXT DEFAULT NULL; diff --git a/migrations/sqlite/2021-03-11-190243_add_sends/up.sql b/migrations/sqlite/2021-03-11-190243_add_sends/up.sql index 0c1e17ba..ad859360 100644 --- a/migrations/sqlite/2021-03-11-190243_add_sends/up.sql +++ b/migrations/sqlite/2021-03-11-190243_add_sends/up.sql @@ -22,4 +22,4 @@ CREATE TABLE sends ( deletion_date DATETIME NOT NULL, disabled BOOLEAN NOT NULL -); \ No newline at end of file +); diff --git a/migrations/sqlite/2022-07-27-110000_add_group_support/down.sql b/migrations/sqlite/2022-07-27-110000_add_group_support/down.sql index 9a12d694..b1fa9ea5 100644 --- a/migrations/sqlite/2022-07-27-110000_add_group_support/down.sql +++ b/migrations/sqlite/2022-07-27-110000_add_group_support/down.sql @@ -1,3 +1,3 @@ DROP TABLE groups; DROP TABLE groups_users; -DROP TABLE collections_groups; \ No newline at end of file +DROP TABLE collections_groups; diff --git a/migrations/sqlite/2022-07-27-110000_add_group_support/up.sql b/migrations/sqlite/2022-07-27-110000_add_group_support/up.sql index 0523c760..3312657a 100644 --- a/migrations/sqlite/2022-07-27-110000_add_group_support/up.sql +++ b/migrations/sqlite/2022-07-27-110000_add_group_support/up.sql @@ -20,4 +20,4 @@ CREATE TABLE collections_groups ( read_only BOOLEAN NOT NULL, hide_passwords BOOLEAN NOT NULL, UNIQUE (collections_uuid, groups_uuid) -); \ No newline at end of file +); diff --git a/src/static/global_domains.json b/src/static/global_domains.json index 1c9ed272..d28a99c0 100644 --- a/src/static/global_domains.json +++ b/src/static/global_domains.json @@ -953,4 +953,4 @@ ], "Excluded": false } -] \ No newline at end of file +] diff --git a/src/static/scripts/404.css b/src/static/scripts/404.css index c1024d2b..b1740c11 100644 --- a/src/static/scripts/404.css +++ b/src/static/scripts/404.css @@ -23,4 +23,4 @@ body { } .vw-404 { max-width: 500px; width: 100%; -} \ No newline at end of file +} diff --git a/src/static/scripts/admin.css b/src/static/scripts/admin.css index d700af3c..39572eea 100644 --- a/src/static/scripts/admin.css +++ b/src/static/scripts/admin.css @@ -53,4 +53,4 @@ img { } .vw-copy-toast { width: 15rem; -} \ No newline at end of file +} diff --git a/src/static/scripts/admin.js b/src/static/scripts/admin.js index 7408c955..50a05559 100644 --- a/src/static/scripts/admin.js +++ b/src/static/scripts/admin.js @@ -74,4 +74,4 @@ document.addEventListener("DOMContentLoaded", (/*event*/) => { navItem[0].className = navItem[0].className + " active"; navItem[0].setAttribute("aria-current", "page"); } -}); \ No newline at end of file +}); diff --git a/src/static/scripts/admin_diagnostics.js b/src/static/scripts/admin_diagnostics.js index 5fbed2da..111569e7 100644 --- a/src/static/scripts/admin_diagnostics.js +++ b/src/static/scripts/admin_diagnostics.js @@ -238,4 +238,4 @@ document.addEventListener("DOMContentLoaded", (event) => { if (btnCopySupport) { btnCopySupport.addEventListener("click", copyToClipboard); } -}); \ No newline at end of file +}); diff --git a/src/static/scripts/admin_organizations.js b/src/static/scripts/admin_organizations.js index c885344e..bff1566c 100644 --- a/src/static/scripts/admin_organizations.js +++ b/src/static/scripts/admin_organizations.js @@ -67,4 +67,4 @@ document.addEventListener("DOMContentLoaded", (/*event*/) => { if (btnReload) { btnReload.addEventListener("click", reload); } -}); \ No newline at end of file +}); diff --git a/src/static/scripts/admin_settings.js b/src/static/scripts/admin_settings.js index 06f15e0a..faa29ce3 100644 --- a/src/static/scripts/admin_settings.js +++ b/src/static/scripts/admin_settings.js @@ -229,4 +229,4 @@ document.addEventListener("DOMContentLoaded", (/*event*/) => { config_form.addEventListener("submit", saveConfig); showWarnings(); -}); \ No newline at end of file +}); diff --git a/src/static/scripts/admin_users.js b/src/static/scripts/admin_users.js index 444bc77c..0f6e26c6 100644 --- a/src/static/scripts/admin_users.js +++ b/src/static/scripts/admin_users.js @@ -276,4 +276,4 @@ document.addEventListener("DOMContentLoaded", (/*event*/) => { if (btnInviteUserForm) { btnInviteUserForm.addEventListener("submit", inviteUser); } -}); \ No newline at end of file +}); diff --git a/src/static/scripts/jdenticon.js b/src/static/scripts/jdenticon.js index 1144d379..2dafd359 100644 --- a/src/static/scripts/jdenticon.js +++ b/src/static/scripts/jdenticon.js @@ -1459,4 +1459,4 @@ if (typeof setTimeout === "function") { return jdenticon; -}); \ No newline at end of file +}); diff --git a/src/static/templates/email/change_email.html.hbs b/src/static/templates/email/change_email.html.hbs index aecf8859..9594c877 100644 --- a/src/static/templates/email/change_email.html.hbs +++ b/src/static/templates/email/change_email.html.hbs @@ -13,4 +13,4 @@ Your Email Change -{{> email/email_footer }} \ No newline at end of file +{{> email/email_footer }} diff --git a/src/static/templates/email/delete_account.hbs b/src/static/templates/email/delete_account.hbs index 56ef5c7d..6a711a65 100644 --- a/src/static/templates/email/delete_account.hbs +++ b/src/static/templates/email/delete_account.hbs @@ -5,4 +5,4 @@ Click the link below to delete your account. Delete Your Account: {{url}}/#/verify-recover-delete?userId={{user_id}}&token={{token}}&email={{email}} If you did not request this email to delete your account, you can safely ignore this email. -{{> email/email_footer_text }} \ No newline at end of file +{{> email/email_footer_text }} diff --git a/src/static/templates/email/delete_account.html.hbs b/src/static/templates/email/delete_account.html.hbs index a129ce59..1351880e 100644 --- a/src/static/templates/email/delete_account.html.hbs +++ b/src/static/templates/email/delete_account.html.hbs @@ -21,4 +21,4 @@ Delete Your Account -{{> email/email_footer }} \ No newline at end of file +{{> email/email_footer }} diff --git a/src/static/templates/email/invite_accepted.hbs b/src/static/templates/email/invite_accepted.hbs index e2148577..a9a502f3 100644 --- a/src/static/templates/email/invite_accepted.hbs +++ b/src/static/templates/email/invite_accepted.hbs @@ -2,4 +2,4 @@ Invitation to {{{org_name}}} accepted Your invitation for *{{email}}* to join *{{org_name}}* was accepted. Please log in via {{url}} to the vaultwarden server and confirm them from the organization management page. -{{> email/email_footer_text }} \ No newline at end of file +{{> email/email_footer_text }} diff --git a/src/static/templates/email/invite_accepted.html.hbs b/src/static/templates/email/invite_accepted.html.hbs index c02fd3ac..73fbeed1 100644 --- a/src/static/templates/email/invite_accepted.html.hbs +++ b/src/static/templates/email/invite_accepted.html.hbs @@ -18,4 +18,4 @@ Invitation to {{{org_name}}} accepted -{{> email/email_footer }} \ No newline at end of file +{{> email/email_footer }} diff --git a/src/static/templates/email/invite_confirmed.hbs b/src/static/templates/email/invite_confirmed.hbs index c7ea4f9a..19791ef5 100644 --- a/src/static/templates/email/invite_confirmed.hbs +++ b/src/static/templates/email/invite_confirmed.hbs @@ -2,4 +2,4 @@ Invitation to {{{org_name}}} confirmed Your invitation to join *{{org_name}}* was confirmed. It will now appear under the Organizations the next time you log in to the web vault at {{url}}. -{{> email/email_footer_text }} \ No newline at end of file +{{> email/email_footer_text }} diff --git a/src/static/templates/email/invite_confirmed.html.hbs b/src/static/templates/email/invite_confirmed.html.hbs index d6edb9f9..e6a3adbb 100644 --- a/src/static/templates/email/invite_confirmed.html.hbs +++ b/src/static/templates/email/invite_confirmed.html.hbs @@ -14,4 +14,4 @@ Invitation to {{{org_name}}} confirmed -{{> email/email_footer }} \ No newline at end of file +{{> email/email_footer }} diff --git a/src/static/templates/email/new_device_logged_in.hbs b/src/static/templates/email/new_device_logged_in.hbs index 9734dcbe..28293e66 100644 --- a/src/static/templates/email/new_device_logged_in.hbs +++ b/src/static/templates/email/new_device_logged_in.hbs @@ -7,4 +7,4 @@ Your account was just logged into from a new device. * Device Type: {{device}} You can deauthorize all devices that have access to your account from the web vault ( {{url}} ) under Settings > My Account > Deauthorize Sessions. -{{> email/email_footer_text }} \ No newline at end of file +{{> email/email_footer_text }} diff --git a/src/static/templates/email/new_device_logged_in.html.hbs b/src/static/templates/email/new_device_logged_in.html.hbs index 4b8340eb..9193032b 100644 --- a/src/static/templates/email/new_device_logged_in.html.hbs +++ b/src/static/templates/email/new_device_logged_in.html.hbs @@ -28,4 +28,4 @@ New Device Logged In From {{{device}}} -{{> email/email_footer }} \ No newline at end of file +{{> email/email_footer }} diff --git a/src/static/templates/email/pw_hint_none.hbs b/src/static/templates/email/pw_hint_none.hbs index 88c7465e..1b589616 100644 --- a/src/static/templates/email/pw_hint_none.hbs +++ b/src/static/templates/email/pw_hint_none.hbs @@ -5,4 +5,4 @@ You (or someone) recently requested your master password hint. Unfortunately, yo If you cannot remember your master password, there is no way to recover your data. The only option to gain access to your account again is to delete the account ( {{url}}/#/recover-delete ) so that you can register again and start over. All data associated with your account will be deleted. If you did not request your master password hint you can safely ignore this email. -{{> email/email_footer_text }} \ No newline at end of file +{{> email/email_footer_text }} diff --git a/src/static/templates/email/pw_hint_none.html.hbs b/src/static/templates/email/pw_hint_none.html.hbs index f9f7b853..d5949688 100644 --- a/src/static/templates/email/pw_hint_none.html.hbs +++ b/src/static/templates/email/pw_hint_none.html.hbs @@ -18,4 +18,4 @@ Sorry, you have no password hint... -{{> email/email_footer }} \ No newline at end of file +{{> email/email_footer }} diff --git a/src/static/templates/email/pw_hint_some.hbs b/src/static/templates/email/pw_hint_some.hbs index 514d43c7..3b5491e0 100644 --- a/src/static/templates/email/pw_hint_some.hbs +++ b/src/static/templates/email/pw_hint_some.hbs @@ -8,4 +8,4 @@ Log in to the web vault: {{url}} If you cannot remember your master password, there is no way to recover your data. The only option to gain access to your account again is to delete the account ( {{url}}/#/recover-delete ) so that you can register again and start over. All data associated with your account will be deleted. If you did not request your master password hint you can safely ignore this email. -{{> email/email_footer_text }} \ No newline at end of file +{{> email/email_footer_text }} diff --git a/src/static/templates/email/pw_hint_some.html.hbs b/src/static/templates/email/pw_hint_some.html.hbs index 095b7aae..2b485fbd 100644 --- a/src/static/templates/email/pw_hint_some.html.hbs +++ b/src/static/templates/email/pw_hint_some.html.hbs @@ -24,4 +24,4 @@ Your master password hint -{{> email/email_footer }} \ No newline at end of file +{{> email/email_footer }} diff --git a/src/static/templates/email/send_emergency_access_invite.html.hbs b/src/static/templates/email/send_emergency_access_invite.html.hbs index fd1c0400..fa99be20 100644 --- a/src/static/templates/email/send_emergency_access_invite.html.hbs +++ b/src/static/templates/email/send_emergency_access_invite.html.hbs @@ -21,4 +21,4 @@ Emergency access for {{{grantor_name}}} -{{> email/email_footer }} \ No newline at end of file +{{> email/email_footer }} diff --git a/src/static/templates/email/send_org_invite.hbs b/src/static/templates/email/send_org_invite.hbs index be94d0e5..c4535b73 100644 --- a/src/static/templates/email/send_org_invite.hbs +++ b/src/static/templates/email/send_org_invite.hbs @@ -7,4 +7,4 @@ Click here to join: {{url}}/#/accept-organization/?organizationId={{org_id}}&org If you do not wish to join this organization, you can safely ignore this email. -{{> email/email_footer_text }} \ No newline at end of file +{{> email/email_footer_text }} diff --git a/src/static/templates/email/send_org_invite.html.hbs b/src/static/templates/email/send_org_invite.html.hbs index 55b98145..5f4fd537 100644 --- a/src/static/templates/email/send_org_invite.html.hbs +++ b/src/static/templates/email/send_org_invite.html.hbs @@ -21,4 +21,4 @@ Join {{{org_name}}} -{{> email/email_footer }} \ No newline at end of file +{{> email/email_footer }} diff --git a/src/static/templates/email/smtp_test.hbs b/src/static/templates/email/smtp_test.hbs index f177b092..3257e99c 100644 --- a/src/static/templates/email/smtp_test.hbs +++ b/src/static/templates/email/smtp_test.hbs @@ -3,4 +3,4 @@ Vaultwarden SMTP Test This is a test email to verify the SMTP configuration for {{url}}. When you can read this email it is probably configured correctly. -{{> email/email_footer_text }} \ No newline at end of file +{{> email/email_footer_text }} diff --git a/src/static/templates/email/smtp_test.html.hbs b/src/static/templates/email/smtp_test.html.hbs index 36653f5d..8998684a 100644 --- a/src/static/templates/email/smtp_test.html.hbs +++ b/src/static/templates/email/smtp_test.html.hbs @@ -13,4 +13,4 @@ Vaultwarden SMTP Test -{{> email/email_footer }} \ No newline at end of file +{{> email/email_footer }} diff --git a/src/static/templates/email/twofactor_email.hbs b/src/static/templates/email/twofactor_email.hbs index ae24df6a..d06a4d58 100644 --- a/src/static/templates/email/twofactor_email.hbs +++ b/src/static/templates/email/twofactor_email.hbs @@ -3,4 +3,4 @@ Your Two-step Login Verification Code Your two-step verification code is: {{token}} Use this code to complete logging in with Vaultwarden. -{{> email/email_footer_text }} \ No newline at end of file +{{> email/email_footer_text }} diff --git a/src/static/templates/email/twofactor_email.html.hbs b/src/static/templates/email/twofactor_email.html.hbs index fb21dc69..317ff122 100644 --- a/src/static/templates/email/twofactor_email.html.hbs +++ b/src/static/templates/email/twofactor_email.html.hbs @@ -13,4 +13,4 @@ Your Two-step Login Verification Code -{{> email/email_footer }} \ No newline at end of file +{{> email/email_footer }} diff --git a/src/static/templates/email/verify_email.hbs b/src/static/templates/email/verify_email.hbs index 5c8dd557..296255ab 100644 --- a/src/static/templates/email/verify_email.hbs +++ b/src/static/templates/email/verify_email.hbs @@ -5,4 +5,4 @@ Verify this email address for your account by clicking the link below. Verify Email Address Now: {{url}}/#/verify-email/?userId={{user_id}}&token={{token}} If you did not request to verify your account, you can safely ignore this email. -{{> email/email_footer_text }} \ No newline at end of file +{{> email/email_footer_text }} diff --git a/src/static/templates/email/verify_email.html.hbs b/src/static/templates/email/verify_email.html.hbs index c37cf36d..8aaf7b42 100644 --- a/src/static/templates/email/verify_email.html.hbs +++ b/src/static/templates/email/verify_email.html.hbs @@ -21,4 +21,4 @@ Verify Your Email -{{> email/email_footer }} \ No newline at end of file +{{> email/email_footer }} diff --git a/src/static/templates/email/welcome.hbs b/src/static/templates/email/welcome.hbs index f08e9beb..5da851d9 100644 --- a/src/static/templates/email/welcome.hbs +++ b/src/static/templates/email/welcome.hbs @@ -3,4 +3,4 @@ Welcome Thank you for creating an account at {{url}}. You may now log in with your new account. If you did not request to create an account, you can safely ignore this email. -{{> email/email_footer_text }} \ No newline at end of file +{{> email/email_footer_text }} diff --git a/src/static/templates/email/welcome.html.hbs b/src/static/templates/email/welcome.html.hbs index ad7ff2fd..8fd20671 100644 --- a/src/static/templates/email/welcome.html.hbs +++ b/src/static/templates/email/welcome.html.hbs @@ -13,4 +13,4 @@ Welcome -{{> email/email_footer }} \ No newline at end of file +{{> email/email_footer }} diff --git a/src/static/templates/email/welcome_must_verify.hbs b/src/static/templates/email/welcome_must_verify.hbs index 11d8803c..9141020b 100644 --- a/src/static/templates/email/welcome_must_verify.hbs +++ b/src/static/templates/email/welcome_must_verify.hbs @@ -5,4 +5,4 @@ Thank you for creating an account at {{url}}. Before you can login with your new Verify Email Address Now: {{url}}/#/verify-email/?userId={{user_id}}&token={{token}} If you did not request to create an account, you can safely ignore this email. -{{> email/email_footer_text }} \ No newline at end of file +{{> email/email_footer_text }} diff --git a/src/static/templates/email/welcome_must_verify.html.hbs b/src/static/templates/email/welcome_must_verify.html.hbs index 2179ea9c..9b537e8b 100644 --- a/src/static/templates/email/welcome_must_verify.html.hbs +++ b/src/static/templates/email/welcome_must_verify.html.hbs @@ -21,4 +21,4 @@ Welcome -{{> email/email_footer }} \ No newline at end of file +{{> email/email_footer }}