Commit graph

25 commits

Author SHA1 Message Date
a7bedb139d
Show pid when starting simple server. 2021-09-30 14:27:25 -07:00
Ethan Dalool
f9e2c16d9a Use the DOCSTRING instead of __doc__.
Not a big deal since betterhelp is already getting this. But it
caught my eye so here we go.
2021-07-17 09:13:10 -07:00
Ethan Dalool
73e11e0e63 Add html title to directory listing. 2021-07-16 21:06:57 -07:00
cc607b5cf8
Improve folder column sizing CSS. 2021-06-22 15:50:38 -07:00
0dec7cbcff
Add overall_ratelimit, individual_ratelimit. 2021-02-20 13:05:45 -08:00
4b599e38d3
simpleserver improvements.
- Reference self.server.password instead of fowarding the password
  to the request handler.
- Add --enable_zip.
- Remove unused stuff.
2021-01-23 18:37:22 -08:00
Ethan Dalool
00c58281b5 Add word-break: break-word. 2020-11-08 00:05:40 -08:00
Ethan Dalool
72aa05a155 Set autocapitalize=off for the password prompt. 2020-11-04 17:34:20 -08:00
Ethan Dalool
90ac6c87ac Move the hidden filenames (thumbs.db etc) to a global const. 2020-10-31 01:00:15 -07:00
Ethan Dalool
138f376ce7 Call correct_case on the directory root, but not each atag. 2020-10-26 22:58:01 -07:00
Ethan Dalool
bb75e8db53 Minor tweaks. 2020-10-26 22:57:36 -07:00
Ethan Dalool
995dd3959f Use relative_to(ROOT) explicitly. 2020-10-26 22:57:03 -07:00
Ethan Dalool
993bd65020 Remove unecessary files from simpleserver dir. 2020-10-26 22:56:03 -07:00
Ethan Dalool
5abb064f9b Add help text. 2020-10-12 22:06:52 -07:00
Ethan Dalool
0fcaa64c24 Add --authorize_by_ip to permit whole IP after one password input. 2020-10-12 21:45:18 -07:00
Ethan Dalool
430b721d65 Use real Authorization header instead of ad hoc password header. 2020-10-12 21:43:17 -07:00
Ethan Dalool
f23ed27683 Move work of extracting token from cookie to a @property. 2020-10-12 21:20:44 -07:00
Ethan Dalool
6ce69da7a6 Better object-oriented SimpleServer. 2020-10-10 08:44:56 -07:00
Ethan Dalool
fa86f1b393 Add global const TOKEN_COOKIE_NAME. 2020-10-10 08:43:12 -07:00
Ethan Dalool
91cf3af63b Disable autocomplete on password field. 2020-10-10 08:42:48 -07:00
Ethan Dalool
034784015e Use pathclass.Path.open. 2020-09-20 18:29:36 -07:00
Ethan Dalool
5022257817 Only check path.size if file.
Now that pathclass returns size for dirs as well, but that's not
necessary here.
2020-03-19 17:35:52 -07:00
Ethan Dalool
0965384c7f Simpleserver update. 2020-01-19 21:19:45 -08:00
Ethan Dalool
6d3f196214 Simpleserver updates. 2019-12-10 12:46:45 -08:00
Ethan Dalool
ba54238021 Rename ServerReference folder to SimpleServer. 2019-06-11 22:31:32 -07:00