aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/service/database.vala
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Set jid handle in ContactDetails, use LabelHybrids more, remove edit from ↵fiaxh2017-06-171-3/+3
| | | | StartConversation
* Notifications + typing notifications + message marker settings per conversationfiaxh2017-05-301-2/+5
|
* fixup bcb9690 (Roster versioning)fiaxh2017-05-241-17/+4
|
* Roster versioningfiaxh2017-05-221-1/+30
|
* qlite/libdino: optimize db accessMarvin W2017-04-261-0/+3
|
* MessageStorage/Processor, correctly resolve conversations (fixup 22adbd3)fiaxh2017-04-041-1/+4
|
* Start private conversation with MUC occupant via occupant menufiaxh2017-04-031-2/+2
|
* Handle MUC private messagesfiaxh2017-03-311-2/+9
|
* Some caching and fix gpgme on some systemsMarvin W2017-03-241-12/+45
|
* Small bug fixes and compatibility with Vala 0.36Marvin W2017-03-231-9/+8
|
* Move some database interaction into entitiesfiaxh2017-03-231-183/+9
| | | | fixes #2
* Fix message stanza default typefiaxh2017-03-181-6/+8
|
* Search messages having a uuid stanza id by id + accountfiaxh2017-03-121-1/+2
|