Commit Graph

117 Commits

Author SHA1 Message Date
ChronosX
1f65fee4cb Added and connected a widget library in the style of material design. In the future, using these widgets will create a GUI. 2018-08-01 14:12:43 +03:00
ChronosX
e4780b0b05 The width of the main window has been slightly changed, widget layouts have been added, and the label "Peer ID (IPv6):" has been added before the LineEdit "peerID". 2018-07-28 14:07:56 +03:00
Denis Davydov
61533a5989 Fixed a bug that allowed sending an empty string in the chat window. 2018-07-28 11:00:32 +03:00
Denis Davydov
d5c9371a65 Now when you press Enter in the IP input field, you automatically start to connect to it. (similar to pressing the Connect button) 2018-07-26 17:55:07 +03:00
Denis Davydov
810bfbc246 Swapped the <i> tag and the square bracket in the message time 2018-07-26 16:53:54 +03:00
Denis Davydov
a397b6fe2f Added display of message time (local time) 2018-07-26 16:46:04 +03:00
Denis Davydov
18714ddde6 Added html tag <b> in some places of chat. 2018-07-26 16:22:10 +03:00
Denis Davydov
5231302217 Now the application does not start if it does not find ip, which starts with "fc" (ie, before starting the messenger, you need to run the cjdns daemon) 2018-07-26 14:42:37 +03:00
Denis Davydov
3b58f486ec Added chatID label to ChatWindow 2018-07-26 13:29:25 +03:00
Denis Davydov
6019b36642 Cancel of fix 7100d5f9b5 2018-07-26 13:20:04 +03:00
Denis Davydov
b9cb29f7d7 Added one more \n to the Timeout Error message. 2018-07-26 13:13:54 +03:00
Denis Davydov
57f9ea67b9 Added a more detailed description for the error Timeout Error. 2018-07-26 13:10:31 +03:00
ChronosX88
128e648ab9
Update main.md 2018-07-26 13:00:18 +03:00
Denis Davydov
7100d5f9b5 Fixed a bug where no notification was sent that peer left from the chat 2018-07-26 12:59:43 +03:00
Denis Davydov
b42a306c58 Added space to string " left from this chat." 2018-07-26 12:58:09 +03:00
Denis Davydov
14f478dfec Fixed bug with incorrect json field when creating a chat 2018-07-26 12:19:47 +03:00
CupIvan
c158b9953b add make.sh 2018-07-26 11:56:03 +03:00
Denis Davydov
ee60b8b092 Fixed the bug when chat was not created when signed up to create a chat. 2018-07-26 11:53:05 +03:00
Denis Davydov
630f739538 Added the ability to correspond, performed a small optimization (fixed the memory leak), changed the structure of all the code (in particular, changed the names of many variables, etc.)
Also translated all into English.
2018-07-26 11:38:43 +03:00
Denis Davydov
9475414ecd Added destructor to class Network 2018-07-19 12:53:32 +03:00
Denis Davydov
65ab05979d Changed "action" to check the availability of a peer 2018-07-18 12:19:15 +03:00
Denis Davydov
8b75f7c5e1 A ChatWindow class template was added, which is intended to create chat windows 2018-07-18 11:36:33 +03:00
Denis Davydov
2050f635ff Added comparison to true in the condition that is checked when the timeout () slot is invoked 2018-07-18 11:24:22 +03:00
Denis Davydov
6aefbb153b Added false to bool receive 2018-07-06 17:56:27 +03:00
Denis Davydov
3e4778b576 Changed the structure of the class Handler (in particular, rewrite the structure of createSession) 2018-07-06 15:38:45 +03:00
Denis Davydov
f694a32f3e Changed some structure of classes Handler and MainWindow. Also added the line "My IP" on the main window. 2018-06-29 12:37:38 +03:00
Denis Davydov
8d8649e5f9 Changed the constant QHostAddress::LocalHost to QHostAddress::LocalHostIPv6 2018-06-28 16:51:19 +03:00
Denis Davydov
bbfcfd00d9 Now when you click on the "Connect" button, the button stops being available, and the text on it changes to "Waiting..." until any message is not displayed. 2018-06-28 16:38:28 +03:00
Denis Davydov
1d68c85c0e Changed the structure of the Handler class, for convenient addition of new methods. 2018-06-28 16:08:23 +03:00
CupIvan
c82cf387f1
fix for linux compile 2018-06-22 18:05:34 +03:00
ChronosX88
de5e644474
Merge pull request #2 from ChronosX88/develop
Version 0.0.1 released
2018-06-22 15:13:08 +03:00
Denis Davydov
57d575b00d The parameter TARGET is changed to Influence. 2018-06-22 15:10:44 +03:00
Denis Davydov
7df934b392 Now the basic part of the application works stably.
The way of obtaining IPv6 is changed. Also changed the logic of the timer and fixed a bug with multiple calling the slot peerReceiverConnected().
2018-06-22 15:10:03 +03:00
Denis Davydov
aac8567528 The way of obtaining IPv6 is changed. 2018-06-22 15:07:53 +03:00
Denis Davydov
fd20de0e38 Added a function that recognizes your IPv6. 2018-06-22 15:07:02 +03:00
Denis Davydov
d557b16c6a Now handler works. 2018-06-21 18:36:02 +03:00
Denis Davydov
a2fee2fe26 Changed the Network class constructor
Now sockets do not overlap (if you create an object of class Network in some other class).
2018-06-21 18:23:36 +03:00
Denis Davydov
7fa9deb1d4 The basic part of the application is written
The library nlohmann::json was removed (now QJson*), working class Network and idle handler.
2018-06-21 18:21:18 +03:00
Denis Davydov
89d1f77974 Updated JSON lib 2018-06-16 15:54:45 +03:00
Denis Davydov
0ebdc434a1 Basic functionality added to the Network class 2018-06-15 17:12:41 +03:00
Denis Davydov
2c5dca6f9f The "kernel" directory has been added to the project. 2018-06-15 17:11:57 +03:00
Denis Davydov
477bef39ad Deleted directory "php"
Not relevant
2018-06-15 16:12:36 +03:00
Denis Davydov
68d7fc425b .gitignore updated 2018-06-15 16:07:37 +03:00
Denis Davydov
e6412ebca9 Added template of project 2018-06-15 15:46:27 +03:00
Denis Davydov
3ee53de11a Cleaning the source
I start everything from scratch
2018-06-15 15:40:33 +03:00
Denis Davydov
dc74275526 Added template of class "sql", which designed for work with SQL Database 2018-05-22 19:01:28 +03:00
Denis Davydov
607941dd54 Deleted "json.cpp", because it's useless. 2018-05-22 17:56:53 +03:00
Denis Davydov
fd0a7c4da6 Updated contactmanager.cpp 2018-05-20 17:03:24 +03:00
Denis Davydov
18ad8c2dd4 Updated network.hpp 2018-05-20 15:16:35 +03:00
Denis Davydov
585c4d9e77 Removed func "sendPing" from class Network and moved to class
ContactManager.
2018-05-20 15:16:12 +03:00