1
0
Commit Graph

306 Commits

Author SHA1 Message Date
1cb4ba8c5c
Added my little whining on always empty scheme in a comment on NetworkType() func. 2022-02-11 03:06:40 +04:00
d56620ea9e
Added onion link. 2022-02-11 03:03:31 +04:00
49121b4799
Removed a space char between mail and >. 2022-02-11 03:01:44 +04:00
6117bb39c3
Added abuse mail. 2022-02-11 03:00:02 +04:00
e4f831ceef
input file, and button was styled. Also some minor refactor. 2022-02-11 02:56:14 +04:00
c8958427a3
input submit replaced with button submit.
input file was explicitly set to choose just one file.
2022-02-11 02:55:07 +04:00
2e8e97d0a5
Refactor vars. 2022-02-10 23:17:55 +04:00
00b5b0c7d6
Actually, lets keep working instead of closing program if file cannot be deleted. 2022-02-10 23:06:24 +04:00
a0a80db606
Fixed substraction order. Previously it gave us a negative duration, so files didn't get deleted. 2022-02-10 23:04:27 +04:00
2c567fd1e5
Defering such things is more gopher way. 2022-02-10 22:51:38 +04:00
5f8b6d2b09
Another rewriting of index page. 2022-02-10 22:50:33 +04:00
c4c07813af
Added User-Agent to logs. 2022-02-10 22:50:13 +04:00
287a53532d
Renamed dwu, dwuid to u, uid. 2022-02-10 22:49:55 +04:00
4ffe3670f3
Removed not existing install-service target. 2022-02-10 22:49:21 +04:00
51265cafb5
SOURCES are unused. Moved stopping services to its target. 2022-02-10 22:48:43 +04:00
c6aed4b67f
Handle situation when there's not enough space left. 2022-02-09 01:48:19 +04:00
efd83144c4
Pass KeepForHours to index template. 2022-02-09 00:48:52 +04:00
d6d6c3f461
Update index template. 2022-02-09 00:47:43 +04:00
abc6dd98a6
Added Share Tech Mono font. 2022-02-09 00:21:57 +04:00
3907350459
Updated index page. 2022-02-09 00:21:39 +04:00
0e64ad366b
Added Share Tech Mono, and styled a code tag with it. 2022-02-09 00:21:25 +04:00
f2f51dd8b1
Fixed a typo in Makefile. 2022-02-09 00:20:51 +04:00
0293c4e007
Changed version. And fixed backup config path. 2022-02-08 23:59:47 +04:00
7c9ad434cb
Added run-clear to Makefile. 2022-02-08 23:59:24 +04:00
bb3a64d334
Chroot for dwelling-upload-clean. 2022-02-08 23:12:53 +04:00
1212915bf6
Added comments for options.
Fixed a typo clean ->clear.
2022-02-08 23:09:19 +04:00
ad336b03e2
Fixed a typo in config. 2022-02-08 23:08:37 +04:00
a9a82868ca
Chrooting. 2022-02-08 23:08:03 +04:00
a78001bf22
Added a chroot option. 2022-02-08 22:48:56 +04:00
3a1e044b6d
Clean up the code a little. 2022-02-08 22:48:05 +04:00
4a5f54ee70
Properly form a download URL. 2022-02-08 19:21:44 +04:00
c884fe8225
Let's check if client is curl and return just a link.
And NetworkType() returns a scheme as well now.
2022-02-08 19:02:37 +04:00
0e46641599
Fixed link to a font. 2022-02-08 19:00:55 +04:00
ffe60bae85
Host can have :port attached, so it is better to check if string contains rather ends with a particular TLD. 2022-02-08 19:00:37 +04:00
7b5b9a7ce8
Changed site description. 2022-02-08 18:59:23 +04:00
e2b2758b34
Removed dir arg from compileTemplates(). 2022-02-08 18:26:20 +04:00
4b8cc9060e
Removed WebDir option. 2022-02-08 18:25:54 +04:00
424a42b3db
All is embed, so web_dir is not needed anymore. 2022-02-08 18:25:32 +04:00
381a0dcc98
Jade can work with embed FS, so we do that. 2022-02-08 17:46:44 +04:00
94437e3bab
Serve embed assets fs instead. 2022-02-08 17:46:16 +04:00
967e8e6878
Added font Roboto Condensed. 2022-02-08 17:45:45 +04:00
61dae0e57f
Moved web dir inside internal/handlers for go:embed. 2022-02-08 17:44:49 +04:00
ebc4442540
New Jade templates. 2022-02-08 04:24:20 +04:00
907bdeffcc
Updated CSS style. 2022-02-08 04:24:04 +04:00
e529bfa353
Amber is replaced with Jade. 2022-02-08 04:23:38 +04:00
b2a5e90245
Remove Amber from dependencies. 2022-02-08 04:23:05 +04:00
435c32c500
Remove Amber templates. 2022-02-08 04:22:41 +04:00
29931cca2f
Removed .Hours().
Reduced logClean output.
2022-02-08 02:35:48 +04:00
338b153aa1
Inotify works when it is an array. Experimentally was found that 16 events is enough. 2022-02-08 02:13:15 +04:00
bf0595453c
Creating a sparse file, because on file create an inotify will produce an event and dir size will be recalculated, so it can get an actual size. 2022-02-08 02:12:01 +04:00