Commit graph

46 commits

Author SHA1 Message Date
fiaxh 2eb72d5dad Fix+optimize contact-to-avatar storage and loading 2020-03-10 23:53:11 +01:00
fiaxh b8b3e1c6f5 Improve MUC message resending 2020-03-03 15:14:31 +01:00
Alexander Krotov b9125b7e3e Enable secure_delete PRAGMA on SQLite databases (#370)
It is especially important for OMEMO database, as it stores *ephemeral* keys
2020-02-21 20:49:36 +01:00
fiaxh 33499d076d Only cache fully normalized Jids for reverse lookup 2019-12-24 03:14:11 +01:00
Marvin W a0a956ee08
Properly check Jids everywhere 2019-12-23 16:58:53 +01:00
fiaxh c3532bdf31 Refactor MAM catchup. Fetch from latest to earliest message. 2019-12-18 20:35:04 +01:00
fiaxh 321c3529f3 Add (partial) support for unique stanza ids (XEP-0359) 2019-12-18 20:35:04 +01:00
fiaxh bd7fde99af fixup Fix some warnings 2019-09-10 19:36:11 +02:00
hrxi d5d305193c Fix some warnings
Instances of `RegexError` are just asserted as `assert_not_reached` as
they cannot really fail except for allocation failure if the given regex
is valid.
2019-09-10 19:36:11 +02:00
fiaxh 9ee9661bf3 Optimizations: Database indices, cache id-Jid instead of id-jid_string, join real_jid on get messages 2019-08-02 18:00:26 +02:00
fiaxh 22340cb88e Always use Account.hash(equals)_func for HashMap+ArrayList 2018-11-24 14:05:03 -06:00
fiaxh 0e41fb3294 Add hidden column to content_item table 2018-08-31 16:26:23 +02:00
bobufa f5547076d2 rename content db table -> content_item 2018-08-13 23:48:15 +02:00
bobufa 1d9ce7f471 sort file transfers into correct conversation 2018-08-13 22:39:18 +02:00
bobufa 2992a12f9f fix non-adjacent messages being shown before/after hit 2018-08-13 22:39:18 +02:00
bobufa e376a577b6 improve sidebar UI
- only display messages that are content items
- only display messages for active accounts
- "fix" textview issue
- add empty states (no search, no results)
2018-08-13 22:39:18 +02:00
bobufa 2e2a9a2390 accumulate conversation content in meta db table 2018-08-13 22:39:07 +02:00
bobufa 760fd4cb26 load+display later messages when scrolling down 2018-08-13 22:05:04 +02:00
bobufa ab0bc7f04d enable fts for the body of messages 2018-08-13 21:55:48 +02:00
fiaxh c6ff25cc7a Only assume UUID to be unique for one counterpart+account when deduplicating 2018-03-10 20:01:22 +01:00
Marvin W 782ae4c049 Move Jid class to xmpp-vala, partially refactor namespace 2018-01-28 00:38:47 +01:00
fiaxh 0102abeec1 Fix warnings 2017-10-31 15:41:45 +01:00
fiaxh b9df78e449 Move DatabaseError handling into Qlite 2017-10-31 15:41:45 +01:00
fiaxh 555187deb9 Offline messages for MUCs
fixes #187
2017-10-22 18:26:31 +02:00
fiaxh a257b16337 Download & inline display images 2017-08-31 18:54:38 +02:00
fiaxh 8bc0d107e7 Plugins providing conversation items for ConversationView 2017-08-28 00:02:59 +02:00
fiaxh 4a4b5956c9 Move settings from GSettings to own db 2017-08-22 16:22:56 +02:00
fiaxh fb36ea0553 Message Archive Management 2017-08-17 01:26:03 +02:00
fiaxh ea174ab632 Http file upload 2017-08-03 15:59:04 +02:00
fiaxh 26973c89e3 Set jid handle in ContactDetails, use LabelHybrids more, remove edit from StartConversation 2017-06-17 16:13:23 +02:00
fiaxh 387433ebb9 Notifications + typing notifications + message marker settings per conversation 2017-05-30 22:33:33 +02:00
fiaxh 142257a544 fixup bcb9690 (Roster versioning) 2017-05-24 17:29:17 +02:00
fiaxh bcb96909c9 Roster versioning 2017-05-22 01:02:09 +02:00
Marvin W 9728e832b1
qlite/libdino: optimize db access 2017-04-26 21:48:53 +02:00
fiaxh 75e51b5ed3 MessageStorage/Processor, correctly resolve conversations (fixup 22adbd3) 2017-04-04 15:57:35 +02:00
fiaxh ea5d3e50c6 Start private conversation with MUC occupant via occupant menu 2017-04-03 19:48:01 +02:00
fiaxh 22adbd38dc Handle MUC private messages 2017-03-31 16:39:28 +02:00
Marvin W b63e5f5f9f
Some caching and fix gpgme on some systems 2017-03-24 15:18:39 +01:00
Marvin W ef0483765a
Small bug fixes and compatibility with Vala 0.36 2017-03-23 16:48:26 +01:00
fiaxh fa78573b05 Move some database interaction into entities
fixes #2
2017-03-23 14:36:53 +01:00
fiaxh 1eca8c6f67 Fix message stanza default type 2017-03-18 00:12:27 +01:00
fiaxh 13cef27d46 Search messages having a uuid stanza id by id + account 2017-03-12 21:24:25 +01:00
Marvin W c2643a45b0
Qlite: Return OptionalRow instead of Row?, add ability to remove columns on version upgrade 2017-03-12 20:55:11 +01:00
fiaxh f24b47c44d PGP module: store data in own db, use pgp key as specified in account settings 2017-03-12 14:44:09 +01:00
Marvin W 4c48bdc072
Improve Plugin API (allow to move encryption into plugin) 2017-03-11 02:04:38 +01:00
Marvin W 29ca70a6d5
Initial plugin system 2017-03-10 19:50:34 +01:00
Renamed from client/src/service/database.vala (Browse further)