Commit graph

2054 commits

Author SHA1 Message Date
redsky17
11d8cdb1ec BinTray deploy on all commits 2019-01-31 03:38:08 +00:00
redsky17
91ca7e1e89 Attempt to fix travis.yml merge issues 2019-01-31 03:08:05 +00:00
redsky17
db5532de62 merge master and fix conflicts 2019-01-30 20:41:09 -05:00
redsky17
5197023ad7 Fix bintray deploy repo naming 2019-01-30 19:55:19 -05:00
redsky17
c4e1d82d43 Attempt to make bintray builds for every commit 2019-01-30 19:18:07 -05:00
redsky17
6d629f1c90 Add download button to ImageOverlay
When opening images in the full-screen overlay, there is now
a download button next to the close button.  This button utilizes
the same functionality as the right-click->save image button.
2019-01-30 18:01:36 -05:00
Joe
af57e95759 Add /bigobj for nheko MSVC build 2019-01-27 21:03:07 -05:00
redsky17
f7255b7b49 Restore Emoji Picker, but remove forcing EmojiOne
Restored the emoji picker, but it now falls back to the system
instead of forcing Emoji One.  The allows users to user the
picker for convenience, but doesn't enforce the emoji style on them.
2019-01-26 21:02:22 +00:00
redsky17
df5d24c87f Revert "Remove built-in emoji picker"
This reverts commit 4b807229aa.
2019-01-26 18:17:08 +00:00
redsky17
faff23ed38 Fix lint issues in last commit 2019-01-26 18:11:30 +00:00
redsky17
6c31f5fe7a Add initial support for QtIndenticon
Add initial loading of qt jdenticon plugin:
https://github.com/redsky17/qt-jdenticon

Currently, the library's functionality has not been integrated
into the rest of nheko.  Next step is to add a configuration
item in the User Settings and use the plugin to generate
avatars for users without their own picture.  These avatars
should be cached in the Cache object.
2019-01-26 18:03:49 +00:00
redsky17
22a08ba6a4 Fix lint issue 2019-01-26 06:09:51 +00:00
redsky17
f869ff5ded Fix inconsistent user color updates. 2019-01-26 06:03:52 +00:00
redsky17
2ba51c821e Update user colors to use Cache vs Utils
User colors are now stored in cache.  This is consistent
with other similar variables.  I think there's a bug
right now where it doesn't properly refresh colors
for the TimeLineItem when the theme is changed.
2019-01-26 02:55:07 +00:00
redsky17
4185b8d121 Add unread notification color for user mentioned
When user is mentioned (via matrix 'highlight_count'), inactive
rooms will use a different color for the notification circle than
when only general unread messages exist.
2019-01-25 02:47:15 +00:00
Joseph Donofry
6ab12b2f6d
Merge pull request #7 from tim77/master
Update Russian translation
2019-01-24 17:35:45 -05:00
Artem Polishchuk
ab58ada970
Update Russian translation 2019-01-24 17:09:18 +02:00
redsky17
d70bc94f61 Fix lambda capture error 2019-01-24 04:54:35 +00:00
redsky17
237c7ad114 Author Color Fixes
Author color is now cached so that it will not be re-calculated
each time a new message is posted.  This cache gets cleared when
the theme is changed.

Additionally, the author color is now automatically refreshed
when the theme is changed, fixing the issue where you had to
change rooms before the colors would switch.
2019-01-20 04:43:48 +00:00
redsky17
b3f7c13e2f Update user id color generation
Update the author color generation.  Now, instead of generating
an entire hex string based on the user id, the user id instead
is used to generate a hue value.  After this hue value is created,
there is some logic to tweak first the lightness and then saturation
values to achieve a readable color (in contrast to the background).

This change makes it so that user colors will not vary as wildly
between the different themes.

The values still are not cached and still do not update
initially when the theme is changed.  Both of these things
will be resolved.
2019-01-20 00:16:31 +00:00
redsky17
98102f4f09 Fix UserSettings UI not showing saved prefs
Theme and Font Family settings will now correctly display the stored
settings when nheko is re-launched.  Previously, these combo boxes
would default to the first thing in the combo box, even if that
wasn't what the user selected.
2019-01-19 17:31:17 +00:00
redsky17
654b652db4 Add User Font Setting
User can now select a font from the installed fonts on their system

