Commit graph

1171 commits

Author SHA1 Message Date
Nicolas Werner
30882d4aa9
Fix wrong file urls 2022-10-01 14:47:42 +02:00
rnhmjoj
f5d5bea840
Add green theme color, make "error" configurable 2022-10-01 10:59:17 +02:00
Nicolas Werner
2a7c6f2d86
Load components on demand 2022-10-01 02:28:02 +02:00
Nicolas Werner
570d7b8b30
Prepare for adding proxy before chat.model 2022-10-01 01:53:12 +02:00
Loren Burkholder
df834ffc48 Various grammar fixes (mostly removing commas) 2022-09-30 00:23:39 -04:00
Nicolas Werner
88cbac1695
Basic threading support 2022-09-30 03:27:05 +02:00
Nicolas Werner
051c25d5b8
Allow editing permissions in spaces recursively 2022-09-28 02:09:04 +02:00
Nicolas Werner
ed15d73d36
Allow adding non-existing userids to power levels 2022-09-22 21:24:41 +02:00
Nicolas Werner
421b15c05c
Show the community of a room 2022-09-20 21:26:46 +02:00
Nicolas Werner
fe403ddc70
Rework how access rules for rooms are modified completely 2022-09-19 21:39:37 +02:00
q234rty
15b9dbe98d
Fix "Send by enter" on Windows
Apparently on windows `Qt.inputMethod.visible` is always true when an input method is installed. Also on windows even after removing the check enter is still consumed by the input method, not nheko.
2022-09-16 22:41:11 +08:00
Hiers
8071b192b8
Line to indicate first unread message (#1147)
* 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.
2022-09-11 23:05:20 +00:00
Nicolas Werner
12da7bd08c
Enable spoilers in replies 2022-09-11 00:29:23 +02:00
Nicolas Werner
1d7575036e
Allow creating spaces 2022-09-05 02:00:20 +02:00
Nicolas Werner
e144c5741f
Implement space stickers & emoji 2022-09-01 13:25:11 +02:00
Nicolas Werner
01fd5e6b61
Unset the transient parent on separate chat windows
relates to #1168
2022-08-31 20:44:21 +02:00
Hiers
b94689c4d1 Added discrete edit button to room profiles. 2022-08-22 00:01:20 +01:00
DeepBlueV7.X
63339ad632
Merge pull request #1156 from foresto/patch-1
Focus message input box when pressing Esc
2022-08-20 21:50:55 +00:00
Forest
f66ed4bea5 Reactions: avoid highlight color misuse, subdue border color
This addresses a few problems with reaction colors:

- The state-checking conditionals for reaction text, background, and border
  were inconsistent, making it difficult to choose colors for each state
  (normal, hovered, and self reactions) that worked well in all themes.
- The QPalette::Highlight color was being misused as a text/foreground color.
  This color role is intended for background areas.  It has little contrast
  against the background in themes like KDE Plasma's Breeze High Contrast,
  so using it for text and icons makes those things difficult to read.
  https://doc.qt.io/qt-5/qpalette.html#ColorRole-enum
- The reaction border was drawn in the same color as normal text, making it
  so bright in some dark themes that it distracted from reading nearby text.

Fixes Nheko-Reborn/nheko#1159
2022-08-19 21:14:58 -07:00
Forest
4d1a01c829
Focus message input box when pressing Esc
This helps with #1065, although I think making sure the message input box gets focus by default would be worthwhile.
2022-08-19 07:41:22 +00:00
Nicolas Werner
08b304eccf
Break http images and implement barebones spoiler support when not in mobile mode
see #1042
see #483
2022-08-17 01:35:40 +02:00
Nicolas Werner
376612e4eb
Support editing space children 2022-08-10 00:20:44 +02:00
Nicolas Werner
68c02da6c8
Change preview title for spaces 2022-08-08 22:55:23 +02:00
Nicolas Werner
9d8d6b4bca
Show a room preview in the join confirmation dialog
Requires MSC3266

Fixes #1129
2022-08-05 21:57:54 +02:00
Nicolas Werner
18f4f4351a
Fix room members dialog opening room member dialog of the wrong room 2022-07-30 16:47:56 +02:00
Nicolas Werner
8f49ad9490 Fix window decorations on macos for room dir dialog
fixes #1114
2022-07-18 23:28:27 +02:00
Nicolas Werner
c57948993e
Update translations 2022-07-16 13:04:35 +02:00
Nicolas Werner
f261bbb32d
Fix weird spacing and hidden encryption indicator in top bar 2022-07-16 12:58:17 +02:00
Nicolas Werner
7b33d14277
Make notification count calculation more efficient 2022-07-16 03:07:00 +02:00
Nicolas Werner
aa63e50cea
Merge remote-tracking branch 'origin/perSpaceNotifs' into perSpaceNotifs 2022-07-14 01:26:48 +02:00
Nicolas Werner
af03138527
Try to fix titlebar on room dir 2022-07-09 16:05:18 +02:00
Nicolas Werner
11fa4821aa
Support rendering policy rules 2022-07-09 15:36:28 +02:00
Nicolas Werner
931855441a
Allow editing aliases 2022-07-08 17:28:28 +02:00
Nicolas Werner
f099ec63d1
Warn about emojis looking different in different clients
fixes #919
2022-07-03 03:46:47 +02:00
Nicolas Werner
f387e3b033
Fix emoji verification clipped on sway
fixes #917
2022-07-03 03:39:10 +02:00
Nicolas Werner
7ebf43ce38
Fix crash when closing room directory window 2022-07-01 00:41:50 +02:00
q234rty
fd87dc615c
Fix emoji picker 2022-06-30 11:39:19 +08:00
q234rty
bda88a0379
Fix room member list 2022-06-30 11:38:22 +08:00
Loren Burkholder
885a790b1f Simplify space notification options 2022-06-29 22:04:37 -04:00
Loren Burkholder
f264941615 make license 2022-06-29 22:04:37 -04:00
Loren Burkholder
7cbde0712f Allow muting spaces; other general improvements 2022-06-29 22:04:37 -04:00
Loren Burkholder
863eaa1910 Add space notification configuration 2022-06-29 22:04:37 -04:00
Loren Burkholder
c2b6728955 Add space notifs to room list 2022-06-29 22:04:19 -04:00
Loren Burkholder
8ec0577807 Make the notification bubble its own component 2022-06-29 22:04:19 -04:00
Loren Burkholder
e446e3d679 Add loud notifications for spaces 2022-06-29 22:04:17 -04:00
Loren Burkholder
169384f0fa Add space notifications to room list 2022-06-29 22:02:20 -04:00
Loren Burkholder
2df2046d1d Display unread notifications for spaces 2022-06-29 22:00:09 -04:00
q234rty
7a29531739
Fix blurriness of svg icons (#1108) 2022-06-28 12:14:23 +00:00
Nicolas Werner
dc4a06517c
Add an option to define new power levels 2022-06-26 00:09:00 +02:00
Nicolas Werner
5772447874
Require matrix v1.1 or greater 2022-06-25 16:16:54 +02:00
brausepulver
09c646d3fa
Add copy link to room context menu (#1101) 2022-06-23 23:44:50 +00:00
Nicolas Werner
07228d336a
Support the knock_restricted rule 2022-06-18 00:17:24 +02:00
Rohit Sutradhar
b0e3c6d65a
Added escape handler for uploads (#1100)
* Added escape handler for uploads

* Update MessageView.qml

Changed if-else conditions to handle only one escape at a time
2022-06-17 20:08:29 +00:00
Nicolas Werner
4ec92e0244
Remove confusing log message 2022-06-15 22:18:35 +02:00
Nicolas Werner
6afe3fa39d
Close image viewer when clicking on the background
fixes #1088
2022-06-15 20:55:51 +02:00
DeepBlueV7.X
835fcf6325
Merge pull request #1095 from syldrathecat/subtle-paste-fixes
Subtle corrections to paste behaviors
2022-06-15 14:31:46 +00:00
Nicolas Werner
3eafd4396e
Fix pins not refreshing after being loaded 2022-06-15 15:36:58 +02:00
SyldraTheCat
8a6acd1d86
Subtle corrections to paste behaviors 2022-06-14 12:04:34 +00:00
SyldraTheCat
ffa4dca8b3
Make cursoring up/down more consistent on some setups 2022-06-13 07:22:09 +00:00
Nicolas Werner
051545a851
Fix crash on some systems because of reuseItems in completer 2022-06-12 17:49:20 +02:00
Nicolas Werner
74712ff6aa
Make settings menu a bit narrower 2022-06-11 10:05:36 +02:00
Nicolas Werner
7e0bc0658c
Fix editing topic 2022-06-02 21:57:46 +02:00
Loren Burkholder
cb4d7234c7 Indicate if no topic is set 2022-06-02 14:19:50 -04:00
Nicolas Werner
5450139a2e
Lots of new PL translations 2022-05-27 17:16:38 +02:00
Nicolas Werner
6c6d43691d
Add basic powerlevel editor 2022-05-27 17:01:58 +02:00
Joseph Donofry
7f2ae13c43
Make PrivacyScreen work on Popped-out Rooms 2022-05-12 14:56:22 -04:00
Joseph Donofry
d130c96160
Fix PrivacyScreen for MainWindow 2022-05-12 12:48:12 -04:00
Nicolas Werner
a6b2be112b
More image dialog fixes 2022-05-10 03:20:09 +02:00
Nicolas Werner
87070289fd
Activate window that already has the room open if possible 2022-05-07 19:12:30 +02:00
Nicolas Werner
62bf1b253e
Rework focus handling 2022-05-07 18:53:16 +02:00
Nicolas Werner
db1bcd7b5a
Show powerlevels in memberlist 2022-05-07 02:30:16 +02:00
Nicolas Werner
d4b7712a66
Merge branch 'master' of https://github.com/TheDrawingCoder-Gamer/nheko into TheDrawingCoder-Gamer-master 2022-05-06 15:41:51 +02:00
Nicolas Werner
b75ef07896
Add basic support for multiple windows 2022-05-06 00:36:53 +02:00
DeepBlueV7.X
5ceed8f519
Merge pull request #1056 from Nheko-Reborn/uiTweaks
UI tweaks
2022-04-27 01:15:25 +00:00
BulbyVR
64882fd6de Unhardcode qml 2022-04-24 12:25:01 -04:00
BulbyVR
1eeee5f367 Curse you hardcoded qml! 2022-04-24 12:25:01 -04:00
Nicolas Werner
c21711830f
Fix pinned messages getting clipped 2022-04-24 16:37:35 +02:00
Loren Burkholder
f9b3690e87 Modifications to member list buttons 2022-04-23 19:03:01 -04:00
Loren Burkholder
c53b732452 Set default size for hidden events dialog 2022-04-23 18:47:18 -04:00
Loren Burkholder
24ec2181a3 Better handle pluralization 2022-04-23 18:47:17 -04:00
Loren Burkholder
3d60fadb39 Allow users to see through the spinner 2022-04-23 18:46:30 -04:00
Loren Burkholder
6672e765d7
Search room members (#1049) 2022-04-22 23:59:40 +00:00
Loren Burkholder
9cf0e3ca55
Add member list and settings buttons to spaces (#1051)
* Add member list and settings buttons to spaces

* Un-buttonify the member list button

* Properly button settings *and* members
2022-04-22 23:43:25 +00:00
Nicolas Werner
3b2f47c56f
Show changes in image packs in timeline 2022-04-19 22:33:53 +02:00
Loren Burkholder
5dc94447b9 Focus room search 2022-04-18 14:44:35 -04:00
Nicolas Werner
85f0ffb6bf Remove boundary handling in image overlay
They hurt more than they are helping
2022-04-10 04:10:32 +02:00
Loren Burkholder
35e6cf003d Close current room on Ctrl+W 2022-04-02 20:33:10 -04:00
Nicolas Werner
a59b3147a6
Add reasons to everything
fixes #1030
2022-03-30 23:40:12 +02:00
Nicolas Werner
cb76777fce
Add delay to showing scroll down button 2022-03-30 19:19:39 +02:00
Nicolas Werner
656fcac91c
Don't use a modal to edit room name and topic 2022-03-30 06:45:31 +02:00
Nicolas Werner
f9942494d6
Fix broken invite dialog 2022-03-30 04:30:09 +02:00
Nicolas Werner
3ded0d61ba
Merge branch 'fix-tapping-timeline' 2022-03-30 01:34:13 +02:00
Nicolas Werner
4783ce8c44
Add a background to scroll to bottom button 2022-03-30 01:23:23 +02:00
Nicolas Werner
a3ae90415c
Merge branch 'go_to_bottom' of https://github.com/maltee1/nheko into maltee1-go_to_bottom 2022-03-30 00:31:49 +02:00
Malte E
8c8305bf8a add jump to end button 2022-03-29 23:11:25 +02:00
DeepBlueV7.X
f9e294ce0c
Merge pull request #1019 from maltee1/qml_createroom
CreateRoom dialog in QML
2022-03-29 20:54:45 +02:00
Nicolas Werner
6d1416fb6e
Add backend for new room creation dialogs 2022-03-29 20:51:18 +02:00
Malte E
d7cb2bd647 expose options better 2022-03-28 22:06:18 +02:00
Malte E
f66ec626f0 fix tapping messages, fix pressandhold/doubletap on touch 2022-03-28 20:22:58 +02:00
Malte E
5078bdd14f
drag to reply (#1018) 2022-03-27 19:23:40 +00:00