338 Commits

Author SHA1 Message Date
Jaifroid
deb26624f2 Bug prevented display of language codes that are substrings of other language codes
Former-commit-id: 0b8f5ab9589d19c7228564d560b077f1b83d9087 [formerly fbb7d8308b71d25205594a95943cb258bddbcd6c]
Former-commit-id: a00759b0bf7bcc5876c4c4035651edffaf01732f
2018-03-31 08:15:36 +01:00
Jaifroid
91c7a7c4f2 Preload images on print dialogue invocation
Former-commit-id: 508d7d3f7c66eb79d95ce37c0031cb91ae9c2b0c [formerly 07b3c1f84a0dfd599ef85ee093062dbd07ba9778]
Former-commit-id: a61074c7d28ffd803578c68aff74538f2f562054
2018-03-17 16:31:58 +00:00
Jaifroid
96c3375409 Prevent map pins from printing
Former-commit-id: e779a4add023280d30cfde63a52157c5ab2e509d [formerly 5bbb6d044faa8da0e8856efb5e8bf38189acbfd7]
Former-commit-id: 625358fe44e5d9344e5b900fb8e92a54b53e3bdf
2018-03-17 16:31:58 +00:00
Jaifroid
03b7f5d98d Optimizations to sliders
Former-commit-id: 8603ec574d66f3f54994baa00aad6a2294f14c4a [formerly 6075d614f9becaabdb5d8e970cd215937a804c77]
Former-commit-id: eb67cf25d8886129b319fc39d4336dc8d9b2fd82
2018-03-14 07:09:19 +00:00
Jaifroid
062196301a Add print Zoom capability
Former-commit-id: 274cdb7e6d9a21d194822b2fbdec16b8fa396edc [formerly 45b38031565d1668aa2402581ee37bcfbc4d460c]
Former-commit-id: ae66f980a5f24e5f2657cb7f4e243d878cabdffd
2018-03-13 21:20:09 +00:00
Jaifroid
35c16f0738 Support UWP printing #13
Former-commit-id: 940d8c111e9885d1391f10d2ca6cbd3f26b4dea3 [formerly 95c20916a23fff10ed06a70c37a5a19e5af58b5e]
Former-commit-id: 2432f588032d7c7a682e868446d532d04932e4db
2018-03-12 17:02:37 +00:00
Jaifroid
f9564b9bfa Better algorithm for handling stacked infoboxes
Former-commit-id: acbe3a7a3d4a97bae7e36fc33498a6429de9ad07 [formerly 309e0691989b0c435d45a8548fea889a7a440aff]
Former-commit-id: f8365c0c98870ccd9373769ee628b252e702be71
2018-03-05 17:04:14 +00:00
Jaifroid
395dc5af97 Added a date filter for ZIM and ZIP files in the download links code
Former-commit-id: 61afb07bd15dccf7ea0b3a2cf81cec614cc5cabb [formerly 3f9287361fd59caba5818ae617802d46ef93facd]
Former-commit-id: 92b781c49564f8fcd327bd84db0b6c5df00b6de9
2018-03-04 20:47:39 +00:00
Jaifroid
a5ac5d6717 Renamed function
Former-commit-id: ba8f0747b7ad3ff826a24c94a7a4cf3a1d858550 [formerly cdb32dbb9c13616b557c607f5e1280e8e3373404]
Former-commit-id: d45585dd762d552b507453a94d4eee60a217df5f
2018-03-04 20:46:27 +00:00
Jaifroid
c2236554c6 Cleanup and reformatting
Former-commit-id: 37d49244c00f6663cb674855116d3329e79b0cc0 [formerly f8ca33af5795361c13e72d97e84984775004d8ab]
Former-commit-id: 09531a18ad7b36df68f58e259ca001fc9c6e5edc
2018-03-04 10:38:57 +00:00
Jaifroid
6c56379583 Fix gradient inversion glitch
Former-commit-id: 7c0a8b4e8503b4609efac114c361499f16141a1f [formerly 2d58653f3aa75539d6192e7065838037bd00597e]
Former-commit-id: 6e7b0a28f40576b2cdb490f38a9e0e73914f91d4
2018-03-01 09:53:07 +00:00
Jaifroid
ba9aead18c Add support for float-right div boxes in German Wikipedia
Former-commit-id: 59a28941af9844485d04359aac9016dde71ef439 [formerly 54b89070ee0aad17bb270701e62f939c5284ce0c]
Former-commit-id: 99c1dd6f279208e870a2fd93c61d42d5e299ba1a
2018-02-28 08:06:17 +00:00
Jaifroid
54954986fd Fix issues with rarer infoboxes
Former-commit-id: a9a17e49f5cd48b39bdad05da4a841775b60a11d [formerly a9cc913e50f693a7e53bbd34d33fe78ae8c939d9]
Former-commit-id: 969f23437e1fd41bd0b6b0bccd9ce14713452573
2018-02-28 00:38:43 +00:00
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
e781973e45 Discovered cause of some mobile style glitches (mobile.css!)
Former-commit-id: 41f500a8b27987551686c61b11e86dbced51820f [formerly 0ccdd68ab78b7d1559ddad46b2eb75663bdbc0c9]
Former-commit-id: 817ce5a3afff3ea8734151ec51c9fd0a65ff314a
2018-02-26 15:07:12 +00:00
Jaifroid
e3c303e174 Correct CSS display issues with mobile styles
Former-commit-id: a8654753ddab3d1b7fd2249d552545237dfe36d6 [formerly 968c47434af3a60b4d02ad8e5892c97dda9fbf67]
Former-commit-id: 45e7623631670cd0293f856b89346e6a139e2621
2018-02-26 12:03:20 +00:00
Jaifroid
2bfb7e5b15 Dark style tweak
Former-commit-id: 7e6c7390c8d100172b6571d2e1ff765df31baccc [formerly 320700eda209a8d4619db8287a04c1fe4c3c0a3b]
Former-commit-id: dbb5baadc6b7f2ead7ba163294e4ef508c77a2e0
2018-02-24 16:57:13 +00:00
Jaifroid
d135262d8c Update dark style to work properly with subdirectories
Former-commit-id: 40252fb2f689d4b45d7416c7eff6697fbf277c66 [formerly e28f73864bcedb51bef6410596ab243b952a4eee]
Former-commit-id: 95a37f5e3d91eec682d8e3e3f6d9f7c2327680fc
2018-02-20 20:13:10 +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
0cc7a034af Reduce screen width usage
Former-commit-id: cc9f7edc037f9cb7537899a15fcee52117388a9c [formerly 41550b6821a6bfcd23e40e034b2f4670cf4242b6]
Former-commit-id: b1734a760a412dcdf04c0a2a477fe78829e49b43
2018-02-05 16:36:49 +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
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
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
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
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
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
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
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
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
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
81a86d75e6 Alternate icon support
Former-commit-id: e5cb015fbe04f82fec27736a8c810bc215e4901b [formerly 9b84972b9025a3335a606d3bc7d82723ab0e1b3c]
Former-commit-id: e48ba161e919b922326632a661d0c7dc175634fa
2017-12-14 10:07:46 +00:00
Jaifroid
604058b1d8 Commented out workaround for #28
Revisit code in a month or two to purge.


