Skip to content

Releases: msalehicode/BeanChat

v0.29.62

v0.29.62 Pre-release
Pre-release

Choose a tag to compare

@msalehicode msalehicode released this 22 Jul 13:33
873f523
  • [FIX] dont remove user from clientUsers, this would create dangling and undefined behavior for models...
  • [FIX] trying to fix udp connection lost from clientside for no reason, user get connection lost (likely ping packet dont work but now added some prints for that to see on log) also interval timer from 10 increase to 15s and max elapsed value changed from 9s to 14s
  • [FIX] a syntax problem fixed on user.cpp

qml changes:

  • [FIX] blocked user's message are need to be revealed
  • [FIX] logger for qml actions and messages
  • [FIX] some unused buttons on settings commented

v0.29.56

v0.29.56 Pre-release
Pre-release

Choose a tag to compare

@msalehicode msalehicode released this 21 Jul 12:10
  • [FIX] on first init app would try to load default of system instead of index 0 (that way absolutely user had to go to settings and set mic and speakre in/out manually to hear ro talk)

  • [FIX] some log messages added to know where did break the app cycle

  • [FIX] clear before receive new chunk for text channels

  • [FIX] hope i fixed user disappear on channel

    • clear clientManager would trigger to clear models (avoid model by model to clear)
    • ignore UserConnected for me (this user) and would add him by ServerState
    • removed clear channel model before serverState
  • [FIX] clean up old logs after all events to pervent any problem (while uploading crashes)

  • [FIX] dont do qFatal if one udp bind failed (now it tries 3 times to bind udp)

  • [FIX] sometimes ping system dont work properly and despite user is talking in channel would (by client side) assume connection lost now fixed by dont rely on just ping-pong, now even voice/video udp packet received would reset udp connection activity to avoid disconnect user.

v0.29.49

v0.29.49 Pre-release
Pre-release

Choose a tag to compare

@msalehicode msalehicode released this 20 Jul 08:59
  • [NEW] text channel type

    • load old messages if saveChats is ON
    • when someone sends new message to text channel if user isn't seeing that channel would show indicator unread messages count
    • when user hit on unread messages text channel would reset count
    • when a text channel is selected/seeing title of that channel would be bold.
    • if a text channel is locked would ask password then server would decide u've access or not
    • when user select on text channel would hide current channel participant and show channel when user clicks on that current channel would see his current participants
  • [FIX] voice channels if saveChats is ON would load old messages for channel

  • [FIX] double click to join replaced by click to join

  • [FIX] if user clicks on current channel won't send request join (for both text/voice channel)

  • [FIX] when error while loading image happens for delegateMessageImage/animated-image would show text and error (e.g access denied or..)

  • [FIX] change activity status menu now uses colors from UiHelper

  • [FIX] block user actions while on connecting..

  • [FIX] dont play sound effect user left or join channel or user-disconnected when channel id is 0 (channel less)

  • [FIX] when user disconnected play userDisconnected instead of userLeft

  • [FIX] unobserve removed users from models

  • [FIX] leave channel -> user becomes channel less
    - (actually joins channel id 0 but ignores voice, video data to send/receive also chat is closed for channel 0)

JUST FOR INFORMATION:

  • [UI IMPROVEMENT] add curved arrow down icon before channel name for myCurrentChannel
  • [UX IMPROVEMENT] default PTT hotkey changed to backslash to avoid any problem for users
  • [UI IMPROVEMENT] activity status do not disturb color from pink-red became black
  • [RENAME] m_chatModel pointer renamed to m_voiceChatModel, because now we have m_textChatModel list

v0.28.39

v0.28.39 Pre-release
Pre-release

Choose a tag to compare

@msalehicode msalehicode released this 18 Jul 13:21
  • [FIX]: play sound for mic(muted,actiaved), sound(muted,resumed), camera(on,off)
  • [FIX] TCP Idle closes connection
  • [FIX] play audio disconnected and perform needed actions on socket error

v0.28.36

v0.28.36 Pre-release
Pre-release

Choose a tag to compare

@msalehicode msalehicode released this 17 Jul 06:12
  • [NEW] upload/download file in chat
    • show icon, name of uploaded/attached file in chat before sending and can remove that attached file
    • drag and drop file to chat works (but only one file by the time)
    • a simple player for video and audio files
    • show image and animated-image (gif) in chat with small size and when clicked open popup with larger size
    • show error if exsits before upload file (server may say no, e.g to large files)

