1
0
Commit Graph

371 Commits

Author SHA1 Message Date
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
f89dfa3830
Reduced go.sum. 2022-08-24 21:43:37 +04:00
0f329f7ccf
Updated version. 2022-08-01 01:09:51 +04:00
3834339da7
To MainSite() added an Yggdrassil address. 2022-08-01 01:09:43 +04:00
eea0e0968a
Added passing of site link to a template. 2022-08-01 01:09:11 +04:00
d554aa0a50
Added site address to displayed link. 2022-08-01 01:08:35 +04:00
44cfddd31d
Fixed another typo. 2022-07-02 04:05:46 +04:00
fc600352d4
Fixed a typo in an index template. 2022-07-01 23:16:59 +04:00
485472b9f8
Added mention of logging of file deletions in a privacy statements section. 2022-07-01 04:19:29 +04:00
d48f10baa5
Regenerated compiled index template. 2022-07-01 04:15:05 +04:00
26974fa5ec
Why did I put .center for every p if I could add it just for a section..? Nevermind. 2022-07-01 04:09:23 +04:00
870b35cb65
Set text input to 100% width in a @media section. 2022-07-01 04:08:12 +04:00
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