1
0
Commit Graph

306 Commits

Author SHA1 Message Date
8d007faaf5
Added .center class to delete section. 2022-07-01 04:05:42 +04:00
3a106371fe
Incremented version. 2022-07-01 04:01:43 +04:00
2c130b950f
Updated manually modified compiled index template. 2022-07-01 04:00:28 +04:00
e2a9185300
Added a CSS style for input of text type. 2022-07-01 03:59:37 +04:00
985dfaa8ab
Added a Delete section in an index template. 2022-07-01 03:59:01 +04:00
0a6c8e5d49
Retrieve file's salted hash depending on request's method DELETE or POST. 2022-07-01 03:43:52 +04:00
20702fa97e
Uhm, no, hash should be passed in POST body. 2022-07-01 03:43:00 +04:00
5218e427d5
Added POST and DELETE methods handlers for file deletion in main. 2022-07-01 03:32:53 +04:00
2cf7e80480
Instantiate a logDelete in main. 2022-07-01 03:32:12 +04:00
43a2f6b9d5
Added Delete handler to UploadHandlers. 2022-07-01 03:31:33 +04:00
023fdab96f
Added special case for curl in NotFound handler. 2022-07-01 03:31:08 +04:00
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