aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/service/database.vala
Commit message (Collapse)AuthorAgeFilesLines
* Improve database performance while reconnecting and syncingMarvin W2023-03-211-1/+6
| | | | Also move some tasks to low priority idle queue so they won't block UI updates
* Support pinning of conversations (locally)fiaxh2023-01-111-2/+3
| | | | | fixes #290 fixes #1330
* Add support for XEP-0461 replies (with fallback)fiaxh2023-01-061-2/+34
|
* Add support for reactionsfiaxh2022-10-111-1/+36
|
* Rewrite MAM logic and add MUC MAMfiaxh2022-10-101-6/+27
|
* Add multiparty call support to libdino and xmpp-valafiaxh2021-11-101-2/+30
|
* Merge remote-tracking branch 'origin/feature/calls'fiaxh2021-05-111-2/+23
|\
| * Display+store call encryption infofiaxh2021-04-091-2/+3
| |
| * Add support for unencrypted RTP calls to libdinofiaxh2021-03-211-2/+22
| | | | | | | | Co-authored-by: Marvin W <git@larma.de>
* | Use drop index if exists to help database up-down-gradingfiaxh2021-05-011-5/+5
|/
* Make spell checking a setting, store language per conversationfiaxh2021-01-211-2/+17
|
* Make db version 18 downgradablefiaxh2020-12-271-2/+2
| | | | fixes #970
* Use advertized/server/live time for sorting instead of arrival timefiaxh2020-12-041-8/+20
| | | | fixes #310
* Improve content_item db table indexfiaxh2020-11-051-2/+10
| | | | | | fixes #923 Co-authored-by: eta <eta@theta.eu.org>
* Fix some compiler warningsfiaxh2020-10-271-3/+8
|
* service/database: use WAL mode + safe PRAGMA synchronous settingeta2020-10-061-6/+3
| | | | | | | | | | | | | | | 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
* Recreate avatar database table, fixes unique constraintfiaxh2020-06-111-2/+10
|
* Fix compiler warningsfiaxh2020-06-031-2/+2
|
* Store last read content item for conversationsfiaxh2020-06-031-2/+17
| | | | fixes #495
* Add support for last message correctionfiaxh2020-04-031-4/+19
|
* Store entity identity info, use it in conversation list tooltipsfiaxh2020-03-291-20/+35
|
* Fix+optimize contact-to-avatar storage and loadingfiaxh2020-03-101-24/+13
|
* Improve MUC message resendingfiaxh2020-03-031-18/+0
|
* Enable secure_delete PRAGMA on SQLite databases (#370)Alexander Krotov2020-02-211-0/+3
| | | | It is especially important for OMEMO database, as it stores *ephemeral* keys
* Only cache fully normalized Jids for reverse lookupfiaxh2019-12-241-1/+5
|
* Properly check Jids everywhereMarvin W2019-12-231-13/+41
|
* Refactor MAM catchup. Fetch from latest to earliest message.fiaxh2019-12-181-43/+28
|
* Add (partial) support for unique stanza ids (XEP-0359)fiaxh2019-12-181-2/+11
|
* fixup Fix some warningsfiaxh2019-09-101-4/+2
|
* Fix some warningshrxi2019-09-101-32/+42
| | | | | | 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.
* Optimizations: Database indices, cache id-Jid instead of id-jid_string, join ↵fiaxh2019-08-021-19/+29
| | | | real_jid on get messages
* Always use Account.hash(equals)_func for HashMap+ArrayListfiaxh2018-11-241-1/+1
|
* Add `hidden` column to content_item tablefiaxh2018-08-311-18/+35
|
* rename content db table -> content_itembobufa2018-08-131-2/+2
|
* sort file transfers into correct conversationbobufa2018-08-131-4/+8
|
* fix non-adjacent messages being shown before/after hitbobufa2018-08-131-12/+19
|
* improve sidebar UIbobufa2018-08-131-2/+3
| | | | | | | - only display messages that are content items - only display messages for active accounts - "fix" textview issue - add empty states (no search, no results)
* accumulate conversation content in meta db tablebobufa2018-08-131-2/+46
|
* load+display later messages when scrolling downbobufa2018-08-131-2/+12
|
* enable fts for the body of messagesbobufa2018-08-131-1/+5
|
* Only assume UUID to be unique for one counterpart+account when deduplicatingfiaxh2018-03-101-6/+16
|
* Move Jid class to xmpp-vala, partially refactor namespaceMarvin W2018-01-281-8/+8
|
* Fix warningsfiaxh2017-10-311-1/+3
|
* Move DatabaseError handling into Qlitefiaxh2017-10-311-1/+1
|
* Offline messages for MUCsfiaxh2017-10-221-1/+4
| | | | fixes #187
* Download & inline display imagesfiaxh2017-08-311-3/+32
|
* Plugins providing conversation items for ConversationViewfiaxh2017-08-281-2/+2
|
* Move settings from GSettings to own dbfiaxh2017-08-221-2/+15
|
* Message Archive Managementfiaxh2017-08-171-2/+3
|
* Http file uploadfiaxh2017-08-031-2/+2
|