2926 Commits

Author SHA1 Message Date
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
954fdf0a15 Merge pull request #1138 from micahflee/1137_receive_folder
Fix receive mode folder selection
2020-06-30 13:40:33 -07:00
Micah Lee
d6e6e9310d 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
8ba287216a 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
4ec08552da 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
23746247f8 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
c66cfc8dee Remove forced height on copy URL button 2020-06-29 12:34:38 -07:00
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
Micah Lee
ae027d21ed Merge pull request #1113 from Kcchouette/patch-1
update archlinux onionshare URL
2020-06-28 12:35:03 -07:00
Micah Lee
1d5cb9bf34 Merge branch 'autostart_fixes' of https://github.com/mig5/onionshare into mig5-autostart_fixes 2020-06-28 12:29:38 -07:00
Micah Lee
e2521a02d2 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
426f9c29cb rebase to fetch latest version of receive.html 2020-06-08 09:58:47 +10: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
ea0d0e696a 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
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
71164c16d0 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
f99e6504ee #1126 update the status bar each time the active tab is changed 2020-06-07 15:07:28 +10:00
Saptak Sengupta
85bfdb60d1 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
1f40413bae 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
6b3507e495 Add code documentation 2020-05-31 20:17:52 +10:00
Miguel Jacq
0b9ea2c1dd Update the QR code description text 2020-05-31 20:16:33 +10:00
Miguel Jacq
caec6a5b3e Remove unnecessary import of Image class in ServerStatus 2020-05-31 20:13:55 +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
d7feebe4ee #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
6012e21899 Hide the Clear All button on server start, show it again when stopped 2020-05-28 13:02:16 +10:00
Miguel Jacq
890e194bb7 Change code doc from 'Delete All' to 'Clear All' and remove whitespace in test 2020-05-27 12:59:13 +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
Kcchouette
4abdb19acd update archlinux onionshare URL 2020-05-12 19:07:28 +02: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
e8976b643e Adds eventlet to poetry to allow using websocket instead of polling 2020-05-04 03:41:38 +05:30
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
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
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