518 Commits

Author SHA1 Message Date
Matthieu Gautier
2979668c3a Initialize the Library with the libraryDirectory.
If not, the `Library` constructor use `KiwixApp::instance()` to get
the kiwixapp but, at this time, the kiwixapp is not yet existing (we
are constructing it)
2020-10-07 14:28:38 +02:00
Matthieu Gautier
bceebdc94b
Merge pull request #494 from kiwix/translatewiki 2020-09-17 18:25:21 +02:00
Matthieu Gautier
1d6b1b459c Update translations.qrc with new translations. 2020-09-17 18:18:01 +02:00
translatewiki.net
bac49f01dc Localisation updates from https://translatewiki.net. 2020-09-17 16:42:53 +02:00
Kelson
8bfbc1ea0e
Merge pull request #519 from kiwix/check_space_download_dir
Check the available size of the configured download directory.
2020-09-01 15:14:14 +02:00
Matthieu Gautier
e9ce14846e Check the available size of the configured download directory.
Fix #492
2020-09-01 15:02:42 +02:00
Kelson
b0419fc179
Merge pull request #518 from kiwix/kelson42-patch-1
Repology badges
2020-08-30 22:14:43 +02:00
Kelson
dec5ab5378
Repology badges 2020-08-30 22:13:47 +02:00
Kelson
4f40d6b86d
Merge pull request #516 from kiwix/ppa-bionic
PPA: Build packages for Ubuntu Bionic
2020-08-29 07:47:35 +02:00
Kunal Mehta
ea5538527d PPA: Build package for Ubuntu Bionic
Fixes #503.
2020-08-28 17:49:36 -07:00
Kunal Mehta
7fc7b1a4fb Explicitly select qt5 in d/rules
See <https://qt-kde-team.pages.debian.net/packagingqtbasedstuff.html>,
it's needed for bionic compat.
2020-08-28 17:44:53 -07:00
Kelson
c0e836c705
Merge pull request #506 from kiwix/legoktm-aria2
debian: Remove aria2 build dependency
2020-08-05 23:30:45 +02:00
Kunal Mehta
343870429d
debian: Remove aria2 build dependency
The dependency is inherited from libkiwix, once
https://github.com/kiwix/kiwix-lib/pull/402 is merged.

Fixes #505.
2020-08-05 14:08:21 -07:00
Kelson
1862466426
Merge pull request #501 from kiwix/ppa
Automatically build and publish Debian packages to our PPA
2020-08-01 11:34:54 +02:00
Kunal Mehta
30fc62b9ed Publish Debian packages to our PPA 2020-07-28 21:55:04 -07:00
Kunal Mehta
921968da96 Add minimal Debian packaging 2020-07-28 21:49:07 -07:00
Kunal Mehta
89a5e7994e Fix version
The PPA integration will look at this version to determine what it's
packaging.
2020-07-28 21:45:45 -07:00
Matthieu Gautier
21b0bb864f
Merge pull request #495 from vishal-1408/uiissue
Library fonts changed to sans serif and homogenized
2020-07-22 12:01:37 +02:00
Vishal
6e340893da library fonts changed to sans serif and homogenized 2020-07-22 14:41:01 +05:30
Matthieu Gautier
96c5ac324e
Merge pull request #490 from Abijeet/patch-1
Use correct form of verb: store --> stored for description
2020-07-15 18:10:50 +02:00
Abijeet Patro
c0c7fbc171
Use correct form of verb: store --> stored for description 2020-07-15 20:45:11 +05:30
Matthieu Gautier
d4028e95e8 Release 2.0.4
- Add "open link in web browser" action in context menu.
- Improve setting UX (no apply button. Download directory dialog).
- Change fonts to the free "Selawik".
- Do not call `date` and `git describe` during build step to allow
  reproducible build.
