Compare commits

...

269 Commits

Author SHA1 Message Date
a04693e39d
fix: build without KConfig is possible once more 2024-11-19 18:45:11 +02:00
3cce057545
fix: omitting from attribute not to wreck the stream
fix: build without kwallet
2024-11-18 22:43:46 +02:00
9a44ae1fa5
SimpleCrypt password jamming is now optional 2024-11-17 20:25:33 +02:00
85ff6c25ba
find boos cmake new policy
magick instead of convert rendering images
2024-10-27 20:02:34 +02:00
3cc7db8eff
A workaround to store plugins in a subdirectory 2024-10-27 19:33:03 +02:00
Benson Muite
ff9a591d6d
Private libraries directory 2024-10-27 19:33:03 +02:00
8e3f10caff Merge pull request 'Add appdata file' (#94) from bmckwm/squawk:appdata into master
Reviewed-on: #94
Reviewed-by: Blue <blue@macaw.me>
2024-10-13 07:37:05 +00:00
8bfe88929f Merge pull request 'Fix license text error' (#90) from bmckwm/squawk:license into master
Reviewed-on: #90
Reviewed-by: Blue <blue@macaw.me>
2024-10-13 07:35:29 +00:00
9927bdc38b Merge pull request 'Update image link' (#87) from bmckwm/squawk:image-link-update into master
Reviewed-on: #87
Reviewed-by: Blue <blue@macaw.me>
2024-10-13 07:34:34 +00:00
Benson Muite
8083859541 Fix license text error 2024-10-07 13:45:15 +03:00
Benson Muite
030c374139 Update image link 2024-10-06 19:29:38 +03:00
Benson Muite
2c61b82924 Add appdata file 2024-10-06 19:26:44 +03:00
fb843a1346
ci 2024-02-04 13:51:16 -03:00
8d82d340a4
0.2.3 preparation, typo fix, readme changes 2024-02-04 13:36:51 -03:00
acd60eaba2
Fixing build without omemo, release preparation, unnecessary inheritance removed, info widget fix 2024-02-04 09:44:19 -03:00
829777935f
fixes for bundled LMDBAL build 2024-02-01 13:10:52 -03:00
0be2648849
Now avatars are properly autogenerated, reduced vCard spam 2024-01-31 20:22:49 -03:00
93c5be412e
trying linter settings 2023-11-17 21:52:33 -03:00
8f5325b291
beginning of keys setting 2023-11-16 21:08:40 -03:00
75554c7451
refactorng 2023-11-14 20:23:39 -03:00
00af582287
Own omemo key display, a bit of CMake clean up 2023-11-13 19:05:26 -03:00
19835af3cf
some debug, fix a crash removing a currently selected contact 2023-11-12 19:55:32 -03:00
e31ef78e71
some refactoring, some improvements 2023-11-10 19:26:16 -03:00
be466fbad1
removed Order, resolved a crash on several files being uploaded simultaniuosly 2023-11-09 19:36:30 -03:00
0a530bfa93
encrypted messages now are displayed in the feed 2023-11-06 20:57:08 -03:00
637eb702a8
cant believe it, first ever encrypted messages! 2023-11-05 16:29:44 -03:00
a7d1a28f29
some work towards encryption 2023-11-04 22:12:15 -03:00
297e08ba41
somewhat working... 2023-11-03 20:13:45 -03:00
9d688e8596
full transition to lmdbal, DOESNT WORK, DONT TAKE! 2023-11-02 19:55:11 -03:00
23ec80ccba
cleanup some warnings suppression 2023-08-15 12:28:25 -03:00
5fbb03fc46
transitioned urlstorage to LMDBAL, made it possible to build against latest qxmpp 2023-04-15 15:07:27 -03:00
81cf0f8d34
transition to LMDBAL 2023-03-27 21:45:29 +03:00
69d797fe51
showing the button for encryption if there is at least one omemo key, trust summary update calculations 2023-03-18 02:50:04 +03:00
4f295fee3c
trust summary gui delivery 2023-03-17 23:59:51 +03:00
fffef9876a
Refactoring, account destruction fix, some thoughts about where to store contact settings (omemo enable status for instance) 2023-03-16 22:38:05 +03:00
283e9ebc4d
some thoughts on detecting condition for enablining or showing the button for encryption in chat window 2023-03-15 21:17:44 +03:00
21b40a9ccb
Client node now displays in all participants and presences, some additional checkups before querying empty clients, refactoring 2023-03-14 22:49:58 +03:00
76a9c5da0c
extracted clientId from clientInfo to use it in the presence information later 2023-03-13 22:07:10 +03:00
8ec0af3205
transition to QXMppCarbonManagerV2 if QXmpp version is heigher than 1.5.0 2023-03-12 01:38:54 +03:00
4b68da458f
debugged a crash, keys are now fetching, refactored main, added some exceptions instead of ints, debugged termination process 2023-03-11 19:46:23 +03:00
927bdf0dab
DONT TAKE, BROKEN! first application of delay manager in code, reception of bundles 2023-03-10 21:43:31 +03:00
5ba97ecc25
some hopefully final preparations for delay manager 2023-03-08 23:28:48 +03:00
9fff409630
some more thinking about delay manager 2023-03-07 21:45:01 +03:00
99fd001292
some more thinking about delay manager 2023-03-05 01:36:53 +03:00
2d8f32c257
some ideas over delay manager 2023-03-04 00:27:12 +03:00
77dd28b600
some further work on omemo, far from done yet 2023-03-02 21:17:06 +03:00
6f32e99593
an idea how to manage info object better 2023-03-01 22:32:41 +03:00
ec362cef55
some further thinking of info widget 2023-02-21 23:27:28 +03:00
e4a2728ef8
hopefully end of refactoring of vcard to Info widget 2023-02-20 21:12:32 +03:00
bf11d8a74e
keeping with the refactoring 2023-02-03 21:43:13 +03:00
edf1ee60cd
keep going on refactoring vcard 2023-02-02 21:39:38 +03:00
4af16b75bf
started refactoring of the VCard UI 2023-02-01 18:56:00 +03:00
bb304ce774
just some unfinished thoughts 2023-01-30 20:52:26 +03:00
3c6b611a41
keeping up with qxmpp 2023-01-29 20:26:54 +03:00
73d83f55af
context menu to trust or distrust keys 2023-01-15 21:17:38 +03:00
b72a837754
trust level display in delegate, list size tweaking 2023-01-14 18:34:14 +03:00
d4bf7e599a
better way to solve yesterday font problem, small visual avatar rendering fix 2023-01-12 20:56:01 +03:00
15fb4bbd62
some thoughts about fonts, lastInteraction and label into keyDelegate 2023-01-11 23:45:38 +03:00
2aed8a1209
a bit better drawing of a key fingerprint 2023-01-08 18:16:41 +03:00
78ef3664f7
some initial delegate stuff 2023-01-07 17:30:22 +03:00
5aa0f4bca9
some initial classes for keys form 2023-01-03 18:27:03 +03:00
b45a73b723
some initial work and thoughts about encryption 2023-01-01 20:25:51 +03:00
758a9d95f3
replaced one structure, stored omemo support in Global object 2022-12-29 01:41:59 +03:00
dfe72ca36c
support of the new managers in account code, new states, new lambdas, even launches now, even receives some bundles 2022-12-27 01:01:01 +03:00
db3bc358a7
work progress: trust manager. DOESN'T START! 2022-12-19 18:43:24 +03:00
0b61b6e928
Some work on omemo handler, NOT DONE, BUILD FAILS! 2022-12-15 02:08:08 +03:00
820dc845ea
BUILD FAILS! some ideas of storage and cache 2022-09-03 14:39:42 +03:00
87973b3b67
first attempts to build against upstream qxmpp 2022-08-29 21:34:25 +03:00
b6ba022bff
removed own VCard request at the start if the presence doesn't show that the avatar changed, little refactoring 2022-08-27 14:39:24 +03:00
7b2b7ee5d5
first thought about forms, discovering contact pep support 2022-08-26 01:49:49 +03:00
c50cd1140e
first ever received and cached client data! 2022-08-25 01:41:06 +03:00
037dabbe06
some new shared classes, little reorganization, preparation to cache client info 2022-08-22 23:29:43 +03:00
2ae75a4b91
New object for cached database, also ClientInfo class 2022-08-20 00:28:59 +03:00
d162494ec8
Better way to store expanded elements in roster, several clean ups, translations 2022-08-17 19:25:35 +03:00
7e9eed2075
First tray attempt, seems to be working 2022-08-15 19:40:07 +03:00
7192286aeb
fix some bugs about disabled menus 2022-06-03 09:44:48 +03:00
645b92ba51
release 0.2.2 preparation 2022-05-05 20:46:49 +03:00
80c5e2f2b4
added en lolcalization file, actualized localizations 2022-05-04 19:20:30 +03:00
1f065f23e6
double click word selection handle, sigint sermentation fault fix 2022-05-03 12:17:08 +03:00
3c48577eee
selection message body now actually working 2022-05-02 22:25:50 +03:00
0340db7f2f
first successfull attempt to visualize selection on message body 2022-05-01 23:19:52 +03:00
c3a45ec58c
merge conflicts, text copying from context menu in message line 2022-04-30 21:41:25 +03:00
7ba94e9deb
link clicking and hovering in message body now works! 2022-04-29 00:29:44 +03:00
eac87e713f
seem to have found a text block, to activate with the click later 2022-04-28 00:08:59 +03:00
d86e2c28a0
an attempt to display text in a better way with QTextDocument + QTextBrowser 2022-04-27 01:17:53 +03:00
2fcc432aef
some polish 2022-04-26 23:08:25 +03:00
e58213b294
Now notifications have actions! Some more usefull functions to roster model 2022-04-24 18:52:29 +03:00
3916aec358
unread messages count now is displayed on the launcher icon 2022-04-23 16:58:08 +03:00
721d3a1a89
refactoring: UI squawk now belongs to a new class, it enables me doing trayed mode, when main window is destroyed 2022-04-22 18:26:18 +03:00
83cb220175
better notification sending, edited message now modifies notification (or sends), little structure change 2022-04-19 20:24:41 +03:00
18859cb960
first ideas for notifications 2022-04-18 19:54:42 +03:00
4c20a314f0
a crash fix on one of archive corner cases 2022-04-17 16:25:15 +03:00
51ac1ac709
first attempt 2022-04-17 14:58:46 +03:00
8f949277f6
actual pasword reasking on failed authentication 2022-04-14 11:13:27 +03:00
ce686e121b
account removal bugfix, some testing 2022-04-13 22:02:48 +03:00
f64e5c2df0
account connect/disconnect now activate/deactivate, it's a bit less contraversial; async account password asking new concept 2022-04-12 23:33:10 +03:00
2c26c7e264
ui squawk refactoring 2022-04-11 18:45:12 +03:00
69e0c88d8d
account refactoring, pep support discovery started 2022-04-08 19:18:15 +03:00
82d54ba4df
Report bugs tab and thanks to tab in about widget 2022-04-07 18:26:43 +03:00
1b66fda318
License is now can be viewed locally, some organization name packaging issies 2022-04-05 22:00:56 +03:00
9f746d203b
new tab in About: components 2022-04-04 23:49:01 +03:00
27377e0ec5
first attempt to make About window 2022-04-03 23:53:46 +03:00
4baa3bccbf
new screenshot 2022-04-02 16:09:11 +03:00
4786388822
0.2.1 2022-04-02 15:53:23 +03:00
62f02c18d7
now you can't edit messages with attachments: no other client actually allowes that, and if I edit they don't handle it properly anyway 2022-04-02 15:34:36 +03:00
1fcd403dba
testing, solved unhandled exception, conditions to restrict old message to be edited, license un some files that used to miss them 2022-04-01 00:32:22 +03:00
5f6691067a
minor bugfixes about message body, automatic focus and that quirk with font becomming bigger 2022-03-29 19:05:24 +03:00
788c6ca556
now it's possible to fix your messages 2022-03-28 23:25:33 +03:00
bf4a27f35d
Bug with the edited message fixed, some further work on message correction 2022-03-27 22:05:31 +03:00
0823b35148
removed unused old message line files, first thoughts on message edition 2022-02-20 22:10:09 +03:00
73b1b58a96
Downloads folder now is movable 2022-02-19 21:31:49 +03:00
d8b5ccb2da
downloaded files now stored with squawk:// prefix, that way I can move downloads folder without messing up the database 2022-02-19 00:27:09 +03:00
243edff8bd
first thoughts about downloads path changing 2022-02-17 20:26:15 +03:00
da19eb86bb
color theme setting is now working 2022-01-27 20:44:32 +03:00
0ff9f12157
new optional KDE Frameworks plugin to support system color schemes 2022-01-26 23:53:44 +03:00
802e2f11a1
may be a bit better quit handling 2022-01-25 23:35:55 +03:00
c708c33a92
basic theme changing 2022-01-21 22:02:50 +03:00
a8a7ce2538
some more thoughts about settings widgets 2022-01-19 23:46:42 +03:00
841e526e59
just some toying with designer 2022-01-17 23:52:07 +03:00
6bee149e6b
started to work on settings 2022-01-16 22:54:57 +03:00
62a59eb7a1
Added logs for Shura to help me to debug a download attachment issue 2022-01-15 15:36:49 +03:00
296328f12d
a bit of polish 2022-01-11 23:50:42 +03:00
4d3ba6b11f
0.2.0 finalization 2022-01-09 17:32:23 +03:00
8a2658e4fc
message bubbles, avatar rounding, roster adjusments 2022-01-09 01:28:29 +03:00
9ac0ca10f3
avatar painting is returned to delegate; sender names now are not painted in every message 2022-01-07 17:02:49 +03:00
7130e674c4
some warnings fixed, new way of drawing avatars in message line 2022-01-05 22:29:34 +03:00
e27ae1a82f Merge pull request 'remove ./signalcatcher_win32.cpp' (#58) from shunf4/squawk:feat/adapt_win_osx_msgf into messageFeed
Reviewed-on: #58
2021-10-16 15:41:02 +00:00
1aa2b5a539 Merge pull request 'Fixes for Windows' (#57) from shunf4/squawk:fix/win_fix into messageFeed
Reviewed-on: #57
2021-10-16 15:40:48 +00:00
43bfaf9b7e Merge pull request 'don't save settings on quit, if readSettings() not finished' (#56) from shunf4/squawk:fix/wait_init_before_exit into messageFeed
Reviewed-on: #56
2021-10-16 15:39:41 +00:00
b19dafef33 Merge pull request 'allow receiving and storing messages with the same timestamp' (#55) from shunf4/squawk:fix/handle_msg_same_tm into messageFeed
Reviewed-on: #55
2021-10-16 15:39:05 +00:00
aeaa6b1b28 Merge pull request 'fix: request latest history' (#54) from shunf4/squawk:fix/correctly_query_history into messageFeed
Reviewed-on: #54
2021-10-16 15:37:59 +00:00
e47ba603e0 Merge pull request 'fix: use fallback icons on buttons, when no supported theme is installed' (#53) from shunf4/squawk:fix/btn_icons into messageFeed
Reviewed-on: #53
2021-10-16 15:36:57 +00:00
8fece95aa2 Merge pull request 'fix: respect password type when addAccount' (#52) from shunf4/squawk:fix/addAccount_pw_type into messageFeed
Reviewed-on: #52
2021-10-16 15:34:37 +00:00
893ff53aa8 Merge pull request 'feature: paste image in chat' (#51) from shunf4/squawk:feat/paste_img into messageFeed
Reviewed-on: #51
2021-10-16 15:34:00 +00:00
39f2f3d975 feat: copy pasted image file to download folder after successful upload 2021-10-16 00:21:02 +08:00
52551c1ce0 pasteImageAction should be a class member; refactor messageEditor's context menu callback into a member function 2021-10-13 20:06:33 +08:00
50d710de04 remove ./signalcatcher_win32.cpp 2021-10-13 11:41:48 +08:00
332131796c Merge pull request 'port to Windows (mingw64) and macOS; create appveyor.yml' (#50) from shunf4/squawk:feat/adapt_win_osx_msgf into messageFeed
Reviewed-on: #50
2021-10-11 10:40:46 +00:00
3a70df21f8 feat: paste image in chat 2021-10-06 23:09:18 +08:00
a24e8382d1 correctly retrieve latest archived messages per XEP-0313 2021-10-06 23:01:11 +08:00
d20fd84d39 respect password type when adding account, preventing loading bad password 2021-10-06 22:55:23 +08:00
5862f1552b don't save settings on quit, if readSettings() not finished 2021-10-06 22:52:20 +08:00
ebeb4089eb add fallback icons for buttons 2021-10-06 22:45:10 +08:00
a53126d8bc messages may have the same timestamp, put MDB_DUPSORT flag with order db 2021-10-06 22:04:29 +08:00
7db269acb5 Fixes for Windows
1. On Windows, the lmdb file is immediately allocated at full size. So we have to limit the size.

2. Windows need an organization name for QSettings to work. So an organization name is added for Windows target.
2021-10-06 19:15:45 +08:00
67e5f9744e fix ci macos matrix item 2021-10-06 18:50:00 +08:00
d0bdb374a0 add flag -fno-sized-deallocation, eliminating _ZdlPvm 2021-10-06 18:47:59 +08:00
8b3752ef47 fix ci for macos; adjust ci for linux executable with changed rpath 2021-10-06 18:12:26 +08:00
8c6ac1a21d add icns to macos bundle; use macdeployqt post build 2021-10-06 17:34:33 +08:00
1c0802c8ca fix win32 ci by place LMDB_INCLUDE_DIRS in core/ 2021-10-06 01:51:01 +08:00
d84a33e144 fix linux ci by finding and linking thread libraries 2021-10-06 01:33:58 +08:00
4f6946a5fc add LMDB_INCLUDE_DIRS as include dir, fixing win32 ci 2021-10-06 01:28:08 +08:00
f3153ef1db ci: add appveyor.yml 2021-10-06 01:17:30 +08:00
41d9fa7a1c fix macos bundle build 2021-10-06 01:07:47 +08:00
261b34b712 add forgotten cmake/MacOSXBundleInfo.plist.in 2021-10-06 00:55:39 +08:00
d1f108e69d update docs for win32 build 2021-10-06 00:53:50 +08:00
1e37aa762c generate app bundle for macOS 2021-10-06 00:48:25 +08:00
a1f3c00a54 remove dependency uuid 2021-10-06 00:15:25 +08:00
923afe2420 [Fix] Merge branch 'feat/adapt_win_osx' into upstream_messageFeed 2021-10-05 23:45:37 +08:00
faa7d396a5 add liblmdb.so as possible lmdb lib name 2021-10-05 16:09:31 +08:00
c55b7c6baf update docs for removed uuid dep and LMDB_DIR var 2021-10-05 15:20:25 +08:00
6764d8ea11 remove dependency libuuid 2021-10-05 12:56:36 +08:00
5fbb96618f adjust CMakeLists.txt, to prepare for win32 and macos builds 2021-10-05 12:49:06 +08:00
d89c030e66
translation verification
Portugues Brazil localization added provided by most welcome Bruno Fontes
2021-09-22 23:43:03 +03:00
5787af8a4f
Merge remote-tracking branch 'origin/master' into messageFeed 2021-09-22 23:09:48 +03:00
1706b93b59 Merge pull request 'Add Brazilian Portuguese translations' (#49) from brunofontes/squawk:ptBR_translations into master
Reviewed-on: #49
2021-09-22 20:08:54 +00:00
3f09b8f838
Date dividers between messages from different dates 2021-09-22 01:17:43 +03:00
87c216b491
Add Brazilian Portuguese translations 2021-07-21 19:37:31 -03:00
5f925217fc
edit icon next to the message showing if the message was edited and what was there a first 2021-05-25 01:06:05 +03:00
3f1fba4de2
doovers for failed messages, some corner cases fixes with handling errors during message sending 2021-05-23 01:03:14 +03:00
ddfaa63a24
big image preview optimisations, preview positioning fix, memory leaks fix 2021-05-17 23:32:44 +03:00
721f6daa36
fix bug when everything was treated as animation, bug with not working group amount of messages, handled the situation when preview is painted but the file was lost 2021-05-17 00:52:59 +03:00
0d584c5aba
message preview refactor, several bugs about label size, animations are now playing in previews 2021-05-16 01:07:49 +03:00
4307262f6e basic error download/upload files handling, need more testing 2021-05-14 22:49:38 +03:00
bd07c49755 Merge pull request 'Refactor CMakeLists' (#46) from vae/squawk:build-refactor into messageFeed
Reviewed-on: #46
2021-05-11 23:31:59 +00:00
vae
8e99cc2969
build: plugins/, passwordStorageEngines/wrappers/ as shared libs 2021-05-12 02:01:02 +03:00
vae
a184ecafa3
build: reformat cmake code 2021-05-11 22:24:55 +03:00
vae
7d2688151c
build: finish up CMakeLists refactoring 2021-05-11 22:21:25 +03:00
vae
0038aca1f6
build: WIP CMakeLists refactoring continue - add FindSignal 2021-05-11 21:35:12 +03:00
vae
6e06a1d5bc
build: WIP CMakeLists refactoring 2021-05-11 20:29:08 +03:00
b7b70bc198 segfault fix when trying to send something but the history isn't loaded yet, icon and for attached files which are not previewed 2021-05-11 00:06:40 +03:00
ce047db787 patches from Vae about making libraries static, and about boost, findLMDB CMake script, drop dependency for qtquickcontrols 2021-05-09 02:12:17 +03:00
f45319de25 now instead of storing uploading message in ram I store them in database to be able to recover unsent ones on the next statrt. Found and fixed bug with spam repaints in feedview because of icons 2021-05-07 21:26:02 +03:00
ebf0c64ffb highlight in directory now is optional runtime plugin to KIO, several more file managers to fallback, refactor, 2 new icons 2021-05-06 17:44:43 +03:00
d514db9c4a message context menu began, open and show in folder features 2021-05-04 17:09:41 +03:00
f34289399e text inside of message is selectable again, links are clickable, some refactor, some bugfixes 2021-05-03 14:23:41 +03:00
05d6761baa a bit of refactor, fix the time to request next portion of messages in ui, fancy shadows are back! 2021-05-03 03:35:43 +03:00
216dcd29e9 bug fixing, better progres indicator positioning 2021-05-02 02:03:08 +03:00
0973cb2991 first lousy attempt to make load indicator in feedView 2021-04-30 23:07:00 +03:00
50190f3eac handled a case when user removes downloaded file, minor optimizations on message changing 2021-04-28 23:26:19 +03:00
b44873d587 pal resourse sticking, notifications of unread messages, new message icons 2021-04-27 22:29:15 +03:00
4c5efad9dc CMake build error, status icon text tooltip 2021-04-26 19:37:36 +03:00
8310708c92 First attemtps to upload files, debug, reused of once uploaded or downloaded files 2021-04-23 14:53:48 +03:00
d936c0302d bug with downloads in group chats, status icons in messages, visuals, feedView optimisations 2021-04-23 01:41:32 +03:00
0e937199b0 debug and actual first way to display pictures in messageFeed 2021-04-21 00:56:47 +03:00
48e498be25 some debug, message changing in messageFeed 2021-04-20 00:49:24 +03:00
3a7735b192 First steps on the new idea of file up/downloading 2021-04-18 15:49:20 +03:00
8f914c02a7 temp url storage commit 2021-04-13 16:27:31 +03:00
50bb3f5fd7 started progress bars, changed gcc standard to 17 2021-03-22 21:04:26 +03:00
a0348b8fd2 file progress events delivery methonds 2021-02-27 15:21:27 +03:00
85555da81f just a temp one 2021-02-07 20:02:11 +03:00
ebe5addfb5 just proxying button event from feed view delegate to the feed model 2021-02-06 14:02:42 +03:00
b3c6860e25 seems like i have found solution how to properly render buttons 2021-02-02 01:55:15 +03:00
00ffbac6b0 initial attempt to paint buttons in the messagefeed 2021-01-14 14:22:02 +03:00
ff4124d1f0 Resolved the bug about crash with an empty history chat 2021-01-12 20:15:21 +03:00
15342f3c53 self nick in the chat fix, hovering message feature 2021-01-08 00:50:12 +03:00
270a32db9e achive from the beginning memorizing bugfix, limitation of the requests in the model 2020-08-21 23:57:48 +03:00
e0ef1ef797 Some basic message painting 2020-08-21 00:32:30 +03:00
e1eea2f3a2 made the first prototype, scrolling and word wrapping seems to be working 2020-08-17 13:27:14 +03:00
e54cff0f0c changed my mind, gonna implement the feed on qt instead of qml, first tries, nothing working yet 2020-08-16 00:48:28 +03:00
4e6bd04b02 experimenting with qml 2020-08-12 19:55:01 +03:00
38159eafeb first compiling prototype, doesnt work yet 2020-08-12 01:49:51 +03:00
ef1a9846bf found a way to avoid requesting all the MUCs history alltogether on startup 2020-08-09 19:28:03 +03:00
3a120c773a reconnection issues 2020-08-08 02:33:03 +03:00
5f64321c2a fix compilation on older qt versions 2020-08-04 17:52:16 +03:00
a543eb1aef 0.1.5 2020-07-29 23:26:56 +03:00
480c78cf61 non lower cased jids error handled 2020-07-26 22:41:30 +03:00
0dcfc5eedc some better cleanup and restore state on connect disconnect, workaround for that wired undefined condition error on every other reconnection 2020-06-21 01:26:30 +03:00
87426ee20f account refactoring 2020-06-15 00:23:43 +03:00
20bcae5ab2 finally history works in mucs 2020-05-22 19:28:26 +03:00
6b65910ded stanzaId based muc archive request, account object refactoring 2020-05-21 18:42:40 +03:00
9ca4aa29d4 started account refactoring 2020-04-28 23:35:52 +03:00
a625ecb47b Merge pull request 'rosterReferences' (#39) from rosterReferences into master 2020-04-19 13:18:24 +00:00
55ae5858b5 some workaround about disconnection segfault 2020-04-19 16:13:15 +03:00
9c855553c5 referencing seems to be working now 2020-04-18 15:02:01 +03:00
83a2e6af85 first prototype 2020-04-18 02:17:47 +03:00
494afcf2b5 initial class reference 2020-04-16 23:23:02 +03:00
a8698cc94f minor bugfixes 2020-04-15 20:27:38 +03:00
b50ce146b8 attaching messages fix, bad alloc fix 2020-04-15 16:48:49 +03:00
6657dc79ce qxmpp bump, ifdef to assemble on lower versions 2020-04-14 22:40:32 +03:00
bdca0aa6b1 Merge pull request 'safePasswords' (#36) from safePasswords into master 2020-04-14 16:32:28 +00:00
cb44b12a7e 0.1.4 kwallet optimisation related fix, DnD files into convs, visual fixes 2020-04-14 19:30:33 +03:00
21c7d65027 offline avatars in mucs 2020-04-13 22:57:23 +03:00
29c7d31c89 context menu now doesn't select items, just temporarily, statuses and messahes html wrapping fix 2020-04-12 18:55:05 +03:00
a77dfd191a single window mode 2020-04-11 23:00:15 +03:00
b95028e33e testing, ability to build without kwallet, translations, disabling unsupported storage types in combobox 2020-04-11 01:15:08 +03:00
543538fc56 first working prototype of dynamically loaded kwallet storage 2020-04-10 01:48:08 +03:00
7ce27d1c11 pasword storing options: jammed an alwaysAsk, external lib for password jamming, changelog 2020-04-07 23:33:03 +03:00
95f0d4008a minor fix about updating muc avatars 2020-04-05 16:25:27 +03:00
3477226367 first moves to safe pasword storing, preparing the structure 2020-04-04 19:40:32 +03:00
ddfb3419cc Shared namespace refactoring, enum class refactoring, going offline related crash fix 2020-04-04 01:28:15 +03:00
b309100f99 0.1.3 release 2020-03-31 18:56:49 +03:00
c793f56647 a little bit of restyling, now the integration with transparent themes is supposed to be better 2020-03-31 00:17:10 +03:00
ff2c9831cf corrected messages now are supposed to display correctly 2020-03-28 17:05:49 +03:00
fe1ae8567a Message receipt manager not takes care of the message reception, switched on embedded reconnect 2020-03-27 23:59:30 +03:00
57d6e3adab Message error handling as state, errorText to store, fake ID for message without 2020-03-26 18:08:44 +03:00
91cc851bfc delivery statuses now actually mean something for MUC messages 2020-03-25 18:28:36 +03:00
6d1b83d0f8 ui logick of changing message, not connected yet 2020-02-08 14:44:15 +03:00
ed56cca2e7 some visual tweaks, moving on message delivery statuses 2020-02-04 18:14:51 +03:00
a4136ff9fe progress spinner fix, new lines in messages now display again 2020-01-27 18:07:38 +03:00
565449f176 bug with selection, some right padding to the avatars 2020-01-25 11:10:24 +03:00
626227db93 file comment fix, avatar dropping bug fix, url detection bug fix 2020-01-16 11:52:54 +03:00
13a1970047 a method for setting states to messages 2020-01-07 12:26:07 +03:00
ad1977f05f badges and screenshots in readme typo 2020-01-02 17:22:51 +03:00
0a4c4aa042 badges and screenshots in readme typo 2020-01-02 17:19:00 +03:00
5e7c247bb4 badges and screenshots in readme 2020-01-02 17:18:03 +03:00
5a59d54b18 first thoughts on message states 2020-01-02 15:04:49 +03:00
52efc2b1a4 now we have avatars in muc chats 2019-12-31 21:14:12 +03:00
55703c2007 muc participant avatars 2019-12-30 23:22:04 +03:00
efc90e18c3 verion bump 2019-12-25 14:11:29 +03:00
3e594c7e13 connectivity, roster position size and state, expanded anccounts and groups restoration with the settings 2019-12-25 13:24:20 +03:00
0bcfd779b8 some bugs and corner cases 2019-12-24 11:42:46 +03:00
dd62f84acc pal avatars in one on one dialogs 2019-12-23 09:28:23 +03:00
f13b43d38b some bug fixes, initial work on avatars in dialog windows 2019-12-20 18:41:20 +03:00
867c3a18e9 avatars for mucs, some tooltip tweaks 2019-12-17 19:54:53 +03:00
f367502b8e Merge branch 'master' of git.macaw.me:blue/squawk 2019-12-06 11:01:06 +03:00
fe27955689 uploading multiple messages fix, some warnings fix 2019-12-06 11:00:48 +03:00
0c33d81c59 insignifican fixes about urls parsing 2019-12-06 11:00:09 +03:00
0cb25a25cf uploading multiple messages fix, some warnings fix 2019-11-17 13:24:12 +03:00
285 changed files with 34712 additions and 10214 deletions

View File

@ -0,0 +1,45 @@
name: Squawk Release workflow
run-name: ${{ gitea.actor }} is running Squawk Release workflow on release ${{ gitea.event.release.tag_name }}
on:
release:
types: [published]
jobs:
Archlinux:
runs-on: archlinux
steps:
- name: Download the release tarball
run: curl -sL ${{ gitea.server_url }}/${{ gitea.repository }}/archive/${{ gitea.event.release.tag_name }}.tar.gz --output tarball.tar.gz
- name: Calculate SHA256 for the tarball
run: echo "tbSum=$(sha256sum tarball.tar.gz | cut -d ' ' -f 1)" >> $GITHUB_ENV
- name: Unarchive tarball
run: tar -xvzf tarball.tar.gz
- name: Clone the AUR repository
run: |
echo "${{ secrets.DEPLOY_TO_AUR_PRIVATE_KEY }}" > key
chmod 600 key
GIT_SSH_COMMAND="ssh -i key -o 'IdentitiesOnly yes' -o 'StrictHostKeyChecking no'" git clone ssh://aur@aur.archlinux.org/squawk.git aur
chmod 777 -R aur
cd aur
git config user.name ${{ secrets.DEPLOY_TO_AUR_USER_NAME }}
git config user.email ${{ secrets.DEPLOY_TO_AUR_EMAIL }}
- name: Copy PKGBUILD to the directory
run: cp squawk/packaging/Archlinux/PKGBUILD aur/
- name: Put SHA256 sum to PKGBUILD file, and generate .SRCINFO
working-directory: aur
run: |
sed -i "/sha256sums=/c\sha256sums=('${{ env.tbSum }}')" PKGBUILD
sudo -u build makepkg --printsrcinfo > .SRCINFO
- name: Commit package to aur
working-directory: aur
run: |
git add PKGBUILD .SRCINFO
git commit -m "${{ gitea.event.release.body//\"/\\\" }}"
GIT_SSH_COMMAND="ssh -i ../key -o 'IdentitiesOnly yes' -o 'StrictHostKeyChecking no'" git push

6
.gitmodules vendored
View File

@ -1,3 +1,9 @@
[submodule "external/qxmpp"]
path = external/qxmpp
url = https://github.com/qxmpp-project/qxmpp.git
[submodule "external/storage"]
path = external/storage
url = https://git.macaw.me/blue/storage
[submodule "external/lmdbal"]
path = external/lmdbal
url = gitea@git.macaw.me:blue/lmdbal.git

3640
.uncrustify.cfg Normal file

File diff suppressed because it is too large Load Diff

172
CHANGELOG.md Normal file
View File

@ -0,0 +1,172 @@
# Changelog
## Squawk 0.2.3 (February 04, 2024)
### Bug fixes
- "Add contact" and "Join conference" menu are enabled once again (pavavno)!
- availability is now read from the same section of config file it was stored
- automatic avatars (if a contact doesn't have one) get generated once again
### Improvements
- deactivated accounts now don't appear in combobox of "Add contact" and "Join conference" dialogues
- all of the expandable roster items now get saved between launches
- settings file on the disk is not rewritten every roster element expansion or collapse
- removed unnecessary own vcard request at sturtup (used to do it to discover my own avatar)
- vcard window now is Info system and it can display more information
- reduced vcard request spam in MUCs
### New features
- now you can enable tray icon from settings!
- there is a job queue now, this allowes to spread a bit the spam on the server at connection time
- squawk now queries clients of it's peers, you can see what programs other people use
## Squawk 0.2.2 (May 05, 2022)
### Bug fixes
- now when you remove an account it actually gets removed
- segfault on uninitialized Availability in some rare occasions
- fixed crash when you open a dialog with someone that has only error messages in archive
- message height is now calculated correctly on Chinese and Japanese paragraphs
- the app doesn't crash on SIGINT anymore
### Improvements
- there is a way to disable an account and it wouldn't connect when you change availability
- if you cancel password query an account becomes inactive and doesn't annoy you anymore
- if you filled password field and chose KWallet as a storage Squawk wouldn't ask you again for the same password
- if left the password field empty and chose KWallet as a storage Squawk will try to get that password from KWallet before asking you to input it
- accounts now connect to the server asynchronously - if one is stopped on password prompt another is connecting
- actualized translations, added English localization file
### New features
- new "About" window with links, license, gratitudes
- if the authentication failed Squawk will ask again for your password and login
- now there is an amount of unread messages showing on top of Squawk launcher icon
- notifications now have buttons to open a conversation or to mark that message as read
## Squawk 0.2.1 (Apr 02, 2022)
### Bug fixes
- build in release mode now no longer spams warnings
- build now correctly installs all build plugin libs
- a bug where the correction message was received, the indication was on but the text didn't actually change
- message body now doesn't intecept context menu from the whole message
- message input now doesn't increase font when you remove everything from it
### Improvements
- reduced amount of places where platform specific path separator is used
- now message input is automatically focused when you open a dialog or a room
- what() method on unhandled exception now actually tells what happened
### New features
- the settings are here! You con config different stuff from there
- now it's possible to set up different qt styles from settings
- if you have KConfig nad KConfigWidgets packages installed - you can choose from global color schemes
- it's possible now to choose a folder where squawk is going to store downloaded files
- now you can correct your message
## Squawk 0.2.0 (Jan 10, 2022)
### Bug fixes
- carbon copies switches on again after reconnection
- requesting the history of the current chat after reconnection
- global availability (in drop down list) gets restored after reconnection
- status icon in active chat changes when presence of the pen pal changes
- infinite progress when open the dialogue with something that has no history to show
- fallback icons for buttons, when no supported theme is installed (shunf4)
- better handling messages with no id (shunf4)
- removed dependency: uuid, now it's on Qt (shunf4)
- better requesting latest history (shunf4)
### Improvements
- slightly reduced the traffic on the startup by not requesting history of all MUCs
- completely rewritten message feed, now it works way faster and looks cooler
- OPTIONAL RUNTIME dependency: "KIO Widgets" that is supposed to allow you to open a file in your default file manager
- show in folder now is supposed to try it's best to show file in folder, even you don't have KIO installed
- once uploaded local files don't get second time uploaded - the remote URL is reused
- way better compilation time (vae)
### New features
- pasting images from clipboard to attachment (shunf4)
- possible compilation for windows and macOS (shunf4)
## Squawk 0.1.5 (Jul 29, 2020)
### Bug fixes
- error with sending attached files to the conference
- error with building on lower versions of QXmpp
- error on the first access to the conference database
- quit now actually quits the app
- history in MUC now works properly and requests messages from server
- error with handling non lower cased JIDs
- some workaround upon reconnection
## Squawk 0.1.4 (Apr 14, 2020)
### New features
- message line now is in the same window with roster (new window dialog is still able to opened on context menu)
- several new ways to manage your account password:
- store it in plain text with the config (like it always was)
- store it in config jammed (local hashing with the constant seed, not secure at all but might look like it is)
- ask the account password on each program launch
- store it in KWallet which is dynamically loaded
- dragging into conversation now attach files
### Bug fixes
- never updating MUC avatars now get updated
- going offline related segfault fix
- statuses now behave better: they wrap if they don't fit, you can select them, you can follow links from there
- messages and statuses don't loose content if you use < ore > symbols
- now avatars of those who are not in the MUC right now but was also display next to the message
- fix crash on attempt to attach the same file for the second time
## Squawk 0.1.3 (Mar 31, 2020)
### New features
- delivery states for the messages
- delivery receipts now work for real
- avatars in conferences
- edited messages now display correctly
- restyling to get better look with different desktop themes
### Bug fixes
- clickable links now detects better