Former-commit-id: ca36ef49d3a42fc80c47e1bb718c9d45219d129f [formerly f050db102f2d9f4460d2a92e48884d4768438ce0]
Former-commit-id: c42d4ffe869fa9751230da8a73210326aab4a96d
2017-12-13 22:17:57 +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
58a6fba360 Fixed UI dark theme bugs
Former-commit-id: 6ace2c80c8daffba6f2ae1a8dc161c0cc1311107 [formerly 768f52beae8f560be46b1fbf2b4d71ce9bd97988]
Former-commit-id: da4812fe77ff22862c1ecc3ae2dff8af5b6733c0
2017-11-25 16:46:04 +00:00
Jaifroid
0003f16484 Fixed bug browsing stackechange repo and changed download link to button
Former-commit-id: 066db82eb6556d1ddeda62c3d7fca7a0c2daca64 [formerly f0367f379dfbd5b03fe1dbde1f5589722b3ff29c]
Former-commit-id: 495ed74a1bd5832a759145657fac7c8ae5c43cfd
2017-09-14 09:03:49 +01:00
Jaifroid
39cc90ad2a Added BitTorrent link to downloadlinks
Former-commit-id: ddcc4168b2116f9e07cebf0da4c3ccf93a156d35 [formerly b7b388ce6ad74f4fc40b6fa66aaeaa5cb81aaeed]
Former-commit-id: fd5ad645ddd5dbc9a082a2cb1b2fe246ec3d7cc5
2017-09-13 22:04:50 +01:00
Jaifroid
8be5256152 Now warns on cross-origin-requests
Former-commit-id: 7af311529271dc3e041b42b033f15e735ee099b0 [formerly 109e9ffb99eb810a3badbbdb87eee5a2a8ee1550]
Former-commit-id: 35ac37c20dc4aed671ea8702fc270588a77b0975
2017-09-13 18:42:47 +01:00
Jaifroid
7857b37b26 Major UI overhaul
This is a major UI overhaul to work on all screens from approx. 320 width up to fullscreen. There are still several bugs that need squashing, but it's usable.


