273 Commits

Author SHA1 Message Date
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
Matthieu Gautier
82bb3ffd60
Merge pull request #169 from kiwix/new-tab-button
add new tab button with basic css
2019-06-26 15:01:21 +02:00
luddens
c05d61c766 add new tab button with basic css
add a new tab with a button inside at the start of the app. When this button
is pressed, it inserts a new tab just before this tab.
To avoid that this tab/button can be selected when a tab is closed, the
SelectionBehaviorOnRemove is set to select the left tab if it's the most
right before the tab/button and the right if not
2019-06-26 14:56:21 +02:00
Matthieu Gautier
8b4acab127
Merge pull request #199 from xvitaly/drop-rpath
Removed RPATH from compiled binaries.
2019-06-26 14:52:10 +02:00
Vitaly Zaitsev
2e6d5da1dc
Removed RPATH from compiled binaries.
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2019-06-26 12:38:56 +02:00
Matthieu Gautier
2508e0fc82
Merge pull request #184 from kiwix/refresh-only-one-book
Refresh only one book instead of all the library
2019-06-25 18:52:41 +02:00
luddens
2022bb2acb Refresh only one book instead of all the library
These changes allow many improvements :
- they fix the infinite refresh of the library due to the multiple
"bookChanged" signal emitted when several operations on books were
performed simultaneously (launch several downloads)
- the scroll isn't reset to the top of the list when starting a download at
the bottom of the list
- (better optimization ?)

Now methods that concern only one book emit the signal "oneBookChanged"
with the id of the book, the JS slot search by id the correspondent book in
its list and replace it with an updated one.
2019-06-25 18:52:05 +02:00
Matthieu Gautier
00a724b5d9
Merge pull request #180 from kiwix/fix-bug-searchbar
Fix bug signal activated not emitted
2019-06-25 18:08:37 +02:00
luddens
68a7e3b795 Fix bug signal activated not emitted
Qt seems to disconnect every signal handlers (signal emitted by QCompleter)
of QLineEdit (the SearchBar) every time the QLineEdit loses the focus,
so it has to be connected every time it gains the focus with the mouse.
2019-06-25 18:07:57 +02:00
Matthieu Gautier
d3fdcb8eb2
Merge pull request #179 from kiwix/new-display-tags
Replace the ";" between tags by " "
2019-06-25 10:31:32 +02:00
luddens
daad089994 Replace the ";" between tags by " " 2019-06-25 10:31:15 +02:00
Matthieu Gautier
bae3e9b77d
Merge pull request #177 from kiwix/align-book-info
Align vertically the library's content when the window is too small
2019-06-24 15:58:29 +02:00
luddens
9a2efcb729 Flexbox overflow is hidden
To align vertically the flexboxes of the same column when the window is too
small, set the flexbox property "overflow" to "hidden" allows all these flexboxes
to have the same width no matter what its content
2019-06-24 15:58:06 +02:00
Matthieu Gautier
20f732a811
Merge pull request #182 from kiwix/stackexchange-category
Fix stack exchange category filter
2019-06-24 15:44:05 +02:00
luddens
85abd7f6a1 Fix stack exchange category filter
Change the displayed name of the stack exchange filter and change manually
the tag to send.
2019-06-24 15:38:32 +02:00
Matthieu Gautier
7b6d2003cd
Merge pull request #183 from kiwix/pause-book-download-before-cancel
Pause book's download while dialog to cancel is open
2019-06-24 14:43:36 +02:00
luddens
044aec9689 Pause book's download while dialog to cancel is open
When the download of a book finishes while the cancel's dialog is opened
and then that the user confirms the deletion of the book, the app crashes
because aria2 can't find the active download (which is already complete).
Pause the download before opening the dialog and check the download's status
before cancel it avoid this crash.
2019-06-24 14:33:11 +02:00
Kelson
af3d00d200 Small grammatical fixes in README 2019-06-22 14:13:35 +02:00
Kelson
bfd2f8f0d5
Create FUNDING.yml 2019-06-22 07:56:05 +02:00
Sai Charan Kommana
f735be1a22 Corrected the README.md file typo 2019-06-21 20:26:32 +02:00
Matthieu Gautier
c42d2d0e76
Merge pull request #144 from kiwix/shortcut
add alt+home shorcut and CTRL+mouse wheel zoom
2019-06-12 14:49:33 +02:00
luddens
4fa606cd97 shortcut zoomIn zoomOut with ctrl + mousewheel
Watch the mousewheel event, if the ctrl key is pressed, then zoom in or out
based on the mousewheel "direction"
2019-06-12 14:48:43 +02:00
luddens
36887e8cc4 add alt+home shorcut
Create a new action OpenHomePageAction which sets the url of the current
webview with the zimId to open the home page.
2019-06-12 14:48:43 +02:00
Matthieu Gautier
eb61e32460
Merge pull request #156 from kiwix/front
Front
2019-06-12 14:47:26 +02:00
luddens
b72dc743a7 play/pause/cancel button new design 2019-06-12 14:46:52 +02:00
luddens
be645832b5 readinglist new design 2019-06-12 14:46:52 +02:00
luddens
d93104584a library new design 2019-06-12 14:46:52 +02:00
luddens
7822bb3037 popup searchbar new design 2019-06-12 14:46:52 +02:00
luddens
3df34feb42 thinner border 2019-06-12 14:46:52 +02:00
Matthieu Gautier
18f0e07116
Merge pull request #164 from kiwix/usb-flash-drive
choose the library.xml file in the binary's directory if it exists
2019-06-12 14:43:20 +02:00
luddens
19577ea924 Use the library.xml file of the binary directory if there is one
Check if there is a library.xml file in the binary directory, in this case,
set the m_libraryPath with the current binary path, otherwise set with the
default data directory. This member variable is used every time we want to
change the library's content.
2019-06-12 13:58:23 +02:00
Matthieu Gautier
8cdfe50033
Merge pull request #166 from kiwix/open-article-enter
Auto completion search bar
2019-06-12 10:06:13 +02:00
luddens
c8ace2fb7e re-use openCompletion method
Re-use the connect with openCompletion method that works fine to handle mouse
click and enter key press to open article
Remove the openTitle method that is no longer usefull.
2019-06-12 10:05:19 +02:00
luddens
18d123bcfb Set the completer case insensitive
Set the completer case insensitive to match with the suggestion's list
2019-06-12 10:05:19 +02:00