Commit Graph

1011 Commits

Author SHA1 Message Date
Miguel Jacq
32108dcca2
Implements a shutdown timer to stop a share automatically (downloaded or not) after N hours 2017-11-08 20:25:59 +11: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
Miguel Jacq
b19f8fce52
Make it possible to supply a custom json settings file from somewhere else 2017-06-01 17:35:27 +10:00
Micah Lee
c6b19a2864
Fix stdeb.cfg so that Ubuntu PPA will build 2017-05-31 15:04:10 -07:00
Miguel Jacq
7e2d4d7888
Remove debug data 2017-05-31 19:44:53 +10:00
Miguel Jacq
3b359aec62
On a fresh share, delete any download progress bars of previous shares, and re-hide the downloads container 2017-05-31 17:35:16 +10:00
Delirious Lettuce
6c458f7fea Uncomment after_success 2017-05-30 23:53:51 -06:00
Delirious Lettuce
2cd0f70051 Modify .travis.yml 2017-05-30 23:51:29 -06:00
Delirious Lettuce
60c12dca01 Remove test (ZipInfo.is_dir() is Python 3.6+ only) 2017-05-30 23:44:38 -06:00
Delirious Lettuce
a804c42325 Comment out sudo: required 2017-05-30 23:39:06 -06:00
Delirious Lettuce
69aa1a2ae6 Initial commit of previous changes, add coverage to travis 2017-05-30 23:25:42 -06:00
Miguel Jacq
64b5cc59bb
Ensure the self.filenames list is sorted internally.
This is important because even though the QListWidget UI is sorted
automatically, the list is not necessarily. Drag-drop events, depending
on the order in which items were highlighted before being dragged,
can result in a different or reversed order. This has implications for
popping the list later (e.g on delete events)
2017-05-31 11:17:15 +10:00
Micah Lee
a9ee14551b
Show server screenshot before client screenshot 2017-05-30 15:32:05 -07:00
Micah Lee
acd9464f12
Added new screenshots 2017-05-30 15:28:51 -07:00
Micah Lee
f47378cc42
Version bump to 1.1, and update install size, for Windows installer 2017-05-30 15:07:36 -07:00
Micah Lee
b5fe8b7519
Merge branch 'delirious-lettuce-hmac_compare_digest' 2017-05-30 14:50:58 -07:00
Micah Lee
cd5d95a75d
Merge branch 'hmac_compare_digest' of https://github.com/delirious-lettuce/onionshare into delirious-lettuce-hmac_compare_digest 2017-05-30 14:50:19 -07:00
Micah Lee
baae8fada6
Updated changelog even more, and version bump to 1.1 2017-05-30 12:54:37 -07:00
Micah Lee
67db512ff3
Merge branch 'mig5-single_add_button' 2017-05-30 12:24:44 -07:00