1
0
Commit Graph

72 Commits

Author SHA1 Message Date
d7191d0fbd
Added /favicon.svg endpoint. 2023-05-21 20:13:15 +04:00
8497efd6e1
Changed error message in NotFound handler. 2023-05-13 16:30:13 +04:00
472ebf5891
Made NtFound and RobotsTxt handlers a standalone funcs. 2023-05-13 16:29:32 +04:00
8925f2ce24
Added robots.txt file and its handler. 2023-05-13 16:00:38 +04:00
6ce548619a
Removed unused Chroot field from a Configuration struct. 2023-04-24 00:52:01 +04:00
d5aa919a37
Moved http server to internal. 2023-04-24 00:49:53 +04:00
b50c411922
Removed stdout option from config. 2023-04-24 00:43:03 +04:00
eea0e0968a
Added passing of site link to a template. 2022-08-01 01:09:11 +04:00
0a6c8e5d49
Retrieve file's salted hash depending on request's method DELETE or POST. 2022-07-01 03:43:52 +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
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
09eaecd8ed
Assets and templates are moved to root/web. 2022-05-25 00:28:33 +04:00
d142bbcd7d
Templates are moved off to root/web directory. 2022-05-25 00:27:30 +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
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
4131f7b77e
Renamed dwelling-upload-clear to a more suitable name dwelling-upload-clean. 2022-03-20 18:19:59 +04:00
829000764c
A little var name refactor. 2022-03-07 23:40:41 +04:00
980dce8023
Omitted unused variable. Fixed copy-paste error with using uploaded template instead of nospace. 2022-03-06 22:34:34 +04:00
3eddc5f93e
Some minor paraphrasings. 2022-03-06 22:12:07 +04:00
7e7feed38a
Combined last two rules into one. 2022-03-06 22:10:36 +04:00
f7df6b2480
New favicon. 2022-02-17 02:37:11 +04:00
5c6fe3f867
Recently I found out that Share Tech Mono was loaded twice in Firefox. And looks like removing format('truetype') fixed a problem. :thonk: 2022-02-12 04:56:18 +04:00
8cc669be1c
Use X-Real-IP to get client addr. 2022-02-11 04:30:37 +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
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
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
ad336b03e2
Fixed a typo in config. 2022-02-08 23:08:37 +04:00
a78001bf22
Added a chroot option. 2022-02-08 22:48:56 +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
7b5b9a7ce8
Changed site description. 2022-02-08 18:59:23 +04:00