Former-commit-id: 1c82533cd326e172571b9d0b5d35bb86069bc490 [formerly 27a56e52bf8331b517853c1f957f8a29ffe8d265]
Former-commit-id: e6af2fcf5b02740f96698b63e3b98679e4dab56e
2017-09-10 23:00:18 +01:00
Jaifroid
362b2e2f4a Added slider to change UI size
Former-commit-id: ea1ae44d2e2e0aaa720e06dc3c0400c4d5fa005e [formerly 5e0e80f8270e028a446e7b5984ce79c5d6ecb09e]
Former-commit-id: 9115b492d53c205546ec4d35e500f8d8bb75f7be
2017-09-04 17:28:18 +01:00
Jaifroid
f09d5ae30e Internet block and dark theme tweaks
Former-commit-id: 472b68b0ebbbc7e829cfd586536ad8c12254a8ba [formerly 41c5ea6e632990b3e5fc8e14b7e5ee62dd8991eb]
Former-commit-id: ce1b5b913461c35dd8cc2b66e5cdccc7d6a98993
2017-09-02 20:04:09 +01:00
Jaifroid
37a24bf4bf Added instructions for ZIP split archives
Former-commit-id: 63ef1203d5db589f8ff8a5f8b7ae76e795aed356 [formerly 565e6585efac5e3a95e4976a08e849ac6e5502b2]
Former-commit-id: 8d356c9d1c9a58a59192c346039b534000bf2ddd
2017-09-02 14:38:53 +01:00
Jaifroid
029d072b55 Added server timeout
Former-commit-id: 48bbf60703945221b44ca2571c73357fc0b86caf [formerly 062955efe5148c4c74cf795181b78d6fb65ffb0d]
Former-commit-id: 111d1e5cd5f9d80698f9b967c7ab6011695cbe4a
2017-09-02 09:33:47 +01:00
Jaifroid
1331172743 Added original languages for filter
Former-commit-id: 046a9f6ecf762840608237c2b56ae7450d1a4d48 [formerly 2c6323f6aee028053de6d77612c3147c9e252fe7]
Former-commit-id: a98d651340e6ddf0fd917baa5c492c2f900e7890
2017-09-01 18:39:57 +01:00
Jaifroid
2d052acf7e Added language selector to list of archives from server
Former-commit-id: 422363fa912df7e4c042cf50f8f9feb064a5b481 [formerly 719c8cc95391a7e24020186430d1537c4c8f739f]
Former-commit-id: 87efce41dfcd5155118fc510fd45ba50a84c6962
2017-09-01 13:09:39 +01:00
Jaifroid
65c9620db9 Tweaked word wrapping in download panel
Former-commit-id: f4744455627c3b483abb418c575449537d470905 [formerly ad79fdf6bb5846089e10b640570570f8aa98a46e]
Former-commit-id: bd58a7587c7e55ff1de8919cbc28f428511bca8d
2017-08-31 10:20:07 +01:00
Jaifroid
7911274a83 Added AJAX-based ZIM repo browser
Former-commit-id: aebe72a1e5269a717d4465156eb8cd14f7d2e4f5 [formerly 28a7030d248d41386487970c652738618570d4d0]
Former-commit-id: 94cd76cfcd23f6e1b12a2131bac962baa9279b60
2017-08-31 10:06:37 +01:00