Age | Commit message (Collapse) | Author |
|
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: https://git.lolcat.ca/lolcat/4get/pulls/13
Co-authored-by: cynic <admin@cynic.moe>
Co-committed-by: cynic <admin@cynic.moe>
|
|
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: https://git.lolcat.ca/lolcat/4get/pulls/10
Co-authored-by: cynic <admin@cynic.moe>
Co-committed-by: cynic <admin@cynic.moe>
|
|
|
|
i dont know what im doing i fucking hate git
|
|
|
|
add docker-compose.yaml and instructions
Reviewed-on: https://git.lolcat.ca/lolcat/4get/pulls/12
Co-authored-by: throwaway <developerthrowaway@protonmail.com>
Co-committed-by: throwaway <developerthrowaway@protonmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: https://git.lolcat.ca/lolcat/4get/pulls/9
Co-authored-by: cynic <admin@cynic.moe>
Co-committed-by: cynic <admin@cynic.moe>
|
|
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: https://git.lolcat.ca/lolcat/4get/pulls/8
Co-authored-by: cynic <admin@cynic.moe>
Co-committed-by: cynic <admin@cynic.moe>
|
|
review it :3
Reviewed-on: https://git.lolcat.ca/lolcat/4get/pulls/7
Co-authored-by: ckg <ckg@airmail.cc>
Co-committed-by: ckg <ckg@airmail.cc>
|
|
|
|
what am i doing
|
|
|
|
use `exec` to turn httpd into parent process. This is important for docker signalling such as `docker stop ${container_id}`
add `set -e` which stops the entrypoint script if any command exits with a non-zero exit code.
Reviewed-on: https://git.lolcat.ca/lolcat/4get/pulls/6
Co-authored-by: throwaway <developerthrowaway@protonmail.com>
Co-committed-by: throwaway <developerthrowaway@protonmail.com>
|
|
Add Dockerfile and docker entrypoint
Co-authored-by: lolcat <lolcat@no-reply@lolcat.ca>
Reviewed-on: https://git.lolcat.ca/lolcat/4get/pulls/5
Co-authored-by: throwaway <developerthrowaway@protonmail.com>
Co-committed-by: throwaway <developerthrowaway@protonmail.com>
|
|
|
|
|
|
working woooo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|