24 Commits

Author SHA1 Message Date
Calum Lind
1e6c811768 [Python-Modernize] lib2to3.fixes.fix_except
* Use 'ex' instead of 'e' to conform with pylint
 * Minimal Flake8 on some files
2014-09-03 17:22:38 +01:00
Calum Lind
a2c3fb3d5e [WebUI] Flake8 files
* Does not pass cleanly due to camelcase function names and __request__ global.
2014-08-19 13:01:18 +01:00
Calum Lind
8d74c3f22a [WebUI] Fix errors from rearranging code in 2294670 2014-02-18 20:46:53 +00:00
Calum Lind
22946700dd [#2310] [WebUI] Fix unicode password support
hashlib requires UTF-8 encoded string
Passes flake8 but with warning for global __request__
2014-02-18 00:27:39 +00:00
Calum Lind
810495264f WebUI: Add failed login log message with IP address for fail2ban 2013-02-04 14:32:32 +00:00
Damien Churchill
d362a6ceba fix the path given by the set-cookie header 2011-05-03 19:05:15 +01:00
Motiejus Jakštys
b0a0574ae0 Apply patch from #1194 2011-02-04 19:37:42 +00:00
Damien Churchill
0d3f364aac Apply cookie date fix from adios 2009-12-09 13:13:04 +00:00
Damien Churchill
ce449e7b3b fix bug when upgrading old passwords on new logins 2009-09-23 18:16:08 +00:00
Damien Churchill
aca9e853d7 change UTC to GMT and add a method for generating the expires int and string 2009-09-08 09:55:19 +00:00
Damien Churchill
a6ab62f7ce re-set the _session_id cookie updating the expires time 2009-09-01 22:39:34 +00:00
Damien Churchill
1a635e8860 only return deferreds for those methods that require it 2009-08-20 00:31:31 +00:00
Damien Churchill
c94c9c36e4 have the change_password method accept an old_password parameter for extra checking
move the password checking logic into a seperate check_password method
2009-08-20 00:04:55 +00:00
Damien Churchill
865027b3ec increase the expires time each time a session is checked for authentication 2009-08-19 23:30:36 +00:00
Damien Churchill
97163b7cb0 change the session timeout to be configurable 2009-08-18 22:04:58 +00:00
Damien Churchill
2c65d21b0b remove rogue print statement 2009-08-11 23:57:54 +00:00
Damien Churchill
3e8c17b071 complete the new auth system using cookies & sessions 2009-08-11 23:39:58 +00:00
Damien Churchill
5ca119827b update documentation about the webui 2009-07-22 23:53:30 +00:00
Andrew Resch
d67477f6e2 Add OpenSSL exception to all GPL headers 2009-05-18 21:51:49 +00:00
Damien Churchill
3276de91c3 document the methods 2009-05-07 19:14:02 +00:00
Damien Churchill
7e291268bb improve the password convertion methods 2009-05-07 18:02:08 +00:00
Damien Churchill
aeb5e8311b don't delete the salt 2009-05-07 17:51:01 +00:00
Damien Churchill
af4c73a594 big change to the webui auth system
added converting of old 1.1 config files
added converting of old md5 passwords to sha1
2009-05-07 16:27:22 +00:00
Damien Churchill
0ac64da5c6 move the json resource into its own module
split the json-rpc methods and the rpc server into seperate classes
make the json-rpc server a component to allow for extension
2009-03-12 18:57:35 +00:00