Commit Graph

2999 Commits

Author SHA1 Message Date
Micah Lee
903f4001e5
Missing import 2020-06-30 14:29:33 -07:00
Micah Lee
0ae2d7f611
Force saving files inside ~/OnionShare if running in flatpak 2020-06-30 14:27:32 -07:00
Micah Lee
aa60123cf3
Add flatpak detection 2020-06-30 14:18:59 -07:00
Micah Lee
a5fa83ca0c
Merge branch 'develop' into 910_flatpak 2020-06-30 13:41:39 -07:00
Micah Lee
172a30d5c9
Merge pull request #1138 from micahflee/1137_receive_folder
Fix receive mode folder selection
2020-06-30 13:40:33 -07:00
Micah Lee
44f732d716
When setting the data_dir in the GUI, set it to the new directory that was just selected, not the one that was already there 2020-06-30 13:33:30 -07:00
Micah Lee
ed6e8aa268
Install setuptools for everything, not just windows 2020-06-30 11:26:44 -07:00
Micah Lee
17b0af98f2
Merge branch 'develop' into 910_flatpak 2020-06-30 10:56:25 -07:00
Miguel Jacq
de81447b8f
Set the maximum for the individual file history item to MB to avoid > 2GB crash 2020-06-30 13:40:26 +10:00
Micah Lee
f65e50f399
Merge pull request #1133 from mig5/website_mode_autostart_scheduled_status
Set the server status indicator to 'Scheduled' when in Website Mode and autostart timer is in use, to match the other modes
2020-06-29 12:42:07 -07:00
Micah Lee
8395fef887
Merge pull request #1132 from mig5/update_status_bar_on_tab_change
#1126 update the status bar each time the active tab is changed
2020-06-29 12:41:34 -07:00
Micah Lee
423953b3c1
Merge pull request #1128 from mig5/fail_early_on_tests.sh
Fail early if any of the tests fail, rather than continue and possibly exit 0
2020-06-29 12:36:26 -07:00
Micah Lee
a07cdf855a
Remove forced height on copy URL button 2020-06-29 12:34:38 -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
Micah Lee
60ab5a1669
Merge pull request #1113 from Kcchouette/patch-1
update archlinux onionshare URL
2020-06-28 12:35:03 -07:00
Micah Lee
c3948ed950
Merge branch 'autostart_fixes' of https://github.com/mig5/onionshare into mig5-autostart_fixes 2020-06-28 12:29:38 -07:00
Micah Lee
a87faa1018
Merge branch 'onionshare_gui/selectableURL' of https://github.com/codyroberts/onionshare into codyroberts-onionshare_gui/selectableURL 2020-06-28 12:25:54 -07:00
Miguel Jacq
49b3ca4a08
rebase to fetch latest version of receive.html 2020-06-08 09:58:47 +10: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
b32e7f8725
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:54:52 +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
a93cba3504
Set the server status indicator to 'Scheduled' when in Website Mode and autostart timer is in use, to match the other modes 2020-06-07 15:29:27 +10:00
Miguel Jacq
39f20874f2
#1126 update the status bar each time the active tab is changed 2020-06-07 15:07:28 +10:00
Saptak Sengupta
4f0958f143
Merge pull request #1125 from mig5/jquery_3_5_1
#1121 upgrade to jQuery 3.5.1
2020-06-01 11:29:50 +05:30
Miguel Jacq
5b78242606
Fail early if any of the tests fail, rather than continue and possibly exit 0 2020-05-31 20:26:07 +10:00
Miguel Jacq
ce0d21bb7a
Add code documentation 2020-05-31 20:17:52 +10:00
Miguel Jacq
faae3d58d2
Update the QR code description text 2020-05-31 20:16:33 +10:00
Miguel Jacq
3c9a105d92
Remove unnecessary import of Image class in ServerStatus 2020-05-31 20:13:55 +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
ff0427daea
#1123 Load the ajax.gif in receive.js via relative directory, now that static path is not... static 2020-05-28 15:06:06 +10:00
Miguel Jacq
cefa271d29
#1095 Fix crash for shares larger than 2GB. #1089 add ETA/bytes uploaded in progress bar of ReceiveMode items 2020-05-28 14:15:11 +10:00
Miguel Jacq
a22a559e98
Hide the Clear All button on server start, show it again when stopped 2020-05-28 13:02:16 +10:00
Miguel Jacq
327747fa3f
Change code doc from 'Delete All' to 'Clear All' and remove whitespace in test 2020-05-27 12:59:13 +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
Kcchouette
ce682e2393
update archlinux onionshare URL 2020-05-12 19:07:28 +02: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
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
40b43b66ab
Fix common.get_tor_paths test 2020-04-06 21:19:17 -07:00
Micah Lee
2ad8b167ba
Open files in linux with xdg-open instead of nautilus 2020-04-06 20:29:02 -07:00
Micah Lee
7ef1dfbe9c
Delete the lock file on Ctrl-C 2020-04-06 20:19:35 -07:00