arterialist / core_messenger Goto Github PK
View Code? Open in Web Editor NEWOpen Messenger built on core_client
License: GNU General Public License v3.0
Open Messenger built on core_client
License: GNU General Public License v3.0
Add logging layer and ability to add, remove, enable and disable specific logging channels (SQL logs for example)
There are two prompts shown on startup, which are Username and Port prompts. Currently if user cancels them, they appear again.
Currently username and port are prompted on each startup
Make it possible to save them and not request in the future
Text color in message input box becomes black after first erase of text or focus change
Currently main socket is in blocking mode, which may lead to UI freezes, especially on big timeout. It's critical to move socket to separate thread.
User should be able to apply global theme stored in ctheme
file.
Theme can be applied after restart
Stack trace:
Traceback (most recent call last):
File "core_messenger/widgets/dialogs/dialogs_head.py", line 32, in <lambda>
self.new_dialog_button.clicked.connect(lambda: new_dialog_click_callback(self))
File "core_messenger/callback/callbacks.py", line 36, in new_dialog_click_callback
client_base.p2p_connect(host, int(port))
File "core_messenger/client/client_base.py", line 128, in p2p_connect
sock.connect(current_connection_address)
OSError: [Errno 113] No route to host
Save typed message when switching to another dialog and restore draft as well
App crashes sometimes when pressing OK button of "Invalid message" dialog. It's caused by incorrect work with threads and window object (probably)
Steps to reproduce:
Add ability to edit message
Add "edited" indicator (optional)
Optional: display nickname above message's text in opened dialog
App crashes when user edits message and tries to delete it.
Stack trace:
Traceback (most recent call last):
File "main.py", line 271, in <lambda>
delete_action.triggered.connect(lambda: delete_message_item_selected_callback(self.messages_list, message_item))
File "core_messenger/callback/callbacks.py", line 173, in delete_message_item_selected_callback
client_base.send_message(Packet(action=DeleteMessageAction(), message=delete_message_msg))
File "core_messenger/client/client_base.py", line 174, in send_message
layers.socket_send_data(current_connection, message, loaded_modules)
File "core_messenger/client/layers.py", line 9, in socket_send_data
what = action.process(what)
File "core_messenger/client/modules/default_modules.py", line 38, in process
data.message.text = base64.b64encode(data.message.text.encode()).decode()
AttributeError: 'NoneType' object has no attribute 'encode'
Reason: no text
field check in Base64EncodeModule
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.