Commit Graph

640 Commits

Author SHA1 Message Date
Micah Lee
9482461a00
Split chat messages into username and message, and change UI for displaying messages 2020-08-19 19:40:00 -04:00
Micah Lee
8e1b34ce13 Merge branch 'chat' of https://github.com/SaptakS/onionshare into SaptakS-chat 2020-08-19 18:56:55 -04:00
Micah Lee
0b4821c905
Merge pull request #1139 from micahflee/910_flatpak
Flatpak support
2020-07-05 21:54:29 -07:00
Miguel Jacq
58a96ef787
Hide QR code button when server stops. Capitalise Code 2020-07-06 10:25:16 +10:00
Saptak S
8ac1ae40ba
Adds viewport and charset meta tags 2020-07-06 00:54:29 +05:30
Saptak S
38d3eec427
Adds responsiveness in receive and share modes webapps 2020-07-05 20:59:25 +05:30
Saptak S
992ced72f6
Adds noscript HTML 2020-07-04 19:25:38 +05:30
Saptak S
7215b463ed
Updates jQuery and poetry dependencies in Chat 2020-07-04 19:05:07 +05:30
Saptak S
41681f82ec
Merge branch 'develop' of github.com:micahflee/onionshare into chat 2020-07-04 13:42:20 +05:30
Micah Lee
0ae2d7f611
Force saving files inside ~/OnionShare if running in flatpak 2020-06-30 14:27:32 -07:00
Micah Lee
17b0af98f2
Merge branch 'develop' into 910_flatpak 2020-06-30 10:56:25 -07:00
Micah Lee
9c70edfd12
Merge branch 'qrcode' of https://github.com/mig5/onionshare into mig5-qrcode 2020-06-29 12:25:21 -07:00
Micah Lee
11d44eab50
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
f6ea6e4a1d
Fix tests 2020-06-28 13:01:23 -07:00
Micah Lee
55e95d527b
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
21480a5117
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
ce73138890
#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
37cab50464
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
08f891f4f6
Show in UX that there's a disconnect 2020-06-07 15:56:05 +05:30
Miguel Jacq
faae3d58d2
Update the QR code description text 2020-05-31 20:16:33 +10:00
Miguel Jacq
4cf508ed8e
#1115 Add QR Code for onion URL 2020-05-31 17:44:57 +10:00
Miguel Jacq
554012b8f4
#1121 upgrade to jQuery 3.5.1 2020-05-28 15:19:54 +10:00
Miguel Jacq
1632a00a91
#1116 Add a Clear All button in the File List area for share modes 2020-05-27 12:56:33 +10:00
Saptak S
afc6a2f4ce
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
409f3f7fbe
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
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
Micah Lee
2ad8b167ba
Open files in linux with xdg-open instead of nautilus 2020-04-06 20:29:02 -07:00
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
8530321e5d
When Tor settings change, make sure the tabs know 2019-11-28 14:57:01 -08:00
Micah Lee
b8f1299496
Fix CLI to work with mode settings 2019-11-02 14:56:40 -07:00
Micah Lee
b017b3268c
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
784d6e8144
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
b7a095d64d
Show warning when quitting while any tabs are active 2019-10-27 16:18:56 -07:00
Micah Lee
654fccc009
Add warning about closing a persistent tab 2019-10-27 16:01:30 -07:00
Micah Lee
216fbd4e87
Add persistent pin 2019-10-27 15:52:45 -07:00
Micah Lee
656d3d1564
Add settings button to the status bar 2019-10-27 15:26:56 -07:00
Micah Lee
df658a0e70
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
3ceab336f9
One attempt at making a new tab button 2019-10-26 22:39:59 -07:00
Micah Lee
144985b1c1
Tabs start out with new tab options, and remove the mode switcher from tabs 2019-10-26 21:56:57 -07:00
Miguel Jacq
a2b5ab43b5
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
7d24bf9ffc
Version bump to 2.2, and added translation changes to changelog 2019-10-13 10:06:39 -07:00
Hosted Weblate
d259414dfd
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
14171319fe
Merge branch 'develop' of https://hosted.weblate.org/git/onionshare/translations into weblate 2019-10-07 16:41:38 -04:00
Micah Lee
0f9b82f142
Merge branch 'develop' of github.com:weblate/onionshare-weblate into weblate 2019-10-07 16:39:40 -04:00
Hosted Weblate
15fb84b4b8
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
430fc14226
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
0f257a3603
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