482 Commits

Author SHA1 Message Date
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
luddens
54d181fc43 add content type filter
The ContentTypeFilter Class is a custom QCheckBox.
These are stored in a QList that is sended to the ContentManager each time they are clicked.
The ContentManager sets the acceptedTags according to the state of the ContentTypeFilters
The "All" button resets the filters
2020-05-27 16:21:27 +02:00
Matthieu Gautier
53d779fff8
Merge pull request #424 from kiwix/single-instance-application 2020-05-25 14:35:12 +02:00
luddens
03796affbe implement the qtsingleapplication solution 2020-05-12 06:20:20 +02:00
Matthieu Gautier
847dccddd8
Merge pull request #445 from kiwix/sort-language-list 2020-05-11 18:20:57 +02:00
luddens
0bacc6d5ec sort language list 2020-05-11 06:01:43 +02:00
jetownfeve21
897e36ef1b
update logo (#441) 2020-05-06 11:26:49 +02:00
Matthieu Gautier
9f0758a839
Merge pull request #438 from Abijeet/patch-1 2020-05-04 17:25:36 +02:00
Abijeet Patro
76a4ecb72b
Fix article spelling in Search article 2020-05-04 19:09:19 +05:30
Matthieu Gautier
b6a0ac4725
Merge pull request #434 from kiwix/trans_fr 2020-04-29 17:30:50 +02:00
Matthieu Gautier
475061296b Remove old configuration of translation system. 2020-04-29 17:25:10 +02:00
Matthieu Gautier
14ce4b226e Readd french translation.
Fix #427
2020-04-29 17:25:10 +02:00
jetownfeve21
daad894bf6
add shortcuts to set focus on the searchbar (#436)
- Ctrl+L
- Alt+D
- F6
2020-04-29 10:17:20 +02:00
Matthieu Gautier
fc9e9a1b51 Release 2.0.1 2.0.1 2020-04-20 10:06:25 +02:00
Matthieu Gautier
f70891cfb8
Merge pull request #368 from kiwix/fullscreen-menu-windows 2020-04-17 17:51:29 +02:00
luddens
2de5e3ed25 fix menu in fullscreen on Windows
Qt is aware about this problem on Windows and provide a workaround :
the function QWindowsWindowFunctions::setHasBorderInFullScreen simulate a fullscreen mode by
displaying the app on the entire screen but add a small border.
2020-04-17 17:30:29 +02:00
Matthieu Gautier
55e290630f
Merge pull request #408 from kiwix/search-ux-improvement 2020-04-17 17:25:49 +02:00
luddens
4fa58f3514 fix fulltext search that breaks the research article
Once the user makes a fulltext search, the currentWidget URL contains ".search"
that breaks the next suggestions URLs. Use the ZimId fixes that
2020-04-15 17:05:50 +02:00
luddens
02c1275d47 searchbar loads an article only on perfect match otherwise makes fulltext search 2020-04-15 17:05:50 +02:00
luddens
cf6a338d49 expand max size search suggestion popup 2020-04-15 10:54:45 +02:00
Matthieu Gautier
5f432ff683
Merge pull request #420 from kiwix/migration_dataDir
Migrate the data to new window's dataDirectory if needed.
2020-04-15 10:19:07 +02:00
Matthieu Gautier
1951084ad8 Migrate the data to new window's dataDirectory if needed. 2020-04-15 09:44:31 +02:00
jetownfeve21
a9a424a2e2
remove hide button's text (#414) 2020-04-14 09:33:22 +02:00
Matthieu Gautier
7cec6cbef0 New release 2.0 2.0 2020-04-08 17:22:18 +02:00
Matthieu Gautier
77c14ee497 Do not build kiwix-desktop with the console on windows. 2020-04-08 17:20:51 +02:00
Matthieu Gautier
c38e43de87
Merge pull request #366 from kiwix/new_tag
New tag system
2020-04-08 12:28:52 +02:00
Matthieu Gautier
ea3224b646 Use new translation system for the categories. 2020-04-08 11:55:56 +02:00
Matthieu Gautier
4f4cfb16aa Correctly display tags in the content manager.
Correctly display the "Videos", "Picture", "Introduction only",
"fulltext index" depending on the value of tags.
2020-04-08 11:53:10 +02:00
Matthieu Gautier
d775b2e95f Revamp categories handling.
Move categories list in `static_content.cpp`
We use two "string" to handle each category. The first one is the
tag to use to do the opds request. The second one is the one displayed to
the user. The later is translatable.
The list is taken from issue kiwix/kiwix-tools#317

Fix #193
2020-04-08 11:53:10 +02:00
Matthieu Gautier
c804cc5d3b Move the list of all languages in another file. 2020-04-08 11:53:10 +02:00
Matthieu Gautier
638d3816a5
Merge pull request #400 from kiwix/fix_translation
Don't use `gt` in the contructor.
2020-04-08 11:52:16 +02:00
Matthieu Gautier
9f346f5f75 Don't use gt function in the constructor of kiwixApp.
The `gt` function get the instance of the kiwixApp.

So we cannot call this function in the constructor of kiwixApp itself.
Move all the (complex) initialization step in another method call after
the kiwixApp is created.
2020-04-07 16:10:57 +02:00
Matthieu Gautier
c8ed41dea5
Merge pull request #387 from kiwix/wiki-translate
Prepare string files for Translatewiki
2020-04-07 15:47:13 +02:00
luddens
ffdfff514e remove Qt translation files 2020-04-07 15:40:08 +02:00
luddens
1325d52d77 many ui translations 2020-04-07 15:40:08 +02:00
luddens
f203eb63e8 local kiwix server page translation 2020-04-07 15:40:08 +02:00
luddens
c113787abb about page translation 2020-04-07 15:40:08 +02:00