2897 Commits

Author SHA1 Message Date
Micah Lee
1e83a1bfd6 Oops, need to call directory_listing with filesystem_path 2019-09-01 16:02:10 -07:00
Micah Lee
bffbc1930d 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
f2bd2e943d 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
Micah Lee
e9e0302fd6 Merge branch 'share-code' of https://github.com/hiromipaw/onionshare into hiromipaw-share-code 2019-09-01 17:49:22 -04:00
Micah Lee
8f35960ab7 Update python and pyqt5 in BUILD.md, and for macOS install pyinstaller from pip instead of building from source 2019-09-01 17:39:32 -04:00
Micah Lee
61421cf856 Update pip dependencies 2019-09-01 17:35:02 -04:00
Micah Lee
651f4425b3 Merge pull request #1011 from torbsd/torbsd
DragonFly is *BSD; bringing back #716
2019-09-01 13:44:35 -07:00
Micah Lee
1cb745b071 Add python3-distutils as a dependency, and also remove reduntant build-depends from stdeb.cfg 2019-09-01 13:30:49 -07:00
Micah Lee
74e961fd68 If ONIONSHARE_HIDE_TOR_SETTINGS is set, hide Tor settings in the settings dialog 2019-09-01 13:16:00 -07:00
Micah Lee
287eddd003 Merge pull request #1012 from emmapeel2/translation_updates
weblate translation updates
2019-09-01 12:45:39 -07:00
Micah Lee
4ae26b3623 Change package in build instructions from python-flask-httpauth to python3-flask-httpauth 2019-09-01 12:38:13 -07:00
emma peel
a66f8e1a6a weblate translation updates 2019-07-27 08:01:35 +00:00
Hosted Weblate
7c524d409d Merge branch 'origin/develop' into Weblate. 2019-07-27 09:35:52 +02:00
Hosted Weblate
169ee4c8c7 Translated using Weblate (Norwegian Bokmål)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/nb_NO/

Translated using Weblate (French)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/fr/

Merge branch 'origin/develop' into Weblate.

Merge branch 'origin/develop' into Weblate.

