988 Commits

Author SHA1 Message Date
Jaifroid
93ba4de1e7 Corrected version
Former-commit-id: 7dea4155be000623c3a065c72f5d119a9be98a13 [formerly 7f91ed56615b7090c3e51b6efa1a57846e7bbf58]
Former-commit-id: 3c094dfb81193880ac8909eb975744f2988501e5
2018-02-09 08:00:19 +00:00
Jaifroid
3978212a8a Display currently loaded archive in Config when File Selectors are hidden
# Conflicts:
#	www/index.html
#	www/js/init.js


Former-commit-id: d71cc0cbb01be8072e50bbffcbc89b9b044f6b4c [formerly 473aaebaae63447276030347f3ac5fad7c2a381c]
Former-commit-id: e6dc5b2431ff7599e0de625e00dfe40e64ef1f4c
2018-02-09 07:51:33 +00:00
Jaifroid
d3959bb92a Handle empty folder correctly
Former-commit-id: e9afb03229e43f16fb6927f90abcb4a15e09fc5f [formerly b08fb5e47ebf28a496cf00a74e6c3bf07b6cd991]
Former-commit-id: 0384909dd279ed58e964aa3f8dbc8c6ef7099f42
2018-02-07 16:38:44 +00:00
Jaifroid
827c34cefe Less confusing handling of file selectors
Former-commit-id: 4d2633025d9a79eb77df86e4fd2ef6f724fcdc78 [formerly bd661b248cfdef6e06faa200085e3179e9606197]
Former-commit-id: 3264a3abd377722fbaac2d03c5b952414874a9b8
2018-02-06 11:01:58 +00:00
Jaifroid
6cf31b6815 Delete redundant comments
Former-commit-id: d484225ca4408a6d5a2e7f56979ab430ffbd5813 [formerly 30f17e7e23b1f947f2453902ba0974e0fde2d192]
Former-commit-id: 801d7fc4bdf2304189c7fc1006ac21931edb0de9
2018-02-06 07:02:44 +00:00
Jaifroid
0cc7a034af Reduce screen width usage
Former-commit-id: cc9f7edc037f9cb7537899a15fcee52117388a9c [formerly 41550b6821a6bfcd23e40e034b2f4670cf4242b6]
Former-commit-id: b1734a760a412dcdf04c0a2a477fe78829e49b43
2018-02-05 16:36:49 +00:00
Jaifroid
fd2b3c0fdd Fixed regression caused by unclick and deal better with geo co-ordinates in non-Wikivoyage files
Former-commit-id: 0fc746625bad9be2d645db3ed1bf586da7a0e77d [formerly 3f2f3a38f7c25df84b5f09ad6de1541fa4100bc5]
Former-commit-id: ad8bc0a244d969c9f1253184a0ab5c7c9f1b5bad
2018-02-05 16:36:10 +00:00
Jaifroid
57750eb1db Implements "unclicking" functionality of #44
Former-commit-id: 5a1c92e5f58070b74917747d2d289ca0c44c537e [formerly ea4d6a729f1a3cf5f3528265e313c2b89562ac4b]
Former-commit-id: efa18439a300830ed010ac2121def818e23d1bb1
2018-02-04 17:54:43 +00:00
Jaifroid
a8c7301b2b Remove bottom toolbar in Settings and About #43
Former-commit-id: 95a337f13e1cdb9d54f7650d97f74f820d4c5936 [formerly 8245427f11349035db2b61e52ce1c7f0c08b604e]
Former-commit-id: 0ba47b1571319097fe4348c8b04c481d8cb19442
2018-02-04 11:55:01 +00:00
Jaifroid
83920d0379 Preparation for Release 0.9.9 (Beta)
Former-commit-id: 7232b6bbb3b145005b3a085b6871fcf15f8bae90 [formerly 288a490d98af58cee9cdc7094d6188bf987e3ad5]
Former-commit-id: 528a3482544170396478f20d52be2a68eba66246
2018-02-04 11:52:46 +00:00
Jaifroid
7235c1f252 Further improvements for #44
Former-commit-id: 897fd4f90df74a5be69aa646fbb421562becce7e [formerly 40459c7aeb9cadec7301057e965b871f12c525f4]
Former-commit-id: de70045ade464888e87aadcb759dbace170c092b
2018-02-03 17:26:08 +00:00
Jaifroid
58f848ce3c Test for svgSliceSize = 1
Former-commit-id: 7d4bd30a382a2ed1714f580a000827628e76cb27 [formerly 7e85681dd064defd5e1908bb4a6dd9647272f11b]
Former-commit-id: dc0da4026d7d8d0adf31aca33984a090420b980b
2018-02-03 16:56:27 +00:00
Jaifroid
d6040fc65b Prevent Settings tab from remaining selected when article is displayed #44
Former-commit-id: 169e5569b86eb903a89680a4be575c76b9b4c714 [formerly 27aab2c6efe25bcf81a8ba9da86a19351e163de6]
Former-commit-id: 607dbedb7655a52e4b03f9c277a03512473f6817
2018-02-03 14:44:46 +00:00
Jaifroid
24569e66a3 Testing bundles
Former-commit-id: 833824e2d9dcbca9559e8b1a610dc08362b4eb8e [formerly 341416c401b3bdcaf2a7d8b0cf71e2d077cbdf54]
Former-commit-id: 1fc6607f4dc7a8b872aff8e284e079353aff232a
2018-02-03 11:42:52 +00:00
Jaifroid
d33f3d7270 Reduce svgSliceSize to 2 for testing #49
Former-commit-id: fbefc1f4af417d55ba3d9984091e2c7a68809ec9 [formerly 7e1c7af07eda0e6498ed259765b1f1f559dda8c9]
Former-commit-id: f11c0acc076adffbf0bc9ce7243d98e2c6fdeece
2018-02-03 11:18:38 +00:00
Jaifroid
f3b3447735 Fixed accidentally inverted icon
Former-commit-id: 4b49852067249fa28eda3e70b6331d531933ccd8 [formerly f20f7a01864b09340c2f7ac6fd97a259def41550]
Former-commit-id: 745e5351c984b6fa33d394c60c75968dc61d654e
2018-02-03 11:06:02 +00:00
Jaifroid
310ee32bdc Unhide erroneously hidden IPA pronunciation info
Former-commit-id: 3ec120f80ffd3015bada93791d8e5c635a9a4b6e [formerly d7abcaac6fccc57f81d76907afdf05c3bb05e926]
Former-commit-id: 713d94dc991d285750cec5af86ea4d04a34f3b63
2018-01-26 06:39:34 +00:00
Jaifroid
4ba900c2be Deal with multiple displaced hatnotes in <h1> block
Former-commit-id: 72a5df365f6a20dc99f11a5aa0e67568b905f333 [formerly 666fa3217a5a7925453b660a5d8c238d2bdbf855]
Former-commit-id: c093d3d5ec946744e32c9839c71a61bd72705505
2018-01-23 09:23:52 +00:00
Jaifroid
2d1b68837b Changes to Dark Theme and display of file version on settings page
# Conflicts:
#	www/index.html

