20a2c78733
add get aria2 launch cmd method
2019-11-01 15:27:21 +01:00
9850be7267
add Curl error message
2019-11-01 15:27:21 +01:00
0dd996c6a3
add try catch around aria2 first commands
2019-11-01 15:27:21 +01:00
2500cc8e63
Merge pull request #288 from kiwix/get-bookmarks-api
...
Add a parameter to getBookmarks fct to get valid bookmarks only
2019-10-31 14:38:50 +01:00
bd6797143c
add getBookmarks test
2019-10-31 15:01:52 +02:00
c9a15c9961
Add a parameter to getBookmarks fct to get valid bookmarks only
...
The default value of this parameter is false, in this case all the bookmarks
are returned, otherwise only those who are related to books of the library.
2019-10-31 14:05:21 +02:00
f1d55f8e86
Merge pull request #290 from kiwix/set-port-kiwixserve
...
add setPort() method
2019-10-28 16:41:19 +01:00
a2c2955f41
add kiwixserve unit test
2019-10-28 16:00:26 +01:00
9975e0b369
add setPort() method
2019-10-28 15:56:49 +01:00
efe1c2dea3
Merge pull request #289 from Aditya-Sood/kiwix-android/issue/765
...
Fixes kiwix-android issue#765
2019-10-03 11:25:18 +01:00
2af9ba4eab
Readd original getNextSuggestion()
2019-10-01 13:30:35 +05:30
c007373b46
Re-add comment
2019-10-01 13:30:34 +05:30
e1acf9acff
Code & local repository cleanup
2019-10-01 13:30:34 +05:30
daaadf3e1c
Comment out previous definitions
2019-10-01 13:30:34 +05:30
74bd482335
Preliminary work
2019-10-01 13:30:34 +05:30
2aebffb27c
New version 8.1.0
8.1.0
2019-09-26 15:56:30 +02:00
da247b3242
Merge pull request #287 from kiwix/codecov-badge
...
Add Codecov badge to README
2019-09-26 13:40:57 +03:00
f85ec9ea6f
Add Codecov badge to README
2019-09-26 12:37:57 +02:00
b4fac9d0df
Remove test directory from codecoverage ( #286 )
...
Remove test directory from codecoverage
2019-09-26 12:14:03 +02:00
4f2ede80e5
Remove test directory from codecoverage
2019-09-26 12:00:33 +02:00
c2ecb9d126
Add code coverage in travis CI. ( #285 )
...
Add code coverage in travis CI.
2019-09-26 11:58:49 +02:00
5883dba0ef
Add code coverage in travis CI.
...
Fix #284
2019-09-26 11:34:35 +02:00
7ad6aedd66
Convert path get from windows environment to utf8. ( #283 )
...
Convert path get from windows environment to utf8.
2019-09-25 18:13:59 +02:00
67170709bb
Convert path get from windows environment to utf8.
...
Fix kiwix/kiwix-desktop#203
2019-09-25 18:07:42 +02:00
dfd16155af
Add missing implementation of android's getArticleCount and getM… ( #282 )
...
Add missing implementation of android's getArticleCount and getMediaCount.
2019-09-24 11:57:00 +02:00
0db06d98a8
Add missing implementation of android's getArticleCount and getMediaCount.
...
Fix #281
2019-09-24 11:47:05 +02:00
742156d366
[API Break] Fix pathTools (and a bit stringTools). ( #280 )
...
[API Break] Fix pathTools (and a bit stringTools).
2019-09-24 10:58:51 +02:00
598dd3c175
[API Break] Fix pathTools (and a bit stringTools).
...
Api changes :
- removeLastPathElement do not takes extra arguments
`removePreSeparator` and `removePostSeparator`.
This is not needed as path do not need special tailing separator.
- Only one function `split`. Arguments can be implicitly convert to
string. No need for overloading functions to explicitly cast them.
- `split` function takes another argument `trimEmpty`. If true, empty
element are removed.
Path manipulation now almost pass trough a vector<string> to store each
path's part.
Most of the complex works is now made in the normalizeParts function.
2019-09-19 18:16:06 +02:00
49c0c5ff47
Fix join ( #279 )
...
Fix join
8.0.1
2019-09-17 16:28:52 +02:00
65ebc7fe7f
New version 8.0.1
2019-09-17 16:22:28 +02:00
2f4636e2df
Fix stringTools join function.
2019-09-17 16:22:28 +02:00
f4e9148b1d
Small fix of OSes names in the README
2019-09-17 12:20:17 +02:00
891666b8c4
new version 8.0.0
8.0.0
2019-09-17 11:47:18 +02:00
57a2b98e7a
[ABI Break] Correctly detect the executable path in appimage. ( #277 )
...
[ABI Break] Correctly detect the executable path in appimage.
2019-09-17 11:41:15 +02:00
9b4419f3fc
[ABI Break] Correctly detect the executable path in appimage.
...
There are two executable path :
- The user one (the appimage path)
- The real one (in the appimage archive)
When we search of `library.xml` we need the user one.
But when we search of `aria2c` or `kiwix-serve` we need the real one.
Fix kiwix/kiwix-desktop#256
2019-09-17 11:23:16 +02:00
15d5b4ed58
Metadata ( #276 )
...
Metadata
2019-09-17 11:21:19 +02:00
2f91149da3
Update .gitignore.
2019-09-17 10:38:16 +02:00
6ee174b546
Add a method to get the value of a specific tag.
...
Fix #258
2019-09-17 10:37:53 +02:00
2a6772b76d
[API Change] Convert tags to the new convention.
...
Use the new convention describe here : https://wiki.openzim.org/wiki/Tags
2019-09-17 10:30:24 +02:00
660d5d7fb7
[API Change] Rename getMatatag to getMetadata.
2019-09-16 10:36:04 +02:00
157c1c939c
Add a string tool to join a list of strings together.
2019-09-16 09:42:10 +02:00
bd91e89785
Add missing method to get the zim metadata.
...
According to https://wiki.openzim.org/wiki/Metadata
2019-09-12 15:33:07 +02:00
1245d4e467
Use a macro to get the content of the metadata.
2019-09-12 15:26:53 +02:00
420be55bfa
Reorder methods to get metadata.
...
Use the same order than https://wiki.openzim.org/wiki/Metadata
2019-09-12 15:24:17 +02:00
651cb9165c
Win kiwix serve ( #274 )
...
Win kiwix serve
7.0.0
2019-09-11 15:25:41 +02:00
49046248fd
New version 7.0.0
2019-09-11 14:04:21 +02:00
e42e061d45
Add a way to specify a library to use with kiwix-serve.
...
If kiwix-desktop use a `library.xml` in the same directory than the
executable, we need to use it instead of the default one.
Instead of detect again the `library.xml` to use, let `kiwix-desktop` set
the library to use.
This also fix a issue when `/` is not a valid path separator in windows.
2019-09-11 14:04:21 +02:00
d90774450d
Slightly bigger top-padding for kiwix-serve
2019-09-11 13:50:33 +02:00
9e36c876f5
New version 6.0.4
6.0.4
2019-09-10 15:54:15 +02:00
1a4c434e3c
Correctly cast double to int. ( #273 )
...
Correctly cast double to int.
2019-09-10 15:09:09 +02:00