3324 Commits

Author SHA1 Message Date
Saptak S
52971ad371 Refactors logic for chat user list and scroll
- Refactors server side code to use instance variable instead of
background thread to generate a list of connected users
- Send this user list anytime any change is made to the list. It can
be: join, update username, disconnect
- In js, render the entire user list everytime it is received.
- Scroll to the bottom of the chat, everytime the current user
sends a message
- Else, if already at the bottom of the chat, scroll to the bottom
after appending incoming status or chat message. But if the user
is scrolled up in the chat window, then do not scroll to the bottom
- When refreshed or close tab is clicked, default browser warning is
shown.
- On receiving disconnect, the browser removes user from room.
- If refreshed, it is shown as if the user left and joined again.
2020-05-04 03:47:13 +05:30
Saptak S
e8976b643e Adds eventlet to poetry to allow using websocket instead of polling 2020-05-04 03:41:38 +05:30
Micah Lee
d1cda85b0a In setup.py use scripts instead of entrypoints; in snapcraft remove python packages and get them from pyproject.toml instead 2020-05-03 14:38:44 -07:00
Micah Lee
5ee8835448 Update poetry deps 2020-05-03 14:09:06 -07:00
Micah Lee
2508bbf29f Update onionshare description, and reduce python version to 3.6 in pyproject.toml 2020-05-03 14:04:54 -07:00
Micah Lee
102f42e225 Begin making a snapcraft.yaml 2020-05-03 13:56:18 -07:00
Saptak S
cc5d4ae439 Adds flask-socketio dependency to poetry 2020-05-02 02:58:31 +05:30
Saptak S
22732b8c41 Merge branch 'develop' into chat 2020-05-02 02:49:49 +05:30
Milo Ivir
66b20d8e09 Translated using Weblate (Croatian)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/hr/
2020-04-29 09:58:09 +02:00
R
a9d8cc7443 Translated using Weblate (Persian)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/fa/
2020-04-29 09:58:09 +02:00
Oğuz Ersen
3f11472fd6 Translated using Weblate (Turkish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/tr/
2020-04-29 09:58:08 +02:00
Localisation Lab
fedec3c206 Translated using Weblate (French)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/fr/
2020-04-29 09:58:07 +02:00
Martin Beer
5a8d6f5009 Translated using Weblate (German)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/de/
2020-04-29 09:58:07 +02:00
scootergrisen
638612d70b Translated using Weblate (Danish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/da/
2020-04-29 09:58:06 +02:00
Joan Montané
58e9cf4a43 Translated using Weblate (Catalan)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/ca/
2020-04-29 09:57:59 +02:00
Hosted Weblate
5b2e100490 Translated using Weblate (Indonesian)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/id/

Translated using Weblate (Portuguese (Portugal))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/pt_PT/

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

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

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

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

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

Translated using Weblate (Spanish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/
2020-04-25 01:35:26 +02:00
Hosted Weblate
aec4e5d792 Translated using Weblate (French)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/fr/

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

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

Translated using Weblate (Spanish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/
2020-04-24 16:01:55 +02:00
Hosted Weblate
aeff5bc5b1 Translated using Weblate (Spanish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/
2020-04-24 15:43:13 +02:00
emma peel
b712f842ed Merge remote-tracking branch 'origin/develop' into develop 2020-04-24 13:31:02 +00:00
Hosted Weblate
9c65d2f09d Translated using Weblate (Croatian)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/hr/

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Translated using Weblate (Portuguese (Portugal))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/pt_PT/

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

Added translation using Weblate (Croatian)

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

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

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

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

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

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

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

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

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

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

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

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

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

Merge branch 'origin/develop' into Weblate.

Added translation using Weblate (Afrikaans)

Translated using Weblate (Portuguese (Portugal))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/pt_PT/

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

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

Translated using Weblate (Hindi)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/hi/
2020-04-20 09:11:22 +02:00
Micah Lee
da12325d1d Fix common.get_tor_paths test 2020-04-06 21:19:17 -07:00
Micah Lee
80b1246df8 Open files in linux with xdg-open instead of nautilus 2020-04-06 20:29:02 -07:00
Micah Lee
d1143504ac Delete the lock file on Ctrl-C 2020-04-06 20:19:35 -07:00
Micah Lee
d2517681af Remove psutil dependency, and start using a lock file instead 2020-04-06 20:05:48 -07:00
Micah Lee
8955b2b6c6 In dev mode, when checking for existing onionshare, check for processes that start with python3 as well as python 2020-04-06 19:53:34 -07:00
Micah Lee
a53b95867f Fix linux tor paths, make event handler properly quit thread 2020-04-06 19:49:49 -07:00
Micah Lee
ef73f354b7 Typos in EventHandlerThread 2020-04-06 19:29:48 -07:00
Micah Lee
a5a761ddb8 Remove watchdog, replace with a simple background thread 2020-04-06 19:26:45 -07:00
Micah Lee
b9b0558750 Make .desktop file not use absolute path for Exec 2020-04-06 19:04:55 -07:00
Miguel Jacq
be89606ae0 Fix logic that checks if auto-start timer setting is enabled, so that it checks real settings and not widget instantiation. Ensure the auto-start and auto-stop widgets show their datetime widget on start-up if the setting was already enabled. 2020-04-06 15:29:33 +10:00
Micah Lee
4d3b587eb0 Update poetry dependencies 2020-04-05 21:16:15 -07:00
Micah Lee
fcccdc5403 Merge branch '910_flatpak' of github.com:micahflee/onionshare into 910_flatpak 2020-04-05 21:03:29 -07:00
Micah Lee
593aea3c2f Merge branch 'develop' into 910_flatpak 2020-04-05 20:31:18 -07:00
Micah Lee
ff15c045e6 Merge pull request #1075 from micahflee/1064_tabs
Add support for tabs
2020-04-05 15:45:13 -07:00
Micah Lee
b57292867e Revert "Enable stacktraces of segfaults when running tests"
This reverts commit b129ffba86d7423c2b6c5e5d5e79e11c719fd560.
2020-04-01 17:59:08 -07:00
Saptak S
acd41b3b70 Adds bash script to run GUI tests individually 2020-04-02 04:19:50 +05:30
Micah Lee
b129ffba86 Enable stacktraces of segfaults when running tests 2020-03-29 13:55:29 -07:00
Micah Lee
2964dcac4d Update build instructions for how to run tests with poetry 2020-03-29 13:54:30 -07:00
Micah Lee
955ab04bbf Clean up watchdog thread when quitting, which avoids segfaults 2020-03-22 21:32:53 -07:00
Micah Lee
aca893755c Update build instructions to include Linux instructions using the newest software, instead of just software from package repositories 2020-03-22 21:32:05 -07:00
Micah Lee
714749cda6 Merge branch 'fix_tests' into 1064_tabs 2020-03-22 17:20:17 -07:00
Micah Lee
49b4612a38 Test python 3.6 as well 2020-03-22 17:10:15 -07:00
Micah Lee
bcaf572322 Add a pytest.ini file to register custom markers, to avoid so many test warnings 2020-03-22 17:08:41 -07:00
Micah Lee
25db30bb2f Update comments and section names in CircleCI 2020-03-22 16:33:32 -07:00
Micah Lee
5ba5b23269 Fix installing Qt binaries 2020-03-22 16:28:59 -07:00
Micah Lee
70a8ce8394 Try installing binaries instead of building from source 2020-03-22 16:01:23 -07:00
Micah Lee
2ef5aee67c Build Qt from source in circleci 2020-03-22 15:32:25 -07:00
Micah Lee
d61c2de301 Test with python 3.7 and 3.8, no longer 3.6 2020-03-22 12:35:26 -07:00
Micah Lee
998451b528 Change python version to ^3.7, and use PyQt 5.14 instead of the very latest. Run tests from poetry 2020-03-22 12:33:35 -07:00
Micah Lee
4465ca8a72 Try using buster docker images 2020-03-22 11:45:37 -07:00