631 Commits

Author SHA1 Message Date
Saptak S
fe673e97be Adds noscript HTML 2020-07-04 19:25:38 +05:30
Saptak S
b9a2c56e0f Updates jQuery and poetry dependencies in Chat 2020-07-04 19:05:07 +05:30
Saptak S
7b16e03b00 Merge branch 'develop' of github.com:micahflee/onionshare into chat 2020-07-04 13:42:20 +05:30
Micah Lee
862c644460 Merge branch 'qrcode' of https://github.com/mig5/onionshare into mig5-qrcode 2020-06-29 12:25:21 -07:00
Micah Lee
4373630901 Merge branch 'static_path_to_ajax_gif' of https://github.com/mig5/onionshare into mig5-static_path_to_ajax_gif 2020-06-29 11:35:19 -07:00
Micah Lee
6c1bec0ed6 Fix tests 2020-06-28 13:01:23 -07:00
Micah Lee
375ba12a36 Merge branch 'clear_all_file_selection_widget' of https://github.com/mig5/onionshare into mig5-clear_all_file_selection_widget 2020-06-28 12:36:13 -07:00
Miguel Jacq
91603c01fb Use a more efficient way of parsing the path to /img on the static URL in order to load ajax.gif via receive.js 2020-06-08 09:57:55 +10:00
Miguel Jacq
75da5a6675 #1123 Load the ajax.gif in receive.js via relative directory, now that static path is not... static 2020-06-08 09:57:30 +10:00
Miguel Jacq
8f1da24c0d Use 'Delete' rather than 'Clear' when talking about removing file items from the FileList, since we have a Delete button for individual files 2020-06-08 09:48:00 +10:00
Saptak S
3a6de61e66 Show in UX that there's a disconnect 2020-06-07 15:56:05 +05:30
Miguel Jacq
0b9ea2c1dd Update the QR code description text 2020-05-31 20:16:33 +10:00
Miguel Jacq
698222e402 #1115 Add QR Code for onion URL 2020-05-31 17:44:57 +10:00
Miguel Jacq
d29e31849a #1121 upgrade to jQuery 3.5.1 2020-05-28 15:19:54 +10:00
Miguel Jacq
54b70aef82 #1116 Add a Clear All button in the File List area for share modes 2020-05-27 12:56:33 +10:00
Saptak S
9d00627df3 Update username via both socket and ajax
- socket takes care of modifying the username in the forked socket
session and sending a status message to chat window
- ajax request takes care of updating the flask session so that on
refresh or re-opening of the URL in same browser, the username remains
same
2020-05-11 12:51:46 +05:30
Saptak S
7935d07bb3 Keep save button disabled if changed username invalid
- Disabled till username not changed
- On change, if username is empty, then disabled
- On change, if username is changed back to previous, then disabled
- Else allow saving
2020-05-10 01:55:31 +05:30
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
0376a36822 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
425beadce7 Sanitize message before appending them to the HTML 2020-03-11 18:10:08 +05:30
Saptak S
bc3df3319a Create GUI for onionshare chat mode with the tab workflow 2020-03-09 17:44:00 +05:30
Saptak S
ec7a969dde Create web UI and socket code for the chat interface 2020-03-08 14:51:43 +05:30
Micah Lee
eefa43d923 When Tor settings change, make sure the tabs know 2019-11-28 14:57:01 -08:00
Micah Lee
f6f4665e30 Fix CLI to work with mode settings 2019-11-02 14:56:40 -07:00
Micah Lee
55840b0038 Make the persistent button an image label instead, and only show it whne the persistent checkbox is checked 2019-10-27 18:41:24 -07:00
Micah Lee
f00df6356c Show settings at the top of each mode, both mode-specific settings and setting that exist for all mode types 2019-10-27 18:16:48 -07:00
Micah Lee
9dc14e8f4e Show warning when quitting while any tabs are active 2019-10-27 16:18:56 -07:00
Micah Lee
79393faa3d Add warning about closing a persistent tab 2019-10-27 16:01:30 -07:00
Micah Lee
4f4a71a23c Add persistent pin 2019-10-27 15:52:45 -07:00
Micah Lee
c3330919f4 Add settings button to the status bar 2019-10-27 15:26:56 -07:00
Micah Lee
68310070a4 Allow closing tabs, and throw warning when trying to close tabs that contain an active server 2019-10-27 15:01:14 -07:00
Micah Lee
509516c46a One attempt at making a new tab button 2019-10-26 22:39:59 -07:00
Micah Lee
6190de5c53 Tabs start out with new tab options, and remove the mode switcher from tabs 2019-10-26 21:56:57 -07:00
Miguel Jacq
0819402685 Reverse the update checker strings to show the correct message for invalid version or connection issue 2019-10-19 15:02:22 +11:00
Micah Lee
548c1857ea Version bump to 2.2, and added translation changes to changelog 2019-10-13 10:06:39 -07:00
Hosted Weblate
48569c4e13 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/
2019-10-13 06:06:26 +02:00
Micah Lee
ddb374c51c Merge branch 'develop' of https://hosted.weblate.org/git/onionshare/translations into weblate 2019-10-07 16:41:38 -04:00
Micah Lee
ccb72bae5b Merge branch 'develop' of github.com:weblate/onionshare-weblate into weblate 2019-10-07 16:39:40 -04:00
Hosted Weblate
0cfe55d975 Translated using Weblate (Serbian (latin))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/sr_Latn/

Translated using Weblate (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/zh_Hans/

Translated using Weblate (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/zh_Hant/

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

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

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

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

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

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

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

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

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

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

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

Translated using Weblate (Irish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/ga/
2019-10-07 22:33:31 +02:00
Hosted Weblate
7d6a81ee1d Translated using Weblate (Portuguese (Brazil))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/pt_BR/

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

Added translation using Weblate (Serbian (latin))

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

Translated using Weblate (Norwegian Bokmål)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/nb_NO/

Translated using Weblate (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/zh_Hant/

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

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

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

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

Translated using Weblate (Portuguese (Brazil))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/pt_BR/
2019-10-07 22:25:13 +02:00
Hosted Weblate
f9f87d6a76 Translated using Weblate (Norwegian Bokmål)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/nb_NO/

Translated using Weblate (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/zh_Hant/

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

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

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

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

Translated using Weblate (Portuguese (Brazil))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/pt_BR/
2019-09-30 00:45:27 +02:00
Micah Lee
add91d72ca Merge branch 'develop' of https://hosted.weblate.org/git/onionshare/translations into weblate 2019-09-29 18:37:28 -04:00
Allan Nordhøy
9b6ae6183e Translated using Weblate (Norwegian Bokmål)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/nb_NO/
2019-09-27 23:51:28 +02:00
Vid Košenina
ae3bcbfe50 Translated using Weblate (Slovenian)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/sl/
2019-09-27 23:51:27 +02:00
Jonatan Nyberg
a1c72343bd Translated using Weblate (Swedish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/sv/
2019-09-27 23:51:26 +02:00
LocLab fr
d3dfbe3aad Translated using Weblate (French)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/fr/
2019-09-27 23:51:25 +02:00
Adolfo Jayme Barrientos
2c8b699eb8 Translated using Weblate (Spanish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/
2019-09-27 23:51:24 +02:00
Jeroen
9cff93d275 Translated using Weblate (Dutch)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/nl/
2019-09-27 23:51:23 +02:00
Ecron
5f70b6b55b Translated using Weblate (Catalan)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/ca/
2019-09-27 23:51:20 +02:00
Joan Montané
bdc2334fbd Translated using Weblate (Catalan)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/ca/
2019-09-27 23:51:19 +02:00