672 Commits

Author SHA1 Message Date
Jaifroid
b0dc78b417 Fixed ToC unhandled exception with accented headings
Former-commit-id: 33f2c7bca56a77b49fbb3f75aa300853e7b3c20d [formerly 4af1c8b4488e85439cbd93f175ccbe5aa49edf3a]
Former-commit-id: 40031025a66afdaed7f326b346541240ceefb438
2017-08-16 11:05:37 +01:00
Jaifroid
9895744a35 Bin
Former-commit-id: fa435865606d0a1e8f67f5af2a6515ccde793b48 [formerly ef121b5cba9ed29a3057c441a08cc5c98095bcd6]
Former-commit-id: b0637de399f8772a199bd1ac1690c05791a62d28
2017-08-16 09:55:34 +01:00
Jaifroid
5b05f9d2bf Better Table of Contents handling
Former-commit-id: 8315eb1b130d0bd1de2e6f5b5d6cc673e014d4b4 [formerly 8638113e0596e652ac01d9a3da874277c4c2a017]
Former-commit-id: 17ef1aad4e9df6bfe299ccaedeb4e640c034d1da
2017-08-15 11:33:31 +01:00
Jaifroid
533bd6e1d9 Bin
Former-commit-id: 9625b1231dcef4334ad3b0dd0d630b5a19ce0289 [formerly ad97ec4985a6903a2fdca7906a574be5cdd3e459]
Former-commit-id: 314d4d48b302e11e35f36f75fe387651deb6e072
2017-08-15 09:10:29 +01:00
Jaifroid
0ed8e72bef Further CSS improvements and infobox detection
Former-commit-id: 186cb1f2c662602f2ed5344efa37fd6b8105f385 [formerly 868bebb6ec6985406f5d437f7fb17e194c0f834e]
Former-commit-id: 329a584b6578dc1cfb6153256daf03d366c4c10d
2017-08-15 09:10:05 +01:00
Jaifroid
3a950bbec4 Better transformation from desktop to mobile
Former-commit-id: 87ed3301c1b740ce0ac9b47cf2aaad141e758676 [formerly 1c9327a6c4fd251aef5fdb2befe9b9a1a6b78a1a]
Former-commit-id: b69a30aee302c7ca74b84088c9e5a4f47159cdad
2017-08-14 20:54:48 +01:00
Jaifroid
6e6681db6b Bin
Former-commit-id: 7eb6d65dbc75e7ee1e0f78f187168112f7ad583e [formerly e42d6100b4a278a378ce784b8b024b020db17f48]
Former-commit-id: 42c5ba539fdfc5a79036b9495ac705c7e06cfffc
2017-08-11 07:15:45 +01:00
Jaifroid
3ac0cc2aa3 More inclusive processing of maths strings
Former-commit-id: 0c4a99c7315fefbacca12085ec8190a3a8c94f65 [formerly 6eedc7c009bbb3407064d23fba03ecfd0c93ae7a]
Former-commit-id: 91684eed7ed37b42492370c5b26281987df01fba
2017-08-11 07:15:17 +01:00
Jaifroid
f9973cef3d Added missing CSS from new ZIM type to cache
Former-commit-id: 98e128ba1ab4cfadf6f00b8dcf87985b243212d1 [formerly 198de12324e711972da980e7dcfeb1eb932f9d0e]
Former-commit-id: 1a82cf60d6b95d853412224e71fcab6e5eade40b
2017-08-11 07:13:44 +01:00
Jaifroid
438560f4b3 Bring in PRs from Kiwix-ja
Former-commit-id: 4266197db38226b4e852d5bb8219e90e83d7a23c [formerly 29b4bba71d6341b685de12eac5fb882da1340209]
Former-commit-id: 4bf2a04188f5a69e5c7f1f487100aec3f588d8f2
2017-08-09 12:04:42 +01:00
Jaifroid
95b92a0513 Fix for Firefox "Math Processing Error"
Former-commit-id: 1d35e651706a198071f794f3f2d321ba692a10f4 [formerly 8ff1d06db885ac40eebee955a5e2fa79974d681d]
Former-commit-id: 31b6260cbacba02001aedc53f1f3fe4cf0d7d86a
2017-08-09 12:04:05 +01:00
Jaifroid
cba1f92a45 Bin
Former-commit-id: 9f8df14665c44773bf84c641051c96131b48d9f8 [formerly b095bdd0c663f65606b6dd63b221fc0af52f1537]
Former-commit-id: c329c367465753e9a7d42a2c766ca10d2ad6e2c0
2017-08-09 10:22:26 +01:00
Jaifroid
32017bad8a Show welcome text if ZIM has no main page
Former-commit-id: d8d49d3f0fa75ad431e742782c968a995040224f [formerly f800093be13f8423409cb120ec1a6a3b9823cb28]
Former-commit-id: ec58a2d4671aa50eb73bf4b9bdff6c66ebe79d7f
2017-08-09 10:22:14 +01:00
Jaifroid
c950bcbf14 UI Dark Theme styling
Former-commit-id: efbef5a360ef04c59d0a3aa204c75323a94e448f [formerly 2b25b2255338fb29c9843109b56ac391dcfeedbf]
Former-commit-id: f56f2b4756a70dd933e0e020b8fa578d1f166058
2017-08-08 16:04:05 +01:00
Jaifroid
8d47c2f1e5 Dark theme tweaks
Former-commit-id: 60e68bbc066ec878948a61cf82f4ee0f2d0c1f30 [formerly 4bf7c4955c4f435f93d4bf46e23344827cf1debe]
Former-commit-id: bc6c925ff78933a9bbb6f573efec57d7cfabe2c3
2017-08-08 09:18:08 +01:00
Jaifroid
ce64c949fe Huge improvement of MathJax processing speed!
Using one of the combined configuration files they provide.


