384 Commits

Author SHA1 Message Date
luddens
3a298c568f hide content type filter 2019-11-14 16:34:11 -05:00
Kelson
42375e9d80
Update README.md 2019-11-05 15:27:12 +01:00
Kelson
7c4b5071bd
Update README.md 2019-11-05 15:25:43 +01:00
Kelson
0fcbd8a08a Update changelog 2019-11-01 16:12:59 +01:00
Kelson
6eb886208f
Merge pull request #262 from kiwix/settings
Implement settings page
2019-11-01 16:06:30 +01:00
luddens
96dd73c339 set shortcut to F12 2019-11-01 15:59:17 +01:00
luddens
8ea9dd3f43 settings page css improvements 2019-11-01 15:59:17 +01:00
luddens
49bad4bf59 use QSettings to save settings 2019-11-01 15:59:17 +01:00
luddens
aab3d123a0 kiwix server port can be set
Add an input in the settings page which allows the user to change the Kiwix
server port.

The SettingsManager sets the value(s) of the settings in the setSettings()
method at the start of the app. This method for now sets a default value
but it will use a config file later too.
The setKiwixServerPort() method is called when the user indicates a valid
port. It sets the m_kiwixServerPort member and emit the portChanged() signal
which is connected in the LocalKiwixServer class to update the m_port member.
The server port is now always set before its launch in the runOrStopServer method.
The LocalKiwixServer::openInBrowser() now uses the mp_server->getPort() to
always use the right port. In fact if the user changes the port in the
settings while the server is running the m_port member doesn't match anymore
the port used by the running server so the openInBrowser will use a wrong port.