Translated using Weblate (Swedish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/sv/

Translated using Weblate (Catalan)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/ca/

Translated using Weblate (Danish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/da/
2019-07-27 09:34:09 +02:00
Hosted Weblate
f6fbacaffd Merge branch 'origin/develop' into Weblate. 2019-07-26 13:36:50 +02:00
emma peel
a17a73d5d5 Merge branch 'develop' of github.com:weblate/onionshare-weblate into develop 2019-07-26 11:36:15 +00:00
Hosted Weblate
1d7b3dda8a Merge branch 'origin/develop' into Weblate. 2019-07-26 13:32:43 +02:00
emma peel
0dee28a983 Merge branch 'develop' of github.com:micahflee/onionshare into develop 2019-07-26 11:30:20 +00:00
emma peel
5f6a051fb9 Merge branch 'develop' of github.com:micahflee/onionshare-weblate into develop 2019-07-26 11:26:53 +00:00
emma peel
ccdfed1b0c Squashed commit of the following:
commit 9a60c8c87f3d9f05ef1a05fc472c94bc22616b49
Author: Hosted Weblate <hosted@weblate.org>
Date:   Sat Jun 22 13:01:49 2019 +0200

    Translated using Weblate (Swedish)
    Translated using Weblate (Catalan)
    Translated using Weblate (Danish)

commit 8083fd49298768d96d33684f65b05a2aa3dddd1c
Author: Hosted Weblate <hosted@weblate.org>
Date:   Thu May 16 17:49:23 2019 +0200

    Translated using Weblate (Hungarian)
    Translated using Weblate (Turkish)
    Translated using Weblate (Telugu)
    Translated using Weblate (Swahili)
    Translated using Weblate (Malay)
    Translated using Weblate (Greek)
    Translated using Weblate (Spanish)
    Added translation using Weblate (Swahili)

commit e0db8944813b3f3c48a2d61a6f12c5ed15dee704
Merge: 543744d a352dbe
Author: emma peel <emma.peel@riseup.net>
Date:   Wed May 8 10:04:34 2019 +0000

    Merge branch 'develop' of github.com:weblate/onionshare-weblate into develop

commit 543744d81dca1b0f75724083d073fe66fb0e6c0e
Author: Hosted Weblate <hosted@weblate.org>
Date:   Tue May 7 23:16:35 2019 +0200

    Translated using Weblate (German)

commit 574a0c395318d7f3aeca3c7b9ef8556d22178cfe
Author: Hosted Weblate <hosted@weblate.org>
Date:   Wed May 8 09:42:39 2019 +0200

    Translated using Weblate (Romanian)
    Translated using Weblate (Italian)
    Translated using Weblate (German)
    Translated using Weblate (Dutch)
    Translated using Weblate (Catalan)
    Translated using Weblate (Romanian)
    Translated using Weblate (Italian)
    Translated using Weblate (German)
    Translated using Weblate (German)
    Translated using Weblate (German)
    Translated using Weblate (Turkish)
    Translated using Weblate (Greek)
    Translated using Weblate (German)
    Translated using Weblate (French)
    Translated using Weblate (Arabic)
    Translated using Weblate (Turkish)
    Translated using Weblate (Turkish)
    Translated using Weblate (German)
commit a352dbe9ff3bd54904cbb4cf715ab5341a113acb
Author: Hosted Weblate <hosted@weblate.org>
Date:   Tue May 7 23:16:35 2019 +0200

    Translated using Weblate (German)

	modified:   share/locale/ar.json
	modified:   share/locale/ca.json
	modified:   share/locale/da.json
	modified:   share/locale/de.json
	modified:   share/locale/el.json
	modified:   share/locale/es.json
	modified:   share/locale/fr.json
	modified:   share/locale/hu.json
	modified:   share/locale/it.json
	modified:   share/locale/ms.json
	modified:   share/locale/nl.json
	modified:   share/locale/ro.json
	modified:   share/locale/sv.json
	new file:   share/locale/sw.json
	modified:   share/locale/te.json
	modified:   share/locale/tr.json
2019-07-26 11:25:51 +00:00
Vinicius Zavam
b0b5907566 DragonFly is *BSD; bringing back #716 2019-07-23 15:09:11 +00:00
Hosted Weblate
dfbede0dd0 Translated using Weblate (Swedish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/sv/

Translated using Weblate (Catalan)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/ca/

Translated using Weblate (Danish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/da/
2019-06-22 13:01:49 +02:00
hiro
5c0c45a6de Clean up rendering logic between share and website mode 2019-06-14 18:21:12 +02:00
hiro
7b8a83854d Remove reset of web app path in receive mode 2019-06-13 22:58:33 +02:00
hiro
347b25d5a0 Revert "Generate a new static_url_path each time the server is stopped and started again"
This change creates problems with how website mode renders assets.
This reverts commit ae110026e72bc7bd38aa515f52fb52aa3236e8b1.
2019-06-13 22:56:48 +02:00
hiro
e6f114c677 Refactor directory_listing function 2019-06-13 21:47:49 +02:00
hiro
324c6579c2 Move directory_listing function 2019-06-13 12:41:12 +02:00
hiro
4551716a9e Refactor set_file_list between website and share mode 2019-06-13 12:34:27 +02:00
hiro
30dc17df27 Start code sharing between WebsiteMode and ShareMode 2019-06-13 12:34:27 +02:00
wh1t3fang
dd8e9d37ae Added python-flask-httpauth depend
added flask httpauth depend to the install instructions for debian.  Otherwise, this exception appears.

ImportError: No module named 'flask_httpauth'
2019-06-12 05:10:24 +00:00
Micah Lee
9a4477ad09 Merge pull request #1000 from micahflee/989_noscript_xss_is_all_good
Strip NoScript XSS warning
2019-05-30 17:56:56 -07:00
Micah Lee
f979bbe97c Remove old noscript css styles 2019-05-30 17:55:58 -07:00
Micah Lee
e4b0f04504 Strip NoScript XSS warning, because the Tor Browser bug it addressed has been fixed 2019-05-29 19:27:21 -07:00
Micah Lee
69eb7f81a3 Merge pull request #996 from micahflee/basic_auth_everywhere
Switch from slugs to HTTP basic auth
2019-05-29 19:15:40 -07:00
Micah Lee
ae110026e7 Generate a new static_url_path each time the server is stopped and started again 2019-05-29 18:21:53 -07:00
x80486
04a5f8a286 Update/Tweak AppStream Metadata XML and Desktop Entry according to the latest standard(s) 2019-05-29 20:48:48 -04:00
Micah Lee
4fd8a95853 Merge branch 'develop' into basic_auth_everywhere 2019-05-24 18:13:44 -07:00
Micah Lee
eb6909e33a Make GuiReceiveTest.upload_test use basic auth when identical_files_at_once is True 2019-05-24 18:07:57 -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
f480ac2c11 Merge pull request #961 from hiromipaw/static-websites
Static websites
2019-05-24 10:21:34 -07:00
hiro
1c05ccb611 Resolve bugs from initial PR 2019-05-24 10:08:51 +02:00
Micah Lee
7e5bcf8662 Fix web tests to use basic auth and passwords instead of slugs 2019-05-23 09:53:18 -07:00
Micah Lee
cec63daf3a Rename slugs to passwords in the tests 2019-05-22 20:55:31 -07:00
Micah Lee
6d057c0078 Give xvfb-run a screen to floods of Qt logs in CircleCI tests, so the test output is readable 2019-05-22 20:46:23 -07:00
Micah Lee
3578e7d540 Allow static resources without basic auth 2019-05-22 20:15:49 -07:00
Micah Lee
b2b72a6b31 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
b2c155991e Don't need BaseShareMode yet 2019-05-22 19:55:55 -07:00
Micah Lee
403125f844 Update ReceiveMode to no longer rely on slugs 2019-05-21 10:18:40 -07:00
Micah Lee
3ab99dbf3b Fix building the URL in CLI mode, and removing the slug from the download button in share mode 2019-05-21 10:08:54 -07:00