Micah Lee
bfeeb2a1b7
Merge branch 'fix_tor_connection_progress_bar' of https://github.com/mig5/onionshare into mig5-fix_tor_connection_progress_bar
2017-11-30 18:03:09 -08:00
Micah Lee
2a8a60a50b
Merge branch 'mig5-404_response'
2017-11-30 18:01:28 -08:00
Micah Lee
e7a2b0a277
Merge branch '404_response' of https://github.com/mig5/onionshare into mig5-404_response
2017-11-30 18:01:18 -08:00
Micah Lee
e824682c2a
Merge branch 'mig5-442_use_looseversion'
2017-11-30 17:58:39 -08:00
Micah Lee
2ab4b68bb7
Merge branch '442_use_looseversion' of https://github.com/mig5/onionshare into mig5-442_use_looseversion
2017-11-30 17:58:25 -08:00
Micah Lee
2da13ba1fa
Merge branch 'fixes' of https://github.com/delirious-lettuce/onionshare into delirious-lettuce-fixes
2017-11-30 17:54:24 -08:00
Micah Lee
a7f1f4bf18
Merge branch 'kushaldas-rpmlint'
2017-11-30 15:49:56 -08:00
Kushal Das
31126b410d
Mentions python2 as the interpreter
2017-11-28 04:09:33 +05:30
Micah Lee
d544a0341f
Allow tests to find share folders when building .deb
2017-11-20 16:19:04 -08:00
Micah Lee
21e1dac2c3
Rename test files to have test_ prefix
2017-11-20 15:52:33 -08:00
Miguel Jacq
966beb9406
add missing arg to onion.connect() (config) which broke the Tor Connection progress dialog (regression from b19f8f)
2017-11-12 17:53:40 +11:00
Miguel Jacq
bb46c2de99
send a HTTP 404 code instead of 200, on 404 pages
2017-11-09 17:51:34 +11:00
Miguel Jacq
53faa043f9
use LooseVersion instead of StrictVersion, so that upstream versions of Flask that contain -dev will still work. Fixes #442
2017-11-06 09:16:55 +11:00
Delirious Lettuce
0fb556baf2
Delete temporary tor data directory during cleanup
2017-07-13 18:14:49 -06:00
Delirious Lettuce
18545b7aa2
Reorder imports, spacing, use tempfile.gettempdir
2017-07-10 20:40:01 -06:00
Delirious Lettuce
56109a7012
Reorder imports, use json.load(f)
2017-07-10 20:13:30 -06:00
Delirious Lettuce
301465a49a
Reorder imports, remove p
, use ext
, use json.load(f)
2017-07-10 20:11:04 -06:00
Delirious Lettuce
52d16d21f7
Remove: unused import, round
, formatting indexes. Use tuple
2017-07-10 20:00:19 -06:00
Micah Lee
4387589b4f
Merge branch 'mig5-440_settings_menu_button_disable'
2017-07-09 14:19:08 -07:00
Micah Lee
5435a4b046
Merge branch 'mig5-438_settings_icon_inactive'
2017-07-09 14:16:29 -07:00
Micah Lee
882ade94c7
Merge branch 'mig5-custom_config'
2017-07-09 14:12:49 -07:00
Micah Lee
dee616e8cb
Merge branch 'mig5-433_reset_downloads_on_fresh_share'
2017-07-09 13:19:26 -07:00
Micah Lee
62b0409e86
Merge branch 'mig5-428_fix_order'
2017-07-09 13:11:35 -07:00
Micah Lee
2a8a7fd634
Merge branch 'delirious-lettuce-test_onionshare_common'
2017-07-09 10:59:00 -07:00
Micah Lee
1785cb64e8
Remove references to nosetests, and replace them with pytest
2017-07-09 10:55:16 -07:00
Micah Lee
ef3e2bfd41
Merge branch '433_reset_downloads_on_fresh_share' of https://github.com/mig5/onionshare into mig5-433_reset_downloads_on_fresh_share
2017-07-09 10:11:00 -07:00
Micah Lee
c91eaa9183
Merge branch '428_fix_order' of https://github.com/mig5/onionshare into mig5-428_fix_order
2017-07-09 10:10:12 -07:00
Delirious Lettuce
e54d6b8648
Remove unnecessary imports, add tests
2017-07-08 11:31:25 -06:00
Delirious Lettuce
5b08372b72
Modify import (more direct), remove unnecessary parentheses
2017-07-08 11:30:26 -06:00
Delirious Lettuce
5132ef8b4f
fixture
instead of yield_fixture
(2), remove parentheses
2017-07-08 11:29:19 -06:00
Delirious Lettuce
711ae30ba9
Initial commit, coverage of onionshare.settings.py
at 92%
2017-07-08 11:23:17 -06:00
Delirious Lettuce
27b917e9e5
Add locale fixtures
2017-07-08 00:17:20 -06:00
Delirious Lettuce
7ab77710a1
Merge remote-tracking branch 'origin/test_onionshare_common' into test_onionshare_common
...
# Conflicts:
# test/onionshare_common_test.py
2017-07-07 23:21:21 -06:00
Delirious Lettuce
99bc9ea25b
Create temporary file/directory without deleting them after
2017-07-07 23:16:37 -06:00
Delirious Lettuce
cf05204e65
Add cleanup tests
2017-07-07 23:14:47 -06:00
Delirious Lettuce
17f301022b
Initial commit (all current pytest fixtures)
2017-07-07 22:51:09 -06:00
Delirious Lettuce
69d1434f35
Move fixtures to conftest, remove unneeded imports, spacing
2017-07-07 22:50:11 -06:00
Delirious Lettuce
4f395add0a
* Use re.verbose on LOG_MSG_REGEX
...
* Create new fixtures for creating temporary files and directories
* Modify custom_zw fixture to include custom callback function to test
* Delete parent directory of ZipWriter file from default_zw fixture
* Modify monkeypatch arguments
* Group tests into separate classes for each function
* Parametrize ZeroDivisionError tests
* Test all regular expressions
* Use new fixtures to ensure proper deletion of files after testing
2017-07-07 21:33:45 -06:00
Delirious Lettuce
d23c190cdc
Add conftest.py
file
2017-07-07 14:26:19 -06:00
Delirious Lettuce
29f15fb9a5
initial commit of onionshare_test.py
mods
2017-07-05 14:44:27 -06:00
Delirious Lettuce
50652aa74b
WIP: up to 100% test coverage of common.py
2017-07-04 23:17:51 -06:00
Delirious Lettuce
d37e35c93a
Uncomment after_success
2017-07-04 12:24:38 -06:00
Delirious Lettuce
60f28ed288
Modify .travis.yml
2017-07-04 12:24:38 -06:00
Delirious Lettuce
f7228f7952
Remove test (ZipInfo.is_dir()
is Python 3.6+ only)
2017-07-04 12:24:38 -06:00
Delirious Lettuce
c004e70b6e
Comment out sudo: required
2017-07-04 12:24:38 -06:00
Delirious Lettuce
348c1889ae
Initial commit of previous changes, add coverage to travis
2017-07-04 12:24:38 -06:00
Miguel Jacq
fccec9737d
Need to actually ensure the dark settings icon is set back once server inactive again
2017-06-03 19:04:21 +10:00
Miguel Jacq
e9120fd87e
fix the settings icon so it only switches to inactive icon when server is active
2017-06-03 19:01:40 +10:00
Miguel Jacq
22971fc205
#440 disable the Settings menu action when server is active
2017-06-03 18:55:09 +10:00
Miguel Jacq
6626e7d67e
#438 Make settings icon lighter grey when inactive
2017-06-02 11:34:19 +10:00