Commit Graph

18 Commits

Author SHA1 Message Date
Micah Lee
a0759cedcd
Oops, need to call directory_listing with filesystem_path 2019-09-01 16:02:10 -07:00
Micah Lee
973db941ec
Move all mode-specific code out of SendBaseModeWeb and into inherited methods in WebsiteModeWeb and ShareModeWeb 2019-09-01 18:44:44 -04:00
Micah Lee
7b2b8c2284
Rename BaseModeWeb to SendBaseModeWeb, because this code is only actually shared by send modes (Share and Website, not Receive) 2019-09-01 18:05:53 -04:00
hiro
2604ef52b5 Clean up rendering logic between share and website mode 2019-06-14 18:21:12 +02:00
hiro
4d733c224a Refactor directory_listing function 2019-06-13 21:47:49 +02:00
hiro
9805919fc7 Move directory_listing function 2019-06-13 12:41:12 +02:00
hiro
5c0839a557 Refactor set_file_list between website and share mode 2019-06-13 12:34:27 +02:00
hiro
0f40e9589c Start code sharing between WebsiteMode and ShareMode 2019-06-13 12:34:27 +02:00
Micah Lee
41be429b91
Make static folder URL have a high-entropy random path, to avoid filename collisions with files getting shared 2019-05-22 20:07:35 -07:00
Micah Lee
2a50bbc3bc
Move HTTP basic auth logic from WebsiteMode to Web, so it applies to all modes 2019-05-20 17:59:20 -07:00
Micah Lee
ab930011ad
Fix bugs in how self.file was building the dictionary, so now browsing works 2019-05-10 14:52:07 -07:00
Micah Lee
818f2bac2c
Make it so directory listings work, including root directory listing 2019-05-10 14:04:13 -07:00
Micah Lee
65a7a1790c
Starting to refactor website sharing so set_file_info builds a dict of all files, and path_logic will display any arbitrary file, or directory listing if no index.html is present 2019-05-10 13:43:46 -07:00
hiro
abc30b315c Clean code and fix UI bugs 2019-05-08 00:04:09 +02:00
hiro
357374c147 Fix merge conflicts with upstream 2019-04-23 16:20:33 +02:00
hiro
0c6dbe4c8a Clean ui, add strings, fix web listing logic 2019-04-23 16:11:14 +02:00
hiro
391c82f2a6 Add gui for website sharing and listing 2019-04-23 16:09:40 +02:00
hiro
2d43588a3b Add website sharing and directory listing cli-only 2019-04-23 16:08:14 +02:00