568 Commits

Author SHA1 Message Date
Ben Busby
2a858b89d2
Ignore request types in router
Request types don't really matter in Farside, and should be ignored.
This updates the router to handle all request types (GET, HEAD, POST,
etc) the same as GET requests were handled previously.
2022-12-11 13:14:40 -07:00
github-actions
f91e490696 [CI] Auto update instances 2022-12-11 00:11:01 +00:00
github-actions
329b8bbad5 [CI] Auto update instances 2022-12-10 00:09:31 +00:00
Ben Busby
d9f0291853
Enable auto compact for cubdb
This reduces the number of redundant db files created by cubdb.
2022-12-09 11:30:25 -07:00
Ben Busby
1c83d822d6
Filter against cloudflare proxy (not nameservers)
The previous approach to filtering cloudflare instances was checking if
cloudflare nameservers were assigned to that domain. I believe this was
too harsh of a filter, as quite a few instances were removed even though
they were not using cloudflare's proxying feature.

To solve this, the filtering script has been updated to manually fetch
each IP associated with a domain and see if it returns the 1003 error
that cloudflare proxied sites return when queried directly.
2022-12-09 11:00:06 -07:00
Ben Busby
47852145e3
Manually update piped instances
- piped.mint.lgbt
+ watch.whatever.social
+ watch.whatevertinfoil.de

Fixes #79
2022-12-09 10:56:34 -07:00
github-actions
e9a2cf055a [CI] Auto update instances 2022-12-09 00:10:21 +00:00
github-actions
c21a3ee77d [CI] Auto update instances 2022-12-07 00:09:25 +00:00
github-actions
ac209ca966 [CI] Auto update instances 2022-12-06 00:09:50 +00:00
github-actions
4f75661997 [CI] Auto update instances 2022-12-05 00:10:27 +00:00
github-actions
85a647defb [CI] Auto update instances 2022-12-03 00:08:47 +00:00
github-actions
7074aba5a2 [CI] Auto update instances 2022-12-02 00:09:36 +00:00
github-actions
c420f96945 [CI] Auto update instances 2022-12-01 00:11:58 +00:00
github-actions
d3cf1aead9 [CI] Auto update instances 2022-11-30 00:11:24 +00:00
github-actions
2264373a25 [CI] Auto update instances 2022-11-29 00:11:01 +00:00
github-actions
00183343e1 [CI] Auto update instances 2022-11-28 00:10:39 +00:00
github-actions
4b49fb7dea [CI] Auto update instances 2022-11-27 00:11:30 +00:00
github-actions
69267132f0 [CI] Auto update instances 2022-11-26 00:09:31 +00:00
github-actions
21391a1d6f [CI] Auto update instances 2022-11-25 00:09:42 +00:00
github-actions
e08ddfb150 [CI] Auto update instances 2022-11-24 00:10:50 +00:00
github-actions
cb19eb6b1c [CI] Auto update instances 2022-11-23 00:10:58 +00:00
github-actions
8a0382350d [CI] Auto update instances 2022-11-22 00:11:50 +00:00
github-actions
09f4f1e405 [CI] Auto update instances 2022-11-20 00:11:13 +00:00
github-actions
d62d634f9e [CI] Auto update instances 2022-11-19 00:10:50 +00:00
github-actions
7fe474dbf2 [CI] Auto update instances 2022-11-16 00:11:18 +00:00
github-actions
4e61d14c75 [CI] Auto update instances 2022-11-14 00:12:17 +00:00
github-actions
faece6021e [CI] Auto update instances 2022-11-13 00:11:22 +00:00
github-actions
45a5d01a98 [CI] Auto update instances 2022-11-12 00:11:33 +00:00
github-actions
197cdb65af [CI] Auto update instances 2022-11-08 00:12:32 +00:00
Ben Busby
1a780b630f
Remove version req from searx instance auto-update
The majority of searx instances returned by
https://searx.space/data/instances.json seem to be running non-release
versions of searx (i.e. versions like "2022.11.06-ae54c7d5" and not
"1.0.0"). Since the version itself doesn't indicate reliability alone
imo, I don't think it's necessary to exclude instances based on this
criteria in the auto-update nightly build.
2022-11-07 16:36:38 -07:00
github-actions
1f7e08c634 [CI] Auto update instances 2022-11-07 23:02:18 +00:00
github-actions
4ed36c0aca [CI] Auto update instances 2022-11-07 00:12:54 +00:00
github-actions
8a1a9f2b56 [CI] Auto update instances 2022-11-06 00:12:59 +00:00
github-actions
f0206bbe48 [CI] Auto update instances 2022-11-04 00:12:27 +00:00
github-actions
bddfb9496d [CI] Auto update instances 2022-11-03 00:12:41 +00:00
github-actions
48932eb3f5 [CI] Auto update instances 2022-11-02 00:11:53 +00:00
Kian-Meng Ang
f0150c6160
Use erlef/setup-beam, bump gha versions (#76)
Remove extra redirection. See https://github.com/erlef/setup-beam/issues/20
2022-10-31 17:30:07 -06:00
Ben Busby
e58d6e23ed
Remove Redis dep, replace w/ native Elixir lib
This removes the dependency on Redis for core app functionality. Rather
than using the key/value store provided by Redis, Farside now uses a
key/val store provided by [cubdb](https://github.com/lucaong/cubdb) for
identical functionality but without reliance on a non-Elixir service.

This solution was chosen instead of ets, because storing instance data
in memory leads to a period of broken functionality whenever the app
restarts and hasn't re-populated instance data yet. It was also chosen
instead of dets, because the documentation for dets was pretty hard to
understand at first glance.

Tests and the CI build were updated to reflect the removed dependency on
Redis.

New environment variable `FARSIDE_DATA_DIR` can be used to point to a
directory where the instance data can be stored by cubdb.

Co-authored-by: Jason Clark <mithereal@gmail.com>
2022-10-31 16:45:31 -06:00
github-actions
540822d867 [CI] Auto update instances 2022-10-31 00:13:23 +00:00
github-actions
a96751833b [CI] Auto update instances 2022-10-30 00:13:34 +00:00
github-actions
73cc7edc09 [CI] Auto update instances 2022-10-29 00:10:58 +00:00
github-actions
ebff5b1460 [CI] Auto update instances 2022-10-28 00:12:46 +00:00
github-actions
eab75be01c [CI] Auto update instances 2022-10-27 00:12:23 +00:00
Kian-Meng Ang
9d13d60a25
Fix typo [skip ci] (#72)
"Runing" -> "Running"

Found via `codespell -S deps -L neet`
2022-10-26 10:14:30 -06:00
github-actions
4c7748394d [CI] Auto update instances 2022-10-25 00:18:59 +00:00
github-actions
de5379a346 [CI] Auto update instances 2022-10-24 00:17:26 +00:00
github-actions
3358fe5bc8 [CI] Auto update instances 2022-10-23 00:17:01 +00:00
github-actions
6f1c624e6d [CI] Auto update instances 2022-10-22 00:15:44 +00:00
github-actions
b1cfae01d6 [CI] Auto update instances 2022-10-21 00:15:59 +00:00
Ben Busby
9ef2ec9071
Remove Wikiless from nightly auto-update build
The wikiless repo has been removed by Codeberg until the maintainer
makes some changes requested by Wikimedia. Follow https://orenom.fi for
updates.
2022-10-20 12:00:43 -06:00