# Conflicts:
#	www/index.html


Former-commit-id: be002eaf42d4352822d469dfadb29603f9e0e9c2 [formerly 22ec64ef09e388b139d1f2c24ff985770a8e355b]
Former-commit-id: 56c5dde984bcff3f8bb1a50f3d788b2c51462dab
2018-01-23 08:34:24 +00:00
Jaifroid
0af4012629 Changes to pass Visual Studio tests
Former-commit-id: a037184b97f424ed24f1c3a8bea01ea4bca02eef [formerly dfdce8fdec192226490abe0edbb5af8c67b5f2a5]
Former-commit-id: ba1ffd3931d64d6a0cdb49251a4ae14b2367da06
2018-01-23 08:30:15 +00:00
Jaifroid
fc8ea90c86 Use XMLHttpRequest instead of UWP (works in some browsers too)
Former-commit-id: 16ba25c565e42313468b66cdb3ad6e4dd9e2ae05 [formerly a7f0b775a9e8315bd6e58fddb44b27a8cf6df768]
Former-commit-id: f3a87f458504abed3708f0a1875cc8d74181bdb6
2018-01-22 21:11:34 +00:00
Jaifroid
0252d30590 Allow for caching of start page in UWP
# Conflicts:
#	www/js/init.js

# Conflicts:
#	www/js/init.js


