152 Commits

Author SHA1 Message Date
Jaifroid
a638c4eed3 Problem commit, consider reverting
Former-commit-id: cf6626fcd0909892e7c021dfa0c1a3c6c3cbf527 [formerly db78a66908febd8f4e09a4adc6023f1166b4774e]
Former-commit-id: 48c3118eba049ad7fc35b4cc8c8d82cd7476bf6e
2019-08-08 13:38:32 +01:00
Jaifroid
6b242252e9 Improvements to downloads
Former-commit-id: 6c2fb603a8b1f1f7dab82e3212991fa51a35f3d8 [formerly c606f1defe01fbd2f9b76d7f53b01bc060896d1b]
Former-commit-id: 8e518e2f182999fbbb8ac0c9f35f1d9d3db4091e
2019-08-03 19:28:00 +01:00
Jaifroid
8fbd0fd40d Improvements to printing and styling
Former-commit-id: 475e189c55cd22e4541b1c0d8f84592210ae1828 [formerly a7502fcc94a1eb0d378f83cba90e583550c20f0f]
Former-commit-id: df8bfd9592b208e7915e0922cf3912ea9bbba886
2019-08-03 12:46:21 +01:00
Jaifroid
f2a20716f3 Make breakoutlink work in SW mode
Former-commit-id: 059500d9c47cec0054781516f24e49a6ab1fdc35 [formerly 4bf9c0f0f82afe0b1eec8b33fadb3a315fdcc521]
Former-commit-id: ee9de0114ad006de1494397017279d19479048e0
2019-06-19 08:59:28 +01:00
Jaifroid
34bf2182e8 Prevent exceptions when extracting assets for breakout link
Former-commit-id: 41dd6cd91649617f41ac5e84e537669f8c130277 [formerly f1d3eb415896606a1224b3653809b1d548b64170]
Former-commit-id: 04c35e23d5f9d67aa697e93b8b6fb69451dc2a59
2019-06-18 22:10:19 +01:00
Jaifroid
6a692b2feb Repair printing
Former-commit-id: a10dde003b89dabc7dbcdd68b22e3916761dcd1f [formerly 78e8efa32942f30af60375c5403f88126d68e886]
Former-commit-id: 400db97f836143368eb6020fd96dbfc3f6eedb7e
2019-06-17 18:17:25 +01:00
Jaifroid
f769001c81 Tweak batching algorithms
Former-commit-id: e80fb657968f44c0d5def4a8abf04c4007ccd523 [formerly 4ddfe32492dec9b8393d7c6a559558640f9c705d]
Former-commit-id: a323ac4b5536d10520ca0c826594eb07fe170e90
2019-06-11 12:15:10 +01:00
Jaifroid
98aef58662 Version with prefetch, but sometimes images never get fetched...
Former-commit-id: 677f4c47b7f748594991a8947ba98c1562991713 [formerly 3b3e81b9b639d51bed242cb9b158f5de54f98f57]
Former-commit-id: c18101d85838acea41e956db558205071d98a78f
2019-06-09 14:22:48 +01:00
Jaifroid
db4e31b639 Fix more links and breakout link
Former-commit-id: 0e87ffc32e297b3d178229d97154310aa667b9e0 [formerly 2da756d338702ea645b75b725b273714ada45b41]
Former-commit-id: c12cdbbc00fb41a338b8f0ae1426fce2e60f9893
2019-05-21 21:46:23 +01:00
Jaifroid
3452f6d487 First refactor anchors
# Conflicts:
#	www/js/app.js


Former-commit-id: ee91c9ad0dbc7686ef2df9c4b6b5f023619b845c [formerly 7129ce9188d1c20da7e6f33cfb1017fabeda41a9]
Former-commit-id: 18ea6425c8fea30d59c58e31ae10c64940d23d68
2019-05-21 21:44:49 +01:00
Jaifroid
4fb1a58c7e Support keyboard selection of title search results
Closes #55 .


