352 Commits

Author SHA1 Message Date
Florian Mounier
3e6d0b203f Bump 3.1.2 3.1.2 2017-05-03 10:27:40 +02:00
Florian Mounier
8189598dd6 Add __about__ __all__ 2017-05-03 10:27:30 +02:00
Florian Mounier
4a8b5f2147 Add yarn.lock 2017-05-02 18:17:46 +02:00
Florian Mounier
f9a1ff4dea Bump 3.1.1 3.1.1 2017-05-02 18:12:36 +02:00
Florian Mounier
96d88a5e91 Bump 3.1.0 3.1.0 2017-05-02 18:00:24 +02:00
Florian Mounier
bdc1c7a80d Add a Makefile. Lint code. Fix butterfly open. Add a CHANGELOG.md 2017-05-02 17:59:52 +02:00
Florian Mounier
eacfdcd52f Fix huge performance loss on extended lines 3.0.3 2017-04-04 18:14:27 +02:00
Florian Mounier
ed347e2bd0 Use a __about__ file 3.0.2 2017-03-30 10:20:25 +02:00
Florian Mounier
3228e8c204 Integrate new themes 2017-03-30 10:14:03 +02:00
Florian Mounier
b9c991e3b6 Use pkg_resources and bump 3.0.1 3.0.1 2017-03-20 10:43:23 +01:00
Florian Mounier
8ad12c2379 Don't import pam if not necessary + pep8 2017-03-20 10:32:55 +01:00
Florian Mounier
2aa237ef12 Fix certificate generation 3.0.0 2017-03-13 11:59:10 +01:00
Florian Mounier
40496eb9d1 Protect session closing. References #124 2017-02-21 11:14:04 +01:00
Florian Mounier
ffd19b8162 setup.py typo 2017-02-13 15:25:22 +01:00
Florian Mounier
6663568500 Version to beta 2017-02-13 15:23:31 +01:00
Florian Mounier
3a09c47ef0 Fix #132 2017-02-13 15:10:54 +01:00
Florian Mounier
41ab0f36ff Fix user argument 2017-02-13 11:54:40 +01:00
Florian Mounier
70e00ac696 Fix pam condition 2017-02-13 11:36:29 +01:00
Florian Mounier
70369a0b32 Remove systemd direct calls 2017-02-13 11:26:39 +01:00
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