Saptak S
89b112ea95
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
440c0b0ab1
Adds eventlet to poetry to allow using websocket instead of polling
2020-05-04 03:41:38 +05:30
Saptak S
c5e418c730
Adds flask-socketio dependency to poetry
2020-05-02 02:58:31 +05:30
Saptak S
380cf94856
Merge branch 'develop' into chat
2020-05-02 02:49:49 +05:30
Micah Lee
1c424500f0
Merge pull request #1075 from micahflee/1064_tabs
...
Add support for tabs
2020-04-05 15:45:13 -07:00
Micah Lee
72d79cdfe5
Revert "Enable stacktraces of segfaults when running tests"
...
This reverts commit 145021b2e5
.
2020-04-01 17:59:08 -07:00
Saptak S
d417754e45
Adds bash script to run GUI tests individually
2020-04-02 04:19:50 +05:30
Micah Lee
145021b2e5
Enable stacktraces of segfaults when running tests
2020-03-29 13:55:29 -07:00
Micah Lee
c5b8938f1c
Update build instructions for how to run tests with poetry
2020-03-29 13:54:30 -07:00
Micah Lee
aebc96142f
Clean up watchdog thread when quitting, which avoids segfaults
2020-03-22 21:32:53 -07:00
Micah Lee
76d88d0648
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
fc0dbd153f
Merge branch 'fix_tests' into 1064_tabs
2020-03-22 17:20:17 -07:00
Micah Lee
785512218d
Test python 3.6 as well
2020-03-22 17:10:15 -07:00
Micah Lee
290e6f5e72
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
34e59ad7d7
Update comments and section names in CircleCI
2020-03-22 16:33:32 -07:00
Micah Lee
ea4fbdd834
Fix installing Qt binaries
2020-03-22 16:28:59 -07:00
Micah Lee
bf06bb1081
Try installing binaries instead of building from source
2020-03-22 16:01:23 -07:00
Micah Lee
db9abb789d
Build Qt from source in circleci
2020-03-22 15:32:25 -07:00
Micah Lee
360458372f
Test with python 3.7 and 3.8, no longer 3.6
2020-03-22 12:35:26 -07:00
Micah Lee
3c6e0cbda1
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
5c4e4ce10b
Try using buster docker images
2020-03-22 11:45:37 -07:00
Micah Lee
3b79a9ba2e
Add python3-pytest and python3-pytestqt to circleci
2020-03-22 11:35:33 -07:00
Micah Lee
579c87c379
No longer install packages from requirements.txt
2020-03-22 11:32:18 -07:00
Micah Lee
097f5f6047
Merge branch 'develop' into 1064_tabs
2020-03-22 11:23:24 -07:00
Micah Lee
8b119353ae
Merge branch 'migrate-poetry' of https://github.com/SaptakS/onionshare into SaptakS-migrate-poetry
2020-03-22 11:06:16 -07:00
Saptak S
b2ad686648
Update dependencies
2020-03-21 12:45:43 +05:30
Saptak S
d4de02f180
Switches from pipenv and requirements.txt to poetry to manage dependencies
2020-03-18 02:47:25 +05:30
Saptak S
c63a7605ee
Adds list of active users in the chat and allows username change
...
- allows users to update their username and save the new username
- runs a background thread for every user session which emits a
broadcast with the username so every user can build their list of
active users in the frontend via the socket information
- on updating username, stop the old thread and start a new thread
with the new username being emitted. The username is updated in
everyone's list along with a status message for the same.
2020-03-12 14:54:48 +05:30
Saptak S
7eaefd5299
Sanitize message before appending them to the HTML
2020-03-11 18:10:08 +05:30
Saptak S
819e406d46
Create GUI for onionshare chat mode with the tab workflow
2020-03-09 17:44:00 +05:30
Saptak S
2c938fd777
Create web UI and socket code for the chat interface
2020-03-08 14:51:43 +05:30
Micah Lee
b00260afeb
Change colors
2020-03-08 12:38:25 +05:30
Micah Lee
c8e4b94503
Merge branch 'ascii-logo' of https://github.com/SamPatt/onionshare into SamPatt-ascii-logo
2020-03-08 12:26:28 +05:30
Micah Lee
6a74a7070a
Merge pull request #1086 from milotype/patch-1
...
Update org.onionshare.OnionShare.desktop
2020-03-08 12:25:08 +05:30
Micah Lee
ec8ccdacfc
Merge pull request #1092 from m-rey/patch-1
...
Fix openSUSE misspelling
2020-03-08 12:24:11 +05:30
Martin Rey
fc73281991
Fix openSUSE misspelling
...
The correct spelling of openSUSE can be checked on https://en.opensuse.org/Portal:Distribution
2020-02-28 02:07:33 +00:00
milotype
304f709b2d
Update org.onionshare.OnionShare.desktop
...
Added croatian (hr) translation for Comment and Keywords
2020-01-04 20:59:17 +01:00
Sam
7b81f6f6b3
Added ascii-logo
2020-01-03 14:21:31 -05:00
Micah Lee
a217e54d28
Refactor Onion to store all state for auto-start timer directly in the mode settings, and not in the Onion object itself
2019-12-08 12:51:30 -08:00
Micah Lee
de57a2ce55
After you start a server in a tab, you can't change legacy/client auth settings, because this would require changing the saved onion key
2019-12-08 10:29:00 -08:00
Micah Lee
76d109747e
Move private_key, hidservauth_string, and password from "persistent" mode settings to "onion" mode settings; and make it so the onion settings are always saved in each tab, even if the tab is not persistent, so if you stop and start a service in the same tab it has the same onion address and password
2019-12-08 10:13:56 -08:00
Micah Lee
19e378dff4
Pass the correct args to UpdateChecker
2019-12-08 09:52:42 -08:00
Micah Lee
72dc6df362
Merge pull request #1078 from Ned84/develop
...
Update BUILD.md
2019-12-01 11:36:21 -08:00
Ned84
06670ae4be
Update BUILD.md
2019-11-30 22:08:37 +01:00
Miguel Jacq
9ce2c5cedf
Ensure we always set the service id, so we can stop the right one (particularly when scheduling a share)
2019-11-29 18:40:45 +11:00
Miguel Jacq
60de9fd335
Fix the autostop sharing - a mere history item count of > 0 should not be interpreted as an in-progress download when the timer runs out
2019-11-29 16:52:00 +11:00
Miguel Jacq
e18c6bf768
Remove duplicate comment
2019-11-29 16:46:31 +11:00
Miguel Jacq
35e6e88ea1
Fix up autostart (scheduled shares)
2019-11-29 16:38:34 +11:00
Micah Lee
c588783f57
Make cleaning up the onion more reliably kill the tor subprocess, and make iit so testing tor settings in the settings dialog always uses a tmp tor data dir
2019-11-28 20:32:28 -08:00
Micah Lee
849176ac54
Fix typos in comments
2019-11-28 19:30:48 -08:00