1
0
Commit Graph

33 Commits

Author SHA1 Message Date
e61b4083b0
Now that paths are fixed in a program, here could be just a / location. 2022-06-28 05:10:22 +04:00
197d52964d
These getElementsByTagName can be replaced with children field. 2022-06-28 05:07:00 +04:00
dfe60f527c
Added comments to separate code sections. 2022-06-28 05:02:10 +04:00
4c21b93263
Had to filter array for size column being sorted correctly. 2022-06-28 04:59:01 +04:00
10181c60d2
Use DynamicUser in systemd unit. 2022-06-28 04:58:17 +04:00
b3634b610e
/usr/lib64 doesn't needed, no dynamic linking. 2022-06-28 04:30:09 +04:00
a7a008ce5a
Style for clickable column names. 2022-06-28 04:28:34 +04:00
cc3e34bd02
Implemented a long demanded ability to sort files by columns on page. 2022-06-28 04:21:46 +04:00
4c470006bf
Moved part of line on the next one for readability. 2022-06-28 04:20:46 +04:00
a70b4a6fc5
Moved ../ button to thead. 2022-06-28 04:19:54 +04:00
e73f3ee8fd
Decided not to escape. :) 2022-06-28 01:59:22 +04:00
8f8baacbf9
Decide to add an info about overlay functionality. 2022-06-28 01:58:53 +04:00
72780e9fc1
Let's set default audio volume to 50% to keep our ears safe. 2022-06-28 01:34:17 +04:00
3b324a9733
Added ability to disable file serving if it is handled by some other service (e.g. NGiNX). 2022-06-28 01:07:46 +04:00
799d0b0cb1
Removed corresponding ServeStatic paths. Now a single /*filepath is handled.
And assets FS should be passed to handlers.
2022-06-28 00:39:14 +04:00
aec33a154f
Added FIleServer handlers for assets and file share. 2022-06-28 00:37:50 +04:00
1506f1ac68
No need to move to sub-tree to assets dir. Assets dir is in path. 2022-06-28 00:37:20 +04:00
933eaa0f3c
Updated pregenerated index.jade. 2022-06-27 23:48:19 +04:00
ad8826d82a
Fixed path to favicon in index.jade. 2022-06-27 23:46:53 +04:00
9d2ee5883d
Added favicon. 2022-06-27 23:45:58 +04:00
0c8164e4bf
Oh, let's actually use user's home directory for test. :) 2022-06-27 23:45:21 +04:00
54005e49e5
Added JS script. 2022-06-27 23:44:53 +04:00
1efaabf1ff
Added CSS style. 2022-06-27 23:44:45 +04:00
822065d383
Added font. 2022-06-27 23:44:36 +04:00
fa7e38a1ff
Not sure this nginx config is right, will check later. 2022-06-27 23:37:40 +04:00
ef920126c3
Working Index handler. 2022-06-27 23:37:12 +04:00
5f2b69ee3c
Looks like CurrentPath() func is complete. 2022-06-27 23:36:45 +04:00
ca6e28b376
Made use of DirStats struct in a template. 2022-06-27 23:26:33 +04:00
feda955c38
Because of how httprouter works I had to create an /index/ endpoint. Also /file/ endpoint serving files was added. 2022-06-27 22:53:02 +04:00
a2a40a6dfe
This run target is for testing purposes. Let it serve a current directory. 2022-06-27 22:51:18 +04:00
34a5202ea3
A working ScanDirectory() function. 2022-06-27 22:50:33 +04:00
8550577726
Oops, forgot this junk. 2022-06-27 04:40:16 +04:00
cc0c97fa23
Initial commit. 2022-06-27 04:38:09 +04:00