Commit graph

1619 commits

Author SHA1 Message Date
Nicolas Werner
505a8b5742 Only show reply button and option button on hover 2020-02-26 23:43:15 +01:00
Nicolas Werner
bed8c52891 Fix colour in svg not being actually white 2020-02-26 21:24:47 +01:00
Nicolas Werner
5115339636 Wrap error label on login page
fixes #30
2020-02-25 01:51:21 +01:00
Nicolas Werner
1eb2869fa8 Fix stuck unread messages by storing state events in the db
This may increase the db size by a factor of 1000 in the worst case and
it will need some fixes, when we decide to not show some events in the
timeline, but it should work for now.
2020-02-24 01:07:25 +01:00
Nicolas Werner
62b962cb44 Improve read status handling in room list
Only consider the room as unread, if there is a message in the room and
only consider message and sticker events as messages.

fixes #65
2020-02-23 22:48:54 +01:00
DeepBlueV7.X
f0db1c5f12
Merge pull request #129 from nico202/master
Add Guix build and installation instructions
2020-02-23 20:56:37 +00:00
nixo
3c57c322d3 Add Guix build and installation instructions 2020-02-23 21:18:10 +01:00
Nicolas Werner
653ad0be97 Fix placeholder text being visible behind transparent avatars 2020-02-23 15:47:19 +01:00
DeepBlueV7.X
58c5bdd7b1
Delete old ISSUE_TEMPLATE 2020-02-23 14:15:29 +00:00
DeepBlueV7.X
17063c4f39 Update issue templates 2020-02-23 14:14:51 +00:00
Nicolas Werner
f3a2fdb7c9 Fix windows build 2020-02-23 14:30:00 +01:00
Nicolas Werner
33f9b9672a Try to use bundled openssl on macOS 2020-02-23 13:50:31 +01:00
Nicolas Werner
e96241265e Use third_party singleapplication helper
This may still not raise the application correctly on some WMs, because
they don't allow disturbing the user with windows popping up. I don't
think we want to work around that.

fixes #84
fixes #113
2020-02-23 13:44:05 +01:00
Nicolas Werner
3ef0d9db3c Fix Registration
fixes #97
fixes #51
2020-02-23 13:44:05 +01:00
DeepBlueV7.X
fee00746c8
Merge pull request #128 from adasauce/no-setstylesheet
remove setStyleSheet calls directly from widget code
2020-02-22 14:43:17 +01:00
Adasauce
6e6fe0cad2
remove setStyleSheet calls directly from widget code
removed from:
 - emoji panel scrollbars
 - emoji category labels
 - splitter image handles
 - textfield setTextColor impl

small change to the category separator label for better contrast /
readability in dark mode.

removed setTextColor completely from TextField. Doesn't appear to be in
use anywhere, and focus going more toward qss themeing from qproperty
setting.
2020-02-21 15:38:19 -04:00
DeepBlueV7.X
fa829bebd0
Merge pull request #127 from adasauce/cleanup-dark-qss
Dark Theme qss cleanup
2020-02-21 03:59:13 +01:00
Adasauce
5cdc5304ec
clean up the light and system themes too 2020-02-20 22:51:03 -04:00
Adasauce
388dee1d67
cleanup, re-order, de-duplicate, re-dry qss for dark 2020-02-20 22:26:09 -04:00
Nicolas Werner
55fb5532ee Fix opaque widget in community list
fixes #126
2020-02-21 02:39:28 +01:00
DeepBlueV7.X
a8cdc20dd3
Merge pull request #125 from adasauce/118-dark-theme-issues
Tooltip and Combobox bugs with Breeze / Dark theme
2020-02-20 21:05:26 +01:00
Nicolas Werner
6bdc75d073 Reset user colors on theme change (in qml timeline) 2020-02-20 20:51:07 +01:00
Adasauce
8b8b844bda
Tooltip and Combobox bugs with Breeze / Dark theme
setStyleSheet was overriding default tooltip theme from the system,
causing themes like Breeze to render white text on a grey bg for
tooltips. Tooltips now render default for the system theme everywhere.

set a theme matching color on the dark theme comboboxes.

