Helmut K. C. Tessarek
2 years ago
No known key found for this signature in database
GPG Key ID: BE0985349D44DD00
77 changed files with
76 additions and
77 deletions
diesel.toml
migrations/mysql/2018-01-14-171611_create_tables/down.sql
migrations/mysql/2018-05-08-161616_create_collection_cipher_map/down.sql
migrations/mysql/2018-06-01-112529_update_devices_twofactor_remember/down.sql
migrations/mysql/2018-06-01-112529_update_devices_twofactor_remember/up.sql
migrations/mysql/2018-07-11-181453_create_u2f_twofactor/down.sql
migrations/mysql/2018-08-27-172114_update_ciphers/up.sql
migrations/mysql/2018-09-10-111213_add_invites/down.sql
migrations/mysql/2019-05-26-216651_rename_key_and_type_columns/down.sql
migrations/mysql/2019-05-26-216651_rename_key_and_type_columns/up.sql
migrations/mysql/2019-10-10-083032_add_column_to_twofactor/up.sql
migrations/mysql/2020-12-09-173101_add_stamp_exception/up.sql
migrations/mysql/2021-03-11-190243_add_sends/up.sql
migrations/mysql/2022-07-27-110000_add_group_support/down.sql
migrations/mysql/2022-07-27-110000_add_group_support/up.sql
migrations/postgresql/2019-09-12-100000_create_tables/up.sql
migrations/postgresql/2019-09-16-150000_fix_attachments/down.sql
migrations/postgresql/2019-09-16-150000_fix_attachments/up.sql
migrations/postgresql/2019-10-10-083032_add_column_to_twofactor/up.sql
migrations/postgresql/2020-12-09-173101_add_stamp_exception/up.sql
migrations/postgresql/2021-03-11-190243_add_sends/up.sql
migrations/postgresql/2022-07-27-110000_add_group_support/down.sql
migrations/postgresql/2022-07-27-110000_add_group_support/up.sql
migrations/sqlite/2018-01-14-171611_create_tables/down.sql
migrations/sqlite/2018-01-14-171611_create_tables/up.sql
migrations/sqlite/2018-05-08-161616_create_collection_cipher_map/down.sql
migrations/sqlite/2018-05-08-161616_create_collection_cipher_map/up.sql
migrations/sqlite/2018-05-25-232323_update_attachments_reference/up.sql
migrations/sqlite/2018-06-01-112529_update_devices_twofactor_remember/down.sql
migrations/sqlite/2018-06-01-112529_update_devices_twofactor_remember/up.sql
migrations/sqlite/2018-07-11-181453_create_u2f_twofactor/down.sql
migrations/sqlite/2018-07-11-181453_create_u2f_twofactor/up.sql
migrations/sqlite/2018-08-27-172114_update_ciphers/up.sql
migrations/sqlite/2018-09-10-111213_add_invites/down.sql
migrations/sqlite/2018-09-10-111213_add_invites/up.sql
migrations/sqlite/2018-11-27-152651_add_att_key_columns/up.sql
migrations/sqlite/2019-05-26-216651_rename_key_and_type_columns/down.sql
migrations/sqlite/2019-05-26-216651_rename_key_and_type_columns/up.sql
migrations/sqlite/2020-12-09-173101_add_stamp_exception/up.sql
migrations/sqlite/2021-03-11-190243_add_sends/up.sql
migrations/sqlite/2022-07-27-110000_add_group_support/down.sql
migrations/sqlite/2022-07-27-110000_add_group_support/up.sql
src/static/global_domains.json
src/static/scripts/404.css
src/static/scripts/admin.css
src/static/scripts/admin.js
src/static/scripts/admin_diagnostics.js
src/static/scripts/admin_organizations.js
src/static/scripts/admin_settings.js
src/static/scripts/admin_users.js
src/static/scripts/jdenticon.js
src/static/templates/email/change_email.html.hbs
src/static/templates/email/delete_account.hbs
src/static/templates/email/delete_account.html.hbs
src/static/templates/email/invite_accepted.hbs
src/static/templates/email/invite_accepted.html.hbs
src/static/templates/email/invite_confirmed.hbs
src/static/templates/email/invite_confirmed.html.hbs
src/static/templates/email/new_device_logged_in.hbs
src/static/templates/email/new_device_logged_in.html.hbs
src/static/templates/email/pw_hint_none.hbs
src/static/templates/email/pw_hint_none.html.hbs
src/static/templates/email/pw_hint_some.hbs
src/static/templates/email/pw_hint_some.html.hbs
src/static/templates/email/send_emergency_access_invite.html.hbs
src/static/templates/email/send_org_invite.hbs
src/static/templates/email/send_org_invite.html.hbs
src/static/templates/email/smtp_test.hbs
src/static/templates/email/smtp_test.html.hbs
src/static/templates/email/twofactor_email.hbs
src/static/templates/email/twofactor_email.html.hbs
src/static/templates/email/verify_email.hbs
src/static/templates/email/verify_email.html.hbs
src/static/templates/email/welcome.hbs
src/static/templates/email/welcome.html.hbs
src/static/templates/email/welcome_must_verify.hbs
src/static/templates/email/welcome_must_verify.html.hbs
@ -2,4 +2,4 @@
# see diesel.rs/guides/configuring-diesel-cli
[ print_schema ]
file = "src/db/schema.rs"
file = "src/db/schema.rs"
@ -6,4 +6,4 @@ DROP TABLE ciphers;
DROP TABLE attachments ;
DROP TABLE folders ;
DROP TABLE folders ;
@ -1 +1 @@
DROP TABLE ciphers_collections ;
DROP TABLE ciphers_collections ;
@ -1 +1 @@
-- This file should undo anything in `up.sql`
-- This file should undo anything in `up.sql`
@ -1,3 +1,3 @@
ALTER TABLE devices
ADD COLUMN
twofactor_remember TEXT ;
twofactor_remember TEXT ;
@ -5,4 +5,4 @@ SET totp_secret = (
AND twofactor . user_uuid = users . uuid
) ;
DROP TABLE twofactor ;
DROP TABLE twofactor ;
@ -1,3 +1,3 @@
ALTER TABLE ciphers
ADD COLUMN
password_history TEXT ;
password_history TEXT ;
@ -1 +1 @@
DROP TABLE invitations ;
DROP TABLE invitations ;
@ -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 ;
ALTER TABLE users_organizations CHANGE COLUMN atype type INTEGER NOT NULL ;
@ -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 ;
ALTER TABLE users_organizations CHANGE COLUMN type atype INTEGER NOT NULL ;
@ -1 +1 @@
ALTER TABLE twofactor ADD COLUMN last_used INTEGER NOT NULL DEFAULT 0 ;
ALTER TABLE twofactor ADD COLUMN last_used INTEGER NOT NULL DEFAULT 0 ;
@ -1 +1 @@
ALTER TABLE users ADD COLUMN stamp_exception TEXT DEFAULT NULL ;
ALTER TABLE users ADD COLUMN stamp_exception TEXT DEFAULT NULL ;
@ -22,4 +22,4 @@ CREATE TABLE sends (
deletion_date DATETIME NOT NULL ,
disabled BOOLEAN NOT NULL
) ;
) ;
@ -1,3 +1,3 @@
DROP TABLE ` groups ` ;
DROP TABLE groups_users ;
DROP TABLE collections_groups ;
DROP TABLE collections_groups ;
@ -20,4 +20,4 @@ CREATE TABLE collections_groups (
read_only BOOLEAN NOT NULL ,
hide_passwords BOOLEAN NOT NULL ,
UNIQUE ( collections_uuid , groups_uuid )
) ;
) ;
@ -118,4 +118,4 @@ CREATE TABLE twofactor (
CREATE TABLE invitations (
email VARCHAR ( 255 ) NOT NULL PRIMARY KEY
) ;
) ;
@ -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 ) ;
ALTER TABLE invitations ALTER COLUMN email TYPE VARCHAR ( 255 ) ;
@ -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 ;
ALTER TABLE invitations ALTER COLUMN email TYPE TEXT ;
@ -1 +1 @@
ALTER TABLE twofactor ADD COLUMN last_used INTEGER NOT NULL DEFAULT 0 ;
ALTER TABLE twofactor ADD COLUMN last_used INTEGER NOT NULL DEFAULT 0 ;
@ -1 +1 @@
ALTER TABLE users ADD COLUMN stamp_exception TEXT DEFAULT NULL ;
ALTER TABLE users ADD COLUMN stamp_exception TEXT DEFAULT NULL ;
@ -22,4 +22,4 @@ CREATE TABLE sends (
deletion_date TIMESTAMP NOT NULL ,
disabled BOOLEAN NOT NULL
) ;
) ;
@ -1,3 +1,3 @@
DROP TABLE groups ;
DROP TABLE groups_users ;
DROP TABLE collections_groups ;
DROP TABLE collections_groups ;
@ -20,4 +20,4 @@ CREATE TABLE collections_groups (
read_only BOOLEAN NOT NULL ,
hide_passwords BOOLEAN NOT NULL ,
PRIMARY KEY ( collections_uuid , groups_uuid )
) ;
) ;
@ -6,4 +6,4 @@ DROP TABLE ciphers;
DROP TABLE attachments ;
DROP TABLE folders ;
DROP TABLE folders ;
@ -59,4 +59,3 @@ CREATE TABLE folders (
user_uuid TEXT NOT NULL REFERENCES users ( uuid ) ,
name TEXT NOT NULL
) ;
@ -1 +1 @@
DROP TABLE ciphers_collections ;
DROP TABLE ciphers_collections ;
@ -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 )
) ;
) ;
@ -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 ;
DROP TABLE oldAttachments ;
@ -1 +1 @@
-- This file should undo anything in `up.sql`
-- This file should undo anything in `up.sql`
@ -1,3 +1,3 @@
ALTER TABLE devices
ADD COLUMN
twofactor_remember TEXT ;
twofactor_remember TEXT ;
@ -5,4 +5,4 @@ SET totp_secret = (
AND twofactor . user_uuid = users . uuid
) ;
DROP TABLE twofactor ;
DROP TABLE twofactor ;
@ -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
UPDATE users SET totp_secret = NULL ; -- Instead of recreating the table, just leave the columns empty
@ -1,3 +1,3 @@
ALTER TABLE ciphers
ADD COLUMN
password_history TEXT ;
password_history TEXT ;
@ -1 +1 @@
DROP TABLE invitations ;
DROP TABLE invitations ;
@ -1,3 +1,3 @@
CREATE TABLE invitations (
email TEXT NOT NULL PRIMARY KEY
) ;
) ;
@ -1,3 +1,3 @@
ALTER TABLE attachments
ADD COLUMN
key TEXT ;
key TEXT ;
@ -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 ;
ALTER TABLE users_organizations RENAME COLUMN atype TO type ;
@ -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 ;
ALTER TABLE users_organizations RENAME COLUMN type TO atype ;
@ -1 +1 @@
ALTER TABLE users ADD COLUMN stamp_exception TEXT DEFAULT NULL ;
ALTER TABLE users ADD COLUMN stamp_exception TEXT DEFAULT NULL ;
@ -22,4 +22,4 @@ CREATE TABLE sends (
deletion_date DATETIME NOT NULL ,
disabled BOOLEAN NOT NULL
) ;
) ;
@ -1,3 +1,3 @@
DROP TABLE groups ;
DROP TABLE groups_users ;
DROP TABLE collections_groups ;
DROP TABLE collections_groups ;
@ -20,4 +20,4 @@ CREATE TABLE collections_groups (
read_only BOOLEAN NOT NULL ,
hide_passwords BOOLEAN NOT NULL ,
UNIQUE ( collections_uuid , groups_uuid )
) ;
) ;
@ -953,4 +953,4 @@
] ,
"Excluded" : false
}
]
]
@ -23,4 +23,4 @@ body {
}
. vw-404 {
max-width : 500px ; width : 100 % ;
}
}
@ -53,4 +53,4 @@ img {
}
. vw-copy-toast {
width : 15rem ;
}
}
@ -74,4 +74,4 @@ document.addEventListener("DOMContentLoaded", (/*event*/) => {
navItem [ 0 ] . className = navItem [ 0 ] . className + " active" ;
navItem [ 0 ] . setAttribute ( "aria-current" , "page" ) ;
}
} ) ;
} ) ;
@ -238,4 +238,4 @@ document.addEventListener("DOMContentLoaded", (event) => {
if ( btnCopySupport ) {
btnCopySupport . addEventListener ( "click" , copyToClipboard ) ;
}
} ) ;
} ) ;
@ -67,4 +67,4 @@ document.addEventListener("DOMContentLoaded", (/*event*/) => {
if ( btnReload ) {
btnReload . addEventListener ( "click" , reload ) ;
}
} ) ;
} ) ;
@ -229,4 +229,4 @@ document.addEventListener("DOMContentLoaded", (/*event*/) => {
config_form . addEventListener ( "submit" , saveConfig ) ;
showWarnings ( ) ;
} ) ;
} ) ;
@ -276,4 +276,4 @@ document.addEventListener("DOMContentLoaded", (/*event*/) => {
if ( btnInviteUserForm ) {
btnInviteUserForm . addEventListener ( "submit" , inviteUser ) ;
}
} ) ;
} ) ;
@ -1459,4 +1459,4 @@ if (typeof setTimeout === "function") {
return jdenticon ;
} ) ;
} ) ;
@ -13,4 +13,4 @@ Your Email Change
</td>
</tr>
</table>
{{ > email / email_footer }}
{{ > email / email_footer }}
@ -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 }}
{{ > email / email_footer_text }}
@ -21,4 +21,4 @@ Delete Your Account
</td>
</tr>
</table>
{{ > email / email_footer }}
{{ > email / email_footer }}
@ -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 }}
{{ > email / email_footer_text }}
@ -18,4 +18,4 @@ Invitation to {{{org_name}}} accepted
</td>
</tr>
</table>
{{ > email / email_footer }}
{{ > email / email_footer }}
@ -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 }}
{{ > email / email_footer_text }}
@ -14,4 +14,4 @@ Invitation to {{{org_name}}} confirmed
</td>
</tr>
</table>
{{ > email / email_footer }}
{{ > email / email_footer }}
@ -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 }}
{{ > email / email_footer_text }}
@ -28,4 +28,4 @@ New Device Logged In From {{{device}}}
</td>
</tr>
</table>
{{ > email / email_footer }}
{{ > email / email_footer }}
@ -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 }}
{{ > email / email_footer_text }}
@ -18,4 +18,4 @@ Sorry, you have no password hint...
</td>
</tr>
</table>
{{ > email / email_footer }}
{{ > email / email_footer }}
@ -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 }}
{{ > email / email_footer_text }}
@ -24,4 +24,4 @@ Your master password hint
</td>
</tr>
</table>
{{ > email / email_footer }}
{{ > email / email_footer }}
@ -21,4 +21,4 @@ Emergency access for {{{grantor_name}}}
</td>
</tr>
</table>
{{ > email / email_footer }}
{{ > email / email_footer }}
@ -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 }}
{{ > email / email_footer_text }}
@ -21,4 +21,4 @@ Join {{{org_name}}}
</td>
</tr>
</table>
{{ > email / email_footer }}
{{ > email / email_footer }}
@ -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 }}
{{ > email / email_footer_text }}
@ -13,4 +13,4 @@ Vaultwarden SMTP Test
</td>
</tr>
</table>
{{ > email / email_footer }}
{{ > email / email_footer }}
@ -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 }}
{{ > email / email_footer_text }}
@ -13,4 +13,4 @@ Your Two-step Login Verification Code
</td>
</tr>
</table>
{{ > email / email_footer }}
{{ > email / email_footer }}
@ -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 }}
{{ > email / email_footer_text }}
@ -21,4 +21,4 @@ Verify Your Email
</td>
</tr>
</table>
{{ > email / email_footer }}
{{ > email / email_footer }}
@ -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 }}
{{ > email / email_footer_text }}
@ -13,4 +13,4 @@ Welcome
</td>
</tr>
</table>
{{ > email / email_footer }}
{{ > email / email_footer }}
@ -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 }}
{{ > email / email_footer_text }}
@ -21,4 +21,4 @@ Welcome
</td>
</tr>
</table>
{{ > email / email_footer }}
{{ > email / email_footer }}