Skip to content

Commit

Permalink
Merge pull request #33 from cciuenf/feature/browser-auth
Browse files Browse the repository at this point in the history
feature/browser auth
  • Loading branch information
Zoey de Souza Pessanha authored Feb 21, 2022
2 parents eebbee8 + 19b592c commit 0f3fb1d
Show file tree
Hide file tree
Showing 92 changed files with 3,872 additions and 904 deletions.
4 changes: 2 additions & 2 deletions .credo.exs
Original file line number Diff line number Diff line change
Expand Up @@ -158,15 +158,15 @@
# Controversial and experimental checks (opt-in, just replace `false` with `[]`)
#
{Credo.Check.Consistency.MultiAliasImportRequireUse, false},
{Credo.Check.Consistency.UnusedVariableNames, []},
{Credo.Check.Consistency.UnusedVariableNames, false},
{Credo.Check.Design.DuplicatedCode, []},
{Credo.Check.Readability.AliasAs, false},
{Credo.Check.Readability.BlockPipe, false},
{Credo.Check.Readability.ImplTrue, false},
{Credo.Check.Readability.MultiAlias, false},
{Credo.Check.Readability.SeparateAliasRequire, false},
{Credo.Check.Readability.SinglePipe, []},
{Credo.Check.Readability.Specs, []},
{Credo.Check.Readability.Specs, false},
{Credo.Check.Readability.StrictModuleLayout, false},
{Credo.Check.Readability.WithCustomTaggedTuple, false},
{Credo.Check.Refactor.ABCSize, false},
Expand Down
16 changes: 10 additions & 6 deletions .iex.exs
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
alias Fuschia.{Context, Entities, Queries}
alias Fuschia.{
Accounts,
Accounts.Pesquisador,
Accounts.User,
Context,
Database,
Entities,
Queries
}

alias Fuschia.Queries.{
Campi,
Expand All @@ -10,18 +18,14 @@ alias Fuschia.Queries.{
Relatorios
}

alias Context.Users

alias Fuschia.Entities.{
Campus,
Cidade,
Contato,
LinhaPesquisa,
Midia,
Nucleo,
Pesquisador,
Relatorio,
User
Relatorio
}

alias Fuschia.Repo
Expand Down
2 changes: 2 additions & 0 deletions config/config.exs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import Config

config :gettext, default_locale: "pt_BR"

# ---------------------------#
# Ecto
# ---------------------------#
Expand Down
6 changes: 6 additions & 0 deletions config/test.exs
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
import Config

# Only in tests, remove the complexity from the password hashing algorithm
config :bcrypt_elixir, :log_rounds, 1

# Não é necessário traduzir erros em ambiente de teste
config :gettext, default_locale: "en"

config :fuschia, Fuschia.Repo,
username: "pescarte",
password: "pescarte",
Expand Down
Loading

0 comments on commit 0f3fb1d

Please sign in to comment.