910 Commits

Author SHA1 Message Date
Jaifroid
165c76bee1 Option to remove max-width restriction #53
Former-commit-id: 60269d81950389501a249a560366b7fbca4d6856 [formerly 33506c802283976c26cb50d9bacb61bbfb8b0ee8]
Former-commit-id: 33e34b735d2010cd07616c8c85ec28ae691396f3
2018-02-27 10:47:59 +00:00
Jaifroid
4f779929d4 Remove code redundancy
Former-commit-id: 6bb1390785b6e1ca55be574fac5e2ff60b6b2e9d [formerly ddfb7d2cb274fc093cd006195384a73b671cd8f7]
Former-commit-id: d3217bb06963ff7d1f743b657ab0e926fe3393e8
2018-02-26 11:10:35 +00:00
Jaifroid
727c64c950 Restore dummyArticle for compatibility with Firefox
Former-commit-id: 53dbb701b5ab03b330c3d22289c59fb647a7d4ea [formerly 0c1dd811c799a7c32e801503140250ef4403984b]
Former-commit-id: 7b3c1b1080cdae9c353edf4f0743b9b72cfcc7e0
2018-02-25 11:29:09 +00:00
Jaifroid
667c7647b9 New injection mode
Former-commit-id: 56d8088c28dc73cde5413e64db22557bd776ff6a [formerly d1fc006938a7d811e3b6c044e406b0718cbe3f06]
Former-commit-id: 0ef7a66278938c160bd029d9d416d4aa06466e94
2018-02-24 16:58:01 +00:00
Jaifroid
d8bfba1c22 Various tweaks
Former-commit-id: 2e103488705ec80ff08366f6f5b83676de4c9da1 [formerly 31d923e3d2e126b5c8876c6b6629cb39a02b016a]
Former-commit-id: bc1f68ea8e7bf85122e7fc38e6d99f916834d43b
2018-02-21 22:59:51 +00:00
Jaifroid
20bd22e025 Trying with document.write
Former-commit-id: c59f040a2f77686d8348cf343e7e1cfbbfcf4742 [formerly 9890a4be4d4233070653207a12ea2780cce5e0f4]
Former-commit-id: 28a8e1863a7124a45788c01409f1c0d0b9c05666
2018-02-20 22:11:32 +00:00
Jaifroid
0562e1762a Allow the app to run in non-UWP context
Former-commit-id: a96b6de387c8eb52eb90b409caf2fae518377951 [formerly 337a249b7387c826a2085e3274f2f6afd1f34c99]
Former-commit-id: b0e90e46bceed3cbfd4cfc6671af7aecbe2c6bf9
2018-02-20 22:06:56 +00:00
Jaifroid
f26cab370d Prevent user profiles in Stackexchange from showing with random button
Former-commit-id: d07cbd3ac073f543b1ba592fe36f9d5b1f5f9b0b [formerly 42105448ca0376b15710fc19337c5dead9de477e]
Former-commit-id: a5fecbb19b1ed51e998565b4a5469aff0f932009
2018-02-20 20:14:06 +00:00
Jaifroid
4510daf741 Restore modded bootstrap style
Former-commit-id: 35eef61fe55aae80b46716d7a9324888c489fa79 [formerly c8abdca59024ace3ec57e93cab55196b510072ea]
Former-commit-id: f5675cb5ffbd7387abc848b5eff5e1cee2ca4e6c
2018-02-19 11:56:08 +00:00
Jaifroid
5e3a5bf355 Faster handling of MathJax and clear iframe between loads
Former-commit-id: cb5f6b9a27803cda1f67697e038c63616c71cb1a [formerly e7d3c56171a221c67e29771ed27933351ab74d74]
Former-commit-id: 547a36abe2efc082d4f8f0f085eef264e4a754a6
2018-02-19 10:23:53 +00:00
Jaifroid
5b0fe71c54 Add CSS cache support for Stackexchange / Mathoverflow
Former-commit-id: 88cc1d90a59df78734d66e5a49d1d11aa3b247fa [formerly 267e575ba89ab8422a5180f7da447827c1d4b571]
Former-commit-id: 2c2422906d69ad5ab5968ef2b4e9a13e8fc50880
2018-02-18 11:33:57 +00:00
Jaifroid
73b1ace864 Use single quotes to prevent MathJax eval error
Former-commit-id: 1425981719614e054b04d4b0a4792e8f52b5bf90 [formerly 56c7ca2f110dbdb8ba514036396563c5940e6f95]
Former-commit-id: 566922b7dbaa3a0e6ea52d4a687446ea810338a0
2018-02-17 15:44:30 +00:00
Jaifroid
cf2ba65f5a Cleanup and extra TeX punctuation
Former-commit-id: 5a50f5c57f835f912a046c10fab9afec3887d7c4 [formerly a900ed00b9d5df564f31e06c663b971c57efc6e5]
Former-commit-id: b1bb8ba7740d2cbf6ce03107386b5c74d4fba4ad
2018-02-17 12:57:44 +00:00
Jaifroid
7f769ff06e Support for TeX equations in Stackexchange
Former-commit-id: 3020cee5691a1467217bdf8592fa37700a7b4347 [formerly 4e592cb026d9f35236201e1c73838bfe4add6c95]
Former-commit-id: 616bddfcf477188f0d2c529f9a812fac5aa9b862
2018-02-17 12:11:12 +00:00
Jaifroid
7e1beb21fc Explore JavaScript and stackexchange equation support
Former-commit-id: 67a4e6a199d250ed6df1362c03dcbfd5aaa3a563 [formerly 8414e0c08c744e528bd8988f8eb2d4bd0e7d2864]
Former-commit-id: d2014378ad15ed96d3be7a423599c5e8eaced7d6
2018-02-17 11:24:54 +00:00
Jaifroid
0c49aaec19 Added more padding for content hidden under bottom bar #52
Former-commit-id: 847069a3cd3025087dc962a90fa541b5e95ca4b1 [formerly daf85c419955f15f00dbb070e89ffde171a7bd76]
Former-commit-id: 17dc1141fa364861007e75326beed3b6c77cc54f
2018-02-13 08:05:14 +00:00
Jaifroid
40c2c01517 Format html
Former-commit-id: a10b46e5752f1f36019eff58d2d7db57009d2a5f [formerly d0ecabe296fc3f6f7dc87c9b5d7d3d2f0223cfbb]
Former-commit-id: fc57f294c3af590d211632f593484bb53ed04d75
2018-02-11 18:57:37 +00:00
Jaifroid
e4f1dbbd33 Fixed regression and reordered packagedAppFileSelectors div
Former-commit-id: 36d8102ae29d6be50f81c51356db3cb005d45bdf [formerly d514576b55dc8129227d2807266f2104aedf8de7]
Former-commit-id: 18caeaa1feafed48fe0af05a059e67f6268ed6e7
2018-02-11 18:31:40 +00:00
Jaifroid
fef8053bf9 Provide clearer information about loaded archives when file selectors are hidden
# Conflicts:
#	www/index.html


Former-commit-id: 54c4a10dae9e002afaebe35a6cce38ee0c1a92ba [formerly 6be08f8e9ba56b0e6f6bb32dd809521ff944c98f]
Former-commit-id: acf54958187a4497a01234affd93b94de7397c32
2018-02-11 18:18:25 +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
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
7235c1f252 Further improvements for #44
Former-commit-id: 897fd4f90df74a5be69aa646fbb421562becce7e [formerly 40459c7aeb9cadec7301057e965b871f12c525f4]
Former-commit-id: de70045ade464888e87aadcb759dbace170c092b
2018-02-03 17:26:08 +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
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
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
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
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
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
028a3acff6 Adjustments to infoboxes
Former-commit-id: 5cdc33e824fc0a1ae2aa42cd30b55b89e628bc54 [formerly 43a040d13fe70626ca86e1dff1dbf8e54da3fa31]
Former-commit-id: c4d92479b445fdda3bf3010d366985d1d81f1049
2018-01-08 17:50:18 +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
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
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
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