910 Commits

Author SHA1 Message Date
Jaifroid
356addacbd Clearer messaging about default for Display hidden block elements 2023-01-21 09:29:49 +00:00
Jaifroid
97ace94900 Increase timeout 2023-01-21 09:03:52 +00:00
Jaifroid
2391e33237 Prevent exception if document is undefined 2023-01-21 08:47:04 +00:00
Jaifroid
67d2fb4366 Give more time for Service Worker to load 2023-01-21 08:45:19 +00:00
Jaifroid
e22ac9d920 Check that SW is actually registered before using for first time 2023-01-21 08:33:00 +00:00
Jaifroid
d53d3aa433 Add some debugging for #355 2023-01-21 08:09:06 +00:00
Jaifroid
3f2b67972c Avoid displaying the one-time message if large modal will show 2023-01-19 18:16:13 +00:00
Jaifroid
450810b211 Fix broken UWP ServiceWorker mode launch
Fixes #354.
2023-01-19 17:25:07 +00:00
Jaifroid
15fa77a6a5
Provide unobtrusive refresh and reset buttons #352 (#353) 2023-01-19 16:07:31 +00:00
Jaifroid
06b4283be6 Ensure auto option functions in jQuery mode + cleanup 2023-01-19 09:28:39 +00:00
Jaifroid
32498e7204
Provide default auto setting for display of hidden block elements (#351) 2023-01-19 08:14:04 +00:00
Jaifroid
438d99ec6a Fix critical error preventing display of legacy file picker 2023-01-17 23:36:32 +00:00
Jaifroid
452d379ab1 Delay display of UWP Service Worker launch request 2023-01-17 08:27:54 +00:00
Jaifroid
3c39c187e6 Detect historical ZIMs and add advice to use jQuery 2023-01-16 00:27:03 +00:00
Jaifroid
562a33417f
Fix Electron file and folder picking methods (#347) 2023-01-13 09:14:15 +00:00
Jaifroid
f4d012a32a
Fix issues with Electron archive and last article load #342 (#344) 2023-01-11 07:05:33 +00:00
Jaifroid
fcf832c800 Don't check GitHub server if PWA upgrade is needed 2023-01-08 16:58:50 +00:00
Jaifroid
b16a6cf388 Check for PWA update on startup
Fixes #341
2023-01-08 16:07:39 +00:00
Jaifroid
7d64016a24 Better experience with the full-text override 2023-01-07 15:56:20 +00:00
Jaifroid
3523d215ce Add developer options 2023-01-06 23:25:07 +00:00
Jaifroid
5d76889d7f Make switching immediate with warning 2023-01-06 23:02:01 +00:00
Jaifroid
16ef2ee94d Add option to force use of libzim W/ASM decoder
#343
2023-01-06 16:10:19 +00:00
Jaifroid
a410523d78 Updates needed to correct archive-locating logic 2023-01-05 13:47:02 +00:00
Jaifroid
68aa7570d4 Reduce default logging 2023-01-03 17:48:09 +00:00
Jaifroid
d77c62a134 Fix site.js exception on Wikimedia sites
This is a local fix for https://github.com/openzim/mwoffliner/issues/1662. Should be fixed at source.
2023-01-01 15:13:15 +00:00
Jaifroid
004a4f02f2 Fix libzim loading error and SW reboot in Electron app #337 (#338)
Former-commit-id: ab3ee6f6c5107648a549667b12eff3319cd59e70
2022-12-24 08:17:02 +00:00
Jaifroid
1392cbb1d1 Fixes default to dark mode
Fixes #335


Former-commit-id: 4eff526af7672ce24645b7749d93a65b35828db6
2022-12-20 12:26:36 +00:00
Jaifroid
c90484ecfa Reserve darkReader for non-Wikimedia ZIMs in auto
Fixes #333


Former-commit-id: c825383a1d5de50d453a22463f738d6b02009af2
2022-12-19 17:29:10 +00:00
Jaifroid
0d7e429c1b Really?
Former-commit-id: 2f30fa662f17f3db7ceb03dc586b7b1701f83585
2022-12-16 01:19:25 +00:00
Jaifroid
b4d91f6450 Better work this time
Former-commit-id: 50829bd8446bd84587bdfed179b9692bd1f14ddb
2022-12-16 00:30:24 +00:00
Jaifroid
7c7002a88f Fix overcomplicated regular expression
Former-commit-id: 27c26b997060b8f9ea4f5dae55bf3baa56578431
2022-12-15 22:39:00 +00:00
Jaifroid
364993c243 Turn off failsafe before doing controlled reload
Fixes #327


Former-commit-id: 15ca9d38378a5732bc5b370f5da448fdc54e776f
2022-12-15 22:07:33 +00:00
Jaifroid
b1324e164f Handle comparison between -app_maxi and _maxi archives better
Fixes #325


Former-commit-id: ac124c1b8c7058de6526713417191fa0762980e0
2022-12-15 20:52:23 +00:00
Jaifroid
a85b43ef0d Fix libzim reading in Electron apps #322 (#323)
Former-commit-id: 812ceace960218f247e1175d8826ce2d8ef184af
2022-12-14 07:18:55 +00:00
Jaifroid
ea9848560e Fix exception with Electron due to typo
Former-commit-id: 390fb7234992739958642d3fe665d635abddbe60
2022-12-10 11:04:46 +00:00
Jaifroid
d243b8ccb1 Improve Search Provider reporting to API panel
Former-commit-id: 07f083b0f41f441ff63bec8a45ea8bed5c76da0f
2022-12-01 18:49:22 +00:00
Jaifroid
5f863ef591 Remove unused functions
Former-commit-id: 2c5bfa51c48503cf2764a30384205a20805a36f8
2022-11-22 21:07:05 +00:00
Jaifroid
2c8854ef15 Remove jQuery for various functions (click, attr, focus)
Part of #313


Former-commit-id: 066f6e2449158ac361c5b96e1f32ef27fc708a13
2022-11-22 20:54:54 +00:00
Jaifroid
820deb1691 Add missing BOM required for certification
Former-commit-id: 188e1e52f087edc168e3c0b8128fcd9457d03925
2022-11-20 10:58:40 +00:00
Jaifroid
cf6e89655e Ensure only UWP app auto-switches to standard dark theme
Former-commit-id: 090163bd7dd75406c00c58f60acb221e4fc02ebb
2022-11-20 10:05:56 +00:00
Jaifroid
dba9af1e87 Only turn of DarkReader automatically if we are in UWP app
Former-commit-id: b51a705148d566de3437cd54dd47982d4bfb4c55
2022-11-20 08:56:09 +00:00
Jaifroid
9970a41f26 Prevent UWP app crash when switching between modes
Former-commit-id: aab5582345e8115970cb0db8f8206191f4b14b1d
2022-11-19 18:30:10 +00:00
Jaifroid
08d38119cc Add odt download support
Fixes #312


Former-commit-id: 6b1cc9f15dbc7850354818fb1eb0bbdf8089d72f
2022-11-19 18:01:39 +00:00
Jaifroid
c2692e9655 Do not hide activeContentWarning as soon as it is displayed
Fixes #315


Former-commit-id: 2f0c5b3dde88dda68c03331749198751fc217880
2022-11-17 21:23:41 +00:00
Jaifroid
f8854fdf04 Ensure darkReader can't be accidentally turned on in jQuery mode
Former-commit-id: aeaf06ee365472995410572eddc3ab6c9631545b
2022-11-16 14:35:03 +00:00
Jaifroid
8e0e12f051 Test for more conditional DOM elements
Former-commit-id: b9bec0298f85cf8001a6e3bc8d330baf2c115434
2022-11-16 07:14:17 +00:00
Jaifroid
f9f409a9a0 Remove jQuery hide/show statements (#314)
Former-commit-id: 48a9f7f4a1623476a52b01d977dc7e7648f6cb08
2022-11-16 06:59:33 +00:00
Jaifroid
a31cb91e70 Do not switch to darkReader mode if appType is UWP
Former-commit-id: 5adc7c4486f96d3381b499662a72921e372f541e
2022-11-13 10:32:49 +00:00
Jaifroid
af13c1acb0 Add DarkReader fetch method
Former-commit-id: b5a5fabf5914cc10b98c269d69ee375606d76e9b
2022-11-11 15:32:18 +00:00
Jaifroid
cf5cf5fb26 Same
Former-commit-id: 9ada84ef939609ca0db953a19b543d93c47084ff
2022-11-09 15:22:05 +00:00