Commit Graph

18 Commits

Author SHA1 Message Date
Miguel Jacq
90ebc3aab4
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
09f2f57298
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
cb439743ff
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
f6eb80d5b5
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
9ae98eb7cb
Extend coverage of website mode tests 2019-09-03 12:23:27 +10:00
Miguel Jacq
ef78a9c7ed
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
877a73ab59
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
15d66c1a6f
Fix tests 2019-05-24 17:59:14 -07:00
Micah Lee
9785be0375
Replace URLs that have slugs with basic auth in tests 2019-05-24 13:38:41 -07:00
Micah Lee
4df989dc77
Rename slugs to passwords in the tests 2019-05-22 20:55:31 -07:00
Miguel Jacq
ee3a14a025
Standardise all startup_timer, scheduled_start attributes as 'autostart_timer' 2019-03-25 15:28:31 +11:00
Miguel Jacq
c411e8d61a
Standardise all shutdown_timer, shutdown_timeout, timeout attributes as 'autostop_timer' 2019-03-25 15:05:54 +11:00
Miguel Jacq
365798b12f
Various Startup Timer fixes for strings, bundled mode, stealth mode, startup/shutdown time clashes 2019-03-11 15:55:17 +11:00
Miguel Jacq
8889d3d586
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
31c360b44d
Add a Startup Timer feature (scheduled start / dead man's switch) 2019-03-05 10:28:27 +11:00
Miguel Jacq
c79eedd626
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
cc49589080
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
10cdfa7631
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