mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-04-25 12:15:50 +03:00
[PR #842] [MERGED] Add preferences parameter to url #991
Labels
No labels
Fixed (Pending PR Merge)
Stale
bug
enhancement
enhancement
good first issue
help wanted
keep-open
needs more info
pull-request
question
theme
unfortunate
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/whoogle-search#991
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/benbusby/whoogle-search/pull/842
Author: @jacr13
Created: 9/7/2022
Status: ✅ Merged
Merged: 9/22/2022
Merged by: @benbusby
Base:
main← Head:add-pref-url📝 Commits (10+)
27e16e5add support for config through url5fa4272make encrypted string shorter90d1135fix url description and add english translation0405b97add config variable08c31deadd brotli library to requirements2b79356add missing library for brotli5e75fd7add encryption only when option is set0d31b1aMerge branch 'main' into add-pref-url8f39087fix encryption tag in preferences tokenb26904badd new environment variables📊 Changes
15 files changed (+249 additions, -39 deletions)
View changed files
📝
Dockerfile(+1 -1)📝
README.md(+19 -17)📝
app.json(+10 -0)📝
app/models/config.py(+76 -3)📝
app/routes.py(+10 -1)📝
app/static/settings/translations.json(+54 -0)📝
app/templates/header.html(+8 -2)📝
app/templates/index.html(+11 -0)📝
app/templates/opensearch.xml(+3 -0)📝
app/utils/results.py(+4 -0)📝
charts/whoogle/values.yaml(+17 -15)📝
docker-compose-traefik.yaml(+2 -0)📝
requirements.txt(+1 -0)📝
test/test_misc.py(+27 -0)📝
whoogle.template.env(+6 -0)📄 Description
The preferences' parameter contain an encrypted version of the desired config of the user.
The encryption step is a choice and not required, as it is here a key is mandatory to show the new url in configuration.
If we decide to go without encryption, the preferences' parameter could work on different instances of whoogle. Maybe it is useful for people using farside to have it not encrypted?
The next possible step, would be to add a config variable to deactivate completely the cookies ?!
Fixes: #817
Translation needs to be done.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.