1
0
Commit Graph

267 Commits

Author SHA1 Message Date
332e9a1bb3
Removed Configuration. 2023-05-24 22:20:02 +04:00
931f98d12e
Made use of cmd arguments. 2023-05-24 22:19:41 +04:00
11dfbfbc23
Added flags that replace config file. 2023-05-24 22:11:28 +04:00
470bbb04ee
Get file.log path as join of its name and LOGS_DIRECTORY env var. 2023-05-24 22:10:57 +04:00
deed268b4f
Get config passed as cmd args instead. 2023-05-24 22:09:41 +04:00
33f69eaf44
Changed error logging for upload-clean as well. 2023-05-24 22:09:04 +04:00
c85c6555e2
Log errors to stdout (systemd-journal) instead of a separate file. Also updated error messages. And since journal already puts a date, use only a Llongfile flag to print a place where an error occured. 2023-05-24 21:45:46 +04:00
c43c314a78
Pass listen address as a -listen argument. Use the new code to parse a parameter. 2023-05-24 21:26:48 +04:00
ce6d81ad55
Added /f/ to robots.txt. 2023-05-24 02:57:41 +04:00
88ec5e5efe
Added missing io.Writer in a call of web.Deleted. 2023-05-21 22:24:36 +04:00
33ec19647b
Reworked logging. Store all actions in one file.log. 2023-05-21 21:27:44 +04:00
31d2c4fd21
Let's, actually, directly assign to uploadDirSize. 2023-05-21 21:12:23 +04:00
7e1b56bbc5
Version's week part was incremented. 2023-05-21 20:53:24 +04:00
50ca035a1f
Uhm... Don't recall why, but nonetheless, this is why size wasn't being updated when there were no files left. 2023-05-21 20:53:03 +04:00
c53dab9e6b
Oops, that site argument isn't needed. 2023-05-21 20:25:26 +04:00
15dd184106
Added deleted page to show if file was successfully deleted. 2023-05-21 20:21:41 +04:00
cb1dd51750
Let's reorginise endpoints a little. 2023-05-21 20:14:01 +04:00
d7191d0fbd
Added /favicon.svg endpoint. 2023-05-21 20:13:15 +04:00
ac92fe7d0b
error404.jade update. 2023-05-14 01:26:55 +04:00
8e92ef003e
A little fix of formatting in main.css. 2023-05-14 01:19:45 +04:00
42c6ce1d95
VERSION var here is not used. 2023-05-13 16:42:11 +04:00
1692c24d03
Don't copy LICENSE when install. 2023-05-13 16:35:34 +04:00
8497efd6e1
Changed error message in NotFound handler. 2023-05-13 16:30:13 +04:00
472ebf5891
Made NtFound and RobotsTxt handlers a standalone funcs. 2023-05-13 16:29:32 +04:00
cd29549a85
Version's week part was incremented. 2023-05-13 16:11:38 +04:00
8925f2ce24
Added robots.txt file and its handler. 2023-05-13 16:00:38 +04:00
5f419d7dd8
Fixed url and '' replaced with "" for ${pkgver} to work. 2023-05-02 17:28:21 +04:00
23d7fd882c
Added version var to clean util as well. 2023-04-24 01:05:07 +04:00
2405b129e2
Commented out Tor listen, added Yggdrasil one. 2023-04-24 01:01:35 +04:00
6ce548619a
Removed unused Chroot field from a Configuration struct. 2023-04-24 00:52:01 +04:00
d5aa919a37
Moved http server to internal. 2023-04-24 00:49:53 +04:00
762f8e12c2
Renamed file of a license for ShareTechMono font. 2023-04-24 00:44:39 +04:00
36ecd3cf10
Removed everything related to logToStdout. 2023-04-24 00:43:43 +04:00
b50c411922
Removed stdout option from config. 2023-04-24 00:43:03 +04:00
1e07928b2c
NewLogger() was renamed to New(). Removed toStdout and all of its logic. Use composition for sync.Mutex. 2023-04-24 00:42:24 +04:00
17ebe18b8b
Store version in a var that is being passed as an arg of a compiler. 2023-04-24 00:32:30 +04:00
931fade41d
Remove sysusers file when uninstalling. 2023-04-24 00:31:45 +04:00
43fa61eebf
Pass a version to an executable. 2023-04-24 00:31:18 +04:00
4ffa2d07fa
Version up. Removed unneeded fields. Specified min ver of Go. Set .tar.gz name from $pkgver. Added export GOPATH to make a different gopath. Pass a version to a Makefile. 2023-04-24 00:30:15 +04:00
0007c5e21b
Added my full name to a footer. 2023-03-12 04:11:24 +04:00
5f1c4a46fb
Minimal Go version was changed back to 1.17. 2023-03-12 04:11:10 +04:00
8c6b5f7d4a
No need to keep bin dir. It will be created at compile time. 2023-03-12 00:42:20 +04:00
6e3036e4bc
Added jade check and install make target. 2023-03-12 00:41:59 +04:00
71c6aae91d
More compact and sane template with less wording. 2023-03-12 00:36:46 +04:00
e09203ae6d
Version updated to 23.10.0. 2023-03-12 00:15:25 +04:00
c9aa7e3715
Subtract a size of directory's inode itself. 2023-03-11 23:45:19 +04:00
d3abf5514d
Ignore *.jade.go files. Fixed jade templates. Added go generate to Makefile. 2023-02-23 18:28:01 +04:00
4a49bf30a3
Version up to 23.8.0. Changed arav.top to arav.su. Fixed templates. Deleted pre-compiled ones. 2023-02-23 18:16:06 +04:00
29b6d179be
Removed '-git' from package name. 2022-08-24 21:44:29 +04:00
a9f4e6ffe3
Updated Go version to 1.18. 2022-08-24 21:43:49 +04:00