684 Commits

Author SHA1 Message Date
Matthieu Gautier
5f0a05e8d8 Add a global_taskbar.html.part file to be use as taskbar in library home.
This is a simplified version of taskbar.html.part without the buttons
(specific to the current read zim)
2017-07-17 18:20:55 +02:00
Matthieu Gautier
4b9dc39c49 Use only one lock to acces zim library.
Search can now use reader. So there is no need to have to different locks.
2017-07-17 18:17:33 +02:00
Matthieu Gautier
08f2373360 Merge pull request #48 from kiwix/no_use_of_tree_h
Remove use of tree.h
2017-07-12 14:45:38 +02:00
Matthieu Gautier
82fb6bc4d0 Remove use of tree.h
All code using tree.h where commented.
As tree.h where install by kiwix-lib and we removed it there, let's remove
its use here.
2017-07-12 10:28:40 +02:00
Matthieu Gautier
17eceeff5b Merge pull request #46 from kiwix/format_code
Format code
2017-07-12 10:06:46 +02:00
Matthieu Gautier
aef20d6c96 Move to C++11.
Code and kiwix-lib are C++11. So compile using C++11.
2017-07-12 10:01:25 +02:00
Matthieu Gautier
4e3ff03059 Format all the code using clang-format.
Add a script `format_code.sh` to easily format the code.
2017-07-05 15:52:32 +02:00
Matthieu Gautier
856bfc675a Bump-up the version to 0.2.
Time to make a new release.
0.2
2017-06-27 15:22:33 +02:00
Kelson
7850e79eab Merge pull request #44 from kiwix/custom_welcome_css
custom welcome page css
2017-06-08 13:21:01 +02:00
Emmanuel Engelhart
62769aed57 custom welcome page css 2017-06-08 13:12:31 +02:00
Kelson
29e281209d Merge pull request #43 from Skylsmoi/335/rewrite_welcome_page
rewrite welcome page (fixed histo)
2017-06-08 12:47:55 +02:00
Skylsmoi
0f480d9fb8 fixed boxes size with ellipsis + moved style tag to template + reduced margin/padding 2017-06-08 09:55:11 +02:00
Skylsmoi
1aeeaa2c3b rewrite welcome page 2017-06-07 11:48:21 +02:00
Matthieu Gautier
2fe1a9443c Merge pull request #39 from kiwix/t38
Add --nolibrarybutton option refs #38
2017-06-06 14:40:07 +02:00
Emmanuel Engelhart
569b4d946e Add --nolibrarybutton option 2017-06-04 18:49:55 +02:00
Matthieu Gautier
e51539d161 Merge pull request #36 from kiwix/new_api
Adapt to new kiwix-lib search API.
2017-05-28 23:15:27 +02:00
Matthieu Gautier
f12a731939 Adapt to new kiwix-lib search API. 2017-05-28 23:11:02 +02:00
Matthieu Gautier
d94423964e Merge pull request #34 from kiwix/full_html_document
ZIM/libzim/libkiwix should provide full HTML DOM
2017-05-22 16:00:51 +02:00
Emmanuel Engelhart
af10b665a9 ZIM/libzim/libkiwix should provide full HTML DOM 2017-05-19 20:37:21 +02:00
Kelson
c2d29376d9 Merge pull request #32 from Skylsmoi/336/fix_display_taskbar_save
336/fix display taskbar save
2017-05-16 14:11:28 +02:00
Skylsmoi
fd9c63c76a Merge branch '336/fix_display_taskbar_save' of github.com:Skylsmoi/kiwix-tools into 336/fix_display_taskbar_save 2017-05-16 11:16:26 +02:00
Skylsmoi
4cc46685f7 fix breakpoint for cybook 2017-05-16 11:16:04 +02:00
Kelson
e30da0c0cd Merge pull request #29 from Skylsmoi/336/fix_display_taskbar_save
css rules for taskbar are now more strict
2017-05-07 10:06:27 +02:00
Kelson
70a652e020 Merge branch 'master' into 336/fix_display_taskbar_save 2017-05-06 21:08:38 +02:00
Skylsmoi
97f0c8ec5b added important rules to set the taskbar design 2017-05-02 16:20:59 +02:00
Matthieu Gautier
da83027710 Merge pull request #26 from kiwix/no_ssh_key
Get dependencies from http server, not from ssh.
2017-04-24 17:20:37 +02:00
Matthieu Gautier
ef9b48682b Get dependencies from http server, not from ssh.
`kiwix-build` now publish intermediate dependencies archives in a
http accessible location.

