887 Commits

Author SHA1 Message Date
Dheeraj Lalwani
23d596b309
Convert further jQuery statements to native JS #920 (#927)
Signed off by @dheerajdlalwani.
2022-11-27 08:22:32 +00:00
Jaifroid
4042cbc5c3
Add fulltext directory listing to archive metadata #928 (#932) 2022-11-26 12:54:52 +00:00
Dheeraj Lalwani
7f8476d136
Replace .click(), .focus() and .attr() jQuery functions with equivalent native JS #919 (#925)
Signed off by @dheerajdlalwani
2022-11-22 13:48:02 +00:00
Jaifroid
dc30d0e8b6
Exempt latex images from re-inversion in dark mode #922 (#923) 2022-11-18 09:05:09 +00:00
Jaifroid
39051c91e3
Replace jQuery for hide and show statements selected by ID #916 (#917) 2022-11-16 15:52:58 +00:00
Jaifroid
69872b4035 Update create_all_packages.sh 2022-11-12 14:17:08 +00:00
Jaifroid
a63294d731 Source code for v3.7-WIP 2022-11-12 14:15:24 +00:00
Jaifroid
820193898d Revert removal of -WIP 2022-11-12 12:02:24 +00:00
Jaifroid
005d054193
Changelog and version for v3.6.0 (#911) 3.6.0 2022-11-12 11:22:35 +00:00
Jaifroid
56906d540a
Disable Firefox latest in cross-browser tests and disable end-to-end tests #894 (#895) 2022-11-04 08:31:39 +00:00
Jaifroid
fa944fecec
Update compatibility list and other details in README #905 (#906) 2022-10-26 13:31:02 +01:00
Jaifroid
b678034205
Switch to ServiceWorker Mode by default #196 (#903) 2022-10-24 16:21:02 +01:00
dependabot[bot]
b737a8b3e1
Bump netmask and nightwatch (#898)
Bumps [netmask](https://github.com/rs/node-netmask) to 2.0.2 and updates ancestor dependency [nightwatch](https://github.com/nightwatchjs/nightwatch). These dependencies need to be updated together.


Updates `netmask` from 1.0.6 to 2.0.2
- [Release notes](https://github.com/rs/node-netmask/releases)
- [Changelog](https://github.com/rs/node-netmask/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rs/node-netmask/compare/1.0.6...2.0.2)

Updates `nightwatch` from 1.5.1 to 1.7.13
- [Release notes](https://github.com/nightwatchjs/nightwatch/releases)
- [Commits](https://github.com/nightwatchjs/nightwatch/compare/v1.5.1...v1.7.13)

---
updated-dependencies:
- dependency-name: netmask
  dependency-type: indirect
- dependency-name: nightwatch
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-16 07:38:45 +01:00
dependabot[bot]
8838cc6bd7
Bump json-schema and jsprim (#897)
Bumps [json-schema](https://github.com/kriszyp/json-schema) and [jsprim](https://github.com/joyent/node-jsprim). These dependencies needed to be updated together.

Updates `json-schema` from 0.2.3 to 0.4.0
- [Release notes](https://github.com/kriszyp/json-schema/releases)
- [Commits](https://github.com/kriszyp/json-schema/compare/v0.2.3...v0.4.0)

Updates `jsprim` from 1.4.1 to 1.4.2
- [Release notes](https://github.com/joyent/node-jsprim/releases)
- [Changelog](https://github.com/TritonDataCenter/node-jsprim/blob/v1.4.2/CHANGES.md)
- [Commits](https://github.com/joyent/node-jsprim/compare/v1.4.1...v1.4.2)

---
updated-dependencies:
- dependency-name: json-schema
  dependency-type: indirect
- dependency-name: jsprim
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-16 07:33:54 +01:00
dependabot[bot]
b488ffe306
Bump ecstatic and http-server (#896)
Removes [ecstatic](https://github.com/jfhbrook/node-ecstatic). It's no longer used after updating ancestor dependency [http-server](https://github.com/http-party/http-server). These dependencies need to be updated together.


Removes `ecstatic`

Updates `http-server` from 0.12.3 to 14.1.1
- [Release notes](https://github.com/http-party/http-server/releases)
- [Commits](https://github.com/http-party/http-server/compare/v0.12.3...v14.1.1)

---
updated-dependencies:
- dependency-name: ecstatic
  dependency-type: indirect
- dependency-name: http-server
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-16 07:27:27 +01:00
Jaifroid
13afb90d95
Rename nightly packages to show date instead of revsion ID (#893)
Fixes https://github.com/kiwix/k8s/issues/50 for Kiwix JS.
2022-10-08 16:27:24 +01:00
Jaifroid
9a6e6f7add
Fix issue preventing detection of simple scripts in regexpActiveContent (#892) 2022-10-02 14:51:24 +01:00
Jaifroid
77da9bea3e
Update active content detection due to removal of inline JS #890 (#889) 2022-09-25 12:56:11 +01:00
Blake Cooper
7a8e40319d
Icon dark mode visible #881 (#884)
* Replaced icons with white outline version (#881)

The original icon (black with no outline) was not clearly visible in browsers with dark mode enabled. All icons in img/ and img/icons/ have been replaced with versions with a white outline from https://github.com/kiwix/kiwix-js-windows/tree/master/www/img.

* Replaced icons with white outline version (#881)

The original icon (black with no outline) was not clearly visible in browsers with dark mode enabled. All icons in img/ and img/icons/ have been replaced with versions with a white outline from https://github.com/kiwix/kiwix-js-windows/tree/master/www/img.

* Generated icons from recommended source file #881

Icons generated from https://github.com/kiwix/kiwix-js-windows/tree/master/images/2000px-Kiwix_logo_v3_with_border.png

* Delete kiwix-36.png

* Updated 600x600, re-generated icons

Testing fuzziness in GIMP exports

* Regenerated icons

* Reduced size of icon outlines for better scaling

* Reduced size of icon outlines for better scaling

* Reduced icon file sizes

Reduced resolution to 72 ppi and eliminated metadata

* Reduced icon file sizes

Reduced resolution to 72 ppi and eliminated metadata
2022-09-14 16:23:33 +02:00
Jaifroid
1ff130d7d5
Detect attempt to open Zimit archive and warn user #883 (#885) 2022-08-27 14:51:13 +03:00
Jaifroid
f4c85957b4
Exempt more content from active content warning #746 (#882)
Fixes #746.
2022-08-15 11:08:12 +03:00
Mossroy
094e748174 Prepare source code for version 3.6 2022-08-05 10:24:47 +02:00
Mossroy
989cf7c24d
More explanation on DirEntry size in changelog 3.5.0 2022-08-04 23:32:05 +02:00
Mossroy
1d2a18e130
Rewording of CHANGELOG suggested by Jaifroid 2022-08-04 23:22:50 +02:00
Mossroy
27c45ed671
Update changelog for v3. 2022-08-04 18:29:54 +02:00
Mossroy
53ba099246
Switch to PWA in Firefox extension when SW API is unavailable (#878)
This is necessary for Firefox >=103, where the ServiceWorker API has been
removed in WebExtensions.
See https://hg.mozilla.org/integration/autoland/rev/3a2907ad88e8

Fixes #877
2022-08-04 17:52:27 +02:00
Jaifroid
d76e09ff30
Explicitly set max supported dirEntry size #875 (#876) 2022-08-04 15:29:07 +01:00
Mossroy
7b4a62bc64
Send requested byte range from SW, with correct headers (#868)
* Send requested byte range from SW, with correct headers

Fixes #531

* Improve comments

* Ignore end offset of requested range

* Remove debug logs and apply review remarks

* Remove unused variable, thanks codefactor
2022-06-06 16:04:45 +02:00
Mossroy
acd99a5be0
Merge pull request #862 from kiwix/open-external-links-in-new-tab-in-SW-mode
Open external links in new tabs, and warn the user
2022-06-02 17:22:45 +02:00
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