Commit graph

24 commits

Author SHA1 Message Date
4b804873a6 Fix open in browser on enter
This patch fixes the opening of the current item in a browser which
was broken for a long time.
2020-06-13 00:20:46 +02:00
0bb19eae06 Remove duplicate import 2020-06-13 00:08:20 +02:00
f65d9b6231 Make Ctrl+W close the application
Many other applications have a Ctrl+W to close a window, adding this
as a second option to close the application because it only has one
window.
2020-06-12 23:51:38 +02:00
3e0b62b109 Remove opening in speaker: URL scheme
Back in the day on OSX this has been used to pass the current item
to a application called Speaker which would read the content. That
application is not available anymore so we can remove the
functionality from FeedTheMonkey.
2020-06-12 23:42:42 +02:00
ea85197874 Tweak dark mode and font size to appear closer to Adwaita-dark in GNOME
The colors are now closer to the Adwaita-dark mode which I'm using as
my primary theme. The header has been redesigned slightly to appear
more consistent with other default apps too.
2020-06-12 23:37:00 +02:00
cb649951ae Make sidebar dissapear if thiner than 200px
Often I wanted to make the sidebar dissapear because I don't need it.
This patch let's you make it dissapear when it's thinner than 200px
and reappear if it's wider.
2020-06-12 23:34:58 +02:00
ab1306a7b8 Update QtWebEngine te 1.8
When running with AppImage and on Ubuntu I'm getting the error that
QtWebEngine 1.7 is not installed, it seems that per default 1.8 is
installed nowadays.
2019-04-27 23:01:07 +02:00
11524e9f14 Fix problem with arrow navigation
For some reason the arrow navigation stopped working, this adds
some workarounds to make it workable again.
2018-09-11 23:04:56 +02:00
0a195f8a8f Move JS into HTML and add NOT_LOGGED_IN handling
For some reason the JS never got loaded when it was in it's own
file, therefor I moved it into the HTML where it gets called.

Also when a session id on the server was expired or something, you
weren't able to log out, there is now code which fixes that.
2018-09-11 01:05:23 +02:00
13c241f3b9 Fix not responding next/previous when focus in webview
For some reason in the latest Qt versions the webview took over the
focus from the keyboard, once clicked on the webview the arrow
keys wouldn't register up and thus you couldn't navigate with them
anymore.

This patch fixes this problem by using window.location.href and
checkinf for those special urls. This is way easier to use than
WebChannels.
2018-01-30 22:55:16 +01:00
f025ad4d2a Add feedback on login errors
There was no feedback on any login errors when a user provided a
wrong url, username, password or a disabled API. This commit
adds feedback to the user in this cases.

Fixes #15
2017-06-08 18:31:02 +02:00
c7153e070e Make the MenuBar show- and hidebar
Untill now the MenuBar was not visible untill you pressed the
alt-key, which made it visible. Sadly after that it was not
possible to hide it again. This patch fixes that.
2016-10-29 08:09:20 +02:00
Bennett Piater
e3ba0540a5 Increased contrast in the night mode. 2016-07-22 23:14:03 +02:00
818ef06189 Relicense FeedTheMonkey from BSD to GPLv3 2016-07-22 21:30:37 +02:00
11cde07393 Make item height static in the sidebar
This fixes #4 but introduces a new bug where the HTML in the strings
in the sidebar is not converted to text anymore.
2016-07-22 09:29:28 +02:00
99308a98c9 Fix javascript errors 2016-07-21 08:13:01 +02:00
Jeena
020fc6efe6 Add fullscreen mode by pressing F11 2016-07-20 21:27:27 +02:00
Jeena
9a0e2e523a Add a dark mode, fixes #7 2016-07-20 17:32:33 +02:00
Jeena
cca7f55760 Use the ID within WebEngineView to make it work with Qt 5.7
I have no idea why, I think it might be some timing issues while
initializing the webengine, but when using runJavaScript() in
the WebEngineView without referencing it with the id of that
QML object it just throws the error that it doesn't know what
runJavaScript() is. When we use the ID then it just works
for some reason.
2016-06-29 22:02:34 +02:00
Jeena
edb4f914ab fixes font problem on El Capitan OS X 2015-10-14 19:26:45 +02:00
Jeena
342b1d6a3d Merge branch 'webengine' 2015-10-13 20:08:48 +02:00
Jeena
c6c41c799f Upgrade from Webkit to WebEngine 2015-10-13 20:07:59 +02:00
Jeena
edc8eac2e7 added opening in speaker: 2015-04-12 01:02:20 +02:00
Jeena
e14a639d71 restructured resource files directories 2015-02-28 21:43:53 +01:00