1
0
Fork 0
Commit Graph

220 Commits

Author SHA1 Message Date
Alexander Andreev 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
Alexander Andreev 29b6d179be
Removed '-git' from package name. 2022-08-24 21:44:29 +04:00
Alexander Andreev a9f4e6ffe3
Updated Go version to 1.18. 2022-08-24 21:43:49 +04:00
Alexander Andreev f89dfa3830
Reduced go.sum. 2022-08-24 21:43:37 +04:00
Alexander Andreev 0f329f7ccf
Updated version. 2022-08-01 01:09:51 +04:00
Alexander Andreev 3834339da7
To MainSite() added an Yggdrassil address. 2022-08-01 01:09:43 +04:00
Alexander Andreev eea0e0968a
Added passing of site link to a template. 2022-08-01 01:09:11 +04:00
Alexander Andreev d554aa0a50
Added site address to displayed link. 2022-08-01 01:08:35 +04:00
Alexander Andreev 44cfddd31d
Fixed another typo. 2022-07-02 04:05:46 +04:00
Alexander Andreev fc600352d4
Fixed a typo in an index template. 2022-07-01 23:16:59 +04:00
Alexander Andreev 485472b9f8
Added mention of logging of file deletions in a privacy statements section. 2022-07-01 04:19:29 +04:00
Alexander Andreev d48f10baa5
Regenerated compiled index template. 2022-07-01 04:15:05 +04:00
Alexander Andreev 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
Alexander Andreev 870b35cb65
Set text input to 100% width in a @media section. 2022-07-01 04:08:12 +04:00
Alexander Andreev 8d007faaf5
Added .center class to delete section. 2022-07-01 04:05:42 +04:00
Alexander Andreev 3a106371fe
Incremented version. 2022-07-01 04:01:43 +04:00
Alexander Andreev 2c130b950f
Updated manually modified compiled index template. 2022-07-01 04:00:28 +04:00
Alexander Andreev e2a9185300
Added a CSS style for input of text type. 2022-07-01 03:59:37 +04:00
Alexander Andreev 985dfaa8ab
Added a Delete section in an index template. 2022-07-01 03:59:01 +04:00
Alexander Andreev 0a6c8e5d49
Retrieve file's salted hash depending on request's method DELETE or POST. 2022-07-01 03:43:52 +04:00
Alexander Andreev 20702fa97e
Uhm, no, hash should be passed in POST body. 2022-07-01 03:43:00 +04:00
Alexander Andreev 5218e427d5
Added POST and DELETE methods handlers for file deletion in main. 2022-07-01 03:32:53 +04:00
Alexander Andreev 2cf7e80480
Instantiate a logDelete in main. 2022-07-01 03:32:12 +04:00
Alexander Andreev 43a2f6b9d5
Added Delete handler to UploadHandlers. 2022-07-01 03:31:33 +04:00
Alexander Andreev 023fdab96f
Added special case for curl in NotFound handler. 2022-07-01 03:31:08 +04:00
Alexander Andreev 14e0886790
Added Delete log to UploadHandlers. 2022-07-01 03:30:40 +04:00
Alexander Andreev c8e1cb275f
Added Delete field to Log substruct to Configuration struct. 2022-07-01 03:27:14 +04:00
Alexander Andreev cd9e4d2b09
Added delete log path to config file. 2022-07-01 03:26:48 +04:00
Alexander Andreev 351f5dda4b
Added DELETE method handler setter for HTTP server. 2022-07-01 03:26:15 +04:00
Alexander Andreev 69ffa45f2d
Fixed path in logrotate config. 2022-06-30 00:22:59 +04:00
Alexander Andreev 42bf665a7e
Removed unused HTTP methods handler setters. 2022-06-30 00:22:38 +04:00
Alexander Andreev 0fcebc15ce
Oops, accidentally removed writting of index_8. 2022-06-14 18:49:45 +04:00
Alexander Andreev a5ee7c2604
I removed repeats from them and changed extention to not suddenly overwrite them. 2022-06-14 18:47:11 +04:00
Alexander Andreev 52ab9a3167
These parts aren't needed. 2022-06-14 18:45:44 +04:00
Alexander Andreev 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
Alexander Andreev 6a9c5d0655
Added flags for using of a standard library to a jade compiler. 2022-06-14 18:40:21 +04:00
Alexander Andreev 2713464449
Incremented version number. 2022-06-13 22:34:15 +04:00
Alexander Andreev 713bd166af
Removed unused structures. 2022-06-13 21:16:15 +04:00
Alexander Andreev 2cdd27d249
Replaced templates to a generated ones. 2022-06-13 21:07:33 +04:00
Alexander Andreev dc9b66cae4
Removed /usr/lib64 from ExecPaths. 2022-06-13 21:07:04 +04:00
Alexander Andreev f241eca24e
Added osusergo,netgo tags to make executables completely static. 2022-06-13 21:06:24 +04:00
Alexander Andreev c90939eeac
Fixed var type in an index template. 2022-06-13 20:55:52 +04:00
Alexander Andreev 27ec17c9b8
Updated program version. 2022-06-13 20:25:22 +04:00
Alexander Andreev ac9ca921d3
Removed jade package and updated yaml.v3 to 3.0.1. 2022-06-13 20:25:04 +04:00
Alexander Andreev c81f57767c
Pre-generated templates. 2022-06-13 20:24:17 +04:00
Alexander Andreev 55c964fa86
Jade's helper library for templates. 2022-06-13 20:02:33 +04:00
Alexander Andreev dc7652a137
Removed code for old template compiling. Added go:generate commands to generate template functions. 2022-06-13 20:02:12 +04:00
Alexander Andreev 677aaa288a
Unfortunately, Jade cannot extend templates. Instead you must include parts. 2022-06-13 20:00:49 +04:00
Alexander Andreev 79e25a5072
Fixed NGiNX config. 2022-06-13 19:12:21 +04:00
Alexander Andreev b243c375e0
A more clarified comment for inotifyCount const. 2022-05-25 19:18:57 +04:00