The KiwixApp class uses now the SettingsManager::getKiwixServerPort() method
to set the port of the kiwix-server
2019-11-01 15:59:17 +01:00
luddens
175c46cddf settings page architecture 2019-11-01 15:59:17 +01:00
Kelson
a816e0b460
Merge pull request #285 from kiwix/aria2-cmd-error
print aria2 command when error occurs at launch
2019-11-01 15:45:00 +01:00
luddens
6ca165f836 print aria2 command when error occurs at launch 2019-11-01 11:53:52 +02:00
Kelson
efd242407c
Merge pull request #263 from kiwix/fix-reading-list
Fix reading list
2019-10-31 16:22:48 +01:00
Kelson
a40688c1b7
Merge pull request #276 from kiwix/set-focus-find-in-page
Set focus on the search bar when "find in page" is open
2019-10-22 15:04:50 +01:00
luddens
4296caf746 set focus on the findLineEdit 2019-10-22 14:03:27 +02:00
luddens
0887528a30 add getFindLineEdit fct 2019-10-22 14:02:49 +02:00
luddens
f37c03bcab remove the book from the readersMap 2019-10-01 10:46:23 +02:00
luddens
79eb619990 use new api of getBookmarks 2019-09-28 21:57:21 +02:00
luddens
048e1d5d2e update the readinglist when a download is completed 2019-09-27 10:36:04 +02:00
Matthieu Gautier
b67577ac9a New version 2.0-rc3 2.0-rc3 2019-09-26 16:09:38 +02:00
Matthieu Gautier
47d1d8f0df Fix some debug information printed on the console 2019-09-26 16:08:36 +02:00
Kelson
01440b59ed
Better LICENSE link (#264) 2019-09-26 13:57:17 +03:00
Matthieu Gautier
d2e84fd72d
Merge pull request #236 from kiwix/url-on-mouseover
Tooltip appears when a link has to be displayed
2019-09-24 11:54:44 +02:00
luddens
caf722154c tooltip appears when a link has to be displayed
The event "linkHovered" is used to display a tooltip message with the url of the
link.
It is positioned at the bottom left corner of the webview.
2019-09-24 11:53:59 +02:00
Matthieu Gautier
2a93a85ee4
add donate action + shortcut (#261)
add donate action + shortcut
2019-09-23 16:46:40 +02:00
luddens
6f5e58647e add donate action + shortcut 2019-09-23 16:45:49 +02:00
Matthieu Gautier
a12eebf4e0
Fix handleMetaRequest. (#258)
Fix handleMetaRequest.
2019-09-23 16:02:32 +02:00
Matthieu Gautier
1b399185f0 Fix handleMetaRequest.
The main fix is about to return after we reply the request and not do a
`request->fail` just after.
The try/catch is just here be safety.

It seems that depending of the version of Qt, doing a `reply` followed by
a `fail`, the request is replied (as with Qt packaged in fedora) or
failed (as with Qt packaged in ubuntu).

This should fix #239
2019-09-23 16:02:16 +02:00
Matthieu Gautier
ea6abf0b6a
Emit the signal bookmarksChanged when deleting a book (#257)
Emit the signal bookmarksChanged when deleting a book
2019-09-19 19:00:14 +02:00
luddens
b0080b6fef Emit the signal bookmarksChanged when deleting a book
It allows to refresh the reading list bar to avoid having bookmarks from a
deleted zim
2019-09-19 18:59:52 +02:00
Matthieu Gautier
eff9309970
open a filedialog to download files (#242)
open a filedialog to download files
2019-09-19 18:58:15 +02:00
luddens
6be70fd909 add message box when the download is finished 2019-09-19 18:57:45 +02:00
luddens
3bc42030c3 open a filedialog to download files.
Handle the signal QWebEngineProfile::downloadRequested. It opens a filepicker to choose
the path and the name of the new file.
Add the default extension of the file if the user didn't add it at the end
2019-09-19 18:57:45 +02:00
Matthieu Gautier
688fb3a37a
Merge pull request #260 from kiwix/disable-useless-items-on-library
disable useless menu-item on library page
2019-09-19 18:53:00 +02:00
luddens
da2ed62861 disable useless menu-item on library page 2019-09-19 16:00:53 +02:00
Matthieu Gautier
46df39e2e9
remove status bar (#253)
remove status bar
2019-09-17 18:58:17 +02:00
luddens
85b769367e remove status bar 2019-09-17 18:57:29 +02:00
Matthieu Gautier
825c475a73
no context menu on the toolbar (#254)
no context menu on the toolbar
2019-09-17 18:56:41 +02:00
luddens
a6d7f67864 no context menu on the toolbar 2019-09-17 18:56:20 +02:00
Matthieu Gautier
982da0afc9
Merge pull request #251 from kiwix/update-local-library
Set book path valid at the end of download
2019-09-17 18:17:17 +02:00
luddens
622967f40d Set book path valid at the end of download
Without setting the path valid the book is not accepted by the filter in
the Library::listBookIds method
2019-09-13 12:09:32 +02:00
Matthieu Gautier
79a1af6964 New version 2.0-rc2 2.0-rc2 2019-09-11 17:25:02 +02:00
Matthieu Gautier
f1f29bfc53
Specify the correct library to serve with kiwix-serve. (#250)
Specify the correct library to serve with kiwix-serve.
2019-09-11 15:28:27 +02:00
Matthieu Gautier
6f448e2bb7 Specify the correct library to serve with kiwix-serve. 2019-09-11 14:05:27 +02:00
Kelson
8f7a7a981e Disable 'Save page...' (broken) feature 2019-09-11 12:25:16 +02:00
Matthieu Gautier
05712f40da
add windows icon (#232)
add windows icon
2019-09-11 12:20:10 +02:00
luddens
90b4ce1b19 add windows icon 2019-09-11 12:19:48 +02:00
Kelson
2f7e2a79a2
Fix Flathub link 2019-09-11 09:51:08 +02:00
Matthieu Gautier
c5b147dcd9
Merge pull request #244 from kiwix/quick-fix-tabbar
[URGENT] quick fix tabbar navigation
2019-09-10 13:57:20 +02:00
luddens
684da69ac7 quick fix tabbar navigation
Add the execution of normal mousePressEvent() if it's not the middlebutton.
Without this the navigation between tab is impossible.
2019-09-10 13:25:14 +02:00