Former-commit-id: ae2430361b1cea52f7679511f748dfd5b2b061ec [formerly 1f161ec26eaf91ac0e61160c78b2e77352c2b8a6]
Former-commit-id: e5660eb9417746400c81205f5058000edcc1d732
2017-08-07 22:24:02 +01:00
Jaifroid
b9e988dcad Bin
Former-commit-id: 78e27610f6697ca8b0082b370d1767f526ef6b94 [formerly 1df6719041b188ec11cfd59db0b9df4800c7826e]
Former-commit-id: fc08084da410aa3ab8a87b5119d14ddf3a6419c8
2017-08-07 15:12:45 +01:00
Jaifroid
2635d564fd Prevent display of "Undefined control sequence" in MathJax
Former-commit-id: 886300e1094b4c20369c1854651e23759e863154 [formerly 9409e35f204fd689d25613682cc33dc6d5dd0b76]
Former-commit-id: 1fb691dfbbd57789a4f7428b8c4f1eba65a795b2
2017-08-07 15:12:33 +01:00
Jaifroid
41c2cf6d16 Release 0.7.9.0
This release includes MathJax support for displaying equations on Wikipedia pages. The display falls back to SVG images if the TEX string cannot be located.


Former-commit-id: 63fa9887e2d21d70b2bfab720f7e0ed353039c32 [formerly e54a69de7d687d7638d9dc10f8846616cd4f45de]
Former-commit-id: 8a221aafe0803f213ac2bd3769471510ecc32942
2017-08-07 13:46:18 +01:00
Jaifroid
f8917dec6d Add some MathJax checks and AMSmath support
Former-commit-id: 0aa283e8a81ccef805a5291ce542fadcd046cf5b [formerly 8035fadee8e63ab5cc921bbdc36305b0f10bffd8]
Former-commit-id: a9c67045928e431a5b849de4c68ce589c8069564
2017-08-07 13:43:16 +01:00
Jaifroid
3a2b534399 Added experimental support for typesetting equations with MathJax
For now, only mathematical equations are typeset. Chemical equations are not yet detected or supported.


