1
0
Commit Graph

123 Commits

Author SHA1 Message Date
470b371503
Updated main.js. A new feature was added that allows to move images and videos. But currently not working for videos. 2024-12-08 04:13:57 +04:00
ce1354c509
Added locales. 2024-12-08 04:11:23 +04:00
bfbf5c42a6
A templ index template was added. 2024-12-08 04:11:00 +04:00
b05ddb6971
Removed jade templates. 2024-12-08 04:10:03 +04:00
cbf7738367
Handlers were moved to main.go. 2024-12-08 04:09:12 +04:00
df3ea75ca9
Added a benchmark for ScanDirectory(). 2023-09-20 04:56:08 +04:00
cbe0292e4c
Before allocation of these three vars try to read a dir first. 2023-09-20 04:55:38 +04:00
d6463e81e8
A struct DirStats was renamed to DirStat. 2023-09-20 04:07:24 +04:00
99e39fc6c1
Added FLAGS, reorganised targets ${TARGET} and web/*.jade.go. Removed all target. Added clean .PHONY target, removed ${TARGET} from .PHONY. In web/*.jade.go added check for jade executable existence. 2023-09-20 04:06:54 +04:00
5cc9b12030
Updated httpr to v0.3.2. 2023-09-20 04:04:09 +04:00
8b39e60a01
Reorganised CSS. Set min-height for body to 100vh. 2023-08-23 04:49:30 +04:00
c06eaecbfc
Removed unused ids. 2023-08-23 04:40:39 +04:00
f23e4d713b
Moved error styling to main.css. 2023-08-23 04:40:23 +04:00
1a5d32f1b9
Put my full name in a footer. 2023-08-23 04:33:45 +04:00
775eef657e
Removed id and classes from a logo. 2023-08-23 04:31:57 +04:00
06961fc7c4
Return an error text message if file handling is turned off. 2023-08-23 04:23:51 +04:00
391f589a90
Version set to 23.32.0. 2023-08-13 04:06:34 +04:00
404f88c099
Fix for double slashes. 2023-08-13 03:18:17 +04:00
54bc8d744d
Updated HttpServer to the latest implementation. 2023-08-13 02:25:04 +04:00
6cf74599cc
A separate base.jade template was made. An index.jade rewritten to use it. 2023-08-13 02:24:36 +04:00
4657319d52
Added an error page. 2023-08-13 02:23:47 +04:00
c5ffe37c52
Updated httpr to 0.3.1. 2023-08-13 01:58:06 +04:00
0e54693b4a
Added v to archive's name. 2023-06-13 00:15:23 +04:00
cc8634fdb5
Oh, remove this test code. 2023-06-13 00:08:12 +04:00
8038a0d551
In a Copyright a year was changed to 2023. 2023-06-13 00:07:34 +04:00
aa64903161
Remove jade.go from a repo. 2023-06-13 00:05:05 +04:00
15af164462
Moved to my httpr router. 2023-06-13 00:02:41 +04:00
ed62b37dbc
Version was set to 23.24.0. And Makefile and PKGBUILD structure was updated to a recently used one across my other services. 2023-06-12 23:32:54 +04:00
80647144b5
Removed -stdlib that prevented jade.go file's creation. 2023-06-12 23:32:09 +04:00
7d1da65f38
Set Go version to 1.16 as a minimal. 2023-06-12 23:31:34 +04:00
eaa49744af
Ignore jade.go and *.jade.go files. 2023-06-12 23:31:06 +04:00
24e46c79e7
In footer 2022 was replaced by 2023. 2023-06-12 23:16:46 +04:00
56399e85bb
Removed Privacy statements section and added a link to it on a main site in a footer. 2023-06-12 23:13:41 +04:00
def915607b
ssl is excessive here in nginx.conf. 2023-06-12 23:13:14 +04:00
85e5095120
Do not keep bin directory. 2023-05-14 02:18:15 +04:00
e1107e94eb
Added go generate to Makefile. 2023-02-23 18:03:57 +04:00
2b5c26b2db
Remove compiled template. 2023-02-23 18:02:52 +04:00
277333b1cb
Changed arav.top to arav.su. Version up to 23.8.0. 2023-02-23 17:56:26 +04:00
bdcdecb612
HTTP server was reorganised in internal/http. 2023-01-12 04:58:54 +04:00
3d8ee35053
In make run enable file handling for testing purposes. 2022-12-17 22:52:15 +04:00
d430b09178
Updated version of a program to 22.50.0. 2022-12-17 22:50:54 +04:00
920f9f08ee
Updated use of convertFileSize() in a ScanDirectory() function. 2022-12-17 22:46:17 +04:00
0798ba6602
convertFileSize() now returns only a concatination of a converted size and a size unit. 2022-12-17 22:45:30 +04:00
a567a27c69
A deprecated ioutil was replaced with os.ReadDir. And a bit mask compare was used instead of a symbol compare. 2022-12-17 22:44:29 +04:00
71e7765ba8
Updated Go to 1.19. 2022-12-17 22:42:09 +04:00
e03a0e320e
Removed unused methods from HTTP server. 2022-12-17 21:50:18 +04:00
007ab59c81
Moved robots.txt handling to Index(). 2022-12-17 21:46:54 +04:00
b793da40d4
Check a passed listen address first. 2022-12-17 21:35:33 +04:00
760d08dcde
A -no-file-handling argument was inversed to -file-handling. So, by default no file handling occure from now. 2022-12-17 21:33:10 +04:00
2c583201d7
f.sock was renamed to just sock also in a default for a -listen argument. 2022-12-17 21:30:07 +04:00