75 Commits

Author SHA1 Message Date
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
137b9b4581
feat(chat): notify message add/removal with pubsub 2024-11-06 00:22:50 +00:00
c788bfa8d8
feat(chat): show delete button on hover 2024-11-01 21:43:44 +00:00
ee4cb20e46
feat(chat): delete message from user 2024-11-01 21:36:51 +00:00
e342814550
feat(chat): shot timestamp in correct timezone 2024-10-31 00:08:29 +00:00
e37ad5b0c9
chore: format app.js 2024-10-31 00:03:04 +00:00
367f306297
feat(chat): add formatted timestamps with Timex 2024-10-30 23:56:39 +00:00
697ba23614
chore: upgrade deps of deps
* `tesla` from 1.12.2 to 1.13.0
2024-10-30 23:48:20 +00:00
4d9c233628
chore: upgrade deps
* `phoenix_ecto` from 4.6.2 to 4.6.3
* `postgrex` from 0.19.1 to 0.19.2
2024-10-30 23:43:30 +00:00
af2c4e4e95
feat(chat): use streams to show messages 2024-10-30 23:39:56 +00:00
a13a47a697
feat(chat): add seed data 2024-10-30 01:03:47 +00:00
b2e04be7ec
feat(chat): validate and submit messages 2024-10-24 17:21:49 +00:00
6581aa3ba5
feat(chat): show username using preload 2024-10-23 22:49:23 +00:00
ca90b77bcb
feat(chat): add messages 2024-10-23 22:33:47 +00:00