1036 Commits

Author SHA1 Message Date
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
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