- Better about.html text.
- Update translations.
2.0.4
2020-07-15 16:48:19 +02:00
Matthieu Gautier
250599b0d6
Merge pull request #463 from kiwix/translatewiki 2020-07-15 14:14:08 +02:00
Matthieu Gautier
ee452bd005 Update translations.qrc with new translations. 2020-07-15 12:15:00 +02:00
Matthieu Gautier
8cc59e42cf Do not translate {{VERSION}} token 2020-07-15 12:14:31 +02:00
translatewiki.net
32bef4a129 Localisation updates from https://translatewiki.net. 2020-07-14 10:19:28 +02:00
Kelson
0ae3536625
Merge pull request #442 from kiwix/setting-download-dir
Change download directory setting UX
2020-07-10 19:26:19 +02:00
Matthieu Gautier
b91be76815 Fix styling of the settingManager
- Button are not limited in size to contain all the text.
- Zoom factor is correctly positioned.
- Download directory is display without border, left aligned.
2020-07-10 17:42:01 +02:00
Matthieu Gautier
bfe08ade84 Better download directory confirmation dialog.
- Set the title
- Use OK button instead of SAVE
- Use better textual string to allow correct translation.
- rename the function name to have something closer to an action.
- Do the action (setting the directory) outside of the checking function.
2020-07-10 12:11:21 +02:00
luddens
8f1d870553 change download directory setting UX
- remove "apply" button
- kiwixPort and zoomFactor are saved onchange
- download directory has a confirm dialog
2020-07-10 12:11:21 +02:00
Kelson
cc1a664aef
Replace non-free font by Selawik (#485) 2020-07-10 10:52:51 +02:00
Matthieu Gautier
13339b4772
Merge pull request #456 from kiwix/open-external-link-from-menu
add "open link in web browser" action in context menu
2020-07-10 10:51:25 +02:00
luddens
b2dff19e6f add "open link in web browser" action in context menu
reimplement the contextMenuEvent : if the link hovered is an external link
it removes from the standard context menu the "openLinkinNewTab" action and
and add the "open link in web browser"
2020-07-10 10:45:35 +02:00
Matthieu Gautier
27475bfd18
Merge pull request #484 from kiwix/fix_about
Better about text for better translation.
2020-07-09 15:30:03 +02:00
Matthieu Gautier
913b5abff6 Better about text for better translation.
Update a bit the "about.html" text to not split sentences in several parts
and allow translator to translate the whole sentence at once.

Change the template format to use `{{}}` to be closer than mustache
templating system we already use in kiwix-lib.

Fix #399
2020-07-09 11:22:33 +02:00
Kelson
004bd9de4d
Merge pull request #483 from kiwix/repro_build
Repro build
2020-07-08 09:43:59 +02:00
Matthieu Gautier
3193889dad Do not call date and git describe for reproducible build.
`GIT_VERSION` and `BUILD_DATE` are only displayed to the user.
It was useful pre-release to identify the exact version of the build in
bug report.

Now than, we are now releasing kiwix-desktop, we don't need the
`BUILD_DATE` and we must use the exact version instead of the git version.

Fix #476
2020-07-06 16:04:18 +02:00
Matthieu Gautier
3ac6a953a6 Remove old translation file. 2020-07-06 16:04:18 +02:00
Kunal Mehta
9b9ff8ab8f
Fix typo in about.html (#475) 2020-07-05 09:06:18 +02:00
Matthieu Gautier
0e08e18b3e Release 2.0.3 2.0.3 2020-07-02 15:26:59 +02:00
Matthieu Gautier
b44c928049
Merge pull request #471 from kiwix/new_kiwixlib_suggestion_api
Use the new kiwix-lib API for the suggestions.
2020-07-02 15:05:49 +02:00
Kelson
1c4246ccf7
Put white background on new icon (#469) 2020-07-02 09:29:41 +02:00
Matthieu Gautier
97d3c8488f Use the new kiwix-lib API for the suggestions.
Old API is not threadsafe and is deprecated.
2020-07-01 16:54:17 +02:00
Matthieu Gautier
897cd3a49e Release 2.0.2 2.0.2 2020-06-30 17:31:20 +02:00
Matthieu Gautier
d7d43fcaf8
Merge pull request #440 from kiwix/fluid-suggestionlist
Fluid suggestions list UX
2020-06-30 16:52:30 +02:00
luddens
efbfc3374e fluid suggestions list UX
- add a delay before searching suggestions
  A timer of 100ms is started each time the text is edited, if the timer
  time-outs the suggestion's search is executed.

- foreach search a worker with a token is launched in another thread
  Once the search is done, the worker sends the suggestions list and the corresponding urls list to the main thread.
  if the token of the worker matches with the last token used, the main thread displays the suggestions.
2020-06-30 16:22:30 +02:00
Matthieu Gautier
8430ee8ad7
Merge pull request #439 from kiwix/translatewiki 2020-06-16 14:54:07 +02:00
Matthieu Gautier
d3c73209b8 Update translations.qrc to include all translation files.
The file is generated using the new script `generate_translation_qrc.py`.
2020-06-16 14:25:24 +02:00
translatewiki.net
628eef27a5 Localisation updates from https://translatewiki.net. 2020-06-15 22:15:02 +02:00
Matthieu Gautier
2c988568c3
Merge pull request #404 from kiwix/content-type-filter 2020-05-27 17:08:32 +02:00