Commit Graph

333 Commits

Author SHA1 Message Date
Florian Mounier
8c20ffb943 Merge remote-tracking branch 'PeterCxy/patch-pam' 2017-02-13 11:18:01 +01:00
Florian Mounier
729c768dc2 Happy new year (a bit late) 2017-02-13 11:16:59 +01:00
Florian Mounier
17f8c1d1c9 Merge branch 'master' of github.com:paradoxxxzero/butterfly 2017-02-13 11:03:20 +01:00
Florian Mounier
964fd07143 uuid4 from Math.random is a security flaw 2017-02-13 10:45:31 +01:00
Florian Mounier
8553bbd0cb Typo 2017-02-13 10:37:04 +01:00
Peter Cai
f494541652 pam: environment should be reinitialized after authentication 2017-02-11 09:00:24 +08:00
Peter Cai
dd6c917462 pam: authenticate in a separate process 2017-02-11 08:56:17 +08:00
Peter Cai
9e03e24764 terminal: support PAM authentication
Fix #129

Actually, we are reinventing the wheel... But after all, it is not
possible to change the profile name of `su`, so we just pull in the PAM
bindings for Python and use it for PAM authentication.

A new option `--pam_profile` has been added for users to specify their
preferred PAM profile. Note that Butterfly should be started as ROOT or
it will not be possible to authenticate via PAM.
2017-02-10 20:13:09 +08:00
Mounier Florian
6b5f3ac76f Merge pull request #131 from PeterCxy/patch-keepalive
Send ping packets to keep connection alive
2017-02-10 10:07:03 +01:00
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
e4ce69a967 Fix keyboard selection 2016-11-28 14:38:49 +01:00
Florian Mounier
b0e1f37cac Interesting Fixes 2016-10-13 17:45:12 +02:00
Florian Mounier
da659b7526 Fix selection 2016-10-13 16:25:18 +02:00
Florian Mounier
08ecb4d0d2 Add a bottom margin 2016-10-13 16:19:33 +02:00
Florian Mounier
3624962d3c Historize by ext 2016-10-13 16:11:44 +02:00
Florian Mounier
b9f1727f1e Finally a near perfect resize 2016-10-13 15:24:57 +02:00
Florian Mounier
5a7c4da0b1 Unoptimized but working dom creation 2016-10-13 12:41:31 +02:00
Florian Mounier
fa2b9d2bee Rework refresh 2016-10-13 10:03:15 +02:00
Florian Mounier
3bb6da1eae Fix ctl 2016-10-11 11:22:09 +02:00
Florian Mounier
6c827206f7 Merge branch 'master' into 2ws 2016-10-07 11:32:15 +02: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
8dffb02980 Merge branch 'master' into 2ws 2016-10-07 09:59:14 +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
1d324ed243 Wait a bit on close 2016-08-19 17:46:15 +02:00
Florian Mounier
3c2bf35b09 Fix most of things 2016-08-19 17:42:36 +02:00
Florian Mounier
fe258f44f8 Add a ctl ws, base all session on a session key. 2016-08-19 14:48:51 +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