-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Upgrade to phoenix 1.7 * Api redirector test refactored to match the new internals phx routert * Upgrade project dependencies - removed eventstore_dashboard, it's not mantained anymore - upgraded floki - upgraded phoenix - upgraded phoenix_ecto - upgraded phoenix_html - upgraded phoenix_live_dashboard - upgraded phoenix_live_view - upgraded pow - upgraded polymorphic_embed - added phoenix_view to mantain compatibility with pre 1.7 views - added phoenix_html_helpers * Removed eventstore from live dashboard * refactored live_flash warning * ignore statics in codespell job
- Loading branch information
Showing
14 changed files
with
128 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
[ | ||
import_deps: [:ecto, :phoenix, :commanded, :open_api_spex], | ||
import_deps: [:ecto, :phoenix, :ecto_sql, :commanded, :open_api_spex], | ||
locals_without_parens: [ | ||
# mock | ||
assert_called: :*, | ||
assert_not_called: :* | ||
], | ||
inputs: ["*.{ex,exs}", "priv/*/seeds.exs", "{config,lib,test}/**/*.{ex,exs}"], | ||
subdirectories: ["priv/*/migrations"] | ||
inputs: ["*.{heex,ex,exs}", "priv/*/seeds.exs", "{config,lib,test}/**/*.{heex,ex,exs}"], | ||
subdirectories: ["priv/*/migrations"], | ||
plugins: [Phoenix.LiveView.HTMLFormatter] | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
<main class="container"> | ||
<p class="alert alert-info" role="alert" | ||
phx-click="lv:clear-flash" | ||
phx-value-key="info"><%= live_flash(@flash, :info) %></p> | ||
<p class="alert alert-info" role="alert" phx-click="lv:clear-flash" phx-value-key="info"> | ||
<%= Phoenix.Flash.get(@flash, :info) %> | ||
</p> | ||
|
||
<p class="alert alert-danger" role="alert" | ||
phx-click="lv:clear-flash" | ||
phx-value-key="error"><%= live_flash(@flash, :error) %></p> | ||
<p class="alert alert-danger" role="alert" phx-click="lv:clear-flash" phx-value-key="error"> | ||
<%= Phoenix.Flash.get(@flash, :error) %> | ||
</p> | ||
|
||
<%= @inner_content %> | ||
</main> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,18 @@ | ||
<div id="trento" /> | ||
|
||
<script> | ||
const config = { | ||
checksServiceBaseUrl: '<%= @check_service_base_url %>', | ||
deregistrationDebounce: <%= @deregistration_debounce %>, | ||
chartsEnabled: <%= @charts_enabled %>, | ||
suseManagerEnabled: <%= @suse_manager_enabled %>, | ||
}; | ||
const config = { | ||
checksServiceBaseUrl: '<%= @check_service_base_url %>', | ||
deregistrationDebounce: <%= @deregistration_debounce %>, | ||
chartsEnabled: <%= @charts_enabled %>, | ||
suseManagerEnabled: <%= @suse_manager_enabled %>, | ||
}; | ||
</script> | ||
|
||
<script defer phx-track-static type="text/javascript" src={Routes.static_path(@conn, "/assets/trento.js")}></script> | ||
<script | ||
defer | ||
phx-track-static | ||
type="text/javascript" | ||
src={Routes.static_path(@conn, "/assets/trento.js")} | ||
> | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.