diff options
| author | lain <lain@soykaf.club> | 2020-05-07 15:05:40 +0200 |
|---|---|---|
| committer | lain <lain@soykaf.club> | 2020-05-07 15:05:40 +0200 |
| commit | fb2d284d2897e8b789da4f81ae8d288373d2bf76 (patch) | |
| tree | 35b6a6d3c656244528dc2455f768b4f9704fce8e /priv | |
| parent | 1748e2694815da20689005110937ea42cd554d70 (diff) | |
| parent | b7635bf2b6c5251ffc8f3b3b8e1bc7ee9db83b7e (diff) | |
| download | pleroma-fb2d284d2897e8b789da4f81ae8d288373d2bf76.tar.gz pleroma-fb2d284d2897e8b789da4f81ae8d288373d2bf76.zip | |
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
Diffstat (limited to 'priv')
| -rw-r--r-- | priv/repo/migrations/20190506054542_add_multi_factor_authentication_settings_to_user.exs | 9 | ||||
| -rw-r--r-- | priv/repo/migrations/20190508193213_create_mfa_tokens.exs | 16 | ||||
| -rw-r--r-- | priv/static/adminfe/static/fonts/element-icons.535877f.woff | bin | 28200 -> 0 bytes | |||
| -rw-r--r-- | priv/static/adminfe/static/fonts/element-icons.732389d.ttf | bin | 55956 -> 0 bytes |
4 files changed, 25 insertions, 0 deletions
diff --git a/priv/repo/migrations/20190506054542_add_multi_factor_authentication_settings_to_user.exs b/priv/repo/migrations/20190506054542_add_multi_factor_authentication_settings_to_user.exs new file mode 100644 index 000000000..8b653c61f --- /dev/null +++ b/priv/repo/migrations/20190506054542_add_multi_factor_authentication_settings_to_user.exs @@ -0,0 +1,9 @@ +defmodule Pleroma.Repo.Migrations.AddMultiFactorAuthenticationSettingsToUser do + use Ecto.Migration + + def change do + alter table(:users) do + add(:multi_factor_authentication_settings, :map, default: %{}) + end + end +end diff --git a/priv/repo/migrations/20190508193213_create_mfa_tokens.exs b/priv/repo/migrations/20190508193213_create_mfa_tokens.exs new file mode 100644 index 000000000..da9f8fabe --- /dev/null +++ b/priv/repo/migrations/20190508193213_create_mfa_tokens.exs @@ -0,0 +1,16 @@ +defmodule Pleroma.Repo.Migrations.CreateMfaTokens do + use Ecto.Migration + + def change do + create table(:mfa_tokens) do + add(:user_id, references(:users, type: :uuid, on_delete: :delete_all)) + add(:authorization_id, references(:oauth_authorizations, on_delete: :delete_all)) + add(:token, :string) + add(:valid_until, :naive_datetime_usec) + + timestamps() + end + + create(unique_index(:mfa_tokens, :token)) + end +end diff --git a/priv/static/adminfe/static/fonts/element-icons.535877f.woff b/priv/static/adminfe/static/fonts/element-icons.535877f.woff Binary files differdeleted file mode 100644 index 02b9a2539..000000000 --- a/priv/static/adminfe/static/fonts/element-icons.535877f.woff +++ /dev/null diff --git a/priv/static/adminfe/static/fonts/element-icons.732389d.ttf b/priv/static/adminfe/static/fonts/element-icons.732389d.ttf Binary files differdeleted file mode 100644 index 91b74de36..000000000 --- a/priv/static/adminfe/static/fonts/element-icons.732389d.ttf +++ /dev/null |