Former-commit-id: 12924d51ad73d0cdc61d7665abe5fdf59f186c05 [formerly 02d0a4875fefdb169002e9b0558818cbee99330c]
Former-commit-id: f38d1b37e38b0d3ab3f8a4827fce2f81021723d9
2017-08-07 07:11:58 +01:00
Jaifroid
14818c8cd4 Style modifications for dark mode
Former-commit-id: b828f9a08770d15bb9b830d0324db895d85cad08 [formerly ad5ce87002fedac7d41086c3aaa98c769b70b28d]
Former-commit-id: b81453a77b562eac21c1146f28556ff48891052e
2017-08-04 16:38:00 +01:00
Jaifroid
8e97cc39d7 Update Kiwix HTML5 string to Kiwix JS
Former-commit-id: ea1e66e5974a0c6b91b7d903b1ac2bd39a699416 [formerly f5cda71c739b441fd6b7559067a5892e6536b979]
Former-commit-id: 7ee2e4e9fdce170f8435f281d04139311321e583
2017-08-03 17:45:53 +01:00
Jaifroid
6ff69e590c Various dark mode and css handling improvements
Former-commit-id: d0a080bec32427dcf2b1b388ad3229ce8620f5b9 [formerly 3839a0289d22484a6c53c0ed5d3f5a952a85de88]
Former-commit-id: ec3b64d503e20a4e11f8def1b84e86fddee2496f
2017-08-03 17:34:46 +01:00
Jaifroid
6f30761378 Ensure Kiwix icon is rendered correctly
Former-commit-id: 692c89fb6a88f76590d5774e99049eb8fee9065b [formerly 224b8954c6123ff234192f5492ca91d0ab4408da]
Former-commit-id: 47256528b0132a979558fff0c07bedb81fa0d456
2017-08-03 12:30:06 +01:00
Jaifroid
d8c132c06c Fix icons in dark mode
Former-commit-id: 6753b7c60306dbb67d4b2aadc9df926aadba6274 [formerly cfcd45edff58d42de3aee02f0c1b7512be6e127e]
Former-commit-id: 258fb4df4538042dc43fc2f0082903bc8eaaf4a8
2017-08-02 22:49:31 +01:00
Jaifroid
fc642b87a9 Tweak to dark theme
Former-commit-id: 5b35025df5b913e915ad47d245ac5f0860d989c7 [formerly d734d24f020ca6e3c8330b931dcf98c83514cf3c]
Former-commit-id: 2a44bebaf340add70dd6db9b7714c4cba16e99ba
2017-08-02 17:39:53 +01:00
Jaifroid
984961dd13 More dark theme support
Former-commit-id: 1892a8ff4703baf248eca2f5118b01bf4bc03368 [formerly 322abb0a87a64d1ffbf23dfe7f8908b4bd47e522]
Former-commit-id: 5eb1290bc7eab5822f12438856b09836e0c6e2eb
2017-08-02 16:33:40 +01:00
Jaifroid
5d5916ae4f Support Wikivoyage dark theme
Former-commit-id: 8ae98920e6206b6d0db1167c7b5008b2472a2774 [formerly 8c5bcc6f18b24b9c9d9f304761f32a2fbad7590a]
Former-commit-id: aa8bbada684a4c6093f6b64ac29e60f94d3fbc68
2017-08-02 14:59:19 +01:00
Jaifroid
71d75f041d Bin
Former-commit-id: 2865114681df801218cd1cae2c2167e4aa4857a5 [formerly d7b3a6896821e170929629030c743f3538b11945]
Former-commit-id: 4cb3a59fc8af3cb743bb82d9d7137dc4853d094e
2017-08-02 08:24:50 +01:00
Jaifroid
d673056832 Initial support for a dark mode UI and dark mode Wikimedia pages
Former-commit-id: 62b2cd7dd8f827f22d73445a782bb7c12fd79401 [formerly 30bbe95e4b584922ca4b7efbcdd1065388b87c18]
Former-commit-id: 91180930c089716d18d9fb66a97af726305fa0cf
2017-08-02 08:24:28 +01:00
Jaifroid
1d7a807175 Bin
Former-commit-id: 55447de3680121f61033f7db1c8e3469242f588e [formerly c2733b0ecf317347870dc51030fa0f33111ca08f]
Former-commit-id: e3d8a13c3e8e6898f9b4299adb51076a4e6962d3
2017-07-30 21:55:14 +01:00
Jaifroid
8b1f8ead88 Support new stylesheets
Former-commit-id: 6a867f670d2f5f596eaae2dc94bbe8dffac9835c [formerly a6fc39bbff542ef0750f3944e19d7380465da307]
Former-commit-id: 5b0ceefb2ae0c5b5ddb40a2b831c96494e6d7a2c
2017-07-30 21:55:02 +01:00
Jaifroid
e36dca32a5 Correct image placeholders in FFOS and Firefox
Former-commit-id: 31cd70e19d8b80fcbb1f7fc43af02d3bcb589788 [formerly 97dfdaae65646f82475b3d29f6373e56f5837510]
Former-commit-id: 7ffc40aae48f8e6046975938273729cc686cc9e1
2017-07-30 19:19:40 +01:00
Jaifroid
943a26e866 Bin
Former-commit-id: 89fda6cf698ddbe1da3326668cb6e1bbb0c5d1fe [formerly 0b57aaab9cca67a224d411f73bd69a720f3379da]
Former-commit-id: ba19a5adbcb99e1c7f50e4e434883c3794750b99
2017-07-30 18:07:08 +01:00
Jaifroid
62ca01f3e4 Responsive settings
Former-commit-id: 31182560b40a6fa8b592796da9d3edba3a215928 [formerly eb5e72a68517789751f08a1724dd2f86473fc2c3]
Former-commit-id: fc9c71ceffae7226d0410406c5bb70a6a27f0752
2017-07-30 18:06:39 +01:00
Jaifroid
022e04a450 Major upgrade to image-loading mechanism
The mechanism now detects which images are visible to the user, and prioritizes them, triaging the others


Former-commit-id: e576560f96812e3aa895910d1f8ddc3c71e6c84d [formerly f2a5a2c932addfac93ceec103bcca4d2c5365a3a]
Former-commit-id: b2cc19d260aa95807e2a92cd621cf203b15e7c4f
2017-07-30 18:05:38 +01:00
Jaifroid
19ebde3312 Release 0.7.8.0
This release includes better stylesheet support, progressive "download" (from ZIM file) of images, and the ability to prevent all images from downloading and to download them on a on-by-one basis.


