Commit Graph

66 Commits

Author SHA1 Message Date
lolcat 4033ebb91c murder 2023-11-29 00:00:37 -05:00
lolcat 1924bd0218 cancer 2023-11-28 23:58:39 -05:00
lolcat c4f6befb53 typo thingy 2023-11-28 23:56:57 -05:00
lolcat 59183489fa christmas 2023-11-28 23:51:25 -05:00
lolcat e4c23493a9 added dependency in readme 2023-11-27 19:39:20 -05:00
lolcat 2519666e1c google web, videos and news, various other fixes 2023-11-27 01:01:56 -05:00
lolcat 9fd993b47b fixed brave news 2023-11-09 08:50:53 -05:00
lolcat 165d80f80b fixed yandex image scraper 2023-11-09 08:06:14 -05:00
lolcat 5236452f45 apcu fix 2023-11-08 09:05:39 -05:00
lolcat 89b952ff40 moar themes 2023-11-07 09:43:55 -05:00
lolcat 0e551c7b37 Delete static/themes/gore's shitty theme.css 2023-11-07 08:40:43 -06:00
lolcat f1ed4198a3 add themes 2023-11-07 09:38:31 -05:00
lolcat 61ef956120 remove debug print 2023-11-07 09:24:14 -05:00
lolcat 7e893a15c1 counter bug that gave me a heart attack 2023-11-07 08:43:35 -05:00
lolcat 785452873f fix typo 2023-11-07 08:04:56 -05:00
lolcat 64b090ee05 fix cookie big 2023-10-17 17:58:08 -04:00
lolcat 453b4310e2 fixed API bug 2023-10-16 19:45:11 -04:00
lolcat f67fadfa88 as usual, forgot the fucking .php 2023-10-16 11:14:39 -04:00
lolcat f3ff1f7374 fuck 2023-10-16 02:49:24 -04:00
lolcat 3aa0180774 captcha and imgur, findthatmeme, yep imagesearch 2023-10-16 02:30:43 -04:00
lolcat fa9dc4d6ef Merge branch 'master' of https://git.lolcat.ca/lolcat/4get 2023-10-07 00:21:39 -04:00
lolcat e188ba6114 soundcloud fix 2023-10-07 00:21:07 -04:00
pumuckel f42b3a4879 optimize assets again (#17)
pngoptimizer, truepng, pngout, optipng, leanify, pngwolf, pngrewrite, advpng, ect, pingo, deflopt, and defluff

Co-authored-by: unknown <>
Reviewed-on: #17
Co-authored-by: pumuckel <pumuckel@no-reply@lolcat.ca>
Co-committed-by: pumuckel <pumuckel@no-reply@lolcat.ca>
2023-09-30 08:35:24 -05:00
cynic 24cfc5136e some misc. oracles stuff (fixes/features) (#15)
fix a small calc.php bug, and add date information to the time module. the changes have been sitting on a branch for like a week, so I figured I'd cherry-pick them over to this branch for a PR.
[as always, these changes are live on my instance.](https://4get.silly.computer/web?s=what+is+the+date&scraper=yandex&nsfw=yes)

Reviewed-on: #15
Co-authored-by: cynic <admin@cynic.moe>
Co-committed-by: cynic <admin@cynic.moe>
2023-09-22 21:44:33 -05:00
throwaway b7cc53c156 allow docker container to run without ssl certificates (#14)
if certificate files are not mounted to /etc/4get/certs then remove ssl virtual host in /etc/apache2/httpd.conf and listen on port 80
also change references "luuul/4get:1.0.0" to "luuul/4get:latest"

Reviewed-on: #14
Co-authored-by: throwaway <developerthrowaway@protonmail.com>
Co-committed-by: throwaway <developerthrowaway@protonmail.com>
2023-09-22 16:20:39 -05:00
cynic be8546bdf5 make 'oracles' feature backwards compatible with php 7.4 (#13)
adds implementations of `str_contains` and `str_starts_with` that are used if the functions are not already defined. this should enable 4get to work on both php 7.4 and php 8.*

my instance is currently on 7.4.33, and you can see the oracles working here:
[calc.php](https://4get.silly.computer/web?s=2%2B4*(2^2))
[encoder.php](https://4get.silly.computer/web?s=md5+hamburger)
[numerics.php](https://4get.silly.computer/web?s=0xf0f0f)
[time.php](https://4get.silly.computer/web?s=what+is+the+time+right+now+tz%253Aest)

Reviewed-on: #13
Co-authored-by: cynic <admin@cynic.moe>
Co-committed-by: cynic <admin@cynic.moe>
2023-09-14 19:10:13 -05:00
cynic 8762d68466 add structure for `Oracles' (special answers depending on queries + a few implementations (#10)
incl. a calculator, a hash encoder + rot13 and b64!, and a "what time is it" with timezone selection

frontend injected in $payload["left"] in web.php

you can see this live [on my instance](https://4get.silly.computer/web?s=7%2B8(9%5E2)&scraper=brave&nsfw=yes) (there are some issues that aren't related to this PR. favicons, etc. I'll fix them later.)

Reviewed-on: #10
Co-authored-by: cynic <admin@cynic.moe>
Co-committed-by: cynic <admin@cynic.moe>
2023-09-13 22:24:02 -05:00
lolcat d312674df7 forgot version num 2023-09-13 09:22:20 -04:00
lolcat 455d4d508b Merge branch 'master' of https://git.lolcat.ca/lolcat/4get
i dont know what im doing i fucking hate git
2023-09-13 09:02:46 -04:00
lolcat edc42ea35d added autocomplete 2023-09-13 09:01:23 -04:00
throwaway 24a00eb2e2 add docker-compose.yaml and instructions (#12)
add docker-compose.yaml and instructions

Reviewed-on: #12
Co-authored-by: throwaway <developerthrowaway@protonmail.com>
Co-committed-by: throwaway <developerthrowaway@protonmail.com>
2023-09-12 21:43:31 -05:00
lolcat 71a61304b0 piss 2023-09-09 21:48:44 -04:00
lolcat 9964cdaf81 more brave fixes 2023-09-09 21:45:07 -04:00
lolcat bcbf5dd06b thumbnail fix on brave 2023-09-08 23:32:54 -04:00
lolcat 05cd47016b oy vey 2023-09-06 21:43:29 -04:00
lolcat 9d42720f7d added more begging to about section 2023-09-06 21:35:41 -04:00
lolcat e7d7bde7b5 and i forgot this file, alzheimers hit me again 2023-09-06 08:59:29 -04:00
lolcat 3f0dbba5b3 ok this is the last fuckup i make uhgghuhguwhguiwbehgf 2023-09-06 08:54:13 -04:00
lolcat f7232030c3 aaand forgot that 2023-09-06 08:52:31 -04:00
lolcat 9fcbeb052b lol forgot that 2023-09-06 08:49:11 -04:00
lolcat cd98d1c69f fixed brave spelling and other things 2023-09-06 08:43:22 -04:00
lolcat 5b8c9eaed7 security fix shieet 2023-09-04 10:17:08 -04:00
lolcat 38b97a26e5 accidently broke news 2023-09-04 00:44:04 -04:00
lolcat d90d81662a i always forget the fucking .php 2023-09-03 22:50:43 -04:00
lolcat d0a4e73846 readme 2023-09-03 22:45:53 -04:00
lolcat bef83bb3c8 readme 2023-09-03 22:44:46 -04:00
lolcat c8ab934b10 soundcloud lolllllll 2023-09-03 22:41:44 -04:00
cynic 77293818cd [DANGEROUS] untrack all banners, replace with default banner (#9)
if this git repo is meant for all instances, it doesn't make sense that 4get.ca banners are stored here.
instead, I've added `banner/*` to a .gitignore file, so instances can clone/pull/push the repo without grabbing other people's banners or uploading their own.

making this change required deleting all the currently tracked banners from the repo. an unfortunate side-effect of this is that **if you have any of these tracked banners in your local version, pulling this commit WILL DELETE ALL OF THEM!!!!!!** pulling this commit properly while preserving tracked banners should be done by temporarily copying them to another directory, `git pull`ing, then copying them back.

I also added a default banner based on the default nginx page so new instances aren't bannerless.

Co-authored-by: cynic <kurisufag1@gmail.com>
Reviewed-on: #9
Co-authored-by: cynic <admin@cynic.moe>
Co-committed-by: cynic <admin@cynic.moe>
2023-08-30 19:04:53 -05:00
cynic 4cf2d73836 create data/instances.php to demonstrate out-of-code configuration, and use it to dynamically generate the instance list (#8)
see title.
the workflow here (i.e. a file data/*.php, which only has a data structure and is used to generate content elsewhere) could also be used for easier per-instance customization.

[you can see what this looks like live here](https://4get.silly.computer/about)

Co-authored-by: cynic <kurisufag1@gmail.com>
Reviewed-on: #8
Co-authored-by: cynic <admin@cynic.moe>
Co-committed-by: cynic <admin@cynic.moe>
2023-08-29 16:11:47 -05:00
ckg 6dfe114c85 Little tutorial about nginx and tor (#7)
review it :3

Reviewed-on: #7
Co-authored-by: ckg <ckg@airmail.cc>
Co-committed-by: ckg <ckg@airmail.cc>
2023-08-27 14:22:40 -05:00