88 Commits

Author SHA1 Message Date
f1e44d4c88
wip: README 2025-05-28 19:19:48 +00:00
7610fe097f
chore(services): improve configuration for local and production
* Set `pull_policy`
* On production:
  * Enable `watch` rebuild
  * Set for 2 hosts
  * Expose on `caddy`
2025-05-28 19:17:04 +00:00
bda89b0b01
fix: add hidden type to input core component 2025-05-23 20:39:20 +00:00
5c186d687c
feat: upgrade transient dependencies
* `castore`: from 1.0.11 to 1.0.14
* `certifi`: from 2.12.0 to 2.14.0
* `comeonin`: from 5.5.0 to 5.5.1
* `hackney`: from 1.20.1 to 1.23.0
* `hpax`: from 1.0.2 to 1.0.3
* `mime`: from 2.0.6 to 2.0.7
* `mint`: from 1.6.2 to 1.7.1
* `plug`: from 1.16.1 to 1.17.0
* `plug_crypto`: from 2.1.0 to 2.1.1
* `tesla`: from 1.13.2 to 1.14.2
* `thousand_island`: from 1.3.9 to 1.3.13
* `tzdata`: from 1.1.2 to 1.1.3
2025-05-23 20:35:23 +00:00
b4b4a15d5e
feat: upgrade dependencies
* `bandit`: from 1.6.6 to 1.6.11
* `bcrypt_elixir`: from 3.2.0 to 3.3.2
* `dns_cluster`: from 0.1.3 to 0.2.0
* `esbuild`: from 0.8.2 to 0.9.0
* `floki`: from 0.37.0 to 0.37.1
* `heroicons`: from tag v2.1.1 to v2.2.0
* `phoenix`: from 1.7.18 to 1.7.21
* `phoenix_ecto`: from 4.6.3 to 4.6.4
* `phoenix_html`: from 4.2.0 to 4.2.1
* `phoenix_live_dashboard`: from 0.8.6 to 0.8.7
* `phoenix_live_reload`: from 1.5.3 to 1.6.0
* `phoenix_live_view`: from 1.0.2 to 1.0.12
* `postgrex`: from 0.19.3 to 0.20.0
* `swoosh`: from 1.17.6 to 1.19.1
* `tailwind`: from 0.2.4 to 0.3.1
* `telemetry_poller`: from 1.1.0 to 1.2.0
* `testcontainers`: from 1.11.8 to 1.12.0
2025-05-23 20:26:24 +00:00
dcea6ba4e4
feat: upgrade runtimes
* `erlang` from 27.2 to 27.3.4
* `elixir` from 1.18.2 to 1.18.4
* `aqua:go-task/task` from 3.41.0 to 3.43.3
2025-05-23 20:23:46 +00:00
66432c05be
feat(chat): add username to the registration page 2025-02-15 23:06:03 +00:00
b7de53bab0
feat(chat): validate username on registration
Also, update seeds to register with usernames.
2025-02-15 22:15:21 +00:00
10c905249c
feat(chat): improve user pages layout + redirect 2025-02-15 22:01:58 +00:00
24b609ec3a
feat(chat): add username to users
And use it instead of hacky email transformation.
2025-02-13 23:13:36 +00:00
489be57db7
feat(chat): simplify socket response
Add helper methods to create the tuples `{:ok, socket}` and
`{:noreply, socket}`, and make them available in `SlaxWeb` module.
2025-02-05 00:05:49 +00:00
2063870a9e
fixup! chore(chat): create more chats/messages + set membership 2025-02-04 23:40:23 +00:00
7f510ba9c7
feat(chat): extract room forms to SlaxWeb.RoomComponents 2025-02-03 23:47:32 +00:00
2ca3e26a6e
feat(chat): add route to handle new room modal
Also, show/hide the modal using `live_action`.
2025-02-03 23:37:11 +00:00
cf925bb87b
feat(chat): add form to new room modal 2025-01-30 00:47:50 +00:00
33f36a5254
feat(chat): add placeholder modal for new room 2025-01-28 00:06:12 +00:00
e96efdecfa
feat(chat): updates made on Jan-2025
Some updates were made to the course and described in this post:

* https://arrowsmithlabs.com/blog/learn-phoenix-liveview-update-guide-january-2025
2025-01-27 23:58:19 +00:00
dd8e4d90dd
chore(task): populate database during setup 2025-01-27 23:11:11 +00:00
37569de266
chore(chat): create more chats/messages + set membership 2025-01-27 23:10:17 +00:00
bc4480ef91
feat(mise): use aqua backend to install utilities 2025-01-26 21:29:16 +00:00
41df45d97f
feat(deps): upgrade dependencies
* `bandit`: from 1.6.5 to 1.6.6
* `telemetry_metrics`: from 1.0.0 to 1.1.0
2025-01-26 21:28:25 +00:00
86b39d4c58
feat: upgrade transient dependencies
* `castore`: from 1.0.10 to 1.0.11
* `file_system`: from 1.0.1 to 1.1.0
* `hpax`: from 1.0.1 to 1.0.2
* `thousand_island`: from 1.3.7 to 1.3.9

