Commit Graph

57 Commits

Author SHA1 Message Date
Florian Mounier
82676862ca Fix one-shot auto-open url when uri-root-path is used. 2018-09-03 11:54:38 +02:00
Graham Dumpleton
ad155f1f17 Only create default conf file after options are parsed. 2018-08-30 12:30:22 +10:00
Florian Mounier
55528fdf91 Issue correct X.509 v3 certificates (you will need to re-generate your certs) 2017-09-27 11:54:58 +02:00
Florian Mounier
9eae13486e Use X509 v4. 2017-09-27 11:34:41 +02:00
Jack Miner
13dbe0434c updated cert generation to v3 to comply with new browser standards 2017-07-24 17:52:14 -06:00
Yukihiro KAWADA
8856ea9dc4 fix i-hereby-...-whatsoever option
i-hereby-...-whatsoever revise to i_hereby_whatsoever
2017-05-24 12:59:18 +09:00
Florian Mounier
272891470c Add --i-hereby-declare-i-dont-want-any-security-whatsoever option. Fix #143 2017-05-15 15:32:39 +02:00
Florian Mounier
2aa237ef12 Fix certificate generation 2017-03-13 11:59:10 +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
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
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
503de38429 Add uri_root_path option. References #104. 2016-06-13 16:15:57 +02:00
Florian Mounier
52714d81ab Login should be False by default 2016-02-26 14:41:05 +01:00
Florian Mounier
e09bab810c Fix auto conf creation 2016-01-16 13:08:53 +01:00
Florian Mounier
4e4d54de1f Fix cursor blur. Fix scrollLock on focus/blur. Rework binaries. 2015-10-16 15:58:32 +02:00
Florian Mounier
e6f618ef52 Remove old theme mechanism 2015-10-14 18:00:48 +02:00
Florian Mounier
ca26454aa0 Fix bad link for ssl reference 2015-10-08 16:49:48 +02:00
Florian Mounier
7916014854 Copyright bump 2015-10-07 16:40:50 +02:00
Florian Mounier
0f7a51d451 Add a default conf file. Handle themes in a far more intelligent way by adding a popup and saving conf in localStorage. 2015-10-07 16:03:32 +02:00
Florian Mounier
6c5cbeaca5 Session security 2015-10-02 17:24:25 +02:00
Florian Mounier
8c3c780b12 Sign certs with sha512 instead sha1 2015-05-18 12:00:24 +02:00
Florian Mounier
a08cff653d Allow the usage of config file and add theme support 2015-05-15 16:02:47 +02:00
Florian Mounier
81d9fea01a Allow html by default by using the google caja sanitizer 2015-05-12 10:56:55 +02:00
Florian Mounier
326a42b7f1 Security fix 2015-05-05 09:40:56 +02:00
Florian Mounier
3d14bce231 Add help, normalize binaries, allow custom motd, Fix #46 Fix #52 Fix#67 2015-04-30 12:04:14 +02:00
Florian Mounier
790a4b8072 Add a --force-unicode-width option to constrain all characters to the monospaced font char width. Fix #77. Thanks @prinzdezibel 2015-04-22 11:03:51 +02:00
Florian Mounier
ad15c05cf0 Remove old scroll 2015-04-14 11:24:43 +02:00
Florian Mounier
287cbf4e82 Merge branch 'master' into domscroll_try2 2015-04-08 15:13:02 +02:00
Florian Mounier
c2bde7b3b6 Add server option for enabling very unsafe html escapes and change them to DCS 2015-04-08 11:27:17 +02:00
Florian Mounier
7e0e7f60d9 Merge branch 'master' of github.com:paradoxxxzero/butterfly 2014-11-20 14:34:11 +01:00
Florian Mounier
728912299c Don't set ssl_version by default references #60 2014-11-20 14:34:04 +01:00
Marek Wywiał
80dd8c1029 Support to pass command with arguments to --cmd option 2014-11-19 16:09:03 +01:00
Mounier Florian
1cf98b18c6 Merge pull request #58 from onjin/master
Ability to run any command instead of shell using --cmd parameter
2014-11-19 12:08:44 +01:00
Florian Mounier
7953e0647d Add ssl_version option. Fix #56 2014-11-19 11:01:04 +01:00
Marek Wywiał
dc5860e16d Ability to run any command instead of shell using --cmd command line parameter 2014-11-06 15:04:15 +01:00
Florian Mounier
764a9b7884 Remove systemd socket env vars to not fail other systemd compatible daemons launched inside butterfly 2014-08-21 16:42:38 +02:00
Florian Mounier
2db77cc250 Fix for tornado 4.0 2014-07-16 15:47:07 +02:00
Florian Mounier
ea072ea24d Enable systemd socket activation. Fixes #48. (Bump to 1.5.3) 2014-07-11 16:04:44 +02:00
Florian Mounier
eb869a58d2 Merge remote-tracking branch 'creckx/master'
Conflicts:
	butterfly/routes.py
2014-05-05 12:16:16 +02:00
Florian Mounier
253dd61e38 Start gruntification 2014-04-30 11:03:57 +02:00
Adam Strauch
6a0bdf2147 Argument to turn login screen off (--host=0.0.0.0 --unsecure --login=False) 2014-04-13 14:19:08 +02:00
Florian Mounier
e106231613 Add link to the blog 2014-03-21 17:58:50 +01:00
Florian Mounier
311e7b9524 Add subject fields 2014-03-21 15:03:41 +01:00
Florian Mounier
4afcc99fe5 Remove issuer check and use unique serial and CA for multiple butterfly CA in broweser 2014-03-20 14:21:49 +01:00
Florian Mounier
a4d59a90f7 Use correct dir for root and bump version 2014-03-20 12:47:37 +01:00
Florian Mounier
74700f5046 Handle secure connection with certificate 2014-03-20 12:14:36 +01:00
Florian Mounier
884eeb169a Implement client/server certificate generation + enable ssl required by default on non localhost hosts 2014-03-19 14:40:36 +01:00