- 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.
- Button are not limited in size to contain all the text.
- Zoom factor is correctly positioned.
- Download directory is display without border, left aligned.
- 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.
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"
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
`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
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
New field "download path" in the settings page.
To start a download it now uses the download path stored in the settings. Use the new api
of https://github.com/kiwix/kiwix-lib/pull/310 to work.
Display an error messsage if Download* Downloader::startDownload(const std::string& uri)
fails because aria2 doesn't succeed to start the download.
Display an error message if a download get the "error status".
The SettingsManager class has a new member m_zoomFactor with a getter and
a setter. Its value is set at launch and saved with the QSettings.
There is a new field in the settings page where the zoom factor can be
changed, it is multiplied by 100 to be displayed as a percentage.
Each time a file is opened, the zoomfactor of the view is set with the
member m_zoomFactor of the SettingsManager class.
Add an input in the settings page which allows the user to change the Kiwix
server port.
The SettingsManager sets the value(s) of the settings in the setSettings()
method at the start of the app. This method for now sets a default value
but it will use a config file later too.
The setKiwixServerPort() method is called when the user indicates a valid
port. It sets the m_kiwixServerPort member and emit the portChanged() signal
which is connected in the LocalKiwixServer class to update the m_port member.
The server port is now always set before its launch in the runOrStopServer method.
The LocalKiwixServer::openInBrowser() now uses the mp_server->getPort() to
always use the right port. In fact if the user changes the port in the
settings while the server is running the m_port member doesn't match anymore
the port used by the running server so the openInBrowser will use a wrong port.
The KiwixApp class uses now the SettingsManager::getKiwixServerPort() method
to set the port of the kiwix-server