Commit Graph

408 Commits

Author SHA1 Message Date
Vansh Comar
e2adfa38b4 Another PEP8 update 2021-10-19 00:28:51 +05:30
Vansh Comar
638db1e608 PEP8 FIX 2021-10-19 00:15:47 +05:30
Vansh Comar
6ea18a4b59 PEP8 Correction 2021-10-19 00:07:43 +05:30
Vansh Comar
08d2074697 PEP8 Formatting update 2021-10-19 00:01:28 +05:30
Vansh Comar
08fe263eae PEP8 Styling change 2021-10-18 20:23:25 +05:30
Vansh Comar
8df2322fda Feature to show client's public ip address when 'my ip' is used as a search keyword #407 2021-10-18 19:57:39 +05:30
Vansh Comar
ff046e788a
Merge branch 'benbusby:main' into main 2021-10-17 05:02:27 +05:30
Vansh Comar
79fb7531be
Implement scribe.rip replacement for medium.com results (#463)
scribe.rip is a privacy respecting front end for medium.com. This
feature allows medium.com results to be replaced with scribe.rip links,
and works for both regular medium.com domains as well as user specific
subdomains (i.e. user.medium.com).

[scribe.rip website](https://scribe.rip)
[scribe.rip source code](https://git.sr.ht/~edwardloveall/scribe)

Co-authored-by: Ben Busby <noreply+git@benbusby.com>
2021-10-16 12:22:00 -06:00
Ben Busby
b5370aef70
Fix pep8 issues, move hostname declaration out of loop 2021-10-16 12:11:39 -06:00
Vansh Comar
e2ada2684b Implements #455 2021-10-15 15:33:41 +05:30
Ben Busby
ee6a27e541
Add link to user css themes in config menu 2021-10-14 20:20:12 -06:00
Ben Busby
87fbb04c59 Add new theme template 2021-10-14 20:10:01 -06:00
Ben Busby
ff885e4fde
Disable autocomplete via WHOOGLE_AUTOCOMPLETE var
Setting WHOOGLE_AUTOCOMPLETE to 0 now disables the autocomplete/search
suggestion feature.

Closes #462
2021-10-14 18:59:10 -06:00
Ben Busby
18688705be
Update libraries 2021-10-14 17:57:05 -06:00
Ben Busby
c1d8a0c625
Add build status badge to readme 2021-10-13 21:09:29 -06:00
Ben Busby
a76d39ec86
Fix missing translations in config menu
Closes #374
2021-10-13 21:07:42 -06:00
Ben Busby
9097c3ae23
Add /home endpoint to header template
Used in header templates for navigating back to the home page when
behind a reverse proxy config where the app is running from a subpath of
a domain (i.e. "https://something/whoogle/")

Fixes #403
2021-10-13 20:55:26 -06:00
Ben Busby
20976f2ab9
Exclude test dir from docker actions 2021-10-11 21:13:59 -06:00
Ben Busby
c6716e6d46
Enable tag builds for pypi and buildx workflows 2021-10-11 20:22:29 -06:00
Ben Busby
60b36c3b19
Update buildx workflow
Buildx workflow now waits for tests to pass before building/uploading
new images.

There's also a separate step for building a properly formatted tag image
if triggered by a new tag.
2021-10-11 20:11:31 -06:00
Ben Busby
334aabacb7
Bump version to 0.6.0 2021-10-11 17:44:57 -06:00
Albony Cal
c89353cfec
Add hindi translation (#448) 2021-10-11 14:32:03 -06:00
rn83
f18400b1f1
Strip SKIP_PREFIX for SITE_ALTS only (#452)
Domain prefixes (www, mobile, m) are now striped for site alternatives only.
2021-10-11 14:25:21 -06:00
Ben Busby
2dd86fcf97
Update systemd instructions
Fixes #453
2021-10-11 14:22:11 -06:00
Ben Busby
002e2103ad
Simplify buildx workflow
There doesn't really need to be a 'develop' branch anymore, since all
work is committed directly to 'main', with tags to indicate
production-ready builds.

As a result, the buildx-dev workflow is pretty pointless.
2021-09-29 20:54:48 -06:00
Ben Busby
b189ea3963
Fix hardcoded search method in header template
Should use GET if user has configured "GET only" in their config

Closes #446
2021-09-29 20:40:56 -06:00
Oscar
57a7bf6e95
Remove whoogle.silkky.cloud public instance (#443) 2021-09-29 20:33:50 -06:00
Ben Busby
1729324fbd
Run pep8 check on PRs 2021-09-27 20:40:51 -06:00
BorislavGeorgiev
10b60d9373
Add Bulgarian translation (#440) 2021-09-27 20:39:38 -06:00
BlissOWL
f12b0e62c5
Make bang searches case insensitive (#438)
Bang searches now ignore the capitalization of the operator

Co-authored-by: Ben Busby <noreply+git@benbusby.com>
2021-09-27 19:39:58 -06:00
Ben Busby
27d978f232
Hide overflow on all result divs
Mostly addresses the small amount of visible overflow on sections like
"Top Stories".
2021-09-18 21:19:05 -06:00
drugal
46da74fe8a
Add search language to public instances table (#431) 2021-09-16 16:30:56 -06:00
Kang-min Liu
c3fd84b942
Update name of "Taiwan" in country list (#429) 2021-09-16 16:22:44 -06:00
Ben Busby
817b51eb48
Document WHOOGLE_CONFIG_NEAR env var
Fixes #406
2021-09-15 16:00:36 -06:00
Kang-min Liu
5289b4ceb3
Add zh-TW translations (#428)
There are a few conventional choices but this one should be friendly
and generally accepted by local reader.

Previous version is still comprehensible but lesser users (perhaps
used in Japanese documents) and may give local users a pause.
2021-09-15 15:30:53 -06:00
Peter Dave Hello
ed963933d9
Add ini highlighting to readme (#426) 2021-09-15 15:27:50 -06:00
Ben Busby
b4e2add146
Run GH action tests on PRs 2021-09-15 15:27:11 -06:00
FlawCra
598b58a43d
Update location of public instance (#425)
https://search.flawcra.cc -> DE
2021-09-15 15:25:51 -06:00
Flux Industries
f093fd26c1
Add public instance to readme (#423)
search.flux.industries
2021-09-15 15:25:00 -06:00
Ben Busby
d1e0a06ebd
Move timestamp for dev builds into build process 2021-08-31 09:34:28 -06:00
Ben Busby
c298b8447c
Split PyPI action into separate jobs 2021-08-31 09:18:07 -06:00
Ben Busby
5d86326ae6
Append timestamp to TestPyPI build versions
This should allow the same "version" to be uploaded for each commit.
2021-08-31 09:00:55 -06:00
Ben Busby
118c9da813
Remove ARM specific Docker tag note from readme
ARM devices can now use the `latest` tag, so the `buildx-experimental`
tag is no longer necessary.
2021-08-31 08:15:28 -06:00
Ben Busby
4ad4ed5ff7
Publish to PyPI using GitHub Actions
Regular commits are all built and publish to TestPyPI, tagged commits
are published to PyPI.

This should finish the process of moving away from Travis CI, now that
both testing and PyPI deployments are handled in github actions.
2021-08-31 08:03:08 -06:00
Ben Busby
9f84a8ad83
Remove form action from csp
Restricting form-action to 'self' in the content security policy
prevented Chrome (and likely other browsers) from using !bangs on the
home page.

Fixes #408
2021-08-31 07:57:50 -06:00
Ben Busby
ad2b2554c1
Use UTF-8 encoding when loading languages json
Fixes #371
2021-08-30 17:23:19 -06:00
Ben Busby
9320d8e230
Remove travis yml, update readme test badge 2021-08-30 16:47:49 -06:00
Ben Busby
648a540126
Move all testing to github actions
The Travis CI folks are updating stuff and broke my tests, so I'm moving
over to github actions instead since that is (hopefully) less likely to
change moving forward.

Will need to move PyPi deployment to github actions as well.
2021-08-30 16:39:52 -06:00
alefvanoon
981c7d28f8
Add persian (farsi) translation (#400) 2021-08-30 16:17:14 -06:00
davidfrickert
71070ee921
Fix portuguese translations (#405) 2021-08-30 16:11:32 -06:00