Former-commit-id: 0c91937729474be1d2d275317dbcd3a650d446fc [formerly 2e06ac9860265646da7fd0151a52b8d162a3fe06]
Former-commit-id: ad29c2beda0b1324d79b5bdb931991ec768eefd1
2019-05-19 09:46:05 +01:00
Jaifroid
05d9f226ac Enable drag-and-drop and add systemAlert utility
Former-commit-id: fc84358aaaa57a82cac2209dcdd2021aa0e228b8 [formerly 6941d5fd0e4398607e7a2d53b3623adefe0a1062]
Former-commit-id: 153674c58d614f9f5312f343cf0c21f8152edfb3
2019-05-06 09:51:50 +01:00
Jaifroid
538ace8186 Support new details-summary ZIM style
Former-commit-id: 4eb74d6a2621e07f513b287a64e306ebfced9a3f [formerly 0eb23a50acacc5534f91cec132c0a318b6b36b4e]
Former-commit-id: bb1e23899b818b2c9b1efcc3da005e90f6131e75
2019-04-30 15:10:51 +01:00
Jaifroid
6a69526115 Swap breakoutLink icon according to dark or light themes
Former-commit-id: 96e3fdcb126551cbf458fea17066542f6138c705 [formerly dc56b6a3f4d23ee8673ae24373d2993f54f84bf6]
Former-commit-id: b55d429bc232a8d8cf32018f8484a911ad48a1ed
2019-04-04 21:37:31 +01:00
Jaifroid
7f00c31d02 Provide treePath instead (simpler)
Former-commit-id: 633cb3951a69a15a03dcd6aef8c7a5693c6d2d2a [formerly df971366868f296201727f825b63466e31e7ad3b]
Former-commit-id: ac8471635bc8c7a68a15e4ede13787a328c3c9e5
2019-04-02 12:00:25 +01:00
Jaifroid
5973153c14 Simplify href regex
Former-commit-id: e2197754163cdb84e05d5586b232a23d8650f01b [formerly 6bdbd3a4dfd22d0636c96ad44f7028858dced89c]
Former-commit-id: 8f36225c44a8b2dea98bdfb156e90a7745ddabe5
2019-04-02 11:45:55 +01:00
Jaifroid
72e618f891 Fix for faulty SVGs
Former-commit-id: e082605aaa0e09e82190c3b13a4944fe6014dbc8 [formerly 2605a17208bb80d937e6298dbcc439aa6333591d]
Former-commit-id: d2a1942eeea343487111ad7d585348341d9dbf77
2019-04-02 09:18:03 +01:00
Jaifroid
9be01569a7 Cleanup and optimize
Former-commit-id: 72f673a391daa014ec861f3fecebf76d2d7c6ac0 [formerly d8b5b2717e561ebb4c6063902fcbee454563a11b]
Former-commit-id: 756201e3d5690275b346beb0fa1d95df839278d1
2019-04-02 07:57:32 +01:00
Jaifroid
f0267ab182 Fix regex to determine location of new tab icon
Former-commit-id: b1f74dacd14e24fb8c47a59201d246f591f1cd52 [formerly ba3a8d00272d9e1f81be1bd78597e954d21e4266]
Former-commit-id: 4ee7bc7094264da98df8f9cd8f5986086012af43
2019-04-01 17:53:00 +01:00
Jaifroid
13fa34645d Polish open in new tab feature based on backport to Kiwix JS
Former-commit-id: 5985153dda167a08ba24aeda034b29c5e0c717b7 [formerly 11d2c7031cc2201c52449ef29218d51a69a3eca7]
Former-commit-id: 2551c7e2226b1dbc8a7618630e9e557f03bc05ac
2019-04-01 17:45:38 +01:00
Jaifroid
fab823037d More openining options
Former-commit-id: a1b46c24f7cf7360158626426c4c6eeeaedb5bbd [formerly 7877f253e9ac2e8228c5dabe80c36f587e697649]
Former-commit-id: 73081a4302632c86d2b4c9b4f8d60e3961e3279a
2019-03-29 17:36:11 +00:00
Jaifroid
1d42926dbd Initial code to extract HTML to browser
Former-commit-id: 1562b43a4592b3c3722090b1f21f052e43c570dd [formerly 30627988b6f04dd5ee9ddb5dd1c42b160c1d730e]
Former-commit-id: d91c77038248c3054f92cf4285e23699ce8ae676
2019-03-29 16:34:31 +00:00
Jaifroid
1732aea43d Adopt alert box model from Kiwix JS
Former-commit-id: 7389e4d5b7051c7b5aa2d295a66a1c3254caebda [formerly 7389148c74c04d0e3c0a9c024bfe14cbbca781fe]
Former-commit-id: 89c254c2486616384e44f6cf3cc57d1a679e6423
2019-03-03 22:32:57 +00:00
Jaifroid
b899fb80a1 Enable download of media and subtitles
Former-commit-id: f9f490481c461a304edc9f62987f2e070455d119 [formerly 596125216575025a0e030b84b6bebb32aa618d3d]
Former-commit-id: ab0630d0bbc5a4c950dbc76443e753ec070e2e6e
2018-12-06 16:25:39 +00:00
Jaifroid
c99080bf9e Rework style of spinner and message box
Former-commit-id: 2b785d0f9ad8e0402822362599b7ab8304ab7ab3 [formerly 052b572a40dc51ef40e944f3d0a7e4c81b704649]
Former-commit-id: 21c28d38887eb60634e9f2e82d21b16a7aa00006
2018-10-13 09:47:44 +01:00
Jaifroid
c831016b4d Add CSS spinner
Former-commit-id: cdf7c8ec29fcc9934128a4e26db506cc9ee70f40 [formerly be9a00a1f3ad1d4fecd352e00de1082b4551a654]
Former-commit-id: c5e1374948081b7cdb718214a8895a70220d7753
2018-10-13 09:47:43 +01:00
Jaifroid
df199de4ab Reduce dependency on jQuery
Former-commit-id: 3749455151d70e5ffe78df3a14ef27cdd80ba54e [formerly 3346330b4fe480212a126552f320a42f07c86775]
Former-commit-id: 786ffd9e1387be4b99337dc3948691ef0dad55e2
2018-05-01 23:12:52 +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
a5ac5d6717 Renamed function
Former-commit-id: ba8f0747b7ad3ff826a24c94a7a4cf3a1d858550 [formerly cdb32dbb9c13616b557c607f5e1280e8e3373404]
Former-commit-id: d45585dd762d552b507453a94d4eee60a217df5f
2018-03-04 20:46:27 +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
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
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
81a86d75e6 Alternate icon support
Former-commit-id: e5cb015fbe04f82fec27736a8c810bc215e4901b [formerly 9b84972b9025a3335a606d3bc7d82723ab0e1b3c]
Former-commit-id: e48ba161e919b922326632a661d0c7dc175634fa
2017-12-14 10:07:46 +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
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
8203c0527a Use Bootstrap panels and reorganize initialization code
Former-commit-id: a391574b482962af3a58d17a83c35cb4cbd366c1 [formerly efc5adfd172b1f2a648532ec61f2cdd46aa218c7]
Former-commit-id: 7ba3387c26a1e2146d713dd9d0262deaafae3330
2017-08-27 12:30:45 +01:00
Jaifroid
0bb42e2d2a Implemented UWP future access list to remember chosen folders
Former-commit-id: 3244a046d1481905d2ad3136c715b29a9fb8e34a [formerly 0404b20e8f4633de950990fbb1ca3db59476b2f3]
Former-commit-id: 9a3d067bb2461120aecf63908d37725c6de8391c
2017-08-22 20:54:55 +01:00
Jaifroid
ee9d0f43d2 More redundancy in regex
Former-commit-id: f70a3a07307bb9815d46a269a4ff844a134b1302 [formerly 5ee6233b29fc0209cde653ff4f79231993ac9d5c]
Former-commit-id: 298481901cdf957fd436f0487e50eb50fe7c4f1e
2017-08-16 21:54:24 +01:00
Jaifroid
191be89618 Fixed CSS issues and ToC code
Former-commit-id: 779b935c4ccab6a1267a4ca81454933a4aa4ac28 [formerly 6330348e58ae77bb299d29490f055ed7aa5d3e40]
Former-commit-id: ccce5bfd52802fc6ccb4a36622a4a2fc048a75c9
2017-08-16 18:47:57 +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
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
5a29fef00f Added UI enhancements from the backport
Former-commit-id: 6d88db52be83173ad4f881bf5cac8260105f0341 [formerly 5f32abe32d11d831730965b83d80dfc6c9de44c1]
Former-commit-id: 324fdbf2354a313f4f7816abf1ec233cdf67649f
2017-07-19 11:06:02 +01:00
Jaifroid
e38654b2b7 UI enhancements
Support for progress messages and for returning from Config to the article without reloading


Former-commit-id: e8b716ea6a00dd8d49226a12eef39f03815213e6 [formerly c6970a190d5f707815533800a06973f3ed024163]
Former-commit-id: 5bdbb72ef7ea593793e0b451a69687e6182c0412
2017-07-19 00:12:15 +01:00