aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/service/database.vala
AgeCommit message (Collapse)Author
2025-09-17Message correction: Use occupant ids, handle correction-before-messagefiaxh
2025-06-14Add basic support for BOB thumbnails in SFSfiaxh
2025-01-12Show banner when contact is not yet subscribedfiaxh
2024-11-15Fix and improve stateless file-sharingfiaxh
2024-11-14Implement XEP-0447: Stateless file sharingPatiga
2024-05-26Add logic for OMEMO by default settingfiaxh
2023-04-23Code cleanup: Remove left-over usages of mam_earliest_syncedfiaxh
2023-03-21Improve database performance while reconnecting and syncingMarvin W
Also move some tasks to low priority idle queue so they won't block UI updates
2023-01-11Support pinning of conversations (locally)fiaxh
fixes #290 fixes #1330
2023-01-06Add support for XEP-0461 replies (with fallback)fiaxh
2022-10-11Add support for reactionsfiaxh
2022-10-10Rewrite MAM logic and add MUC MAMfiaxh
2021-11-10Add multiparty call support to libdino and xmpp-valafiaxh
2021-05-11Merge remote-tracking branch 'origin/feature/calls'fiaxh
2021-05-01Use drop index if exists to help database up-down-gradingfiaxh
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