fixes #118
2020-02-20 15:51:07 -04:00
Nicolas Werner
2895162971 Clear user colors on theme change 2020-02-20 20:28:23 +01:00
Nicolas Werner
fcaec0d099 Fix html messages sent as just plain text 2020-02-20 18:27:29 +01:00
DeepBlueV7.X
eba02dd2e6
Merge pull request #122 from adasauce/usersettings-formlayout
Replace QHBoxLayout with QFormLayout in UserSettings
2020-02-20 18:25:28 +01:00
Nicolas Werner
4500bcd577 Use spacing for layouting settings 2020-02-20 18:11:49 +01:00
Adasauce
8aaf7e9e5d
Remove constant width, that was wrong.
Use Nico's suggestion to just leverage the width of the field, and leave
a comment.
2020-02-20 12:31:07 -04:00
Adasauce
105366f2b9
Clean up variable format
don't use members format camelCaseTail_
2020-02-20 11:57:16 -04:00
Adasauce
f86cbbe16a
Add constexpr for the minimum formlayout width
to save on recalculation of the size and having to subtract the margins
to do the tally, then re-apply.
2020-02-20 11:50:56 -04:00
Adasauce
b5aa615ef5
FormLayout cleanup
Removed empty labels in favour of a fixed height and bottom alignment.
2020-02-19 15:23:57 -04:00
Adasauce
53138d7f5c
Clean up placeholder string
use QString instead of std::string (QStringLiteral doesn't have a
constructor with int, str.)

remove temp variable, and just deal with it inline.
2020-02-19 15:00:49 -04:00
DeepBlueV7.X
c6817046f0
Merge pull request #123 from cloudrac3r/ubuntu-19.10-dependencies
Add Ubuntu 19.10 build requirements to README
2020-02-19 18:58:36 +01:00
DeepBlueV7.X
6bbb43958e
Remove some hopefully unneeded dependencies on ubuntu 19.10 2020-02-19 17:57:49 +00:00
Cadence Fish
a35b326702
Add Ubuntu 19.10 build requirements to README 2020-02-19 22:44:48 +13:00
Adasauce
21b207d1f0
Review changes to UserSettingsPage
- Switch to {} widget initialization
 - set fixed size on the Toggles so they don't scale down vertically
 - add another setting section for INTERFACE
 - add a placeholder value for deviceFingerprintValue_ so it can calculate the right size.
 - fix warnings about `QLayout: Attempting to add QLayout "" to UserSettingsPage "",` in boxWrap
 - hide widgets properly in Q_OS_MAC
 - remove mainLayout_ completely
 - clean up resizeEvent
2020-02-18 17:16:07 -04:00
Adasauce
111e4504ac
Replace QHBoxLayout with QFormLayout in UserSettings
This allows form fields to wrap dynamically when they are too long for
the view. This should help mobile and small screen users to configure
the app without having to force it into portrait mode, or not be able to
reach the settings fields at all.
2020-02-18 11:08:19 -04:00
Adasauce
b24165371c Paginationg != Paginating in debug message 2020-02-17 17:13:28 +01:00
Nicolas Werner
65bd099372 Don't delete messages received out of order (fixup the flickering fix) 2020-02-16 18:58:38 +01:00
Nicolas Werner
ec9da9f42a Try to fix flickering, if sync return event before send completes 2020-02-16 00:20:41 +01:00
Nicolas Werner
70f4a89d10 Quick hack to enable touch scrolling in settings and room list 2020-02-15 03:48:23 +01:00
Nicolas Werner
ef5edbb3ea Lower general settings margins, if the window is narrow 2020-02-15 03:48:23 +01:00
DeepBlueV7.X
f70923f374
Merge pull request #117 from adasauce/file-download-path
use the standard system download path for file downloads
2020-02-15 03:28:22 +01:00
Adasauce
cb36050822
use QStandardPaths locations for all file dialogs. 2020-02-14 21:35:26 -04:00
Nicolas Werner
c557265082 Try to override asio backend on arm in flatpak 2020-02-15 00:11:18 +01:00
Adasauce
17b5cc32dc
use the standard system download path for downloads
QFileDialog's dir arg (which was set to the incoming file name from the
Matrix download) can take a full path to suggest. By prepending
QStandardPaths::DownloadLocation, it opens to the system's download
folder and proposes the filename as the download name.

Using QStandardPaths should make this work on other platforms, and from
what I read, its possible for this to return an empty string on
platforms where it doesn't support it, so this should essentially
revert to the previous functionality if Qt can't determine the system's
download location.
2020-02-14 16:24:53 -04:00
DeepBlueV7.X
c062746c83
Merge pull request #116 from sorairolake/feature/japanese-translation
Add Japanese translation
2020-02-14 12:13:57 +01:00
Nicolas Werner
6d5dbf450b Bump boost version to try to fix some arm crashes 2020-02-14 11:59:02 +01:00
Shun Sakai
2ceaead7fc Change the initial of the proper noun to uppercase
markdown -> Markdown
2020-02-14 13:02:44 +09:00
Nicolas Werner
703c289b22 Add arm build for nightly flatpaks 2020-02-14 02:12:45 +01:00