Let's use this location instead of `scp` the archives.
2017-04-24 17:13:42 +02:00
Kelson
e26244687d Merge pull request #24 from Skylsmoi/336/fix_display_taskbar_save
336/fix display taskbar save
2017-04-23 15:43:22 +02:00
Skylsmoi
2634167f41 fix taskbar design for iOS 2017-04-21 15:00:57 +02:00
Skylsmoi
7edc49c4eb Merge branch 'master' of github.com:kiwix/kiwix-tools into 336/fix_display_taskbar_save 2017-04-20 17:37:03 +02:00
Skylsmoi
36225207c0 force custom design to override rules from libraries 2017-04-20 17:35:12 +02:00
Emmanuel Engelhart
1d61e270fb Add CTPP2 link in README 2017-04-16 20:37:01 +02:00
Kelson
5aecb4231d Merge pull request #20 from Skylsmoi/336/fix_display_taskbar
#336 taskbar is now responsive
2017-04-16 11:06:47 +02:00
Skylsmoi
126781bbb5 removed calc() 2017-04-13 11:52:27 +02:00
Skylsmoi
f045590243 #336 taskbar is now responsive 2017-04-13 11:52:27 +02:00
Matthieu Gautier
f46e560d7f Merge pull request #22 from kiwix/search_in_libzim
Search in libzim
2017-04-11 14:02:21 +02:00
Matthieu Gautier
643293c7df Try to link with uuid only if xapian is present. 2017-04-10 14:47:19 +02:00
Matthieu Gautier
799a47142b Adapt kiwix-tools to last kiwix-lib API (Xapian in zimlib). 2017-04-10 14:47:19 +02:00
Matthieu Gautier
79fdee1df2 Merge pull request #23 from kiwix/travisci
Travisci
2017-04-10 14:46:22 +02:00
Matthieu Gautier
ab623b7176 Add TravisCI.
Now the project is build on every PR using TravisCI.

The project dependencies are get from the archive generated by kiwix-build.
2017-04-10 14:42:41 +02:00
Matthieu Gautier
208050df4b Merge pull request #21 from kiwix/no_indexer
Remove indexer and indexing functionality from installer.
2017-04-06 15:39:07 +02:00
Matthieu Gautier
9ead431b3f Remove indexer and indexing functionality from installer.
This is handled by zimwriterfs now (and zimlib itself later on).
2017-04-06 15:37:39 +02:00
Julian Harty
1e6353330d Please discount (ignore) my last commit, it was intended for the kiwix-apache repo. 2017-04-06 00:05:08 +01:00
Julian Harty
482577fd53 You're welcome... and here's the starting point to encourage you to get involved. 2017-04-06 00:02:27 +01:00
Matthieu Gautier
856b487007 Merge pull request #18 from kiwix/snippets
Update to the new API of kiwix-lib.
2017-03-28 11:37:58 +02:00
Matthieu Gautier
cb20e719ee Update to the new API of kiwix-lib. 2017-03-21 16:33:57 +01:00
Matthieu Gautier
25091c320b Merge pull request #16 from kiwix/kiwix-serve.bugfix
Kiwix serve.bugfix
2017-03-20 11:05:21 +01:00
Matthieu Gautier
35b83144c6 Do not compress only if the content is small.
We do not need the test "contentLength < COMPRESSOR_BUFFER_SIZE" to know
if we compress the content or not.

This is a non sens, we WANT to compress the content if it is big.
2017-03-20 10:08:14 +01:00
Matthieu Gautier
063e9ba80d Use compressBound function to reserve the right amount of space.
compressBound function give the upper bound of space needed to
reserve to the compression buffer. Use it instead of using a define.
2017-03-20 10:08:14 +01:00
Matthieu Gautier
e27ce444c6 Correctly check that compress gone well before using the result buffer.
We need to check the return code of compress.
Compress may fail for different reason, one being that the compr_buffer
is not large enough.
2017-03-20 10:08:14 +01:00