1058 Commits

Author SHA1 Message Date
Mossroy
6bc0b93857 Open external links in new tabs and warn the user
Fixes #404

This is a refresh of the work of Jaifroid in branch https://github.com/kiwix/kiwix-js/tree/Check-for-external-links-and-warn
2022-06-02 17:17:46 +02:00
Mossroy
a57d6227d2
Handle Enter key in Bootstrap modal dialogs (#864)
* Handle Enter key in Bootstrap modal dialogs

Fixes #863

* Switch to native DOM methods, and keyup event
2022-06-01 12:08:34 +02:00
Mossroy
70273d71fe Update Netbeans config file for recent NetBeans version 2022-05-30 10:20:11 +02:00
Popo le Chien
fcb53b7d84
Update README.md
updated expired Slack link
2022-05-23 16:57:56 +02:00
Mossroy
852ec53766
Merge pull request #860 from kiwix/dependabot/npm_and_yarn/ansi-regex-3.0.1
Bump ansi-regex from 3.0.0 to 3.0.1
2022-04-30 13:01:24 +01:00
dependabot[bot]
358356c027
Bump ansi-regex from 3.0.0 to 3.0.1
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-30 07:56:29 +00:00
Mossroy
37cc592d66
Merge pull request #859 from kiwix/dependabot/npm_and_yarn/async-2.6.4
Bump async from 2.6.3 to 2.6.4
2022-04-30 09:55:48 +02:00
dependabot[bot]
d1c2d4328a
Bump async from 2.6.3 to 2.6.4
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-29 15:28:02 +00:00
Mossroy
5759e2d460
Merge pull request #857 from kiwix/prepare-v3.5
Prepare source code for v3.5
2022-04-16 11:45:42 +02:00
Mossroy
5118c6e37e Prepare source code for v3.5 2022-04-14 18:19:56 +02:00
Jaifroid
9fcb9c26b9
Changelog for version 3.4.0 (#854)
* Update CHANGELOG.md

* Update CHANGELOG.md

Co-authored-by: Mossroy <mossroy@mossroy.fr>

* Update CHANGELOG.md

Co-authored-by: Mossroy <mossroy@mossroy.fr>

* Update CHANGELOG.md

Co-authored-by: Mossroy <mossroy@mossroy.fr>

* Update CHANGELOG.md

Co-authored-by: Mossroy <mossroy@mossroy.fr>

* Set release date of 3.4.0 to today

Co-authored-by: Mossroy <mossroy@mossroy.fr>
3.4.0
2022-04-10 20:44:54 +02:00
rgaudin
ce531e12c4
Merge pull request #852 from kiwix/ci-k8s
Fix nightly build uploads
2022-04-05 11:56:31 +00:00
renaud gaudin
327e5f5034 Fixes #851: nightly build uploads
Changes the destination of nightly uploads to master.download.kiwix.org on port 30022
As this service doesn't offer a shell anymore, converted the folder creation
and file discovery steps to more verbose, SFTP-based scripts.
2022-04-04 15:17:25 +00:00
Mossroy
39c27fda99
Merge pull request #845 from gaurav7019/Remove-the-dependencies-on-the-UI-of-JS-backend-files-#813
Remove-the-dependencies-on-the-UI-of-JS-backend-files-#813
2022-03-27 14:43:46 +02:00
Mossroy
7780dafc37
Merge pull request #849 from kiwix/dependabot/npm_and_yarn/minimist-1.2.6
Bump minimist from 1.2.5 to 1.2.6
2022-03-26 17:43:50 +01:00
dependabot[bot]
d95c05412b
Bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-26 16:11:35 +00:00
rgaudin
152af18927
Merge pull request #848 from kiwix/k8s-restart
Trigger webapp restart
2022-03-26 16:10:48 +00:00
renaud gaudin
9513791e10 Now publishing image only to ghcr.io 2022-03-26 14:32:17 +00:00
renaud gaudin
994a755f87 Trigger webapp restart
Manually trigger a *restart* on Kiwix k8s after a successful image push.
Previous behavior was to let Docker Hub trigger a restart on (former) hosting via a webhook:
- we don't want to rely on Docker Hub anymore
- hosting platform changed
2022-03-24 22:11:45 +00:00
Mossroy
8a12fd8bc2
Merge pull request #847 from kiwix/dependabot/npm_and_yarn/karma-6.3.16
Bump karma from 6.3.14 to 6.3.16
2022-03-17 17:20:59 +01:00
Gaurav Agarwal
295b4ed092 Removed settingsStore's dependency on uiUtil 2022-03-04 15:18:05 +05:30
Gaurav Agarwal
0fe5453445 Removed zimArchiveLoader's dependency on uiUtil
Applied changes from the review
2022-03-04 15:17:39 +05:30
dependabot[bot]
0dc109ad5b
Bump karma from 6.3.14 to 6.3.16
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.14 to 6.3.16.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.3.14...v6.3.16)

---
updated-dependencies:
- dependency-name: karma
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-02 13:32:29 +00:00
Gaurav Agarwal
b5d6db09ed Removed zimArchive's dependency on uiUtil 2022-02-24 16:30:03 +05:30
Chase Moskal
ded7bf6b42 update: webp-hero to mit license
webp-hero has switched from the "isc license" to the "mit license"
as of `webp-hero@0.0.0`
2022-02-21 21:10:17 +01:00
Mossroy
2c2d168030
Upgrade webp-hero library and reuse the canvas (#838)
* Workaround some antifingerprinting features for webp polyfill

It affects in particular IceCat 60.7

WebpHero has been upgraded, and tries to detect if the workaround is
necessary.
If it is, there is a setting to let the user disable the workaround if
wished.

Fixes #835 and #816 (support of DataURI images when webp is not
supported by the browser)

* Rename feedNodeWithBlob function to feedNodeWithDataURI

* Added canvas elements to stylesheets

Co-authored-by: Jaifroid <egk10@cam.ac.uk>
2022-02-21 21:09:13 +01:00
Manjit Kaur Khaira
26490f4469
Auto Dark mode Theme added (#793)
* Add auto options to index.html

* update app.js

* update uiUtil.js

* testing

* Update app.js

* fixed bug in app.js

* Update app.js

* removed extra spaces

* removed extra spaces

* Fixes autoTheme eventListener in app.js and removed spaced in index.html

* app.js

* removed extra spaces

* updated app,js and uiUtil.js

* fixed bug when browser doesn't support color-schemes

* added removeChild() instead of remove() and renamed class

* parentElement to parentNode 

As the parentElement is new to firefox and IE

* parentElement to parentNode

* fixes options for theme and some for wikimedia theme

* fixes help for the wikimedia theme

* update uiUtil.js

* moved code back to previous place

* displays auto theme description

* added auto description <p>

* removed space added again

* Update uiUtil.js

Defined `oldDescription` earlier before using it

* fixes oldDescription

* Update uiUtil.js

Co-authored-by: Mossroy <mossroy@mossroy.fr>
2022-02-21 12:46:59 +01:00
Mossroy
236907aa06
Merge pull request #844 from gaurav7019/bug-fix/Adding-an-alert-message-if-shuffled-without-loading-a-ZIM-#821
Adding an alert if shuffled without loading a ZIM file
2022-02-21 08:28:04 +01:00
Gaurav Agarwal
c32ab35712 Adding an alert if shuffled without loading a ZIM file 2022-02-21 12:53:08 +05:30
Gaurav Agarwal
2271ff2ec3
Added bootstrap modal for alert and confirm popups #798 (#804)
Signed off by @gaurav7019
2022-02-20 11:28:03 +00:00
Mossroy
c798936248
Fix 2 codefactor warnings and remove whitespaces at end of lines of app.js (#842)
* Fix codefactor warnings and remove whitespaces at end of lines

* Fix typo
2022-02-19 19:23:16 +01:00
Mossroy
fe19839a04
Merge pull request #833 from kiwix/dependabot/npm_and_yarn/follow-redirects-1.14.8
Bump follow-redirects from 1.13.0 to 1.14.8
2022-02-17 21:40:25 +01:00
dependabot[bot]
e4671eb0d5
Bump follow-redirects from 1.13.0 to 1.14.8
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.13.0 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.13.0...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-15 18:17:49 +00:00
dependabot[bot]
bce35b4d58
Bump node-fetch from 2.6.1 to 2.6.7 (#834) 2022-02-15 18:16:05 +00:00
dependabot[bot]
940a11271d
Bump karma from 6.3.4 to 6.3.14 (#836) 2022-02-13 15:58:51 +01:00
Mossroy
eb7f489140
Prepare source code for future version 3.4 (#837)
Prepare source code for future version 3.4
2022-02-12 17:00:37 +01:00
Jaifroid
374d184bc7
Changelog for v3.3.1 (#830) 3.3.1 2022-02-11 18:55:27 +00:00
dependabot[bot]
1add79c5a4
Bump log4js from 6.3.0 to 6.4.1 (#832) 2022-02-11 12:43:44 +01:00
Jaifroid
829aaf29bf
Fix errors in publish extension workflow and add logging #823 (#829) 2022-02-10 00:02:02 +00:00
Joan CiberSheep
a318835c8f
Update manifest for UT #819 (#827)
Signed off by @cibersheep
Fixes #819
2022-02-08 23:55:03 +00:00
Joan CiberSheep
780845367a
UT icon and splash updated #817 (#818)
Signed off by @cibersheep
2022-02-08 20:56:54 +00:00
Jaifroid
ba994b8984
Fix race condition while loading decompressors (#822)
May fix #820. Also fixes #812.
2022-02-06 16:16:54 +00:00
Jaifroid
4eee7a1744
Update changelog for v3.3.0 (#805) 3.3.0 2022-02-06 14:34:50 +00:00
Mossroy
05db48d2a7
Merge pull request #815 from kiwix/fix-warning-on-each-start-when-SW-not-supported
Fix warning on each start when ServiceWorker is not supported
2022-02-05 09:27:43 +01:00
Mossroy
38dc19dd71 Fix warning on each start when ServiceWorker is not supported
Fixes #814
2022-02-04 13:57:29 +01:00
Jaifroid
b143e8372c
Fix incorrect processing of titles with question marks and anchor parameters #806 (#807) 2022-01-31 21:16:19 +00:00
Jaifroid
0a78496d6b
Default to Service Worker mode when accessing app as PWA #808 (#809) 2022-01-31 11:22:28 +00:00
Jaifroid
1fa345bf7e
Deal correctly with link element containing a favicon (#811) 2022-01-31 09:40:51 +00:00
Mossroy
0363306d2d
Copy CODE_OF_CONDUCT and REPORT_BUG from kiwix/overview (#803)
Copy CODE_OF_CONDUCT and REPORT_BUG from kiwix/overview

https://github.com/kiwix/overview/

And mention them in README

Fixes #784
2022-01-16 22:04:42 +01:00
Jaifroid
06e528a5f3
Provide methods for resetting the app and bypassing appCache #794 (#797) 2022-01-16 12:47:51 +00:00