Former-commit-id: a44f023eb3f34a38aabdab5ec0138d2cbfde6c82 [formerly f3d8bab563f63558593e36dc674e2216c2496023]
Former-commit-id: 5ac40c965290c2c9de2f6886aa69a216057638fd
2018-01-22 14:10:16 +00:00
Jaifroid
6e4b94ad79 WikiMed icons for all Kiwix packages
Former-commit-id: 8fef734922b1876bf539095a108a82a79ec20134 [formerly d8e5ed231e54a90c9d9b85fc18abe1f16896b65c]
Former-commit-id: a222be61a533ce59e8e2e9b54a7df1e0c9d273d0
2018-01-21 15:39:56 +00:00
Jaifroid
5f22f89ffd Works around misplacement of noexcerpt disambiguation note
See https://github.com/openzim/mwoffliner/issues/182


Former-commit-id: 99389e97f3cfd4062aef2d4b67c2ca6966f6fdff [formerly 3864eb7b4b5fc139c0ea2f0e92588db211790eb3]
Former-commit-id: 6f581cc64cd03944da04817a6f118ac1b55a9c33
2018-01-13 18:14:57 +00:00
Jaifroid
a58251beed Simpler less error-prone way to move infobox
Has the disadvantage of placing the infobox out of its DOM hierarchy, but visually this makes no difference and it is immensely simpler.


Former-commit-id: d6e89d34fadbbdc9c210ae82353527bc01162450 [formerly 17e35bd419bb96b92620225a84111aba77a61f66]
Former-commit-id: e2ca8348b1215be1bdc6e3adbe6747f52ca554fd
2018-01-11 16:04:57 +00:00
Jaifroid
61d76711a2 Works around mwoffliner issue with hatnote
See https://github.com/openzim/mwoffliner/issues/182


Former-commit-id: fd9167f2ed1de2f427f0fb02057dea9b3514241f [formerly adba26f8d5cb0f14b2b9213282a5fb4dea6fda58]
Former-commit-id: 22bba4f753a98bb2b68a4531b7e2e2e0c006d441
2018-01-11 16:02:23 +00:00
Jaifroid
e1c68a6fcb The configuration with shim is required for modal!
But IE needs "define" instead of "requirejs"


Former-commit-id: d256f8e3086a8635d82cc8ddbd0057e7a896acbb [formerly dfda47efcc688f226f99ce07544510a3095ae2c5]
Former-commit-id: 4807d5f7b7a7814e8dd7dbef54bc20c3954a21ce
2018-01-11 15:56:31 +00:00
Jaifroid
dcc570070a Support quickbar style infoboxes and new regex for matching infoboxes
This needs testing across different ZIM types