Former-commit-id: e28a08e13fe539abc6714751fc3ebbded5f14cf3 [formerly f65eacefb5e4e48aadd305a50c366bf6737a1e9e]
Former-commit-id: 6b4d1d1fb2844572472575f45880aa08f02e9d1f
2017-07-24 22:19:09 +01:00
Jaifroid
da46ea44e9 Bin
Former-commit-id: f69c1f06e2cb5af9222c81b3622f7825e87fd2eb [formerly 62e9ff412ac6e5079ed1b33e519c16f8e71795fe]
Former-commit-id: 9fdd4edb18a1370d46bee0233053c4c39fda0a93
2017-07-24 22:14:20 +01:00
Jaifroid
3bd9668dcc Changed image placeholder colour to less obtrusive lightblue
Former-commit-id: aefca71e6cedcefc5e5e891bac9cc0645ea6d25d [formerly b426899d3b9c977e30fb133e3979130f0031d5e2]
Former-commit-id: 26c1482775f6f1936237ee3bb26bc22ef6a9b248
2017-07-24 22:14:10 +01:00
Jaifroid
4dd9e884a1 Supports Firefox for image hiding and showing
Former-commit-id: ffcdb7cfe7edb5dd25511a56015af1123c306b3d [formerly e53230fbc58614559785ae38684721141fb289ce]
Former-commit-id: b22b1e9ca13197e0bbac1ad5cfb48aecc340cdb3
2017-07-24 18:43:58 +01:00
Jaifroid
a6b4c2d67d Resets background-color
Former-commit-id: b792c15feb54227cfed0537158b1a37d266279e8 [formerly f8ef401e0c4234966ea989e29fdc86881be08ac2]
Former-commit-id: cd2c9ce49680c9a90692dac1dc82ffa882963b2c
2017-07-24 17:30:32 +01:00
Jaifroid
f33d4f309f Instructions for showing images
Former-commit-id: fbb0a884d741946ae0fbaf153a932846d09c9f80 [formerly e04d4d37747e93eb970507503264f13435a5a0e4]
Former-commit-id: 040f413b74535b152720bf07630390e66ec40330
2017-07-24 17:00:13 +01:00
Jaifroid
18087526fa Allows user to show images selectively
Former-commit-id: 0795cbed19a602a7a4863addf70dcad51bd19851 [formerly b105613908c1edaddedad19e447f4ab1608c2ea9]
Former-commit-id: 9f30098a303fffee1c17a598713851da1c24e9cc
2017-07-24 16:56:48 +01:00
Jaifroid
b24aff7fdf Support CSS for infobox_v2
Former-commit-id: 02a8997c26f0cd985f5d2e38602c3a33ac5b31be [formerly f19315204c572f591f649e64d5ab9e507b9f3a86]
Former-commit-id: 528cdf9aebc7902b3cbee04abbe1c487b1f39447
2017-07-24 16:56:03 +01:00
Jaifroid
5d28293ea7 Build
Former-commit-id: 80e29db3ebb3b0a504159f52d9d170b44029da45 [formerly e870f73aa97415627a2f61358249f5c999446bf5]
Former-commit-id: 65533095b19c30bc09cd1a1a78fd55648dc80073
2017-07-24 08:38:07 +01:00
Jaifroid
286f278478 Supports optional display of images
Former-commit-id: 27eaf0101bc019fda5c1d820929151206af6c869 [formerly 08a2619294ae0334d8fcbe1119a09376af606019]
Former-commit-id: d70bfab87e6d70862b4923e015b3eaa0fcae2e8e
2017-07-24 08:37:47 +01:00
Jaifroid
9546efe67c Support more Wikivoyage CSS
Former-commit-id: c058a0e07b014ce4d6cf8af9fed3edd44b86bc42 [formerly 4d02eee12b471ea4d0664f242466c6bc99d16f4a]
Former-commit-id: 8d3660399e6a803b738e777f84e1f1cf6107870c
2017-07-24 08:37:08 +01:00
Jaifroid
209c5aadb6 Bin
Former-commit-id: 9d9a0c61c4076e079902f9dfb0b9243d98227548 [formerly a09043c5d9ab25037e8bfddc1fc04c5fdb153a7c]
Former-commit-id: d55bb57a449e099373be946a66e8cbd4c005ffb6
2017-07-23 19:20:07 +01:00
Jaifroid
f737810e7c Better control of scrolling
Former-commit-id: bee8f99270a2433ecc4a7c4069c96d5be37fedd3 [formerly 07e380b2a17edffabd0314e3a016f6e62e6d8b31]
Former-commit-id: 959c1ef146c3368ace2d199c012386e3a68d9b93
2017-07-23 19:19:19 +01:00