356 Commits

Author SHA1 Message Date
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
Kelson
582febd5f7 More badges 2019-09-08 17:02:18 +02:00
Matthieu Gautier
384cbf0e81
Merge pull request #229 from kiwix/serachbar-title
don't display zim id in searchbar
2019-09-03 17:29:23 +02:00
luddens
bcd52b56ef don't display zim id in searchbar
Display an empty string if it starts with "zim://"
2019-09-03 17:28:57 +02:00
Matthieu Gautier
5572c2b31f
Merge pull request #241 from kiwix/small-ui-css-fixes
Small CSS/icon fixes around top bar
2019-09-03 17:26:42 +02:00
Kelson
d1cd606a25 Small CSS/icon fixes around top bar 2019-09-03 17:26:05 +02:00
Matthieu Gautier
cc0c8eeccc
delete a book closes all tabs opened of it (#220)
delete a book closes all tabs opened of it
2019-09-03 16:59:22 +02:00
luddens
f371dbd15d delete a book closes all tabs opened of it
Before deleting a book, check all the tabs opened (except the first wich is
the home tab and the last wich is the "new tab" button) and close those who
have the same id of the book.
2019-09-03 16:59:03 +02:00
Matthieu Gautier
4ceccdc7df
Merge pull request #231 from kiwix/hidden-tags
hidden tags aren't display
2019-09-03 16:57:45 +02:00
luddens
2d1087a079 hidden tags aren't display
Split the tags into a stringlist to remove tags that start with "_" and then
join them into one string with a space as separator.
Remove the replacement of the commoda points by spaces from the js file
because we do not need it anymore.
2019-09-03 15:52:08 +02:00
Matthieu Gautier
8c13412fa0
Merge pull request #223 from kiwix/mouse-click-close-tab
scroll wheel click closes tab
2019-09-03 11:55:13 +02:00
luddens
4ad392c68e scroll wheel click closes tab
add an event listener on the mouse click event, if it's the middle button
(the scroll wheel click) it closes the tab on which the cursor is.
In the closeTab() method, add a security to prevent closing the "new tab
button" tab.
2019-08-08 12:05:49 +02:00
ab1nash
24da6a5395 README.md: Added some environment variables
Added a couple environment variables which are needed
in some cases for running kiwix properly.
2019-08-01 16:41:01 +02:00
Matthieu Gautier
820ebec5ec New version 2.0-rc1 2.0-rc1 2019-08-01 11:55:41 +02:00
Emmanuel Engelhart
5387b55494 New installation & Run sections in the README 2019-07-31 17:58:29 +02:00
Emmanuel Engelhart
743b49b6b2 Have to hardcode QMAKE_LUPDATE and QMAKE_LREALEASE, they might be otherwise undefined 2019-07-31 17:58:29 +02:00
Emmanuel Engelhart
bdac2b7fe1 Fix package list in README 2019-07-31 17:58:29 +02:00
Thierry
a34bb9095c Addition and correction of French translation. 2019-07-31 13:57:47 +02:00
Emmanuel Engelhart
e42a3681a0 Add a few badges 2019-07-31 11:49:34 +02:00
Matthieu Gautier
87ca61a881
Merge pull request #202 from kiwix/remote-category-other
add "notag" parameter to the search api
2019-07-30 17:49:36 +02:00
luddens
8a37a83e8f add "notag" parameter to the search api
The notag parameter is filled with all categories from the category list
separated by a ";"
2019-07-30 17:48:44 +02:00
Matthieu Gautier
e8d98f04e2
Merge pull request #142 from kiwix/sort-books
Sort books
2019-07-24 16:23:57 +02:00
luddens
ac59676bf7 add books sorting
Use a new api of listBooksIds

Click on a column header sets the "activeSort" variable with the sort's type
and the "sortOrderAsc" to true or false according to ascending or descending
sort. These variables are used to set css classes and to set the m_sortBy
ContentManager's member and m_sortOrderAsc ContentManager's member which are
used to get the books id's list sorted.
2019-07-24 16:23:18 +02:00
Matthieu Gautier
a1c2d6af04
Merge pull request #145 from kiwix/kiwix-serve-desktop
kiwix-serve integration in kiwix-dekstop
2019-07-24 16:21:44 +02:00
luddens
6d53f91103 apply css 2019-07-24 16:20:38 +02:00
luddens
785d2c72f3 kiwix-serve integration in kiwix-dekstop
Display the "local kiwix server" option in the menu
This option opens a Qdialog that have options to control the server (run, open
in browser, stop).
The KiwixServe::run() method use execvp to run the kiwix-serve binary.
2019-07-24 16:20:38 +02:00
Matthieu Gautier
86f92569f5
Merge pull request #175 from kiwix/filter-category-other
fix local category other
2019-06-27 17:39:56 +02:00
luddens
89de735d73 fix local category other
Use a new api Library::filter.
2019-06-27 17:27:43 +02:00
luddens
784a305202 remove categories that have no results 2019-06-27 16:39:26 +02:00