cybrejon
f832599a31
chore: remove lines between or after svg string literals to conform with proper rust formatting
2024-02-22 00:10:06 +08:00
cybrejon
a1a615b79e
chore: remove invalid css property
2024-02-22 00:08:37 +08:00
cybrejon
0e1714b5d0
Merge branch 'rolling' of https://github.com/cybrejon/websurfx into rolling
2024-01-12 21:05:46 +08:00
aocosmic
f26a27a69f
Merge branch 'neon-mmd:rolling' into rolling
2024-01-12 21:05:38 +08:00
Evan Yang
efa8efc6c7
✨ Compression and encryption for the cached search results ( #443 )
...
* attempt1
* rough draft
* add features and their optional dependancies
* add encryption and compression error variants
* add a sample implementation to cache trait
* Update src/cache/cacher.rs
Co-authored-by: neon_arch <mustafadhuleb53@gmail.com>
* adjust comment so feature flag would apply?
* adjust feature flag so it applies?
* formatting
* Update src/cache/cacher.rs
update documentation
Co-authored-by: neon_arch <mustafadhuleb53@gmail.com>
* [features]Add base64 and chacha20 dependencies for compress-cache-results and encrypt-cache-results
* move encryption key and cipher logic to separate sub module
* added cacha20 and cec-results feature
* added cacha20 and cec-results feature
* added compression and encryption helper functions to trait implementations
* added compression and encryption implementation for inMemoryCache
* base64 is only requried when redis-cache feature is enabled
* add error case for base64 and encryption/compression implementation to redisCache
* Refactor cacher to remove regex dependency
* fmt cache error and cacher
* Update Cargo.toml
disabling the unneeded default-features
Co-authored-by: neon_arch <mustafadhuleb53@gmail.com>
* fix unused import warning for mimalloc
* remove deprecated method
* add doc comments for encryption module
* fix known bugs and use cfg-if module
* make cfg-if an optional dependency
* use feature-flag instead of maco lint
* add comment to explain type complexity
* bump app version
* Update src/cache/encryption.rs
Co-authored-by: neon_arch <mustafadhuleb53@gmail.com>
* fixed type complexity and add docs for types
---------
Co-authored-by: Spencer Najib <spencernajib2@gmail.com>
Co-authored-by: alamin655 <mdalamin655@outlook.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: neon_arch <mustafadhuleb53@gmail.com>
Co-authored-by: Spencerjibz <=spencernajib2@gmail.com>
Co-authored-by: spencer <spencer@DESKTOP-SIF13AR>
2024-01-11 11:10:35 +00:00
cybrejon
5ecc1a979a
Merge branch 'rolling' of https://github.com/cybrejon/websurfx into rolling
2024-01-09 19:30:09 +08:00
aocosmic
27b0b968ee
Merge branch 'neon-mmd:rolling' into rolling
2024-01-09 17:25:57 +08:00
Леонтий Вартанян
33846cee34
💄 style: replace the search button with a magnifying glass ( #483 )
...
Co-authored-by: neon_arch <mustafadhuleb53@gmail.com>
2024-01-06 21:17:11 +03:00
dependabot[bot]
3a97a6f621
⬆️ build(deps): bump async-trait from 0.1.75 to 0.1.76 ( #481 )
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.75 to 0.1.76.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.75...0.1.76 )
---
updated-dependencies:
- dependency-name: async-trait
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: neon_arch <mustafadhuleb53@gmail.com>
2024-01-02 10:21:40 +03:00
dependabot[bot]
92a141c1c5
⬆️ build(deps): bump redis from 0.23.3 to 0.24.0 ( #480 )
...
Bumps [redis](https://github.com/redis-rs/redis-rs ) from 0.23.3 to 0.24.0.
- [Release notes](https://github.com/redis-rs/redis-rs/releases )
- [Commits](https://github.com/redis-rs/redis-rs/compare/redis-0.23.3...redis-0.24.0 )
---
updated-dependencies:
- dependency-name: redis
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: neon_arch <mustafadhuleb53@gmail.com>
2024-01-02 10:15:12 +03:00
dependabot[bot]
c73cb838e2
⬆️ build(deps): bump minify-js from 0.5.6 to 0.6.0 ( #479 )
...
Bumps [minify-js](https://github.com/wilsonzlin/minify-js ) from 0.5.6 to 0.6.0.
- [Commits](https://github.com/wilsonzlin/minify-js/compare/v0.5.6...v0.6.0 )
---
updated-dependencies:
- dependency-name: minify-js
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: neon_arch <mustafadhuleb53@gmail.com>
2024-01-02 10:08:59 +03:00
dependabot[bot]
ebd69ff427
⬆️ build(deps): bump serde_json from 1.0.108 to 1.0.109 ( #478 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.108 to 1.0.109.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.108...v1.0.109 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: neon_arch <mustafadhuleb53@gmail.com>
2024-01-02 09:40:46 +03:00
dependabot[bot]
af3385d1c2
build(deps): bump actions/stale from 8 to 9 ( #476 )
...
Bumps [actions/stale](https://github.com/actions/stale ) from 8 to 9.
- [Release notes](https://github.com/actions/stale/releases )
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/stale/compare/v8...v9 )
---
updated-dependencies:
- dependency-name: actions/stale
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-02 09:31:29 +03:00
dependabot[bot]
649e0db5cb
build(deps): bump actions/labeler from 4 to 5 ( #477 )
2024-01-02 06:11:14 +00:00
dependabot[bot]
62459c68e8
build(deps): bump rust from 1.74.0-alpine3.18 to 1.75.0-alpine3.18 ( #475 )
2024-01-02 06:05:57 +00:00
Jann Marc Villablanca
50aa52c485
✨ Bing
for the search engine ( #473 ) ( #473 )
...
fix: add closing curly brace
- accidentally removed from previous PR. i hope i did not ruin some
build
* feat: implement mojeek engine
* Merge branch 'rolling' into FEAT_316_bing_search_engine
* ✨ feat: implement bing engine
* Fix: include cookie string to header_map
* Fix: include <strong> tags from upstream search
* Merge branch 'rolling' into FEAT_316_bing_search_engine
Co-authored-by: neon-mmd <132049916+neon-mmd@users.noreply.github.com>
2024-01-01 14:57:31 +03:00
Леонтий Вартанян
5020f36c90
♻️ refactor: standardize the content-type
header by using an enum value over typing it manually ( #474 )
...
* ♻️ refactor: change content-type
* 🐛 fix: change parameters that were passed to the settings function
---------
Co-authored-by: neon_arch <mustafadhuleb53@gmail.com>
2023-12-31 13:31:07 +03:00
Siddharth Tiwari
5b4864424a
⚡ perf: Compression for the page responses of the search engine ( #472 )
2023-12-31 12:57:50 +03:00
alamin655
ddb10f6584
Merge pull request #469 from neon-mmd/FIX/468_pagination-for-the-upstream-search-engines-not-working
...
🚑 ️ Pagination code for the upstream search engines
2023-12-30 21:37:06 +05:30
neon_arch
61393ba7c4
Merge branch 'rolling' into FIX/468_pagination-for-the-upstream-search-engines-not-working
2023-12-30 13:17:44 +03:00
neon_arch
f2907641d2
🔖 chore(release): bump the app version ( #468 )
2023-12-30 13:08:55 +03:00
neon_arch
7d42c84aaf
🚑 ️ fix(engine): fix the pagination code for startpage
engine ( #468 )
2023-12-30 13:07:18 +03:00
neon_arch
72da32383e
🚑 ️ fix(engine): fix the pagination code for searx
engine ( #468 )
2023-12-30 13:06:57 +03:00
neon_arch
2bdddaf928
🚑 ️ fix(engine): fix the pagination code for librex
engine ( #468 )
2023-12-30 13:06:35 +03:00
neon_arch
0dd25aacb6
🚑 ️ fix(engine): fix the pagination code for duckduckgo
engine ( #468 )
2023-12-30 13:05:04 +03:00
alamin655
41f3fe7485
Merge pull request #462 from neon-mmd/CHORE/461_display-the-user-provided-settings-from-the-config-or-the-ui-in-the-settings-page
...
🚸 Display the user provided settings from the config or the UI in the settings page
2023-12-30 12:27:50 +05:30
alamin655
7f84c6346d
Merge branch 'rolling' into CHORE/461_display-the-user-provided-settings-from-the-config-or-the-ui-in-the-settings-page
2023-12-30 12:23:47 +05:30
ddotthomas
d073aa247a
♻️ refactor: start tracking page numbers from 0 instead of 1 in the backend ( #467 )
...
Co-authored-by: neon_arch <mustafadhuleb53@gmail.com>
2023-12-29 21:20:38 +03:00
Jann Marc Villablanca
9f23a1c70b
✨ feat(engine): mojeek
for the search engine ( #464 )
...
* 🧑💻 fix: add closing curly brace in the nix build step
* ✨ feat: add code to provide search results from `mojeek` engine
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-12-29 19:21:06 +03:00
neon_arch
d8943709c7
🚨 chore: make cargo format checks happy ( #461 )
2023-12-28 21:08:42 +03:00
neon_arch
93afb6b8c9
Merge branch 'rolling' into CHORE/461_display-the-user-provided-settings-from-the-config-or-the-ui-in-the-settings-page
2023-12-28 21:04:21 +03:00
neon_arch
83c3981697
🔖 chore: bump the app version ( #461 )
2023-12-28 20:22:05 +03:00
neon_arch
40138572be
🚨 chore: make clippy checks happy ( #461 )
2023-12-28 20:15:38 +03:00
neon_arch
7b392b369d
💄 chore: add style for the new message when a setting is managed by the config cannot be altered/modified ( #461 )
2023-12-28 20:09:35 +03:00
neon_arch
26aa345f06
🚸 chore: pass the safe_search_level
& upstream_search_engines
as a hashmap in the settings
view function ( #461 )
2023-12-28 19:58:18 +03:00
neon_arch
b7a23f1826
🚸 chore: add code to display saved settings from the config on the settings page ( #461 )
2023-12-28 19:54:47 +03:00
neon_arch
34468202f9
🚸 chore: add code to display saved user settings from the cookies on the settings page ( #461 )
2023-12-28 19:54:28 +03:00
maokwen
9f5213cf42
🐛 fix: explicit content-type
header for the search page response ( #458 )
2023-12-28 07:05:21 +03:00
maokwen
43357493d5
🐛 fix: explicit Content-Type header for HTTP response ( #457 )
2023-12-27 11:24:44 +03:00
alamin655
1d9718798f
Merge pull request #455 from neon-mmd/DOCS/439_revise-the-docs-to-remain-in-sync-with-the-current-changes
...
📝 Revise the `docs` to remain in sync with the current changes
2023-12-25 18:43:11 +05:30
alamin655
8312d21f9f
Merge branch 'rolling' into DOCS/439_revise-the-docs-to-remain-in-sync-with-the-current-changes
2023-12-25 18:37:38 +05:30
cybrejon
2ccd1c6864
Merge branch 'rolling' of https://github.com/neon-mmd/websurfx into rolling
2023-12-25 12:21:03 +08:00
Jann Marc Villablanca
0943b8b8c4
📝 Developer environment setup on NixOS ( #454 )
...
* 🧑💻 feat: update nix flake dev environment
- This removes installing `docker`, `rust-analyzer`, `rustfmt`
imperatively. `nodejs` is used to install dev dependencies
`stylelint-config-standard` and `postcss-lit`
- The `shellHook`s adds `rusty-hook` CLI to the PATH and the node
dev dependencies to the NODE_PATH.
* 📝 docs(developing): update NixOS dev environment setup
* fix: remove nonvital guide and improve grammar
---------
Co-authored-by: neon_arch <mustafadhuleb53@gmail.com>
2023-12-24 07:27:54 +03:00
cybrejon
f7b5535905
Merge branch 'rolling' of https://github.com/neon-mmd/websurfx into rolling
2023-12-24 09:31:16 +08:00
neon_arch
3b127d26a1
Merge branch 'rolling' into DOCS/439_revise-the-docs-to-remain-in-sync-with-the-current-changes
2023-12-23 21:25:03 +03:00
neon_arch
96ed04c298
🔖 chore: bump the app version ( #439 )
2023-12-23 20:23:41 +03:00
neon_arch
e8f9ad2479
📝 docs: provide a note on the pkg_env
environment variable & update the example config file ( #439 )
2023-12-23 20:05:33 +03:00
neon_arch
fb46d2c6f2
📝 docs: update the theme example & add a new animation section ( #439 )
2023-12-23 19:42:43 +03:00
neon_arch
a66362bce1
📝 docs: provide explanation for the new config file options ( #439 )
2023-12-23 19:34:40 +03:00
Jann Marc Villablanca
12843414f8
🧑💻 feat: add cargo-watch to nix dev shell ( #452 )
...
- Contributors using NixOS won't need to install cargo-watch
imperatively via `cargo` since it is already packaged up in `nixpkgs`
2023-12-23 09:45:30 +03:00