Remove unused transient dependency:
* `elixir_uuid`
2025-01-23 00:00:40 +00:00
0c55f0cc04
feat: upgrade dependencies
* `bandit`: from 1.6.1 to 1.6.5
* `phoenix_html`: from 4.1.1 to 4.2.0
* `phoenix_live_dashboard`: from 0.8.5 to 0.8.6
* `phoenix_live_view`: from 1.0.1 to 1.0.2
* `swoosh`: from 1.17.5 to 1.17.6
* `testcontainers`: from 1.11.7 to 1.11.8

Added transient dependency:

* `uniq`: needed by `testcontainers`
2025-01-23 00:00:40 +00:00
6e4964bcd5
feat: upgrade elixir from 1.17.3 to 1.18.2 2025-01-23 00:00:36 +00:00
5d3e1d72ea
feat: use proper mise file 2025-01-22 23:39:40 +00:00
ada10afa96
chore(chat): interpolate values using new curly braces syntax 2024-12-24 12:35:20 +00:00
cd45664a63
feat(chat): toggle room/user list with Phoenix.LiveView.JS 2024-12-24 00:05:13 +00:00
84c106989b
fixup! feat(chat): add placeholder avatar 2024-12-24 00:04:03 +00:00
f5704fa13c
feat(chat): show unread message counter 2024-12-19 00:40:24 +00:00
33397055bb
feat: upgrade task to 3.40.1 2024-12-19 00:16:25 +00:00
fb37e428e3
feat(deps): upgrade transient dependencies
* `decimal` from 2.2.0 to 2.3.0
2024-12-19 00:14:28 +00:00
61569ebb9f
feat(deps): upgrade dependencies
* `phoenix`: from 1.7.17 to 1.7.18
* `phoenix_live_view`: from 1.0.0 to 1.0.1
* `swoosh`: from 1.17.3 to 1.17.5
* `testcontainers`: from 1.11.6 to 1.11.7
2024-12-19 00:10:50 +00:00
51e0e8d4c4
feat: upgrade erlang to 27.2 2024-12-19 00:09:27 +00:00
2dd258ad3d
feat(chat): add placeholder avatar 2024-12-10 00:48:11 +00:00
a9cba6ee79
chore(tasks): add task to build docker images 2024-12-10 00:41:20 +00:00
915c1be9fb
chore(tasks): add task to compile assets 2024-12-10 00:40:51 +00:00
219bf1b740
chore(tasks): move deps to `app_deps
Prefix application tasks with `app_`.
2024-12-10 00:39:31 +00:00
9f5d835816
chore(tasks): ensure database is running before interact with it 2024-12-10 00:37:02 +00:00
0522707dce
chore(tasks): improve descriptions 2024-12-10 00:35:45 +00:00
6b64fdcc3e
chore(deps): upgrade transient dependencies
* `castore`: from 1.0.9 to 1.0.10
* `decimal`: from 2.1.1 to 2.2.0
* `ecto`: from 3.12.4 to 3.12.5
* `elixir_make`: from 0.8.4 to 0.9.0
* `hpax`: from 1.0.0 to 1.0.1
* `tesla`: from 1.13.0 to 1.13.2
* `thousand_island`: from 1.3.5 to 1.3.7
* `websock_adapter`: from 0.5.7 to 0.5.8

Removed transient dependency from `testcontainer`:

-  `ex_docker_engine_api`
2024-12-08 21:57:53 +00:00
e9c4f27d25
chore(deps): upgrade dependencies
* `bandit`: from 1.5.7 to 1.6.1
* `floki`: from 0.36.3 to 0.37.0
* `gettext`: from 0.26.1 to 0.26.2
* `phoenix`: from 1.7.14 to 1.7.17
* `phoenix_live_dashboard`: from 0.8.4 to 0.8.5
* `phoenix_live_view`: from 1.0.0-rc.7 to 1.0.0
* `postgrex`: from 0.19.2 to 0.19.3
* `swoosh`: from 1.17.2 to 1.17.3
* `testcontainers`: from 1.10.5 to 1.11.6
2024-12-08 21:54:27 +00:00
3b6da491c5
chore(deps): upgrade erlang to 27.1.3
Upgrade runtime and operation system versions:

* `erlang`: from 27.1.2 to 27.1.3
* `debian`: from bookworm-20240812 to bookworm-20241202
2024-12-08 21:52:58 +00:00
2430b41ce1
feat(chat): add unread message divider 2024-11-25 23:22:31 +00:00
24c457413d
feat(chat): toggle room membership on index page 2024-11-17 22:18:34 +00:00
3f97444908
feat(chat): show joined rooms on index page 2024-11-17 21:40:46 +00:00
9755dc2b9e
feat(chat): add auth logic for room memberships 2024-11-17 21:16:52 +00:00
d3253bd900
feat(chat): add schema to handle room membership 2024-11-17 13:39:49 +00:00
afea52077b
feat(chat): add room index page 2024-11-13 23:25:20 +00:00
124e18d656
feat(chat): use Phoenix.Presence to show online users 2024-11-12 23:56:28 +00:00
503efaf10b
feat(chat): usage improvements with hooks
1. scroll room messages to the bottom
2. submit message on `enter`
2024-11-06 00:55:03 +00:00