v0.27.36

v0.27.36 Pre-release
Pre-release

Choose a tag to compare

@msalehicode msalehicode released this 15 Jul 21:41
  • [NEW] get offline users of server and list in connectedUsers

    • sort by Activity stauts for connectedUsers
    • get server's max users and show on top of the connectedUsers
  • [FIX] when video sender closes his camera, there was a bug show his last pic and open his camera.

  • [FIX] update user activity status by click on circular avatar or status indicator at bottom

v0.26.34

v0.26.34 Pre-release
Pre-release

Choose a tag to compare

@msalehicode msalehicode released this 14 Jul 06:42

[NEW 0.26] logger

  • log actions with different categories to save each session into .log file
  • on launch remove old log files
  • on launch check logs for crashes and send report crash logs to api
  • add system info to top of the log files to better diagnostic bugs

FIXES:

  • [FIX 1] new soundpack (speech) replaced instead of soundeffects

    • play sound for actions (connected, disconnected, connectionLost, user timedout, you were moved) added
    • avoid play connection lost and disconnected together
  • [FIX 2] replace qDebugs,... with logger qCDebug(_category) for logger

  • [FIX 3] clientUserManager deleteLater replaced with simple DELETE

  • [FIX 4] updateUserIsTalking timer/event was start at app and runs for ever. therefore timer became smart and when we join a channel would start. check and when disconnected would stop timer to check.

  • [FIX 5] close ffmpeg encoder/decoder when camera stops

    • ffmpeg decoder report open's proper error if failed
    • ffmpeg encoder report open's proper error message and set av_opt_set if they failed
  • [FIX 6] round img commented for performance test from myVideItem later will find another solution, it's not ideal to round every frame

  • [FIX 7] connectedusers reject duplicate user

  • [FIX 8] some safety for pointer added in:

    • channelModel 7x
    • chatModel 1x
    • connectedUsersModel 2x
    • participant 7x
    • connectedUsersModel, participantModel raw pointer replace with QPointer to hold user
  • [FIX 9] in user.cpp:

    • on connect, before dns lookup checks if its directy ip avoid dns lookup also if dns lookup failed disconnect user.
    • when user disocnnected, remove user automatically from models by signal/slot (emit removeUser by ClientUserManager)
    • fatal if couldn't bind udp socket.
    • ask for latest update with correct platform name (linux, android added. macOs and IOS just asking their name)
  • [FIX 10] some literals moved to CMAKE

    • audioCapture config values sets from CMAKE
    • value opus MaxPacketSize Moved to CMAKE
    • default serverName moved to CMAKE and loads from there.

v0.25.23

v0.25.23 Pre-release
Pre-release

Choose a tag to compare

@msalehicode msalehicode released this 11 Jul 00:42
  • [NEW] check for new updates on startup if its available show importantNotificationBar

    • when clicked on update now, try open updater then close self.
  • [FIX] if build version were upper than saved version, still would show saved version which is old! fixed

v0.24.22

v0.24.22 Pre-release
Pre-release

Choose a tag to compare

@msalehicode msalehicode released this 10 Jul 04:43

[NEW] share server via serverCode (servers with ip:port), enter serverCode to connect to server.

  • open popup to show serverCode
  • access from server's menu

[NEW] share server via QR code image (ip:port or domain address) [THIS IS FOR FUTURE TO SHARE SERVER WITH PHONE]

  • icon for center of qrcode added
  • open popup to show QR code
  • access from server's menu

[NEW] copy to clipboard

  • added for serverCode to copy code, and UserProfile to copy identity

[UI IMPROVE]:

  • connect popup now shows ip and port aginast each other with cursor point hand for buttons

v0.21.21 (more compatible with updater)

Pre-release

Choose a tag to compare

@msalehicode msalehicode released this 10 Jul 00:58

FIXES:

  • 18: video udp packets framgented, now can send them over udp to VPS fine. no flood protoection or packtloss for video data.
  • 19: launch option added, can set -testVid to feed camera with fake drawing stuff.
  • 20: to be compatible with updater:
    • store app version inside qsettings and read it if qsettings not exists read build version
    • database creation moved into databasemigrator, and now would drop old tables if its legacy or if it has db version would check and one by one update to newest version db by calling e.g migrate0to1 function, in this way can always keep database structure up to date with our newest update structure wihtout touching user's data in database
  • 21: fill client protocol version into login-RequestPacket to server prevent connections with differ protocol version