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
# ueberauth config | |
config :ueberauth, Ueberauth, | |
providers: [ | |
google: | |
{Ueberauth.Strategy.Google, | |
[ | |
prompt: "consent", | |
access_type: "offline", | |
default_scope: "email" | |
]} |
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
defmodule App.Simplified.Broadway do | |
use Broadway | |
require Logger | |
alias Broadway.Message | |
def start_link(_opts) do | |
Broadway.start_link(App.Simplified.Broadway, | |
name: BroadwayBlueskeySimplified, |
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
defmodule Markably.UserNotifications.Broadway do | |
@moduledoc false | |
use Broadway | |
alias Broadway.Message | |
require Logger | |
def start_link(_opts) do | |
Broadway.start_link(Markably.UserNotifications.Broadway, |
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
defmodule WordWeb.Components.ChannelRow do | |
use Surface.LiveComponent | |
alias Surface.Components.{ | |
LiveRedirect | |
} | |
alias WordWeb.Components.{ | |
Button, | |
Card |
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
Apr 11 19:59:19 pov-epc open5gs-mmed[846]: #033[32m04/11 19:59:19.417#033[0m: [#033[33mdiam#033[0m] #033[1;33mERROR#033[0m: pid:PSM/hss.localpyhss in fd_p_ce_msgrcv@p_ce.c:747: ERROR: in '(save_remote_CE_info(*msg, peer, &pei, &rc))' :#011Invalid argument | |
Apr 11 19:59:19 pov-epc open5gs-mmed[846]: ((null):0) | |
Apr 11 19:59:19 pov-epc open5gs-mmed[846]: #033[32m04/11 19:59:19.417#033[0m: [#033[33mdiam#033[0m] #033[1;33mERROR#033[0m: pid:PSM/hss.localpyhss in md_hook_cb_tree@dbg_msg_dumps.c:116: DROPPED 'Internal error ('hss.localpyhss'): unhandled message.' | |
Apr 11 19:59:19 pov-epc open5gs-mmed[846]: ((null):0) | |
Apr 11 19:59:19 pov-epc open5gs-mmed[846]: #033[32m04/11 19:59:19.417#033[0m: [#033[33mdiam#033[0m] #033[1;33mERROR#033[0m: pid:PSM/hss.localpyhss in md_hook_cb_tree@dbg_msg_dumps.c:117: 'Capabilities-Exchange-Answer' | |
Apr 11 19:59:19 pov-epc open5gs-mmed[846]: ((null):0) | |
Apr 11 19:59:19 pov-epc open5gs-mmed[846]: #033[32m04/11 19:59:19.417#033[0m: [#033[33mdiam#033[0m] #033[1;33mERROR#033[0m: pid:P |
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
Apr 11 19:11:49 pov-epc open5gs-mmed[845]: #033[32m04/11 19:11:49.129#033[0m: [#033[33mdiam#033[0m] #033[1;33mERROR#033[0m: pid:PSM/hss.localpyhss in md_hook_cb_tree@dbg_msg_dumps.c:116: DROPPED 'Internal error ('hss.localpyhss'): unhandled message.' | |
Apr 11 19:11:49 pov-epc open5gs-mmed[845]: ((null):0) | |
Apr 11 19:11:49 pov-epc open5gs-mmed[845]: #033[32m04/11 19:11:49.129#033[0m: [#033[33mdiam#033[0m] #033[1;33mERROR#033[0m: pid:PSM/hss.localpyhss in md_hook_cb_tree@dbg_msg_dumps.c:117: 'Capabilities-Exchange-Answer' | |
Apr 11 19:11:49 pov-epc open5gs-mmed[845]: ((null):0) | |
Apr 11 19:11:49 pov-epc open5gs-mmed[845]: #033[32m04/11 19:11:49.129#033[0m: [#033[33mdiam#033[0m] #033[1;33mERROR#033[0m: pid:PSM/hss.localpyhss in md_hook_cb_tree@dbg_msg_dumps.c:117: Version: 0x01 | |
Apr 11 19:11:49 pov-epc open5gs-mmed[845]: ((null):0) | |
Apr 11 19:11:49 pov-epc open5gs-mmed[845]: #033[32m04/11 19:11:49.129#033[0m: [#033[33mdiam#033[0m] #033[1;33mERROR#033[0m: pid:PSM/hss.localpyhss in md_hook_cb_tree@dbg_msg_dum |
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
def presign_upload(entry, socket) do | |
uploads = socket.assigns.uploads | |
bucket = FaithfulWord.config([:s3, :bucket]) | |
dbg(socket.assigns.upload_path_prefix) | |
## HACK to generate dir path on s3 by uploading an empty .gitkeep file | |
## this must be done before the upload occurs | |
# gitkeep_file = File.read!("gitkeep") |
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
defmodule MarkablyWeb.UserChannel do | |
use Phoenix.Channel, hibernate_after: :infinity | |
alias Phoenix.Socket.Broadcast | |
alias Markably.Pipeline.Timing | |
@impl true | |
def join("user:" <> user_id, _payload, socket) do | |
dbg("join MarkablyWeb.UserChannel") | |
dbg(user_id) |
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
defp handle_validation(socket, {:ok, _user_pin}) do | |
Accounts.UserPin.purge_pins(socket.assigns.auth_user) | |
sign_in_token = | |
socket.assigns.auth_user | |
|> Accounts.generate_user_session_token() | |
|> Base.encode64() | |
# sign_in_token is still valid up to here | |
dbg(sign_in_token) |
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
[watch] build finished, watching for changes... | |
Rebuilding... | |
Done in 911ms. | |
[debug] Upgrading connection to websocket | |
[debug] Shard connection up, waiting for consumers to boot | |
[error] ** State machine <0.715.0> terminating | |
** Last event = {info,{gun_upgrade,<0.735.0>, | |
#Ref<0.3877279376.554958849.24784>, |
NewerOlder