Commit Graph

310 Commits

Author SHA1 Message Date
Peter Cai
a36579bb12 Send ping packets to keep connection alive
Fix #126

Idle WebSocket connections tend to be closed after some period of time.
This commit enables the Butterfly server to send ping packets
periodically in order to keep the connection alive.

A new option `keepalive_interval` is also introduced for users to
specify the interval to send `ping` packets. By default it is 30
seconds.
2017-02-10 15:11:51 +08:00
Florian Mounier
fdeba5a5d4 Fix big paste data loss 2016-10-07 11:31:51 +02:00
Florian Mounier
d0eb37765a Limit rate on paste 2016-10-07 11:30:59 +02:00
Florian Mounier
15ebdf6907 Add local script loading 2016-10-05 16:51:16 +02:00
Mounier Florian
6e29c702e3 Merge pull request #117 from cristen/master
Fix missing env variables for KDE5
2016-09-30 11:26:20 +02:00
Jean-Marc Martins
c3ad2f342a Fix missing env variables for KDE5 2016-09-30 11:23:26 +02:00
Florian Mounier
7d7f05e164 Fix scroll 2016-09-29 17:15:38 +02:00
Florian Mounier
64a8480938 Alpha bump 2016-09-29 11:43:25 +02:00
Florian Mounier
0142ec0a16 Add horizontal wrap (expandable no wrapping lines) on decset 77 2016-09-29 11:40:19 +02:00
Florian Mounier
97d435ce18 Add horizontal wrap (expandable no wrapping lines) on decset 77 2016-09-29 11:39:49 +02:00
Florian Mounier
4b3a5e1ae6 Add horizontal wrap (expandable no wrapping lines) on decset 77 2016-09-29 11:31:45 +02:00
Florian Mounier
9fcc156257 Merge branch 'master' of github.com:paradoxxxzero/butterfly 2016-09-28 17:42:37 +02:00
Florian Mounier
2887f6e25a Linkify as an extension. Finally fix #97 2016-09-28 17:42:23 +02:00
Mounier Florian
ffe8945c09 Merge pull request #116 from Silex/master
Docker updates
2016-09-06 10:12:12 +02:00
Philippe Vaucher
a3e78112a6 Improve README examples 2016-09-06 09:16:34 +02:00
Philippe Vaucher
e5eb7050e8 Add .dockerignore 2016-09-06 09:16:34 +02:00
Philippe Vaucher
b72da2e4ef Prettify README code blocks 2016-09-06 09:16:34 +02:00
Philippe Vaucher
2d3bed2fef Use ubuntu:14.04 base image 2016-09-06 09:16:34 +02:00
gar
cc510500a5 Do @thaJeztah container efficiency suggestions 2016-09-06 09:16:18 +02:00
gar
1ec50810f9 Make script executable 2016-09-06 09:14:46 +02:00
gar
524e578fca Updating readme with correct no password usage 2016-09-06 09:14:45 +02:00
gar
bce9f99b0b Updating docker container with the new usage flag 2016-09-06 09:07:52 +02:00
Philippe Vaucher
9bcc989149 Fix bug where PATH contains '.'
Starting bash without PATH set triggers something where PATH then
contains '.', preventing many tools from functionning correctly.

Starting a login shell prevents this.
2016-09-05 17:53:57 +02:00
Florian Mounier
1f9d263ad7 Fix unwanted change 2016-08-08 11:24:07 +02:00
Florian Mounier
fe01ffb2b4 Fix keyup 2016-08-08 11:19:54 +02:00
Florian Mounier
ac7e9bef8e Remove throuput control and use the pause/break key to prevent flood. 2016-08-08 11:12:22 +02:00
Florian Mounier
503de38429 Add uri_root_path option. References #104. 2016-06-13 16:15:57 +02:00
Florian Mounier
7ebb122221 Fix login=False when secure dropping in root 2016-05-11 12:02:25 +02:00
Florian Mounier
ec25edb657 Try to behave more like a unix term by sending sighup/sigcont on close and not sigkill. Might be a fix for #100 2016-02-26 14:59:10 +01:00
Florian Mounier
52714d81ab Login should be False by default 2016-02-26 14:41:05 +01:00
Florian Mounier
c048f1a4e6 Try to fix login again. #96 2016-02-02 10:20:46 +01:00
Florian Mounier
c0e2d8959b Merge #94 2016-01-18 10:19:01 +01:00
Florian Mounier
5c054ca290 Bump 2.0.1 2.0.1 2016-01-18 10:09:44 +01:00
Florian Mounier
9168878d92 Merge branch 'master' of github.com:paradoxxxzero/butterfly 2016-01-18 10:05:54 +01:00
Florian Mounier
056fbc02b1 Fix home/end 2016-01-18 10:05:50 +01:00
Florian Mounier
571f07946d Fix style path in help 2016-01-16 13:37:10 +01:00
Florian Mounier
e09bab810c Fix auto conf creation 2016-01-16 13:08:53 +01:00
Florian Mounier
efb019ed00 Fix #5. Use login su when unsecure 2016-01-06 14:53:53 +01:00
Florian Mounier
34d2711aa1 Merge branch 'master' of github.com:paradoxxxzero/butterfly 2016-01-06 13:18:09 +01:00
Florian Mounier
115190446b --login should work correctly. Fix #93 2016-01-06 13:17:09 +01:00
Mounier Florian
c8931c6135 Merge pull request #92 from jinmel/master
fixed shutil.get_terminal_size error
2016-01-06 12:39:42 +01:00
Jin Suk Park
ab7880779d fixed shutil.get_terminal_size error 2015-12-26 00:52:37 +00:00
Mounier Florian
f5724cc39d Update README.md 2015-10-30 12:07:31 +01:00
Florian Mounier
33d4051fca Build 2015-10-30 11:19:16 +01:00
Florian Mounier
28ebf9d8a2 Clear scrollback on hard reset 2015-10-27 16:23:37 +01:00
Florian Mounier
5714b97c77 Get the session for current user only for env far fetch. Work on readme for 2.0 2015-10-20 14:53:25 +02:00
Florian Mounier
a9c35d91f1 Add geolocation 2015-10-19 15:01:11 +02:00
Florian Mounier
573b4f1c1b Fix env for new gnome-session 2015-10-19 12:08:51 +02:00
Florian Mounier
856aac2bcb Clean up bin and create https://github.com/paradoxxxzero/butterfly-demos 2015-10-19 11:51:23 +02:00
Florian Mounier
e789622b7e With js. One day I will bundle everything in one shot. 2015-10-19 10:51:14 +02:00