Commit Graph

23 Commits

Author SHA1 Message Date
f728f4de4f
Removed adding base_url since it is perfectly handled by browsers. And it reduces size of a page. 2021-02-17 02:05:54 +04:00
8e36ac8439
Forgot to take condition in braces that resulted in returning octet-stream MIME. 2021-02-16 23:57:37 +04:00
830a97b5c0
Fixed link to playlist that is displayed when audio tag is not supported by browser. 2021-02-16 23:55:37 +04:00
714b0821fb
Moved all code for file type negotiation to fileType function. Removed handling of static routes in main route. Moved comparing function out of getDirectoryList as a standalone function. And renamed sizeUnits to SIZE_UNITS, it's a global constant after all. :) 2021-02-16 02:16:03 +04:00
682cb65feb
Have old getBaseHost function removed. It was replaced by getServiceByHost. 2021-02-16 01:45:11 +04:00
2d6f74e692
Have deleted commented out static files handling. 2021-02-16 01:43:52 +04:00
e0feb2eddf
Set vertical-align of table rows to top. 2021-02-16 01:40:44 +04:00
e7c00b3c8b
Fast fix. Forgot that convertSize returns array of size and unit. 2021-02-12 22:59:02 +04:00
37511381ec
Moved incrementation of total_files_size to if's file branch. So it won't add size of directories (4KiB each). 2021-02-12 22:51:48 +04:00
bd9964d300
Added showing stats on how many files and directories in a current directory, and a total size of files in it. 2021-02-12 22:36:01 +04:00
9000d3b2f7
Updated links. Added modifying links' hostnames based on host of visited site. 2021-02-11 02:57:18 +04:00
e44321a2eb
Updated a blog post with links to hidden services. 2021-02-10 23:51:07 +04:00
e30c320c1f
Updated links to radio. 2021-02-10 23:50:27 +04:00
f95c0189bf
Fixed link to font. 2021-02-10 23:49:56 +04:00
09880a3bcc
Removing no longer needed images. 2021-02-10 20:07:00 +04:00
3b54438e04
Made heading in articles into links. 2021-02-10 19:56:44 +04:00
3f503c7a86
Changed links for I2P services. 2021-02-10 04:00:13 +04:00
60ca5a1463
Added support for a X-Client-Timezone header to convert dates to client's local format gotten from IP using GeoIP. 2021-02-10 03:24:14 +04:00
73795b3755
Added @media query for services section so it'll arrange links vertically on small screen. 2021-02-10 03:21:42 +04:00
9a974ee8dd
Turned off static routes since they are handled by nginx now. 2021-02-10 02:02:28 +04:00
a2feb95904
Fixed problem with timezones. Turned out that I forgot to tell what timezone db server do use. 2021-02-10 01:58:04 +04:00
8b3e93d5e0
Changed ctime to mtime. And turned off static routes. They are handled by nginx now. 2021-02-10 01:56:53 +04:00
23861292d1
Initial commit. 2021-02-10 01:01:50 +04:00