Commit graph

1400 commits

Author SHA1 Message Date
Nicolas Werner
65a4c85ed4 Don't sync db on every sync
This fixes some lag, when Nheko is running, which could affect Nheko and
even other applications by excessively calling fsync. This should be
fine, since all filesystems seem to guarantee order and in most cases,
the modified pages are still written. In the worst case we should only
lose the last /sync results or similar.
2020-12-13 01:29:35 +01:00
Nicolas Werner
77002f17c8 lint 2020-12-08 21:10:27 +01:00
Nicolas Werner
622a9f709b Merge branch 'gitlab-ci' into 'master'
Update .gitlab-ci.yml

See merge request nheko-reborn/nheko!1
2020-12-08 13:40:44 -05:00
DeepBlueV7.X
5aa2218006
Merge pull request #349 from LorenDB/iconFromTheme
Use system icon where applicable
2020-12-04 11:33:34 +01:00
Loren Burkholder
de858ca80c Use system icon where applicable 2020-12-03 17:27:33 -05:00
Kirillpt
68b2f6cb4f
Improve Register page (#346)
* add username error label, add word wrapping for error labels

* make lint

* last commits

* remove font, and remove some lambdas

* add QRegularExpression for regex

* improve review things

* add isModified() for checkFields()

* add check isModified() for  all fields in checkFields

* Update src/RegisterPage.cpp

Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>

* remove emit call for showError

Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
2020-11-30 22:30:33 +00:00
DeepBlueV7.X
95667edb14
Merge pull request #347 from kamathmanu/avatarFullViewSupport
Add support for viewing avatar images in full size
2020-11-30 21:25:42 +01:00
kamathmanu
69997a3d74 Lint code 2020-11-30 15:10:59 -05:00
kamathmanu
0edd75949b Lint code 2020-11-30 14:56:39 -05:00
kamathmanu
e36b090c5b Add support for viewing avatar images in full size 2020-11-30 10:05:24 -05:00
Nicolas Werner
c64887cfa8 Fix shadow variable 2020-11-30 01:54:53 +01:00
Nicolas Werner
2ce129e6b6 Properly share and rotate sessions on member and device changes 2020-11-30 01:54:53 +01:00
Nicolas Werner
2290ebcf78 Remove outbound session storage 2020-11-30 01:54:53 +01:00
Nicolas Werner
c24f9a22a5 Load sessions lazily from db 2020-11-30 01:54:53 +01:00
Nicolas Werner
0cc4ab7f17 Add gitlab ci 2020-11-27 01:32:41 +01:00
Nicolas Werner
b2387df411 SkipEmptyParts was only added in Qt 5.14 2020-11-26 23:59:14 +01:00
Nicolas Werner
202e3debe6 Remove unnecessary capture of this 2020-11-26 23:55:47 +01:00
kirillpt
e6723884a7 fix encryption toggles 2020-11-27 00:55:39 +03:00
kirillpt
5a3905b337 change Toggle behavior 2020-11-26 23:45:44 +03:00
kirillpt
f0eb4bfe1e fix validation feature in TextInput, it was trouble in password field in the login page 2020-11-26 22:04:24 +03:00
Nicolas Werner
233a8a5dad Fix variable shadowing 2020-11-26 16:09:53 +01:00
Nicolas Werner
90cae987fd Bump max dbs 2020-11-26 00:19:09 +01:00
Nicolas Werner
c31b9e2793 Fix race when reading members from db 2020-11-25 23:54:25 +01:00
Nicolas Werner
7cda502edd Add some db logging and clean up avatar urls a bit 2020-11-25 23:54:25 +01:00
DeepBlueV7.X
140d927463
Merge pull request #339 from Kirillpt/issue_331
fix #331
2020-11-25 22:18:28 +01:00
DeepBlueV7.X
54d75466c7
Merge pull request #335 from Nheko-Reborn/qml-text-input
Qml text input
2020-11-25 21:59:23 +01:00
kirillpt
8b1bc6b35a fixed toggle weirdness in settings, after loads added setChecked for Toggles, and fix issues with startInTray 2020-11-25 22:05:10 +03:00
Nicolas Werner
08e9461611 Fix input focus when pressing reply button 2020-11-25 19:05:12 +01:00
Nicolas Werner
c74077a41f Implement Qml drag and drop 2020-11-25 19:05:12 +01:00
Nicolas Werner
bc93f24a22 Remove redundant user search suggestion code 2020-11-25 19:05:12 +01:00
Nicolas Werner
37df79f796 Show userid in completer 2020-11-25 19:05:12 +01:00
Nicolas Werner
c07c326141 Linkify username completion 2020-11-25 19:05:12 +01:00
Nicolas Werner
7cf66ea4f3 Split completion model into header and source 2020-11-25 19:05:12 +01:00
Nicolas Werner
9c8850a46c Match on each word in the completer 2020-11-25 19:05:12 +01:00
Nicolas Werner
8922a47776 Fix completer fuzzy match not applying after prefix match and insert being broken 2020-11-25 19:05:12 +01:00
Nicolas Werner
29625ae253 Fix some issues with completer 2020-11-25 19:05:12 +01:00
Nicolas Werner
c2eea5cb55 Fix mimetype of media messages 2020-11-25 19:05:12 +01:00
Nicolas Werner
c8fa40a2df Use a trie for filtering completions (not fuzzy yet) 2020-11-25 19:05:12 +01:00
Nicolas Werner
b47d2a809c Remove old Textinput 2020-11-25 19:05:12 +01:00
Nicolas Werner
094c0b09ab Qml emoji completer 2020-11-25 19:05:12 +01:00
Nicolas Werner
67dcc74c79 Simple prefix match for completions 2020-11-25 19:05:12 +01:00
Nicolas Werner
ecc7759973 Custom completer filtering 2020-11-25 19:05:12 +01:00
Nicolas Werner
add5903fb0 Working User completer 2020-11-25 19:05:12 +01:00
Jussi Kuokkanen
a3c4fece7e add per-room user model 2020-11-25 19:05:12 +01:00
Jussi Kuokkanen
07259b9cb7 use completion interface in emoji completions 2020-11-25 19:05:12 +01:00
Jussi Kuokkanen
00bc87b550 add completer interface (item roles) 2020-11-25 19:05:12 +01:00
Jussi Kuokkanen
748bf0cd98 rename CompletionModel to CompletionProxyModel 2020-11-25 19:05:12 +01:00
Nicolas Werner
cabeb1464c WIP Qml completer 2020-11-25 19:05:12 +01:00
Nicolas Werner
d14a5f8067 Reimplement message history 2020-11-25 19:05:12 +01:00
Nicolas Werner
921379a4cc Send typing updates from QML 2020-11-25 19:05:12 +01:00