Commit graph

4624 commits

Author SHA1 Message Date
redsky17
bb345a9a9f Merge branch 'ui-enhancements'
Preparing for 0.6.3 release
2019-02-07 23:15:25 +00:00
Joseph Donofry
a575178946
Merge pull request #12 from rnhmjoj/fix-join
escape id when joining a room
2019-02-07 08:27:28 -05:00
rnhmjoj
933fd22e49
escape id when joining a room 2019-02-07 13:51:18 +01:00
redsky17
df8e8ce996 Prevent symlinks from overwriting files 2019-02-05 12:06:59 +00:00
redsky17
9b2c000471 Preserve symlinks in icu4c libs 2019-02-05 03:11:58 +00:00
redsky17
e156ee3d53 Fix cp permissions issue 2019-02-05 02:16:15 +00:00
redsky17
9732c403ac Copy icu4c dylib symlinks in mac deploy 2019-02-05 00:35:03 +00:00
redsky17
d72e362686 See if bundled boost fixes mac deploy 2019-02-04 03:31:34 +00:00
redsky17
62b90e6e5d Additional mac icu4c changes 2019-02-04 02:46:41 +00:00
redsky17
da968bbaa8 Try to force link of icu4c in mac build 2019-02-04 02:03:07 +00:00
redsky17
34b2396284 Update travis mac deploy 2019-02-02 00:37:37 -05:00
redsky17
e16461e2d9 Modify linux deploy.sh 2019-01-31 20:47:27 -05:00
redsky17
8939a6871b Attempt to fix linux CI deploy 2019-01-31 20:04:00 -05:00
redsky17
4e43c5cbbc Even more CI script fixes 2019-01-31 19:29:34 -05:00
redsky17
0627f4ae62 Fix more ci script issues 2019-01-31 23:48:52 +00:00
redsky17
7a23e17625 Fix typo in script.sh 2019-01-31 22:52:31 +00:00
redsky17
e397bc9255 Update deployment configuration 2019-01-31 21:56:19 +00:00
redsky17
b4b683b590 Add TAVIS_TAG for build artifacts 2019-01-31 13:22:51 +00:00
redsky17
ebc2a64627 Attempt to fix bintray issues 2019-01-31 11:00:13 +00:00
redsky17
dc2d63bae3 Change TRAVIS_TAG to TRAVIS_COMMIT 2019-01-31 04:13:20 +00:00
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