58 Commits

Author SHA1 Message Date
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
b6a78ef403
chore: expose the service using caddy proxy 2024-10-23 11:43:18 +00:00
3f40253559
feat(auth): add auth through phx.gen.auth 2024-10-22 00:19:26 +00:00
64016ef098
feat(chat): debounce chat input validation 2024-10-21 23:54:59 +00:00
af21885a46
feat(chat): chat name is unique 2024-10-21 23:50:23 +00:00
3e71c0e5ba
fix: remove running services 2024-10-21 23:41:31 +00:00
03aed73d35
chore: upgrade deps of deps
* `tesla` from 1.12.1 to 1.12.2
2024-10-21 23:32:27 +00:00
757c0a747b
chore: upgrade deps
* `esbuild` from 0.8.1 to 0.8.2
* `floki` from 0.36.2 to 0.36.3
* `phoenix_live_view` from 1.0.0-rc.6 to 1.0.0-rc.7
* `tailwind` from 0.2.3 to 0.2.4
2024-10-21 23:30:09 +00:00
6c4819e5c7
chore: upgrade runtimes
* `erlang` from 27.0.1 to 27.1.2
* `elixir` from 1.17.2 to 1.17.3
* `task` from 3.38.0 to 3.39.2
2024-10-21 23:28:52 +00:00
2064ea8fb6
feat(chat): add events to validate/save chat in live view 2024-10-18 11:07:26 +00:00
a0d23e5672
feat(chat): initial implementation for edit live view 2024-10-16 01:04:47 +00:00
32350431f8
feat: add context methods to mutate rooms
Also, improve user input validation.
2024-10-16 00:31:12 +00:00
c6ee2bbf0b
feat(chat): order chats by their names
This is achieved by improving `Ecto.Query` usage.
2024-10-15 00:44:41 +00:00
7de16a0ea2
feat: set proper page title for chats rooms 2024-10-15 00:35:20 +00:00
0ae441c31a
feat(chat): add context and use it in live view 2024-10-15 00:27:18 +00:00
fb7dff1f6f
feat: use link patch to navigate between rooms
Also, implement `c:handle_params/3` to allow the usage of `link patch`.
2024-10-10 23:40:44 +00:00
e20857f1d6
feat: map rooms route and add it to sidebar room list 2024-10-10 00:45:16 +00:00
7765b11f46
feat: list all rooms in sidebar 2024-10-10 00:30:46 +00:00