Former-commit-id: 2e0512db320679188ac125acc168fcc331bb977a [formerly 520a9483b91820ea3f724589b2b83ab412cd7c99]
Former-commit-id: dc3ae991a1b4b9a876cfd62009eed06443d16581
2018-01-11 11:33:14 +00:00
Jaifroid
6afd699341 Remove abstractFilesystemAccess (not used by UWP)
Former-commit-id: 8e39abe1fa335d5917eeda36cd409a7f641e8bef [formerly 22814d59ac8aed34907381852a847b8d8f799578]
Former-commit-id: d115056c2c2bef04728a7fe2862662224353558e
2018-01-11 07:53:46 +00:00
Jaifroid
e9f959837a Support IE (backtick syntax doesn't work with IE)
Former-commit-id: 5481319b8d98900f4972ad9b4f41b77f974ae022 [formerly 48b52fdeb79de0bceab1d037c74efa16c19d1491]
Former-commit-id: 45bc9ae5b100560b0a529da1fcc638cdfdd3c058
2018-01-11 07:50:31 +00:00
Jaifroid
4b2efa45ce Simplify requirejs configuration
Former-commit-id: 2fa27fbbe5cfa88bc85022d02583803465df4eba [formerly 9c6d5d2071e5988347aabd0dad779d95edc702a3]
Former-commit-id: c06e5e79a926498356e81945dadb1f0571b8b2fd
2018-01-11 07:49:51 +00:00
Jaifroid
22ada67fa6 Update require.js to 2.3.5
Former-commit-id: a72228fe73adfe6f0aaf8c0636b09a41aaa943d5 [formerly b1db53eeef4922a6a1f3da8ff1aa375d4058c947]
Former-commit-id: ec28085cf4acd7abcf41280513a1d88f895e35c3
2018-01-11 07:48:23 +00:00
Jaifroid
662a4b6e6e If article not found, redirect to landing page
Former-commit-id: 958d1b77089b12d701cacc01a17e9ffdcb5858c6 [formerly 27e7d383239bac21724bb4502137c7e9304dc8de]
Former-commit-id: d0effa2fc1d4d5a25ca7cb32a511b0eddb800614
2018-01-09 14:14:52 +00:00
Jaifroid
1b1c658ea2 Simplify toolbar logic
Former-commit-id: f53a4c0f32daa9dfa4156c8aba42be9bb17e31ff [formerly 0621743efdfdc9453e366227741c4c73ff0cee18]
Former-commit-id: 9317f6bf8229000ff53d12c8beed35b5c32d847d
2018-01-09 11:10:48 +00:00
Jaifroid
971e969089 Preparations for 0.9.7 release
Former-commit-id: ad08c2f39f5aa93c2d2ab5e4e24108b944766c5b [formerly b5b0feaa66f1945f7ea5079289269b839eeeb4f9]
Former-commit-id: 94e2cf4e68e7f592ca7810f31c8f573be61ee260
2018-01-08 21:44:16 +00:00
Jaifroid
028a3acff6 Adjustments to infoboxes
Former-commit-id: 5cdc33e824fc0a1ae2aa42cd30b55b89e628bc54 [formerly 43a040d13fe70626ca86e1dff1dbf8e54da3fa31]
Former-commit-id: c4d92479b445fdda3bf3010d366985d1d81f1049
2018-01-08 17:50:18 +00:00
Jaifroid
117cf3e8fc Fix issue with images and info boxes not stacking correctly on Wikivoyage at small screen sizes
Former-commit-id: bc31c59620d022c103bdb05b01c9c87e1df8a775 [formerly 31d3a5957fc22625fd23a3c1e1508c505ad0627f]
Former-commit-id: 55107dd17c956e2709dc1840d89f2db72e5368ee
2018-01-08 17:16:37 +00:00
Jaifroid
ee37df3f17 Ports main changes for #38 to Kiwix JS for maintainability
Former-commit-id: 4115910da01296ad0555a065aa82430a3eb60b71 [formerly 52618329a1d306910c29b5ac3ab73ec19cb0888b]
Former-commit-id: 881438927465a586986b3725127e4c97af0ff329
2018-01-07 18:17:00 +00:00
Jaifroid
8b18be9ce8 Fixed a regression in the random page function that was affecting #37
Former-commit-id: 42296ff5660f1641fe192acc228a20d73e9e569c [formerly e549900ce3a9f523facbb3d69f8116136de06552]
Former-commit-id: e0c4280e754da652543ba645dd7783e64906a089
2018-01-05 18:06:22 +00:00
Jaifroid
dedc79c2a8 Fixes #39 Simple Inversion setting
Former-commit-id: cc618799c4fe2a32ca330634360e9a96648913df [formerly 38d2ab861c6787815cd93cfa75fb764d0ac31ea8]
Former-commit-id: 20f9c8ebfd7df7d822ca932ca86334b19041216f
2018-01-05 15:42:56 +00:00
Jaifroid
b934cc809a Fixes #37 Last-visited page is not remembered
Former-commit-id: c8de1c053f5a44e0c7d0708e3c69ecf0f88865d0 [formerly 716820444e457a85af9d535cb48ac1a210f8ab1c]
Former-commit-id: 8258a05445fa7184674592eab230373c84d2124d
2018-01-05 15:38:47 +00:00
Jaifroid
94ebd657e1 Clean up remaining geo links
Former-commit-id: 5429c04549dfc054fc9b2a631ef75d4d921baebd [formerly 0295848f9a16a7e9d3e2b2bb943aaed1d35f1ebf]
Former-commit-id: 617e2c876222486b974dcf1e2228cb45d7b32c73
2018-01-04 10:27:59 +00:00
Jaifroid
7ad3456332 Corrected display and styling of German Wikivoyage div-style infoboxes
Former-commit-id: 3e7b3acc48c0d3298f3d6b19cd401c1a40a0f529 [formerly f8f72fc88d7135d2e1a25be13ae7a8f6b7131436]
Former-commit-id: 59138207ad0c7c34eb895388fc239a92e4c9a8ec
2018-01-04 10:07:25 +00: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
547a034284 Compensate for offset
Former-commit-id: dac1e3c8c761c81272e02f16975e350ddbdffe01 [formerly e3d1bf2c665aed83f527605c3715999fc87aaa5f]
Former-commit-id: 8d78325107e9f39951e230dc17996d88bcb6034c
2017-12-29 08:26:27 +00:00
Jaifroid
47ab9f43a5 Inject footnote backlinks if the ZIM doesn't have any
Former-commit-id: 3cc4c5a3bc08b063ebdd850262d9ec6e18d737e3 [formerly ace5165a81c46b83c8d6a12a34e7f27b2af7e7fb]
Former-commit-id: 0e93cef3e6a1d12bd00e7e2bcd4c5ad8e877289a
2017-12-23 09:29:23 +00:00
Jaifroid
637e87581e Fix issue with incorrect scoping of mobile to desktop transform
Former-commit-id: f71303631e8029125371fb263d3a821cc3e54946 [formerly 21bcb3371a60385d4c27c275f2a86f6fba4e1bf7]
Former-commit-id: 7bb6930d8f18e7511003f0446904694551d66bcc
2017-12-20 19:48:45 +00:00
Jaifroid
c6cd1718ad Updates for 0.9.6 release
Former-commit-id: 7bf535206f555fc4be641e16f6b7d3f1951036c8 [formerly acf3f3db96d95ebbfd5bdfa781b17b68a8893c27]
Former-commit-id: d94c4ab4955d255a12fe016194f6af950a84ccd1
2017-12-19 18:18:14 +00:00
Jaifroid
07644bdf87 Support geo-location references in German and English Wikivoyage
Former-commit-id: 6134f63df2aa1f7c86441239481b9452847e03f1 [formerly 637f74e66e22ed2651f558d2cc85d8b0d12003ef]
Former-commit-id: 199b5adc29adfdf7629ca5b14a726684bedd270d
2017-12-19 14:01:38 +00:00
Jaifroid
5b8130bfe3 Added tooltip
Former-commit-id: 4d8d7269bb37ed057251641d8d42aca7b138111e [formerly fa7db0c37a147e765c05dc1cba160ff5a707e2f1]
Former-commit-id: 93cd111f647ec61a3cd3e2447746b7f99ed7cd30
2017-12-18 16:46:31 +00:00