|
51494e87be
|
Patch version part was incremented.
|
2023-05-26 13:01:49 +04:00 |
|
|
92710f7f5a
|
Cosmetic changes in flags.
|
2023-05-26 13:01:15 +04:00 |
|
|
2abf5a9d7f
|
Fixed default upload dir path in progs as well.
|
2023-05-26 12:51:32 +04:00 |
|
|
860d719cdd
|
Fixed a typo in upload dir path.
|
2023-05-26 12:49:18 +04:00 |
|
|
30513b3300
|
Removed go:generate for error404.jade.
|
2023-05-26 04:40:58 +04:00 |
|
|
b695d8128d
|
Removed disallow of /f/ from robots.txt.
|
2023-05-26 04:38:14 +04:00 |
|
|
85f853f48e
|
Removed /f/ path part in upload handler.
|
2023-05-26 04:37:07 +04:00 |
|
|
dd22577521
|
Removed /f/ path part at index.jade.
|
2023-05-26 04:36:36 +04:00 |
|
|
1e4836ca86
|
Made errorMsg into p, so it get to the next line.
|
2023-05-26 04:36:07 +04:00 |
|
|
e47e592b01
|
julienschmidt/httprouter was removed and my httpr added to go.mod and go.sum.
|
2023-05-26 04:31:05 +04:00 |
|
|
38e6813d11
|
Made use of my own httpr router in main.
|
2023-05-26 04:30:29 +04:00 |
|
|
b18338e4e1
|
Made use of my own httpr router. Replace GetURLParam with httpr.Param.
|
2023-05-26 04:28:38 +04:00 |
|
|
0677147b63
|
Removed httprouter dependency from HTTP server.
|
2023-05-26 04:27:21 +04:00 |
|
|
a9e230ad61
|
Removed unneeded error404.jade.
|
2023-05-26 04:26:27 +04:00 |
|
|
a7972b8e13
|
A custom logger was removed.
|
2023-05-25 02:56:57 +04:00 |
|
|
c5faef303b
|
In service replaced args for ExecStart= to the new ones.
|
2023-05-25 02:32:04 +04:00 |
|
|
5101a892de
|
Made AssetsFS() a standalone func.
|
2023-05-25 02:31:21 +04:00 |
|
|
8eb8a24a23
|
Added copytruncate to truncate a file instead of recreating. Removed script to send SIGHUP since it is not used anymore.
|
2023-05-25 02:27:03 +04:00 |
|
|
afbaad971a
|
Instantiate log file handle and an instance of log.Logger. Also remove reopen SIGHUP handler. Log file will be truncated with logrotate instead of recreating.
|
2023-05-25 02:25:43 +04:00 |
|
|
fccb81d3a5
|
Added | separator to the start of all log.Printf() to separate date and action.
|
2023-05-25 02:24:00 +04:00 |
|
|
3327b30d12
|
Replaced logging.Logger with std log.Logger.
|
2023-05-25 02:22:56 +04:00 |
|
|
59544da625
|
Removed configPath flag from main.
|
2023-05-25 02:17:27 +04:00 |
|
|
85529890a5
|
Oh, code for deletion statistics also should be purged.
|
2023-05-25 02:13:33 +04:00 |
|
|
9510027d05
|
Replace flags in a clean service with the new ones.
|
2023-05-25 02:11:20 +04:00 |
|
|
55ba1fd67d
|
Do not log how much files was deleted. Useless info, keep only error logs.
And removed configPath flag as well.
|
2023-05-25 02:10:35 +04:00 |
|
|
203c0158ce
|
Install gen-salt.sh as dwelling-upload-gen-salt.
|
2023-05-25 00:58:02 +04:00 |
|
|
282a00c328
|
Found that daemon-reload needs to be called when manually edit such files.
|
2023-05-25 00:57:36 +04:00 |
|
|
99eed674fc
|
Since we now run setup command from script, this caution doesn't needed.
|
2023-05-25 00:53:35 +04:00 |
|
|
cf7e240e8a
|
Let's add the creds to override.conf, actually. And it is safe to run systemd-creds setup, since it doesn't rewrite an existing key.
|
2023-05-25 00:52:51 +04:00 |
|
|
705a4ede76
|
Updated comments in upload.service.
|
2023-05-25 00:49:30 +04:00 |
|
|
dab675474a
|
Set default NotFound handler.
|
2023-05-25 00:47:32 +04:00 |
|
|
3f79eb5b08
|
Added SetCredentialEncrypted= and a comment.
|
2023-05-25 00:14:24 +04:00 |
|
|
f0fc34c8e7
|
Remove func NotFound.
|
2023-05-25 00:09:30 +04:00 |
|
|
2ef85c6f29
|
Handle cURL and Wget clients.
|
2023-05-25 00:08:52 +04:00 |
|
|
b16ec84e86
|
Added missing return in free space check.
|
2023-05-24 23:57:02 +04:00 |
|
|
f8351b935d
|
Moved WriteHeader to nospace.jade.
|
2023-05-24 23:56:12 +04:00 |
|
|
64132ec18f
|
Removed missed w.WriteHeader().
|
2023-05-24 23:52:33 +04:00 |
|
|
fb9cee2c0a
|
A new Error() handler used.
|
2023-05-24 23:50:49 +04:00 |
|
|
185bd80750
|
error50x made into universal error page. Also Error() handler was made that checks for cURL and Wget, and if find, then use built-in plaintext http.Error, and web.errorXXX otherwise.
|
2023-05-24 23:50:10 +04:00 |
|
|
a04adf7fa1
|
Replaced http.Error with 50x errors with web.Error50x().
|
2023-05-24 23:20:21 +04:00 |
|
|
6e9ad9323c
|
Added error50x template.
|
2023-05-24 23:20:05 +04:00 |
|
|
06dfcaac8e
|
Removed excessive wtih word in index.jade.
|
2023-05-24 23:09:47 +04:00 |
|
|
35468af206
|
In web/*.jade.go target perform check for changes in templates.
|
2023-05-24 23:09:16 +04:00 |
|
|
3696e1dfe1
|
Also, gen-salt demands to be runned under root, so let's check for it and fail if it doesn't.
|
2023-05-24 22:58:32 +04:00 |
|
|
14ec537d82
|
And, let's change line wrapping here.
|
2023-05-24 22:49:36 +04:00 |
|
|
14efad4a4a
|
Rewrote gen-salt.sh in a right way.
|
2023-05-24 22:48:28 +04:00 |
|
|
9c5bad04d4
|
Made a new target to generate templates only when they are missing. Also put go install jade in it. Hence, no need in check in the PKGBUILD.
|
2023-05-24 22:40:06 +04:00 |
|
|
21d05e7488
|
Remove *.jade.go as well on clean target in Makefile.
|
2023-05-24 22:29:40 +04:00 |
|
|
ec2656c719
|
jade.go is being automatically generated, so no need to keep it. Also removed unneeded flags from go:generate in web.go.
|
2023-05-24 22:28:36 +04:00 |
|
|
b95052709a
|
Removed upload.yaml from Makefile and PKGBUILD. Removed run and run-clean targets.
|
2023-05-24 22:25:19 +04:00 |
|