1192 Commits

Author SHA1 Message Date
Jaifroid
012d9eb9b1 Add dark theme to changelog! 2025-06-20 08:50:16 +01:00
Jaifroid
d9f2804bdf Bump version to 4.2.1 2025-06-16 09:00:10 +01:00
Jaifroid
eb3ed0aab3 Update CHANGELOG.md 2025-06-16 05:56:23 +01:00
Jaifroid
5d407032ea Clearer signposting in build file 2025-06-16 05:56:18 +01:00
Jaifroid
70234e84ac Fix wrong package in Ubuntu touch manifest. 2025-06-16 05:20:14 +01:00
Jaifroid
4a90691927
Update Ubuntu Touch sdk to 20.04 #1353 (#1354) 2025-06-15 22:46:30 +01:00
Jaifroid
185cb9c669 More robust waiting for iframe to be ready 4.2.0 2025-06-15 13:01:57 +01:00
Jaifroid
e846b3e07a
Attempt to fix Linux tests #1350 (#1352) 2025-06-15 12:43:20 +01:00
Jaifroid
bc820aff38 Change referrer policy style for Safari 2025-06-15 09:11:31 +01:00
Jaifroid
b5fbb6d06f Update CHANGELOG.md 2025-06-15 08:36:44 +01:00
Jaifroid
d383b2cb18 Fix manifest v3 for latest Firefox 2025-06-15 08:33:31 +01:00
Jaifroid
ca79f29bcc Security update 2025-06-14 18:14:06 +01:00
Jaifroid
043065d56f Bump app to v4.2.0 2025-06-14 18:13:46 +01:00
Jaifroid
71b08bc799
Update CHANGELOG for v4.2.0 (#1341) 2025-06-14 18:11:29 +01:00
Pranjal Pandey
b29290484a
Ddded table of contents dropup #1212 (#1306)
Signed off by @heropj
2025-06-14 17:57:17 +01:00
Anuj Kumar Sharma
0e531b6e3c
Added Wikipedia's own Dark Mode solution (#1320)
* Addede wikipedia's dark mode

Signed-off-by: THEBOSS0369 <anujkumsharma9876@gmail.com>

* Fixed codefactor issue

Signed-off-by: THEBOSS0369 <anujkumsharma9876@gmail.com>

* Removed overriding classes

Signed-off-by: THEBOSS0369 <anujkumsharma9876@gmail.com>

* Fixed dark mode conversion

Signed-off-by: THEBOSS0369 <anujkumsharma9876@gmail.com>

* fixed another little update

Signed-off-by: THEBOSS0369 <anujkumsharma9876@gmail.com>

* Added wikipedia's dark theme for zim

Signed-off-by: THEBOSS0369 <anujkumsharma9876@gmail.com>

* fixed codefactor

Signed-off-by: THEBOSS0369 <anujkumsharma9876@gmail.com>

* adding css file in sw file

Signed-off-by: THEBOSS0369 <anujkumsharma9876@gmail.com>

* Added feature to switch to a standard inversion dark mode if the user loads a non-Wikimedia ZIM

Signed-off-by: THEBOSS0369 <anujkumsharma9876@gmail.com>

* added explicit check for the theme

Signed-off-by: THEBOSS0369 <anujkumsharma9876@gmail.com>

* Fixed dropdown issue and add asterisk

Signed-off-by: THEBOSS0369 <anujkumsharma9876@gmail.com>

* fixing white flash

Signed-off-by: THEBOSS0369 <anujkumsharma9876@gmail.com>

* fixing eslint

Signed-off-by: THEBOSS0369 <anujkumsharma9876@gmail.com>

* Fixing codeerror

Signed-off-by: THEBOSS0369 <anujkumsharma9876@gmail.com>

* REVERTING

Signed-off-by: THEBOSS0369 <anujkumsharma9876@gmail.com>

* Revert "REVERTING"

This reverts commit c515392dcf1acdafdd8023989ddeb8bb0da60c74.

* Fixed color

* Removing unncessary code which was added to fix flash issue

Signed-off-by: THEBOSS0369 <anujkumsharma9876@gmail.com>

* Add translations in i18n dir

Signed-off-by: THEBOSS0369 <anujkumsharma9876@gmail.com>

* Added in description

Signed-off-by: THEBOSS0369 <anujkumsharma9876@gmail.com>

* Update i18n/es.jsonp.js

Co-authored-by: Jaifroid <egk10@cam.ac.uk>

* Update i18n/fr.jsonp.js

Co-authored-by: Jaifroid <egk10@cam.ac.uk>

* Update i18n/fr.jsonp.js

Co-authored-by: Jaifroid <egk10@cam.ac.uk>

---------

Signed-off-by: THEBOSS0369 <anujkumsharma9876@gmail.com>
Co-authored-by: Jaifroid <egk10@cam.ac.uk>
2025-06-14 22:10:19 +05:30
Jaifroid
ec52b0a6b7 Fix keyboard handling of fulltext search results 2025-06-11 06:32:29 +01:00
Jaifroid
3bb40fb4b0
Add snippets to full-text search #1348 (#1349) 2025-06-09 17:40:47 +01:00
Jaifroid
2e0bed69e8 Update javascript-libzim to v0.9 2025-06-08 17:08:48 +01:00
Jaifroid
8762eeb340
Fix race conditions in tests #1346 (#1347) 2025-06-04 13:29:52 +01:00
Jaifroid
2b6b6b4bd4 Merge branch 'main' of https://github.com/kiwix/kiwix-js 2025-06-03 18:13:15 +01:00
Jaifroid
5b20aabb64 Update libzim with patched unreleased version 2025-06-03 18:12:49 +01:00
dependabot[bot]
de0d7ab19b
Bump vite from 6.2.6 to 6.3.4 (#1344)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.2.6 to 6.3.4.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.3.4/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.3.4
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-25 18:52:46 +01:00
Jaifroid
bdf763aeee
Update GH release action to Ubuntu 22.04 #1342 (#1343) 2025-04-22 07:50:10 +01:00
Anuj Kumar Sharma
0c447db018
Fixed the folder dark mode style (#1339)
Signed-off-by: THEBOSS0369 <anujkumsharma9876@gmail.com>
2025-04-20 18:03:23 +05:30
Jaifroid
e9b4473aec
Build compact code by default #1337 (#1338) 2025-04-20 09:28:51 +01:00
Jaifroid
4c4440807f
Update javascript-libzim to v0.7 (#1335) 2025-04-20 08:22:27 +01:00
Anuj Kumar Sharma
22d7c79230
Fixed Dropdown Dark mode UI and Searchbar Results Placement (#1329)
* Adding exact wikipedia's theme

Signed-off-by: THEBOSS0369 <anujkumsharma9876@gmail.com>

* one thing missed to fix

Signed-off-by: THEBOSS0369 <anujkumsharma9876@gmail.com>

* Fixed searchbar placement and dropdown Dark UI

Signed-off-by: THEBOSS0369 <anujkumsharma9876@gmail.com>

---------

Signed-off-by: THEBOSS0369 <anujkumsharma9876@gmail.com>
2025-04-19 16:39:24 +05:30
Deveesh Shetty
33fe70a90a
Select file in archive dropdown on refresh and dynamically resize #1316 (#1327)
Signed off by @dev-shetty
2025-04-19 09:00:17 +01:00
Jaifroid
d48011d2d0 Correctly specify conditions for WASM decompressor 2025-04-19 08:16:33 +01:00
dependabot[bot]
e49a9ebb3a
Bump vite from 6.2.5 to 6.2.6 (#1333)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.2.5 to 6.2.6.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v6.2.6/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.2.6/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.2.6
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-19 06:34:17 +01:00
dependabot[bot]
fa7310a9ff
Bump vite from 6.2.4 to 6.2.5 (#1332)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.2.4 to 6.2.5.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v6.2.5/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.2.5/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.2.5
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-09 15:32:27 +01:00
dependabot[bot]
bf2c667297
Bump vite from 6.2.3 to 6.2.4 (#1331)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.2.3 to 6.2.4.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v6.2.4/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.2.4/packages/vite)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-01 12:22:48 +01:00
Jaifroid
49d7fbc99d
Update code checking actions,, add ESLint tests, and fix test race conditions #1323 (#1328) 2025-03-26 16:38:57 +00:00
dependabot[bot]
6d263537c1
Bump vite from 6.2.2 to 6.2.3 (#1326)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.2.2 to 6.2.3.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v6.2.3/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.2.3/packages/vite)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-26 07:35:52 +00:00
Henry O.
1a01365032
Make Kiwix search results accessible for screen readers #778 (#1321)
Signed off by @devhenode
2025-03-23 23:11:33 +00:00
Jaifroid
6d5d5000bf
Clean up and separate unit and e2e tests, remove QUnit, update documentation (#1324)
* Try uncluttering code

* Fully remove QUnit tests

* Update test documentation

* Remove more mentions of Testafé

* Don't autorun Unit Tests
2025-03-23 22:33:45 +00:00
Jaifroid
f37ed3c1c1
Handle user clicking on child element of list item (#1322) 2025-03-23 14:31:15 +00:00
Jaifroid
a8cab597c8
Run tests on ubuntu-latest (#1319) 2025-03-22 11:53:30 +00:00
Anuj Kumar Sharma
b3c404451b
Converted Q Unit tests to Mocha Tests (#1301)
* Added Files

* Fixed the init file

Signed-off-by: THEBOSS0369 <anujkumsharma9876@gmail.com>

* Trying again

* Adding coverage folders in gitignore

* Fixed fallback errors & some grammatical checks

Signed-off-by: THEBOSS0369 <anujkumsharma9876@gmail.com>

* Added unit test coverage

Signed-off-by: THEBOSS0369 <anujkumsharma9876@gmail.com>

* Revert "Added unit test coverage"

This reverts commit 444e215d79665da1cb8631b9268bdea1f8e701d8.

* Fixing merge conflicts

Signed-off-by: THEBOSS0369 <anujkumsharma9876@gmail.com>

* Integrate tests into workflows

Signed-off-by: THEBOSS0369 <anujkumsharma9876@gmail.com>

* removing unit-watch

Signed-off-by: THEBOSS0369 <anujkumsharma9876@gmail.com>

---------

Signed-off-by: THEBOSS0369 <anujkumsharma9876@gmail.com>
2025-03-17 18:27:36 +05:30
dependabot[bot]
c628aa64b6
Bump esbuild, @vitejs/plugin-legacy and vite (#1318)
Bumps [esbuild](https://github.com/evanw/esbuild) to 0.25.1 and updates ancestor dependencies [esbuild](https://github.com/evanw/esbuild), [@vitejs/plugin-legacy](https://github.com/vitejs/vite/tree/HEAD/packages/plugin-legacy) and [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite). These dependencies need to be updated together.


Updates `esbuild` from 0.18.20 to 0.25.1
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2023.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.18.20...v0.25.1)

Updates `@vitejs/plugin-legacy` from 4.1.1 to 6.0.2
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/plugin-legacy/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.0.2/packages/plugin-legacy)

Updates `vite` from 4.5.9 to 6.2.2
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.2.2/packages/vite)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-type: indirect
- dependency-name: "@vitejs/plugin-legacy"
  dependency-type: direct:development
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-16 17:02:28 +00:00
Jaifroid
4e2fc5eeed Security updates 2025-03-16 16:22:20 +00:00
Jaifroid
2096a8cf82
Improve popover placement and style support (#1307) 2025-02-17 08:41:59 +00:00
Anuj Kumar Sharma
47db0e7efd
Added an automated Selenium UI test for a small Zimit2 archive (#1286)
* Selenium ui test

* Added android test

* New test

* Fixed all the tests

* Fixed the failing tests

* Update tonedear.e2e.spec.js

* Reducing Time Wait

* Adding tests in every files

* Fixing tests again

* Fixing tests again 2

* Increased Time Out for images verififcation

* Fixing tests

* Update tonedear.e2e.spec.js

* Removing of Dialogue box which fails the tests & increasing tests on different browsers

* Delete tests/e2e/spec/tonedear.js

* Remove unwanted image files

* Removing extra test made on new versions of browsers

* removing reusing same driver in test file ff70

* Fixing the test fail issue

* increasing the timeout and remove the tests from ff70 to test

* fixing tests

* fixing tests

* Testing if bs works or not

* trying again

* Update edge18.bs.runner.js

* Update firefox70.bs.runner.js

* Update firefox70.bs.runner.js

* Adding all the working code from Dummy PR

* Removed Unnecessary codes from tonedear.e2e.spec.js

* fixed service worker const issue

* Added service worker api testing

Signed-off-by: THEBOSS0369 <anujkumsharma9876@gmail.com>

---------

Signed-off-by: THEBOSS0369 <anujkumsharma9876@gmail.com>
2025-01-27 09:42:28 +05:30
Anuj Kumar Sharma
56b2a5c671
Fix sizing of search bar on narrow screens #1214 (#1302)
Signed-off-by: @THEBOSS0369
2025-01-26 11:32:10 +00:00
dependabot[bot]
c3ac2b2e9e
Bump vite from 4.5.5 to 4.5.9 (#1303)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.5.5 to 4.5.9.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v4.5.9/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.5.9/packages/vite)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-26 11:11:15 +00:00
Jaifroid
19c9568dec Some security updates 2025-01-18 12:58:36 +00:00
Jaifroid
269e01b5d9
Change incorrect function calls to spinner (#1299) 2025-01-09 16:09:16 +00:00
Travis Briggs
bd0e36cde9
Merge pull request #1297 from nkalinos/readMeUpdate
chore: adjust readme spellings
2024-12-17 16:57:26 -08:00
Nick Kalinoski
b6b3a18627 chore: adjust readme spellings 2024-12-17 14:24:57 -07:00