Compare commits
18 Commits
Author | SHA1 | Date | |
---|---|---|---|
0c5442f0cd | |||
6c2aba84ef | |||
3e686fa199 | |||
2a8a1d11b8 | |||
c3d066016b | |||
64bf39da29 | |||
c25e02dee1 | |||
5be05ceea6 | |||
e8a041024c | |||
36f385c7f3 | |||
ddb8bbec53 | |||
1e55039a67 | |||
2346a82a46 | |||
b63c6bd318 | |||
b72a79c380 | |||
5cd7a7eef0 | |||
f6dc41498b | |||
1c912a1600 |
@ -17,7 +17,7 @@ steps:
|
|||||||
- .mix
|
- .mix
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
image: elixir:1.17.0-alpine
|
image: elixir:1.18.1-alpine
|
||||||
environment:
|
environment:
|
||||||
TEST_DATABASE_URL: ecto://postgres:postgres@database/memex_test
|
TEST_DATABASE_URL: ecto://postgres:postgres@database/memex_test
|
||||||
HOST: testing.example.tld
|
HOST: testing.example.tld
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
elixir 1.17.0-otp-27
|
elixir 1.18.1-otp-27
|
||||||
erlang 27.0
|
erlang 27.2.1
|
||||||
nodejs 22.3.0
|
nodejs 23.7.0
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM elixir:1.17.0-alpine AS build
|
FROM elixir:1.18.1-alpine AS build
|
||||||
|
|
||||||
# install build dependencies
|
# install build dependencies
|
||||||
RUN apk add --no-cache build-base npm git python3
|
RUN apk add --no-cache build-base npm git python3
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
@import "tailwindcss/base";
|
@use "tailwindcss/base";
|
||||||
@import "tailwindcss/components";
|
@use "tailwindcss/components";
|
||||||
@import "tailwindcss/utilities";
|
@use "tailwindcss/utilities";
|
||||||
|
@use "components" as memex-components;
|
||||||
|
|
||||||
$fa-font-path: "@fortawesome/fontawesome-free/webfonts";
|
$fa-font-path: "@fortawesome/fontawesome-free/webfonts";
|
||||||
@import "@fortawesome/fontawesome-free/scss/fontawesome";
|
@import "@fortawesome/fontawesome-free/scss/fontawesome";
|
||||||
@ -8,8 +9,6 @@ $fa-font-path: "@fortawesome/fontawesome-free/webfonts";
|
|||||||
@import "@fortawesome/fontawesome-free/scss/solid";
|
@import "@fortawesome/fontawesome-free/scss/solid";
|
||||||
@import "@fortawesome/fontawesome-free/scss/brands";
|
@import "@fortawesome/fontawesome-free/scss/brands";
|
||||||
|
|
||||||
@import "components";
|
|
||||||
|
|
||||||
/* fix firefox scrollbars */
|
/* fix firefox scrollbars */
|
||||||
* {
|
* {
|
||||||
scrollbar-width: auto;
|
scrollbar-width: auto;
|
||||||
|
18392
assets/package-lock.json
generated
18392
assets/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -3,8 +3,7 @@
|
|||||||
"description": " ",
|
"description": " ",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "v22.3.0",
|
"node": "v23.7.0"
|
||||||
"npm": "10.8.1"
|
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"deploy": "NODE_ENV=production webpack --mode production",
|
"deploy": "NODE_ENV=production webpack --mode production",
|
||||||
@ -13,35 +12,35 @@
|
|||||||
"test": "standard"
|
"test": "standard"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fontsource/nunito-sans": "^5.0.13",
|
"@fontsource/nunito-sans": "^5.1.1",
|
||||||
"@fortawesome/fontawesome-free": "^6.6.0",
|
"@fortawesome/fontawesome-free": "^6.7.2",
|
||||||
"phoenix": "file:../deps/phoenix",
|
"phoenix": "file:../deps/phoenix",
|
||||||
"phoenix_html": "file:../deps/phoenix_html",
|
"phoenix_html": "file:../deps/phoenix_html",
|
||||||
"phoenix_live_view": "file:../deps/phoenix_live_view",
|
"phoenix_live_view": "file:../deps/phoenix_live_view",
|
||||||
"topbar": "^3.0.0"
|
"topbar": "^3.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.24.9",
|
"@babel/core": "^7.26.9",
|
||||||
"@babel/preset-env": "^7.25.0",
|
"@babel/preset-env": "^7.26.9",
|
||||||
"autoprefixer": "^10.4.19",
|
"autoprefixer": "^10.4.20",
|
||||||
"babel-loader": "^9.1.3",
|
"babel-loader": "^9.2.1",
|
||||||
"copy-webpack-plugin": "^12.0.2",
|
"copy-webpack-plugin": "^12.0.2",
|
||||||
"css-loader": "^7.1.2",
|
"css-loader": "^7.1.2",
|
||||||
"css-minimizer-webpack-plugin": "^7.0.0",
|
"css-minimizer-webpack-plugin": "^7.0.0",
|
||||||
"file-loader": "^6.2.0",
|
"file-loader": "^6.2.0",
|
||||||
"mini-css-extract-plugin": "^2.9.0",
|
"mini-css-extract-plugin": "^2.9.2",
|
||||||
"npm-check-updates": "^16.14.20",
|
"npm-check-updates": "^17.1.14",
|
||||||
"postcss": "^8.4.40",
|
"postcss": "^8.5.2",
|
||||||
"postcss-import": "^16.1.0",
|
"postcss-import": "^16.1.0",
|
||||||
"postcss-loader": "^8.1.1",
|
"postcss-loader": "^8.1.1",
|
||||||
"postcss-preset-env": "^9.6.0",
|
"postcss-preset-env": "^10.1.4",
|
||||||
"sass": "^1.77.8",
|
"sass": "^1.85.0",
|
||||||
"sass-loader": "^16.0.0",
|
"sass-loader": "^16.0.5",
|
||||||
"standard": "^17.1.0",
|
"standard": "^17.1.2",
|
||||||
"tailwindcss": "^3.4.7",
|
"tailwindcss": "^3.4.17",
|
||||||
"terser-webpack-plugin": "^5.3.10",
|
"terser-webpack-plugin": "^5.3.11",
|
||||||
"webpack": "^5.93.0",
|
"webpack": "^5.98.0",
|
||||||
"webpack-cli": "^5.1.4",
|
"webpack-cli": "^6.0.1",
|
||||||
"webpack-dev-server": "^5.0.4"
|
"webpack-dev-server": "^5.2.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
15
changelog.md
15
changelog.md
@ -1,3 +1,18 @@
|
|||||||
|
# v0.1.19
|
||||||
|
- Add backlinks
|
||||||
|
- Fix visibility issues with multiple users
|
||||||
|
|
||||||
|
# v0.1.18
|
||||||
|
- Update deps
|
||||||
|
- Fix content not escaping HTML properly
|
||||||
|
- Add placeholder for empty notes and contexts
|
||||||
|
- Marks some required fields as required
|
||||||
|
|
||||||
|
# v0.1.17
|
||||||
|
- Fix new invite button not working
|
||||||
|
- Fix some descriptions possibly overflowing widths
|
||||||
|
- Update dependencies
|
||||||
|
|
||||||
# v0.1.16
|
# v0.1.16
|
||||||
- Fix empty invite index page
|
- Fix empty invite index page
|
||||||
- Fix faq copy
|
- Fix faq copy
|
||||||
|
@ -66,7 +66,7 @@ if config_env() == :prod do
|
|||||||
System.get_env("SECRET_KEY_BASE") ||
|
System.get_env("SECRET_KEY_BASE") ||
|
||||||
raise """
|
raise """
|
||||||
environment variable SECRET_KEY_BASE is missing.
|
environment variable SECRET_KEY_BASE is missing.
|
||||||
You can generate one by running: mix phx.gen.secret
|
You can generate one by running: priv/random.sh
|
||||||
"""
|
"""
|
||||||
|
|
||||||
config :memex, MemexWeb.Endpoint, secret_key_base: secret_key_base
|
config :memex, MemexWeb.Endpoint, secret_key_base: secret_key_base
|
||||||
|
@ -9,8 +9,9 @@ config :bcrypt_elixir, :log_rounds, 1
|
|||||||
# to provide built-in test partitioning in CI environment.
|
# to provide built-in test partitioning in CI environment.
|
||||||
# Run `mix help test` for more information.
|
# Run `mix help test` for more information.
|
||||||
config :memex, Memex.Repo,
|
config :memex, Memex.Repo,
|
||||||
|
pool_size: 10,
|
||||||
pool: Ecto.Adapters.SQL.Sandbox,
|
pool: Ecto.Adapters.SQL.Sandbox,
|
||||||
pool_size: 10
|
timeout: 60000
|
||||||
|
|
||||||
# We don't run a server during test. If one is required,
|
# We don't run a server during test. If one is required,
|
||||||
# you can enable the server option below.
|
# you can enable the server option below.
|
||||||
|
@ -113,7 +113,7 @@ In `test` mode (or in the Docker container), memEx will listen for the same envi
|
|||||||
In `prod` mode (or in the Docker container), memEx will listen for the same environment variables as dev mode, but also include the following at runtime:
|
In `prod` mode (or in the Docker container), memEx will listen for the same environment variables as dev mode, but also include the following at runtime:
|
||||||
|
|
||||||
- `SECRET_KEY_BASE`: Secret key base used to sign cookies. Must be generated
|
- `SECRET_KEY_BASE`: Secret key base used to sign cookies. Must be generated
|
||||||
with `docker run -it shibaobun/memex mix phx.gen.secret` and set for server to start.
|
with `docker run -it shibaobun/memex priv/random.sh` and set for server to start.
|
||||||
- `SMTP_HOST`: The url for your SMTP email provider. Must be set
|
- `SMTP_HOST`: The url for your SMTP email provider. Must be set
|
||||||
- `SMTP_PORT`: The port for your SMTP relay. Defaults to `587`.
|
- `SMTP_PORT`: The port for your SMTP relay. Defaults to `587`.
|
||||||
- `SMTP_USERNAME`: The username for your SMTP relay. Must be set!
|
- `SMTP_USERNAME`: The username for your SMTP relay. Must be set!
|
||||||
|
BIN
home.png
BIN
home.png
Binary file not shown.
Before Width: | Height: | Size: 107 KiB After Width: | Height: | Size: 340 KiB |
@ -117,7 +117,7 @@ defmodule Memex.Accounts do
|
|||||||
Multi.new()
|
Multi.new()
|
||||||
|> Multi.one(:users_count, from(u in User, select: count(u.id), distinct: true))
|
|> Multi.one(:users_count, from(u in User, select: count(u.id), distinct: true))
|
||||||
|> Multi.run(:use_invite, fn _changes_so_far, _repo ->
|
|> Multi.run(:use_invite, fn _changes_so_far, _repo ->
|
||||||
if allow_registration?() and invite_token |> is_nil() do
|
if allow_registration?() and !invite_token do
|
||||||
{:ok, nil}
|
{:ok, nil}
|
||||||
else
|
else
|
||||||
Invites.use_invite(invite_token)
|
Invites.use_invite(invite_token)
|
||||||
@ -219,7 +219,7 @@ defmodule Memex.Accounts do
|
|||||||
|
|
||||||
with {:ok, query} <- UserToken.verify_change_email_token_query(token, context),
|
with {:ok, query} <- UserToken.verify_change_email_token_query(token, context),
|
||||||
%UserToken{sent_to: email} <- Repo.one(query),
|
%UserToken{sent_to: email} <- Repo.one(query),
|
||||||
{:ok, _} <- Repo.transaction(user_email_multi(user, email, context)) do
|
{:ok, _result} <- Repo.transaction(user_email_multi(user, email, context)) do
|
||||||
:ok
|
:ok
|
||||||
else
|
else
|
||||||
_error_tuple -> :error
|
_error_tuple -> :error
|
||||||
|
@ -4,8 +4,8 @@ defmodule Memex.Accounts.User do
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
use Ecto.Schema
|
use Ecto.Schema
|
||||||
|
use Gettext, backend: MemexWeb.Gettext
|
||||||
import Ecto.Changeset
|
import Ecto.Changeset
|
||||||
import MemexWeb.Gettext
|
|
||||||
alias Ecto.{Association, Changeset, UUID}
|
alias Ecto.{Association, Changeset, UUID}
|
||||||
alias Memex.Accounts.{Invite, User}
|
alias Memex.Accounts.{Invite, User}
|
||||||
|
|
||||||
@ -140,7 +140,7 @@ defmodule Memex.Accounts.User do
|
|||||||
|> cast(attrs, [:email])
|
|> cast(attrs, [:email])
|
||||||
|> validate_email()
|
|> validate_email()
|
||||||
|> case do
|
|> case do
|
||||||
%{changes: %{email: _}} = changeset -> changeset
|
%{changes: %{email: _email}} = changeset -> changeset
|
||||||
%{} = changeset -> add_error(changeset, :email, dgettext("errors", "did not change"))
|
%{} = changeset -> add_error(changeset, :email, dgettext("errors", "did not change"))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -155,7 +155,7 @@ defmodule Memex.Accounts.UserToken do
|
|||||||
from t in __MODULE__, where: t.user_id == ^user.id
|
from t in __MODULE__, where: t.user_id == ^user.id
|
||||||
end
|
end
|
||||||
|
|
||||||
def user_and_contexts_query(user, [_ | _] = contexts) do
|
def user_and_contexts_query(user, [_head | _rest] = contexts) do
|
||||||
from t in __MODULE__, where: t.user_id == ^user.id and t.context in ^contexts
|
from t in __MODULE__, where: t.user_id == ^user.id and t.context in ^contexts
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -22,16 +22,16 @@ defmodule Memex.Contexts do
|
|||||||
@spec list_contexts(search :: String.t() | nil, User.t()) :: [Context.t()]
|
@spec list_contexts(search :: String.t() | nil, User.t()) :: [Context.t()]
|
||||||
def list_contexts(search \\ nil, user)
|
def list_contexts(search \\ nil, user)
|
||||||
|
|
||||||
def list_contexts(search, %{id: user_id}) when search |> is_nil() or search == "" do
|
def list_contexts(search, %{id: user_id}) when user_id |> is_binary() and search in [nil, ""] do
|
||||||
Repo.all(from c in Context, where: c.user_id == ^user_id, order_by: c.slug)
|
Repo.all(from c in Context, order_by: c.slug)
|
||||||
end
|
end
|
||||||
|
|
||||||
def list_contexts(search, %{id: user_id}) when search |> is_binary() do
|
def list_contexts(search, %{id: user_id})
|
||||||
|
when user_id |> is_binary() and search |> is_binary() do
|
||||||
trimmed_search = String.trim(search)
|
trimmed_search = String.trim(search)
|
||||||
|
|
||||||
Repo.all(
|
Repo.all(
|
||||||
from c in Context,
|
from c in Context,
|
||||||
where: c.user_id == ^user_id,
|
|
||||||
where:
|
where:
|
||||||
fragment(
|
fragment(
|
||||||
"search @@ websearch_to_tsquery('english', ?)",
|
"search @@ websearch_to_tsquery('english', ?)",
|
||||||
@ -63,7 +63,7 @@ defmodule Memex.Contexts do
|
|||||||
@spec list_public_contexts(search :: String.t() | nil) :: [Context.t()]
|
@spec list_public_contexts(search :: String.t() | nil) :: [Context.t()]
|
||||||
def list_public_contexts(search \\ nil)
|
def list_public_contexts(search \\ nil)
|
||||||
|
|
||||||
def list_public_contexts(search) when search |> is_nil() or search == "" do
|
def list_public_contexts(search) when search in [nil, ""] do
|
||||||
Repo.all(from c in Context, where: c.visibility == :public, order_by: c.slug)
|
Repo.all(from c in Context, where: c.visibility == :public, order_by: c.slug)
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -88,6 +88,42 @@ defmodule Memex.Contexts do
|
|||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@doc """
|
||||||
|
Returns the list of contexts that link to a particular slug.
|
||||||
|
|
||||||
|
## Examples
|
||||||
|
|
||||||
|
iex> backlink(%User{id: 123})
|
||||||
|
[%Context{}, ...]
|
||||||
|
|
||||||
|
iex> backlink("[other-context]", %User{id: 123})
|
||||||
|
[%Context{content: "[other-context]"}, ...]
|
||||||
|
|
||||||
|
"""
|
||||||
|
@spec backlink(String.t(), User.t()) :: [Context.t()]
|
||||||
|
def backlink(link, %{id: user_id}) when user_id |> is_binary() do
|
||||||
|
link = link |> String.replace("[", "\\[") |> String.replace("]", "\\]")
|
||||||
|
link_regex = "(^|[^\[])#{link}($|[^\]])"
|
||||||
|
|
||||||
|
Repo.all(
|
||||||
|
from c in Context,
|
||||||
|
where: fragment("? ~ ?", c.content, ^link_regex),
|
||||||
|
order_by: c.slug
|
||||||
|
)
|
||||||
|
end
|
||||||
|
|
||||||
|
def backlink(link, _invalid_user) do
|
||||||
|
link = link |> String.replace("[", "\\[") |> String.replace("]", "\\]")
|
||||||
|
link_regex = "(^|[^\[])#{link}($|[^\]])"
|
||||||
|
|
||||||
|
Repo.all(
|
||||||
|
from c in Context,
|
||||||
|
where: fragment("? ~ ?", c.content, ^link_regex),
|
||||||
|
where: c.visibility == :public,
|
||||||
|
order_by: c.slug
|
||||||
|
)
|
||||||
|
end
|
||||||
|
|
||||||
@doc """
|
@doc """
|
||||||
Gets a single context.
|
Gets a single context.
|
||||||
|
|
||||||
@ -103,12 +139,8 @@ defmodule Memex.Contexts do
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
@spec get_context!(Context.id(), User.t()) :: Context.t()
|
@spec get_context!(Context.id(), User.t()) :: Context.t()
|
||||||
def get_context!(id, %{id: user_id}) do
|
def get_context!(id, %{id: user_id}) when user_id |> is_binary() do
|
||||||
Repo.one!(
|
Repo.one!(from c in Context, where: c.id == ^id)
|
||||||
from c in Context,
|
|
||||||
where: c.id == ^id,
|
|
||||||
where: c.user_id == ^user_id or c.visibility in [:public, :unlisted]
|
|
||||||
)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def get_context!(id, _invalid_user) do
|
def get_context!(id, _invalid_user) do
|
||||||
@ -134,12 +166,8 @@ defmodule Memex.Contexts do
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
@spec get_context_by_slug(Context.slug(), User.t()) :: Context.t() | nil
|
@spec get_context_by_slug(Context.slug(), User.t()) :: Context.t() | nil
|
||||||
def get_context_by_slug(slug, %{id: user_id}) do
|
def get_context_by_slug(slug, %{id: user_id}) when user_id |> is_binary() do
|
||||||
Repo.one(
|
Repo.one(from c in Context, where: c.slug == ^slug)
|
||||||
from c in Context,
|
|
||||||
where: c.slug == ^slug,
|
|
||||||
where: c.user_id == ^user_id or c.visibility in [:public, :unlisted]
|
|
||||||
)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def get_context_by_slug(slug, _invalid_user) do
|
def get_context_by_slug(slug, _invalid_user) do
|
||||||
@ -194,23 +222,16 @@ defmodule Memex.Contexts do
|
|||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
iex> delete_context(%Context{user_id: 123}, %User{id: 123})
|
|
||||||
{:ok, %Context{}}
|
|
||||||
|
|
||||||
iex> delete_context(%Context{user_id: 123}, %User{role: :admin})
|
|
||||||
{:ok, %Context{}}
|
|
||||||
|
|
||||||
iex> delete_context(%Context{}, %User{id: 123})
|
iex> delete_context(%Context{}, %User{id: 123})
|
||||||
|
{:ok, %Context{}}
|
||||||
|
|
||||||
|
iex> delete_context(%Context{}, nil)
|
||||||
{:error, %Ecto.Changeset{}}
|
{:error, %Ecto.Changeset{}}
|
||||||
|
|
||||||
"""
|
"""
|
||||||
@spec delete_context(Context.t(), User.t()) ::
|
@spec delete_context(Context.t(), User.t()) ::
|
||||||
{:ok, Context.t()} | {:error, Context.changeset()}
|
{:ok, Context.t()} | {:error, Context.changeset()}
|
||||||
def delete_context(%Context{user_id: user_id} = context, %{id: user_id}) do
|
def delete_context(%Context{} = context, %{id: user_id}) when user_id |> is_binary() do
|
||||||
context |> Repo.delete()
|
|
||||||
end
|
|
||||||
|
|
||||||
def delete_context(%Context{} = context, %{role: :admin}) do
|
|
||||||
context |> Repo.delete()
|
context |> Repo.delete()
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -228,13 +249,4 @@ defmodule Memex.Contexts do
|
|||||||
def change_context(%Context{} = context, attrs \\ %{}, user) do
|
def change_context(%Context{} = context, attrs \\ %{}, user) do
|
||||||
context |> Context.update_changeset(attrs, user)
|
context |> Context.update_changeset(attrs, user)
|
||||||
end
|
end
|
||||||
|
|
||||||
@spec owner_or_admin?(Context.t(), User.t()) :: boolean()
|
|
||||||
def owner_or_admin?(%{user_id: user_id}, %{id: user_id}), do: true
|
|
||||||
def owner_or_admin?(_context, %{role: :admin}), do: true
|
|
||||||
def owner_or_admin?(_context, _other_user), do: false
|
|
||||||
|
|
||||||
@spec owner?(Context.t(), User.t()) :: boolean()
|
|
||||||
def owner?(%{user_id: user_id}, %{id: user_id}), do: true
|
|
||||||
def owner?(_context, _other_user), do: false
|
|
||||||
end
|
end
|
||||||
|
@ -4,8 +4,8 @@ defmodule Memex.Contexts.Context do
|
|||||||
into a single consideration
|
into a single consideration
|
||||||
"""
|
"""
|
||||||
use Ecto.Schema
|
use Ecto.Schema
|
||||||
|
use Gettext, backend: MemexWeb.Gettext
|
||||||
import Ecto.Changeset
|
import Ecto.Changeset
|
||||||
import MemexWeb.Gettext
|
|
||||||
alias Ecto.{Changeset, UUID}
|
alias Ecto.{Changeset, UUID}
|
||||||
alias Memex.{Accounts.User, Repo}
|
alias Memex.{Accounts.User, Repo}
|
||||||
|
|
||||||
@ -63,8 +63,9 @@ defmodule Memex.Contexts.Context do
|
|||||||
end
|
end
|
||||||
|
|
||||||
@spec update_changeset(t(), attrs :: map(), User.t()) :: changeset()
|
@spec update_changeset(t(), attrs :: map(), User.t()) :: changeset()
|
||||||
def update_changeset(%{user_id: user_id} = note, attrs, %User{id: user_id}) do
|
def update_changeset(%__MODULE__{} = context, attrs, %User{id: user_id})
|
||||||
note
|
when user_id |> is_binary() do
|
||||||
|
context
|
||||||
|> cast(attrs, [:slug, :content, :tags, :visibility])
|
|> cast(attrs, [:slug, :content, :tags, :visibility])
|
||||||
|> cast_tags_string(attrs)
|
|> cast_tags_string(attrs)
|
||||||
|> validate_format(:slug, ~r/^[\p{L}\p{N}\-]+$/,
|
|> validate_format(:slug, ~r/^[\p{L}\p{N}\-]+$/,
|
||||||
|
@ -7,8 +7,8 @@ defmodule Memex.Email do
|
|||||||
`lib/memex_web/components/layouts/email_text.txt.eex` for text emails.
|
`lib/memex_web/components/layouts/email_text.txt.eex` for text emails.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
use Gettext, backend: MemexWeb.Gettext
|
||||||
import Swoosh.Email
|
import Swoosh.Email
|
||||||
import MemexWeb.Gettext
|
|
||||||
import Phoenix.Template
|
import Phoenix.Template
|
||||||
alias Memex.Accounts.User
|
alias Memex.Accounts.User
|
||||||
alias MemexWeb.{EmailHTML, Layouts}
|
alias MemexWeb.{EmailHTML, Layouts}
|
||||||
|
@ -22,16 +22,15 @@ defmodule Memex.Notes do
|
|||||||
@spec list_notes(search :: String.t() | nil, User.t()) :: [Note.t()]
|
@spec list_notes(search :: String.t() | nil, User.t()) :: [Note.t()]
|
||||||
def list_notes(search \\ nil, user)
|
def list_notes(search \\ nil, user)
|
||||||
|
|
||||||
def list_notes(search, %{id: user_id}) when search |> is_nil() or search == "" do
|
def list_notes(search, %{id: user_id}) when user_id |> is_binary() and search in [nil, ""] do
|
||||||
Repo.all(from n in Note, where: n.user_id == ^user_id, order_by: n.slug)
|
Repo.all(from n in Note, order_by: n.slug)
|
||||||
end
|
end
|
||||||
|
|
||||||
def list_notes(search, %{id: user_id}) when search |> is_binary() do
|
def list_notes(search, %{id: user_id}) when user_id |> is_binary() and search |> is_binary() do
|
||||||
trimmed_search = String.trim(search)
|
trimmed_search = String.trim(search)
|
||||||
|
|
||||||
Repo.all(
|
Repo.all(
|
||||||
from n in Note,
|
from n in Note,
|
||||||
where: n.user_id == ^user_id,
|
|
||||||
where:
|
where:
|
||||||
fragment(
|
fragment(
|
||||||
"search @@ websearch_to_tsquery('english', ?)",
|
"search @@ websearch_to_tsquery('english', ?)",
|
||||||
@ -62,7 +61,7 @@ defmodule Memex.Notes do
|
|||||||
@spec list_public_notes(search :: String.t() | nil) :: [Note.t()]
|
@spec list_public_notes(search :: String.t() | nil) :: [Note.t()]
|
||||||
def list_public_notes(search \\ nil)
|
def list_public_notes(search \\ nil)
|
||||||
|
|
||||||
def list_public_notes(search) when search |> is_nil() or search == "" do
|
def list_public_notes(search) when search in [nil, ""] do
|
||||||
Repo.all(from n in Note, where: n.visibility == :public, order_by: n.slug)
|
Repo.all(from n in Note, where: n.visibility == :public, order_by: n.slug)
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -87,6 +86,42 @@ defmodule Memex.Notes do
|
|||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@doc """
|
||||||
|
Returns the list of notes that link to a particular slug.
|
||||||
|
|
||||||
|
## Examples
|
||||||
|
|
||||||
|
iex> backlink(%User{id: 123})
|
||||||
|
[%Note{}, ...]
|
||||||
|
|
||||||
|
iex> backlink("[other-note]", %User{id: 123})
|
||||||
|
[%Note{content: "[other-note]"}, ...]
|
||||||
|
|
||||||
|
"""
|
||||||
|
@spec backlink(String.t(), User.t()) :: [Note.t()]
|
||||||
|
def backlink(link, %{id: user_id}) when user_id |> is_binary() do
|
||||||
|
link = link |> String.replace("[", "\\[") |> String.replace("]", "\\]")
|
||||||
|
link_regex = "(^|[^\[])#{link}($|[^\]])"
|
||||||
|
|
||||||
|
Repo.all(
|
||||||
|
from n in Note,
|
||||||
|
where: fragment("? ~ ?", n.content, ^link_regex),
|
||||||
|
order_by: n.slug
|
||||||
|
)
|
||||||
|
end
|
||||||
|
|
||||||
|
def backlink(link, _invalid_user) do
|
||||||
|
link = link |> String.replace("[", "\\[") |> String.replace("]", "\\]")
|
||||||
|
link_regex = "(^|[^\[])#{link}($|[^\]])"
|
||||||
|
|
||||||
|
Repo.all(
|
||||||
|
from n in Note,
|
||||||
|
where: fragment("? ~ ?", n.content, ^link_regex),
|
||||||
|
where: n.visibility == :public,
|
||||||
|
order_by: n.slug
|
||||||
|
)
|
||||||
|
end
|
||||||
|
|
||||||
@doc """
|
@doc """
|
||||||
Gets a single note.
|
Gets a single note.
|
||||||
|
|
||||||
@ -102,12 +137,8 @@ defmodule Memex.Notes do
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
@spec get_note!(Note.id(), User.t()) :: Note.t()
|
@spec get_note!(Note.id(), User.t()) :: Note.t()
|
||||||
def get_note!(id, %{id: user_id}) do
|
def get_note!(id, %{id: user_id}) when user_id |> is_binary() do
|
||||||
Repo.one!(
|
Repo.one!(from n in Note, where: n.id == ^id)
|
||||||
from n in Note,
|
|
||||||
where: n.id == ^id,
|
|
||||||
where: n.user_id == ^user_id or n.visibility in [:public, :unlisted]
|
|
||||||
)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def get_note!(id, _invalid_user) do
|
def get_note!(id, _invalid_user) do
|
||||||
@ -133,12 +164,8 @@ defmodule Memex.Notes do
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
@spec get_note_by_slug(Note.slug(), User.t()) :: Note.t() | nil
|
@spec get_note_by_slug(Note.slug(), User.t()) :: Note.t() | nil
|
||||||
def get_note_by_slug(slug, %{id: user_id}) do
|
def get_note_by_slug(slug, %{id: user_id}) when user_id |> is_binary() do
|
||||||
Repo.one(
|
Repo.one(from n in Note, where: n.slug == ^slug)
|
||||||
from n in Note,
|
|
||||||
where: n.slug == ^slug,
|
|
||||||
where: n.user_id == ^user_id or n.visibility in [:public, :unlisted]
|
|
||||||
)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def get_note_by_slug(slug, _invalid_user) do
|
def get_note_by_slug(slug, _invalid_user) do
|
||||||
@ -192,22 +219,15 @@ defmodule Memex.Notes do
|
|||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
iex> delete_note(%Note{user_id: 123}, %User{id: 123})
|
|
||||||
{:ok, %Note{}}
|
|
||||||
|
|
||||||
iex> delete_note(%Note{}, %User{role: :admin})
|
|
||||||
{:ok, %Note{}}
|
|
||||||
|
|
||||||
iex> delete_note(%Note{}, %User{id: 123})
|
iex> delete_note(%Note{}, %User{id: 123})
|
||||||
|
{:ok, %Note{}}
|
||||||
|
|
||||||
|
iex> delete_note(%Note{}, nil)
|
||||||
{:error, %Ecto.Changeset{}}
|
{:error, %Ecto.Changeset{}}
|
||||||
|
|
||||||
"""
|
"""
|
||||||
@spec delete_note(Note.t(), User.t()) :: {:ok, Note.t()} | {:error, Note.changeset()}
|
@spec delete_note(Note.t(), User.t()) :: {:ok, Note.t()} | {:error, Note.changeset()}
|
||||||
def delete_note(%Note{user_id: user_id} = note, %{id: user_id}) do
|
def delete_note(%Note{} = note, %{id: user_id}) when user_id |> is_binary() do
|
||||||
note |> Repo.delete()
|
|
||||||
end
|
|
||||||
|
|
||||||
def delete_note(%Note{} = note, %{role: :admin}) do
|
|
||||||
note |> Repo.delete()
|
note |> Repo.delete()
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -228,13 +248,4 @@ defmodule Memex.Notes do
|
|||||||
def change_note(%Note{} = note, attrs \\ %{}, user) do
|
def change_note(%Note{} = note, attrs \\ %{}, user) do
|
||||||
note |> Note.update_changeset(attrs, user)
|
note |> Note.update_changeset(attrs, user)
|
||||||
end
|
end
|
||||||
|
|
||||||
@spec owner_or_admin?(Note.t(), User.t()) :: boolean()
|
|
||||||
def owner_or_admin?(%{user_id: user_id}, %{id: user_id}), do: true
|
|
||||||
def owner_or_admin?(_context, %{role: :admin}), do: true
|
|
||||||
def owner_or_admin?(_context, _other_user), do: false
|
|
||||||
|
|
||||||
@spec owner?(Note.t(), User.t()) :: boolean()
|
|
||||||
def owner?(%{user_id: user_id}, %{id: user_id}), do: true
|
|
||||||
def owner?(_context, _other_user), do: false
|
|
||||||
end
|
end
|
||||||
|
@ -3,8 +3,8 @@ defmodule Memex.Notes.Note do
|
|||||||
Schema for a user-written note
|
Schema for a user-written note
|
||||||
"""
|
"""
|
||||||
use Ecto.Schema
|
use Ecto.Schema
|
||||||
|
use Gettext, backend: MemexWeb.Gettext
|
||||||
import Ecto.Changeset
|
import Ecto.Changeset
|
||||||
import MemexWeb.Gettext
|
|
||||||
alias Ecto.{Changeset, UUID}
|
alias Ecto.{Changeset, UUID}
|
||||||
alias Memex.{Accounts.User, Repo}
|
alias Memex.{Accounts.User, Repo}
|
||||||
|
|
||||||
@ -62,7 +62,8 @@ defmodule Memex.Notes.Note do
|
|||||||
end
|
end
|
||||||
|
|
||||||
@spec update_changeset(t(), attrs :: map(), User.t()) :: changeset()
|
@spec update_changeset(t(), attrs :: map(), User.t()) :: changeset()
|
||||||
def update_changeset(%{user_id: user_id} = note, attrs, %User{id: user_id}) do
|
def update_changeset(%__MODULE__{} = note, attrs, %User{id: user_id})
|
||||||
|
when user_id |> is_binary() do
|
||||||
note
|
note
|
||||||
|> cast(attrs, [:slug, :content, :tags, :visibility])
|
|> cast(attrs, [:slug, :content, :tags, :visibility])
|
||||||
|> cast_tags_string(attrs)
|
|> cast_tags_string(attrs)
|
||||||
|
@ -22,16 +22,17 @@ defmodule Memex.Pipelines do
|
|||||||
@spec list_pipelines(search :: String.t() | nil, User.t()) :: [Pipeline.t()]
|
@spec list_pipelines(search :: String.t() | nil, User.t()) :: [Pipeline.t()]
|
||||||
def list_pipelines(search \\ nil, user)
|
def list_pipelines(search \\ nil, user)
|
||||||
|
|
||||||
def list_pipelines(search, %{id: user_id}) when search |> is_nil() or search == "" do
|
def list_pipelines(search, %{id: user_id})
|
||||||
Repo.all(from p in Pipeline, where: p.user_id == ^user_id, order_by: p.slug)
|
when user_id |> is_binary() and search in [nil, ""] do
|
||||||
|
Repo.all(from p in Pipeline, order_by: p.slug)
|
||||||
end
|
end
|
||||||
|
|
||||||
def list_pipelines(search, %{id: user_id}) when search |> is_binary() do
|
def list_pipelines(search, %{id: user_id})
|
||||||
|
when user_id |> is_binary() and search |> is_binary() do
|
||||||
trimmed_search = String.trim(search)
|
trimmed_search = String.trim(search)
|
||||||
|
|
||||||
Repo.all(
|
Repo.all(
|
||||||
from p in Pipeline,
|
from p in Pipeline,
|
||||||
where: p.user_id == ^user_id,
|
|
||||||
where:
|
where:
|
||||||
fragment(
|
fragment(
|
||||||
"search @@ websearch_to_tsquery('english', ?)",
|
"search @@ websearch_to_tsquery('english', ?)",
|
||||||
@ -62,7 +63,7 @@ defmodule Memex.Pipelines do
|
|||||||
@spec list_public_pipelines(search :: String.t() | nil) :: [Pipeline.t()]
|
@spec list_public_pipelines(search :: String.t() | nil) :: [Pipeline.t()]
|
||||||
def list_public_pipelines(search \\ nil)
|
def list_public_pipelines(search \\ nil)
|
||||||
|
|
||||||
def list_public_pipelines(search) when search |> is_nil() or search == "" do
|
def list_public_pipelines(search) when search in [nil, ""] do
|
||||||
Repo.all(from p in Pipeline, where: p.visibility == :public, order_by: p.slug)
|
Repo.all(from p in Pipeline, where: p.visibility == :public, order_by: p.slug)
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -102,12 +103,8 @@ defmodule Memex.Pipelines do
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
@spec get_pipeline!(Pipeline.id(), User.t()) :: Pipeline.t()
|
@spec get_pipeline!(Pipeline.id(), User.t()) :: Pipeline.t()
|
||||||
def get_pipeline!(id, %{id: user_id}) do
|
def get_pipeline!(id, %{id: user_id}) when user_id |> is_binary() do
|
||||||
Repo.one!(
|
Repo.one!(from p in Pipeline, where: p.id == ^id)
|
||||||
from p in Pipeline,
|
|
||||||
where: p.id == ^id,
|
|
||||||
where: p.user_id == ^user_id or p.visibility in [:public, :unlisted]
|
|
||||||
)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def get_pipeline!(id, _invalid_user) do
|
def get_pipeline!(id, _invalid_user) do
|
||||||
@ -133,12 +130,8 @@ defmodule Memex.Pipelines do
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
@spec get_pipeline_by_slug(Pipeline.slug(), User.t()) :: Pipeline.t() | nil
|
@spec get_pipeline_by_slug(Pipeline.slug(), User.t()) :: Pipeline.t() | nil
|
||||||
def get_pipeline_by_slug(slug, %{id: user_id}) do
|
def get_pipeline_by_slug(slug, %{id: user_id}) when user_id |> is_binary() do
|
||||||
Repo.one(
|
Repo.one(from p in Pipeline, where: p.slug == ^slug)
|
||||||
from p in Pipeline,
|
|
||||||
where: p.slug == ^slug,
|
|
||||||
where: p.user_id == ^user_id or p.visibility in [:public, :unlisted]
|
|
||||||
)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def get_pipeline_by_slug(slug, _invalid_user) do
|
def get_pipeline_by_slug(slug, _invalid_user) do
|
||||||
@ -149,6 +142,50 @@ defmodule Memex.Pipelines do
|
|||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@doc """
|
||||||
|
Returns the list of pipelines that link to a particular slug.
|
||||||
|
|
||||||
|
## Examples
|
||||||
|
|
||||||
|
iex> backlink(%User{id: 123})
|
||||||
|
[%Pipeline{}, ...]
|
||||||
|
|
||||||
|
iex> backlink("[other-pipeline]", %User{id: 123})
|
||||||
|
[%Pipeline{description: "[other-pipeline]"}, ...]
|
||||||
|
|
||||||
|
"""
|
||||||
|
@spec backlink(String.t(), User.t()) :: [Pipeline.t()]
|
||||||
|
def backlink(link, %{id: user_id}) when user_id |> is_binary() do
|
||||||
|
link = link |> String.replace("[", "\\[") |> String.replace("]", "\\]")
|
||||||
|
link_regex = "(^|[^\[])#{link}($|[^\]])"
|
||||||
|
|
||||||
|
Repo.all(
|
||||||
|
from p in Pipeline,
|
||||||
|
left_join: s in assoc(p, :steps),
|
||||||
|
where:
|
||||||
|
fragment("? ~ ?", p.description, ^link_regex) or
|
||||||
|
fragment("? ~ ?", s.content, ^link_regex),
|
||||||
|
distinct: true,
|
||||||
|
order_by: p.slug
|
||||||
|
)
|
||||||
|
end
|
||||||
|
|
||||||
|
def backlink(link, _invalid_user) do
|
||||||
|
link = link |> String.replace("[", "\\[") |> String.replace("]", "\\]")
|
||||||
|
link_regex = "(^|[^\[])#{link}($|[^\]])"
|
||||||
|
|
||||||
|
Repo.all(
|
||||||
|
from p in Pipeline,
|
||||||
|
left_join: s in assoc(p, :steps),
|
||||||
|
where:
|
||||||
|
fragment("? ~ ?", p.description, ^link_regex) or
|
||||||
|
fragment("? ~ ?", s.content, ^link_regex),
|
||||||
|
where: p.visibility == :public,
|
||||||
|
distinct: true,
|
||||||
|
order_by: p.slug
|
||||||
|
)
|
||||||
|
end
|
||||||
|
|
||||||
@doc """
|
@doc """
|
||||||
Creates a pipeline.
|
Creates a pipeline.
|
||||||
|
|
||||||
@ -193,23 +230,16 @@ defmodule Memex.Pipelines do
|
|||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
iex> delete_pipeline(%Pipeline{user_id: 123}, %User{id: 123})
|
|
||||||
{:ok, %Pipeline{}}
|
|
||||||
|
|
||||||
iex> delete_pipeline(%Pipeline{}, %User{role: :admin})
|
|
||||||
{:ok, %Pipeline{}}
|
|
||||||
|
|
||||||
iex> delete_pipeline(%Pipeline{}, %User{id: 123})
|
iex> delete_pipeline(%Pipeline{}, %User{id: 123})
|
||||||
|
{:ok, %Pipeline{}}
|
||||||
|
|
||||||
|
iex> delete_pipeline(%Pipeline{}, nil)
|
||||||
{:error, %Ecto.Changeset{}}
|
{:error, %Ecto.Changeset{}}
|
||||||
|
|
||||||
"""
|
"""
|
||||||
@spec delete_pipeline(Pipeline.t(), User.t()) ::
|
@spec delete_pipeline(Pipeline.t(), User.t()) ::
|
||||||
{:ok, Pipeline.t()} | {:error, Pipeline.changeset()}
|
{:ok, Pipeline.t()} | {:error, Pipeline.changeset()}
|
||||||
def delete_pipeline(%Pipeline{user_id: user_id} = pipeline, %{id: user_id}) do
|
def delete_pipeline(%Pipeline{} = pipeline, %{id: user_id}) when user_id |> is_binary() do
|
||||||
pipeline |> Repo.delete()
|
|
||||||
end
|
|
||||||
|
|
||||||
def delete_pipeline(%Pipeline{} = pipeline, %{role: :admin}) do
|
|
||||||
pipeline |> Repo.delete()
|
pipeline |> Repo.delete()
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -230,13 +260,4 @@ defmodule Memex.Pipelines do
|
|||||||
def change_pipeline(%Pipeline{} = pipeline, attrs \\ %{}, user) do
|
def change_pipeline(%Pipeline{} = pipeline, attrs \\ %{}, user) do
|
||||||
pipeline |> Pipeline.update_changeset(attrs, user)
|
pipeline |> Pipeline.update_changeset(attrs, user)
|
||||||
end
|
end
|
||||||
|
|
||||||
@spec owner_or_admin?(Pipeline.t(), User.t()) :: boolean()
|
|
||||||
def owner_or_admin?(%{user_id: user_id}, %{id: user_id}), do: true
|
|
||||||
def owner_or_admin?(_context, %{role: :admin}), do: true
|
|
||||||
def owner_or_admin?(_context, _other_user), do: false
|
|
||||||
|
|
||||||
@spec owner?(Pipeline.t(), User.t()) :: boolean()
|
|
||||||
def owner?(%{user_id: user_id}, %{id: user_id}), do: true
|
|
||||||
def owner?(_context, _other_user), do: false
|
|
||||||
end
|
end
|
||||||
|
@ -3,8 +3,8 @@ defmodule Memex.Pipelines.Pipeline do
|
|||||||
Represents a chain of considerations to take to accomplish a task
|
Represents a chain of considerations to take to accomplish a task
|
||||||
"""
|
"""
|
||||||
use Ecto.Schema
|
use Ecto.Schema
|
||||||
|
use Gettext, backend: MemexWeb.Gettext
|
||||||
import Ecto.Changeset
|
import Ecto.Changeset
|
||||||
import MemexWeb.Gettext
|
|
||||||
alias Ecto.{Changeset, UUID}
|
alias Ecto.{Changeset, UUID}
|
||||||
alias Memex.{Accounts.User, Pipelines.Steps.Step, Repo}
|
alias Memex.{Accounts.User, Pipelines.Steps.Step, Repo}
|
||||||
|
|
||||||
@ -65,7 +65,8 @@ defmodule Memex.Pipelines.Pipeline do
|
|||||||
end
|
end
|
||||||
|
|
||||||
@spec update_changeset(t(), attrs :: map(), User.t()) :: changeset()
|
@spec update_changeset(t(), attrs :: map(), User.t()) :: changeset()
|
||||||
def update_changeset(%{user_id: user_id} = pipeline, attrs, %User{id: user_id}) do
|
def update_changeset(%__MODULE__{} = pipeline, attrs, %User{id: user_id})
|
||||||
|
when user_id |> is_binary() do
|
||||||
pipeline
|
pipeline
|
||||||
|> cast(attrs, [:slug, :description, :tags, :visibility])
|
|> cast(attrs, [:slug, :description, :tags, :visibility])
|
||||||
|> cast_tags_string(attrs)
|
|> cast_tags_string(attrs)
|
||||||
|
@ -44,9 +44,12 @@ defmodule Memex.Pipelines.Steps.Step do
|
|||||||
@doc false
|
@doc false
|
||||||
@spec create_changeset(attrs :: map(), position :: non_neg_integer(), Pipeline.t(), User.t()) ::
|
@spec create_changeset(attrs :: map(), position :: non_neg_integer(), Pipeline.t(), User.t()) ::
|
||||||
changeset()
|
changeset()
|
||||||
def create_changeset(attrs, position, %Pipeline{id: pipeline_id, user_id: user_id}, %User{
|
def create_changeset(
|
||||||
id: user_id
|
attrs,
|
||||||
}) do
|
position,
|
||||||
|
%Pipeline{id: pipeline_id, user_id: user_id},
|
||||||
|
%User{id: user_id}
|
||||||
|
) do
|
||||||
%__MODULE__{}
|
%__MODULE__{}
|
||||||
|> cast(attrs, [:title, :content])
|
|> cast(attrs, [:title, :content])
|
||||||
|> change(pipeline_id: pipeline_id, user_id: user_id, position: position)
|
|> change(pipeline_id: pipeline_id, user_id: user_id, position: position)
|
||||||
@ -55,22 +58,16 @@ defmodule Memex.Pipelines.Steps.Step do
|
|||||||
|
|
||||||
@spec update_changeset(t(), attrs :: map(), User.t()) ::
|
@spec update_changeset(t(), attrs :: map(), User.t()) ::
|
||||||
changeset()
|
changeset()
|
||||||
def update_changeset(
|
def update_changeset(%__MODULE__{} = step, attrs, %User{id: user_id})
|
||||||
%{user_id: user_id} = step,
|
when user_id |> is_binary() do
|
||||||
attrs,
|
|
||||||
%User{id: user_id}
|
|
||||||
) do
|
|
||||||
step
|
step
|
||||||
|> cast(attrs, [:title, :content])
|
|> cast(attrs, [:title, :content])
|
||||||
|> validate_required([:title, :user_id, :position])
|
|> validate_required([:title, :user_id, :position])
|
||||||
end
|
end
|
||||||
|
|
||||||
@spec position_changeset(t(), position :: non_neg_integer(), User.t()) :: changeset()
|
@spec position_changeset(t(), position :: non_neg_integer(), User.t()) :: changeset()
|
||||||
def position_changeset(
|
def position_changeset(%__MODULE__{} = step, position, %User{id: user_id})
|
||||||
%{user_id: user_id} = step,
|
when user_id |> is_binary() do
|
||||||
position,
|
|
||||||
%User{id: user_id}
|
|
||||||
) do
|
|
||||||
step
|
step
|
||||||
|> change(position: position)
|
|> change(position: position)
|
||||||
|> validate_required([:title, :user_id, :position])
|
|> validate_required([:title, :user_id, :position])
|
||||||
|
@ -21,11 +21,10 @@ defmodule Memex.Pipelines.Steps do
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
@spec list_steps(Pipeline.t(), User.t()) :: [Step.t()]
|
@spec list_steps(Pipeline.t(), User.t()) :: [Step.t()]
|
||||||
def list_steps(%{id: pipeline_id}, %{id: user_id}) do
|
def list_steps(%{id: pipeline_id}, %{id: user_id}) when user_id |> is_binary() do
|
||||||
Repo.all(
|
Repo.all(
|
||||||
from s in Step,
|
from s in Step,
|
||||||
where: s.pipeline_id == ^pipeline_id,
|
where: s.pipeline_id == ^pipeline_id,
|
||||||
where: s.user_id == ^user_id,
|
|
||||||
order_by: s.position
|
order_by: s.position
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
@ -62,8 +61,8 @@ defmodule Memex.Pipelines.Steps do
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
@spec get_step!(Step.id(), User.t()) :: Step.t()
|
@spec get_step!(Step.id(), User.t()) :: Step.t()
|
||||||
def get_step!(id, %{id: user_id}) do
|
def get_step!(id, %{id: user_id}) when user_id |> is_binary() do
|
||||||
Repo.one!(from n in Step, where: n.id == ^id, where: n.user_id == ^user_id)
|
Repo.one!(from n in Step, where: n.id == ^id)
|
||||||
end
|
end
|
||||||
|
|
||||||
def get_step!(id, _invalid_user) do
|
def get_step!(id, _invalid_user) do
|
||||||
@ -119,22 +118,15 @@ defmodule Memex.Pipelines.Steps do
|
|||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
iex> delete_step(%Step{user_id: 123}, %User{id: 123})
|
|
||||||
{:ok, %Step{}}
|
|
||||||
|
|
||||||
iex> delete_step(%Step{}, %User{role: :admin})
|
|
||||||
{:ok, %Step{}}
|
|
||||||
|
|
||||||
iex> delete_step(%Step{}, %User{id: 123})
|
iex> delete_step(%Step{}, %User{id: 123})
|
||||||
|
{:ok, %Step{}}
|
||||||
|
|
||||||
|
iex> delete_step(%Step{}, nil)
|
||||||
{:error, %Ecto.Changeset{}}
|
{:error, %Ecto.Changeset{}}
|
||||||
|
|
||||||
"""
|
"""
|
||||||
@spec delete_step(Step.t(), User.t()) :: {:ok, Step.t()} | {:error, Step.changeset()}
|
@spec delete_step(Step.t(), User.t()) :: {:ok, Step.t()} | {:error, Step.changeset()}
|
||||||
def delete_step(%Step{user_id: user_id} = step, %{id: user_id}) do
|
def delete_step(%Step{} = step, %{id: user_id}) when user_id |> is_binary() do
|
||||||
delete_step(step)
|
|
||||||
end
|
|
||||||
|
|
||||||
def delete_step(%Step{} = step, %{role: :admin}) do
|
|
||||||
delete_step(step)
|
delete_step(step)
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -181,10 +173,11 @@ defmodule Memex.Pipelines.Steps do
|
|||||||
def reorder_step(%Step{position: 0} = step, :up, _user), do: {:error, step}
|
def reorder_step(%Step{position: 0} = step, :up, _user), do: {:error, step}
|
||||||
|
|
||||||
def reorder_step(
|
def reorder_step(
|
||||||
%Step{position: position, pipeline_id: pipeline_id, user_id: user_id} = step,
|
%Step{position: position, pipeline_id: pipeline_id} = step,
|
||||||
:up,
|
:up,
|
||||||
%{id: user_id} = user
|
%{id: user_id} = user
|
||||||
) do
|
)
|
||||||
|
when user_id |> is_binary() do
|
||||||
Multi.new()
|
Multi.new()
|
||||||
|> Multi.update_all(
|
|> Multi.update_all(
|
||||||
:reorder_steps,
|
:reorder_steps,
|
||||||
@ -207,10 +200,11 @@ defmodule Memex.Pipelines.Steps do
|
|||||||
end
|
end
|
||||||
|
|
||||||
def reorder_step(
|
def reorder_step(
|
||||||
%Step{pipeline_id: pipeline_id, position: position, user_id: user_id} = step,
|
%Step{pipeline_id: pipeline_id, position: position} = step,
|
||||||
:down,
|
:down,
|
||||||
%{id: user_id} = user
|
%{id: user_id} = user
|
||||||
) do
|
)
|
||||||
|
when user_id |> is_binary() do
|
||||||
Multi.new()
|
Multi.new()
|
||||||
|> Multi.one(
|
|> Multi.one(
|
||||||
:step_count,
|
:step_count,
|
||||||
|
@ -42,9 +42,10 @@ defmodule MemexWeb do
|
|||||||
formats: [:html, :json],
|
formats: [:html, :json],
|
||||||
layouts: [html: MemexWeb.Layouts]
|
layouts: [html: MemexWeb.Layouts]
|
||||||
|
|
||||||
# credo:disable-for-next-line Credo.Check.Consistency.MultiAliasImportRequireUse
|
use Gettext, backend: MemexWeb.Gettext
|
||||||
|
|
||||||
|
import MemexWeb.ControllerHelpers
|
||||||
import Plug.Conn
|
import Plug.Conn
|
||||||
import MemexWeb.Gettext
|
|
||||||
|
|
||||||
unquote(verified_routes())
|
unquote(verified_routes())
|
||||||
end
|
end
|
||||||
@ -84,8 +85,9 @@ defmodule MemexWeb do
|
|||||||
defp html_helpers do
|
defp html_helpers do
|
||||||
quote do
|
quote do
|
||||||
use PhoenixHTMLHelpers
|
use PhoenixHTMLHelpers
|
||||||
|
use Gettext, backend: MemexWeb.Gettext
|
||||||
import Phoenix.{Component, HTML, HTML.Form}
|
import Phoenix.{Component, HTML, HTML.Form}
|
||||||
import MemexWeb.{ErrorHelpers, Gettext, CoreComponents, HTMLHelpers}
|
import MemexWeb.{ErrorHelpers, CoreComponents, HTMLHelpers}
|
||||||
|
|
||||||
# Shortcut for generating JS commands
|
# Shortcut for generating JS commands
|
||||||
alias Phoenix.LiveView.JS
|
alias Phoenix.LiveView.JS
|
||||||
|
@ -37,7 +37,7 @@ defmodule MemexWeb.Components.ContextsTableComponent do
|
|||||||
} = socket
|
} = socket
|
||||||
) do
|
) do
|
||||||
columns =
|
columns =
|
||||||
if actions == [] or current_user |> is_nil() do
|
if actions == [] or !current_user do
|
||||||
[]
|
[]
|
||||||
else
|
else
|
||||||
[%{label: gettext("actions"), key: :actions, sortable: false}]
|
[%{label: gettext("actions"), key: :actions, sortable: false}]
|
||||||
|
@ -5,7 +5,8 @@ defmodule MemexWeb.CoreComponents do
|
|||||||
use PhoenixHTMLHelpers
|
use PhoenixHTMLHelpers
|
||||||
use Phoenix.Component
|
use Phoenix.Component
|
||||||
use MemexWeb, :verified_routes
|
use MemexWeb, :verified_routes
|
||||||
import MemexWeb.{Gettext, HTMLHelpers}
|
use Gettext, backend: MemexWeb.Gettext
|
||||||
|
import MemexWeb.HTMLHelpers
|
||||||
alias Memex.{Accounts, Accounts.Invite, Accounts.User}
|
alias Memex.{Accounts, Accounts.Invite, Accounts.User}
|
||||||
alias Memex.Contexts.Context
|
alias Memex.Contexts.Context
|
||||||
alias Memex.Notes.Note
|
alias Memex.Notes.Note
|
||||||
@ -138,6 +139,8 @@ defmodule MemexWeb.CoreComponents do
|
|||||||
defp display_links(record) do
|
defp display_links(record) do
|
||||||
record
|
record
|
||||||
|> get_content()
|
|> get_content()
|
||||||
|
|> Phoenix.HTML.html_escape()
|
||||||
|
|> Phoenix.HTML.safe_to_string()
|
||||||
|> replace_hyperlinks(record)
|
|> replace_hyperlinks(record)
|
||||||
|> replace_triple_links(record)
|
|> replace_triple_links(record)
|
||||||
|> replace_double_links(record)
|
|> replace_double_links(record)
|
||||||
@ -167,14 +170,14 @@ defmodule MemexWeb.CoreComponents do
|
|||||||
link(
|
link(
|
||||||
link,
|
link,
|
||||||
to: link,
|
to: link,
|
||||||
class: "link inline",
|
class: "link inline break-words",
|
||||||
target: "_blank",
|
target: "_blank",
|
||||||
rel: "noopener noreferrer"
|
rel: "noopener noreferrer"
|
||||||
)
|
)
|
||||||
|> HTML.Safe.to_iodata()
|
|> HTML.Safe.to_iodata()
|
||||||
|> IO.iodata_to_binary()
|
|> IO.iodata_to_binary()
|
||||||
|
|
||||||
"</p>#{link}<p class=\"inline\">"
|
"</p>#{link}<p class=\"inline break-words\">"
|
||||||
end
|
end
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
@ -189,12 +192,12 @@ defmodule MemexWeb.CoreComponents do
|
|||||||
link(
|
link(
|
||||||
"[[[#{slug}]]]",
|
"[[[#{slug}]]]",
|
||||||
to: ~p"/note/#{slug}",
|
to: ~p"/note/#{slug}",
|
||||||
class: "link inline"
|
class: "link inline break-words"
|
||||||
)
|
)
|
||||||
|> HTML.Safe.to_iodata()
|
|> HTML.Safe.to_iodata()
|
||||||
|> IO.iodata_to_binary()
|
|> IO.iodata_to_binary()
|
||||||
|
|
||||||
"#{prefix}</p>#{link}<p class=\"inline\">#{suffix}"
|
"#{prefix}</p>#{link}<p class=\"inline break-words\">#{suffix}"
|
||||||
end
|
end
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
@ -216,12 +219,12 @@ defmodule MemexWeb.CoreComponents do
|
|||||||
link(
|
link(
|
||||||
"[[#{slug}]]",
|
"[[#{slug}]]",
|
||||||
to: target,
|
to: target,
|
||||||
class: "link inline"
|
class: "link inline break-words"
|
||||||
)
|
)
|
||||||
|> HTML.Safe.to_iodata()
|
|> HTML.Safe.to_iodata()
|
||||||
|> IO.iodata_to_binary()
|
|> IO.iodata_to_binary()
|
||||||
|
|
||||||
"#{prefix}</p>#{link}<p class=\"inline\">#{suffix}"
|
"#{prefix}</p>#{link}<p class=\"inline break-words\">#{suffix}"
|
||||||
end
|
end
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
@ -244,12 +247,12 @@ defmodule MemexWeb.CoreComponents do
|
|||||||
link(
|
link(
|
||||||
"[#{slug}]",
|
"[#{slug}]",
|
||||||
to: target,
|
to: target,
|
||||||
class: "link inline"
|
class: "link inline break-words"
|
||||||
)
|
)
|
||||||
|> HTML.Safe.to_iodata()
|
|> HTML.Safe.to_iodata()
|
||||||
|> IO.iodata_to_binary()
|
|> IO.iodata_to_binary()
|
||||||
|
|
||||||
"#{prefix}</p>#{link}<p class=\"inline\">#{suffix}"
|
"#{prefix}</p>#{link}<p class=\"inline break-words\">#{suffix}"
|
||||||
end
|
end
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
<div
|
<div
|
||||||
:if={@context.content}
|
:if={@context.content}
|
||||||
id={"show-context-content-#{@context.id}"}
|
id={"show-context-content-#{@context.id}"}
|
||||||
class="input input-primary h-128 min-h-128 inline-block whitespace-pre-wrap overflow-x-hidden overflow-y-auto resize-y"
|
class="inline-block overflow-y-auto overflow-x-hidden whitespace-pre-wrap resize-y input input-primary h-128 min-h-128"
|
||||||
phx-update="ignore"
|
phx-update="ignore"
|
||||||
readonly
|
readonly
|
||||||
phx-no-format
|
phx-no-format
|
||||||
><p class="inline"><%= display_links(@context) %></p></div>
|
><p class="inline"><%= display_links(@context) %></p></div>
|
||||||
|
<div :if={!@context.content} class="text-sm italic text-center text-gray-600">
|
||||||
|
<%= gettext("(This context is empty)") %>
|
||||||
|
</div>
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
<div class="px-8 py-4 flex flex-col justify-center items-center space-y-4
|
<div class="flex flex-col justify-center items-center px-8 py-4 space-y-4 rounded-lg border border-gray-400 shadow-lg transition-all duration-300 ease-in-out bg-primary-900 hover:shadow-md">
|
||||||
bg-primary-900
|
<h1 class="text-xl title">
|
||||||
border border-gray-400 rounded-lg shadow-lg hover:shadow-md
|
|
||||||
transition-all duration-300 ease-in-out">
|
|
||||||
<h1 class="title text-xl">
|
|
||||||
<%= @invite.name %>
|
<%= @invite.name %>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<%= if @invite.disabled_at |> is_nil() do %>
|
<%= if @invite.disabled_at do %>
|
||||||
|
<h2 class="title text-md">
|
||||||
|
<%= gettext("invite disabled") %>
|
||||||
|
</h2>
|
||||||
|
<% else %>
|
||||||
<h2 class="title text-md">
|
<h2 class="title text-md">
|
||||||
<%= if @invite.uses_left do %>
|
<%= if @invite.uses_left do %>
|
||||||
<%= gettext(
|
<%= gettext(
|
||||||
@ -17,10 +18,6 @@
|
|||||||
<%= gettext("uses left: unlimited") %>
|
<%= gettext("uses left: unlimited") %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</h2>
|
</h2>
|
||||||
<% else %>
|
|
||||||
<h2 class="title text-md">
|
|
||||||
<%= gettext("invite disabled") %>
|
|
||||||
</h2>
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<.qr_code
|
<.qr_code
|
||||||
@ -35,14 +32,13 @@
|
|||||||
<div class="flex flex-row flex-wrap justify-center items-center">
|
<div class="flex flex-row flex-wrap justify-center items-center">
|
||||||
<code
|
<code
|
||||||
id={"code-#{@invite.id}"}
|
id={"code-#{@invite.id}"}
|
||||||
class="mx-2 my-1 text-xs px-4 py-2 rounded-lg text-center break-all
|
class="px-4 py-2 mx-2 my-1 text-xs text-center break-all rounded-lg text-primary-400 bg-primary-800"
|
||||||
text-primary-400 bg-primary-800"
|
|
||||||
phx-no-format
|
phx-no-format
|
||||||
><%= url(MemexWeb.Endpoint, ~p"/users/register?invite=#{@invite.token}") %></code>
|
><%= url(MemexWeb.Endpoint, ~p"/users/register?invite=#{@invite.token}") %></code>
|
||||||
<%= if @code_actions, do: render_slot(@code_actions) %>
|
<%= if @code_actions, do: render_slot(@code_actions) %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div :if={@inner_block} class="flex space-x-4 justify-center items-center">
|
<div :if={@inner_block} class="flex justify-center items-center space-x-4">
|
||||||
<%= render_slot(@inner_block) %>
|
<%= render_slot(@inner_block) %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
<div
|
<div
|
||||||
:if={@note.content}
|
:if={@note.content}
|
||||||
id={"show-note-content-#{@note.id}"}
|
id={"show-note-content-#{@note.id}"}
|
||||||
class="input input-primary h-128 min-h-128 inline-block whitespace-pre-wrap overflow-x-hidden overflow-y-auto resize-y"
|
class="inline-block overflow-y-auto overflow-x-hidden whitespace-pre-wrap resize-y input input-primary h-128 min-h-128"
|
||||||
phx-update="ignore"
|
phx-update="ignore"
|
||||||
readonly
|
readonly
|
||||||
phx-no-format
|
phx-no-format
|
||||||
><p class="inline"><%= display_links(@note) %></p></div>
|
><p class="inline"><%= display_links(@note) %></p></div>
|
||||||
|
<div :if={!@note.content} class="text-sm italic text-center text-gray-600">
|
||||||
|
<%= gettext("(This note is empty)") %>
|
||||||
|
</div>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<div
|
<div
|
||||||
:if={@pipeline.description}
|
:if={@pipeline.description}
|
||||||
id={"show-pipeline-description-#{@pipeline.id}"}
|
id={"show-pipeline-description-#{@pipeline.id}"}
|
||||||
class="input input-primary h-32 min-h-32 inline-block whitespace-pre-wrap overflow-x-hidden overflow-y-auto resize-y"
|
class="inline-block overflow-y-auto overflow-x-hidden h-32 whitespace-pre-wrap resize-y input input-primary min-h-32"
|
||||||
phx-update="ignore"
|
phx-update="ignore"
|
||||||
readonly
|
readonly
|
||||||
phx-no-format
|
phx-no-format
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<div
|
<div
|
||||||
:if={@step.content}
|
:if={@step.content}
|
||||||
id={"show-step-content-#{@step.id}"}
|
id={"show-step-content-#{@step.id}"}
|
||||||
class="input input-primary h-32 min-h-32 inline-block whitespace-pre-wrap overflow-x-hidden overflow-y-auto resize-y"
|
class="inline-block overflow-y-auto overflow-x-hidden h-32 whitespace-pre-wrap resize-y input input-primary min-h-32"
|
||||||
phx-update="ignore"
|
phx-update="ignore"
|
||||||
readonly
|
readonly
|
||||||
phx-no-format
|
phx-no-format
|
||||||
|
@ -37,7 +37,7 @@ defmodule MemexWeb.Components.NotesTableComponent do
|
|||||||
} = socket
|
} = socket
|
||||||
) do
|
) do
|
||||||
columns =
|
columns =
|
||||||
if actions == [] or current_user |> is_nil() do
|
if actions == [] or !current_user do
|
||||||
[]
|
[]
|
||||||
else
|
else
|
||||||
[%{label: gettext("actions"), key: :actions, sortable: false}]
|
[%{label: gettext("actions"), key: :actions, sortable: false}]
|
||||||
|
@ -37,7 +37,7 @@ defmodule MemexWeb.Components.PipelinesTableComponent do
|
|||||||
} = socket
|
} = socket
|
||||||
) do
|
) do
|
||||||
columns =
|
columns =
|
||||||
if actions == [] or current_user |> is_nil() do
|
if actions == [] or !current_user do
|
||||||
[]
|
[]
|
||||||
else
|
else
|
||||||
[%{label: gettext("actions"), key: :actions, sortable: false}]
|
[%{label: gettext("actions"), key: :actions, sortable: false}]
|
||||||
@ -101,7 +101,7 @@ defmodule MemexWeb.Components.PipelinesTableComponent do
|
|||||||
|
|
||||||
defp get_value_for_key(:description, %{description: description} = assigns, _additional_data) do
|
defp get_value_for_key(:description, %{description: description} = assigns, _additional_data) do
|
||||||
description_block = ~H"""
|
description_block = ~H"""
|
||||||
<div class="truncate max-w-sm">
|
<div class="max-w-sm truncate">
|
||||||
<%= @description %>
|
<%= @description %>
|
||||||
</div>
|
</div>
|
||||||
"""
|
"""
|
||||||
|
13
lib/memex_web/controller_helpers.ex
Normal file
13
lib/memex_web/controller_helpers.ex
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
defmodule MemexWeb.ControllerHelpers do
|
||||||
|
@moduledoc """
|
||||||
|
Implements controller helpers
|
||||||
|
"""
|
||||||
|
|
||||||
|
import Plug.Conn, only: [assign: 3]
|
||||||
|
|
||||||
|
def assign(conn, assigns) do
|
||||||
|
assigns
|
||||||
|
|> Map.new()
|
||||||
|
|> Enum.reduce(conn, fn {key, value}, conn -> conn |> assign(key, value) end)
|
||||||
|
end
|
||||||
|
end
|
@ -1,5 +1,5 @@
|
|||||||
defmodule MemexWeb.ErrorJSON do
|
defmodule MemexWeb.ErrorJSON do
|
||||||
import MemexWeb.Gettext
|
use Gettext, backend: MemexWeb.Gettext
|
||||||
|
|
||||||
def render(template, _assigns) do
|
def render(template, _assigns) do
|
||||||
error_string =
|
error_string =
|
||||||
|
@ -4,9 +4,9 @@ defmodule MemexWeb.UserAuth do
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
use MemexWeb, :verified_routes
|
use MemexWeb, :verified_routes
|
||||||
|
use Gettext, backend: MemexWeb.Gettext
|
||||||
import Plug.Conn
|
import Plug.Conn
|
||||||
import Phoenix.Controller
|
import Phoenix.Controller
|
||||||
import MemexWeb.Gettext
|
|
||||||
alias Memex.{Accounts, Accounts.User}
|
alias Memex.{Accounts, Accounts.User}
|
||||||
|
|
||||||
# Make the remember me cookie valid for 60 days.
|
# Make the remember me cookie valid for 60 days.
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
defmodule MemexWeb.UserConfirmationController do
|
defmodule MemexWeb.UserConfirmationController do
|
||||||
use MemexWeb, :controller
|
use MemexWeb, :controller
|
||||||
|
use Gettext, backend: MemexWeb.Gettext
|
||||||
import MemexWeb.Gettext
|
|
||||||
alias Memex.Accounts
|
alias Memex.Accounts
|
||||||
|
|
||||||
def new(conn, _params) do
|
def new(conn, _params) do
|
||||||
@ -43,7 +42,7 @@ defmodule MemexWeb.UserConfirmationController do
|
|||||||
# by some automation or by the user themselves, so we redirect without
|
# by some automation or by the user themselves, so we redirect without
|
||||||
# a warning message.
|
# a warning message.
|
||||||
case conn.assigns do
|
case conn.assigns do
|
||||||
%{current_user: %{confirmed_at: confirmed_at}} when not is_nil(confirmed_at) ->
|
%{current_user: %{confirmed_at: %{}}} ->
|
||||||
redirect(conn, to: ~p"/")
|
redirect(conn, to: ~p"/")
|
||||||
|
|
||||||
%{} ->
|
%{} ->
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
defmodule MemexWeb.UserRegistrationController do
|
defmodule MemexWeb.UserRegistrationController do
|
||||||
use MemexWeb, :controller
|
use MemexWeb, :controller
|
||||||
import MemexWeb.Gettext
|
use Gettext, backend: MemexWeb.Gettext
|
||||||
alias Ecto.Changeset
|
alias Ecto.Changeset
|
||||||
alias Memex.{Accounts, Accounts.Invites}
|
alias Memex.{Accounts, Accounts.Invites}
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ defmodule MemexWeb.UserResetPasswordController do
|
|||||||
# leaked token giving the user access to the account.
|
# leaked token giving the user access to the account.
|
||||||
def update(conn, %{"user" => user_params}) do
|
def update(conn, %{"user" => user_params}) do
|
||||||
case Accounts.reset_user_password(conn.assigns.user, user_params) do
|
case Accounts.reset_user_password(conn.assigns.user, user_params) do
|
||||||
{:ok, _} ->
|
{:ok, _user} ->
|
||||||
conn
|
conn
|
||||||
|> put_flash(:info, dgettext("prompts", "password reset successfully."))
|
|> put_flash(:info, dgettext("prompts", "password reset successfully."))
|
||||||
|> redirect(to: ~p"/users/log_in")
|
|> redirect(to: ~p"/users/log_in")
|
||||||
@ -54,7 +54,7 @@ defmodule MemexWeb.UserResetPasswordController do
|
|||||||
%{"token" => token} = conn.params
|
%{"token" => token} = conn.params
|
||||||
|
|
||||||
if user = Accounts.get_user_by_reset_password_token(token) do
|
if user = Accounts.get_user_by_reset_password_token(token) do
|
||||||
conn |> assign(:user, user) |> assign(:token, token)
|
conn |> assign(user: user, token: token)
|
||||||
else
|
else
|
||||||
conn
|
conn
|
||||||
|> put_flash(
|
|> put_flash(
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
defmodule MemexWeb.UserSettingsController do
|
defmodule MemexWeb.UserSettingsController do
|
||||||
use MemexWeb, :controller
|
use MemexWeb, :controller
|
||||||
import MemexWeb.Gettext
|
use Gettext, backend: MemexWeb.Gettext
|
||||||
alias Memex.Accounts
|
alias Memex.Accounts
|
||||||
alias MemexWeb.UserAuth
|
alias MemexWeb.UserAuth
|
||||||
|
|
||||||
@ -103,8 +103,10 @@ defmodule MemexWeb.UserSettingsController do
|
|||||||
|
|
||||||
defp assign_email_and_password_changesets(%{assigns: %{current_user: user}} = conn, _opts) do
|
defp assign_email_and_password_changesets(%{assigns: %{current_user: user}} = conn, _opts) do
|
||||||
conn
|
conn
|
||||||
|> assign(:email_changeset, Accounts.change_user_email(user))
|
|> assign(
|
||||||
|> assign(:password_changeset, Accounts.change_user_password(user))
|
email_changeset: Accounts.change_user_email(user),
|
||||||
|> assign(:locale_changeset, Accounts.change_user_locale(user))
|
locale_changeset: Accounts.change_user_locale(user),
|
||||||
|
password_changeset: Accounts.change_user_password(user)
|
||||||
|
)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -5,7 +5,7 @@ defmodule MemexWeb.Gettext do
|
|||||||
By using [Gettext](https://hexdocs.pm/gettext),
|
By using [Gettext](https://hexdocs.pm/gettext),
|
||||||
your module gains a set of macros for translations, for example:
|
your module gains a set of macros for translations, for example:
|
||||||
|
|
||||||
import MemexWeb.Gettext
|
use Gettext, backend: MemexWeb.Gettext
|
||||||
|
|
||||||
# Simple translation
|
# Simple translation
|
||||||
gettext("Here is the string to translate")
|
gettext("Here is the string to translate")
|
||||||
@ -20,5 +20,5 @@ defmodule MemexWeb.Gettext do
|
|||||||
|
|
||||||
See the [Gettext Docs](https://hexdocs.pm/gettext) for detailed usage.
|
See the [Gettext Docs](https://hexdocs.pm/gettext) for detailed usage.
|
||||||
"""
|
"""
|
||||||
use Gettext, otp_app: :memex
|
use Gettext.Backend, otp_app: :memex
|
||||||
end
|
end
|
||||||
|
@ -69,7 +69,7 @@ defmodule MemexWeb.ContextLive.FormComponent do
|
|||||||
|> push_navigate(to: return_to)
|
|> push_navigate(to: return_to)
|
||||||
|
|
||||||
{:error, %Changeset{} = changeset} ->
|
{:error, %Changeset{} = changeset} ->
|
||||||
assign(socket, changeset: changeset)
|
assign(socket, :changeset, changeset)
|
||||||
end
|
end
|
||||||
|
|
||||||
{:noreply, socket}
|
{:noreply, socket}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<div class="h-full flex flex-col justify-start items-stretch space-y-4">
|
<div class="flex flex-col justify-start items-stretch space-y-4 h-full">
|
||||||
<.form
|
<.form
|
||||||
:let={f}
|
:let={f}
|
||||||
for={@changeset}
|
for={@changeset}
|
||||||
@ -14,7 +14,8 @@
|
|||||||
class: "input input-primary",
|
class: "input input-primary",
|
||||||
phx_debounce: 300,
|
phx_debounce: 300,
|
||||||
phx_hook: "SanitizeTitles",
|
phx_hook: "SanitizeTitles",
|
||||||
placeholder: gettext("slug")
|
placeholder: gettext("slug"),
|
||||||
|
required: true
|
||||||
) %>
|
) %>
|
||||||
<%= error_tag(f, :slug) %>
|
<%= error_tag(f, :slug) %>
|
||||||
|
|
||||||
|
@ -20,29 +20,37 @@ defmodule MemexWeb.ContextLive.Index do
|
|||||||
%{slug: slug} = context = Contexts.get_context_by_slug(slug, current_user)
|
%{slug: slug} = context = Contexts.get_context_by_slug(slug, current_user)
|
||||||
|
|
||||||
socket
|
socket
|
||||||
|> assign(page_title: gettext("edit %{slug}", slug: slug))
|
|> assign(
|
||||||
|> assign(context: context)
|
context: context,
|
||||||
|
page_title: gettext("edit %{slug}", slug: slug)
|
||||||
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
defp apply_action(%{assigns: %{current_user: %{id: current_user_id}}} = socket, :new, _params) do
|
defp apply_action(%{assigns: %{current_user: %{id: current_user_id}}} = socket, :new, _params) do
|
||||||
socket
|
socket
|
||||||
|> assign(page_title: gettext("new context"))
|
|> assign(
|
||||||
|> assign(context: %Context{visibility: :private, user_id: current_user_id})
|
context: %Context{visibility: :private, user_id: current_user_id},
|
||||||
|
page_title: gettext("new context")
|
||||||
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
defp apply_action(socket, :index, _params) do
|
defp apply_action(socket, :index, _params) do
|
||||||
socket
|
socket
|
||||||
|> assign(page_title: gettext("contexts"))
|
|> assign(
|
||||||
|> assign(search: nil)
|
context: nil,
|
||||||
|> assign(context: nil)
|
page_title: gettext("contexts"),
|
||||||
|
search: nil
|
||||||
|
)
|
||||||
|> display_contexts()
|
|> display_contexts()
|
||||||
end
|
end
|
||||||
|
|
||||||
defp apply_action(socket, :search, %{"search" => search}) do
|
defp apply_action(socket, :search, %{"search" => search}) do
|
||||||
socket
|
socket
|
||||||
|> assign(page_title: gettext("contexts"))
|
|> assign(
|
||||||
|> assign(search: search)
|
context: nil,
|
||||||
|> assign(context: nil)
|
page_title: gettext("contexts"),
|
||||||
|
search: search
|
||||||
|
)
|
||||||
|> display_contexts()
|
|> display_contexts()
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -68,8 +76,7 @@ defmodule MemexWeb.ContextLive.Index do
|
|||||||
{:noreply, socket |> push_patch(to: redirect_to)}
|
{:noreply, socket |> push_patch(to: redirect_to)}
|
||||||
end
|
end
|
||||||
|
|
||||||
defp display_contexts(%{assigns: %{current_user: current_user, search: search}} = socket)
|
defp display_contexts(%{assigns: %{current_user: %{} = current_user, search: search}} = socket) do
|
||||||
when not (current_user |> is_nil()) do
|
|
||||||
socket |> assign(contexts: Contexts.list_contexts(search, current_user))
|
socket |> assign(contexts: Contexts.list_contexts(search, current_user))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<div class="mx-auto flex flex-col justify-center items-start space-y-4 max-w-3xl">
|
<div class="flex flex-col justify-center items-start mx-auto space-y-4 max-w-3xl">
|
||||||
<h1 class="text-xl">
|
<h1 class="text-xl">
|
||||||
<%= gettext("contexts") %>
|
<%= gettext("contexts") %>
|
||||||
</h1>
|
</h1>
|
||||||
@ -9,7 +9,7 @@
|
|||||||
as={:search}
|
as={:search}
|
||||||
phx-change="search"
|
phx-change="search"
|
||||||
phx-submit="search"
|
phx-submit="search"
|
||||||
class="self-stretch flex flex-col items-stretch"
|
class="flex flex-col items-stretch self-stretch"
|
||||||
>
|
>
|
||||||
<%= text_input(f, :search_term,
|
<%= text_input(f, :search_term,
|
||||||
class: "input input-primary",
|
class: "input input-primary",
|
||||||
@ -33,14 +33,14 @@
|
|||||||
>
|
>
|
||||||
<:actions :let={context}>
|
<:actions :let={context}>
|
||||||
<.link
|
<.link
|
||||||
:if={Contexts.owner?(context, @current_user)}
|
:if={@current_user}
|
||||||
patch={~p"/contexts/#{context}/edit"}
|
patch={~p"/contexts/#{context}/edit"}
|
||||||
aria-label={dgettext("actions", "edit %{context_slug}", context_slug: context.slug)}
|
aria-label={dgettext("actions", "edit %{context_slug}", context_slug: context.slug)}
|
||||||
>
|
>
|
||||||
<%= dgettext("actions", "edit") %>
|
<%= dgettext("actions", "edit") %>
|
||||||
</.link>
|
</.link>
|
||||||
<.link
|
<.link
|
||||||
:if={Contexts.owner_or_admin?(context, @current_user)}
|
:if={@current_user}
|
||||||
href="#"
|
href="#"
|
||||||
phx-click="delete"
|
phx-click="delete"
|
||||||
phx-value-id={context.id}
|
phx-value-id={context.id}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
defmodule MemexWeb.ContextLive.Show do
|
defmodule MemexWeb.ContextLive.Show do
|
||||||
use MemexWeb, :live_view
|
use MemexWeb, :live_view
|
||||||
alias Memex.Contexts
|
alias Memex.{Contexts, Pipelines}
|
||||||
|
|
||||||
@impl true
|
@impl true
|
||||||
def mount(_params, _session, socket) do
|
def mount(_params, _session, socket) do
|
||||||
@ -21,8 +21,12 @@ defmodule MemexWeb.ContextLive.Show do
|
|||||||
|
|
||||||
socket =
|
socket =
|
||||||
socket
|
socket
|
||||||
|> assign(:page_title, page_title(live_action, context))
|
|> assign(
|
||||||
|> assign(:context, context)
|
context: context,
|
||||||
|
page_title: page_title(live_action, context),
|
||||||
|
context_backlinks: Contexts.backlink("[#{context.slug}]", current_user),
|
||||||
|
pipeline_backlinks: Pipelines.backlink("[[#{context.slug}]]", current_user)
|
||||||
|
)
|
||||||
|
|
||||||
{:noreply, socket}
|
{:noreply, socket}
|
||||||
end
|
end
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<div class="mx-auto flex flex-col justify-center items-stretch space-y-4 max-w-3xl">
|
<div class="flex flex-col justify-center items-stretch mx-auto space-y-4 max-w-3xl">
|
||||||
<h1 class="text-xl">
|
<h1 class="text-xl">
|
||||||
<%= @context.slug %>
|
<%= @context.slug %>
|
||||||
</h1>
|
</h1>
|
||||||
@ -11,20 +11,37 @@
|
|||||||
|
|
||||||
<.context_content context={@context} />
|
<.context_content context={@context} />
|
||||||
|
|
||||||
|
<div
|
||||||
|
:if={@context_backlinks ++ @pipeline_backlinks != []}
|
||||||
|
class="flex flex-wrap justify-end items-center self-end"
|
||||||
|
>
|
||||||
|
<p><%= gettext("Backlinked by:") %></p>
|
||||||
|
<.link
|
||||||
|
:for={backlink <- @context_backlinks}
|
||||||
|
class="m-1 hover:underline"
|
||||||
|
patch={~p"/context/#{backlink}"}
|
||||||
|
>
|
||||||
|
<%= gettext("[%{slug}]", slug: backlink.slug) %>
|
||||||
|
</.link>
|
||||||
|
<.link
|
||||||
|
:for={backlink <- @pipeline_backlinks}
|
||||||
|
class="m-1 hover:underline"
|
||||||
|
patch={~p"/pipeline/#{backlink}"}
|
||||||
|
>
|
||||||
|
<%= gettext("[[%{slug}]]", slug: backlink.slug) %>
|
||||||
|
</.link>
|
||||||
|
</div>
|
||||||
|
|
||||||
<p class="self-end">
|
<p class="self-end">
|
||||||
<%= gettext("Visibility: %{visibility}", visibility: @context.visibility) %>
|
<%= gettext("Visibility: %{visibility}", visibility: @context.visibility) %>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="self-end flex space-x-4">
|
<div class="flex self-end space-x-4">
|
||||||
<.link
|
<.link :if={@current_user} class="btn btn-primary" patch={~p"/context/#{@context}/edit"}>
|
||||||
:if={Contexts.owner?(@context, @current_user)}
|
|
||||||
class="btn btn-primary"
|
|
||||||
patch={~p"/context/#{@context}/edit"}
|
|
||||||
>
|
|
||||||
<%= dgettext("actions", "edit") %>
|
<%= dgettext("actions", "edit") %>
|
||||||
</.link>
|
</.link>
|
||||||
<button
|
<button
|
||||||
:if={Contexts.owner_or_admin?(@context, @current_user)}
|
:if={@current_user}
|
||||||
type="button"
|
type="button"
|
||||||
class="btn btn-primary"
|
class="btn btn-primary"
|
||||||
phx-click="delete"
|
phx-click="delete"
|
||||||
|
@ -11,6 +11,6 @@ defmodule MemexWeb.HomeLive do
|
|||||||
@impl true
|
@impl true
|
||||||
def mount(_params, _session, socket) do
|
def mount(_params, _session, socket) do
|
||||||
admins = Accounts.list_users_by_role(:admin)
|
admins = Accounts.list_users_by_role(:admin)
|
||||||
{:ok, socket |> assign(page_title: gettext("home"), admins: admins, version: @version)}
|
{:ok, socket |> assign(admins: admins, page_title: gettext("home"), version: @version)}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<div class="mx-auto flex flex-col justify-center items-stretch space-y-4 max-w-lg">
|
<div class="flex flex-col justify-center items-stretch mx-auto space-y-4 max-w-lg">
|
||||||
<h1 class="title text-primary-400 text-xl">
|
<h1 class="text-xl title text-primary-400">
|
||||||
<%= gettext("memEx") %>
|
<%= gettext("memEx") %>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
@ -31,7 +31,7 @@
|
|||||||
</p>
|
</p>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flex flex-col justify-center items-center text-right space-y-2">
|
<li class="flex flex-col justify-center items-center space-y-2 text-right">
|
||||||
<.link navigate={~p"/faq"} class="btn btn-primary">
|
<.link navigate={~p"/faq"} class="btn btn-primary">
|
||||||
<%= gettext("read more on how to use memEx") %>
|
<%= gettext("read more on how to use memEx") %>
|
||||||
</.link>
|
</.link>
|
||||||
@ -41,7 +41,7 @@
|
|||||||
<hr class="hr" />
|
<hr class="hr" />
|
||||||
|
|
||||||
<ul class="flex flex-col space-y-4">
|
<ul class="flex flex-col space-y-4">
|
||||||
<h2 class="title text-primary-400 text-lg">
|
<h2 class="text-lg title text-primary-400">
|
||||||
<%= gettext("features") %>
|
<%= gettext("features") %>
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
@ -71,12 +71,21 @@
|
|||||||
<%= gettext("accessible from any internet-capable device") %>
|
<%= gettext("accessible from any internet-capable device") %>
|
||||||
</p>
|
</p>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
<li class="flex flex-col justify-center items-center space-y-2">
|
||||||
|
<b class="whitespace-nowrap">
|
||||||
|
<%= gettext("backlinks:") %>
|
||||||
|
</b>
|
||||||
|
<p>
|
||||||
|
<%= gettext("view referencing items from the referenced item") %>
|
||||||
|
</p>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<hr class="hr" />
|
<hr class="hr" />
|
||||||
|
|
||||||
<ul class="flex flex-col justify-center space-y-4">
|
<ul class="flex flex-col justify-center space-y-4">
|
||||||
<h2 class="title text-primary-400 text-lg">
|
<h2 class="text-lg title text-primary-400">
|
||||||
<%= gettext("instance information") %>
|
<%= gettext("instance information") %>
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
@ -124,7 +133,7 @@
|
|||||||
<hr class="hr" />
|
<hr class="hr" />
|
||||||
|
|
||||||
<ul class="flex flex-col space-y-2">
|
<ul class="flex flex-col space-y-2">
|
||||||
<h2 class="title text-primary-400 text-lg">
|
<h2 class="text-lg title text-primary-400">
|
||||||
<%= gettext("get involved") %>
|
<%= gettext("get involved") %>
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
|
@ -82,7 +82,7 @@ defmodule MemexWeb.InviteLive.FormComponent do
|
|||||||
socket |> put_flash(:info, prompt) |> push_navigate(to: return_to)
|
socket |> put_flash(:info, prompt) |> push_navigate(to: return_to)
|
||||||
|
|
||||||
{:error, %Changeset{} = changeset} ->
|
{:error, %Changeset{} = changeset} ->
|
||||||
socket |> assign(changeset: changeset)
|
socket |> assign(:changeset, changeset)
|
||||||
end
|
end
|
||||||
|
|
||||||
{:noreply, socket}
|
{:noreply, socket}
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
<div>
|
<div>
|
||||||
<h2 class="mb-8 text-center title text-xl text-primary-400">
|
<h2 class="mb-8 text-xl text-center title text-primary-400">
|
||||||
<%= @title %>
|
<%= @title %>
|
||||||
</h2>
|
</h2>
|
||||||
<.form
|
<.form
|
||||||
:let={f}
|
:let={f}
|
||||||
for={@changeset}
|
for={@changeset}
|
||||||
id="invite-form"
|
id="invite-form"
|
||||||
class="flex flex-col space-y-4 sm:space-y-0 sm:grid sm:grid-cols-3 sm:gap-4 justify-center items-center"
|
class="flex flex-col justify-center items-center space-y-4 sm:space-y-0 sm:grid sm:grid-cols-3 sm:gap-4"
|
||||||
phx-target={@myself}
|
phx-target={@myself}
|
||||||
phx-change="validate"
|
phx-change="validate"
|
||||||
phx-submit="save"
|
phx-submit="save"
|
||||||
@ -14,7 +14,7 @@
|
|||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
:if={@changeset.action && not @changeset.valid?}
|
:if={@changeset.action && not @changeset.valid?}
|
||||||
class="invalid-feedback col-span-3 text-center"
|
class="col-span-3 text-center invalid-feedback"
|
||||||
>
|
>
|
||||||
<%= changeset_errors(@changeset) %>
|
<%= changeset_errors(@changeset) %>
|
||||||
</div>
|
</div>
|
||||||
@ -25,7 +25,8 @@
|
|||||||
) %>
|
) %>
|
||||||
<%= text_input(f, :name,
|
<%= text_input(f, :name,
|
||||||
class: "input input-primary col-span-2",
|
class: "input input-primary col-span-2",
|
||||||
phx_debounce: 300
|
phx_debounce: 300,
|
||||||
|
required: true
|
||||||
) %>
|
) %>
|
||||||
<%= error_tag(f, :name, "col-span-3") %>
|
<%= error_tag(f, :name, "col-span-3") %>
|
||||||
|
|
||||||
@ -40,7 +41,7 @@
|
|||||||
) %>
|
) %>
|
||||||
<%= error_tag(f, :uses_left, "col-span-3") %>
|
<%= error_tag(f, :uses_left, "col-span-3") %>
|
||||||
|
|
||||||
<span class="col-span-3 text-primary-500 italic text-center">
|
<span class="col-span-3 italic text-center text-primary-500">
|
||||||
<%= gettext(~s/leave "uses left" blank to make invite unlimited/) %>
|
<%= gettext(~s/leave "uses left" blank to make invite unlimited/) %>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
|
@ -20,15 +20,15 @@ defmodule MemexWeb.InviteLive.Index do
|
|||||||
|
|
||||||
defp apply_action(%{assigns: %{current_user: current_user}} = socket, :edit, %{"id" => id}) do
|
defp apply_action(%{assigns: %{current_user: current_user}} = socket, :edit, %{"id" => id}) do
|
||||||
socket
|
socket
|
||||||
|> assign(page_title: gettext("edit invite"), invite: Invites.get_invite!(id, current_user))
|
|> assign(invite: Invites.get_invite!(id, current_user), page_title: gettext("edit invite"))
|
||||||
end
|
end
|
||||||
|
|
||||||
defp apply_action(socket, :new, _params) do
|
defp apply_action(socket, :new, _params) do
|
||||||
socket |> assign(page_title: gettext("new invite"), invite: %Invite{})
|
socket |> assign(invite: %Invite{}, page_title: gettext("new invite"))
|
||||||
end
|
end
|
||||||
|
|
||||||
defp apply_action(socket, :index, _params) do
|
defp apply_action(socket, :index, _params) do
|
||||||
socket |> assign(page_title: gettext("invites"), invite: nil)
|
socket |> assign(invite: nil, page_title: gettext("invites"))
|
||||||
end
|
end
|
||||||
|
|
||||||
@impl true
|
@impl true
|
||||||
@ -138,6 +138,6 @@ defmodule MemexWeb.InviteLive.Index do
|
|||||||
|
|
||||||
use_counts = invites |> Invites.get_use_counts(current_user)
|
use_counts = invites |> Invites.get_use_counts(current_user)
|
||||||
users = all_users |> Map.get(:user, [])
|
users = all_users |> Map.get(:user, [])
|
||||||
socket |> assign(invites: invites, use_counts: use_counts, admins: admins, users: users)
|
socket |> assign(admins: admins, invites: invites, use_counts: use_counts, users: users)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
<div class="mx-auto flex flex-col justify-center items-stretch space-y-4 max-w-3xl">
|
<div class="flex flex-col justify-center items-stretch mx-auto space-y-4 max-w-3xl">
|
||||||
<h1 class="title text-xl title-primary-500">
|
<h1 class="text-xl title title-primary-500">
|
||||||
<%= gettext("invites") %>
|
<%= gettext("invites") %>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<%= if @invites |> Enum.empty?() do %>
|
<%= if @invites |> Enum.empty?() do %>
|
||||||
<h1 class="title text-xl text-primary-400 text-center">
|
<h1 class="text-xl text-center title text-primary-400">
|
||||||
<%= gettext("no invites 😔") %>
|
<%= gettext("no invites 😔") %>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<.link patch={~p"/invites"} class="ml-auto btn btn-primary">
|
<.link patch={~p"/invites/new"} class="ml-auto btn btn-primary">
|
||||||
<%= dgettext("actions", "new invite") %>
|
<%= dgettext("actions", "new invite") %>
|
||||||
</.link>
|
</.link>
|
||||||
<% end %>
|
<% end %>
|
||||||
@ -71,7 +71,7 @@
|
|||||||
</.link>
|
</.link>
|
||||||
|
|
||||||
<.link
|
<.link
|
||||||
:if={invite.disabled_at |> is_nil() and not (invite.uses_left |> is_nil())}
|
:if={!invite.disabled_at and !!invite.uses_left}
|
||||||
href="#"
|
href="#"
|
||||||
class="btn btn-secondary"
|
class="btn btn-secondary"
|
||||||
phx-click="set_unlimited"
|
phx-click="set_unlimited"
|
||||||
@ -86,7 +86,7 @@
|
|||||||
</.link>
|
</.link>
|
||||||
</.invite_card>
|
</.invite_card>
|
||||||
|
|
||||||
<.link :if={@invites != []} patch={~p"/invites/new"} class="btn btn-primary ml-auto">
|
<.link :if={@invites != []} patch={~p"/invites/new"} class="ml-auto btn btn-primary">
|
||||||
<%= dgettext("actions", "create invite") %>
|
<%= dgettext("actions", "create invite") %>
|
||||||
</.link>
|
</.link>
|
||||||
</div>
|
</div>
|
||||||
@ -94,7 +94,7 @@
|
|||||||
<%= unless @admins |> Enum.empty?() do %>
|
<%= unless @admins |> Enum.empty?() do %>
|
||||||
<hr class="hr" />
|
<hr class="hr" />
|
||||||
|
|
||||||
<h1 class="title text-xl text-primary-400">
|
<h1 class="text-xl title text-primary-400">
|
||||||
<%= gettext("admins") %>
|
<%= gettext("admins") %>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
@ -122,7 +122,7 @@
|
|||||||
<%= unless @users |> Enum.empty?() do %>
|
<%= unless @users |> Enum.empty?() do %>
|
||||||
<hr class="hr" />
|
<hr class="hr" />
|
||||||
|
|
||||||
<h1 class="title text-xl text-primary-400">
|
<h1 class="text-xl title text-primary-400">
|
||||||
<%= gettext("users") %>
|
<%= gettext("users") %>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
|
@ -68,7 +68,7 @@ defmodule MemexWeb.NoteLive.FormComponent do
|
|||||||
|> push_navigate(to: return_to)
|
|> push_navigate(to: return_to)
|
||||||
|
|
||||||
{:error, %Changeset{} = changeset} ->
|
{:error, %Changeset{} = changeset} ->
|
||||||
assign(socket, changeset: changeset)
|
assign(socket, :changeset, changeset)
|
||||||
end
|
end
|
||||||
|
|
||||||
{:noreply, socket}
|
{:noreply, socket}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<div class="h-full flex flex-col justify-start items-stretch space-y-4">
|
<div class="flex flex-col justify-start items-stretch space-y-4 h-full">
|
||||||
<.form
|
<.form
|
||||||
:let={f}
|
:let={f}
|
||||||
for={@changeset}
|
for={@changeset}
|
||||||
@ -14,7 +14,8 @@
|
|||||||
class: "input input-primary",
|
class: "input input-primary",
|
||||||
phx_debounce: 300,
|
phx_debounce: 300,
|
||||||
phx_hook: "SanitizeTitles",
|
phx_hook: "SanitizeTitles",
|
||||||
placeholder: gettext("slug")
|
placeholder: gettext("slug"),
|
||||||
|
required: true
|
||||||
) %>
|
) %>
|
||||||
<%= error_tag(f, :slug) %>
|
<%= error_tag(f, :slug) %>
|
||||||
|
|
||||||
|
@ -4,11 +4,11 @@ defmodule MemexWeb.NoteLive.Index do
|
|||||||
|
|
||||||
@impl true
|
@impl true
|
||||||
def mount(%{"search" => search}, _session, socket) do
|
def mount(%{"search" => search}, _session, socket) do
|
||||||
{:ok, socket |> assign(search: search) |> display_notes()}
|
{:ok, socket |> assign(:search, search) |> display_notes()}
|
||||||
end
|
end
|
||||||
|
|
||||||
def mount(_params, _session, socket) do
|
def mount(_params, _session, socket) do
|
||||||
{:ok, socket |> assign(search: nil) |> display_notes()}
|
{:ok, socket |> assign(:search, nil) |> display_notes()}
|
||||||
end
|
end
|
||||||
|
|
||||||
@impl true
|
@impl true
|
||||||
@ -20,29 +20,37 @@ defmodule MemexWeb.NoteLive.Index do
|
|||||||
%{slug: slug} = note = Notes.get_note_by_slug(slug, current_user)
|
%{slug: slug} = note = Notes.get_note_by_slug(slug, current_user)
|
||||||
|
|
||||||
socket
|
socket
|
||||||
|> assign(page_title: gettext("edit %{slug}", slug: slug))
|
|> assign(
|
||||||
|> assign(note: note)
|
note: note,
|
||||||
|
page_title: gettext("edit %{slug}", slug: slug)
|
||||||
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
defp apply_action(%{assigns: %{current_user: %{id: current_user_id}}} = socket, :new, _params) do
|
defp apply_action(%{assigns: %{current_user: %{id: current_user_id}}} = socket, :new, _params) do
|
||||||
socket
|
socket
|
||||||
|> assign(page_title: gettext("new note"))
|
|> assign(
|
||||||
|> assign(note: %Note{visibility: :private, user_id: current_user_id})
|
note: %Note{visibility: :private, user_id: current_user_id},
|
||||||
|
page_title: gettext("new note")
|
||||||
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
defp apply_action(socket, :index, _params) do
|
defp apply_action(socket, :index, _params) do
|
||||||
socket
|
socket
|
||||||
|> assign(page_title: gettext("notes"))
|
|> assign(
|
||||||
|> assign(search: nil)
|
note: nil,
|
||||||
|> assign(note: nil)
|
page_title: gettext("notes"),
|
||||||
|
search: nil
|
||||||
|
)
|
||||||
|> display_notes()
|
|> display_notes()
|
||||||
end
|
end
|
||||||
|
|
||||||
defp apply_action(socket, :search, %{"search" => search}) do
|
defp apply_action(socket, :search, %{"search" => search}) do
|
||||||
socket
|
socket
|
||||||
|> assign(page_title: gettext("notes"))
|
|> assign(
|
||||||
|> assign(search: search)
|
note: nil,
|
||||||
|> assign(note: nil)
|
page_title: gettext("notes"),
|
||||||
|
search: search
|
||||||
|
)
|
||||||
|> display_notes()
|
|> display_notes()
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -53,7 +61,7 @@ defmodule MemexWeb.NoteLive.Index do
|
|||||||
|
|
||||||
socket =
|
socket =
|
||||||
socket
|
socket
|
||||||
|> assign(notes: Notes.list_notes(current_user))
|
|> assign(:notes, Notes.list_notes(current_user))
|
||||||
|> put_flash(:info, gettext("%{slug} deleted", slug: slug))
|
|> put_flash(:info, gettext("%{slug} deleted", slug: slug))
|
||||||
|
|
||||||
{:noreply, socket}
|
{:noreply, socket}
|
||||||
@ -67,12 +75,11 @@ defmodule MemexWeb.NoteLive.Index do
|
|||||||
{:noreply, socket |> push_patch(to: ~p"/notes/#{search_term}")}
|
{:noreply, socket |> push_patch(to: ~p"/notes/#{search_term}")}
|
||||||
end
|
end
|
||||||
|
|
||||||
defp display_notes(%{assigns: %{current_user: current_user, search: search}} = socket)
|
defp display_notes(%{assigns: %{current_user: %{} = current_user, search: search}} = socket) do
|
||||||
when not (current_user |> is_nil()) do
|
socket |> assign(:notes, Notes.list_notes(search, current_user))
|
||||||
socket |> assign(notes: Notes.list_notes(search, current_user))
|
|
||||||
end
|
end
|
||||||
|
|
||||||
defp display_notes(%{assigns: %{search: search}} = socket) do
|
defp display_notes(%{assigns: %{search: search}} = socket) do
|
||||||
socket |> assign(notes: Notes.list_public_notes(search))
|
socket |> assign(:notes, Notes.list_public_notes(search))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<div class="mx-auto flex flex-col justify-center items-start space-y-4 max-w-3xl">
|
<div class="flex flex-col justify-center items-start mx-auto space-y-4 max-w-3xl">
|
||||||
<h1 class="text-xl">
|
<h1 class="text-xl">
|
||||||
<%= gettext("notes") %>
|
<%= gettext("notes") %>
|
||||||
</h1>
|
</h1>
|
||||||
@ -9,7 +9,7 @@
|
|||||||
as={:search}
|
as={:search}
|
||||||
phx-change="search"
|
phx-change="search"
|
||||||
phx-submit="search"
|
phx-submit="search"
|
||||||
class="self-stretch flex flex-col items-stretch"
|
class="flex flex-col items-stretch self-stretch"
|
||||||
>
|
>
|
||||||
<%= text_input(f, :search_term,
|
<%= text_input(f, :search_term,
|
||||||
class: "input input-primary",
|
class: "input input-primary",
|
||||||
@ -33,14 +33,14 @@
|
|||||||
>
|
>
|
||||||
<:actions :let={note}>
|
<:actions :let={note}>
|
||||||
<.link
|
<.link
|
||||||
:if={Notes.owner?(note, @current_user)}
|
:if={@current_user}
|
||||||
patch={~p"/notes/#{note}/edit"}
|
patch={~p"/notes/#{note}/edit"}
|
||||||
aria-label={dgettext("actions", "edit %{note_slug}", note_slug: note.slug)}
|
aria-label={dgettext("actions", "edit %{note_slug}", note_slug: note.slug)}
|
||||||
>
|
>
|
||||||
<%= dgettext("actions", "edit") %>
|
<%= dgettext("actions", "edit") %>
|
||||||
</.link>
|
</.link>
|
||||||
<.link
|
<.link
|
||||||
:if={Notes.owner_or_admin?(note, @current_user)}
|
:if={@current_user}
|
||||||
href="#"
|
href="#"
|
||||||
phx-click="delete"
|
phx-click="delete"
|
||||||
phx-value-id={note.id}
|
phx-value-id={note.id}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
defmodule MemexWeb.NoteLive.Show do
|
defmodule MemexWeb.NoteLive.Show do
|
||||||
use MemexWeb, :live_view
|
use MemexWeb, :live_view
|
||||||
alias Memex.Notes
|
alias Memex.{Contexts, Notes, Pipelines}
|
||||||
|
|
||||||
@impl true
|
@impl true
|
||||||
def mount(_params, _session, socket) do
|
def mount(_params, _session, socket) do
|
||||||
@ -21,8 +21,13 @@ defmodule MemexWeb.NoteLive.Show do
|
|||||||
|
|
||||||
socket =
|
socket =
|
||||||
socket
|
socket
|
||||||
|> assign(:page_title, page_title(live_action, note))
|
|> assign(
|
||||||
|> assign(:note, note)
|
context_backlinks: Contexts.backlink("[[#{note.slug}]]", current_user),
|
||||||
|
note_backlinks: Notes.backlink("[#{note.slug}]", current_user),
|
||||||
|
note: note,
|
||||||
|
page_title: page_title(live_action, note),
|
||||||
|
pipeline_backlinks: Pipelines.backlink("[[[#{note.slug}]]]", current_user)
|
||||||
|
)
|
||||||
|
|
||||||
{:noreply, socket}
|
{:noreply, socket}
|
||||||
end
|
end
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<div class="mx-auto flex flex-col justify-center items-stretch space-y-4 max-w-3xl">
|
<div class="flex flex-col justify-center items-stretch mx-auto space-y-4 max-w-3xl">
|
||||||
<h1 class="text-xl">
|
<h1 class="text-xl">
|
||||||
<%= @note.slug %>
|
<%= @note.slug %>
|
||||||
</h1>
|
</h1>
|
||||||
@ -11,20 +11,44 @@
|
|||||||
|
|
||||||
<.note_content note={@note} />
|
<.note_content note={@note} />
|
||||||
|
|
||||||
|
<div
|
||||||
|
:if={@note_backlinks ++ @context_backlinks ++ @pipeline_backlinks != []}
|
||||||
|
class="flex flex-wrap justify-end items-center self-end"
|
||||||
|
>
|
||||||
|
<p><%= gettext("Backlinked by:") %></p>
|
||||||
|
<.link
|
||||||
|
:for={backlink <- @note_backlinks}
|
||||||
|
class="m-1 hover:underline"
|
||||||
|
patch={~p"/note/#{backlink}"}
|
||||||
|
>
|
||||||
|
<%= gettext("[%{slug}]", slug: backlink.slug) %>
|
||||||
|
</.link>
|
||||||
|
<.link
|
||||||
|
:for={backlink <- @context_backlinks}
|
||||||
|
class="m-1 hover:underline"
|
||||||
|
patch={~p"/context/#{backlink}"}
|
||||||
|
>
|
||||||
|
<%= gettext("[[%{slug}]]", slug: backlink.slug) %>
|
||||||
|
</.link>
|
||||||
|
<.link
|
||||||
|
:for={backlink <- @pipeline_backlinks}
|
||||||
|
class="m-1 hover:underline"
|
||||||
|
patch={~p"/pipeline/#{backlink}"}
|
||||||
|
>
|
||||||
|
<%= gettext("[[[%{slug}]]]", slug: backlink.slug) %>
|
||||||
|
</.link>
|
||||||
|
</div>
|
||||||
|
|
||||||
<p class="self-end">
|
<p class="self-end">
|
||||||
<%= gettext("Visibility: %{visibility}", visibility: @note.visibility) %>
|
<%= gettext("Visibility: %{visibility}", visibility: @note.visibility) %>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="self-end flex space-x-4">
|
<div class="flex self-end space-x-4">
|
||||||
<.link
|
<.link :if={@current_user} class="btn btn-primary" patch={~p"/note/#{@note}/edit"}>
|
||||||
:if={Notes.owner?(@note, @current_user)}
|
|
||||||
class="btn btn-primary"
|
|
||||||
patch={~p"/note/#{@note}/edit"}
|
|
||||||
>
|
|
||||||
<%= dgettext("actions", "edit") %>
|
<%= dgettext("actions", "edit") %>
|
||||||
</.link>
|
</.link>
|
||||||
<button
|
<button
|
||||||
:if={Notes.owner_or_admin?(@note, @current_user)}
|
:if={@current_user}
|
||||||
type="button"
|
type="button"
|
||||||
class="btn btn-primary"
|
class="btn btn-primary"
|
||||||
phx-click="delete"
|
phx-click="delete"
|
||||||
|
@ -73,7 +73,7 @@ defmodule MemexWeb.PipelineLive.FormComponent do
|
|||||||
|> push_navigate(to: return_to)
|
|> push_navigate(to: return_to)
|
||||||
|
|
||||||
{:error, %Changeset{} = changeset} ->
|
{:error, %Changeset{} = changeset} ->
|
||||||
assign(socket, changeset: changeset)
|
assign(socket, :changeset, changeset)
|
||||||
end
|
end
|
||||||
|
|
||||||
{:noreply, socket}
|
{:noreply, socket}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<div class="h-full flex flex-col justify-start items-stretch space-y-4">
|
<div class="flex flex-col justify-start items-stretch space-y-4 h-full">
|
||||||
<.form
|
<.form
|
||||||
:let={f}
|
:let={f}
|
||||||
for={@changeset}
|
for={@changeset}
|
||||||
@ -14,7 +14,8 @@
|
|||||||
class: "input input-primary",
|
class: "input input-primary",
|
||||||
phx_debounce: 300,
|
phx_debounce: 300,
|
||||||
phx_hook: "SanitizeTitles",
|
phx_hook: "SanitizeTitles",
|
||||||
placeholder: gettext("slug")
|
placeholder: gettext("slug"),
|
||||||
|
required: true
|
||||||
) %>
|
) %>
|
||||||
<%= error_tag(f, :slug) %>
|
<%= error_tag(f, :slug) %>
|
||||||
|
|
||||||
|
@ -4,11 +4,11 @@ defmodule MemexWeb.PipelineLive.Index do
|
|||||||
|
|
||||||
@impl true
|
@impl true
|
||||||
def mount(%{"search" => search}, _session, socket) do
|
def mount(%{"search" => search}, _session, socket) do
|
||||||
{:ok, socket |> assign(search: search) |> display_pipelines()}
|
{:ok, socket |> assign(:search, search) |> display_pipelines()}
|
||||||
end
|
end
|
||||||
|
|
||||||
def mount(_params, _session, socket) do
|
def mount(_params, _session, socket) do
|
||||||
{:ok, socket |> assign(search: nil) |> display_pipelines()}
|
{:ok, socket |> assign(:search, nil) |> display_pipelines()}
|
||||||
end
|
end
|
||||||
|
|
||||||
@impl true
|
@impl true
|
||||||
@ -20,29 +20,37 @@ defmodule MemexWeb.PipelineLive.Index do
|
|||||||
%{slug: slug} = pipeline = Pipelines.get_pipeline_by_slug(slug, current_user)
|
%{slug: slug} = pipeline = Pipelines.get_pipeline_by_slug(slug, current_user)
|
||||||
|
|
||||||
socket
|
socket
|
||||||
|> assign(page_title: gettext("edit %{slug}", slug: slug))
|
|> assign(
|
||||||
|> assign(pipeline: pipeline)
|
page_title: gettext("edit %{slug}", slug: slug),
|
||||||
|
pipeline: pipeline
|
||||||
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
defp apply_action(%{assigns: %{current_user: %{id: current_user_id}}} = socket, :new, _params) do
|
defp apply_action(%{assigns: %{current_user: %{id: current_user_id}}} = socket, :new, _params) do
|
||||||
socket
|
socket
|
||||||
|> assign(page_title: gettext("new pipeline"))
|
|> assign(
|
||||||
|> assign(pipeline: %Pipeline{visibility: :private, user_id: current_user_id})
|
page_title: gettext("new pipeline"),
|
||||||
|
pipeline: %Pipeline{visibility: :private, user_id: current_user_id}
|
||||||
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
defp apply_action(socket, :index, _params) do
|
defp apply_action(socket, :index, _params) do
|
||||||
socket
|
socket
|
||||||
|> assign(page_title: gettext("pipelines"))
|
|> assign(
|
||||||
|> assign(search: nil)
|
page_title: gettext("pipelines"),
|
||||||
|> assign(pipeline: nil)
|
pipeline: nil,
|
||||||
|
search: nil
|
||||||
|
)
|
||||||
|> display_pipelines()
|
|> display_pipelines()
|
||||||
end
|
end
|
||||||
|
|
||||||
defp apply_action(socket, :search, %{"search" => search}) do
|
defp apply_action(socket, :search, %{"search" => search}) do
|
||||||
socket
|
socket
|
||||||
|> assign(page_title: gettext("pipelines"))
|
|> assign(
|
||||||
|> assign(search: search)
|
page_title: gettext("pipelines"),
|
||||||
|> assign(pipeline: nil)
|
pipeline: nil,
|
||||||
|
search: search
|
||||||
|
)
|
||||||
|> display_pipelines()
|
|> display_pipelines()
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -53,7 +61,7 @@ defmodule MemexWeb.PipelineLive.Index do
|
|||||||
|
|
||||||
socket =
|
socket =
|
||||||
socket
|
socket
|
||||||
|> assign(pipelines: Pipelines.list_pipelines(current_user))
|
|> assign(:pipelines, Pipelines.list_pipelines(current_user))
|
||||||
|> put_flash(:info, gettext("%{slug} deleted", slug: slug))
|
|> put_flash(:info, gettext("%{slug} deleted", slug: slug))
|
||||||
|
|
||||||
{:noreply, socket}
|
{:noreply, socket}
|
||||||
@ -67,12 +75,11 @@ defmodule MemexWeb.PipelineLive.Index do
|
|||||||
{:noreply, socket |> push_patch(to: ~p"/pipelines/#{search_term}")}
|
{:noreply, socket |> push_patch(to: ~p"/pipelines/#{search_term}")}
|
||||||
end
|
end
|
||||||
|
|
||||||
defp display_pipelines(%{assigns: %{current_user: current_user, search: search}} = socket)
|
defp display_pipelines(%{assigns: %{current_user: %{} = current_user, search: search}} = socket) do
|
||||||
when not (current_user |> is_nil()) do
|
socket |> assign(:pipelines, Pipelines.list_pipelines(search, current_user))
|
||||||
socket |> assign(pipelines: Pipelines.list_pipelines(search, current_user))
|
|
||||||
end
|
end
|
||||||
|
|
||||||
defp display_pipelines(%{assigns: %{search: search}} = socket) do
|
defp display_pipelines(%{assigns: %{search: search}} = socket) do
|
||||||
socket |> assign(pipelines: Pipelines.list_public_pipelines(search))
|
socket |> assign(:pipelines, Pipelines.list_public_pipelines(search))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<div class="mx-auto flex flex-col justify-center items-start space-y-4 max-w-3xl">
|
<div class="flex flex-col justify-center items-start mx-auto space-y-4 max-w-3xl">
|
||||||
<h1 class="text-xl">
|
<h1 class="text-xl">
|
||||||
<%= gettext("pipelines") %>
|
<%= gettext("pipelines") %>
|
||||||
</h1>
|
</h1>
|
||||||
@ -9,7 +9,7 @@
|
|||||||
as={:search}
|
as={:search}
|
||||||
phx-change="search"
|
phx-change="search"
|
||||||
phx-submit="search"
|
phx-submit="search"
|
||||||
class="self-stretch flex flex-col items-stretch"
|
class="flex flex-col items-stretch self-stretch"
|
||||||
>
|
>
|
||||||
<%= text_input(f, :search_term,
|
<%= text_input(f, :search_term,
|
||||||
class: "input input-primary",
|
class: "input input-primary",
|
||||||
@ -33,14 +33,14 @@
|
|||||||
>
|
>
|
||||||
<:actions :let={pipeline}>
|
<:actions :let={pipeline}>
|
||||||
<.link
|
<.link
|
||||||
:if={Pipelines.owner?(pipeline, @current_user)}
|
:if={@current_user}
|
||||||
patch={~p"/pipelines/#{pipeline}/edit"}
|
patch={~p"/pipelines/#{pipeline}/edit"}
|
||||||
aria-label={dgettext("actions", "edit %{pipeline_slug}", pipeline_slug: pipeline.slug)}
|
aria-label={dgettext("actions", "edit %{pipeline_slug}", pipeline_slug: pipeline.slug)}
|
||||||
>
|
>
|
||||||
<%= dgettext("actions", "edit") %>
|
<%= dgettext("actions", "edit") %>
|
||||||
</.link>
|
</.link>
|
||||||
<.link
|
<.link
|
||||||
:if={Pipelines.owner_or_admin?(pipeline, @current_user)}
|
:if={@current_user}
|
||||||
href="#"
|
href="#"
|
||||||
phx-click="delete"
|
phx-click="delete"
|
||||||
phx-value-id={pipeline.id}
|
phx-value-id={pipeline.id}
|
||||||
|
@ -21,9 +21,12 @@ defmodule MemexWeb.PipelineLive.Show do
|
|||||||
|
|
||||||
socket =
|
socket =
|
||||||
socket
|
socket
|
||||||
|> assign(:page_title, page_title(live_action, pipeline))
|
|> assign(
|
||||||
|> assign(:pipeline, pipeline)
|
page_title: page_title(live_action, pipeline),
|
||||||
|> assign(:steps, pipeline |> Steps.list_steps(current_user))
|
pipeline_backlinks: Pipelines.backlink("[#{pipeline.slug}]", current_user),
|
||||||
|
pipeline: pipeline,
|
||||||
|
steps: pipeline |> Steps.list_steps(current_user)
|
||||||
|
)
|
||||||
|> apply_action(live_action, params)
|
|> apply_action(live_action, params)
|
||||||
|
|
||||||
{:noreply, socket}
|
{:noreply, socket}
|
||||||
@ -47,8 +50,8 @@ defmodule MemexWeb.PipelineLive.Show do
|
|||||||
socket
|
socket
|
||||||
|> assign(
|
|> assign(
|
||||||
step: %Step{
|
step: %Step{
|
||||||
position: steps |> Enum.count(),
|
|
||||||
pipeline_id: pipeline_id,
|
pipeline_id: pipeline_id,
|
||||||
|
position: steps |> Enum.count(),
|
||||||
user_id: current_user_id
|
user_id: current_user_id
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
@ -59,7 +62,7 @@ defmodule MemexWeb.PipelineLive.Show do
|
|||||||
:edit_step,
|
:edit_step,
|
||||||
%{"step_id" => step_id}
|
%{"step_id" => step_id}
|
||||||
) do
|
) do
|
||||||
socket |> assign(step: step_id |> Steps.get_step!(current_user))
|
socket |> assign(:step, step_id |> Steps.get_step!(current_user))
|
||||||
end
|
end
|
||||||
|
|
||||||
@impl true
|
@impl true
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<div class="mx-auto flex flex-col justify-center items-stretch space-y-4 max-w-3xl">
|
<div class="flex flex-col justify-center items-stretch mx-auto space-y-4 max-w-3xl">
|
||||||
<h1 class="text-xl">
|
<h1 class="text-xl">
|
||||||
<%= @pipeline.slug %>
|
<%= @pipeline.slug %>
|
||||||
</h1>
|
</h1>
|
||||||
@ -11,20 +11,27 @@
|
|||||||
|
|
||||||
<.pipeline_content pipeline={@pipeline} />
|
<.pipeline_content pipeline={@pipeline} />
|
||||||
|
|
||||||
|
<div :if={@pipeline_backlinks != []} class="flex flex-wrap justify-end items-center self-end">
|
||||||
|
<p><%= gettext("Backlinked by:") %></p>
|
||||||
|
<.link
|
||||||
|
:for={backlink <- @pipeline_backlinks}
|
||||||
|
class="m-1 hover:underline"
|
||||||
|
patch={~p"/pipeline/#{backlink}"}
|
||||||
|
>
|
||||||
|
<%= gettext("[%{slug}]", slug: backlink.slug) %>
|
||||||
|
</.link>
|
||||||
|
</div>
|
||||||
|
|
||||||
<p class="self-end">
|
<p class="self-end">
|
||||||
<%= gettext("Visibility: %{visibility}", visibility: @pipeline.visibility) %>
|
<%= gettext("Visibility: %{visibility}", visibility: @pipeline.visibility) %>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="pb-4 self-end flex space-x-4">
|
<div class="flex self-end pb-4 space-x-4">
|
||||||
<.link
|
<.link :if={@current_user} class="btn btn-primary" patch={~p"/pipeline/#{@pipeline}/edit"}>
|
||||||
:if={Pipelines.owner?(@pipeline, @current_user)}
|
|
||||||
class="btn btn-primary"
|
|
||||||
patch={~p"/pipeline/#{@pipeline}/edit"}
|
|
||||||
>
|
|
||||||
<%= dgettext("actions", "edit") %>
|
<%= dgettext("actions", "edit") %>
|
||||||
</.link>
|
</.link>
|
||||||
<button
|
<button
|
||||||
:if={Pipelines.owner_or_admin?(@pipeline, @current_user)}
|
:if={@current_user}
|
||||||
type="button"
|
type="button"
|
||||||
class="btn btn-primary"
|
class="btn btn-primary"
|
||||||
phx-click="delete"
|
phx-click="delete"
|
||||||
@ -37,7 +44,7 @@
|
|||||||
|
|
||||||
<hr class="hr" />
|
<hr class="hr" />
|
||||||
|
|
||||||
<h2 class="pt-2 self-center text-lg">
|
<h2 class="self-center pt-2 text-lg">
|
||||||
<%= gettext("steps:") %>
|
<%= gettext("steps:") %>
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
@ -52,29 +59,29 @@
|
|||||||
<%= gettext("%{position}. %{title}", position: position + 1, title: title) %>
|
<%= gettext("%{position}. %{title}", position: position + 1, title: title) %>
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
<%= if Pipelines.owner?(@pipeline, @current_user) do %>
|
<%= if @current_user do %>
|
||||||
<div class="flex justify-between items-center space-x-4">
|
<div class="flex justify-between items-center space-x-4">
|
||||||
<%= if position <= 0 do %>
|
<%= if position <= 0 do %>
|
||||||
<i class="fas text-xl fa-chevron-up cursor-not-allowed opacity-25"></i>
|
<i class="text-xl opacity-25 cursor-not-allowed fas fa-chevron-up"></i>
|
||||||
<% else %>
|
<% else %>
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class="cursor-pointer flex justify-center items-center"
|
class="flex justify-center items-center cursor-pointer"
|
||||||
phx-click="reorder_step"
|
phx-click="reorder_step"
|
||||||
phx-value-direction="up"
|
phx-value-direction="up"
|
||||||
phx-value-step-id={step_id}
|
phx-value-step-id={step_id}
|
||||||
aria-label={dgettext("actions", "move %{step_title} up", step_title: step.title)}
|
aria-label={dgettext("actions", "move %{step_title} up", step_title: step.title)}
|
||||||
>
|
>
|
||||||
<i class="fas text-xl fa-chevron-up"></i>
|
<i class="text-xl fas fa-chevron-up"></i>
|
||||||
</button>
|
</button>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<%= if position >= length(@steps) - 1 do %>
|
<%= if position >= length(@steps) - 1 do %>
|
||||||
<i class="fas text-xl fa-chevron-down cursor-not-allowed opacity-25"></i>
|
<i class="text-xl opacity-25 cursor-not-allowed fas fa-chevron-down"></i>
|
||||||
<% else %>
|
<% else %>
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class="cursor-pointer flex justify-center items-center"
|
class="flex justify-center items-center cursor-pointer"
|
||||||
phx-click="reorder_step"
|
phx-click="reorder_step"
|
||||||
phx-value-direction="down"
|
phx-value-direction="down"
|
||||||
phx-value-step-id={step_id}
|
phx-value-step-id={step_id}
|
||||||
@ -82,7 +89,7 @@
|
|||||||
dgettext("actions", "move %{step_title} down", step_title: step.title)
|
dgettext("actions", "move %{step_title} down", step_title: step.title)
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
<i class="fas text-xl fa-chevron-down"></i>
|
<i class="text-xl fas fa-chevron-down"></i>
|
||||||
</button>
|
</button>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
@ -113,7 +120,7 @@
|
|||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<.link
|
<.link
|
||||||
:if={Pipelines.owner?(@pipeline, @current_user)}
|
:if={@current_user}
|
||||||
class="self-end btn btn-primary"
|
class="self-end btn btn-primary"
|
||||||
patch={~p"/pipeline/#{@pipeline}/add_step"}
|
patch={~p"/pipeline/#{@pipeline}/add_step"}
|
||||||
>
|
>
|
||||||
|
@ -75,7 +75,7 @@ defmodule MemexWeb.StepLive.FormComponent do
|
|||||||
|> push_navigate(to: return_to)
|
|> push_navigate(to: return_to)
|
||||||
|
|
||||||
{:error, %Changeset{} = changeset} ->
|
{:error, %Changeset{} = changeset} ->
|
||||||
assign(socket, changeset: changeset)
|
assign(socket, :changeset, changeset)
|
||||||
end
|
end
|
||||||
|
|
||||||
{:noreply, socket}
|
{:noreply, socket}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<div class="h-full flex flex-col justify-start items-stretch space-y-4">
|
<div class="flex flex-col justify-start items-stretch space-y-4 h-full">
|
||||||
<.form
|
<.form
|
||||||
:let={f}
|
:let={f}
|
||||||
for={@changeset}
|
for={@changeset}
|
||||||
@ -14,7 +14,8 @@
|
|||||||
class: "input input-primary",
|
class: "input input-primary",
|
||||||
phx_debounce: 300,
|
phx_debounce: 300,
|
||||||
phx_hook: "SanitizeTitles",
|
phx_hook: "SanitizeTitles",
|
||||||
placeholder: gettext("title")
|
placeholder: gettext("title"),
|
||||||
|
required: true
|
||||||
) %>
|
) %>
|
||||||
<%= error_tag(f, :title) %>
|
<%= error_tag(f, :title) %>
|
||||||
|
|
||||||
|
660
license.md
Normal file
660
license.md
Normal file
@ -0,0 +1,660 @@
|
|||||||
|
### GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
|
|
||||||
|
Version 3, 19 November 2007
|
||||||
|
|
||||||
|
Copyright (C) 2007 Free Software Foundation, Inc.
|
||||||
|
<https://fsf.org/>
|
||||||
|
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies of this
|
||||||
|
license document, but changing it is not allowed.
|
||||||
|
|
||||||
|
### Preamble
|
||||||
|
|
||||||
|
The GNU Affero General Public License is a free, copyleft license for
|
||||||
|
software and other kinds of works, specifically designed to ensure
|
||||||
|
cooperation with the community in the case of network server software.
|
||||||
|
|
||||||
|
The licenses for most software and other practical works are designed
|
||||||
|
to take away your freedom to share and change the works. By contrast,
|
||||||
|
our General Public Licenses are intended to guarantee your freedom to
|
||||||
|
share and change all versions of a program--to make sure it remains
|
||||||
|
free software for all its users.
|
||||||
|
|
||||||
|
When we speak of free software, we are referring to freedom, not
|
||||||
|
price. Our General Public Licenses are designed to make sure that you
|
||||||
|
have the freedom to distribute copies of free software (and charge for
|
||||||
|
them if you wish), that you receive source code or can get it if you
|
||||||
|
want it, that you can change the software or use pieces of it in new
|
||||||
|
free programs, and that you know you can do these things.
|
||||||
|
|
||||||
|
Developers that use our General Public Licenses protect your rights
|
||||||
|
with two steps: (1) assert copyright on the software, and (2) offer
|
||||||
|
you this License which gives you legal permission to copy, distribute
|
||||||
|
and/or modify the software.
|
||||||
|
|
||||||
|
A secondary benefit of defending all users' freedom is that
|
||||||
|
improvements made in alternate versions of the program, if they
|
||||||
|
receive widespread use, become available for other developers to
|
||||||
|
incorporate. Many developers of free software are heartened and
|
||||||
|
encouraged by the resulting cooperation. However, in the case of
|
||||||
|
software used on network servers, this result may fail to come about.
|
||||||
|
The GNU General Public License permits making a modified version and
|
||||||
|
letting the public access it on a server without ever releasing its
|
||||||
|
source code to the public.
|
||||||
|
|
||||||
|
The GNU Affero General Public License is designed specifically to
|
||||||
|
ensure that, in such cases, the modified source code becomes available
|
||||||
|
to the community. It requires the operator of a network server to
|
||||||
|
provide the source code of the modified version running there to the
|
||||||
|
users of that server. Therefore, public use of a modified version, on
|
||||||
|
a publicly accessible server, gives the public access to the source
|
||||||
|
code of the modified version.
|
||||||
|
|
||||||
|
An older license, called the Affero General Public License and
|
||||||
|
published by Affero, was designed to accomplish similar goals. This is
|
||||||
|
a different license, not a version of the Affero GPL, but Affero has
|
||||||
|
released a new version of the Affero GPL which permits relicensing
|
||||||
|
under this license.
|
||||||
|
|
||||||
|
The precise terms and conditions for copying, distribution and
|
||||||
|
modification follow.
|
||||||
|
|
||||||
|
### TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
#### 0. Definitions.
|
||||||
|
|
||||||
|
"This License" refers to version 3 of the GNU Affero General Public
|
||||||
|
License.
|
||||||
|
|
||||||
|
"Copyright" also means copyright-like laws that apply to other kinds
|
||||||
|
of works, such as semiconductor masks.
|
||||||
|
|
||||||
|
"The Program" refers to any copyrightable work licensed under this
|
||||||
|
License. Each licensee is addressed as "you". "Licensees" and
|
||||||
|
"recipients" may be individuals or organizations.
|
||||||
|
|
||||||
|
To "modify" a work means to copy from or adapt all or part of the work
|
||||||
|
in a fashion requiring copyright permission, other than the making of
|
||||||
|
an exact copy. The resulting work is called a "modified version" of
|
||||||
|
the earlier work or a work "based on" the earlier work.
|
||||||
|
|
||||||
|
A "covered work" means either the unmodified Program or a work based
|
||||||
|
on the Program.
|
||||||
|
|
||||||
|
To "propagate" a work means to do anything with it that, without
|
||||||
|
permission, would make you directly or secondarily liable for
|
||||||
|
infringement under applicable copyright law, except executing it on a
|
||||||
|
computer or modifying a private copy. Propagation includes copying,
|
||||||
|
distribution (with or without modification), making available to the
|
||||||
|
public, and in some countries other activities as well.
|
||||||
|
|
||||||
|
To "convey" a work means any kind of propagation that enables other
|
||||||
|
parties to make or receive copies. Mere interaction with a user
|
||||||
|
through a computer network, with no transfer of a copy, is not
|
||||||
|
conveying.
|
||||||
|
|
||||||
|
An interactive user interface displays "Appropriate Legal Notices" to
|
||||||
|
the extent that it includes a convenient and prominently visible
|
||||||
|
feature that (1) displays an appropriate copyright notice, and (2)
|
||||||
|
tells the user that there is no warranty for the work (except to the
|
||||||
|
extent that warranties are provided), that licensees may convey the
|
||||||
|
work under this License, and how to view a copy of this License. If
|
||||||
|
the interface presents a list of user commands or options, such as a
|
||||||
|
menu, a prominent item in the list meets this criterion.
|
||||||
|
|
||||||
|
#### 1. Source Code.
|
||||||
|
|
||||||
|
The "source code" for a work means the preferred form of the work for
|
||||||
|
making modifications to it. "Object code" means any non-source form of
|
||||||
|
a work.
|
||||||
|
|
||||||
|
A "Standard Interface" means an interface that either is an official
|
||||||
|
standard defined by a recognized standards body, or, in the case of
|
||||||
|
interfaces specified for a particular programming language, one that
|
||||||
|
is widely used among developers working in that language.
|
||||||
|
|
||||||
|
The "System Libraries" of an executable work include anything, other
|
||||||
|
than the work as a whole, that (a) is included in the normal form of
|
||||||
|
packaging a Major Component, but which is not part of that Major
|
||||||
|
Component, and (b) serves only to enable use of the work with that
|
||||||
|
Major Component, or to implement a Standard Interface for which an
|
||||||
|
implementation is available to the public in source code form. A
|
||||||
|
"Major Component", in this context, means a major essential component
|
||||||
|
(kernel, window system, and so on) of the specific operating system
|
||||||
|
(if any) on which the executable work runs, or a compiler used to
|
||||||
|
produce the work, or an object code interpreter used to run it.
|
||||||
|
|
||||||
|
The "Corresponding Source" for a work in object code form means all
|
||||||
|
the source code needed to generate, install, and (for an executable
|
||||||
|
work) run the object code and to modify the work, including scripts to
|
||||||
|
control those activities. However, it does not include the work's
|
||||||
|
System Libraries, or general-purpose tools or generally available free
|
||||||
|
programs which are used unmodified in performing those activities but
|
||||||
|
which are not part of the work. For example, Corresponding Source
|
||||||
|
includes interface definition files associated with source files for
|
||||||
|
the work, and the source code for shared libraries and dynamically
|
||||||
|
linked subprograms that the work is specifically designed to require,
|
||||||
|
such as by intimate data communication or control flow between those
|
||||||
|
subprograms and other parts of the work.
|
||||||
|
|
||||||
|
The Corresponding Source need not include anything that users can
|
||||||
|
regenerate automatically from other parts of the Corresponding Source.
|
||||||
|
|
||||||
|
The Corresponding Source for a work in source code form is that same
|
||||||
|
work.
|
||||||
|
|
||||||
|
#### 2. Basic Permissions.
|
||||||
|
|
||||||
|
All rights granted under this License are granted for the term of
|
||||||
|
copyright on the Program, and are irrevocable provided the stated
|
||||||
|
conditions are met. This License explicitly affirms your unlimited
|
||||||
|
permission to run the unmodified Program. The output from running a
|
||||||
|
covered work is covered by this License only if the output, given its
|
||||||
|
content, constitutes a covered work. This License acknowledges your
|
||||||
|
rights of fair use or other equivalent, as provided by copyright law.
|
||||||
|
|
||||||
|
You may make, run and propagate covered works that you do not convey,
|
||||||
|
without conditions so long as your license otherwise remains in force.
|
||||||
|
You may convey covered works to others for the sole purpose of having
|
||||||
|
them make modifications exclusively for you, or provide you with
|
||||||
|
facilities for running those works, provided that you comply with the
|
||||||
|
terms of this License in conveying all material for which you do not
|
||||||
|
control copyright. Those thus making or running the covered works for
|
||||||
|
you must do so exclusively on your behalf, under your direction and
|
||||||
|
control, on terms that prohibit them from making any copies of your
|
||||||
|
copyrighted material outside their relationship with you.
|
||||||
|
|
||||||
|
Conveying under any other circumstances is permitted solely under the
|
||||||
|
conditions stated below. Sublicensing is not allowed; section 10 makes
|
||||||
|
it unnecessary.
|
||||||
|
|
||||||
|
#### 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||||
|
|
||||||
|
No covered work shall be deemed part of an effective technological
|
||||||
|
measure under any applicable law fulfilling obligations under article
|
||||||
|
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||||
|
similar laws prohibiting or restricting circumvention of such
|
||||||
|
measures.
|
||||||
|
|
||||||
|
When you convey a covered work, you waive any legal power to forbid
|
||||||
|
circumvention of technological measures to the extent such
|
||||||
|
circumvention is effected by exercising rights under this License with
|
||||||
|
respect to the covered work, and you disclaim any intention to limit
|
||||||
|
operation or modification of the work as a means of enforcing, against
|
||||||
|
the work's users, your or third parties' legal rights to forbid
|
||||||
|
circumvention of technological measures.
|
||||||
|
|
||||||
|
#### 4. Conveying Verbatim Copies.
|
||||||
|
|
||||||
|
You may convey verbatim copies of the Program's source code as you
|
||||||
|
receive it, in any medium, provided that you conspicuously and
|
||||||
|
appropriately publish on each copy an appropriate copyright notice;
|
||||||
|
keep intact all notices stating that this License and any
|
||||||
|
non-permissive terms added in accord with section 7 apply to the code;
|
||||||
|
keep intact all notices of the absence of any warranty; and give all
|
||||||
|
recipients a copy of this License along with the Program.
|
||||||
|
|
||||||
|
You may charge any price or no price for each copy that you convey,
|
||||||
|
and you may offer support or warranty protection for a fee.
|
||||||
|
|
||||||
|
#### 5. Conveying Modified Source Versions.
|
||||||
|
|
||||||
|
You may convey a work based on the Program, or the modifications to
|
||||||
|
produce it from the Program, in the form of source code under the
|
||||||
|
terms of section 4, provided that you also meet all of these
|
||||||
|
conditions:
|
||||||
|
|
||||||
|
- a) The work must carry prominent notices stating that you modified
|
||||||
|
it, and giving a relevant date.
|
||||||
|
- b) The work must carry prominent notices stating that it is
|
||||||
|
released under this License and any conditions added under
|
||||||
|
section 7. This requirement modifies the requirement in section 4
|
||||||
|
to "keep intact all notices".
|
||||||
|
- c) You must license the entire work, as a whole, under this
|
||||||
|
License to anyone who comes into possession of a copy. This
|
||||||
|
License will therefore apply, along with any applicable section 7
|
||||||
|
additional terms, to the whole of the work, and all its parts,
|
||||||
|
regardless of how they are packaged. This License gives no
|
||||||
|
permission to license the work in any other way, but it does not
|
||||||
|
invalidate such permission if you have separately received it.
|
||||||
|
- d) If the work has interactive user interfaces, each must display
|
||||||
|
Appropriate Legal Notices; however, if the Program has interactive
|
||||||
|
interfaces that do not display Appropriate Legal Notices, your
|
||||||
|
work need not make them do so.
|
||||||
|
|
||||||
|
A compilation of a covered work with other separate and independent
|
||||||
|
works, which are not by their nature extensions of the covered work,
|
||||||
|
and which are not combined with it such as to form a larger program,
|
||||||
|
in or on a volume of a storage or distribution medium, is called an
|
||||||
|
"aggregate" if the compilation and its resulting copyright are not
|
||||||
|
used to limit the access or legal rights of the compilation's users
|
||||||
|
beyond what the individual works permit. Inclusion of a covered work
|
||||||
|
in an aggregate does not cause this License to apply to the other
|
||||||
|
parts of the aggregate.
|
||||||
|
|
||||||
|
#### 6. Conveying Non-Source Forms.
|
||||||
|
|
||||||
|
You may convey a covered work in object code form under the terms of
|
||||||
|
sections 4 and 5, provided that you also convey the machine-readable
|
||||||
|
Corresponding Source under the terms of this License, in one of these
|
||||||
|
ways:
|
||||||
|
|
||||||
|
- a) Convey the object code in, or embodied in, a physical product
|
||||||
|
(including a physical distribution medium), accompanied by the
|
||||||
|
Corresponding Source fixed on a durable physical medium
|
||||||
|
customarily used for software interchange.
|
||||||
|
- b) Convey the object code in, or embodied in, a physical product
|
||||||
|
(including a physical distribution medium), accompanied by a
|
||||||
|
written offer, valid for at least three years and valid for as
|
||||||
|
long as you offer spare parts or customer support for that product
|
||||||
|
model, to give anyone who possesses the object code either (1) a
|
||||||
|
copy of the Corresponding Source for all the software in the
|
||||||
|
product that is covered by this License, on a durable physical
|
||||||
|
medium customarily used for software interchange, for a price no
|
||||||
|
more than your reasonable cost of physically performing this
|
||||||
|
conveying of source, or (2) access to copy the Corresponding
|
||||||
|
Source from a network server at no charge.
|
||||||
|
- c) Convey individual copies of the object code with a copy of the
|
||||||
|
written offer to provide the Corresponding Source. This
|
||||||
|
alternative is allowed only occasionally and noncommercially, and
|
||||||
|
only if you received the object code with such an offer, in accord
|
||||||
|
with subsection 6b.
|
||||||
|
- d) Convey the object code by offering access from a designated
|
||||||
|
place (gratis or for a charge), and offer equivalent access to the
|
||||||
|
Corresponding Source in the same way through the same place at no
|
||||||
|
further charge. You need not require recipients to copy the
|
||||||
|
Corresponding Source along with the object code. If the place to
|
||||||
|
copy the object code is a network server, the Corresponding Source
|
||||||
|
may be on a different server (operated by you or a third party)
|
||||||
|
that supports equivalent copying facilities, provided you maintain
|
||||||
|
clear directions next to the object code saying where to find the
|
||||||
|
Corresponding Source. Regardless of what server hosts the
|
||||||
|
Corresponding Source, you remain obligated to ensure that it is
|
||||||
|
available for as long as needed to satisfy these requirements.
|
||||||
|
- e) Convey the object code using peer-to-peer transmission,
|
||||||
|
provided you inform other peers where the object code and
|
||||||
|
Corresponding Source of the work are being offered to the general
|
||||||
|
public at no charge under subsection 6d.
|
||||||
|
|
||||||
|
A separable portion of the object code, whose source code is excluded
|
||||||
|
from the Corresponding Source as a System Library, need not be
|
||||||
|
included in conveying the object code work.
|
||||||
|
|
||||||
|
A "User Product" is either (1) a "consumer product", which means any
|
||||||
|
tangible personal property which is normally used for personal,
|
||||||
|
family, or household purposes, or (2) anything designed or sold for
|
||||||
|
incorporation into a dwelling. In determining whether a product is a
|
||||||
|
consumer product, doubtful cases shall be resolved in favor of
|
||||||
|
coverage. For a particular product received by a particular user,
|
||||||
|
"normally used" refers to a typical or common use of that class of
|
||||||
|
product, regardless of the status of the particular user or of the way
|
||||||
|
in which the particular user actually uses, or expects or is expected
|
||||||
|
to use, the product. A product is a consumer product regardless of
|
||||||
|
whether the product has substantial commercial, industrial or
|
||||||
|
non-consumer uses, unless such uses represent the only significant
|
||||||
|
mode of use of the product.
|
||||||
|
|
||||||
|
"Installation Information" for a User Product means any methods,
|
||||||
|
procedures, authorization keys, or other information required to
|
||||||
|
install and execute modified versions of a covered work in that User
|
||||||
|
Product from a modified version of its Corresponding Source. The
|
||||||
|
information must suffice to ensure that the continued functioning of
|
||||||
|
the modified object code is in no case prevented or interfered with
|
||||||
|
solely because modification has been made.
|
||||||
|
|
||||||
|
If you convey an object code work under this section in, or with, or
|
||||||
|
specifically for use in, a User Product, and the conveying occurs as
|
||||||
|
part of a transaction in which the right of possession and use of the
|
||||||
|
User Product is transferred to the recipient in perpetuity or for a
|
||||||
|
fixed term (regardless of how the transaction is characterized), the
|
||||||
|
Corresponding Source conveyed under this section must be accompanied
|
||||||
|
by the Installation Information. But this requirement does not apply
|
||||||
|
if neither you nor any third party retains the ability to install
|
||||||
|
modified object code on the User Product (for example, the work has
|
||||||
|
been installed in ROM).
|
||||||
|
|
||||||
|
The requirement to provide Installation Information does not include a
|
||||||
|
requirement to continue to provide support service, warranty, or
|
||||||
|
updates for a work that has been modified or installed by the
|
||||||
|
recipient, or for the User Product in which it has been modified or
|
||||||
|
installed. Access to a network may be denied when the modification
|
||||||
|
itself materially and adversely affects the operation of the network
|
||||||
|
or violates the rules and protocols for communication across the
|
||||||
|
network.
|
||||||
|
|
||||||
|
Corresponding Source conveyed, and Installation Information provided,
|
||||||
|
in accord with this section must be in a format that is publicly
|
||||||
|
documented (and with an implementation available to the public in
|
||||||
|
source code form), and must require no special password or key for
|
||||||
|
unpacking, reading or copying.
|
||||||
|
|
||||||
|
#### 7. Additional Terms.
|
||||||
|
|
||||||
|
"Additional permissions" are terms that supplement the terms of this
|
||||||
|
License by making exceptions from one or more of its conditions.
|
||||||
|
Additional permissions that are applicable to the entire Program shall
|
||||||
|
be treated as though they were included in this License, to the extent
|
||||||
|
that they are valid under applicable law. If additional permissions
|
||||||
|
apply only to part of the Program, that part may be used separately
|
||||||
|
under those permissions, but the entire Program remains governed by
|
||||||
|
this License without regard to the additional permissions.
|
||||||
|
|
||||||
|
When you convey a copy of a covered work, you may at your option
|
||||||
|
remove any additional permissions from that copy, or from any part of
|
||||||
|
it. (Additional permissions may be written to require their own
|
||||||
|
removal in certain cases when you modify the work.) You may place
|
||||||
|
additional permissions on material, added by you to a covered work,
|
||||||
|
for which you have or can give appropriate copyright permission.
|
||||||
|
|
||||||
|
Notwithstanding any other provision of this License, for material you
|
||||||
|
add to a covered work, you may (if authorized by the copyright holders
|
||||||
|
of that material) supplement the terms of this License with terms:
|
||||||
|
|
||||||
|
- a) Disclaiming warranty or limiting liability differently from the
|
||||||
|
terms of sections 15 and 16 of this License; or
|
||||||
|
- b) Requiring preservation of specified reasonable legal notices or
|
||||||
|
author attributions in that material or in the Appropriate Legal
|
||||||
|
Notices displayed by works containing it; or
|
||||||
|
- c) Prohibiting misrepresentation of the origin of that material,
|
||||||
|
or requiring that modified versions of such material be marked in
|
||||||
|
reasonable ways as different from the original version; or
|
||||||
|
- d) Limiting the use for publicity purposes of names of licensors
|
||||||
|
or authors of the material; or
|
||||||
|
- e) Declining to grant rights under trademark law for use of some
|
||||||
|
trade names, trademarks, or service marks; or
|
||||||
|
- f) Requiring indemnification of licensors and authors of that
|
||||||
|
material by anyone who conveys the material (or modified versions
|
||||||
|
of it) with contractual assumptions of liability to the recipient,
|
||||||
|
for any liability that these contractual assumptions directly
|
||||||
|
impose on those licensors and authors.
|
||||||
|
|
||||||
|
All other non-permissive additional terms are considered "further
|
||||||
|
restrictions" within the meaning of section 10. If the Program as you
|
||||||
|
received it, or any part of it, contains a notice stating that it is
|
||||||
|
governed by this License along with a term that is a further
|
||||||
|
restriction, you may remove that term. If a license document contains
|
||||||
|
a further restriction but permits relicensing or conveying under this
|
||||||
|
License, you may add to a covered work material governed by the terms
|
||||||
|
of that license document, provided that the further restriction does
|
||||||
|
not survive such relicensing or conveying.
|
||||||
|
|
||||||
|
If you add terms to a covered work in accord with this section, you
|
||||||
|
must place, in the relevant source files, a statement of the
|
||||||
|
additional terms that apply to those files, or a notice indicating
|
||||||
|
where to find the applicable terms.
|
||||||
|
|
||||||
|
Additional terms, permissive or non-permissive, may be stated in the
|
||||||
|
form of a separately written license, or stated as exceptions; the
|
||||||
|
above requirements apply either way.
|
||||||
|
|
||||||
|
#### 8. Termination.
|
||||||
|
|
||||||
|
You may not propagate or modify a covered work except as expressly
|
||||||
|
provided under this License. Any attempt otherwise to propagate or
|
||||||
|
modify it is void, and will automatically terminate your rights under
|
||||||
|
this License (including any patent licenses granted under the third
|
||||||
|
paragraph of section 11).
|
||||||
|
|
||||||
|
However, if you cease all violation of this License, then your license
|
||||||
|
from a particular copyright holder is reinstated (a) provisionally,
|
||||||
|
unless and until the copyright holder explicitly and finally
|
||||||
|
terminates your license, and (b) permanently, if the copyright holder
|
||||||
|
fails to notify you of the violation by some reasonable means prior to
|
||||||
|
60 days after the cessation.
|
||||||
|
|
||||||
|
Moreover, your license from a particular copyright holder is
|
||||||
|
reinstated permanently if the copyright holder notifies you of the
|
||||||
|
violation by some reasonable means, this is the first time you have
|
||||||
|
received notice of violation of this License (for any work) from that
|
||||||
|
copyright holder, and you cure the violation prior to 30 days after
|
||||||
|
your receipt of the notice.
|
||||||
|
|
||||||
|
Termination of your rights under this section does not terminate the
|
||||||
|
licenses of parties who have received copies or rights from you under
|
||||||
|
this License. If your rights have been terminated and not permanently
|
||||||
|
reinstated, you do not qualify to receive new licenses for the same
|
||||||
|
material under section 10.
|
||||||
|
|
||||||
|
#### 9. Acceptance Not Required for Having Copies.
|
||||||
|
|
||||||
|
You are not required to accept this License in order to receive or run
|
||||||
|
a copy of the Program. Ancillary propagation of a covered work
|
||||||
|
occurring solely as a consequence of using peer-to-peer transmission
|
||||||
|
to receive a copy likewise does not require acceptance. However,
|
||||||
|
nothing other than this License grants you permission to propagate or
|
||||||
|
modify any covered work. These actions infringe copyright if you do
|
||||||
|
not accept this License. Therefore, by modifying or propagating a
|
||||||
|
covered work, you indicate your acceptance of this License to do so.
|
||||||
|
|
||||||
|
#### 10. Automatic Licensing of Downstream Recipients.
|
||||||
|
|
||||||
|
Each time you convey a covered work, the recipient automatically
|
||||||
|
receives a license from the original licensors, to run, modify and
|
||||||
|
propagate that work, subject to this License. You are not responsible
|
||||||
|
for enforcing compliance by third parties with this License.
|
||||||
|
|
||||||
|
An "entity transaction" is a transaction transferring control of an
|
||||||
|
organization, or substantially all assets of one, or subdividing an
|
||||||
|
organization, or merging organizations. If propagation of a covered
|
||||||
|
work results from an entity transaction, each party to that
|
||||||
|
transaction who receives a copy of the work also receives whatever
|
||||||
|
licenses to the work the party's predecessor in interest had or could
|
||||||
|
give under the previous paragraph, plus a right to possession of the
|
||||||
|
Corresponding Source of the work from the predecessor in interest, if
|
||||||
|
the predecessor has it or can get it with reasonable efforts.
|
||||||
|
|
||||||
|
You may not impose any further restrictions on the exercise of the
|
||||||
|
rights granted or affirmed under this License. For example, you may
|
||||||
|
not impose a license fee, royalty, or other charge for exercise of
|
||||||
|
rights granted under this License, and you may not initiate litigation
|
||||||
|
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||||
|
any patent claim is infringed by making, using, selling, offering for
|
||||||
|
sale, or importing the Program or any portion of it.
|
||||||
|
|
||||||
|
#### 11. Patents.
|
||||||
|
|
||||||
|
A "contributor" is a copyright holder who authorizes use under this
|
||||||
|
License of the Program or a work on which the Program is based. The
|
||||||
|
work thus licensed is called the contributor's "contributor version".
|
||||||
|
|
||||||
|
A contributor's "essential patent claims" are all patent claims owned
|
||||||
|
or controlled by the contributor, whether already acquired or
|
||||||
|
hereafter acquired, that would be infringed by some manner, permitted
|
||||||
|
by this License, of making, using, or selling its contributor version,
|
||||||
|
but do not include claims that would be infringed only as a
|
||||||
|
consequence of further modification of the contributor version. For
|
||||||
|
purposes of this definition, "control" includes the right to grant
|
||||||
|
patent sublicenses in a manner consistent with the requirements of
|
||||||
|
this License.
|
||||||
|
|
||||||
|
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||||
|
patent license under the contributor's essential patent claims, to
|
||||||
|
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||||
|
propagate the contents of its contributor version.
|
||||||
|
|
||||||
|
In the following three paragraphs, a "patent license" is any express
|
||||||
|
agreement or commitment, however denominated, not to enforce a patent
|
||||||
|
(such as an express permission to practice a patent or covenant not to
|
||||||
|
sue for patent infringement). To "grant" such a patent license to a
|
||||||
|
party means to make such an agreement or commitment not to enforce a
|
||||||
|
patent against the party.
|
||||||
|
|
||||||
|
If you convey a covered work, knowingly relying on a patent license,
|
||||||
|
and the Corresponding Source of the work is not available for anyone
|
||||||
|
to copy, free of charge and under the terms of this License, through a
|
||||||
|
publicly available network server or other readily accessible means,
|
||||||
|
then you must either (1) cause the Corresponding Source to be so
|
||||||
|
available, or (2) arrange to deprive yourself of the benefit of the
|
||||||
|
patent license for this particular work, or (3) arrange, in a manner
|
||||||
|
consistent with the requirements of this License, to extend the patent
|
||||||
|
license to downstream recipients. "Knowingly relying" means you have
|
||||||
|
actual knowledge that, but for the patent license, your conveying the
|
||||||
|
covered work in a country, or your recipient's use of the covered work
|
||||||
|
in a country, would infringe one or more identifiable patents in that
|
||||||
|
country that you have reason to believe are valid.
|
||||||
|
|
||||||
|
If, pursuant to or in connection with a single transaction or
|
||||||
|
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||||
|
covered work, and grant a patent license to some of the parties
|
||||||
|
receiving the covered work authorizing them to use, propagate, modify
|
||||||
|
or convey a specific copy of the covered work, then the patent license
|
||||||
|
you grant is automatically extended to all recipients of the covered
|
||||||
|
work and works based on it.
|
||||||
|
|
||||||
|
A patent license is "discriminatory" if it does not include within the
|
||||||
|
scope of its coverage, prohibits the exercise of, or is conditioned on
|
||||||
|
the non-exercise of one or more of the rights that are specifically
|
||||||
|
granted under this License. You may not convey a covered work if you
|
||||||
|
are a party to an arrangement with a third party that is in the
|
||||||
|
business of distributing software, under which you make payment to the
|
||||||
|
third party based on the extent of your activity of conveying the
|
||||||
|
work, and under which the third party grants, to any of the parties
|
||||||
|
who would receive the covered work from you, a discriminatory patent
|
||||||
|
license (a) in connection with copies of the covered work conveyed by
|
||||||
|
you (or copies made from those copies), or (b) primarily for and in
|
||||||
|
connection with specific products or compilations that contain the
|
||||||
|
covered work, unless you entered into that arrangement, or that patent
|
||||||
|
license was granted, prior to 28 March 2007.
|
||||||
|
|
||||||
|
Nothing in this License shall be construed as excluding or limiting
|
||||||
|
any implied license or other defenses to infringement that may
|
||||||
|
otherwise be available to you under applicable patent law.
|
||||||
|
|
||||||
|
#### 12. No Surrender of Others' Freedom.
|
||||||
|
|
||||||
|
If conditions are imposed on you (whether by court order, agreement or
|
||||||
|
otherwise) that contradict the conditions of this License, they do not
|
||||||
|
excuse you from the conditions of this License. If you cannot convey a
|
||||||
|
covered work so as to satisfy simultaneously your obligations under
|
||||||
|
this License and any other pertinent obligations, then as a
|
||||||
|
consequence you may not convey it at all. For example, if you agree to
|
||||||
|
terms that obligate you to collect a royalty for further conveying
|
||||||
|
from those to whom you convey the Program, the only way you could
|
||||||
|
satisfy both those terms and this License would be to refrain entirely
|
||||||
|
from conveying the Program.
|
||||||
|
|
||||||
|
#### 13. Remote Network Interaction; Use with the GNU General Public License.
|
||||||
|
|
||||||
|
Notwithstanding any other provision of this License, if you modify the
|
||||||
|
Program, your modified version must prominently offer all users
|
||||||
|
interacting with it remotely through a computer network (if your
|
||||||
|
version supports such interaction) an opportunity to receive the
|
||||||
|
Corresponding Source of your version by providing access to the
|
||||||
|
Corresponding Source from a network server at no charge, through some
|
||||||
|
standard or customary means of facilitating copying of software. This
|
||||||
|
Corresponding Source shall include the Corresponding Source for any
|
||||||
|
work covered by version 3 of the GNU General Public License that is
|
||||||
|
incorporated pursuant to the following paragraph.
|
||||||
|
|
||||||
|
Notwithstanding any other provision of this License, you have
|
||||||
|
permission to link or combine any covered work with a work licensed
|
||||||
|
under version 3 of the GNU General Public License into a single
|
||||||
|
combined work, and to convey the resulting work. The terms of this
|
||||||
|
License will continue to apply to the part which is the covered work,
|
||||||
|
but the work with which it is combined will remain governed by version
|
||||||
|
3 of the GNU General Public License.
|
||||||
|
|
||||||
|
#### 14. Revised Versions of this License.
|
||||||
|
|
||||||
|
The Free Software Foundation may publish revised and/or new versions
|
||||||
|
of the GNU Affero General Public License from time to time. Such new
|
||||||
|
versions will be similar in spirit to the present version, but may
|
||||||
|
differ in detail to address new problems or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the Program
|
||||||
|
specifies that a certain numbered version of the GNU Affero General
|
||||||
|
Public License "or any later version" applies to it, you have the
|
||||||
|
option of following the terms and conditions either of that numbered
|
||||||
|
version or of any later version published by the Free Software
|
||||||
|
Foundation. If the Program does not specify a version number of the
|
||||||
|
GNU Affero General Public License, you may choose any version ever
|
||||||
|
published by the Free Software Foundation.
|
||||||
|
|
||||||
|
If the Program specifies that a proxy can decide which future versions
|
||||||
|
of the GNU Affero General Public License can be used, that proxy's
|
||||||
|
public statement of acceptance of a version permanently authorizes you
|
||||||
|
to choose that version for the Program.
|
||||||
|
|
||||||
|
Later license versions may give you additional or different
|
||||||
|
permissions. However, no additional obligations are imposed on any
|
||||||
|
author or copyright holder as a result of your choosing to follow a
|
||||||
|
later version.
|
||||||
|
|
||||||
|
#### 15. Disclaimer of Warranty.
|
||||||
|
|
||||||
|
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||||
|
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||||
|
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT
|
||||||
|
WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT
|
||||||
|
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||||
|
A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND
|
||||||
|
PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE
|
||||||
|
DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR
|
||||||
|
CORRECTION.
|
||||||
|
|
||||||
|
#### 16. Limitation of Liability.
|
||||||
|
|
||||||
|
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||||
|
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR
|
||||||
|
CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES
|
||||||
|
ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT
|
||||||
|
NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR
|
||||||
|
LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM
|
||||||
|
TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER
|
||||||
|
PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||||
|
|
||||||
|
#### 17. Interpretation of Sections 15 and 16.
|
||||||
|
|
||||||
|
If the disclaimer of warranty and limitation of liability provided
|
||||||
|
above cannot be given local legal effect according to their terms,
|
||||||
|
reviewing courts shall apply local law that most closely approximates
|
||||||
|
an absolute waiver of all civil liability in connection with the
|
||||||
|
Program, unless a warranty or assumption of liability accompanies a
|
||||||
|
copy of the Program in return for a fee.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
### How to Apply These Terms to Your New Programs
|
||||||
|
|
||||||
|
If you develop a new program, and you want it to be of the greatest
|
||||||
|
possible use to the public, the best way to achieve this is to make it
|
||||||
|
free software which everyone can redistribute and change under these
|
||||||
|
terms.
|
||||||
|
|
||||||
|
To do so, attach the following notices to the program. It is safest to
|
||||||
|
attach them to the start of each source file to most effectively state
|
||||||
|
the exclusion of warranty; and each file should have at least the
|
||||||
|
"copyright" line and a pointer to where the full notice is found.
|
||||||
|
|
||||||
|
<one line to give the program's name and a brief idea of what it does.>
|
||||||
|
Copyright (C) <year> <name of author>
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Affero General Public License as
|
||||||
|
published by the Free Software Foundation, either version 3 of the
|
||||||
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Affero General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Affero General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
Also add information on how to contact you by electronic and paper
|
||||||
|
mail.
|
||||||
|
|
||||||
|
If your software can interact with users remotely through a computer
|
||||||
|
network, you should also make sure that it provides a way for users to
|
||||||
|
get its source. For example, if your program is a web application, its
|
||||||
|
interface could display a "Source" link that leads users to an archive
|
||||||
|
of the code. There are many ways you could offer source, and different
|
||||||
|
solutions will be better for different programs; see section 13 for
|
||||||
|
the specific requirements.
|
||||||
|
|
||||||
|
You should also get your employer (if you work as a programmer) or
|
||||||
|
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||||
|
necessary. For more information on this, and how to apply and follow
|
||||||
|
the GNU AGPL, see <https://www.gnu.org/licenses/>.
|
4
mix.exs
4
mix.exs
@ -4,8 +4,8 @@ defmodule Memex.MixProject do
|
|||||||
def project do
|
def project do
|
||||||
[
|
[
|
||||||
app: :memex,
|
app: :memex,
|
||||||
version: "0.1.16",
|
version: "0.1.19",
|
||||||
elixir: "1.17.0",
|
elixir: "1.18.1",
|
||||||
elixirc_paths: elixirc_paths(Mix.env()),
|
elixirc_paths: elixirc_paths(Mix.env()),
|
||||||
start_permanent: Mix.env() == :prod,
|
start_permanent: Mix.env() == :prod,
|
||||||
aliases: aliases(),
|
aliases: aliases(),
|
||||||
|
60
mix.lock
60
mix.lock
@ -1,54 +1,54 @@
|
|||||||
%{
|
%{
|
||||||
"bcrypt_elixir": {:hex, :bcrypt_elixir, "3.1.0", "0b110a9a6c619b19a7f73fa3004aa11d6e719a67e672d1633dc36b6b2290a0f7", [:make, :mix], [{:comeonin, "~> 5.3", [hex: :comeonin, repo: "hexpm", optional: false]}, {:elixir_make, "~> 0.6", [hex: :elixir_make, repo: "hexpm", optional: false]}], "hexpm", "2ad2acb5a8bc049e8d5aa267802631912bb80d5f4110a178ae7999e69dca1bf7"},
|
"bcrypt_elixir": {:hex, :bcrypt_elixir, "3.2.1", "e361261a0401d82dadc1ab7b969f91d250bf7577283e933fe8c5b72f8f5b3c46", [:make, :mix], [{:comeonin, "~> 5.3", [hex: :comeonin, repo: "hexpm", optional: false]}, {:elixir_make, "~> 0.6", [hex: :elixir_make, repo: "hexpm", optional: false]}], "hexpm", "81170177d5c2e280d12141a0b9d9e299bf731535e2d959982bdcd4cfe3c82865"},
|
||||||
"bunt": {:hex, :bunt, "1.0.0", "081c2c665f086849e6d57900292b3a161727ab40431219529f13c4ddcf3e7a44", [:mix], [], "hexpm", "dc5f86aa08a5f6fa6b8096f0735c4e76d54ae5c9fa2c143e5a1fc7c1cd9bb6b5"},
|
"bunt": {:hex, :bunt, "1.0.0", "081c2c665f086849e6d57900292b3a161727ab40431219529f13c4ddcf3e7a44", [:mix], [], "hexpm", "dc5f86aa08a5f6fa6b8096f0735c4e76d54ae5c9fa2c143e5a1fc7c1cd9bb6b5"},
|
||||||
"castore": {:hex, :castore, "1.0.8", "dedcf20ea746694647f883590b82d9e96014057aff1d44d03ec90f36a5c0dc6e", [:mix], [], "hexpm", "0b2b66d2ee742cb1d9cb8c8be3b43c3a70ee8651f37b75a8b982e036752983f1"},
|
"castore": {:hex, :castore, "1.0.11", "4bbd584741601eb658007339ea730b082cc61f3554cf2e8f39bf693a11b49073", [:mix], [], "hexpm", "e03990b4db988df56262852f20de0f659871c35154691427a5047f4967a16a62"},
|
||||||
"comeonin": {:hex, :comeonin, "5.4.0", "246a56ca3f41d404380fc6465650ddaa532c7f98be4bda1b4656b3a37cc13abe", [:mix], [], "hexpm", "796393a9e50d01999d56b7b8420ab0481a7538d0caf80919da493b4a6e51faf1"},
|
"comeonin": {:hex, :comeonin, "5.5.1", "5113e5f3800799787de08a6e0db307133850e635d34e9fab23c70b6501669510", [:mix], [], "hexpm", "65aac8f19938145377cee73973f192c5645873dcf550a8a6b18187d17c13ccdb"},
|
||||||
"cowboy": {:hex, :cowboy, "2.12.0", "f276d521a1ff88b2b9b4c54d0e753da6c66dd7be6c9fca3d9418b561828a3731", [:make, :rebar3], [{:cowlib, "2.13.0", [hex: :cowlib, repo: "hexpm", optional: false]}, {:ranch, "1.8.0", [hex: :ranch, repo: "hexpm", optional: false]}], "hexpm", "8a7abe6d183372ceb21caa2709bec928ab2b72e18a3911aa1771639bef82651e"},
|
"cowboy": {:hex, :cowboy, "2.12.0", "f276d521a1ff88b2b9b4c54d0e753da6c66dd7be6c9fca3d9418b561828a3731", [:make, :rebar3], [{:cowlib, "2.13.0", [hex: :cowlib, repo: "hexpm", optional: false]}, {:ranch, "1.8.0", [hex: :ranch, repo: "hexpm", optional: false]}], "hexpm", "8a7abe6d183372ceb21caa2709bec928ab2b72e18a3911aa1771639bef82651e"},
|
||||||
"cowboy_telemetry": {:hex, :cowboy_telemetry, "0.4.0", "f239f68b588efa7707abce16a84d0d2acf3a0f50571f8bb7f56a15865aae820c", [:rebar3], [{:cowboy, "~> 2.7", [hex: :cowboy, repo: "hexpm", optional: false]}, {:telemetry, "~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "7d98bac1ee4565d31b62d59f8823dfd8356a169e7fcbb83831b8a5397404c9de"},
|
"cowboy_telemetry": {:hex, :cowboy_telemetry, "0.4.0", "f239f68b588efa7707abce16a84d0d2acf3a0f50571f8bb7f56a15865aae820c", [:rebar3], [{:cowboy, "~> 2.7", [hex: :cowboy, repo: "hexpm", optional: false]}, {:telemetry, "~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "7d98bac1ee4565d31b62d59f8823dfd8356a169e7fcbb83831b8a5397404c9de"},
|
||||||
"cowlib": {:hex, :cowlib, "2.13.0", "db8f7505d8332d98ef50a3ef34b34c1afddec7506e4ee4dd4a3a266285d282ca", [:make, :rebar3], [], "hexpm", "e1e1284dc3fc030a64b1ad0d8382ae7e99da46c3246b815318a4b848873800a4"},
|
"cowlib": {:hex, :cowlib, "2.13.0", "db8f7505d8332d98ef50a3ef34b34c1afddec7506e4ee4dd4a3a266285d282ca", [:make, :rebar3], [], "hexpm", "e1e1284dc3fc030a64b1ad0d8382ae7e99da46c3246b815318a4b848873800a4"},
|
||||||
"credo": {:hex, :credo, "1.7.7", "771445037228f763f9b2afd612b6aa2fd8e28432a95dbbc60d8e03ce71ba4446", [:mix], [{:bunt, "~> 0.2.1 or ~> 1.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:file_system, "~> 0.2 or ~> 1.0", [hex: :file_system, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "8bc87496c9aaacdc3f90f01b7b0582467b69b4bd2441fe8aae3109d843cc2f2e"},
|
"credo": {:hex, :credo, "1.7.11", "d3e805f7ddf6c9c854fd36f089649d7cf6ba74c42bc3795d587814e3c9847102", [:mix], [{:bunt, "~> 0.2.1 or ~> 1.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:file_system, "~> 0.2 or ~> 1.0", [hex: :file_system, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "56826b4306843253a66e47ae45e98e7d284ee1f95d53d1612bb483f88a8cf219"},
|
||||||
"db_connection": {:hex, :db_connection, "2.7.0", "b99faa9291bb09892c7da373bb82cba59aefa9b36300f6145c5f201c7adf48ec", [:mix], [{:telemetry, "~> 0.4 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "dcf08f31b2701f857dfc787fbad78223d61a32204f217f15e881dd93e4bdd3ff"},
|
"db_connection": {:hex, :db_connection, "2.7.0", "b99faa9291bb09892c7da373bb82cba59aefa9b36300f6145c5f201c7adf48ec", [:mix], [{:telemetry, "~> 0.4 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "dcf08f31b2701f857dfc787fbad78223d61a32204f217f15e881dd93e4bdd3ff"},
|
||||||
"decimal": {:hex, :decimal, "2.1.1", "5611dca5d4b2c3dd497dec8f68751f1f1a54755e8ed2a966c2633cf885973ad6", [:mix], [], "hexpm", "53cfe5f497ed0e7771ae1a475575603d77425099ba5faef9394932b35020ffcc"},
|
"decimal": {:hex, :decimal, "2.3.0", "3ad6255aa77b4a3c4f818171b12d237500e63525c2fd056699967a3e7ea20f62", [:mix], [], "hexpm", "a4d66355cb29cb47c3cf30e71329e58361cfcb37c34235ef3bf1d7bf3773aeac"},
|
||||||
"dialyxir": {:hex, :dialyxir, "1.4.3", "edd0124f358f0b9e95bfe53a9fcf806d615d8f838e2202a9f430d59566b6b53b", [:mix], [{:erlex, ">= 0.2.6", [hex: :erlex, repo: "hexpm", optional: false]}], "hexpm", "bf2cfb75cd5c5006bec30141b131663299c661a864ec7fbbc72dfa557487a986"},
|
"dialyxir": {:hex, :dialyxir, "1.4.5", "ca1571ac18e0f88d4ab245f0b60fa31ff1b12cbae2b11bd25d207f865e8ae78a", [:mix], [{:erlex, ">= 0.2.7", [hex: :erlex, repo: "hexpm", optional: false]}], "hexpm", "b0fb08bb8107c750db5c0b324fa2df5ceaa0f9307690ee3c1f6ba5b9eb5d35c3"},
|
||||||
"earmark_parser": {:hex, :earmark_parser, "1.4.41", "ab34711c9dc6212dda44fcd20ecb87ac3f3fce6f0ca2f28d4a00e4154f8cd599", [:mix], [], "hexpm", "a81a04c7e34b6617c2792e291b5a2e57ab316365c2644ddc553bb9ed863ebefa"},
|
"earmark_parser": {:hex, :earmark_parser, "1.4.43", "34b2f401fe473080e39ff2b90feb8ddfeef7639f8ee0bbf71bb41911831d77c5", [:mix], [], "hexpm", "970a3cd19503f5e8e527a190662be2cee5d98eed1ff72ed9b3d1a3d466692de8"},
|
||||||
"ecto": {:hex, :ecto, "3.11.2", "e1d26be989db350a633667c5cda9c3d115ae779b66da567c68c80cfb26a8c9ee", [:mix], [{:decimal, "~> 2.0", [hex: :decimal, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: true]}, {:telemetry, "~> 0.4 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "3c38bca2c6f8d8023f2145326cc8a80100c3ffe4dcbd9842ff867f7fc6156c65"},
|
"ecto": {:hex, :ecto, "3.12.5", "4a312960ce612e17337e7cefcf9be45b95a3be6b36b6f94dfb3d8c361d631866", [:mix], [{:decimal, "~> 2.0", [hex: :decimal, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: true]}, {:telemetry, "~> 0.4 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "6eb18e80bef8bb57e17f5a7f068a1719fbda384d40fc37acb8eb8aeca493b6ea"},
|
||||||
"ecto_psql_extras": {:hex, :ecto_psql_extras, "0.8.0", "440719cd74f09b3f01c84455707a2c3972b725c513808e68eb6c5b0ab82bf523", [:mix], [{:ecto_sql, "~> 3.7", [hex: :ecto_sql, repo: "hexpm", optional: false]}, {:postgrex, "~> 0.16.0 or ~> 0.17.0 or ~> 0.18.0", [hex: :postgrex, repo: "hexpm", optional: false]}, {:table_rex, "~> 3.1.1 or ~> 4.0.0", [hex: :table_rex, repo: "hexpm", optional: false]}], "hexpm", "f1512812dc196bcb932a96c82e55f69b543dc125e9d39f5e3631a9c4ec65ef12"},
|
"ecto_psql_extras": {:hex, :ecto_psql_extras, "0.8.6", "9a4f25ba493ac111ae9e7bea2876f4deb1110c5d68a3e22092257be074fccaa0", [:mix], [{:ecto_sql, "~> 3.7", [hex: :ecto_sql, repo: "hexpm", optional: false]}, {:postgrex, "> 0.16.0", [hex: :postgrex, repo: "hexpm", optional: false]}, {:table_rex, "~> 3.1.1 or ~> 4.0.0", [hex: :table_rex, repo: "hexpm", optional: false]}], "hexpm", "5f615ab7e64ca452c107410d2d8f2e6c8330c520c581302cd1c770e65668cf6c"},
|
||||||
"ecto_sql": {:hex, :ecto_sql, "3.11.3", "4eb7348ff8101fbc4e6bbc5a4404a24fecbe73a3372d16569526b0cf34ebc195", [:mix], [{:db_connection, "~> 2.4.1 or ~> 2.5", [hex: :db_connection, repo: "hexpm", optional: false]}, {:ecto, "~> 3.11.0", [hex: :ecto, repo: "hexpm", optional: false]}, {:myxql, "~> 0.6", [hex: :myxql, repo: "hexpm", optional: true]}, {:postgrex, "~> 0.16 or ~> 1.0", [hex: :postgrex, repo: "hexpm", optional: true]}, {:tds, "~> 2.1.1 or ~> 2.2", [hex: :tds, repo: "hexpm", optional: true]}, {:telemetry, "~> 0.4.0 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "e5f36e3d736b99c7fee3e631333b8394ade4bafe9d96d35669fca2d81c2be928"},
|
"ecto_sql": {:hex, :ecto_sql, "3.12.1", "c0d0d60e85d9ff4631f12bafa454bc392ce8b9ec83531a412c12a0d415a3a4d0", [:mix], [{:db_connection, "~> 2.4.1 or ~> 2.5", [hex: :db_connection, repo: "hexpm", optional: false]}, {:ecto, "~> 3.12", [hex: :ecto, repo: "hexpm", optional: false]}, {:myxql, "~> 0.7", [hex: :myxql, repo: "hexpm", optional: true]}, {:postgrex, "~> 0.19 or ~> 1.0", [hex: :postgrex, repo: "hexpm", optional: true]}, {:tds, "~> 2.1.1 or ~> 2.2", [hex: :tds, repo: "hexpm", optional: true]}, {:telemetry, "~> 0.4.0 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "aff5b958a899762c5f09028c847569f7dfb9cc9d63bdb8133bff8a5546de6bf5"},
|
||||||
"elixir_make": {:hex, :elixir_make, "0.8.4", "4960a03ce79081dee8fe119d80ad372c4e7badb84c493cc75983f9d3bc8bde0f", [:mix], [{:castore, "~> 0.1 or ~> 1.0", [hex: :castore, repo: "hexpm", optional: true]}, {:certifi, "~> 2.0", [hex: :certifi, repo: "hexpm", optional: true]}], "hexpm", "6e7f1d619b5f61dfabd0a20aa268e575572b542ac31723293a4c1a567d5ef040"},
|
"elixir_make": {:hex, :elixir_make, "0.9.0", "6484b3cd8c0cee58f09f05ecaf1a140a8c97670671a6a0e7ab4dc326c3109726", [:mix], [], "hexpm", "db23d4fd8b757462ad02f8aa73431a426fe6671c80b200d9710caf3d1dd0ffdb"},
|
||||||
"eqrcode": {:hex, :eqrcode, "0.1.10", "6294fece9d68ad64eef1c3c92cf111cfd6469f4fbf230a2d4cc905a682178f3f", [:mix], [], "hexpm", "da30e373c36a0fd37ab6f58664b16029919896d6c45a68a95cc4d713e81076f1"},
|
"eqrcode": {:hex, :eqrcode, "0.1.10", "6294fece9d68ad64eef1c3c92cf111cfd6469f4fbf230a2d4cc905a682178f3f", [:mix], [], "hexpm", "da30e373c36a0fd37ab6f58664b16029919896d6c45a68a95cc4d713e81076f1"},
|
||||||
"erlex": {:hex, :erlex, "0.2.7", "810e8725f96ab74d17aac676e748627a07bc87eb950d2b83acd29dc047a30595", [:mix], [], "hexpm", "3ed95f79d1a844c3f6bf0cea61e0d5612a42ce56da9c03f01df538685365efb0"},
|
"erlex": {:hex, :erlex, "0.2.7", "810e8725f96ab74d17aac676e748627a07bc87eb950d2b83acd29dc047a30595", [:mix], [], "hexpm", "3ed95f79d1a844c3f6bf0cea61e0d5612a42ce56da9c03f01df538685365efb0"},
|
||||||
"ex_doc": {:hex, :ex_doc, "0.34.2", "13eedf3844ccdce25cfd837b99bea9ad92c4e511233199440488d217c92571e8", [:mix], [{:earmark_parser, "~> 1.4.39", [hex: :earmark_parser, repo: "hexpm", optional: false]}, {:makeup_c, ">= 0.1.0", [hex: :makeup_c, repo: "hexpm", optional: true]}, {:makeup_elixir, "~> 0.14 or ~> 1.0", [hex: :makeup_elixir, repo: "hexpm", optional: false]}, {:makeup_erlang, "~> 0.1 or ~> 1.0", [hex: :makeup_erlang, repo: "hexpm", optional: false]}, {:makeup_html, ">= 0.1.0", [hex: :makeup_html, repo: "hexpm", optional: true]}], "hexpm", "5ce5f16b41208a50106afed3de6a2ed34f4acfd65715b82a0b84b49d995f95c1"},
|
"ex_doc": {:hex, :ex_doc, "0.37.1", "65ca30d242082b95aa852b3b73c9d9914279fff56db5dc7b3859be5504417980", [:mix], [{:earmark_parser, "~> 1.4.42", [hex: :earmark_parser, repo: "hexpm", optional: false]}, {:makeup_c, ">= 0.1.0", [hex: :makeup_c, repo: "hexpm", optional: true]}, {:makeup_elixir, "~> 0.14 or ~> 1.0", [hex: :makeup_elixir, repo: "hexpm", optional: false]}, {:makeup_erlang, "~> 0.1 or ~> 1.0", [hex: :makeup_erlang, repo: "hexpm", optional: false]}, {:makeup_html, ">= 0.1.0", [hex: :makeup_html, repo: "hexpm", optional: true]}], "hexpm", "6774f75477733ea88ce861476db031f9399c110640752ca2b400dbbb50491224"},
|
||||||
"expo": {:hex, :expo, "0.5.2", "beba786aab8e3c5431813d7a44b828e7b922bfa431d6bfbada0904535342efe2", [:mix], [], "hexpm", "8c9bfa06ca017c9cb4020fabe980bc7fdb1aaec059fd004c2ab3bff03b1c599c"},
|
"expo": {:hex, :expo, "1.1.0", "f7b9ed7fb5745ebe1eeedf3d6f29226c5dd52897ac67c0f8af62a07e661e5c75", [:mix], [], "hexpm", "fbadf93f4700fb44c331362177bdca9eeb8097e8b0ef525c9cc501cb9917c960"},
|
||||||
"file_system": {:hex, :file_system, "1.0.0", "b689cc7dcee665f774de94b5a832e578bd7963c8e637ef940cd44327db7de2cd", [:mix], [], "hexpm", "6752092d66aec5a10e662aefeed8ddb9531d79db0bc145bb8c40325ca1d8536d"},
|
"file_system": {:hex, :file_system, "1.1.0", "08d232062284546c6c34426997dd7ef6ec9f8bbd090eb91780283c9016840e8f", [:mix], [], "hexpm", "bfcf81244f416871f2a2e15c1b515287faa5db9c6bcf290222206d120b3d43f6"},
|
||||||
"floki": {:hex, :floki, "0.36.2", "a7da0193538c93f937714a6704369711998a51a6164a222d710ebd54020aa7a3", [:mix], [], "hexpm", "a8766c0bc92f074e5cb36c4f9961982eda84c5d2b8e979ca67f5c268ec8ed580"},
|
"floki": {:hex, :floki, "0.37.0", "b83e0280bbc6372f2a403b2848013650b16640cd2470aea6701f0632223d719e", [:mix], [], "hexpm", "516a0c15a69f78c47dc8e0b9b3724b29608aa6619379f91b1ffa47109b5d0dd3"},
|
||||||
"gen_smtp": {:hex, :gen_smtp, "1.2.0", "9cfc75c72a8821588b9b9fe947ae5ab2aed95a052b81237e0928633a13276fd3", [:rebar3], [{:ranch, ">= 1.8.0", [hex: :ranch, repo: "hexpm", optional: false]}], "hexpm", "5ee0375680bca8f20c4d85f58c2894441443a743355430ff33a783fe03296779"},
|
"gen_smtp": {:hex, :gen_smtp, "1.2.0", "9cfc75c72a8821588b9b9fe947ae5ab2aed95a052b81237e0928633a13276fd3", [:rebar3], [{:ranch, ">= 1.8.0", [hex: :ranch, repo: "hexpm", optional: false]}], "hexpm", "5ee0375680bca8f20c4d85f58c2894441443a743355430ff33a783fe03296779"},
|
||||||
"gettext": {:hex, :gettext, "0.24.0", "6f4d90ac5f3111673cbefc4ebee96fe5f37a114861ab8c7b7d5b30a1108ce6d8", [:mix], [{:expo, "~> 0.5.1", [hex: :expo, repo: "hexpm", optional: false]}], "hexpm", "bdf75cdfcbe9e4622dd18e034b227d77dd17f0f133853a1c73b97b3d6c770e8b"},
|
"gettext": {:hex, :gettext, "0.26.2", "5978aa7b21fada6deabf1f6341ddba50bc69c999e812211903b169799208f2a8", [:mix], [{:expo, "~> 0.5.1 or ~> 1.0", [hex: :expo, repo: "hexpm", optional: false]}], "hexpm", "aa978504bcf76511efdc22d580ba08e2279caab1066b76bb9aa81c4a1e0a32a5"},
|
||||||
"jason": {:hex, :jason, "1.4.4", "b9226785a9aa77b6857ca22832cffa5d5011a667207eb2a0ad56adb5db443b8a", [:mix], [{:decimal, "~> 1.0 or ~> 2.0", [hex: :decimal, repo: "hexpm", optional: true]}], "hexpm", "c5eb0cab91f094599f94d55bc63409236a8ec69a21a67814529e8d5f6cc90b3b"},
|
"jason": {:hex, :jason, "1.4.4", "b9226785a9aa77b6857ca22832cffa5d5011a667207eb2a0ad56adb5db443b8a", [:mix], [{:decimal, "~> 1.0 or ~> 2.0", [hex: :decimal, repo: "hexpm", optional: true]}], "hexpm", "c5eb0cab91f094599f94d55bc63409236a8ec69a21a67814529e8d5f6cc90b3b"},
|
||||||
"makeup": {:hex, :makeup, "1.1.2", "9ba8837913bdf757787e71c1581c21f9d2455f4dd04cfca785c70bbfff1a76a3", [:mix], [{:nimble_parsec, "~> 1.2.2 or ~> 1.3", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "cce1566b81fbcbd21eca8ffe808f33b221f9eee2cbc7a1706fc3da9ff18e6cac"},
|
"makeup": {:hex, :makeup, "1.2.1", "e90ac1c65589ef354378def3ba19d401e739ee7ee06fb47f94c687016e3713d1", [:mix], [{:nimble_parsec, "~> 1.4", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "d36484867b0bae0fea568d10131197a4c2e47056a6fbe84922bf6ba71c8d17ce"},
|
||||||
"makeup_elixir": {:hex, :makeup_elixir, "0.16.2", "627e84b8e8bf22e60a2579dad15067c755531fea049ae26ef1020cad58fe9578", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}, {:nimble_parsec, "~> 1.2.3 or ~> 1.3", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "41193978704763f6bbe6cc2758b84909e62984c7752b3784bd3c218bb341706b"},
|
"makeup_elixir": {:hex, :makeup_elixir, "1.0.1", "e928a4f984e795e41e3abd27bfc09f51db16ab8ba1aebdba2b3a575437efafc2", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}, {:nimble_parsec, "~> 1.2.3 or ~> 1.3", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "7284900d412a3e5cfd97fdaed4f5ed389b8f2b4cb49efc0eb3bd10e2febf9507"},
|
||||||
"makeup_erlang": {:hex, :makeup_erlang, "1.0.1", "c7f58c120b2b5aa5fd80d540a89fdf866ed42f1f3994e4fe189abebeab610839", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm", "8a89a1eeccc2d798d6ea15496a6e4870b75e014d1af514b1b71fa33134f57814"},
|
"makeup_erlang": {:hex, :makeup_erlang, "1.0.2", "03e1804074b3aa64d5fad7aa64601ed0fb395337b982d9bcf04029d68d51b6a7", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm", "af33ff7ef368d5893e4a267933e7744e46ce3cf1f61e2dccf53a111ed3aa3727"},
|
||||||
"mime": {:hex, :mime, "2.0.6", "8f18486773d9b15f95f4f4f1e39b710045fa1de891fada4516559967276e4dc2", [:mix], [], "hexpm", "c9945363a6b26d747389aac3643f8e0e09d30499a138ad64fe8fd1d13d9b153e"},
|
"mime": {:hex, :mime, "2.0.6", "8f18486773d9b15f95f4f4f1e39b710045fa1de891fada4516559967276e4dc2", [:mix], [], "hexpm", "c9945363a6b26d747389aac3643f8e0e09d30499a138ad64fe8fd1d13d9b153e"},
|
||||||
"nimble_parsec": {:hex, :nimble_parsec, "1.4.0", "51f9b613ea62cfa97b25ccc2c1b4216e81df970acd8e16e8d1bdc58fef21370d", [:mix], [], "hexpm", "9c565862810fb383e9838c1dd2d7d2c437b3d13b267414ba6af33e50d2d1cf28"},
|
"nimble_parsec": {:hex, :nimble_parsec, "1.4.2", "8efba0122db06df95bfaa78f791344a89352ba04baedd3849593bfce4d0dc1c6", [:mix], [], "hexpm", "4b21398942dda052b403bbe1da991ccd03a053668d147d53fb8c4e0efe09c973"},
|
||||||
"oban": {:hex, :oban, "2.18.0", "092d20bfd3d70c7ecb70960f8548d300b54bb9937c7f2e56b388f3a9ed02ec68", [:mix], [{:ecto_sql, "~> 3.10", [hex: :ecto_sql, repo: "hexpm", optional: false]}, {:ecto_sqlite3, "~> 0.9", [hex: :ecto_sqlite3, repo: "hexpm", optional: true]}, {:jason, "~> 1.1", [hex: :jason, repo: "hexpm", optional: false]}, {:postgrex, "~> 0.16", [hex: :postgrex, repo: "hexpm", optional: true]}, {:telemetry, "~> 0.4 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "aace1eff6f8227ae38d4274af967d96f051c2f0a5152f2ef9809dd1f97866745"},
|
"oban": {:hex, :oban, "2.19.1", "fc376dcb04782973e384ce675539271363eef65222b23b2a8611e78c0744e5f7", [:mix], [{:ecto_sql, "~> 3.10", [hex: :ecto_sql, repo: "hexpm", optional: false]}, {:ecto_sqlite3, "~> 0.9", [hex: :ecto_sqlite3, repo: "hexpm", optional: true]}, {:igniter, "~> 0.5", [hex: :igniter, repo: "hexpm", optional: true]}, {:jason, "~> 1.1", [hex: :jason, repo: "hexpm", optional: true]}, {:myxql, "~> 0.7", [hex: :myxql, repo: "hexpm", optional: true]}, {:postgrex, "~> 0.16", [hex: :postgrex, repo: "hexpm", optional: true]}, {:telemetry, "~> 0.4 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "5f27ba9e79b9af623dacd79d597504176e8a7d24f3f8b5570ead2f6cedd3c5ec"},
|
||||||
"phoenix": {:hex, :phoenix, "1.7.14", "a7d0b3f1bc95987044ddada111e77bd7f75646a08518942c72a8440278ae7825", [:mix], [{:castore, ">= 0.0.0", [hex: :castore, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: true]}, {:phoenix_pubsub, "~> 2.1", [hex: :phoenix_pubsub, repo: "hexpm", optional: false]}, {:phoenix_template, "~> 1.0", [hex: :phoenix_template, repo: "hexpm", optional: false]}, {:phoenix_view, "~> 2.0", [hex: :phoenix_view, repo: "hexpm", optional: true]}, {:plug, "~> 1.14", [hex: :plug, repo: "hexpm", optional: false]}, {:plug_cowboy, "~> 2.7", [hex: :plug_cowboy, repo: "hexpm", optional: true]}, {:plug_crypto, "~> 1.2 or ~> 2.0", [hex: :plug_crypto, repo: "hexpm", optional: false]}, {:telemetry, "~> 0.4 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}, {:websock_adapter, "~> 0.5.3", [hex: :websock_adapter, repo: "hexpm", optional: false]}], "hexpm", "c7859bc56cc5dfef19ecfc240775dae358cbaa530231118a9e014df392ace61a"},
|
"phoenix": {:hex, :phoenix, "1.7.19", "36617efe5afbd821099a8b994ff4618a340a5bfb25531a1802c4d4c634017a57", [:mix], [{:castore, ">= 0.0.0", [hex: :castore, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: true]}, {:phoenix_pubsub, "~> 2.1", [hex: :phoenix_pubsub, repo: "hexpm", optional: false]}, {:phoenix_template, "~> 1.0", [hex: :phoenix_template, repo: "hexpm", optional: false]}, {:phoenix_view, "~> 2.0", [hex: :phoenix_view, repo: "hexpm", optional: true]}, {:plug, "~> 1.14", [hex: :plug, repo: "hexpm", optional: false]}, {:plug_cowboy, "~> 2.7", [hex: :plug_cowboy, repo: "hexpm", optional: true]}, {:plug_crypto, "~> 1.2 or ~> 2.0", [hex: :plug_crypto, repo: "hexpm", optional: false]}, {:telemetry, "~> 0.4 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}, {:websock_adapter, "~> 0.5.3", [hex: :websock_adapter, repo: "hexpm", optional: false]}], "hexpm", "ba4dc14458278773f905f8ae6c2ec743d52c3a35b6b353733f64f02dfe096cd6"},
|
||||||
"phoenix_ecto": {:hex, :phoenix_ecto, "4.6.2", "3b83b24ab5a2eb071a20372f740d7118767c272db386831b2e77638c4dcc606d", [:mix], [{:ecto, "~> 3.5", [hex: :ecto, repo: "hexpm", optional: false]}, {:phoenix_html, "~> 2.14.2 or ~> 3.0 or ~> 4.1", [hex: :phoenix_html, repo: "hexpm", optional: true]}, {:plug, "~> 1.9", [hex: :plug, repo: "hexpm", optional: false]}, {:postgrex, "~> 0.16 or ~> 1.0", [hex: :postgrex, repo: "hexpm", optional: true]}], "hexpm", "3f94d025f59de86be00f5f8c5dd7b5965a3298458d21ab1c328488be3b5fcd59"},
|
"phoenix_ecto": {:hex, :phoenix_ecto, "4.6.3", "f686701b0499a07f2e3b122d84d52ff8a31f5def386e03706c916f6feddf69ef", [:mix], [{:ecto, "~> 3.5", [hex: :ecto, repo: "hexpm", optional: false]}, {:phoenix_html, "~> 2.14.2 or ~> 3.0 or ~> 4.1", [hex: :phoenix_html, repo: "hexpm", optional: true]}, {:plug, "~> 1.9", [hex: :plug, repo: "hexpm", optional: false]}, {:postgrex, "~> 0.16 or ~> 1.0", [hex: :postgrex, repo: "hexpm", optional: true]}], "hexpm", "909502956916a657a197f94cc1206d9a65247538de8a5e186f7537c895d95764"},
|
||||||
"phoenix_html": {:hex, :phoenix_html, "4.1.1", "4c064fd3873d12ebb1388425a8f2a19348cef56e7289e1998e2d2fa758aa982e", [:mix], [], "hexpm", "f2f2df5a72bc9a2f510b21497fd7d2b86d932ec0598f0210fed4114adc546c6f"},
|
"phoenix_html": {:hex, :phoenix_html, "4.2.0", "83a4d351b66f472ebcce242e4ae48af1b781866f00ef0eb34c15030d4e2069ac", [:mix], [], "hexpm", "9713b3f238d07043583a94296cc4bbdceacd3b3a6c74667f4df13971e7866ec8"},
|
||||||
"phoenix_html_helpers": {:hex, :phoenix_html_helpers, "1.0.1", "7eed85c52eff80a179391036931791ee5d2f713d76a81d0d2c6ebafe1e11e5ec", [:mix], [{:phoenix_html, "~> 4.0", [hex: :phoenix_html, repo: "hexpm", optional: false]}, {:plug, "~> 1.5", [hex: :plug, repo: "hexpm", optional: true]}], "hexpm", "cffd2385d1fa4f78b04432df69ab8da63dc5cf63e07b713a4dcf36a3740e3090"},
|
"phoenix_html_helpers": {:hex, :phoenix_html_helpers, "1.0.1", "7eed85c52eff80a179391036931791ee5d2f713d76a81d0d2c6ebafe1e11e5ec", [:mix], [{:phoenix_html, "~> 4.0", [hex: :phoenix_html, repo: "hexpm", optional: false]}, {:plug, "~> 1.5", [hex: :plug, repo: "hexpm", optional: true]}], "hexpm", "cffd2385d1fa4f78b04432df69ab8da63dc5cf63e07b713a4dcf36a3740e3090"},
|
||||||
"phoenix_live_dashboard": {:hex, :phoenix_live_dashboard, "0.8.4", "4508e481f791ce62ec6a096e13b061387158cbeefacca68c6c1928e1305e23ed", [:mix], [{:ecto, "~> 3.6.2 or ~> 3.7", [hex: :ecto, repo: "hexpm", optional: true]}, {:ecto_mysql_extras, "~> 0.5", [hex: :ecto_mysql_extras, repo: "hexpm", optional: true]}, {:ecto_psql_extras, "~> 0.7", [hex: :ecto_psql_extras, repo: "hexpm", optional: true]}, {:ecto_sqlite3_extras, "~> 1.1.7 or ~> 1.2.0", [hex: :ecto_sqlite3_extras, repo: "hexpm", optional: true]}, {:mime, "~> 1.6 or ~> 2.0", [hex: :mime, repo: "hexpm", optional: false]}, {:phoenix_live_view, "~> 0.19 or ~> 1.0", [hex: :phoenix_live_view, repo: "hexpm", optional: false]}, {:telemetry_metrics, "~> 0.6 or ~> 1.0", [hex: :telemetry_metrics, repo: "hexpm", optional: false]}], "hexpm", "2984aae96994fbc5c61795a73b8fb58153b41ff934019cfb522343d2d3817d59"},
|
"phoenix_live_dashboard": {:hex, :phoenix_live_dashboard, "0.8.6", "7b1f0327f54c9eb69845fd09a77accf922f488c549a7e7b8618775eb603a62c7", [:mix], [{:ecto, "~> 3.6.2 or ~> 3.7", [hex: :ecto, repo: "hexpm", optional: true]}, {:ecto_mysql_extras, "~> 0.5", [hex: :ecto_mysql_extras, repo: "hexpm", optional: true]}, {:ecto_psql_extras, "~> 0.7", [hex: :ecto_psql_extras, repo: "hexpm", optional: true]}, {:ecto_sqlite3_extras, "~> 1.1.7 or ~> 1.2.0", [hex: :ecto_sqlite3_extras, repo: "hexpm", optional: true]}, {:mime, "~> 1.6 or ~> 2.0", [hex: :mime, repo: "hexpm", optional: false]}, {:phoenix_live_view, "~> 0.19 or ~> 1.0", [hex: :phoenix_live_view, repo: "hexpm", optional: false]}, {:telemetry_metrics, "~> 0.6 or ~> 1.0", [hex: :telemetry_metrics, repo: "hexpm", optional: false]}], "hexpm", "1681ab813ec26ca6915beb3414aa138f298e17721dc6a2bde9e6eb8a62360ff6"},
|
||||||
"phoenix_live_reload": {:hex, :phoenix_live_reload, "1.5.3", "f2161c207fda0e4fb55165f650f7f8db23f02b29e3bff00ff7ef161d6ac1f09d", [:mix], [{:file_system, "~> 0.3 or ~> 1.0", [hex: :file_system, repo: "hexpm", optional: false]}, {:phoenix, "~> 1.4", [hex: :phoenix, repo: "hexpm", optional: false]}], "hexpm", "b4ec9cd73cb01ff1bd1cac92e045d13e7030330b74164297d1aee3907b54803c"},
|
"phoenix_live_reload": {:hex, :phoenix_live_reload, "1.5.3", "f2161c207fda0e4fb55165f650f7f8db23f02b29e3bff00ff7ef161d6ac1f09d", [:mix], [{:file_system, "~> 0.3 or ~> 1.0", [hex: :file_system, repo: "hexpm", optional: false]}, {:phoenix, "~> 1.4", [hex: :phoenix, repo: "hexpm", optional: false]}], "hexpm", "b4ec9cd73cb01ff1bd1cac92e045d13e7030330b74164297d1aee3907b54803c"},
|
||||||
"phoenix_live_view": {:hex, :phoenix_live_view, "0.20.17", "f396bbdaf4ba227b82251eb75ac0afa6b3da5e509bc0d030206374237dfc9450", [:mix], [{:floki, "~> 0.36", [hex: :floki, repo: "hexpm", optional: true]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: true]}, {:phoenix, "~> 1.6.15 or ~> 1.7.0", [hex: :phoenix, repo: "hexpm", optional: false]}, {:phoenix_html, "~> 3.3 or ~> 4.0", [hex: :phoenix_html, repo: "hexpm", optional: false]}, {:phoenix_template, "~> 1.0", [hex: :phoenix_template, repo: "hexpm", optional: false]}, {:phoenix_view, "~> 2.0", [hex: :phoenix_view, repo: "hexpm", optional: true]}, {:plug, "~> 1.15", [hex: :plug, repo: "hexpm", optional: false]}, {:telemetry, "~> 0.4.2 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "a61d741ffb78c85fdbca0de084da6a48f8ceb5261a79165b5a0b59e5f65ce98b"},
|
"phoenix_live_view": {:hex, :phoenix_live_view, "0.20.17", "f396bbdaf4ba227b82251eb75ac0afa6b3da5e509bc0d030206374237dfc9450", [:mix], [{:floki, "~> 0.36", [hex: :floki, repo: "hexpm", optional: true]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: true]}, {:phoenix, "~> 1.6.15 or ~> 1.7.0", [hex: :phoenix, repo: "hexpm", optional: false]}, {:phoenix_html, "~> 3.3 or ~> 4.0", [hex: :phoenix_html, repo: "hexpm", optional: false]}, {:phoenix_template, "~> 1.0", [hex: :phoenix_template, repo: "hexpm", optional: false]}, {:phoenix_view, "~> 2.0", [hex: :phoenix_view, repo: "hexpm", optional: true]}, {:plug, "~> 1.15", [hex: :plug, repo: "hexpm", optional: false]}, {:telemetry, "~> 0.4.2 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "a61d741ffb78c85fdbca0de084da6a48f8ceb5261a79165b5a0b59e5f65ce98b"},
|
||||||
"phoenix_pubsub": {:hex, :phoenix_pubsub, "2.1.3", "3168d78ba41835aecad272d5e8cd51aa87a7ac9eb836eabc42f6e57538e3731d", [:mix], [], "hexpm", "bba06bc1dcfd8cb086759f0edc94a8ba2bc8896d5331a1e2c2902bf8e36ee502"},
|
"phoenix_pubsub": {:hex, :phoenix_pubsub, "2.1.3", "3168d78ba41835aecad272d5e8cd51aa87a7ac9eb836eabc42f6e57538e3731d", [:mix], [], "hexpm", "bba06bc1dcfd8cb086759f0edc94a8ba2bc8896d5331a1e2c2902bf8e36ee502"},
|
||||||
"phoenix_template": {:hex, :phoenix_template, "1.0.4", "e2092c132f3b5e5b2d49c96695342eb36d0ed514c5b252a77048d5969330d639", [:mix], [{:phoenix_html, "~> 2.14.2 or ~> 3.0 or ~> 4.0", [hex: :phoenix_html, repo: "hexpm", optional: true]}], "hexpm", "2c0c81f0e5c6753faf5cca2f229c9709919aba34fab866d3bc05060c9c444206"},
|
"phoenix_template": {:hex, :phoenix_template, "1.0.4", "e2092c132f3b5e5b2d49c96695342eb36d0ed514c5b252a77048d5969330d639", [:mix], [{:phoenix_html, "~> 2.14.2 or ~> 3.0 or ~> 4.0", [hex: :phoenix_html, repo: "hexpm", optional: true]}], "hexpm", "2c0c81f0e5c6753faf5cca2f229c9709919aba34fab866d3bc05060c9c444206"},
|
||||||
"plug": {:hex, :plug, "1.16.1", "40c74619c12f82736d2214557dedec2e9762029b2438d6d175c5074c933edc9d", [:mix], [{:mime, "~> 1.0 or ~> 2.0", [hex: :mime, repo: "hexpm", optional: false]}, {:plug_crypto, "~> 1.1.1 or ~> 1.2 or ~> 2.0", [hex: :plug_crypto, repo: "hexpm", optional: false]}, {:telemetry, "~> 0.4.3 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "a13ff6b9006b03d7e33874945b2755253841b238c34071ed85b0e86057f8cddc"},
|
"plug": {:hex, :plug, "1.16.1", "40c74619c12f82736d2214557dedec2e9762029b2438d6d175c5074c933edc9d", [:mix], [{:mime, "~> 1.0 or ~> 2.0", [hex: :mime, repo: "hexpm", optional: false]}, {:plug_crypto, "~> 1.1.1 or ~> 1.2 or ~> 2.0", [hex: :plug_crypto, repo: "hexpm", optional: false]}, {:telemetry, "~> 0.4.3 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "a13ff6b9006b03d7e33874945b2755253841b238c34071ed85b0e86057f8cddc"},
|
||||||
"plug_cowboy": {:hex, :plug_cowboy, "2.7.1", "87677ffe3b765bc96a89be7960f81703223fe2e21efa42c125fcd0127dd9d6b2", [:mix], [{:cowboy, "~> 2.7", [hex: :cowboy, repo: "hexpm", optional: false]}, {:cowboy_telemetry, "~> 0.3", [hex: :cowboy_telemetry, repo: "hexpm", optional: false]}, {:plug, "~> 1.14", [hex: :plug, repo: "hexpm", optional: false]}], "hexpm", "02dbd5f9ab571b864ae39418db7811618506256f6d13b4a45037e5fe78dc5de3"},
|
"plug_cowboy": {:hex, :plug_cowboy, "2.7.2", "fdadb973799ae691bf9ecad99125b16625b1c6039999da5fe544d99218e662e4", [:mix], [{:cowboy, "~> 2.7", [hex: :cowboy, repo: "hexpm", optional: false]}, {:cowboy_telemetry, "~> 0.3", [hex: :cowboy_telemetry, repo: "hexpm", optional: false]}, {:plug, "~> 1.14", [hex: :plug, repo: "hexpm", optional: false]}], "hexpm", "245d8a11ee2306094840c000e8816f0cbed69a23fc0ac2bcf8d7835ae019bb2f"},
|
||||||
"plug_crypto": {:hex, :plug_crypto, "2.1.0", "f44309c2b06d249c27c8d3f65cfe08158ade08418cf540fd4f72d4d6863abb7b", [:mix], [], "hexpm", "131216a4b030b8f8ce0f26038bc4421ae60e4bb95c5cf5395e1421437824c4fa"},
|
"plug_crypto": {:hex, :plug_crypto, "2.1.0", "f44309c2b06d249c27c8d3f65cfe08158ade08418cf540fd4f72d4d6863abb7b", [:mix], [], "hexpm", "131216a4b030b8f8ce0f26038bc4421ae60e4bb95c5cf5395e1421437824c4fa"},
|
||||||
"postgrex": {:hex, :postgrex, "0.18.0", "f34664101eaca11ff24481ed4c378492fed2ff416cd9b06c399e90f321867d7e", [:mix], [{:db_connection, "~> 2.1", [hex: :db_connection, repo: "hexpm", optional: false]}, {:decimal, "~> 1.5 or ~> 2.0", [hex: :decimal, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: true]}, {:table, "~> 0.1.0", [hex: :table, repo: "hexpm", optional: true]}], "hexpm", "a042989ba1bc1cca7383ebb9e461398e3f89f868c92ce6671feb7ef132a252d1"},
|
"postgrex": {:hex, :postgrex, "0.20.0", "363ed03ab4757f6bc47942eff7720640795eb557e1935951c1626f0d303a3aed", [:mix], [{:db_connection, "~> 2.1", [hex: :db_connection, repo: "hexpm", optional: false]}, {:decimal, "~> 1.5 or ~> 2.0", [hex: :decimal, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: true]}, {:table, "~> 0.1.0", [hex: :table, repo: "hexpm", optional: true]}], "hexpm", "d36ef8b36f323d29505314f704e21a1a038e2dc387c6409ee0cd24144e187c0f"},
|
||||||
"ranch": {:hex, :ranch, "1.8.0", "8c7a100a139fd57f17327b6413e4167ac559fbc04ca7448e9be9057311597a1d", [:make, :rebar3], [], "hexpm", "49fbcfd3682fab1f5d109351b61257676da1a2fdbe295904176d5e521a2ddfe5"},
|
"ranch": {:hex, :ranch, "1.8.0", "8c7a100a139fd57f17327b6413e4167ac559fbc04ca7448e9be9057311597a1d", [:make, :rebar3], [], "hexpm", "49fbcfd3682fab1f5d109351b61257676da1a2fdbe295904176d5e521a2ddfe5"},
|
||||||
"swoosh": {:hex, :swoosh, "1.16.10", "04be6e2eb1a31aa0aa21a731175c81cc3998189456a92daf13d44a5c754afcf5", [:mix], [{:bandit, ">= 1.0.0", [hex: :bandit, repo: "hexpm", optional: true]}, {:cowboy, "~> 1.1 or ~> 2.4", [hex: :cowboy, repo: "hexpm", optional: true]}, {:ex_aws, "~> 2.1", [hex: :ex_aws, repo: "hexpm", optional: true]}, {:finch, "~> 0.6", [hex: :finch, repo: "hexpm", optional: true]}, {:gen_smtp, "~> 0.13 or ~> 1.0", [hex: :gen_smtp, repo: "hexpm", optional: true]}, {:hackney, "~> 1.9", [hex: :hackney, repo: "hexpm", optional: true]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}, {:mail, "~> 0.2", [hex: :mail, repo: "hexpm", optional: true]}, {:mime, "~> 1.1 or ~> 2.0", [hex: :mime, repo: "hexpm", optional: false]}, {:mua, "~> 0.2.3", [hex: :mua, repo: "hexpm", optional: true]}, {:multipart, "~> 0.4", [hex: :multipart, repo: "hexpm", optional: true]}, {:plug, "~> 1.9", [hex: :plug, repo: "hexpm", optional: true]}, {:plug_cowboy, ">= 1.0.0", [hex: :plug_cowboy, repo: "hexpm", optional: true]}, {:req, "~> 0.5 or ~> 1.0", [hex: :req, repo: "hexpm", optional: true]}, {:telemetry, "~> 0.4.2 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "756be04db173c0cbe318f1dfe2bcc88aa63aed78cf5a4b02b61b36ee11fc716a"},
|
"swoosh": {:hex, :swoosh, "1.17.10", "3bfce0e716f92c85579c8b7bb390f1d287f388e4961bfb9343fe191ec4214225", [:mix], [{:bandit, ">= 1.0.0", [hex: :bandit, repo: "hexpm", optional: true]}, {:cowboy, "~> 1.1 or ~> 2.4", [hex: :cowboy, repo: "hexpm", optional: true]}, {:ex_aws, "~> 2.1", [hex: :ex_aws, repo: "hexpm", optional: true]}, {:finch, "~> 0.6", [hex: :finch, repo: "hexpm", optional: true]}, {:gen_smtp, "~> 0.13 or ~> 1.0", [hex: :gen_smtp, repo: "hexpm", optional: true]}, {:hackney, "~> 1.9", [hex: :hackney, repo: "hexpm", optional: true]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}, {:mail, "~> 0.2", [hex: :mail, repo: "hexpm", optional: true]}, {:mime, "~> 1.1 or ~> 2.0", [hex: :mime, repo: "hexpm", optional: false]}, {:mua, "~> 0.2.3", [hex: :mua, repo: "hexpm", optional: true]}, {:multipart, "~> 0.4", [hex: :multipart, repo: "hexpm", optional: true]}, {:plug, "~> 1.9", [hex: :plug, repo: "hexpm", optional: true]}, {:plug_cowboy, ">= 1.0.0", [hex: :plug_cowboy, repo: "hexpm", optional: true]}, {:req, "~> 0.5 or ~> 1.0", [hex: :req, repo: "hexpm", optional: true]}, {:telemetry, "~> 0.4.2 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "277f86c249089f4fc7d70944987151b76424fac1d348d40685008ba88e0a2717"},
|
||||||
"table_rex": {:hex, :table_rex, "4.0.0", "3c613a68ebdc6d4d1e731bc973c233500974ec3993c99fcdabb210407b90959b", [:mix], [], "hexpm", "c35c4d5612ca49ebb0344ea10387da4d2afe278387d4019e4d8111e815df8f55"},
|
"table_rex": {:hex, :table_rex, "4.0.0", "3c613a68ebdc6d4d1e731bc973c233500974ec3993c99fcdabb210407b90959b", [:mix], [], "hexpm", "c35c4d5612ca49ebb0344ea10387da4d2afe278387d4019e4d8111e815df8f55"},
|
||||||
"telemetry": {:hex, :telemetry, "1.2.1", "68fdfe8d8f05a8428483a97d7aab2f268aaff24b49e0f599faa091f1d4e7f61c", [:rebar3], [], "hexpm", "dad9ce9d8effc621708f99eac538ef1cbe05d6a874dd741de2e689c47feafed5"},
|
"telemetry": {:hex, :telemetry, "1.3.0", "fedebbae410d715cf8e7062c96a1ef32ec22e764197f70cda73d82778d61e7a2", [:rebar3], [], "hexpm", "7015fc8919dbe63764f4b4b87a95b7c0996bd539e0d499be6ec9d7f3875b79e6"},
|
||||||
"telemetry_metrics": {:hex, :telemetry_metrics, "0.6.2", "2caabe9344ec17eafe5403304771c3539f3b6e2f7fb6a6f602558c825d0d0bfb", [:mix], [{:telemetry, "~> 0.4 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "9b43db0dc33863930b9ef9d27137e78974756f5f198cae18409970ed6fa5b561"},
|
"telemetry_metrics": {:hex, :telemetry_metrics, "0.6.2", "2caabe9344ec17eafe5403304771c3539f3b6e2f7fb6a6f602558c825d0d0bfb", [:mix], [{:telemetry, "~> 0.4 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "9b43db0dc33863930b9ef9d27137e78974756f5f198cae18409970ed6fa5b561"},
|
||||||
"telemetry_poller": {:hex, :telemetry_poller, "1.1.0", "58fa7c216257291caaf8d05678c8d01bd45f4bdbc1286838a28c4bb62ef32999", [:rebar3], [{:telemetry, "~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "9eb9d9cbfd81cbd7cdd24682f8711b6e2b691289a0de6826e58452f28c103c8f"},
|
"telemetry_poller": {:hex, :telemetry_poller, "1.1.0", "58fa7c216257291caaf8d05678c8d01bd45f4bdbc1286838a28c4bb62ef32999", [:rebar3], [{:telemetry, "~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "9eb9d9cbfd81cbd7cdd24682f8711b6e2b691289a0de6826e58452f28c103c8f"},
|
||||||
"websock": {:hex, :websock, "0.5.3", "2f69a6ebe810328555b6fe5c831a851f485e303a7c8ce6c5f675abeb20ebdadc", [:mix], [], "hexpm", "6105453d7fac22c712ad66fab1d45abdf049868f253cf719b625151460b8b453"},
|
"websock": {:hex, :websock, "0.5.3", "2f69a6ebe810328555b6fe5c831a851f485e303a7c8ce6c5f675abeb20ebdadc", [:mix], [], "hexpm", "6105453d7fac22c712ad66fab1d45abdf049868f253cf719b625151460b8b453"},
|
||||||
"websock_adapter": {:hex, :websock_adapter, "0.5.6", "0437fe56e093fd4ac422de33bf8fc89f7bc1416a3f2d732d8b2c8fd54792fe60", [:mix], [{:bandit, ">= 0.6.0", [hex: :bandit, repo: "hexpm", optional: true]}, {:plug, "~> 1.14", [hex: :plug, repo: "hexpm", optional: false]}, {:plug_cowboy, "~> 2.6", [hex: :plug_cowboy, repo: "hexpm", optional: true]}, {:websock, "~> 0.5", [hex: :websock, repo: "hexpm", optional: false]}], "hexpm", "e04378d26b0af627817ae84c92083b7e97aca3121196679b73c73b99d0d133ea"},
|
"websock_adapter": {:hex, :websock_adapter, "0.5.8", "3b97dc94e407e2d1fc666b2fb9acf6be81a1798a2602294aac000260a7c4a47d", [:mix], [{:bandit, ">= 0.6.0", [hex: :bandit, repo: "hexpm", optional: true]}, {:plug, "~> 1.14", [hex: :plug, repo: "hexpm", optional: false]}, {:plug_cowboy, "~> 2.6", [hex: :plug_cowboy, repo: "hexpm", optional: true]}, {:websock, "~> 0.5", [hex: :websock, repo: "hexpm", optional: false]}], "hexpm", "315b9a1865552212b5f35140ad194e67ce31af45bcee443d4ecb96b5fd3f3782"},
|
||||||
}
|
}
|
||||||
|
@ -40,12 +40,12 @@ msgid "create invite"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/index.html.heex:50
|
#: lib/memex_web/live/context_live/index.html.heex:50
|
||||||
#: lib/memex_web/live/context_live/show.html.heex:34
|
#: lib/memex_web/live/context_live/show.html.heex:51
|
||||||
#: lib/memex_web/live/note_live/index.html.heex:50
|
#: lib/memex_web/live/note_live/index.html.heex:50
|
||||||
#: lib/memex_web/live/note_live/show.html.heex:34
|
#: lib/memex_web/live/note_live/show.html.heex:58
|
||||||
#: lib/memex_web/live/pipeline_live/index.html.heex:52
|
#: lib/memex_web/live/pipeline_live/index.html.heex:52
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:34
|
#: lib/memex_web/live/pipeline_live/show.html.heex:41
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:105
|
#: lib/memex_web/live/pipeline_live/show.html.heex:112
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "delete"
|
msgid "delete"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -56,12 +56,12 @@ msgid "delete user"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/index.html.heex:40
|
#: lib/memex_web/live/context_live/index.html.heex:40
|
||||||
#: lib/memex_web/live/context_live/show.html.heex:24
|
#: lib/memex_web/live/context_live/show.html.heex:41
|
||||||
#: lib/memex_web/live/note_live/index.html.heex:40
|
#: lib/memex_web/live/note_live/index.html.heex:40
|
||||||
#: lib/memex_web/live/note_live/show.html.heex:24
|
#: lib/memex_web/live/note_live/show.html.heex:48
|
||||||
#: lib/memex_web/live/pipeline_live/index.html.heex:40
|
#: lib/memex_web/live/pipeline_live/index.html.heex:40
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:24
|
#: lib/memex_web/live/pipeline_live/show.html.heex:31
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:94
|
#: lib/memex_web/live/pipeline_live/show.html.heex:101
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "edit"
|
msgid "edit"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -103,16 +103,16 @@ msgstr ""
|
|||||||
msgid "register"
|
msgid "register"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/form_component.html.heex:51
|
#: lib/memex_web/live/context_live/form_component.html.heex:52
|
||||||
#: lib/memex_web/live/invite_live/form_component.html.heex:47
|
#: lib/memex_web/live/invite_live/form_component.html.heex:48
|
||||||
#: lib/memex_web/live/note_live/form_component.html.heex:49
|
#: lib/memex_web/live/note_live/form_component.html.heex:50
|
||||||
#: lib/memex_web/live/pipeline_live/form_component.html.heex:55
|
#: lib/memex_web/live/pipeline_live/form_component.html.heex:56
|
||||||
#: lib/memex_web/live/step_live/form_component.html.heex:38
|
#: lib/memex_web/live/step_live/form_component.html.heex:39
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "save"
|
msgid "save"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:120
|
#: lib/memex_web/live/pipeline_live/show.html.heex:127
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "add step"
|
msgid "add step"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -145,24 +145,24 @@ msgid "copy invite link for %{invite_name}"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/index.html.heex:48
|
#: lib/memex_web/live/context_live/index.html.heex:48
|
||||||
#: lib/memex_web/live/context_live/show.html.heex:32
|
#: lib/memex_web/live/context_live/show.html.heex:49
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "delete %{context_slug}"
|
msgid "delete %{context_slug}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/note_live/index.html.heex:48
|
#: lib/memex_web/live/note_live/index.html.heex:48
|
||||||
#: lib/memex_web/live/note_live/show.html.heex:32
|
#: lib/memex_web/live/note_live/show.html.heex:56
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "delete %{note_slug}"
|
msgid "delete %{note_slug}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/pipeline_live/index.html.heex:49
|
#: lib/memex_web/live/pipeline_live/index.html.heex:49
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:32
|
#: lib/memex_web/live/pipeline_live/show.html.heex:39
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "delete %{pipeline_slug}"
|
msgid "delete %{pipeline_slug}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:103
|
#: lib/memex_web/live/pipeline_live/show.html.heex:110
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "delete %{step_title}"
|
msgid "delete %{step_title}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -187,7 +187,7 @@ msgstr ""
|
|||||||
msgid "edit %{pipeline_slug}"
|
msgid "edit %{pipeline_slug}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:92
|
#: lib/memex_web/live/pipeline_live/show.html.heex:99
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "edit %{step_title}"
|
msgid "edit %{step_title}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -197,12 +197,12 @@ msgstr ""
|
|||||||
msgid "edit invite for %{invite_name}"
|
msgid "edit invite for %{invite_name}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:82
|
#: lib/memex_web/live/pipeline_live/show.html.heex:89
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "move %{step_title} down"
|
msgid "move %{step_title} down"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:66
|
#: lib/memex_web/live/pipeline_live/show.html.heex:73
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "move %{step_title} up"
|
msgid "move %{step_title} up"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -40,12 +40,12 @@ msgid "create invite"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/index.html.heex:50
|
#: lib/memex_web/live/context_live/index.html.heex:50
|
||||||
#: lib/memex_web/live/context_live/show.html.heex:34
|
#: lib/memex_web/live/context_live/show.html.heex:51
|
||||||
#: lib/memex_web/live/note_live/index.html.heex:50
|
#: lib/memex_web/live/note_live/index.html.heex:50
|
||||||
#: lib/memex_web/live/note_live/show.html.heex:34
|
#: lib/memex_web/live/note_live/show.html.heex:58
|
||||||
#: lib/memex_web/live/pipeline_live/index.html.heex:52
|
#: lib/memex_web/live/pipeline_live/index.html.heex:52
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:34
|
#: lib/memex_web/live/pipeline_live/show.html.heex:41
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:105
|
#: lib/memex_web/live/pipeline_live/show.html.heex:112
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "delete"
|
msgid "delete"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -56,12 +56,12 @@ msgid "delete user"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/index.html.heex:40
|
#: lib/memex_web/live/context_live/index.html.heex:40
|
||||||
#: lib/memex_web/live/context_live/show.html.heex:24
|
#: lib/memex_web/live/context_live/show.html.heex:41
|
||||||
#: lib/memex_web/live/note_live/index.html.heex:40
|
#: lib/memex_web/live/note_live/index.html.heex:40
|
||||||
#: lib/memex_web/live/note_live/show.html.heex:24
|
#: lib/memex_web/live/note_live/show.html.heex:48
|
||||||
#: lib/memex_web/live/pipeline_live/index.html.heex:40
|
#: lib/memex_web/live/pipeline_live/index.html.heex:40
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:24
|
#: lib/memex_web/live/pipeline_live/show.html.heex:31
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:94
|
#: lib/memex_web/live/pipeline_live/show.html.heex:101
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "edit"
|
msgid "edit"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -103,16 +103,16 @@ msgstr ""
|
|||||||
msgid "register"
|
msgid "register"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/form_component.html.heex:51
|
#: lib/memex_web/live/context_live/form_component.html.heex:52
|
||||||
#: lib/memex_web/live/invite_live/form_component.html.heex:47
|
#: lib/memex_web/live/invite_live/form_component.html.heex:48
|
||||||
#: lib/memex_web/live/note_live/form_component.html.heex:49
|
#: lib/memex_web/live/note_live/form_component.html.heex:50
|
||||||
#: lib/memex_web/live/pipeline_live/form_component.html.heex:55
|
#: lib/memex_web/live/pipeline_live/form_component.html.heex:56
|
||||||
#: lib/memex_web/live/step_live/form_component.html.heex:38
|
#: lib/memex_web/live/step_live/form_component.html.heex:39
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "save"
|
msgid "save"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:120
|
#: lib/memex_web/live/pipeline_live/show.html.heex:127
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "add step"
|
msgid "add step"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -145,24 +145,24 @@ msgid "copy invite link for %{invite_name}"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/index.html.heex:48
|
#: lib/memex_web/live/context_live/index.html.heex:48
|
||||||
#: lib/memex_web/live/context_live/show.html.heex:32
|
#: lib/memex_web/live/context_live/show.html.heex:49
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "delete %{context_slug}"
|
msgid "delete %{context_slug}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/note_live/index.html.heex:48
|
#: lib/memex_web/live/note_live/index.html.heex:48
|
||||||
#: lib/memex_web/live/note_live/show.html.heex:32
|
#: lib/memex_web/live/note_live/show.html.heex:56
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "delete %{note_slug}"
|
msgid "delete %{note_slug}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/pipeline_live/index.html.heex:49
|
#: lib/memex_web/live/pipeline_live/index.html.heex:49
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:32
|
#: lib/memex_web/live/pipeline_live/show.html.heex:39
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "delete %{pipeline_slug}"
|
msgid "delete %{pipeline_slug}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:103
|
#: lib/memex_web/live/pipeline_live/show.html.heex:110
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "delete %{step_title}"
|
msgid "delete %{step_title}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -187,7 +187,7 @@ msgstr ""
|
|||||||
msgid "edit %{pipeline_slug}"
|
msgid "edit %{pipeline_slug}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:92
|
#: lib/memex_web/live/pipeline_live/show.html.heex:99
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "edit %{step_title}"
|
msgid "edit %{step_title}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -197,12 +197,12 @@ msgstr ""
|
|||||||
msgid "edit invite for %{invite_name}"
|
msgid "edit invite for %{invite_name}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:82
|
#: lib/memex_web/live/pipeline_live/show.html.heex:89
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "move %{step_title} down"
|
msgid "move %{step_title} down"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:66
|
#: lib/memex_web/live/pipeline_live/show.html.heex:73
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "move %{step_title} up"
|
msgid "move %{step_title} up"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -17,9 +17,9 @@ msgstr ""
|
|||||||
msgid "Reconnecting..."
|
msgid "Reconnecting..."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/show.html.heex:15
|
#: lib/memex_web/live/context_live/show.html.heex:36
|
||||||
#: lib/memex_web/live/note_live/show.html.heex:15
|
#: lib/memex_web/live/note_live/show.html.heex:43
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:15
|
#: lib/memex_web/live/pipeline_live/show.html.heex:26
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Visibility: %{visibility}"
|
msgid "Visibility: %{visibility}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -29,7 +29,7 @@ msgstr ""
|
|||||||
msgid "accessible from any internet-capable device"
|
msgid "accessible from any internet-capable device"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/home_live.html.heex:85
|
#: lib/memex_web/live/home_live.html.heex:94
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "admins:"
|
msgid "admins:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -46,8 +46,8 @@ msgid "confirm new password"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/components/core_components/topbar.html.heex:28
|
#: lib/memex_web/components/core_components/topbar.html.heex:28
|
||||||
#: lib/memex_web/live/context_live/index.ex:35
|
#: lib/memex_web/live/context_live/index.ex:41
|
||||||
#: lib/memex_web/live/context_live/index.ex:43
|
#: lib/memex_web/live/context_live/index.ex:51
|
||||||
#: lib/memex_web/live/context_live/index.html.heex:3
|
#: lib/memex_web/live/context_live/index.html.heex:3
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "contexts"
|
msgid "contexts"
|
||||||
@ -118,22 +118,22 @@ msgstr ""
|
|||||||
msgid "features"
|
msgid "features"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/home_live.html.heex:149
|
#: lib/memex_web/live/home_live.html.heex:158
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "help translate"
|
msgid "help translate"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/home_live.html.heex:80
|
#: lib/memex_web/live/home_live.html.heex:89
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "instance information"
|
msgid "instance information"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/components/core_components/invite_card.html.heex:22
|
#: lib/memex_web/components/core_components/invite_card.html.heex:8
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "invite disabled"
|
msgid "invite disabled"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/home_live.html.heex:105
|
#: lib/memex_web/live/home_live.html.heex:114
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "invite only"
|
msgid "invite only"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -177,8 +177,8 @@ msgid "no notes found"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/components/core_components/topbar.html.heex:22
|
#: lib/memex_web/components/core_components/topbar.html.heex:22
|
||||||
#: lib/memex_web/live/note_live/index.ex:35
|
#: lib/memex_web/live/note_live/index.ex:41
|
||||||
#: lib/memex_web/live/note_live/index.ex:43
|
#: lib/memex_web/live/note_live/index.ex:51
|
||||||
#: lib/memex_web/live/note_live/index.html.heex:3
|
#: lib/memex_web/live/note_live/index.html.heex:3
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "notes"
|
msgid "notes"
|
||||||
@ -190,8 +190,8 @@ msgid "notes:"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/components/core_components/topbar.html.heex:34
|
#: lib/memex_web/components/core_components/topbar.html.heex:34
|
||||||
#: lib/memex_web/live/pipeline_live/index.ex:35
|
#: lib/memex_web/live/pipeline_live/index.ex:40
|
||||||
#: lib/memex_web/live/pipeline_live/index.ex:43
|
#: lib/memex_web/live/pipeline_live/index.ex:50
|
||||||
#: lib/memex_web/live/pipeline_live/index.html.heex:3
|
#: lib/memex_web/live/pipeline_live/index.html.heex:3
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "pipelines"
|
msgid "pipelines"
|
||||||
@ -217,7 +217,7 @@ msgstr ""
|
|||||||
msgid "provide context around a single topic and hotlink to your notes"
|
msgid "provide context around a single topic and hotlink to your notes"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/home_live.html.heex:104
|
#: lib/memex_web/live/home_live.html.heex:113
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "public signups"
|
msgid "public signups"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -227,30 +227,30 @@ msgstr ""
|
|||||||
msgid "register"
|
msgid "register"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/home_live.html.heex:101
|
#: lib/memex_web/live/home_live.html.heex:110
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "registration:"
|
msgid "registration:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/home_live.html.heex:160
|
#: lib/memex_web/live/home_live.html.heex:169
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "report bugs or request features"
|
msgid "report bugs or request features"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/form_component.html.heex:52
|
#: lib/memex_web/live/context_live/form_component.html.heex:53
|
||||||
#: lib/memex_web/live/note_live/form_component.html.heex:50
|
#: lib/memex_web/live/note_live/form_component.html.heex:51
|
||||||
#: lib/memex_web/live/pipeline_live/form_component.html.heex:56
|
#: lib/memex_web/live/pipeline_live/form_component.html.heex:57
|
||||||
#: lib/memex_web/live/step_live/form_component.html.heex:39
|
#: lib/memex_web/live/step_live/form_component.html.heex:40
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "saving..."
|
msgid "saving..."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/form_component.html.heex:46
|
|
||||||
#: lib/memex_web/live/context_live/form_component.html.heex:47
|
#: lib/memex_web/live/context_live/form_component.html.heex:47
|
||||||
#: lib/memex_web/live/note_live/form_component.html.heex:44
|
#: lib/memex_web/live/context_live/form_component.html.heex:48
|
||||||
#: lib/memex_web/live/note_live/form_component.html.heex:45
|
#: lib/memex_web/live/note_live/form_component.html.heex:45
|
||||||
#: lib/memex_web/live/pipeline_live/form_component.html.heex:50
|
#: lib/memex_web/live/note_live/form_component.html.heex:46
|
||||||
#: lib/memex_web/live/pipeline_live/form_component.html.heex:51
|
#: lib/memex_web/live/pipeline_live/form_component.html.heex:51
|
||||||
|
#: lib/memex_web/live/pipeline_live/form_component.html.heex:52
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "select privacy"
|
msgid "select privacy"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -266,12 +266,12 @@ msgstr ""
|
|||||||
msgid "settings"
|
msgid "settings"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/form_component.html.heex:34
|
#: lib/memex_web/live/context_live/form_component.html.heex:35
|
||||||
#: lib/memex_web/live/context_live/form_component.html.heex:39
|
#: lib/memex_web/live/context_live/form_component.html.heex:40
|
||||||
#: lib/memex_web/live/note_live/form_component.html.heex:32
|
#: lib/memex_web/live/note_live/form_component.html.heex:33
|
||||||
#: lib/memex_web/live/note_live/form_component.html.heex:37
|
#: lib/memex_web/live/note_live/form_component.html.heex:38
|
||||||
#: lib/memex_web/live/pipeline_live/form_component.html.heex:38
|
#: lib/memex_web/live/pipeline_live/form_component.html.heex:39
|
||||||
#: lib/memex_web/live/pipeline_live/form_component.html.heex:43
|
#: lib/memex_web/live/pipeline_live/form_component.html.heex:44
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "tag1,tag2"
|
msgid "tag1,tag2"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -288,12 +288,12 @@ msgstr ""
|
|||||||
msgid "users"
|
msgid "users"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/home_live.html.heex:111
|
#: lib/memex_web/live/home_live.html.heex:120
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "version:"
|
msgid "version:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/home_live.html.heex:138
|
#: lib/memex_web/live/home_live.html.heex:147
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "view the source code"
|
msgid "view the source code"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -305,7 +305,7 @@ msgstr ""
|
|||||||
msgid "visibility"
|
msgid "visibility"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/note_live/index.ex:29
|
#: lib/memex_web/live/note_live/index.ex:33
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "new note"
|
msgid "new note"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -317,7 +317,7 @@ msgstr ""
|
|||||||
msgid "search"
|
msgid "search"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/index.ex:29
|
#: lib/memex_web/live/context_live/index.ex:33
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "new context"
|
msgid "new context"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -332,7 +332,7 @@ msgstr ""
|
|||||||
msgid "description"
|
msgid "description"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/pipeline_live/index.ex:29
|
#: lib/memex_web/live/pipeline_live/index.ex:32
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "new pipeline"
|
msgid "new pipeline"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -349,12 +349,12 @@ msgstr ""
|
|||||||
msgid "%{slug} created"
|
msgid "%{slug} created"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/index.ex:57
|
#: lib/memex_web/live/context_live/index.ex:65
|
||||||
#: lib/memex_web/live/context_live/show.ex:40
|
#: lib/memex_web/live/context_live/show.ex:44
|
||||||
#: lib/memex_web/live/note_live/index.ex:57
|
#: lib/memex_web/live/note_live/index.ex:65
|
||||||
#: lib/memex_web/live/note_live/show.ex:40
|
#: lib/memex_web/live/note_live/show.ex:45
|
||||||
#: lib/memex_web/live/pipeline_live/index.ex:57
|
#: lib/memex_web/live/pipeline_live/index.ex:65
|
||||||
#: lib/memex_web/live/pipeline_live/show.ex:75
|
#: lib/memex_web/live/pipeline_live/show.ex:78
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{slug} deleted"
|
msgid "%{slug} deleted"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -366,12 +366,12 @@ msgstr ""
|
|||||||
msgid "%{slug} saved"
|
msgid "%{slug} saved"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/index.ex:23
|
#: lib/memex_web/live/context_live/index.ex:25
|
||||||
#: lib/memex_web/live/context_live/show.ex:47
|
#: lib/memex_web/live/context_live/show.ex:51
|
||||||
#: lib/memex_web/live/note_live/index.ex:23
|
#: lib/memex_web/live/note_live/index.ex:25
|
||||||
#: lib/memex_web/live/note_live/show.ex:47
|
#: lib/memex_web/live/note_live/show.ex:52
|
||||||
#: lib/memex_web/live/pipeline_live/index.ex:23
|
#: lib/memex_web/live/pipeline_live/index.ex:24
|
||||||
#: lib/memex_web/live/pipeline_live/show.ex:121
|
#: lib/memex_web/live/pipeline_live/show.ex:124
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "edit %{slug}"
|
msgid "edit %{slug}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -422,7 +422,7 @@ msgstr ""
|
|||||||
msgid "what is this?"
|
msgid "what is this?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:52
|
#: lib/memex_web/live/pipeline_live/show.html.heex:59
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{position}. %{title}"
|
msgid "%{position}. %{title}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -432,7 +432,7 @@ msgstr ""
|
|||||||
msgid "%{title} created"
|
msgid "%{title} created"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/pipeline_live/show.ex:93
|
#: lib/memex_web/live/pipeline_live/show.ex:96
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{title} deleted"
|
msgid "%{title} deleted"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -442,17 +442,17 @@ msgstr ""
|
|||||||
msgid "%{title} saved"
|
msgid "%{title} saved"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/pipeline_live/show.ex:123
|
#: lib/memex_web/live/pipeline_live/show.ex:126
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "add step to %{slug}"
|
msgid "add step to %{slug}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:46
|
#: lib/memex_web/live/pipeline_live/show.html.heex:53
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "no steps"
|
msgid "no steps"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:41
|
#: lib/memex_web/live/pipeline_live/show.html.heex:48
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "steps:"
|
msgid "steps:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -578,7 +578,7 @@ msgstr ""
|
|||||||
msgid "user registered on%{registered_datetime}"
|
msgid "user registered on%{registered_datetime}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/components/core_components/invite_card.html.heex:17
|
#: lib/memex_web/components/core_components/invite_card.html.heex:18
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "uses left: unlimited"
|
msgid "uses left: unlimited"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -588,17 +588,17 @@ msgstr ""
|
|||||||
msgid "read more on how to use memEx"
|
msgid "read more on how to use memEx"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/components/core_components/invite_card.html.heex:12
|
#: lib/memex_web/components/core_components/invite_card.html.heex:13
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "uses left: %{uses_left_count}"
|
msgid "uses left: %{uses_left_count}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/components/core_components/invite_card.html.heex:32
|
#: lib/memex_web/components/core_components/invite_card.html.heex:29
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "uses: %{uses_count}"
|
msgid "uses: %{uses_count}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/home_live.html.heex:128
|
#: lib/memex_web/live/home_live.html.heex:137
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "get involved"
|
msgid "get involved"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -629,12 +629,12 @@ msgstr ""
|
|||||||
msgid "password"
|
msgid "password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/invite_live/form_component.html.heex:32
|
#: lib/memex_web/live/invite_live/form_component.html.heex:33
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "uses left"
|
msgid "uses left"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/invite_live/form_component.html.heex:44
|
#: lib/memex_web/live/invite_live/form_component.html.heex:45
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "leave \"uses left\" blank to make invite unlimited"
|
msgid "leave \"uses left\" blank to make invite unlimited"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -662,7 +662,7 @@ msgstr ""
|
|||||||
msgid "log out"
|
msgid "log out"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/controllers/user_confirmation_controller.ex:8
|
#: lib/memex_web/controllers/user_confirmation_controller.ex:7
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "confirm your account"
|
msgid "confirm your account"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -672,22 +672,22 @@ msgstr ""
|
|||||||
msgid "reset your password"
|
msgid "reset your password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/pipeline_live/form_component.html.heex:26
|
#: lib/memex_web/live/pipeline_live/form_component.html.heex:27
|
||||||
#: lib/memex_web/live/pipeline_live/form_component.html.heex:30
|
#: lib/memex_web/live/pipeline_live/form_component.html.heex:31
|
||||||
#: lib/memex_web/live/step_live/form_component.html.heex:26
|
#: lib/memex_web/live/step_live/form_component.html.heex:27
|
||||||
#: lib/memex_web/live/step_live/form_component.html.heex:30
|
#: lib/memex_web/live/step_live/form_component.html.heex:31
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "use [[[note-slug]]] to link to a note or use [[context-slug]] to link to a context or [pipeline-slug] to link to a pipeline"
|
msgid "use [[[note-slug]]] to link to a note or use [[context-slug]] to link to a context or [pipeline-slug] to link to a pipeline"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/form_component.html.heex:26
|
#: lib/memex_web/live/context_live/form_component.html.heex:27
|
||||||
#: lib/memex_web/live/context_live/form_component.html.heex:28
|
#: lib/memex_web/live/context_live/form_component.html.heex:29
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "use [[note-slug]] to link to a note or [context-slug] to link to a context"
|
msgid "use [[note-slug]] to link to a note or [context-slug] to link to a context"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/note_live/form_component.html.heex:25
|
|
||||||
#: lib/memex_web/live/note_live/form_component.html.heex:26
|
#: lib/memex_web/live/note_live/form_component.html.heex:26
|
||||||
|
#: lib/memex_web/live/note_live/form_component.html.heex:27
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "use [note-slug] to link to a note"
|
msgid "use [note-slug] to link to a note"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -711,3 +711,48 @@ msgstr ""
|
|||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "note, context and pipeline slugs must be unique, and you are free to link to notes not written by you."
|
msgid "note, context and pipeline slugs must be unique, and you are free to link to notes not written by you."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/memex_web/components/core_components/context_content.html.heex:10
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "(This context is empty)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/memex_web/components/core_components/note_content.html.heex:10
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "(This note is empty)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/memex_web/live/context_live/show.html.heex:18
|
||||||
|
#: lib/memex_web/live/note_live/show.html.heex:18
|
||||||
|
#: lib/memex_web/live/pipeline_live/show.html.heex:15
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Backlinked by:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/memex_web/live/context_live/show.html.heex:24
|
||||||
|
#: lib/memex_web/live/note_live/show.html.heex:24
|
||||||
|
#: lib/memex_web/live/pipeline_live/show.html.heex:21
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "[%{slug}]"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/memex_web/live/context_live/show.html.heex:31
|
||||||
|
#: lib/memex_web/live/note_live/show.html.heex:31
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "[[%{slug}]]"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/memex_web/live/note_live/show.html.heex:38
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "[[[%{slug}]]]"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/memex_web/live/home_live.html.heex:77
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "backlinks:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/memex_web/live/home_live.html.heex:80
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "view referencing items from the referenced item"
|
||||||
|
msgstr ""
|
||||||
|
@ -47,11 +47,11 @@ msgid "must have the @ sign and no spaces"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex/contexts/context.ex:58
|
#: lib/memex/contexts/context.ex:58
|
||||||
#: lib/memex/contexts/context.ex:71
|
#: lib/memex/contexts/context.ex:72
|
||||||
#: lib/memex/notes/note.ex:57
|
#: lib/memex/notes/note.ex:57
|
||||||
#: lib/memex/notes/note.ex:70
|
#: lib/memex/notes/note.ex:71
|
||||||
#: lib/memex/pipelines/pipeline.ex:60
|
#: lib/memex/pipelines/pipeline.ex:60
|
||||||
#: lib/memex/pipelines/pipeline.ex:73
|
#: lib/memex/pipelines/pipeline.ex:74
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "invalid format: only numbers, letters and hyphen are accepted"
|
msgid "invalid format: only numbers, letters and hyphen are accepted"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -135,14 +135,14 @@ msgstr ""
|
|||||||
msgid "sorry, public registration is disabled"
|
msgid "sorry, public registration is disabled"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/controllers/user_confirmation_controller.ex:53
|
#: lib/memex_web/controllers/user_confirmation_controller.ex:52
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "user confirmation link is invalid or it has expired."
|
msgid "user confirmation link is invalid or it has expired."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex/contexts/context.ex:84
|
#: lib/memex/contexts/context.ex:85
|
||||||
#: lib/memex/notes/note.ex:83
|
#: lib/memex/notes/note.ex:84
|
||||||
#: lib/memex/pipelines/pipeline.ex:86
|
#: lib/memex/pipelines/pipeline.ex:87
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "invalid format: only numbers, letters and hyphen are accepted. tags must be comma or space delimited"
|
msgid "invalid format: only numbers, letters and hyphen are accepted. tags must be comma or space delimited"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -10,7 +10,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Language: de\n"
|
"Language: de\n"
|
||||||
|
|
||||||
#: lib/memex_web/controllers/user_confirmation_controller.ex:37
|
#: lib/memex_web/controllers/user_confirmation_controller.ex:36
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{email} confirmed successfully."
|
msgid "%{email} confirmed successfully."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -66,12 +66,12 @@ msgid "are you sure you want to make %{invite_name} unlimited?"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/index.html.heex:47
|
#: lib/memex_web/live/context_live/index.html.heex:47
|
||||||
#: lib/memex_web/live/context_live/show.html.heex:31
|
#: lib/memex_web/live/context_live/show.html.heex:48
|
||||||
#: lib/memex_web/live/note_live/index.html.heex:47
|
#: lib/memex_web/live/note_live/index.html.heex:47
|
||||||
#: lib/memex_web/live/note_live/show.html.heex:31
|
#: lib/memex_web/live/note_live/show.html.heex:55
|
||||||
#: lib/memex_web/live/pipeline_live/index.html.heex:47
|
#: lib/memex_web/live/pipeline_live/index.html.heex:47
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:31
|
#: lib/memex_web/live/pipeline_live/show.html.heex:38
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:102
|
#: lib/memex_web/live/pipeline_live/show.html.heex:109
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "are you sure?"
|
msgid "are you sure?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -86,7 +86,7 @@ msgstr ""
|
|||||||
msgid "language updated successfully."
|
msgid "language updated successfully."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/home_live.html.heex:90
|
#: lib/memex_web/live/home_live.html.heex:99
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "register to setup memEx"
|
msgid "register to setup memEx"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -137,12 +137,12 @@ msgstr ""
|
|||||||
msgid "are you sure you want to delete %{email}? this action is permanent!"
|
msgid "are you sure you want to delete %{email}? this action is permanent!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/invite_live/form_component.html.heex:49
|
#: lib/memex_web/live/invite_live/form_component.html.heex:50
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "saving..."
|
msgid "saving..."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/controllers/user_confirmation_controller.ex:23
|
#: lib/memex_web/controllers/user_confirmation_controller.ex:22
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "if your email is in our system and it has not been confirmed yet, you will receive an email with instructions shortly."
|
msgid "if your email is in our system and it has not been confirmed yet, you will receive an email with instructions shortly."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -15,9 +15,9 @@ msgstr ""
|
|||||||
msgid "Reconnecting..."
|
msgid "Reconnecting..."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/show.html.heex:15
|
#: lib/memex_web/live/context_live/show.html.heex:36
|
||||||
#: lib/memex_web/live/note_live/show.html.heex:15
|
#: lib/memex_web/live/note_live/show.html.heex:43
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:15
|
#: lib/memex_web/live/pipeline_live/show.html.heex:26
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Visibility: %{visibility}"
|
msgid "Visibility: %{visibility}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -27,7 +27,7 @@ msgstr ""
|
|||||||
msgid "accessible from any internet-capable device"
|
msgid "accessible from any internet-capable device"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/home_live.html.heex:85
|
#: lib/memex_web/live/home_live.html.heex:94
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "admins:"
|
msgid "admins:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -44,8 +44,8 @@ msgid "confirm new password"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/components/core_components/topbar.html.heex:28
|
#: lib/memex_web/components/core_components/topbar.html.heex:28
|
||||||
#: lib/memex_web/live/context_live/index.ex:35
|
#: lib/memex_web/live/context_live/index.ex:41
|
||||||
#: lib/memex_web/live/context_live/index.ex:43
|
#: lib/memex_web/live/context_live/index.ex:51
|
||||||
#: lib/memex_web/live/context_live/index.html.heex:3
|
#: lib/memex_web/live/context_live/index.html.heex:3
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "contexts"
|
msgid "contexts"
|
||||||
@ -116,22 +116,22 @@ msgstr ""
|
|||||||
msgid "features"
|
msgid "features"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/home_live.html.heex:149
|
#: lib/memex_web/live/home_live.html.heex:158
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "help translate"
|
msgid "help translate"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/home_live.html.heex:80
|
#: lib/memex_web/live/home_live.html.heex:89
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "instance information"
|
msgid "instance information"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/components/core_components/invite_card.html.heex:22
|
#: lib/memex_web/components/core_components/invite_card.html.heex:8
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "invite disabled"
|
msgid "invite disabled"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/home_live.html.heex:105
|
#: lib/memex_web/live/home_live.html.heex:114
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "invite only"
|
msgid "invite only"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -175,8 +175,8 @@ msgid "no notes found"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/components/core_components/topbar.html.heex:22
|
#: lib/memex_web/components/core_components/topbar.html.heex:22
|
||||||
#: lib/memex_web/live/note_live/index.ex:35
|
#: lib/memex_web/live/note_live/index.ex:41
|
||||||
#: lib/memex_web/live/note_live/index.ex:43
|
#: lib/memex_web/live/note_live/index.ex:51
|
||||||
#: lib/memex_web/live/note_live/index.html.heex:3
|
#: lib/memex_web/live/note_live/index.html.heex:3
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "notes"
|
msgid "notes"
|
||||||
@ -188,8 +188,8 @@ msgid "notes:"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/components/core_components/topbar.html.heex:34
|
#: lib/memex_web/components/core_components/topbar.html.heex:34
|
||||||
#: lib/memex_web/live/pipeline_live/index.ex:35
|
#: lib/memex_web/live/pipeline_live/index.ex:40
|
||||||
#: lib/memex_web/live/pipeline_live/index.ex:43
|
#: lib/memex_web/live/pipeline_live/index.ex:50
|
||||||
#: lib/memex_web/live/pipeline_live/index.html.heex:3
|
#: lib/memex_web/live/pipeline_live/index.html.heex:3
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "pipelines"
|
msgid "pipelines"
|
||||||
@ -215,7 +215,7 @@ msgstr ""
|
|||||||
msgid "provide context around a single topic and hotlink to your notes"
|
msgid "provide context around a single topic and hotlink to your notes"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/home_live.html.heex:104
|
#: lib/memex_web/live/home_live.html.heex:113
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "public signups"
|
msgid "public signups"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -225,30 +225,30 @@ msgstr ""
|
|||||||
msgid "register"
|
msgid "register"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/home_live.html.heex:101
|
#: lib/memex_web/live/home_live.html.heex:110
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "registration:"
|
msgid "registration:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/home_live.html.heex:160
|
#: lib/memex_web/live/home_live.html.heex:169
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "report bugs or request features"
|
msgid "report bugs or request features"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/form_component.html.heex:52
|
#: lib/memex_web/live/context_live/form_component.html.heex:53
|
||||||
#: lib/memex_web/live/note_live/form_component.html.heex:50
|
#: lib/memex_web/live/note_live/form_component.html.heex:51
|
||||||
#: lib/memex_web/live/pipeline_live/form_component.html.heex:56
|
#: lib/memex_web/live/pipeline_live/form_component.html.heex:57
|
||||||
#: lib/memex_web/live/step_live/form_component.html.heex:39
|
#: lib/memex_web/live/step_live/form_component.html.heex:40
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "saving..."
|
msgid "saving..."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/form_component.html.heex:46
|
|
||||||
#: lib/memex_web/live/context_live/form_component.html.heex:47
|
#: lib/memex_web/live/context_live/form_component.html.heex:47
|
||||||
#: lib/memex_web/live/note_live/form_component.html.heex:44
|
#: lib/memex_web/live/context_live/form_component.html.heex:48
|
||||||
#: lib/memex_web/live/note_live/form_component.html.heex:45
|
#: lib/memex_web/live/note_live/form_component.html.heex:45
|
||||||
#: lib/memex_web/live/pipeline_live/form_component.html.heex:50
|
#: lib/memex_web/live/note_live/form_component.html.heex:46
|
||||||
#: lib/memex_web/live/pipeline_live/form_component.html.heex:51
|
#: lib/memex_web/live/pipeline_live/form_component.html.heex:51
|
||||||
|
#: lib/memex_web/live/pipeline_live/form_component.html.heex:52
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "select privacy"
|
msgid "select privacy"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -264,12 +264,12 @@ msgstr ""
|
|||||||
msgid "settings"
|
msgid "settings"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/form_component.html.heex:34
|
#: lib/memex_web/live/context_live/form_component.html.heex:35
|
||||||
#: lib/memex_web/live/context_live/form_component.html.heex:39
|
#: lib/memex_web/live/context_live/form_component.html.heex:40
|
||||||
#: lib/memex_web/live/note_live/form_component.html.heex:32
|
#: lib/memex_web/live/note_live/form_component.html.heex:33
|
||||||
#: lib/memex_web/live/note_live/form_component.html.heex:37
|
#: lib/memex_web/live/note_live/form_component.html.heex:38
|
||||||
#: lib/memex_web/live/pipeline_live/form_component.html.heex:38
|
#: lib/memex_web/live/pipeline_live/form_component.html.heex:39
|
||||||
#: lib/memex_web/live/pipeline_live/form_component.html.heex:43
|
#: lib/memex_web/live/pipeline_live/form_component.html.heex:44
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "tag1,tag2"
|
msgid "tag1,tag2"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -286,12 +286,12 @@ msgstr ""
|
|||||||
msgid "users"
|
msgid "users"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/home_live.html.heex:111
|
#: lib/memex_web/live/home_live.html.heex:120
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "version:"
|
msgid "version:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/home_live.html.heex:138
|
#: lib/memex_web/live/home_live.html.heex:147
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "view the source code"
|
msgid "view the source code"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -303,7 +303,7 @@ msgstr ""
|
|||||||
msgid "visibility"
|
msgid "visibility"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/note_live/index.ex:29
|
#: lib/memex_web/live/note_live/index.ex:33
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "new note"
|
msgid "new note"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -315,7 +315,7 @@ msgstr ""
|
|||||||
msgid "search"
|
msgid "search"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/index.ex:29
|
#: lib/memex_web/live/context_live/index.ex:33
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "new context"
|
msgid "new context"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -330,7 +330,7 @@ msgstr ""
|
|||||||
msgid "description"
|
msgid "description"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/pipeline_live/index.ex:29
|
#: lib/memex_web/live/pipeline_live/index.ex:32
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "new pipeline"
|
msgid "new pipeline"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -347,12 +347,12 @@ msgstr ""
|
|||||||
msgid "%{slug} created"
|
msgid "%{slug} created"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/index.ex:57
|
#: lib/memex_web/live/context_live/index.ex:65
|
||||||
#: lib/memex_web/live/context_live/show.ex:40
|
#: lib/memex_web/live/context_live/show.ex:44
|
||||||
#: lib/memex_web/live/note_live/index.ex:57
|
#: lib/memex_web/live/note_live/index.ex:65
|
||||||
#: lib/memex_web/live/note_live/show.ex:40
|
#: lib/memex_web/live/note_live/show.ex:45
|
||||||
#: lib/memex_web/live/pipeline_live/index.ex:57
|
#: lib/memex_web/live/pipeline_live/index.ex:65
|
||||||
#: lib/memex_web/live/pipeline_live/show.ex:75
|
#: lib/memex_web/live/pipeline_live/show.ex:78
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{slug} deleted"
|
msgid "%{slug} deleted"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -364,12 +364,12 @@ msgstr ""
|
|||||||
msgid "%{slug} saved"
|
msgid "%{slug} saved"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/index.ex:23
|
#: lib/memex_web/live/context_live/index.ex:25
|
||||||
#: lib/memex_web/live/context_live/show.ex:47
|
#: lib/memex_web/live/context_live/show.ex:51
|
||||||
#: lib/memex_web/live/note_live/index.ex:23
|
#: lib/memex_web/live/note_live/index.ex:25
|
||||||
#: lib/memex_web/live/note_live/show.ex:47
|
#: lib/memex_web/live/note_live/show.ex:52
|
||||||
#: lib/memex_web/live/pipeline_live/index.ex:23
|
#: lib/memex_web/live/pipeline_live/index.ex:24
|
||||||
#: lib/memex_web/live/pipeline_live/show.ex:121
|
#: lib/memex_web/live/pipeline_live/show.ex:124
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "edit %{slug}"
|
msgid "edit %{slug}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -420,7 +420,7 @@ msgstr ""
|
|||||||
msgid "what is this?"
|
msgid "what is this?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:52
|
#: lib/memex_web/live/pipeline_live/show.html.heex:59
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{position}. %{title}"
|
msgid "%{position}. %{title}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -430,7 +430,7 @@ msgstr ""
|
|||||||
msgid "%{title} created"
|
msgid "%{title} created"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/pipeline_live/show.ex:93
|
#: lib/memex_web/live/pipeline_live/show.ex:96
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{title} deleted"
|
msgid "%{title} deleted"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -440,17 +440,17 @@ msgstr ""
|
|||||||
msgid "%{title} saved"
|
msgid "%{title} saved"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/pipeline_live/show.ex:123
|
#: lib/memex_web/live/pipeline_live/show.ex:126
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "add step to %{slug}"
|
msgid "add step to %{slug}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:46
|
#: lib/memex_web/live/pipeline_live/show.html.heex:53
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "no steps"
|
msgid "no steps"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:41
|
#: lib/memex_web/live/pipeline_live/show.html.heex:48
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "steps:"
|
msgid "steps:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -576,7 +576,7 @@ msgstr ""
|
|||||||
msgid "user registered on%{registered_datetime}"
|
msgid "user registered on%{registered_datetime}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/components/core_components/invite_card.html.heex:17
|
#: lib/memex_web/components/core_components/invite_card.html.heex:18
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "uses left: unlimited"
|
msgid "uses left: unlimited"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -586,17 +586,17 @@ msgstr ""
|
|||||||
msgid "read more on how to use memEx"
|
msgid "read more on how to use memEx"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/components/core_components/invite_card.html.heex:12
|
#: lib/memex_web/components/core_components/invite_card.html.heex:13
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "uses left: %{uses_left_count}"
|
msgid "uses left: %{uses_left_count}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/components/core_components/invite_card.html.heex:32
|
#: lib/memex_web/components/core_components/invite_card.html.heex:29
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "uses: %{uses_count}"
|
msgid "uses: %{uses_count}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/home_live.html.heex:128
|
#: lib/memex_web/live/home_live.html.heex:137
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "get involved"
|
msgid "get involved"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -627,12 +627,12 @@ msgstr ""
|
|||||||
msgid "password"
|
msgid "password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/invite_live/form_component.html.heex:32
|
#: lib/memex_web/live/invite_live/form_component.html.heex:33
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "uses left"
|
msgid "uses left"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/invite_live/form_component.html.heex:44
|
#: lib/memex_web/live/invite_live/form_component.html.heex:45
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "leave \"uses left\" blank to make invite unlimited"
|
msgid "leave \"uses left\" blank to make invite unlimited"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -660,7 +660,7 @@ msgstr ""
|
|||||||
msgid "log out"
|
msgid "log out"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/controllers/user_confirmation_controller.ex:8
|
#: lib/memex_web/controllers/user_confirmation_controller.ex:7
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "confirm your account"
|
msgid "confirm your account"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -670,22 +670,22 @@ msgstr ""
|
|||||||
msgid "reset your password"
|
msgid "reset your password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/pipeline_live/form_component.html.heex:26
|
#: lib/memex_web/live/pipeline_live/form_component.html.heex:27
|
||||||
#: lib/memex_web/live/pipeline_live/form_component.html.heex:30
|
#: lib/memex_web/live/pipeline_live/form_component.html.heex:31
|
||||||
#: lib/memex_web/live/step_live/form_component.html.heex:26
|
#: lib/memex_web/live/step_live/form_component.html.heex:27
|
||||||
#: lib/memex_web/live/step_live/form_component.html.heex:30
|
#: lib/memex_web/live/step_live/form_component.html.heex:31
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "use [[[note-slug]]] to link to a note or use [[context-slug]] to link to a context or [pipeline-slug] to link to a pipeline"
|
msgid "use [[[note-slug]]] to link to a note or use [[context-slug]] to link to a context or [pipeline-slug] to link to a pipeline"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/form_component.html.heex:26
|
#: lib/memex_web/live/context_live/form_component.html.heex:27
|
||||||
#: lib/memex_web/live/context_live/form_component.html.heex:28
|
#: lib/memex_web/live/context_live/form_component.html.heex:29
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "use [[note-slug]] to link to a note or [context-slug] to link to a context"
|
msgid "use [[note-slug]] to link to a note or [context-slug] to link to a context"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/note_live/form_component.html.heex:25
|
|
||||||
#: lib/memex_web/live/note_live/form_component.html.heex:26
|
#: lib/memex_web/live/note_live/form_component.html.heex:26
|
||||||
|
#: lib/memex_web/live/note_live/form_component.html.heex:27
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "use [note-slug] to link to a note"
|
msgid "use [note-slug] to link to a note"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -709,3 +709,48 @@ msgstr ""
|
|||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "note, context and pipeline slugs must be unique, and you are free to link to notes not written by you."
|
msgid "note, context and pipeline slugs must be unique, and you are free to link to notes not written by you."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/memex_web/components/core_components/context_content.html.heex:10
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "(This context is empty)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/memex_web/components/core_components/note_content.html.heex:10
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "(This note is empty)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/memex_web/live/context_live/show.html.heex:18
|
||||||
|
#: lib/memex_web/live/note_live/show.html.heex:18
|
||||||
|
#: lib/memex_web/live/pipeline_live/show.html.heex:15
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Backlinked by:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/memex_web/live/context_live/show.html.heex:24
|
||||||
|
#: lib/memex_web/live/note_live/show.html.heex:24
|
||||||
|
#: lib/memex_web/live/pipeline_live/show.html.heex:21
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "[%{slug}]"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/memex_web/live/context_live/show.html.heex:31
|
||||||
|
#: lib/memex_web/live/note_live/show.html.heex:31
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "[[%{slug}]]"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/memex_web/live/note_live/show.html.heex:38
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "[[[%{slug}]]]"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/memex_web/live/home_live.html.heex:77
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "backlinks:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/memex_web/live/home_live.html.heex:80
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "view referencing items from the referenced item"
|
||||||
|
msgstr ""
|
||||||
|
@ -41,12 +41,12 @@ msgid "create invite"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/index.html.heex:50
|
#: lib/memex_web/live/context_live/index.html.heex:50
|
||||||
#: lib/memex_web/live/context_live/show.html.heex:34
|
#: lib/memex_web/live/context_live/show.html.heex:51
|
||||||
#: lib/memex_web/live/note_live/index.html.heex:50
|
#: lib/memex_web/live/note_live/index.html.heex:50
|
||||||
#: lib/memex_web/live/note_live/show.html.heex:34
|
#: lib/memex_web/live/note_live/show.html.heex:58
|
||||||
#: lib/memex_web/live/pipeline_live/index.html.heex:52
|
#: lib/memex_web/live/pipeline_live/index.html.heex:52
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:34
|
#: lib/memex_web/live/pipeline_live/show.html.heex:41
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:105
|
#: lib/memex_web/live/pipeline_live/show.html.heex:112
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "delete"
|
msgid "delete"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -57,12 +57,12 @@ msgid "delete user"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/index.html.heex:40
|
#: lib/memex_web/live/context_live/index.html.heex:40
|
||||||
#: lib/memex_web/live/context_live/show.html.heex:24
|
#: lib/memex_web/live/context_live/show.html.heex:41
|
||||||
#: lib/memex_web/live/note_live/index.html.heex:40
|
#: lib/memex_web/live/note_live/index.html.heex:40
|
||||||
#: lib/memex_web/live/note_live/show.html.heex:24
|
#: lib/memex_web/live/note_live/show.html.heex:48
|
||||||
#: lib/memex_web/live/pipeline_live/index.html.heex:40
|
#: lib/memex_web/live/pipeline_live/index.html.heex:40
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:24
|
#: lib/memex_web/live/pipeline_live/show.html.heex:31
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:94
|
#: lib/memex_web/live/pipeline_live/show.html.heex:101
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "edit"
|
msgid "edit"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -104,16 +104,16 @@ msgstr ""
|
|||||||
msgid "register"
|
msgid "register"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/form_component.html.heex:51
|
#: lib/memex_web/live/context_live/form_component.html.heex:52
|
||||||
#: lib/memex_web/live/invite_live/form_component.html.heex:47
|
#: lib/memex_web/live/invite_live/form_component.html.heex:48
|
||||||
#: lib/memex_web/live/note_live/form_component.html.heex:49
|
#: lib/memex_web/live/note_live/form_component.html.heex:50
|
||||||
#: lib/memex_web/live/pipeline_live/form_component.html.heex:55
|
#: lib/memex_web/live/pipeline_live/form_component.html.heex:56
|
||||||
#: lib/memex_web/live/step_live/form_component.html.heex:38
|
#: lib/memex_web/live/step_live/form_component.html.heex:39
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "save"
|
msgid "save"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:120
|
#: lib/memex_web/live/pipeline_live/show.html.heex:127
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "add step"
|
msgid "add step"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -146,24 +146,24 @@ msgid "copy invite link for %{invite_name}"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/index.html.heex:48
|
#: lib/memex_web/live/context_live/index.html.heex:48
|
||||||
#: lib/memex_web/live/context_live/show.html.heex:32
|
#: lib/memex_web/live/context_live/show.html.heex:49
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "delete %{context_slug}"
|
msgid "delete %{context_slug}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/note_live/index.html.heex:48
|
#: lib/memex_web/live/note_live/index.html.heex:48
|
||||||
#: lib/memex_web/live/note_live/show.html.heex:32
|
#: lib/memex_web/live/note_live/show.html.heex:56
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "delete %{note_slug}"
|
msgid "delete %{note_slug}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/pipeline_live/index.html.heex:49
|
#: lib/memex_web/live/pipeline_live/index.html.heex:49
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:32
|
#: lib/memex_web/live/pipeline_live/show.html.heex:39
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "delete %{pipeline_slug}"
|
msgid "delete %{pipeline_slug}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:103
|
#: lib/memex_web/live/pipeline_live/show.html.heex:110
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "delete %{step_title}"
|
msgid "delete %{step_title}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -188,7 +188,7 @@ msgstr ""
|
|||||||
msgid "edit %{pipeline_slug}"
|
msgid "edit %{pipeline_slug}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:92
|
#: lib/memex_web/live/pipeline_live/show.html.heex:99
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "edit %{step_title}"
|
msgid "edit %{step_title}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -198,12 +198,12 @@ msgstr ""
|
|||||||
msgid "edit invite for %{invite_name}"
|
msgid "edit invite for %{invite_name}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:82
|
#: lib/memex_web/live/pipeline_live/show.html.heex:89
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "move %{step_title} down"
|
msgid "move %{step_title} down"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:66
|
#: lib/memex_web/live/pipeline_live/show.html.heex:73
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "move %{step_title} up"
|
msgid "move %{step_title} up"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -16,9 +16,9 @@ msgstr ""
|
|||||||
msgid "Reconnecting..."
|
msgid "Reconnecting..."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/show.html.heex:15
|
#: lib/memex_web/live/context_live/show.html.heex:36
|
||||||
#: lib/memex_web/live/note_live/show.html.heex:15
|
#: lib/memex_web/live/note_live/show.html.heex:43
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:15
|
#: lib/memex_web/live/pipeline_live/show.html.heex:26
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Visibility: %{visibility}"
|
msgid "Visibility: %{visibility}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -28,7 +28,7 @@ msgstr ""
|
|||||||
msgid "accessible from any internet-capable device"
|
msgid "accessible from any internet-capable device"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/home_live.html.heex:85
|
#: lib/memex_web/live/home_live.html.heex:94
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "admins:"
|
msgid "admins:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -45,8 +45,8 @@ msgid "confirm new password"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/components/core_components/topbar.html.heex:28
|
#: lib/memex_web/components/core_components/topbar.html.heex:28
|
||||||
#: lib/memex_web/live/context_live/index.ex:35
|
#: lib/memex_web/live/context_live/index.ex:41
|
||||||
#: lib/memex_web/live/context_live/index.ex:43
|
#: lib/memex_web/live/context_live/index.ex:51
|
||||||
#: lib/memex_web/live/context_live/index.html.heex:3
|
#: lib/memex_web/live/context_live/index.html.heex:3
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "contexts"
|
msgid "contexts"
|
||||||
@ -117,22 +117,22 @@ msgstr ""
|
|||||||
msgid "features"
|
msgid "features"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/home_live.html.heex:149
|
#: lib/memex_web/live/home_live.html.heex:158
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "help translate"
|
msgid "help translate"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/home_live.html.heex:80
|
#: lib/memex_web/live/home_live.html.heex:89
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "instance information"
|
msgid "instance information"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/components/core_components/invite_card.html.heex:22
|
#: lib/memex_web/components/core_components/invite_card.html.heex:8
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "invite disabled"
|
msgid "invite disabled"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/home_live.html.heex:105
|
#: lib/memex_web/live/home_live.html.heex:114
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "invite only"
|
msgid "invite only"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -176,8 +176,8 @@ msgid "no notes found"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/components/core_components/topbar.html.heex:22
|
#: lib/memex_web/components/core_components/topbar.html.heex:22
|
||||||
#: lib/memex_web/live/note_live/index.ex:35
|
#: lib/memex_web/live/note_live/index.ex:41
|
||||||
#: lib/memex_web/live/note_live/index.ex:43
|
#: lib/memex_web/live/note_live/index.ex:51
|
||||||
#: lib/memex_web/live/note_live/index.html.heex:3
|
#: lib/memex_web/live/note_live/index.html.heex:3
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "notes"
|
msgid "notes"
|
||||||
@ -189,8 +189,8 @@ msgid "notes:"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/components/core_components/topbar.html.heex:34
|
#: lib/memex_web/components/core_components/topbar.html.heex:34
|
||||||
#: lib/memex_web/live/pipeline_live/index.ex:35
|
#: lib/memex_web/live/pipeline_live/index.ex:40
|
||||||
#: lib/memex_web/live/pipeline_live/index.ex:43
|
#: lib/memex_web/live/pipeline_live/index.ex:50
|
||||||
#: lib/memex_web/live/pipeline_live/index.html.heex:3
|
#: lib/memex_web/live/pipeline_live/index.html.heex:3
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "pipelines"
|
msgid "pipelines"
|
||||||
@ -216,7 +216,7 @@ msgstr ""
|
|||||||
msgid "provide context around a single topic and hotlink to your notes"
|
msgid "provide context around a single topic and hotlink to your notes"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/home_live.html.heex:104
|
#: lib/memex_web/live/home_live.html.heex:113
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "public signups"
|
msgid "public signups"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -226,30 +226,30 @@ msgstr ""
|
|||||||
msgid "register"
|
msgid "register"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/home_live.html.heex:101
|
#: lib/memex_web/live/home_live.html.heex:110
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "registration:"
|
msgid "registration:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/home_live.html.heex:160
|
#: lib/memex_web/live/home_live.html.heex:169
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "report bugs or request features"
|
msgid "report bugs or request features"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/form_component.html.heex:52
|
#: lib/memex_web/live/context_live/form_component.html.heex:53
|
||||||
#: lib/memex_web/live/note_live/form_component.html.heex:50
|
#: lib/memex_web/live/note_live/form_component.html.heex:51
|
||||||
#: lib/memex_web/live/pipeline_live/form_component.html.heex:56
|
#: lib/memex_web/live/pipeline_live/form_component.html.heex:57
|
||||||
#: lib/memex_web/live/step_live/form_component.html.heex:39
|
#: lib/memex_web/live/step_live/form_component.html.heex:40
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "saving..."
|
msgid "saving..."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/form_component.html.heex:46
|
|
||||||
#: lib/memex_web/live/context_live/form_component.html.heex:47
|
#: lib/memex_web/live/context_live/form_component.html.heex:47
|
||||||
#: lib/memex_web/live/note_live/form_component.html.heex:44
|
#: lib/memex_web/live/context_live/form_component.html.heex:48
|
||||||
#: lib/memex_web/live/note_live/form_component.html.heex:45
|
#: lib/memex_web/live/note_live/form_component.html.heex:45
|
||||||
#: lib/memex_web/live/pipeline_live/form_component.html.heex:50
|
#: lib/memex_web/live/note_live/form_component.html.heex:46
|
||||||
#: lib/memex_web/live/pipeline_live/form_component.html.heex:51
|
#: lib/memex_web/live/pipeline_live/form_component.html.heex:51
|
||||||
|
#: lib/memex_web/live/pipeline_live/form_component.html.heex:52
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "select privacy"
|
msgid "select privacy"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -265,12 +265,12 @@ msgstr ""
|
|||||||
msgid "settings"
|
msgid "settings"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/form_component.html.heex:34
|
#: lib/memex_web/live/context_live/form_component.html.heex:35
|
||||||
#: lib/memex_web/live/context_live/form_component.html.heex:39
|
#: lib/memex_web/live/context_live/form_component.html.heex:40
|
||||||
#: lib/memex_web/live/note_live/form_component.html.heex:32
|
#: lib/memex_web/live/note_live/form_component.html.heex:33
|
||||||
#: lib/memex_web/live/note_live/form_component.html.heex:37
|
#: lib/memex_web/live/note_live/form_component.html.heex:38
|
||||||
#: lib/memex_web/live/pipeline_live/form_component.html.heex:38
|
#: lib/memex_web/live/pipeline_live/form_component.html.heex:39
|
||||||
#: lib/memex_web/live/pipeline_live/form_component.html.heex:43
|
#: lib/memex_web/live/pipeline_live/form_component.html.heex:44
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "tag1,tag2"
|
msgid "tag1,tag2"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -287,12 +287,12 @@ msgstr ""
|
|||||||
msgid "users"
|
msgid "users"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/home_live.html.heex:111
|
#: lib/memex_web/live/home_live.html.heex:120
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "version:"
|
msgid "version:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/home_live.html.heex:138
|
#: lib/memex_web/live/home_live.html.heex:147
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "view the source code"
|
msgid "view the source code"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -304,7 +304,7 @@ msgstr ""
|
|||||||
msgid "visibility"
|
msgid "visibility"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/note_live/index.ex:29
|
#: lib/memex_web/live/note_live/index.ex:33
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "new note"
|
msgid "new note"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -316,7 +316,7 @@ msgstr ""
|
|||||||
msgid "search"
|
msgid "search"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/index.ex:29
|
#: lib/memex_web/live/context_live/index.ex:33
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "new context"
|
msgid "new context"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -331,7 +331,7 @@ msgstr ""
|
|||||||
msgid "description"
|
msgid "description"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/pipeline_live/index.ex:29
|
#: lib/memex_web/live/pipeline_live/index.ex:32
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "new pipeline"
|
msgid "new pipeline"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -348,12 +348,12 @@ msgstr ""
|
|||||||
msgid "%{slug} created"
|
msgid "%{slug} created"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/index.ex:57
|
#: lib/memex_web/live/context_live/index.ex:65
|
||||||
#: lib/memex_web/live/context_live/show.ex:40
|
#: lib/memex_web/live/context_live/show.ex:44
|
||||||
#: lib/memex_web/live/note_live/index.ex:57
|
#: lib/memex_web/live/note_live/index.ex:65
|
||||||
#: lib/memex_web/live/note_live/show.ex:40
|
#: lib/memex_web/live/note_live/show.ex:45
|
||||||
#: lib/memex_web/live/pipeline_live/index.ex:57
|
#: lib/memex_web/live/pipeline_live/index.ex:65
|
||||||
#: lib/memex_web/live/pipeline_live/show.ex:75
|
#: lib/memex_web/live/pipeline_live/show.ex:78
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{slug} deleted"
|
msgid "%{slug} deleted"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -365,12 +365,12 @@ msgstr ""
|
|||||||
msgid "%{slug} saved"
|
msgid "%{slug} saved"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/index.ex:23
|
#: lib/memex_web/live/context_live/index.ex:25
|
||||||
#: lib/memex_web/live/context_live/show.ex:47
|
#: lib/memex_web/live/context_live/show.ex:51
|
||||||
#: lib/memex_web/live/note_live/index.ex:23
|
#: lib/memex_web/live/note_live/index.ex:25
|
||||||
#: lib/memex_web/live/note_live/show.ex:47
|
#: lib/memex_web/live/note_live/show.ex:52
|
||||||
#: lib/memex_web/live/pipeline_live/index.ex:23
|
#: lib/memex_web/live/pipeline_live/index.ex:24
|
||||||
#: lib/memex_web/live/pipeline_live/show.ex:121
|
#: lib/memex_web/live/pipeline_live/show.ex:124
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "edit %{slug}"
|
msgid "edit %{slug}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -421,7 +421,7 @@ msgstr ""
|
|||||||
msgid "what is this?"
|
msgid "what is this?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:52
|
#: lib/memex_web/live/pipeline_live/show.html.heex:59
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{position}. %{title}"
|
msgid "%{position}. %{title}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -431,7 +431,7 @@ msgstr ""
|
|||||||
msgid "%{title} created"
|
msgid "%{title} created"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/pipeline_live/show.ex:93
|
#: lib/memex_web/live/pipeline_live/show.ex:96
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{title} deleted"
|
msgid "%{title} deleted"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -441,17 +441,17 @@ msgstr ""
|
|||||||
msgid "%{title} saved"
|
msgid "%{title} saved"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/pipeline_live/show.ex:123
|
#: lib/memex_web/live/pipeline_live/show.ex:126
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "add step to %{slug}"
|
msgid "add step to %{slug}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:46
|
#: lib/memex_web/live/pipeline_live/show.html.heex:53
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "no steps"
|
msgid "no steps"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:41
|
#: lib/memex_web/live/pipeline_live/show.html.heex:48
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "steps:"
|
msgid "steps:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -577,7 +577,7 @@ msgstr ""
|
|||||||
msgid "user registered on%{registered_datetime}"
|
msgid "user registered on%{registered_datetime}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/components/core_components/invite_card.html.heex:17
|
#: lib/memex_web/components/core_components/invite_card.html.heex:18
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "uses left: unlimited"
|
msgid "uses left: unlimited"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -587,17 +587,17 @@ msgstr ""
|
|||||||
msgid "read more on how to use memEx"
|
msgid "read more on how to use memEx"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/components/core_components/invite_card.html.heex:12
|
#: lib/memex_web/components/core_components/invite_card.html.heex:13
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "uses left: %{uses_left_count}"
|
msgid "uses left: %{uses_left_count}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/components/core_components/invite_card.html.heex:32
|
#: lib/memex_web/components/core_components/invite_card.html.heex:29
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "uses: %{uses_count}"
|
msgid "uses: %{uses_count}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/home_live.html.heex:128
|
#: lib/memex_web/live/home_live.html.heex:137
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "get involved"
|
msgid "get involved"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -628,12 +628,12 @@ msgstr ""
|
|||||||
msgid "password"
|
msgid "password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/invite_live/form_component.html.heex:32
|
#: lib/memex_web/live/invite_live/form_component.html.heex:33
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "uses left"
|
msgid "uses left"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/invite_live/form_component.html.heex:44
|
#: lib/memex_web/live/invite_live/form_component.html.heex:45
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "leave \"uses left\" blank to make invite unlimited"
|
msgid "leave \"uses left\" blank to make invite unlimited"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -661,7 +661,7 @@ msgstr ""
|
|||||||
msgid "log out"
|
msgid "log out"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/controllers/user_confirmation_controller.ex:8
|
#: lib/memex_web/controllers/user_confirmation_controller.ex:7
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "confirm your account"
|
msgid "confirm your account"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -671,22 +671,22 @@ msgstr ""
|
|||||||
msgid "reset your password"
|
msgid "reset your password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/pipeline_live/form_component.html.heex:26
|
#: lib/memex_web/live/pipeline_live/form_component.html.heex:27
|
||||||
#: lib/memex_web/live/pipeline_live/form_component.html.heex:30
|
#: lib/memex_web/live/pipeline_live/form_component.html.heex:31
|
||||||
#: lib/memex_web/live/step_live/form_component.html.heex:26
|
#: lib/memex_web/live/step_live/form_component.html.heex:27
|
||||||
#: lib/memex_web/live/step_live/form_component.html.heex:30
|
#: lib/memex_web/live/step_live/form_component.html.heex:31
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "use [[[note-slug]]] to link to a note or use [[context-slug]] to link to a context or [pipeline-slug] to link to a pipeline"
|
msgid "use [[[note-slug]]] to link to a note or use [[context-slug]] to link to a context or [pipeline-slug] to link to a pipeline"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/form_component.html.heex:26
|
#: lib/memex_web/live/context_live/form_component.html.heex:27
|
||||||
#: lib/memex_web/live/context_live/form_component.html.heex:28
|
#: lib/memex_web/live/context_live/form_component.html.heex:29
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "use [[note-slug]] to link to a note or [context-slug] to link to a context"
|
msgid "use [[note-slug]] to link to a note or [context-slug] to link to a context"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/note_live/form_component.html.heex:25
|
|
||||||
#: lib/memex_web/live/note_live/form_component.html.heex:26
|
#: lib/memex_web/live/note_live/form_component.html.heex:26
|
||||||
|
#: lib/memex_web/live/note_live/form_component.html.heex:27
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "use [note-slug] to link to a note"
|
msgid "use [note-slug] to link to a note"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -710,3 +710,48 @@ msgstr ""
|
|||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "note, context and pipeline slugs must be unique, and you are free to link to notes not written by you."
|
msgid "note, context and pipeline slugs must be unique, and you are free to link to notes not written by you."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/memex_web/components/core_components/context_content.html.heex:10
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "(This context is empty)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/memex_web/components/core_components/note_content.html.heex:10
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "(This note is empty)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/memex_web/live/context_live/show.html.heex:18
|
||||||
|
#: lib/memex_web/live/note_live/show.html.heex:18
|
||||||
|
#: lib/memex_web/live/pipeline_live/show.html.heex:15
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Backlinked by:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/memex_web/live/context_live/show.html.heex:24
|
||||||
|
#: lib/memex_web/live/note_live/show.html.heex:24
|
||||||
|
#: lib/memex_web/live/pipeline_live/show.html.heex:21
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "[%{slug}]"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/memex_web/live/context_live/show.html.heex:31
|
||||||
|
#: lib/memex_web/live/note_live/show.html.heex:31
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "[[%{slug}]]"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/memex_web/live/note_live/show.html.heex:38
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "[[[%{slug}]]]"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/memex_web/live/home_live.html.heex:77
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "backlinks:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/memex_web/live/home_live.html.heex:80
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "view referencing items from the referenced item"
|
||||||
|
msgstr ""
|
||||||
|
@ -48,11 +48,11 @@ msgid "must have the @ sign and no spaces"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex/contexts/context.ex:58
|
#: lib/memex/contexts/context.ex:58
|
||||||
#: lib/memex/contexts/context.ex:71
|
#: lib/memex/contexts/context.ex:72
|
||||||
#: lib/memex/notes/note.ex:57
|
#: lib/memex/notes/note.ex:57
|
||||||
#: lib/memex/notes/note.ex:70
|
#: lib/memex/notes/note.ex:71
|
||||||
#: lib/memex/pipelines/pipeline.ex:60
|
#: lib/memex/pipelines/pipeline.ex:60
|
||||||
#: lib/memex/pipelines/pipeline.ex:73
|
#: lib/memex/pipelines/pipeline.ex:74
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "invalid format: only numbers, letters and hyphen are accepted"
|
msgid "invalid format: only numbers, letters and hyphen are accepted"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -136,14 +136,14 @@ msgstr ""
|
|||||||
msgid "sorry, public registration is disabled"
|
msgid "sorry, public registration is disabled"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/controllers/user_confirmation_controller.ex:53
|
#: lib/memex_web/controllers/user_confirmation_controller.ex:52
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "user confirmation link is invalid or it has expired."
|
msgid "user confirmation link is invalid or it has expired."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex/contexts/context.ex:84
|
#: lib/memex/contexts/context.ex:85
|
||||||
#: lib/memex/notes/note.ex:83
|
#: lib/memex/notes/note.ex:84
|
||||||
#: lib/memex/pipelines/pipeline.ex:86
|
#: lib/memex/pipelines/pipeline.ex:87
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "invalid format: only numbers, letters and hyphen are accepted. tags must be comma or space delimited"
|
msgid "invalid format: only numbers, letters and hyphen are accepted. tags must be comma or space delimited"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -11,7 +11,7 @@ msgstr ""
|
|||||||
"Language: en\n"
|
"Language: en\n"
|
||||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
|
||||||
#: lib/memex_web/controllers/user_confirmation_controller.ex:37
|
#: lib/memex_web/controllers/user_confirmation_controller.ex:36
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{email} confirmed successfully."
|
msgid "%{email} confirmed successfully."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -67,12 +67,12 @@ msgid "are you sure you want to make %{invite_name} unlimited?"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/index.html.heex:47
|
#: lib/memex_web/live/context_live/index.html.heex:47
|
||||||
#: lib/memex_web/live/context_live/show.html.heex:31
|
#: lib/memex_web/live/context_live/show.html.heex:48
|
||||||
#: lib/memex_web/live/note_live/index.html.heex:47
|
#: lib/memex_web/live/note_live/index.html.heex:47
|
||||||
#: lib/memex_web/live/note_live/show.html.heex:31
|
#: lib/memex_web/live/note_live/show.html.heex:55
|
||||||
#: lib/memex_web/live/pipeline_live/index.html.heex:47
|
#: lib/memex_web/live/pipeline_live/index.html.heex:47
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:31
|
#: lib/memex_web/live/pipeline_live/show.html.heex:38
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:102
|
#: lib/memex_web/live/pipeline_live/show.html.heex:109
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "are you sure?"
|
msgid "are you sure?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -87,7 +87,7 @@ msgstr ""
|
|||||||
msgid "language updated successfully."
|
msgid "language updated successfully."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/home_live.html.heex:90
|
#: lib/memex_web/live/home_live.html.heex:99
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "register to setup memEx"
|
msgid "register to setup memEx"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -138,12 +138,12 @@ msgstr ""
|
|||||||
msgid "are you sure you want to delete %{email}? this action is permanent!"
|
msgid "are you sure you want to delete %{email}? this action is permanent!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/invite_live/form_component.html.heex:49
|
#: lib/memex_web/live/invite_live/form_component.html.heex:50
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "saving..."
|
msgid "saving..."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/controllers/user_confirmation_controller.ex:23
|
#: lib/memex_web/controllers/user_confirmation_controller.ex:22
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "if your email is in our system and it has not been confirmed yet, you will receive an email with instructions shortly."
|
msgid "if your email is in our system and it has not been confirmed yet, you will receive an email with instructions shortly."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -47,11 +47,11 @@ msgid "must have the @ sign and no spaces"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex/contexts/context.ex:58
|
#: lib/memex/contexts/context.ex:58
|
||||||
#: lib/memex/contexts/context.ex:71
|
#: lib/memex/contexts/context.ex:72
|
||||||
#: lib/memex/notes/note.ex:57
|
#: lib/memex/notes/note.ex:57
|
||||||
#: lib/memex/notes/note.ex:70
|
#: lib/memex/notes/note.ex:71
|
||||||
#: lib/memex/pipelines/pipeline.ex:60
|
#: lib/memex/pipelines/pipeline.ex:60
|
||||||
#: lib/memex/pipelines/pipeline.ex:73
|
#: lib/memex/pipelines/pipeline.ex:74
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "invalid format: only numbers, letters and hyphen are accepted"
|
msgid "invalid format: only numbers, letters and hyphen are accepted"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -135,14 +135,14 @@ msgstr ""
|
|||||||
msgid "sorry, public registration is disabled"
|
msgid "sorry, public registration is disabled"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/controllers/user_confirmation_controller.ex:53
|
#: lib/memex_web/controllers/user_confirmation_controller.ex:52
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "user confirmation link is invalid or it has expired."
|
msgid "user confirmation link is invalid or it has expired."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex/contexts/context.ex:84
|
#: lib/memex/contexts/context.ex:85
|
||||||
#: lib/memex/notes/note.ex:83
|
#: lib/memex/notes/note.ex:84
|
||||||
#: lib/memex/pipelines/pipeline.ex:86
|
#: lib/memex/pipelines/pipeline.ex:87
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "invalid format: only numbers, letters and hyphen are accepted. tags must be comma or space delimited"
|
msgid "invalid format: only numbers, letters and hyphen are accepted. tags must be comma or space delimited"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/controllers/user_confirmation_controller.ex:37
|
#: lib/memex_web/controllers/user_confirmation_controller.ex:36
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{email} confirmed successfully."
|
msgid "%{email} confirmed successfully."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -66,12 +66,12 @@ msgid "are you sure you want to make %{invite_name} unlimited?"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/index.html.heex:47
|
#: lib/memex_web/live/context_live/index.html.heex:47
|
||||||
#: lib/memex_web/live/context_live/show.html.heex:31
|
#: lib/memex_web/live/context_live/show.html.heex:48
|
||||||
#: lib/memex_web/live/note_live/index.html.heex:47
|
#: lib/memex_web/live/note_live/index.html.heex:47
|
||||||
#: lib/memex_web/live/note_live/show.html.heex:31
|
#: lib/memex_web/live/note_live/show.html.heex:55
|
||||||
#: lib/memex_web/live/pipeline_live/index.html.heex:47
|
#: lib/memex_web/live/pipeline_live/index.html.heex:47
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:31
|
#: lib/memex_web/live/pipeline_live/show.html.heex:38
|
||||||
#: lib/memex_web/live/pipeline_live/show.html.heex:102
|
#: lib/memex_web/live/pipeline_live/show.html.heex:109
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "are you sure?"
|
msgid "are you sure?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -86,7 +86,7 @@ msgstr ""
|
|||||||
msgid "language updated successfully."
|
msgid "language updated successfully."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/home_live.html.heex:90
|
#: lib/memex_web/live/home_live.html.heex:99
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "register to setup memEx"
|
msgid "register to setup memEx"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -137,12 +137,12 @@ msgstr ""
|
|||||||
msgid "are you sure you want to delete %{email}? this action is permanent!"
|
msgid "are you sure you want to delete %{email}? this action is permanent!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/invite_live/form_component.html.heex:49
|
#: lib/memex_web/live/invite_live/form_component.html.heex:50
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "saving..."
|
msgid "saving..."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/controllers/user_confirmation_controller.ex:23
|
#: lib/memex_web/controllers/user_confirmation_controller.ex:22
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "if your email is in our system and it has not been confirmed yet, you will receive an email with instructions shortly."
|
msgid "if your email is in our system and it has not been confirmed yet, you will receive an email with instructions shortly."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
# memEx
|
# memEx
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
memEx is an easy way to digitize the structured processes of your life.
|
A structured personal knowledge base, inspired by zettlekasten and org-mode.
|
||||||
|
|
||||||
- Notes: Document notes about individual items or concepts
|
- Notes: Document notes about individual items or concepts
|
||||||
- Contexts: Provide context around a single topic and hotlink to individual
|
- Contexts: Provide context around a single topic and hotlink to individual
|
||||||
@ -14,6 +14,7 @@ memEx is an easy way to digitize the structured processes of your life.
|
|||||||
- Multi-user: Built with sharing and collaboration in mind
|
- Multi-user: Built with sharing and collaboration in mind
|
||||||
- Privacy: Privacy controls on a per-note, context or pipeline basis
|
- Privacy: Privacy controls on a per-note, context or pipeline basis
|
||||||
- Convenient: Accessible from any internet-capable device
|
- Convenient: Accessible from any internet-capable device
|
||||||
|
- Backlinks: View referencing items from the referenced item
|
||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
|
|
||||||
@ -41,7 +42,7 @@ You can use the following environment variables to configure memEx in
|
|||||||
Defaults to `false`.
|
Defaults to `false`.
|
||||||
- `POOL_SIZE`: Controls the pool size to use with PostgreSQL. Defaults to `10`.
|
- `POOL_SIZE`: Controls the pool size to use with PostgreSQL. Defaults to `10`.
|
||||||
- `SECRET_KEY_BASE`: Secret key base used to sign cookies. Must be generated
|
- `SECRET_KEY_BASE`: Secret key base used to sign cookies. Must be generated
|
||||||
with `docker run -it shibaobun/memex mix phx.gen.secret` and set for server to start.
|
with `docker run -it shibaobun/memex priv/random.sh` and set for server to start.
|
||||||
- `REGISTRATION`: Controls if user sign-up should be invite only or set to
|
- `REGISTRATION`: Controls if user sign-up should be invite only or set to
|
||||||
public. Set to `public` to enable public registration. Defaults to `invite`.
|
public. Set to `public` to enable public registration. Defaults to `invite`.
|
||||||
- `LOCALE`: Sets a custom default locale. Defaults to `en_US`.
|
- `LOCALE`: Sets a custom default locale. Defaults to `en_US`.
|
||||||
|
@ -126,7 +126,7 @@ defmodule Memex.InvitesTest do
|
|||||||
%{invite: %{token: token} = invite, current_user: current_user} do
|
%{invite: %{token: token} = invite, current_user: current_user} do
|
||||||
{:ok, _invite} = Invites.update_invite(invite, %{uses_left: 1}, current_user)
|
{:ok, _invite} = Invites.update_invite(invite, %{uses_left: 1}, current_user)
|
||||||
assert {:ok, %{uses_left: 0, disabled_at: disabled_at}} = Invites.use_invite(token)
|
assert {:ok, %{uses_left: 0, disabled_at: disabled_at}} = Invites.use_invite(token)
|
||||||
assert not is_nil(disabled_at)
|
assert not (disabled_at |> is_nil())
|
||||||
end
|
end
|
||||||
|
|
||||||
test "use_invite/1 does not work on disactivated invite",
|
test "use_invite/1 does not work on disactivated invite",
|
||||||
|
@ -96,9 +96,9 @@ defmodule Memex.AccountsTest do
|
|||||||
Accounts.register_user(%{"email" => email, "password" => valid_user_password()})
|
Accounts.register_user(%{"email" => email, "password" => valid_user_password()})
|
||||||
|
|
||||||
assert user.email == email
|
assert user.email == email
|
||||||
assert is_binary(user.hashed_password)
|
assert user.hashed_password |> is_binary()
|
||||||
assert is_nil(user.confirmed_at)
|
assert user.confirmed_at |> is_nil()
|
||||||
assert is_nil(user.password)
|
assert user.password |> is_nil()
|
||||||
end
|
end
|
||||||
|
|
||||||
test "records used invite during registration" do
|
test "records used invite during registration" do
|
||||||
@ -128,7 +128,7 @@ defmodule Memex.AccountsTest do
|
|||||||
assert changeset.valid?
|
assert changeset.valid?
|
||||||
assert get_change(changeset, :email) == email
|
assert get_change(changeset, :email) == email
|
||||||
assert get_change(changeset, :password) == password
|
assert get_change(changeset, :password) == password
|
||||||
assert is_nil(get_change(changeset, :hashed_password))
|
assert get_change(changeset, :hashed_password) |> is_nil()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -265,7 +265,7 @@ defmodule Memex.AccountsTest do
|
|||||||
|
|
||||||
assert changeset.valid?
|
assert changeset.valid?
|
||||||
assert get_change(changeset, :password) == "new valid password"
|
assert get_change(changeset, :password) == "new valid password"
|
||||||
assert is_nil(get_change(changeset, :hashed_password))
|
assert get_change(changeset, :hashed_password) |> is_nil()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -309,14 +309,14 @@ defmodule Memex.AccountsTest do
|
|||||||
"password" => "new valid password"
|
"password" => "new valid password"
|
||||||
})
|
})
|
||||||
|
|
||||||
assert is_nil(user.password)
|
assert user.password |> is_nil()
|
||||||
assert Accounts.get_user_by_email_and_password(user.email, "new valid password")
|
assert Accounts.get_user_by_email_and_password(user.email, "new valid password")
|
||||||
end
|
end
|
||||||
|
|
||||||
test "deletes all tokens for the given user", %{user: user} do
|
test "deletes all tokens for the given user", %{user: user} do
|
||||||
_session_token = Accounts.generate_user_session_token(user)
|
_session_token = Accounts.generate_user_session_token(user)
|
||||||
|
|
||||||
{:ok, _} =
|
{:ok, _user} =
|
||||||
Accounts.update_user_password(user, valid_user_password(), %{
|
Accounts.update_user_password(user, valid_user_password(), %{
|
||||||
"password" => "new valid password"
|
"password" => "new valid password"
|
||||||
})
|
})
|
||||||
@ -506,7 +506,7 @@ defmodule Memex.AccountsTest do
|
|||||||
{:ok, updated_user} =
|
{:ok, updated_user} =
|
||||||
Accounts.reset_user_password(user, %{"password" => "new valid password"})
|
Accounts.reset_user_password(user, %{"password" => "new valid password"})
|
||||||
|
|
||||||
assert is_nil(updated_user.password)
|
assert updated_user.password |> is_nil()
|
||||||
assert Accounts.get_user_by_email_and_password(user.email, "new valid password")
|
assert Accounts.get_user_by_email_and_password(user.email, "new valid password")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -25,10 +25,6 @@ defmodule Memex.ContextsTest do
|
|||||||
%{slug: "chickens", content: "bananas stuff", tags: ["life", "decisions"]}
|
%{slug: "chickens", content: "bananas stuff", tags: ["life", "decisions"]}
|
||||||
|> context_fixture(user)
|
|> context_fixture(user)
|
||||||
|
|
||||||
_shouldnt_return =
|
|
||||||
%{slug: "dog", content: "banana treat stuff", visibility: :private}
|
|
||||||
|> context_fixture(user_fixture())
|
|
||||||
|
|
||||||
# slug
|
# slug
|
||||||
assert Contexts.list_contexts("dog", user) == [context_a]
|
assert Contexts.list_contexts("dog", user) == [context_a]
|
||||||
assert Contexts.list_contexts("dogs", user) == [context_a]
|
assert Contexts.list_contexts("dogs", user) == [context_a]
|
||||||
@ -72,15 +68,6 @@ defmodule Memex.ContextsTest do
|
|||||||
}
|
}
|
||||||
|> context_fixture(user)
|
|> context_fixture(user)
|
||||||
|
|
||||||
_shouldnt_return =
|
|
||||||
%{
|
|
||||||
slug: "dog",
|
|
||||||
content: "treats bananas stuff",
|
|
||||||
tags: ["home", "life", "decisions"],
|
|
||||||
visibility: :private
|
|
||||||
}
|
|
||||||
|> context_fixture(user)
|
|
||||||
|
|
||||||
# slug
|
# slug
|
||||||
assert Contexts.list_public_contexts("dog") == [context_a]
|
assert Contexts.list_public_contexts("dog") == [context_a]
|
||||||
assert Contexts.list_public_contexts("dogs") == [context_a]
|
assert Contexts.list_public_contexts("dogs") == [context_a]
|
||||||
@ -110,21 +97,6 @@ defmodule Memex.ContextsTest do
|
|||||||
assert Contexts.get_context!(context.id, user) == context
|
assert Contexts.get_context!(context.id, user) == context
|
||||||
end
|
end
|
||||||
|
|
||||||
test "get_context!/1 only returns unlisted or public contexts for other users", %{user: user} do
|
|
||||||
another_user = user_fixture()
|
|
||||||
context = context_fixture(%{visibility: :public}, another_user)
|
|
||||||
assert Contexts.get_context!(context.id, user) == context
|
|
||||||
|
|
||||||
context = context_fixture(%{visibility: :unlisted}, another_user)
|
|
||||||
assert Contexts.get_context!(context.id, user) == context
|
|
||||||
|
|
||||||
context = context_fixture(%{visibility: :private}, another_user)
|
|
||||||
|
|
||||||
assert_raise Ecto.NoResultsError, fn ->
|
|
||||||
Contexts.get_context!(context.id, user)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
test "get_context_by_slug/1 returns the context with given id", %{user: user} do
|
test "get_context_by_slug/1 returns the context with given id", %{user: user} do
|
||||||
context = context_fixture(%{slug: "a", visibility: :public}, user)
|
context = context_fixture(%{slug: "a", visibility: :public}, user)
|
||||||
assert Contexts.get_context_by_slug("a", user) == context
|
assert Contexts.get_context_by_slug("a", user) == context
|
||||||
@ -136,18 +108,23 @@ defmodule Memex.ContextsTest do
|
|||||||
assert Contexts.get_context_by_slug("c", user) == context
|
assert Contexts.get_context_by_slug("c", user) == context
|
||||||
end
|
end
|
||||||
|
|
||||||
test "get_context_by_slug/1 only returns unlisted or public contexts for other users", %{
|
test "backlink/2 returns contexts with backlinks", %{user: user} do
|
||||||
user: user
|
context_fixture(%{slug: "a", visibility: :public}, user)
|
||||||
} do
|
assert Contexts.backlink("[a]", user) == []
|
||||||
another_user = user_fixture()
|
|
||||||
context = context_fixture(%{slug: "a", visibility: :public}, another_user)
|
|
||||||
assert Contexts.get_context_by_slug("a", user) == context
|
|
||||||
|
|
||||||
context = context_fixture(%{slug: "b", visibility: :unlisted}, another_user)
|
context = context_fixture(%{slug: "b", content: "[a]", visibility: :unlisted}, user)
|
||||||
assert Contexts.get_context_by_slug("b", user) == context
|
assert Contexts.backlink("[a]", user) == [context]
|
||||||
|
assert Contexts.backlink("[b]", user) == []
|
||||||
|
end
|
||||||
|
|
||||||
context_fixture(%{slug: "c", visibility: :private}, another_user)
|
test "backlink/2 only returns public contexts for empty user", %{user: user} do
|
||||||
assert Contexts.get_context_by_slug("c", user) |> is_nil()
|
context_fixture(%{slug: "a", visibility: :public}, user)
|
||||||
|
context_fixture(%{slug: "b", content: "[a]", visibility: :unlisted}, user)
|
||||||
|
context_fixture(%{slug: "c", content: "[a]", visibility: :private}, user)
|
||||||
|
assert Contexts.backlink("[a]", nil) == []
|
||||||
|
|
||||||
|
context = context_fixture(%{slug: "d", content: "[a]", visibility: :public}, user)
|
||||||
|
assert Contexts.backlink("[a]", nil) == [context]
|
||||||
end
|
end
|
||||||
|
|
||||||
test "create_context/1 with valid data creates a context", %{user: user} do
|
test "create_context/1 with valid data creates a context", %{user: user} do
|
||||||
|
@ -14,7 +14,6 @@ defmodule Memex.NotesTest do
|
|||||||
note_a = note_fixture(%{slug: "a", visibility: :public}, user)
|
note_a = note_fixture(%{slug: "a", visibility: :public}, user)
|
||||||
note_b = note_fixture(%{slug: "b", visibility: :unlisted}, user)
|
note_b = note_fixture(%{slug: "b", visibility: :unlisted}, user)
|
||||||
note_c = note_fixture(%{slug: "c", visibility: :private}, user)
|
note_c = note_fixture(%{slug: "c", visibility: :private}, user)
|
||||||
_shouldnt_return = note_fixture(%{visibility: :private}, user_fixture())
|
|
||||||
|
|
||||||
assert Notes.list_notes(user) == [note_a, note_b, note_c]
|
assert Notes.list_notes(user) == [note_a, note_b, note_c]
|
||||||
end
|
end
|
||||||
@ -27,10 +26,6 @@ defmodule Memex.NotesTest do
|
|||||||
%{slug: "chickens", content: "bananas stuff", tags: ["life", "decisions"]}
|
%{slug: "chickens", content: "bananas stuff", tags: ["life", "decisions"]}
|
||||||
|> note_fixture(user)
|
|> note_fixture(user)
|
||||||
|
|
||||||
_shouldnt_return =
|
|
||||||
%{slug: "dog", content: "banana treat stuff", visibility: :private}
|
|
||||||
|> note_fixture(user_fixture())
|
|
||||||
|
|
||||||
# slug
|
# slug
|
||||||
assert Notes.list_notes("dog", user) == [note_a]
|
assert Notes.list_notes("dog", user) == [note_a]
|
||||||
assert Notes.list_notes("dogs", user) == [note_a]
|
assert Notes.list_notes("dogs", user) == [note_a]
|
||||||
@ -74,15 +69,6 @@ defmodule Memex.NotesTest do
|
|||||||
}
|
}
|
||||||
|> note_fixture(user)
|
|> note_fixture(user)
|
||||||
|
|
||||||
_shouldnt_return =
|
|
||||||
%{
|
|
||||||
slug: "dog",
|
|
||||||
content: "treats bananas stuff",
|
|
||||||
tags: ["home", "life", "decisions"],
|
|
||||||
visibility: :private
|
|
||||||
}
|
|
||||||
|> note_fixture(user)
|
|
||||||
|
|
||||||
# slug
|
# slug
|
||||||
assert Notes.list_public_notes("dog") == [note_a]
|
assert Notes.list_public_notes("dog") == [note_a]
|
||||||
assert Notes.list_public_notes("dogs") == [note_a]
|
assert Notes.list_public_notes("dogs") == [note_a]
|
||||||
@ -112,21 +98,6 @@ defmodule Memex.NotesTest do
|
|||||||
assert Notes.get_note!(note.id, user) == note
|
assert Notes.get_note!(note.id, user) == note
|
||||||
end
|
end
|
||||||
|
|
||||||
test "get_note!/1 only returns unlisted or public notes for other users", %{user: user} do
|
|
||||||
another_user = user_fixture()
|
|
||||||
note = note_fixture(%{visibility: :public}, another_user)
|
|
||||||
assert Notes.get_note!(note.id, user) == note
|
|
||||||
|
|
||||||
note = note_fixture(%{visibility: :unlisted}, another_user)
|
|
||||||
assert Notes.get_note!(note.id, user) == note
|
|
||||||
|
|
||||||
note = note_fixture(%{visibility: :private}, another_user)
|
|
||||||
|
|
||||||
assert_raise Ecto.NoResultsError, fn ->
|
|
||||||
Notes.get_note!(note.id, user)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
test "get_note_by_slug/1 returns the note with given id", %{user: user} do
|
test "get_note_by_slug/1 returns the note with given id", %{user: user} do
|
||||||
note = note_fixture(%{slug: "a", visibility: :public}, user)
|
note = note_fixture(%{slug: "a", visibility: :public}, user)
|
||||||
assert Notes.get_note_by_slug("a", user) == note
|
assert Notes.get_note_by_slug("a", user) == note
|
||||||
@ -138,18 +109,23 @@ defmodule Memex.NotesTest do
|
|||||||
assert Notes.get_note_by_slug("c", user) == note
|
assert Notes.get_note_by_slug("c", user) == note
|
||||||
end
|
end
|
||||||
|
|
||||||
test "get_note_by_slug/1 only returns unlisted or public notes for other users", %{
|
test "backlink/2 returns notes with backlinks", %{user: user} do
|
||||||
user: user
|
note_fixture(%{slug: "a", visibility: :public}, user)
|
||||||
} do
|
assert Notes.backlink("[a]", user) == []
|
||||||
another_user = user_fixture()
|
|
||||||
note = note_fixture(%{slug: "a", visibility: :public}, another_user)
|
|
||||||
assert Notes.get_note_by_slug("a", user) == note
|
|
||||||
|
|
||||||
note = note_fixture(%{slug: "b", visibility: :unlisted}, another_user)
|
note = note_fixture(%{slug: "b", content: "[a]", visibility: :unlisted}, user)
|
||||||
assert Notes.get_note_by_slug("b", user) == note
|
assert Notes.backlink("[a]", user) == [note]
|
||||||
|
assert Notes.backlink("[b]", user) == []
|
||||||
|
end
|
||||||
|
|
||||||
note_fixture(%{slug: "c", visibility: :private}, another_user)
|
test "backlink/2 only returns public notes for empty user", %{user: user} do
|
||||||
assert Notes.get_note_by_slug("c", user) |> is_nil()
|
note_fixture(%{slug: "a", visibility: :public}, user)
|
||||||
|
note_fixture(%{slug: "b", content: "[a]", visibility: :unlisted}, user)
|
||||||
|
note_fixture(%{slug: "c", content: "[a]", visibility: :private}, user)
|
||||||
|
assert Notes.backlink("[a]", nil) == []
|
||||||
|
|
||||||
|
note = note_fixture(%{slug: "d", content: "[a]", visibility: :public}, user)
|
||||||
|
assert Notes.backlink("[a]", nil) == [note]
|
||||||
end
|
end
|
||||||
|
|
||||||
test "create_note/1 with valid data creates a note", %{user: user} do
|
test "create_note/1 with valid data creates a note", %{user: user} do
|
||||||
|
@ -25,10 +25,6 @@ defmodule Memex.PipelinesTest do
|
|||||||
%{slug: "chickens", description: "bananas stuff", tags: ["life", "decisions"]}
|
%{slug: "chickens", description: "bananas stuff", tags: ["life", "decisions"]}
|
||||||
|> pipeline_fixture(user)
|
|> pipeline_fixture(user)
|
||||||
|
|
||||||
_shouldnt_return =
|
|
||||||
%{slug: "dog", description: "banana treat stuff", visibility: :private}
|
|
||||||
|> pipeline_fixture(user_fixture())
|
|
||||||
|
|
||||||
# slug
|
# slug
|
||||||
assert Pipelines.list_pipelines("dog", user) == [pipeline_a]
|
assert Pipelines.list_pipelines("dog", user) == [pipeline_a]
|
||||||
assert Pipelines.list_pipelines("dogs", user) == [pipeline_a]
|
assert Pipelines.list_pipelines("dogs", user) == [pipeline_a]
|
||||||
@ -72,15 +68,6 @@ defmodule Memex.PipelinesTest do
|
|||||||
}
|
}
|
||||||
|> pipeline_fixture(user)
|
|> pipeline_fixture(user)
|
||||||
|
|
||||||
_shouldnt_return =
|
|
||||||
%{
|
|
||||||
slug: "dog",
|
|
||||||
description: "treats bananas stuff",
|
|
||||||
tags: ["home", "life", "decisions"],
|
|
||||||
visibility: :private
|
|
||||||
}
|
|
||||||
|> pipeline_fixture(user)
|
|
||||||
|
|
||||||
# slug
|
# slug
|
||||||
assert Pipelines.list_public_pipelines("dog") == [pipeline_a]
|
assert Pipelines.list_public_pipelines("dog") == [pipeline_a]
|
||||||
assert Pipelines.list_public_pipelines("dogs") == [pipeline_a]
|
assert Pipelines.list_public_pipelines("dogs") == [pipeline_a]
|
||||||
@ -110,23 +97,6 @@ defmodule Memex.PipelinesTest do
|
|||||||
assert Pipelines.get_pipeline!(pipeline.id, user) == pipeline
|
assert Pipelines.get_pipeline!(pipeline.id, user) == pipeline
|
||||||
end
|
end
|
||||||
|
|
||||||
test "get_pipeline!/1 only returns unlisted or public pipelines for other users", %{
|
|
||||||
user: user
|
|
||||||
} do
|
|
||||||
another_user = user_fixture()
|
|
||||||
pipeline = pipeline_fixture(%{visibility: :public}, another_user)
|
|
||||||
assert Pipelines.get_pipeline!(pipeline.id, user) == pipeline
|
|
||||||
|
|
||||||
pipeline = pipeline_fixture(%{visibility: :unlisted}, another_user)
|
|
||||||
assert Pipelines.get_pipeline!(pipeline.id, user) == pipeline
|
|
||||||
|
|
||||||
pipeline = pipeline_fixture(%{visibility: :private}, another_user)
|
|
||||||
|
|
||||||
assert_raise Ecto.NoResultsError, fn ->
|
|
||||||
Pipelines.get_pipeline!(pipeline.id, user)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
test "get_pipeline_by_slug/1 returns the pipeline with given id", %{user: user} do
|
test "get_pipeline_by_slug/1 returns the pipeline with given id", %{user: user} do
|
||||||
pipeline = pipeline_fixture(%{slug: "a", visibility: :public}, user)
|
pipeline = pipeline_fixture(%{slug: "a", visibility: :public}, user)
|
||||||
assert Pipelines.get_pipeline_by_slug("a", user) == pipeline
|
assert Pipelines.get_pipeline_by_slug("a", user) == pipeline
|
||||||
@ -138,18 +108,23 @@ defmodule Memex.PipelinesTest do
|
|||||||
assert Pipelines.get_pipeline_by_slug("c", user) == pipeline
|
assert Pipelines.get_pipeline_by_slug("c", user) == pipeline
|
||||||
end
|
end
|
||||||
|
|
||||||
test "get_pipeline_by_slug/1 only returns unlisted or public pipelines for other users", %{
|
test "backlink/2 returns pipelines with backlinks", %{user: user} do
|
||||||
user: user
|
pipeline_fixture(%{slug: "a", visibility: :public}, user)
|
||||||
} do
|
assert Pipelines.backlink("[a]", user) == []
|
||||||
another_user = user_fixture()
|
|
||||||
pipeline = pipeline_fixture(%{slug: "a", visibility: :public}, another_user)
|
|
||||||
assert Pipelines.get_pipeline_by_slug("a", user) == pipeline
|
|
||||||
|
|
||||||
pipeline = pipeline_fixture(%{slug: "b", visibility: :unlisted}, another_user)
|
pipeline = pipeline_fixture(%{slug: "b", description: "[a]", visibility: :unlisted}, user)
|
||||||
assert Pipelines.get_pipeline_by_slug("b", user) == pipeline
|
assert Pipelines.backlink("[a]", user) == [pipeline]
|
||||||
|
assert Pipelines.backlink("[b]", user) == []
|
||||||
|
end
|
||||||
|
|
||||||
pipeline_fixture(%{slug: "c", visibility: :private}, another_user)
|
test "backlink/2 only returns public pipelines for empty user", %{user: user} do
|
||||||
assert Pipelines.get_pipeline_by_slug("c", user) |> is_nil()
|
pipeline_fixture(%{slug: "a", visibility: :public}, user)
|
||||||
|
pipeline_fixture(%{slug: "b", description: "[a]", visibility: :unlisted}, user)
|
||||||
|
pipeline_fixture(%{slug: "c", description: "[a]", visibility: :private}, user)
|
||||||
|
assert Pipelines.backlink("[a]", nil) == []
|
||||||
|
|
||||||
|
pipeline = pipeline_fixture(%{slug: "d", description: "[a]", visibility: :public}, user)
|
||||||
|
assert Pipelines.backlink("[a]", nil) == [pipeline]
|
||||||
end
|
end
|
||||||
|
|
||||||
test "create_pipeline/1 with valid data creates a pipeline", %{user: user} do
|
test "create_pipeline/1 with valid data creates a pipeline", %{user: user} do
|
||||||
|
@ -25,16 +25,6 @@ defmodule Memex.StepsTest do
|
|||||||
assert Steps.get_step!(step.id, user) == step
|
assert Steps.get_step!(step.id, user) == step
|
||||||
end
|
end
|
||||||
|
|
||||||
test "get_step!/2 only returns unlisted or public steps for other users", %{user: user} do
|
|
||||||
another_user = user_fixture()
|
|
||||||
another_pipeline = pipeline_fixture(another_user)
|
|
||||||
step = step_fixture(0, another_pipeline, another_user)
|
|
||||||
|
|
||||||
assert_raise Ecto.NoResultsError, fn ->
|
|
||||||
Steps.get_step!(step.id, user)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
test "create_step/4 with valid data creates a step", %{pipeline: pipeline, user: user} do
|
test "create_step/4 with valid data creates a step", %{pipeline: pipeline, user: user} do
|
||||||
valid_attrs = %{
|
valid_attrs = %{
|
||||||
content: "some content",
|
content: "some content",
|
||||||
|
@ -64,7 +64,7 @@ defmodule Memex.DataCase do
|
|||||||
symbols = ~c"0123456789abcdef-"
|
symbols = ~c"0123456789abcdef-"
|
||||||
symbol_count = Enum.count(symbols)
|
symbol_count = Enum.count(symbols)
|
||||||
|
|
||||||
for _ <- Range.new(1, length),
|
for _index <- 1..length//1,
|
||||||
into: "",
|
into: "",
|
||||||
do: <<Enum.at(symbols, :rand.uniform(symbol_count - 1))>>
|
do: <<Enum.at(symbols, :rand.uniform(symbol_count - 1))>>
|
||||||
end
|
end
|
||||||
|
@ -47,8 +47,8 @@ defmodule Memex.Fixtures do
|
|||||||
|> Atom.to_string()
|
|> Atom.to_string()
|
||||||
|> Email.generate_email(Accounts.get_user!(user_id), attrs)
|
|> Email.generate_email(Accounts.get_user!(user_id), attrs)
|
||||||
|
|
||||||
[_, html_token | _] = email.html_body |> String.split("[TOKEN]")
|
[_prefix, html_token | _postfix] = email.html_body |> String.split("[TOKEN]")
|
||||||
[_, text_token | _] = email.text_body |> String.split("[TOKEN]")
|
[_prefix, text_token | _postfix] = email.text_body |> String.split("[TOKEN]")
|
||||||
^text_token = html_token
|
^text_token = html_token
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user