summary refs log tree commit diff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make emoji picker use the grid viewNicolas Werner2023-05-253-30/+182
|
* Allow scrolling to specific sections and order packs in sticker search by ↵Nicolas Werner2023-05-202-2/+82
| | | | match quality
* Fix StickerPicker padding and names of unnamed packsNicolas Werner2023-05-202-2/+24
|
* Prevent new packs from overwriting the default pack by accidentNicolas Werner2023-05-203-1/+47
|
* Fix adding duplicate stickers and strip file extensionNicolas Werner2023-05-202-6/+25
|
* Use case folding instead of lower case for searchNicolas Werner2023-05-201-3/+3
|
* Reimplement search for GridImageModelNicolas Werner2023-05-202-25/+148
|
* Replace search vector with spanNicolas Werner2023-05-201-6/+7
|
* Add rows to stickerpickerNicolas Werner2023-05-206-16/+194
|
* Delete unused msg db functionNicolas Werner2023-05-062-68/+1
|
* Sort rooms in completer by 'activity' and make tombstoned rooms italicNicolas Werner2023-05-066-17/+68
|
* Allow picking multiple files to uploadSateallia2023-04-251-4/+5
|
* Copy image to clipboardNicolas Werner2023-04-235-2/+91
| | | | Fixes #599
* Setting case insensitive sort is not necessaryNicolas Werner2023-04-141-1/+0
|
* Optimize alphabetical sorting a bitNicolas Werner2023-04-142-10/+9
| | | | fixes #1272
* Alphabetical ordering optionSateallia2023-04-144-14/+77
|
* Adapt to the new inherited variantNicolas Werner2023-04-1114-104/+97
|
* Update mtxclient commit hashLoren Burkholder2023-04-111-2/+1
|
* Use the new mtxclient special effects refactoringLoren Burkholder2023-04-115-52/+66
|
* Don't bother with rainbow rainLoren Burkholder2023-04-084-14/+4
|
* Don't allow rainbowifying custom messagesLoren Burkholder2023-04-082-4/+4
|
* Fix command nameLoren Burkholder2023-04-081-1/+1
|
* Allow sending custom msgtypesLoren Burkholder2023-04-084-0/+35
|
* Add rainfall effectLoren Burkholder2023-04-086-9/+93
| | | | | This is a proof-of-concept example of inplementing a msgtype not found in the spec.
* Implement unknown msgtype functionalityLoren Burkholder2023-04-084-5/+21
|
* Try to reset unread marker if we fail to set it on the serverNicolas Werner2023-04-051-3/+7
|
* Fix switching between thread showing stale messages in some circumstancesNicolas Werner2023-04-041-0/+2
|
* Get rid of an edge case, that can break paginationNicolas Werner2023-04-041-2/+1
|
* Allow querying your status message over dbusNicolas Werner2023-03-314-0/+21
| | | | Contributed by a Nheko user starting with S.
* Allow for # in fragments because some clients send matrix.to links like thatNicolas Werner2023-03-311-1/+3
|
* Merge pull request #1411 from dtelsing/screenshare-xdg-desktop-portalDeepBlueV7.X2023-03-306-95/+957
|\ | | | | Support screen sharing with xdg-desktop-portal
| * Include missing <optional> headerDavid Elsing2023-03-301-0/+1
| |
| * Change text of the PipeWire streenshare methodDavid Elsing2023-03-301-1/+1
| |
| * Cleanup Qt D-Bus connections and watchersDavid Elsing2023-03-304-113/+171
| |
| * Use mtx::client::utils::random_token for XDP session tokensDavid Elsing2023-03-301-11/+2
| |
| * Improve choosing screen share typeDavid Elsing2023-03-302-29/+44
| |
| * Add missing license headersDavid Elsing2023-03-302-0/+8
| |
| * Support screen sharing with xdg-desktop-portalDavid Elsing2023-03-306-88/+877
| |
* | Fix build on case-sensitive filesystemsRyan Schmidt2023-03-301-2/+2
|/
* Improve state event redactionNicolas Werner2023-03-263-10/+41
|
* Fix explicit optional construction on gcc13Nicolas Werner2023-03-241-1/+1
|
* Fix encrypted thumbnailsNicolas Werner2023-03-221-1/+1
|
* All around me are empty spacesNicolas Werner2023-03-201-6/+16
|
* Optimize event accessors a bitNicolas Werner2023-03-201-41/+33
|
* Reduce db writes a bitNicolas Werner2023-03-191-7/+32
|
* Don't try to load emotes from space parents we are not inNicolas Werner2023-03-191-2/+9
|
* Merge pull request #1404 from LcsTen/dont-show-private-rooms-in-spaceDeepBlueV7.X2023-03-182-2/+15
|\ | | | | Don't show inaccessible private rooms in spaces
| * Check isPreviewFetched property for hintsLcsTen2023-03-182-1/+5
| |
| * Show an appropriate hint if the room is inaccessibleLcsTen2023-03-111-1/+1
| |
| * Don't show inaccessible private rooms in spacesLcsTen2023-03-111-0/+9
| |
* | Update spaces events automatically in the backgroundNicolas Werner2023-03-147-5/+246
| |
* | Speed up writes of events with statekeys to state dbNicolas Werner2023-03-142-27/+87
| |
* | Speed up processing UI changes with large syncsNicolas Werner2023-03-141-14/+44
| |
* | Evaluate ACLs when calculating viasNicolas Werner2023-03-141-2/+52
| |
* | Make via implementation closer to the specNicolas Werner2023-03-141-25/+81
|/
* Merge pull request #1388 from Nheko-Reborn/commandDeepBlueV7.X2023-03-102-26/+112
|\ | | | | Warn if an invalid command is entered
| * Handle incomplete commands betterLoren Burkholder2023-03-072-12/+24
| |
| * make lintLoren Burkholder2023-03-011-36/+36
| |
| * Use QSet<QString> instead of QStringListLoren Burkholder2023-03-011-1/+1
| |
| * Fix some nitpicksLoren Burkholder2023-03-012-53/+58
| |
| * Simplify code a bitLoren Burkholder2023-02-282-4/+1
| |
| * Move command calculation logic into InputBarLoren Burkholder2023-02-284-84/+89
| |
| * Show warning when invalid command is enteredLoren Burkholder2023-02-284-0/+67
| | | | | | | | | | | | Fixes #1363 Please note that this doesn't prompt when you try to send a message with a bad command.
* | Merge pull request #1394 from Nheko-Reborn/uiTweaksDeepBlueV7.X2023-03-094-4/+13
|\ \ | | | | | | Some small UI changes
| * | Update src/Utils.cppLoren Burkholder2023-03-091-4/+2
| | | | | | | | | Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
| * | Only enlarge emoji if the setting is onLoren Burkholder2023-03-091-1/+5
| | |
| * | Make emoji larger in the timeline by defaultLoren Burkholder2023-02-281-1/+1
| | |
| * | make lintLoren Burkholder2023-02-282-3/+3
| | |
| * | Always open the invite dialog properly from the member listLoren Burkholder2023-02-283-4/+11
| |/
* / Fix avatar change being rendered as a joinNicolas Werner2023-03-091-5/+16
|/
* Fix bug that prevented storing member events in the same database as the restNicolas Werner2023-02-251-14/+22
|
* Disable qml diskcache by defaultNicolas Werner2023-02-251-0/+6
| | | | | | | Since this causes crashes on some qml module updates. Fixes #1383 Fixes #1132
* Merge pull request #1389 from Nheko-Reborn/deletionsDeepBlueV7.X2023-02-241-3/+0
|\ | | | | | | Delete some unneeded stuff
| * Delete some unneeded stuffLoren Burkholder2023-02-231-3/+0
| |
* | Show rooms you share with someoneNicolas Werner2023-02-244-0/+105
|/
* Reenable the nosync options for the databaseNicolas Werner2023-02-231-1/+6
| | | | | | | fixes #1355 So far we haven't seen any reduction in issues about database corruption, so presumably this is unrelated and the lag is annoying.
* Honour Qt scaling factor on OpenBSDKlemens Nanni2023-02-231-1/+1
| | | | | | Instead of completing the list of Linux, Windows and the BSDs (NetBSD and DragonFly would still be missing), simply flip it to not-macOS to simplify and fix the two other aforementioned BSDs at once.
* Recognise OpenBSD on login pageKlemens Nanni2023-02-231-0/+2
|
* fix build/clear notifications on exit on OpenBSDKlemens Nanni2023-02-232-2/+2
| | | | | | | CMake builds ManagerLinux.cpp on `!MAC && !WIN`, that is BSD and Linux. Fix the Linux-only assumption in the shared header. Qt's `Q_OS_UNIX` is defined on Linux, BSDs and macOS alike.
* Merge branch 'v0.11.2-next'Nicolas Werner2023-02-232-11504/+11801
|\
| * Hotfix redundant null terminator inserted by emoji completerNicolas Werner2023-02-232-11504/+11801
| |
* | Dedup reactionsNicolas Werner2023-02-221-6/+4
| |
* | Get rid of year in license headersNicolas Werner2023-02-21152-462/+152
| | | | | | | | | | | | See also: https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/ https://hynek.me/til/copyright-years/
* | Switch to upstream olm error codeNicolas Werner2023-02-211-1/+1
|/
* Fix forwarding stickersNicolas Werner2023-02-201-3/+4
| | | | fixes #1182
* More template bloat reductionNicolas Werner2023-02-204-107/+115
|
* Remove a few more unused symbolsNicolas Werner2023-02-196-41/+33
|
* Fix gcc10 again. Remove this once we stop supporting gcc10Nicolas Werner2023-02-191-14834/+14873
|
* Fix gcc10 compatNicolas Werner2023-02-191-1/+1
|
* Reduce code bloat a bitNicolas Werner2023-02-196-11333/+11368
| | | | | | Especially the emoji array shrinks a lot with this, but adds a few extra relocations on startup. But it removes a lot of exception handling code at runtime, which is nice and possibly this is still faster.
* Automatically fetch keys for undecrypted messages after verificationNicolas Werner2023-02-188-15/+80
| | | | | | | | Also fix rerendering edited messages after keys are received. fixes #1375 fixes #770 fixes #888
* Fix edits in other clients jumping out of threadsNicolas Werner2023-02-181-5/+9
| | | | fixes #1373
* Fix build on macOSNicolas Werner2023-02-151-1/+7
|
* Fix lintingNicolas Werner2023-02-141-1/+1
|
* Make scrollbars optional and disabled by defaultNicolas Werner2023-02-142-0/+38
| | | | Also add them to the communities sidebar
* Pause video when switching roomsLoren Burkholder2023-02-141-0/+7
| | | | Fixes #809
* Merge pull request #914 from Thulinma/imageOverlayRoleQmlDeepBlueV7.X2023-02-112-0/+9
|\ | | | | | | Make ImageOverlay set appropriate windowRole again
| * Make ImageOverlay set appropriate windowRole againThulinma2023-02-102-0/+9
| |
* | Remove some commands from the translationsNicolas Werner2023-02-111-39/+39
| |
* | Standardise command format messagesphyto2023-02-111-16/+16
|/
* Fix build without voipNicolas Werner2023-02-081-1/+1
|
* Fix required plugin check on gstreamer 1.22Nicolas Werner2023-02-083-52/+80
| | | | | | | | GStreamer 1.22 merged the videoscale plugin into the videoconvertscale plugin. So we should check if the Element is still loadable instead of checking the plugin name. fixes #1352
* Add a reduced motion optionNicolas Werner2023-02-062-3/+52
| | | | fixes #1350
* lint and avoid copyNicolas Werner2023-02-023-43/+44
|
* lintNicolas Werner2023-02-021-34/+40
|
* Merge pull request #1341 from Decodetalkers/ft_clean_notifyDeepBlueV7.X2023-02-025-0/+23
|\ | | | | clean all notifications if exit on linux
| * chore: Adjust about function closeAllNotificationShootingStarDragons2023-02-014-13/+4
| | | | | | | | | | Log: maek closeAllNotification on all platform, move closeAllNotification action to aboutToQuit
| * feat: clean all notifications if exit on linuxShootingStarDragons2023-01-295-1/+33
| |
* | Allow nested ()/[] brackets in URLs (fixes #1346)Lukas Mai2023-02-011-5/+45
| |
* | Make notifications show the window againNicolas Werner2023-02-012-1/+13
| | | | | | | | fixes #1329
* | Optimize user model construction by 2.5xNicolas Werner2023-01-313-10/+20
| |
* | Make single newlines cause a <br> by defaultNicolas Werner2023-01-318-15/+48
| | | | | | | | | | | | | | | | | | | | | | | | This should match what people expect from a chat application much better. The biggest reason not to do this, is because some people might paste markdown documents. For those people there is now a /cmark command, which disables most of our extensions to cmark, including the newline behaviour. There is a long discussion on the Fediverse and on Github linked below. Mastodon https://fosstodon.org/@deepbluev7/109771668066978726 fixes #757
* | Uncoditionally request keyframesNicolas Werner2023-01-311-4/+3
| |
* | add user search to invite dialog (#1253)Malte E2023-01-317-25/+236
|/
* Merge pull request #1319 from Decodetalkers/menuhideonwaylandDeepBlueV7.X2023-01-282-0/+16
|\ | | | | feat: hide all popup menus when press leftbutton on somewhere else
| * chore: remove button checkShootingStarDragons2023-01-281-3/+1
| |
| * chore: limit it to linux waylandShootingStarDragons2023-01-261-2/+6
| |
| * feat: hide all popup menus when press leftbutton on somewhere elseShootingStarDragons2023-01-232-0/+14
| | | | | | | | Log: according to the bug on https://bugreports.qt.io/browse/QTBUG-83972, The menu will always stay if not click one of the item. So I try to make a hack for it, wait qt solve it someday
* | Make newline behave consistently in markdown modeNicolas Werner2023-01-281-1/+5
| | | | | | | | by always sending as formatted when a newline is in the body
* | Support strikethrough via ~~Nicolas Werner2023-01-281-0/+118
| |
* | Get rid of shadowing even if the shadowing there is probably the safer solutionNicolas Werner2023-01-281-3/+5
| |
* | Support simplified spoiler input using || tagsNicolas Werner2023-01-281-68/+211
| | | | | | | | relates to #1231
* | Fix br tagsNicolas Werner2023-01-271-1/+3
| |
* | Fix free-ing invalid pointer in call devices. From Jason Volk <jason@zemos.net>Joseph Donofry2023-01-231-1/+1
|/
* Warn when no secret can be requestedNicolas Werner2023-01-221-1/+3
|
* Skip empty requests for cross-signing keys when user only has one device.Jason Volk2023-01-221-0/+3
| | | | | | Cause: Request button pressed in user settings. Result: Request body is jsNull; sendToDevice requires jsObject.
* Fix a few minor leaks (or just memory showing up as not freed in tools)Nicolas Werner2023-01-224-5/+28
|
* Work around multiple destructor calls after consteval construction in full ↵Nicolas Werner2023-01-211-5/+5
| | | | | | | | | | | | | | | | | expression I have no idea, if this is our fault or not, but Jason traced it back to the consteval on the {fmt} format string constructor. Specifically when a consteval constructor call happens in the statement, the destructor call is moved to the end of the block. Inside the switch statement that means, the destructor is called multiple times, which corrupts the use count and crashes Nheko because of a double free. I am assuming this is a bug in clang, but this will need to be investigated more. fixes #1292
* Pause ParticleEmitter when not in use (#1284)Joseph Donofry2023-01-142-0/+2
| | | | | * Pause ParticleEmitter when not in use * Use timer instead to pause particle system
* Remove dead codeNicolas Werner2023-01-122-72/+0
|
* There was always supposed to be a failed state for eventsNicolas Werner2023-01-122-4/+11
|
* Bump mtxclient versionNicolas Werner2023-01-122-65/+63
|
* Log registration flowsNicolas Werner2023-01-122-113/+4
|
* Update supported Matrix versionNicolas Werner2023-01-102-2/+4
|
* Properly regenerate emoji using regional indicatorsNicolas Werner2023-01-102-2/+106
| | | | | fixes #1245 closes #1246
* Try to make clang-format happyNicolas Werner2023-01-091-1/+1
|
* Document Safari workaroundNicolas Werner2023-01-091-1/+4
|
* Possibly fix paste from SafariNicolas Werner2023-01-091-1/+7
|
* Add some more error loggingNicolas Werner2023-01-093-26/+18
|
* Make server connection errors more usefulNicolas Werner2023-01-092-15/+10
|
* Fix potential crash from the room directoryNicolas Werner2023-01-082-18/+48
|
* Speedup quick switcherNicolas Werner2023-01-075-38/+57
|
* Navigate to space when room is selectedNicolas Werner2023-01-074-0/+11
| | | | fixes #1260
* Fix crash in migrations during secrets deletionNicolas Werner2023-01-073-18/+53
| | | | | | We need to block the migrations returning until the migrations are done. Fixes #1258
* A whole new year full of excitement and possibilities!Nicolas Werner2023-01-02152-0/+152
|
* Fix pagination after timeline clearNicolas Werner2023-01-022-1/+8
|
* Skip notifying for your own messagesNicolas Werner2022-12-282-7/+17
|
* Finish german translationNicolas Werner2022-12-281-1/+1
|
* Revert storing members in statesdb for nowNicolas Werner2022-12-271-2/+4
|
* Fix state reset commandNicolas Werner2022-12-273-3/+11
|
* Show invite reason in the UI (hidden by default)Nicolas Werner2022-12-275-5/+51
|
* Fix formatting issuesJoseph Donofry2022-12-201-1/+2
|
* Add 'clear' button to search bar and implement search indicator via spinnerJoseph Donofry2022-12-202-0/+12
|
* Make unfiltered messages hidden by defaultNicolas Werner2022-12-191-17/+25
|
* Fix searching more past againNicolas Werner2022-12-191-4/+9
|
* Fix searching past the endNicolas Werner2022-12-191-1/+6
|
* Add some documentation for how the background filtering worksNicolas Werner2022-12-191-0/+14
|
* Make searching incremental to allow some userinteraction stillNicolas Werner2022-12-192-6/+85
|
* Fix confetti in the sidebarNicolas Werner2022-12-172-34/+31
|
* Fix sending confettiNicolas Werner2022-12-161-1/+1
|
* I don't see why this would have detached, but make clazy happyNicolas Werner2022-12-131-1/+2
|
* Fix image cache pruning intervalNicolas Werner2022-12-131-1/+1
|
* Add cache pruning for old image filesNicolas Werner2022-12-132-0/+63
|
* Add a button to room the upgraded room in the timelineNicolas Werner2022-12-132-1/+27
|
* confetti (#1243)Loren Burkholder2022-12-108-2/+120
| | | * 🎉 (confetti) message support. Thanks @LorenDB !
* Properly check for target room encryptionNicolas Werner2022-12-071-1/+2
|
* Implement MSC3664, pushrules for related eventsNicolas Werner2022-12-052-2/+35
|
* Fix stack overflow when filtering timelineNicolas Werner2022-11-222-3/+5
|
* Enable http/3 supportNicolas Werner2022-11-201-1/+8
|
* Only play macOS notification sounds when pushrules dictate itJoseph Donofry2022-11-153-8/+31
|
* Fix crash in slash completerNicolas Werner2022-11-091-2/+2
|
* Implement a completer for commandsNicolas Werner2022-11-095-1/+291
| | | | fixes #429
* Try to fix clang-tidyNicolas Werner2022-11-061-1/+2
|
* Store secrets (apart from the pickle key) in the databaseNicolas Werner2022-11-064-58/+107
|
* Prompt before deleting the databaseNicolas Werner2022-11-062-1/+16
|
* Bump micro versionLoren Burkholder2022-11-051-1/+1
|
* Merge pull request #1222 from Nheko-Reborn/dbusStatusDeepBlueV7.X2022-11-054-0/+20
|\ | | | | Add status message to D-Bus API
| * Add status message to D-Bus APILoren Burkholder2022-11-054-0/+20
| |
* | Move invert enter key settingLordMZTE2022-11-042-38/+38
| |
* | Add invert enter key settingLordMZTE2022-11-042-4/+43
| |
* | Merge branch 'macos_notification_actions' into 'master'Joe Donofry2022-11-049-94/+299
|\ \ | |/ |/| | | | | Add ability to respond to notifications on macOS See merge request nheko-reborn/nheko!21
| * Add ability to respond to notifications on macOSJoe Donofry2022-11-049-94/+299
| |
* | Continue fetching past messages when searchingNicolas Werner2022-11-036-54/+94
| |
* | Highlight higlight tweaks in the timelineNicolas Werner2022-11-013-0/+35
| | | | | | | | | | fixes #400 fixes #1136
* | The hybris of committing a line without lintingNicolas Werner2022-11-011-2/+2
| |
* | Optimize fetching olm session from the dbNicolas Werner2022-11-011-25/+28
| |
* | Speedup sending encrypted messages after metasync was reenabledNicolas Werner2022-11-013-69/+105
|/ | | | | | Calling fsync everytime we save to the db is slow, which is actually fairly noticeable in some larger E2EE rooms. Speed that up slightly by batching the olm session persisting.
* Turn metasync and sync back on for the database to account for bad filesystemsNicolas Werner2022-10-281-1/+4
|
* fix blurry thumbnailsNicolas Werner2022-10-271-2/+2
|
* lintNicolas Werner2022-10-263-3/+3
|
* Enable -WconversionNicolas Werner2022-10-2621-70/+95
|
* Fix previews getting sorted above normal roomsNicolas Werner2022-10-221-3/+3
|
* Fix excessive summary callsNicolas Werner2022-10-201-0/+1
|
* VoIP v1 implementation (#1161)Rohit Sutradhar2022-10-1414-73/+521
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Initial commit for VoIP v1 implementation * Added draft of event handlers for voip methods * Added event handlers for VoIP events, added rejectCall, added version tracking for call version for V0 and V1 compatibility * Added call events to the general message pipeline. Modified Call Reject mechanism * Added message delegates for new events. Modified hidden events. Updated handle events. * Updated implementation to keep track of calls on other devices * Fixed linting * Fixed code warnings * Fixed minor bugs * fixed ci * Added acceptNegotiation method definition when missing gstreamer * Fixed warnings * Fixed linting
* Add toggle to disable decrypting notificationsNicolas Werner2022-10-135-6/+44
|
* Evaluate push rules locallyNicolas Werner2022-10-1310-234/+180
|
* Mark classes as final where possibleNicolas Werner2022-10-1051-72/+72
|
* Properly propagate pack usage to UINicolas Werner2022-10-091-0/+6
| | | | | | | | | We can't have a pack that is neither sticker nor emoji. Which is why none defaults to both on. That wasn't propagated to the UI, which made the interaction very confusing. It also made some states unsettable, since you can't turn anything off from the none state. fixes #1152
* Don't send avatars over dbus by defaultNicolas Werner2022-10-094-65/+61
| | | | This should reduce payload size a lot
* Update to unicode 15 and make script jinja:3 compatibleNicolas Werner2022-10-082-132/+152
|
* Fix date separatorNicolas Werner2022-10-071-1/+1
|
* Add a slow way to search a roomNicolas Werner2022-10-065-24/+41
|
* Basic thread filteringNicolas Werner2022-10-063-0/+120
| | | | The reply pagination logic is a bit weird rn though.
* Don't let old server lookups overwrite new onesNicolas Werner2022-10-052-2/+12
|
* Update translationsNicolas Werner2022-10-042-2/+4
|
* cppcheck stuff (#1200)Loren Burkholder2022-10-0333-148/+164
| | | | | | | | | | | | | | | * cppcheck stuff * Update src/ui/RoomSettings.cpp Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de> * Update src/ui/RoomSettings.cpp Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de> * Fix linting Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
* Merge pull request #1202 from Nheko-Reborn/grammarDeepBlueV7.X2022-10-037-13/+13
|\ | | | | Grammar
| * Remove unnecessary emitLoren Burkholder2022-09-301-2/+2
| |
| * Various grammar fixes (mostly removing commas)Loren Burkholder2022-09-306-8/+8
| |
| * Add link to repo to show where issues goLoren Burkholder2022-09-301-3/+3
| |
* | Fixed a crash in member list loading (#1199)Loren Burkholder2022-10-031-4/+7
| |
* | Don't strip fallbacks on plain text bodiesNicolas Werner2022-10-031-13/+7
| |
* | Fix a few more windows warningsNicolas Werner2022-10-023-5/+6
| |
* | Work around MSVC bug with structured bindings in lambdasNicolas Werner2022-10-022-4/+36
| | | | | | | | | | Causes error messages like: error C3493: 'key_id' cannot be implicitly captured because no default capture mode has been specified
* | Fix a few more warningsNicolas Werner2022-10-012-3/+3
| |
* | Green is not Svg::greenNicolas Werner2022-10-012-5/+9
| | | | | | | | fixes #1203
* | Reduce windows ci warningsNicolas Werner2022-10-014-6/+7
| |
* | Properly qualify fmt functionNicolas Werner2022-10-011-15/+15
| | | | | | | | Otherwise it conflicts with C++20 fmt.
* | Fix clazyNicolas Werner2022-10-011-6/+6
| |
* | Merge pull request #1198 from rnhmjoj/pr-greenDeepBlueV7.X2022-10-012-2/+10
|\ \ | | | | | | Add green theme color, make "error" configurable
| * | Add green theme color, make "error" configurablernhmjoj2022-10-012-2/+10
| | |
* | | Fix lintingNicolas Werner2022-10-012-5/+1
| | |
* | | Replace some user visible mentions of spacesNicolas Werner2022-10-013-10/+10
|/ /
* | Revert accidental animated image changeNicolas Werner2022-09-302-47/+31
| |
* | Automatically switch to threading when replyingNicolas Werner2022-09-302-10/+14
| |
* | Basic threading supportNicolas Werner2022-09-309-146/+146
|/
* Make clazy happyNicolas Werner2022-09-281-4/+5
|
* Merge branch 'v0.10.2-fixes'Nicolas Werner2022-09-281-15/+25
|\
| * Prevent the homeserver from inserting malicious secretsNicolas Werner2022-09-281-15/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Correctly verify that the reply to a secrets request is actually coming from a verified device. While we did verify that it was us who replied, we didn't properly cancel storing the secret if the sending device was one of ours but was maliciously inserted by the homeserver and unverified. We only send secret requests to verified devices in the first place, so only the homeserver could abuse this issue. Additionally we protected against malicious secret poisoning by verifying that the secret is actually the reply to a request. This means the server only has 2 places where it can poison the secrets: - After a verification when we automatically request the secrets - When the user manually hits the request button It also needs to prevent other secret answers to reach the client first since we ignore all replies after that one. The impact of this might be quite severe. It could allow the server to replace the cross-signing keys silently and while we might not trust that key, we possibly could trust it in the future if we rely on the stored secret. Similarly this could potentially be abused to make the client trust a malicious online key backup. If your deployment is not patched yet and you don't control your homeserver, you can protect against this by simply not doing any verifications of your own devices and not pressing the request button in the settings menu.
| * Fix infinite loop that can be triggered by some invalid htmlNicolas Werner2022-09-281-1/+5
| |
* | Allow editing permissions in spaces recursivelyNicolas Werner2022-09-282-24/+310
| |
* | Fix infinite loop that can be triggered by some invalid htmlNicolas Werner2022-09-271-1/+5
| |
* | Switch to clang-format14Nicolas Werner2022-09-2530-39/+75
| |
* | Fix crash when deleting room summaryNicolas Werner2022-09-242-10/+11
| | | | | | | | | | | | | | Since this is used across different threads, we have to delete it on the event loop. Thank you, q234rty, for the help with debugging this.
* | Try to handle rate limitingNicolas Werner2022-09-231-1/+7
| |
* | Switch to C++20Nicolas Werner2022-09-222-66/+30
| |
* | Rename groupsNicolas Werner2022-09-211-2/+2
| |
* | Show the community of a roomNicolas Werner2022-09-206-0/+91
| |
* | Fix const iterationNicolas Werner2022-09-191-1/+1
| |
* | Rework how access rules for rooms are modified completelyNicolas Werner2022-09-193-59/+281
| |
* | Make emoji escaping less aggressiveNicolas Werner2022-09-161-1/+7
| |
* | Line to indicate first unread message (#1147)Hiers2022-09-118-19/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * First draft of unread line feature. * Minor visual fix. * Removed unnecessary ternary operator. * Extended unread line functionality to work on minimised window or focusing another window. * Fix for unread line not showing when last read message is hidden. * Minor performance improvement. Fix for misbehaving event2order DB at application start. * Fix for possible performance issues when user has joined a large number of rooms. * Fix for breaking macos and clazy builds. * Changed on windows focus function to refresh unread line if room is unread. * Unread line is removed when user sends a message. * Linting. * Fixed unread line to work in standalone room windows. * Switch isRoomUnread for index 0. * Merged try/catch blocks. * Fix for crash on opening a room invite. * Call fullyReadEventId function when used instead of storing it and passing it through. * Function that was meant to sync the unread line was relying on an async function, oops. * Linting again. * More linting... * Minor changes.
* | Control logging via command line and environment variablesForest2022-09-103-21/+75
|/ | | | | | | | | | | | Nheko is very chatty in its log output, generating log noise (which complicates diagnostics) and needless disk writes (which affect power consumption and SSD life). This patch introduces command line options and environment variables to control log levels and output type. The old --debug command line option still works, at least for now. It is overridden by the new command line options when they are used. Partially addresses #665.
* Fix crash on empty private read receipts being receivedNicolas Werner2022-09-061-4/+5
| | | | fixes #1180
* Allow creating spacesNicolas Werner2022-09-053-10/+35
|
* Attribute values can contain slashesNicolas Werner2022-09-041-9/+16
|
* Implement space stickers & emojiNicolas Werner2022-09-016-10/+43
|
* Unset the transient parent on separate chat windowsNicolas Werner2022-08-312-0/+9
| | | | relates to #1168
* Fix empty widgets still being shownNicolas Werner2022-08-301-0/+4
|
* Fix invalid userids on profile requestsNicolas Werner2022-08-301-0/+14
|