This website requires JavaScript.
df3ea75ca9
Added a benchmark for ScanDirectory().
master
Alexander "Arav" Andreev
2023-09-20 04:56:08 +0400
cbe0292e4c
Before allocation of these three vars try to read a dir first.
Alexander "Arav" Andreev
2023-09-20 04:55:38 +0400
d6463e81e8
A struct DirStats was renamed to DirStat.
Alexander "Arav" Andreev
2023-09-20 04:07:24 +0400
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.
Alexander "Arav" Andreev
2023-09-20 04:06:54 +0400
5cc9b12030
Updated httpr to v0.3.2.
Alexander "Arav" Andreev
2023-09-20 04:04:09 +0400
8b39e60a01
Reorganised CSS. Set min-height for body to 100vh.
Alexander "Arav" Andreev
2023-08-23 04:49:30 +0400
c06eaecbfc
Removed unused ids.
Alexander "Arav" Andreev
2023-08-23 04:40:39 +0400
f23e4d713b
Moved error styling to main.css.
Alexander "Arav" Andreev
2023-08-23 04:40:23 +0400
1a5d32f1b9
Put my full name in a footer.
Alexander "Arav" Andreev
2023-08-23 04:33:45 +0400
775eef657e
Removed id and classes from a logo.
Alexander "Arav" Andreev
2023-08-23 04:31:57 +0400
06961fc7c4
Return an error text message if file handling is turned off.
Alexander "Arav" Andreev
2023-08-23 04:23:51 +0400
391f589a90
Version set to 23.32.0.
v23.32.0
Alexander "Arav" Andreev
2023-08-13 04:06:34 +0400
404f88c099
Fix for double slashes.
Alexander "Arav" Andreev
2023-08-13 03:18:17 +0400
54bc8d744d
Updated HttpServer to the latest implementation.
Alexander "Arav" Andreev
2023-08-13 02:25:04 +0400
6cf74599cc
A separate base.jade template was made. An index.jade rewritten to use it.
Alexander "Arav" Andreev
2023-08-13 02:24:36 +0400
4657319d52
Added an error page.
Alexander "Arav" Andreev
2023-08-13 02:23:47 +0400
c5ffe37c52
Updated httpr to 0.3.1.
Alexander "Arav" Andreev
2023-08-13 01:58:06 +0400
0e54693b4a
Added v to archive's name.
v23.24.0
Alexander "Arav" Andreev
2023-06-13 00:15:23 +0400
cc8634fdb5
Oh, remove this test code.
Alexander "Arav" Andreev
2023-06-13 00:08:12 +0400
8038a0d551
In a Copyright a year was changed to 2023.
Alexander "Arav" Andreev
2023-06-13 00:07:34 +0400
aa64903161
Remove jade.go from a repo.
Alexander "Arav" Andreev
2023-06-13 00:05:05 +0400
15af164462
Moved to my httpr router.
Alexander "Arav" Andreev
2023-06-13 00:02:41 +0400
ed62b37dbc
Version was set to 23.24.0. And Makefile and PKGBUILD structure was updated to a recently used one across my other services.
Alexander "Arav" Andreev
2023-06-12 23:32:54 +0400
80647144b5
Removed -stdlib that prevented jade.go file's creation.
Alexander "Arav" Andreev
2023-06-12 23:32:09 +0400
7d1da65f38
Set Go version to 1.16 as a minimal.
Alexander "Arav" Andreev
2023-06-12 23:31:34 +0400
eaa49744af
Ignore jade.go and *.jade.go files.
Alexander "Arav" Andreev
2023-06-12 23:31:06 +0400
24e46c79e7
In footer 2022 was replaced by 2023.
Alexander "Arav" Andreev
2023-06-12 23:16:46 +0400
56399e85bb
Removed Privacy statements section and added a link to it on a main site in a footer.
Alexander "Arav" Andreev
2023-06-12 23:13:41 +0400
def915607b
ssl is excessive here in nginx.conf.
Alexander "Arav" Andreev
2023-06-12 23:13:14 +0400
85e5095120
Do not keep bin directory.
Alexander "Arav" Andreev
2023-05-14 02:18:15 +0400
e1107e94eb
Added go generate to Makefile.
23.8.0
Alexander "Arav" Andreev
2023-02-23 18:03:57 +0400
2b5c26b2db
Remove compiled template.
Alexander "Arav" Andreev
2023-02-23 18:02:52 +0400
277333b1cb
Changed arav.top to arav.su. Version up to 23.8.0.
Alexander "Arav" Andreev
2023-02-23 17:56:26 +0400
bdcdecb612
HTTP server was reorganised in internal/http.
Alexander "Arav" Andreev
2023-01-12 04:58:54 +0400
3d8ee35053
In make run enable file handling for testing purposes.
22.50.0
Alexander "Arav" Andreev
2022-12-17 22:52:15 +0400
d430b09178
Updated version of a program to 22.50.0.
Alexander "Arav" Andreev
2022-12-17 22:50:54 +0400
920f9f08ee
Updated use of convertFileSize() in a ScanDirectory() function.
Alexander "Arav" Andreev
2022-12-17 22:46:17 +0400
0798ba6602
convertFileSize() now returns only a concatination of a converted size and a size unit.
Alexander "Arav" Andreev
2022-12-17 22:45:30 +0400
a567a27c69
A deprecated ioutil was replaced with os.ReadDir. And a bit mask compare was used instead of a symbol compare.
Alexander "Arav" Andreev
2022-12-17 22:44:29 +0400
71e7765ba8
Updated Go to 1.19.
Alexander "Arav" Andreev
2022-12-17 22:42:09 +0400
e03a0e320e
Removed unused methods from HTTP server.
Alexander "Arav" Andreev
2022-12-17 21:50:18 +0400
007ab59c81
Moved robots.txt handling to Index().
Alexander "Arav" Andreev
2022-12-17 21:46:54 +0400
b793da40d4
Check a passed listen address first.
Alexander "Arav" Andreev
2022-12-17 21:35:33 +0400
760d08dcde
A -no-file-handling argument was inversed to -file-handling. So, by default no file handling occure from now.
Alexander "Arav" Andreev
2022-12-17 21:33:10 +0400
2c583201d7
f.sock was renamed to just sock also in a default for a -listen argument.
Alexander "Arav" Andreev
2022-12-17 21:30:07 +0400
38b5e6ae6e
f.sock socket file was renamed to just sock.
Alexander "Arav" Andreev
2022-12-17 21:29:07 +0400
17e346f3b6
Removed unnecessary Schema header from nginx.conf.
Alexander "Arav" Andreev
2022-12-17 21:28:23 +0400
5678d3e65a
Also change version in a Makefile.
22.44.0
Alexander "Arav" Andreev
2022-10-31 03:26:04 +0400
f04c6424a1
For me it is a week number 44 already, so a new version is 22.44.0.
Alexander "Arav" Andreev
2022-10-31 03:24:15 +0400
50d2c6a8bd
Reassign first and last row global var after sorting.
Alexander "Arav" Andreev
2022-10-31 03:23:08 +0400
182726f3e3
Added Yggdrasil address.
Alexander "Arav" Andreev
2022-10-31 02:08:02 +0400
b63e3ecbf5
http.go server moved in an internal dir.
Alexander "Arav" Andreev
2022-10-31 01:46:55 +0400
714d0816b5
keydown event listener moved in its own section KEYBOARD HANDLING.
22.43.0
Alexander "Arav" Andreev
2022-10-31 01:44:27 +0400
1adda7d437
Version increased to 22.43.0.
Alexander "Arav" Andreev
2022-10-31 01:42:15 +0400
3fa12d8950
Added :focus-within for tr.
Alexander "Arav" Andreev
2022-10-31 01:41:34 +0400
7da359ddda
Added tabindex for tr elements. Filter is hidden by default. If JS is enabled, then it will be displayed.
Alexander "Arav" Andreev
2022-10-31 01:40:59 +0400
23737319d2
Code was reorginised. Added ability to navigate through directory list.
Alexander "Arav" Andreev
2022-10-31 01:39:55 +0400
1021945108
Download source tar instead of git clone in PKGBUILD.
22.42.0
Alexander "Arav" Andreev
2022-10-18 22:26:37 +0400
d29eb84c3f
Make prev an next buttons to ignore hidden rows.
Alexander "Arav" Andreev
2022-10-18 22:22:04 +0400
ed17b83aae
Added table row filtering based on value of filter input text field.
Alexander "Arav" Andreev
2022-10-18 22:21:31 +0400
4ef2a77c25
Style for an input text field. Added class .hidden to hide table rows.
Alexander "Arav" Andreev
2022-10-18 22:20:28 +0400
f6dd6b76d0
Added a text input filed to filter directory's content.
Alexander "Arav" Andreev
2022-10-18 22:19:29 +0400
3830588748
Version updated to 22.42.0.
Alexander "Arav" Andreev
2022-10-18 22:18:00 +0400
ca35aa6019
This z-index only messing.
Alexander "Arav" Andreev
2022-09-20 04:38:10 +0400
151cb86df0
Updated usage for an overlay.
Alexander "Arav" Andreev
2022-09-20 04:35:33 +0400
2667dfd07e
Oh, it has to be a separate function.
Alexander "Arav" Andreev
2022-09-20 04:28:29 +0400
9827c5f731
Overlay was reworked from ground up. Now you can use prev and next buttons to go through media. Or use left and right arrow keys. Also ESC to close an overlay.
Alexander "Arav" Andreev
2022-09-20 03:39:42 +0400
5a47a0a5e1
Styled a new overlay.
Alexander "Arav" Andreev
2022-09-20 03:38:35 +0400
fa8f439dec
Added prev and next buttons and content is placed inside other div, blah-blah.
Alexander "Arav" Andreev
2022-09-20 03:37:43 +0400
71733ec429
Updated version.
Alexander "Arav" Andreev
2022-09-20 03:36:17 +0400
f52ffc74ce
Removed '-git' from package name.
Alexander "Arav" Andreev
2022-08-24 21:42:10 +0400
8f60fa1d77
Updated Go version to 1.18.
Alexander "Arav" Andreev
2022-08-24 21:41:48 +0400
3aa9186f9e
Now version is being set from a Makefile.
Alexander "Arav" Andreev
2022-08-02 01:12:47 +0400
f15cf88ad9
Updated version.
Alexander "Arav" Andreev
2022-08-01 01:16:34 +0400
7fc6daa50f
To MainSite() added an Yggdrasil address.
Alexander "Arav" Andreev
2022-08-01 01:16:26 +0400
b6aa765183
Added .mov format to video_formats.
Alexander "Arav" Andreev
2022-07-25 21:10:35 +0400
a3e0fdc046
Index template regenerated. And here I found that I forgot to do it last time when added a note on using of a local storage api.
22.27.0
Alexander "Arav" Andreev
2022-07-07 02:19:22 +0400
3a3a7b0dca
Incremented minor version (represents current week number btw).
Alexander "Arav" Andreev
2022-07-07 02:16:47 +0400
f097a495bc
Removed unneded id for a span containing current path, and placed its copy under a table in a separate section to make space.
Alexander "Arav" Andreev
2022-07-07 02:15:51 +0400
20a14eca95
Added code to resolve directory symlinks.
Alexander "Arav" Andreev
2022-06-28 06:13:44 +0400
6261719742
Fixed ExecStart= in systemd unit.
Alexander "Arav" Andreev
2022-06-28 05:31:57 +0400
be776d0f2f
Oh, removed an unneded IndexData struct.
Alexander "Arav" Andreev
2022-06-28 05:23:49 +0400
e9a6ab2600
In robots.txt fixed path.
Alexander "Arav" Andreev
2022-06-28 05:23:22 +0400
8d8ae473ba
Now audio volume is stored in localStorage.
Alexander "Arav" Andreev
2022-06-28 05:18:38 +0400
60f662109e
I think a word picture is more suitable here. Second, I decide on use of localStorage for audio volume.
Alexander "Arav" Andreev
2022-06-28 05:18:09 +0400
e61b4083b0
Now that paths are fixed in a program, here could be just a / location.
Alexander "Arav" Andreev
2022-06-28 05:10:22 +0400
197d52964d
These getElementsByTagName can be replaced with children field.
Alexander "Arav" Andreev
2022-06-28 05:07:00 +0400
dfe60f527c
Added comments to separate code sections.
Alexander "Arav" Andreev
2022-06-28 05:02:10 +0400
4c21b93263
Had to filter array for size column being sorted correctly.
Alexander "Arav" Andreev
2022-06-28 04:59:01 +0400
10181c60d2
Use DynamicUser in systemd unit.
Alexander "Arav" Andreev
2022-06-28 04:58:17 +0400
b3634b610e
/usr/lib64 doesn't needed, no dynamic linking.
Alexander "Arav" Andreev
2022-06-28 04:30:09 +0400
a7a008ce5a
Style for clickable column names.
Alexander "Arav" Andreev
2022-06-28 04:28:34 +0400
cc3e34bd02
Implemented a long demanded ability to sort files by columns on page.
Alexander "Arav" Andreev
2022-06-28 04:21:46 +0400
4c470006bf
Moved part of line on the next one for readability.
Alexander "Arav" Andreev
2022-06-28 04:20:46 +0400
a70b4a6fc5
Moved ../ button to thead.
Alexander "Arav" Andreev
2022-06-28 04:19:54 +0400
e73f3ee8fd
Decided not to escape. :)
Alexander "Arav" Andreev
2022-06-28 01:59:22 +0400
8f8baacbf9
Decide to add an info about overlay functionality.
Alexander "Arav" Andreev
2022-06-28 01:58:53 +0400
72780e9fc1
Let's set default audio volume to 50% to keep our ears safe.
Alexander "Arav" Andreev
2022-06-28 01:34:17 +0400
3b324a9733
Added ability to disable file serving if it is handled by some other service (e.g. NGiNX).
Alexander "Arav" Andreev
2022-06-28 01:07:46 +0400
799d0b0cb1
Removed corresponding ServeStatic paths. Now a single /*filepath is handled. And assets FS should be passed to handlers.
Alexander "Arav" Andreev
2022-06-28 00:39:14 +0400