18 Commits

Author SHA1 Message Date
Jaifroid
cb15c17438 Adopt changes from Kiwix JS for MIME type map
Former-commit-id: f8f1f27226d73ebd6ad158d8ce99235e73fe11f1 [formerly 8f8c60e1f9aefada72a7fb81522f8599aef7d18d]
Former-commit-id: 8c1d6f14aa2d8cfb5dea16ee98a5274dc05a7353
2019-05-17 18:37:00 +01:00
Jaifroid
148d7084f0 Read MIME type list from ZIM archive
Former-commit-id: bb36121aa80b210d11d2aa25bda8c5056629f269 [formerly c6582978b7e04c6700d2c6b9380ee3d9169d23b3]
Former-commit-id: c916a792ca2e1ef9a6d2fa06d9b247716b439368
2019-05-04 22:13:21 +01:00
Jaifroid
b74228ce03 Adopt changes to getTitleOrUrl function from Kiwix JS
Former-commit-id: 99982d22209c3858c60a3e0ffe96ab60a88bee98 [formerly 7c6295f9a2643e4d8f6239e2059cd2de9b7e9d93]
Former-commit-id: 80f68e9b16d27e4db6dd51eeacacb0ffdaf3ce60
2019-05-03 10:03:07 +01:00
Jaifroid
bc9d6e9614 Update title display logic to conform to Kiwix JS
Fixes problems searching for dirEntries with empty titles in new ZIMs


Former-commit-id: a86184cb852ae5a7f87322bebf48854027763c6f [formerly b17c4e37cea3598672a20db86c9307d10629129e]
Former-commit-id: 8f64c073ebe5e312741a71620f7a98e0000c60bc
2019-04-20 12:39:54 +01:00
Jaifroid
5e3bb56e02 Conform search logic with Kiwix JS
Former-commit-id: 125d07e07f3e5040f42adfcfec2704929421116b [formerly 648151107fe2e3bc4cebb4c9beac962461da25d7]
Former-commit-id: faaaa4a98fc0210279d93b139bc254653684e6c2
2018-11-28 09:25:38 +00:00
Jaifroid
31f52110c6 Handle title click and blur correctly
Former-commit-id: 22d847013a5f93a3d8578b4a3c059d1323af97eb [formerly b08717c70237473935ed917bd9a6df35d8a9832c]
Former-commit-id: f184a2e9860ac3430b0614e813ed804bab03c6e9
2018-11-27 22:07:07 +00:00
Jaifroid
cb4288642e Add function to create index & support subtitles
Former-commit-id: 3313e0e43881fff6aac08e5881c113f25a97a13a [formerly 6a0bf2134beb02f74186a3bb7cc8a4a9a432b95b]
Former-commit-id: bee7d932c1358b18aaaac72808ed7433648ab5b6
2018-11-26 20:46:55 +00:00
Jaifroid
f5b95f4e28 Fix incomplete searches in some ZIM files
Former-commit-id: cb0cd14bd44a005d0a1fa784847ac7fe41bfca37 [formerly 17a97e25963e921a257b4de53b2e5c8df90e63ad]
Former-commit-id: f4666707e53b4478de6f0efeb0d8eba1e0e18da1
2018-11-26 17:34:26 +00:00
Jaifroid
59e98f42d7 Remove false assumption about position of assets in ZIM
Former-commit-id: 1d37b1b52a463c09e9cfaa4c73a58168fc9a2786 [formerly e57833135a20a9c53112736db31b1ba44b4da472]
Former-commit-id: c0b464ff633a929c8bb7eb412e58b53174b54ad3
2018-11-24 18:51:54 +00:00
Jaifroid
680ef078b8 Add API for reading ZIM metadata
Former-commit-id: 33cb3effb19de5448bd8407ddf06001c5998c4d9 [formerly c30b6d80c341a5920913e30440b7b96a8e7c940f]
Former-commit-id: 179703a9eff363f912b94f421731280995a74a54
2018-11-06 11:28:49 +00:00
Jaifroid
19293b062d New non-parallel decompression code
Former-commit-id: 8f450fb19ac82d74c3b4bce9580976ddfce6a888 [formerly 5df60d1c810c7b98316e7a1ba5e0133cef329d25]
Former-commit-id: 275e5245e40972f2bb4ae1ce3a6ed34389497421
2018-09-14 11:17:33 +01:00
Jaifroid
6b108c9c43 Add batch control for memory management
# Conflicts:
#	www/js/lib/zimArchive.js


Former-commit-id: 159904a8af5d3ec9038ddfc6f76615081293a59f [formerly 3455d41916b6da268de865dc255f23c110799154]
Former-commit-id: c24aa35f7c5b7e16ba8edd9fa7ef575a915d2989
2018-06-19 09:55:14 +01:00
Jaifroid
14f1cbf49f Change names of read file functions in line with kiwix-js
Former-commit-id: 7e6f2d5a3f8c3ea902fc9c87958b5b5e0c866672 [formerly 7ba0f168a9ddc6da2014342291b853fb37d0dca2]
Former-commit-id: ea1cfa356c4bee876814f747a51ea48ff8835e8d
2018-06-03 18:31:15 +01:00
Jaifroid
4ac6d4fd52 Port subdirectory changes from Kiwix JS
This provides generic support for ZIMs with subdirectories (such as Stackexchange).


Former-commit-id: 0b9aa06145acf4b55806197766d8062dff800d37 [formerly 447b7442ccc2c64013b90fbabbbfea27273a45e7]
Former-commit-id: 8a6dcb872386d9f959dca6c6528cc72af1cb24ae
2017-12-30 12:21:59 +00:00
Jaifroid
b0ac8218fa First attempt to support Stackexchange links
Former-commit-id: dcc10e677e96be2748371b82780bb1b0e250290e [formerly 0ccd9321cf071e480335c69075f234b6c2dce8bf]
Former-commit-id: dcfa5ab5e77ec6a77acaadc096419b2a3f96411e
2017-12-13 14:12:03 +00:00
Jaifroid
943e033db3 Packaging preparations for first public Beta
Former-commit-id: 95bdc88cf6ab680042563423ea6f4911a4ad270e [formerly bddfcfd72ca223a26ad43e7cd076abdc30ec7e55]
Former-commit-id: 3b206c77eb116ebb11a432a12e913def7bbc9252
2017-08-23 14:17:44 +01:00
Jaifroid
5b3bce9f7d Missing CSS detection
Former-commit-id: 6966f027b6435a7b71fe998f66013cdf759dacf3 [formerly 08aea11b749d9dce89e3b427b77f921c6fa9e37b]
Former-commit-id: 5c6b7e39e97781b7e551b0bf0a72fe571b5a7186
2017-07-17 19:02:33 +01:00
Geoffrey Kantaris
2698eea812 Rearranged FS
Former-commit-id: 8debabfafd260d5d202609c41b74b0079b014c75
2017-06-14 22:28:26 +01:00