1
0
Commit Graph

345 Commits

Author SHA1 Message Date
14e0886790
Added Delete log to UploadHandlers. 2022-07-01 03:30:40 +04:00
c8e1cb275f
Added Delete field to Log substruct to Configuration struct. 2022-07-01 03:27:14 +04:00
cd9e4d2b09
Added delete log path to config file. 2022-07-01 03:26:48 +04:00
351f5dda4b
Added DELETE method handler setter for HTTP server. 2022-07-01 03:26:15 +04:00
69ffa45f2d
Fixed path in logrotate config. 2022-06-30 00:22:59 +04:00
42bf665a7e
Removed unused HTTP methods handler setters. 2022-06-30 00:22:38 +04:00
0fcebc15ce
Oops, accidentally removed writting of index_8. 2022-06-14 18:49:45 +04:00
a5ee7c2604
I removed repeats from them and changed extention to not suddenly overwrite them. 2022-06-14 18:47:11 +04:00
52ab9a3167
These parts aren't needed. 2022-06-14 18:45:44 +04:00
7a8b7964ec
I modified templates to include a base.jade, and to alter blocks defined in a base with block append.
But jade behave that that blocks are actually being appended to theirs places, but they are also being included to the end of a file. So, I had to manually modify resulted .jade.go files.
2022-06-14 18:45:23 +04:00
6a9c5d0655
Added flags for using of a standard library to a jade compiler. 2022-06-14 18:40:21 +04:00
2713464449
Incremented version number. 2022-06-13 22:34:15 +04:00
713bd166af
Removed unused structures. 2022-06-13 21:16:15 +04:00
2cdd27d249
Replaced templates to a generated ones. 2022-06-13 21:07:33 +04:00
dc9b66cae4
Removed /usr/lib64 from ExecPaths. 2022-06-13 21:07:04 +04:00
f241eca24e
Added osusergo,netgo tags to make executables completely static. 2022-06-13 21:06:24 +04:00
c90939eeac
Fixed var type in an index template. 2022-06-13 20:55:52 +04:00
27ec17c9b8
Updated program version. 2022-06-13 20:25:22 +04:00
ac9ca921d3
Removed jade package and updated yaml.v3 to 3.0.1. 2022-06-13 20:25:04 +04:00
c81f57767c
Pre-generated templates. 2022-06-13 20:24:17 +04:00
55c964fa86
Jade's helper library for templates. 2022-06-13 20:02:33 +04:00
dc7652a137
Removed code for old template compiling. Added go:generate commands to generate template functions. 2022-06-13 20:02:12 +04:00
677aaa288a
Unfortunately, Jade cannot extend templates. Instead you must include parts. 2022-06-13 20:00:49 +04:00
79e25a5072
Fixed NGiNX config. 2022-06-13 19:12:21 +04:00
b243c375e0
A more clarified comment for inotifyCount const. 2022-05-25 19:18:57 +04:00
7e689438ae
Added comments for inotify watcher. 2022-05-25 18:51:01 +04:00
024cd7ff5e
Removed creating of log dir, since it is handled by systemd. 2022-05-25 00:53:26 +04:00
b396a1592b
Added logrotate file to un/install in Makefile. 2022-05-25 00:43:08 +04:00
d995c26827
Added logrotate file. 2022-05-25 00:42:47 +04:00
1c8beb69ce
Added SIGHUP handler to reopen logs. Removed closeSingal, and doneSignal moved to the bottom of main(). 2022-05-25 00:37:33 +04:00
bf189d050a
Added Reopen() method for Logger. 2022-05-25 00:33:11 +04:00
09eaecd8ed
Assets and templates are moved to root/web. 2022-05-25 00:28:33 +04:00
2ffaeacc15
Updated version. 2022-05-25 00:28:14 +04:00
d142bbcd7d
Templates are moved off to root/web directory. 2022-05-25 00:27:30 +04:00
0125a1f588
Moving this project to version model year.week.minor as well. 2022-03-31 16:10:56 +04:00
ebb16384db
Ah, okay, I looked up ldd output and found that clean service has no dynamic library dependency unlike the service itself. So /usr/lib should be here as well. 2022-03-30 01:45:07 +04:00
0a1ba68b5c
Shit, why I forgot it? No should be working. :) 2022-03-30 01:35:57 +04:00
7212be161d
Okay, seems to be working. No clue why it didn't before. 2022-03-30 01:34:32 +04:00
3f8fbc4e12
Another attempt on restricting executable paths. 2022-03-30 01:32:00 +04:00
14f2cdba24
Removed a period to prevent accidental copying. 2022-03-29 23:38:05 +04:00
226d02e8d0
Oops, for i2p http is used, not https. 2022-03-29 23:16:57 +04:00
8302050136
index.jade updated. Added curl command for i2p. And minor paraphrising. 2022-03-29 23:10:46 +04:00
1d50b80920
This service is new, so in footer should be just 2022. The year it was created. 2022-03-29 23:09:51 +04:00
f74576e3ce
Better error messages. Now you will not loose your uploaded file if I somehow fuck the template up. 2022-03-29 18:58:35 +04:00
b49f863abf
A micro-optimisation. We don't need a name parameter if there is no such file anyway. 2022-03-29 18:41:05 +04:00
6189ddd48d
Added missing ... operator. 2022-03-29 18:15:06 +04:00
1fbdcae68a
Don't print date to stdout. 2022-03-29 18:12:57 +04:00
c60b403e00
Removed user substituting and chrooting. It must be made within systemd unit file. 2022-03-29 18:12:37 +04:00
f7d2618c8c
Moved licenses for fonts off to root. They aren't needed to be in there. And it will save 16 KiB. 2022-03-29 18:02:33 +04:00
dd657cb6b1
Changed unix socket path in a default config. 2022-03-26 17:07:37 +04:00