Commit graph

38 commits

Author SHA1 Message Date
0d262c68eb Send push notifications on new chat messages
Ports the gooyal notifications client (as already used by advertising)
and wires it into the previously-empty PushPublisher: on each message
send, the other conversation participant(s) get a push notification
with the sender's name and a message preview. Failures are swallowed
per-recipient so a down notifications service degrades silently rather
than breaking message sending.

Requires NOTIFICATIONS_BASE_PUBLIC_URL and the
notifications.application.push:send OAuth2 scope to be configured
before it will actually deliver.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-01 14:10:56 +03:30
d259621a5b Merge pull request 'add getting user info' (#8) from feature/user-info into master
Reviewed-on: #8
2026-07-29 08:28:00 -04:00
a177fae35b add getting user info 2026-07-28 13:17:01 +03:30
74efff8b66 Merge pull request 'add content_type like what it is in advertising exactily' (#7) from feature/minio-endpoint into master
Reviewed-on: #7
2026-07-27 10:01:50 -04:00
61ba5e2368 add content_type like what it is in advertising exactily 2026-07-27 15:30:37 +03:30
ff3c868814 FIX(chat): MINIO_BUCKET_NAME
MINIO_BUCKET_NAME
2026-07-27 13:38:07 +03:30
c1877cb884 FIX(chat): MINIO_BUCKET_NAME
MINIO_BUCKET_NAME
2026-07-27 13:35:17 +03:30
27a8e3729d Merge pull request 'add presign endponit' (#6) from feature/minio-endpoint into master
Reviewed-on: #6
2026-07-27 05:59:17 -04:00
392aa8e9c1 add presign endponit 2026-07-26 11:21:53 +03:30
f0f7454797 Merge pull request 'add chat title' (#5) from feature/chat-title into master
Reviewed-on: #5
2026-07-25 08:48:44 -04:00
8cdaf569d8 add chat title
Conversations can now be given an optional title at creation
(POST /api/chats/), stored locally on the Conversation model and
returned in create/list/close/reopen responses.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-25 12:57:19 +03:30
c39bda076e Merge pull request 'debug none sender uuid' (#4) from feature/remove-system-message into master
Reviewed-on: #4
2026-07-21 08:44:46 -04:00
7373cb15d4 debug none sender uuid 2026-07-21 16:08:37 +03:30
b466bfb941 Merge pull request 'filter system message on starting the chat' (#3) from feature/remove-system-message into master
Reviewed-on: #3
2026-07-21 08:02:45 -04:00
9a73badb3c add admin panel 2026-07-21 15:31:57 +03:30
85fcfc37d0 merge master into branch 2026-07-21 15:29:04 +03:30
69b5ba0198 FIX(chat): adding winsoo.ir to trusted origins
adding winsoo.ir to trusted origins
2026-07-21 14:58:18 +03:30
1b3eed3cbc FIX(ads): adding static files
adding static files
2026-07-21 14:55:53 +03:30
9f318aa6cc filter messages on client side 2026-07-21 14:45:10 +03:30
7a0236d24a Merge pull request 'feature/minio-integration' (#2) from feature/minio-integration into master
Reviewed-on: #2
2026-07-20 06:32:06 -04:00
c8883832c9 add report chat 2026-07-20 13:58:42 +03:30
e4cab3ab62 Merge branch 'master' into feature/minio-integration
# Conflicts:
#	apps/chat/serializers/messages.py
#	apps/chat/services/message.py
#	apps/chat/tests/test_messages.py
#	apps/chat/views/messages.py
2026-07-20 12:27:34 +03:30
0802bc93d6 Merge pull request 'feature/refactor_uuid' (#1) from feature/refactor_uuid into master
Reviewed-on: #1
2026-07-19 05:49:05 -04:00
9dd70f37d3 add close and reopen feature 2026-07-19 12:54:17 +03:30
0cf77aa21c REFACTOR(chat): rename all internal id fields to uuid
Renames PK/reference fields across chat models, services, serializers,
views, urls, websocket routing, and events (id->uuid, user_id->user_uuid,
chat_id->chat_uuid, sender_id->sender_uuid, user_1_id/user_2_id->
user_1_uuid/user_2_uuid) for consistency with the uuid-named PK
convention already used in core/users/gooyal_oauth2. Mattermost's own
opaque identifiers (post_id, channel_id, mattermost_user_id) are left
unchanged since they are not UUIDs.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-19 12:11:32 +03:30
5dcfec3e80 filter system message on starting the chat 2026-07-12 16:30:53 +03:30
ba236c2b3e FIX(chat): remove migration
remove migration
2026-07-12 15:51:54 +03:30
d85be31e77 switch chat media messages to client-side MinIO uploads
Frontend now uploads media directly to MinIO and sends only the
resulting object_key; the backend never touches file bytes. Mattermost
post bodies carry "<type>:<object_key>" instead of a permanent public
URL, and download links are signed fresh on every read (send + list)
so they can't outlive their expiry. Also wires up MINIO_SECURE, which
settings.py previously never read from env.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-12 12:12:31 +03:30
49d6bd6cd2 add new gooyal account app migrations. 2026-07-12 11:27:31 +03:30
c8b4e67567 debug 2026-06-15 15:22:17 +03:30
aa821ac468 restruct the apps 2026-06-15 13:21:21 +03:30
3864008341 update requirements 2026-06-15 13:06:31 +03:30
dcb1873608 complete mattermost integration 2026-06-13 13:43:29 +03:30
b7239defcf add clients and chat core. 2026-06-10 17:33:02 +03:30
234b5d84b9 running 2026-06-08 12:42:03 +03:30
Sayyid Hamid Mahdavi
353d50953c init 2026-06-08 12:05:24 +03:30
Sayyid Hamid Mahdavi
aa14ae0f1f init 2026-05-10 16:33:06 +03:30
Sayyid Hamid Mahdavi
d596e319f0 init 2026-05-10 15:25:49 +03:30