aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/service/database.vala
AgeCommit message (Collapse)Author
2021-04-09Display+store call encryption infofiaxh
2021-03-21Add support for unencrypted RTP calls to libdinofiaxh
Co-authored-by: Marvin W <git@larma.de>
2021-01-21Make spell checking a setting, store language per conversationfiaxh
2020-12-27Make db version 18 downgradablefiaxh
fixes #970
2020-12-04Use advertized/server/live time for sorting instead of arrival timefiaxh
fixes #310
2020-11-05Improve content_item db table indexfiaxh
fixes #923 Co-authored-by: eta <eta@theta.eu.org>
2020-10-27Fix some compiler warningsfiaxh
2020-10-06service/database: use WAL mode + safe PRAGMA synchronous settingeta
Setting PRAGMA synchronous = 0 is really unsafe, and leads to database corruption (which I've personally experienced). This commit uses SQLite's Write-Ahead Log (WAL) [1] instead, together with synchronous = NORMAL. According to [1], this trades off performance for durability (i.e. it's possible that some transactions may not have committed if the power gets lost), but still guarantees that the database won't corrupt itself. Together, these changes should improve reliability whilst either improving or having no effect on performance. [1]: https://www.sqlite.org/wal.html
2020-06-11Recreate avatar database table, fixes unique constraintfiaxh
2020-06-03Fix compiler warningsfiaxh
2020-06-03Store last read content item for conversationsfiaxh
fixes #495
2020-04-03Add support for last message correctionfiaxh
2020-03-29Store entity identity info, use it in conversation list tooltipsfiaxh
2020-03-10Fix+optimize contact-to-avatar storage and loadingfiaxh
2020-03-03Improve MUC message resendingfiaxh
2020-02-21Enable secure_delete PRAGMA on SQLite databases (#370)Alexander Krotov
It is especially important for OMEMO database, as it stores *ephemeral* keys
2019-12-24Only cache fully normalized Jids for reverse lookupfiaxh
2019-12-23Properly check Jids everywhereMarvin W
2019-12-18Refactor MAM catchup. Fetch from latest to earliest message.fiaxh
2019-12-18Add (partial) support for unique stanza ids (XEP-0359)fiaxh
2019-09-10fixup Fix some warningsfiaxh
2019-09-10Fix some warningshrxi
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-08-02Optimizations: Database indices, cache id-Jid instead of id-jid_string, join ↵fiaxh
real_jid on get messages
2018-11-24Always use Account.hash(equals)_func for HashMap+ArrayListfiaxh
2018-08-31Add `hidden` column to content_item tablefiaxh
2018-08-13rename content db table -> content_itembobufa
2018-08-13sort file transfers into correct conversationbobufa
2018-08-13fix non-adjacent messages being shown before/after hitbobufa
2018-08-13improve sidebar UIbobufa
- 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-13accumulate conversation content in meta db tablebobufa
2018-08-13load+display later messages when scrolling downbobufa
2018-08-13enable fts for the body of messagesbobufa
2018-03-10Only assume UUID to be unique for one counterpart+account when deduplicatingfiaxh
2018-01-28Move Jid class to xmpp-vala, partially refactor namespaceMarvin W
2017-10-31Fix warningsfiaxh
2017-10-31Move DatabaseError handling into Qlitefiaxh
2017-10-22Offline messages for MUCsfiaxh
fixes #187
2017-08-31Download & inline display imagesfiaxh
2017-08-28Plugins providing conversation items for ConversationViewfiaxh
2017-08-22Move settings from GSettings to own dbfiaxh
2017-08-17Message Archive Managementfiaxh
2017-08-03Http file uploadfiaxh
2017-06-17Set jid handle in ContactDetails, use LabelHybrids more, remove edit from ↵fiaxh
StartConversation
2017-05-30Notifications + typing notifications + message marker settings per conversationfiaxh
2017-05-24fixup bcb9690 (Roster versioning)fiaxh
2017-05-22Roster versioningfiaxh
2017-04-26qlite/libdino: optimize db accessMarvin W
2017-04-04MessageStorage/Processor, correctly resolve conversations (fixup 22adbd3)fiaxh
2017-04-03Start private conversation with MUC occupant via occupant menufiaxh
2017-03-31Handle MUC private messagesfiaxh