110 Commits

Author SHA1 Message Date
6956473ea5
fix(webapp): filenames for chat files (#8680)
* filenames for chat files

* remove console log
2025-06-15 09:13:14 +00:00
a0c205b379
feat(backend): file upload chat backend (#8657)
* Prepare image uploads in chat

* files instead of images

* Fix file type and query

* Add dummy data to resolver

* fix graphql types

* Fix file upload, remove unncessary code

* Re-add fetch

* Fix room order after sent message

* Update backend/src/graphql/queries/messageQuery.ts

* Move room to top of list when a message is received

* working prototype chat file upload

* remove console

* allow to upload all kinds of files

* multiple images

* revert changes in S3 Images

* tag mimetype

* accept any file

* lint fix

* remove snapshot flakyness

* remove whitelist test

* fix messages spec

* fix query

* more query fixes

* fix seed

* made message resolver tests independent

* lint

* started specc for attachments

* more tests & fixes

* fix empty room error

* remove console logs

* fix tests

* fix createRoom last Messsage error properly

* lint fixes

* reduce changeset

* simplify config check

* reduce changeset

* missing change

* allow speech capture

* Fix file download

* Implement proper download

---------

Co-authored-by: Maximilian Harz <maxharz@gmail.com>
2025-06-13 19:02:37 +00:00
sebastian2357
ff366a4075
fix(webapp): mobile optimization (#8516)
* - optimized header
- added possibility of extra mobile logo

* - changed behavior of NotificationMenu link get directly open for mobile

* - moved notification links to the top of the menu

* - optimized chat view for mobile

* - added logo branding structure

* - added logo branding structure

* - fixed chat height

* - fixed paddings for internal pages

* Fix linting

* Fix linting

---------

Co-authored-by: Sebastian Stein <sebastian@codepassion.de>
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-05-09 17:04:06 +00:00
entermex
bd688ecd6b Fix: proxyApiUrl in chat rooms for the avatars 2023-08-18 11:43:28 +02:00
Wolfgang Huß
d345bf0bba Merge branch 'master' of github.com:Ocelot-Social-Community/Ocelot-Social into 6669-fix-having-wrong-chat-font-as-default-in-network 2023-08-11 12:34:42 +02:00
Wolfgang Huß
5b954197dc Remove font 'Quicksand' from the chat
- Set style of chat component to 'scoped'
2023-08-11 12:27:21 +02:00
Wolfgang Huß
2c123313ed Fix 'm.avatar is null' error message 2023-08-11 11:14:47 +02:00
7e697d7f9d
lint fixes 2023-08-08 22:22:11 +02:00
5c1ab88012
conditional url replacement 2023-08-08 22:21:24 +02:00
elweyn
b591820eb6 Fix avatar in Room. 2023-08-08 07:56:02 +02:00
6f43321aba
try to fix avatars 2023-08-07 15:56:56 +02:00
Markus
f1fc2e07f7 fixed linting 2023-07-28 14:36:32 +02:00
Markus
9849a13999 [fix] @ mentions in chat now redirect to user page 2023-07-28 14:35:43 +02:00
elweyn
d07dbe14a9 Change click event layer from div to button. 2023-07-26 14:21:05 +02:00
elweyn
ad74448696 Fix linting. 2023-07-26 14:00:59 +02:00
elweyn
618e4c7a67 Change icons to base-buttons 2023-07-26 12:59:25 +02:00
fbd2b08737
Merge branch 'master' into fix-security-subscriptions 2023-07-20 17:11:20 +02:00
Wolfgang Huß
b26e454562 Fix linting 2023-07-20 15:42:40 +02:00
elweyn
074711dd90 Fix: order createdAt_desc & lastMessageAt_desc 2023-07-20 14:31:57 +02:00
elweyn
21124bcd71 Fix: Order of rooms. 2023-07-20 14:18:25 +02:00
f7c381efd8
subscription chatMessageAdded security fix 2023-07-20 13:44:04 +02:00
70a1c52165
lint fixes 2023-07-20 13:10:25 +02:00
01fb28da3c
unify function to fix room result, propose order fix(not 100%) 2023-07-20 13:09:38 +02:00
624f379677
fix new room mechanic 2023-07-20 12:57:18 +02:00
elweyn
0b64fce5aa Add selectedRoom equaling the createdRoom 2023-07-20 12:19:32 +02:00
elweyn
13da3ba3f4 Add returned properties to the CreateRoom mutation, add emit to change the roomID. 2023-07-20 11:35:06 +02:00
elweyn
a82d245f63 Change toast error to error.message. 2023-07-20 11:03:20 +02:00
Wolfgang Huß
858e3fdee8 Rename 'addRoom' to 'toggleUserSearch' in chat component 2023-07-20 10:40:04 +02:00
elweyn
6659238fa1 Add fetchRooms option & check null on content. 2023-07-20 10:15:15 +02:00
Hannes Heine
b126347aee
Merge branch 'master' into 6592-chat-component-+-button-open-search 2023-07-20 06:40:44 +02:00
Wolfgang Huß
3d9a9cd5a0 Create the chat room on user search in chats function 2023-07-19 17:47:56 +02:00
Markus
74dceb82f0 Merge branch '6588-chat-link-to-chat-page' of github.com:Ocelot-Social-Community/Ocelot-Social into 6588-chat-link-to-chat-page 2023-07-19 17:27:05 +02:00
Markus
45dba25a7a [fix] changed css rule for single chat icon 2023-07-19 17:24:37 +02:00
Wolfgang Huß
26282c67b7 Make user search in chats function – second step 2023-07-19 16:41:23 +02:00
Hannes Heine
e87078c2fc
Merge branch 'master' into 6588-chat-link-to-chat-page 2023-07-19 16:25:01 +02:00
Markus
5bae7cbd94 [feature] open chat page via link from single chat window and open the used room after loading 2023-07-19 15:54:31 +02:00
Wolfgang Huß
ffe51a0743 Separate 'ds-select' of 'AddGroupMember' into separate component 'SelectUserSearch' 2023-07-19 15:48:05 +02:00
ea368cd0f3
lint fixes 2023-07-19 15:09:13 +02:00
2f76d0b502
fix lastMessage to contain proper values 2023-07-19 14:38:23 +02:00
Wolfgang Huß
a114b8a12c Give the chat plus button a function and show hide the user search 2023-07-19 14:07:10 +02:00
Hannes Heine
e4e365d90e
Merge branch 'master' into 6568-highlight-username-chat 2023-07-19 13:46:11 +02:00
779d564159
lint fixes 2023-07-19 11:53:13 +02:00
24187bf8a9
increase unreadCount when receiving a message, fix problem with empty room 2023-07-19 11:45:36 +02:00
f7dd605838
shorten room message, update room message when sending 2023-07-19 11:36:35 +02:00
41cca4f4ec
lint 2023-07-19 10:42:21 +02:00
961a260044
remove default avatar, allow refetch rooms, count down read messages, update lastMessage & lastMessageAt, ... 2023-07-19 10:39:54 +02:00
Markus
0bc19cf226 [fix] added usertag as allowed html tags, so user highlighting works for the chat 2023-07-19 10:15:56 +02:00
Wolfgang Huß
ef95f12339 Merge branch 'master' of github.com:Ocelot-Social-Community/Ocelot-Social into 6589-on-open-chat-room-page-close-or-on-change-profile-change-mini-chat 2023-07-18 18:30:49 +02:00
Wolfgang Huß
b85d5345a0 Clean up 2023-07-18 18:30:03 +02:00
Wolfgang Huß
c7deefa563 Close small chat if one changes to the chat room page 2023-07-18 17:33:45 +02:00