diff --git a/.gitignore b/.gitignore index 2dc89de..2ac11a3 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,6 @@ parsee .* data data/* + +tools/out +tools/out/* diff --git a/LICENSE b/LICENSE index d4c693c..56fdd03 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -For the files src/XML/*, src/include/XML.h, and Makefile, see COPYING.CC0 +For the files src/XML/*, tools/*, src/include/XML.h, and Makefile, see COPYING.CC0 For the file src/Signal.c, it is based on Telodendria, which requires COPYING.TELO to be present. For any other file in src/, see COPYING.AGPL as the primary license. diff --git a/src/Routes/Root.c b/src/Routes/Root.c index db57b7e..fba70b9 100644 --- a/src/Routes/Root.c +++ b/src/Routes/Root.c @@ -9,6 +9,7 @@ RouteHead(RouteRoot, arr, argp) { ParseeHttpArg *args = argp; + const ParseeConfig *config = args->data->config; const char *quote = RandInt(2) ? "Kinda jealous of that, to be fair." : "Why look inward when you can challenge the mainstream media?"; @@ -29,6 +30,7 @@ RouteHead(RouteRoot, arr, argp) P(" html {"); P(" background-color: #222;"); P(" color: #eee;"); + P(" font-family: sans-serif;"); P(" }"); P(" blockquote {"); P(" border-left: 2px solid #ccc;"); @@ -65,9 +67,24 @@ RouteHead(RouteRoot, arr, argp) P(" href='https://kappach.at/parsee'"); P(" >the actual page."); P("
"); + P(""); + P(" If you have problems running commands, you may want to "); + P(" look into if you have set yourself as an admin."); + P("
");
+ P(" If you happen to have a build-from-source copy of %s,", NAME);
+ P(" please build all utilities and run ");
+ P(" tools/out/adminify '%s' '[glob]'.", config->db_path);
+ P("
"); + P("
"); P("
");
P("Software: %s (v%s/Cyto %s)\n", NAME, VERSION, CytoplasmGetVersionStr());
@@ -79,13 +96,13 @@ RouteHead(RouteRoot, arr, argp)
P(" ");
P(" - Repository
", REPOSITORY);
P(" - Fediverse
", "https://ak.ari.lt/parsee");
- P(" 
", "https://kappach.at/parsee.gif");
+ P(" - CC0 88x31:

", "https://kappach.at/parsee.gif");
P("
");
P(" ");
- P(" ");
+ P("
");
P(" Good luck, and have fun! :D");
- P("
");
- P(" —LDA
");
+ P("
");
+ P(" — LDA
");
P("