20 Commits

Author SHA1 Message Date
Micah Lee
58ad7907fd Replace .format with python 3.6 f-strings in tests 2019-10-20 10:46:14 -07:00
Micah Lee
88e151d414 Format all code using black 2019-10-12 21:01:25 -07:00
Miguel Jacq
2c87ea55ff Fix the discrepancy between SendBaseModeWeb and Web objects' separate cur_history_id attibutes, ensuring that when we call web.error404() we send a new history_id integer for communicating back to the frontend. Add tests for this 2019-09-09 16:35:05 +10:00
Miguel Jacq
7a6d34103d Reset the ToggleHistory indicator count/label when a share starts. Add a test for this 2019-09-03 17:02:29 +10:00
Miguel Jacq
04eabbb833 Check for the (absence of) hyperlink in page markup before we move on to trying to download the individual file 2019-09-03 12:38:20 +10:00
Miguel Jacq
174dc79a25 Test to make sure that we *can't* download an individual file when not in stay_open mode, not just that the hyperlink is not present in the page markup 2019-09-03 12:36:05 +10:00
Miguel Jacq
608e0eccc6 Extend coverage of website mode tests 2019-09-03 12:23:27 +10:00
Miguel Jacq
0abac29b09 Add tests to check that hyperlink to a shared file exists when in stay_open mode (and that the file is downloadable individually when so), and not if not 2019-09-03 11:19:42 +10:00
Micah Lee
113cd7eb4b Remove the "Allow downloading individual files" setting altogether, and make it just automatically enabled if "Stop sharing..." is disabled 2019-09-01 21:22:59 -07:00
Micah Lee
e820a0d00d Fix tests 2019-05-24 17:59:14 -07:00
Micah Lee
1efc3d6278 Replace URLs that have slugs with basic auth in tests 2019-05-24 13:38:41 -07:00
Micah Lee
cec63daf3a Rename slugs to passwords in the tests 2019-05-22 20:55:31 -07:00
Miguel Jacq
eb823042bb Standardise all startup_timer, scheduled_start attributes as 'autostart_timer' 2019-03-25 15:28:31 +11:00
Miguel Jacq
a4c8865dcd Standardise all shutdown_timer, shutdown_timeout, timeout attributes as 'autostop_timer' 2019-03-25 15:05:54 +11:00
Miguel Jacq
84aa627d1f Various Startup Timer fixes for strings, bundled mode, stealth mode, startup/shutdown time clashes 2019-03-11 15:55:17 +11:00
Miguel Jacq
5deb9c460d Test that the web server is stopped when it's scheduled for a later start 2019-03-05 16:59:13 +11:00
Miguel Jacq
26d262ccfc Add a Startup Timer feature (scheduled start / dead man's switch) 2019-03-05 10:28:27 +11:00
Miguel Jacq
63ae7c0d51 Add better workaround for blocking QDialogs. Add unreadable file test and reinstate tor connection killed test 2018-10-17 11:57:21 +11:00
Miguel Jacq
b2a7b0c929 More coverage such as 404 ratelimit, large file tests. Standardise some method naming conventions and other fixes/cleanup 2018-10-16 13:01:44 +11:00
Miguel Jacq
e3459a5136 Move GUI tests into tests/ dir and fix conftest related stuff so everything loads what it needs and passes 2018-10-13 10:35:09 +11:00