This font currently will only be applied when nheko is restarted
(similar to how font size and scaling currently work).  This will
be addressed in a future commit.  Additionally, the dropdown
does not correctly select the previously-chosen user font, and
instead defaults to the first font available on the system
(alphabetically).  This is similar to the issue with the 'Theme'
combo defaulting to 'Light' even when another theme is selected.
2019-01-19 16:20:41 +00:00
redsky17
909d11ddef Fix .travis.yml issue 2019-01-18 22:30:02 +00:00
redsky17
dd0b28f217 Update bintray-release.json 2019-01-18 18:54:20 +00:00
redsky17
f5933b74a8 Update CI Configs
Update .travis.yaml to have updated bintray api keys
Update bintray-release.json to have correct casing for repo
2019-01-18 18:43:08 +00:00
redsky17
50e382f554 Modified the code that generates user's colors so that it will
work regardless of the theme choices the user makes.  The code
now incorporates the contrast between the background color and the
color generated by the user_name when picking colors.  It currently
has two 'big' issues:
1. Colors are not cached.  I am planning on adding a QHash for this
a little later.  This should improve performance by not calculating
the color for the same users over and over and over again.
2. Theme changes do not trigger the colors to get refreshed.
Currently, you will have to switch to a different room and back
to get the colors to refresh.
2019-01-18 17:17:25 +00:00
redsky17
1882198e4b Make the author text slightly large.
Add author color generated based on user id.
2019-01-18 04:09:42 +00:00
redsky17
10095b8704 Merge branch 'master' of github.com:nheko-reborn/nheko 2019-01-18 01:01:55 +00:00
redsky17
55883ec2de Remove the code that removed paragraph tags from markdown -> html.
This fixes #2, but reverts mujx#438.  I do not think mujx#438 was a
valid issue, as it complained about the display of valid HTML on riot,
which speaks more to how Riot styles things than about an issue in
nheko itself.
2019-01-18 00:59:31 +00:00
Joe
600ec27857 Merge branch 'master' of https://github.com/redsky17/nheko 2019-01-16 20:35:23 -05:00
Joe
341c0303ec Update travis.yml to include webhook for posting build
status to nheko-reborn matrix room
2019-01-16 20:35:14 -05:00
redsky17
996a4c9590 Fix clang-format linting issue 2019-01-16 18:18:57 +00:00
redsky17
88665b0925 Update the README to point to updated endpoints for the various CI
projects.

Update the appveyor configuration to no longer use mujx keys.

Travis-CI keys still need to be updated.
2019-01-16 04:41:59 +00:00
Joe
d21fa0efa4 Update deps CMake config to point to nheko-reborn mtxclient 2019-01-15 21:47:46 -05:00
Joseph Donofry
87349fd164
Merge pull request #1 from aaronraimist/readme-redsky-room
Update README to link to the room for the fork
2019-01-13 01:28:06 -05:00
Aaron Raimist
50780c0ef2
Update README to link to the room for the fork 2019-01-12 23:58:16 -06:00
redsky17
bcabf2fb73 Update travis ci config to point to redsky17 config and try to fix lint
errors
2019-01-13 03:48:07 +00:00
redsky17
c930b36799 Update README to point to redsky17 travis-ci and appveyor vs mujx. 2019-01-13 02:18:01 +00:00
redsky17
3fceaeb203 Add hover color for timestamp.
Update dark and system themes to provide
colors for the hover states for title, subtitle, and timestamp.
2019-01-12 22:03:25 +00:00
Joe Donofry
ae91bab07d Tweak some of the colors in the CSS rules for nheko.
Add room list hover title/subtitle color change support.
2019-01-12 14:35:56 +00:00
Konstantinos Sideris
6a90ed574e Increase the height of the roomlist items 2018-10-10 22:02:59 +03:00
Konstantinos Sideris
a671bd62c4 v0.6.2 2018-10-07 17:53:09 +03:00
Konstantinos Sideris
184c8b28e9 Use a smaller font size for the timestamp 2018-10-07 16:32:46 +03:00
Konstantinos Sideris
f272d9221e Use alignment instead of stretch 2018-10-07 14:18:44 +03:00
Konstantinos Sideris
aa486a5c0c Adjustments for the minimized sidebar 2018-10-07 14:09:47 +03:00
Konstantinos Sideris
2295d681a4 Remove the bundled open sans font 2018-10-07 13:27:20 +03:00
Konstantinos Sideris
4b807229aa Remove built-in emoji picker 2018-10-07 13:13:14 +03:00
Konstantinos Sideris
c2faaa4d39 Add the correct parent to scaleCombo 2018-10-07 12:58:38 +03:00
Konstantinos Sideris
4865f852d8 Remove room re-ordering option 2018-10-06 18:43:53 +03:00
Konstantinos Sideris
3fdfc9b69f Remove Scrollbar 2018-10-06 18:39:11 +03:00