aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/plugins/ldap
Commit message (Collapse)AuthorAgeFilesLines
* Fix some unused imports and local variables.Ben Sturmfels2021-09-231-1/+1
|
* Remove remaining imports/calls to six not automatically removed by pyupgrade.Ben Sturmfels2021-03-052-4/+0
|
* Apply `pyupgrade --py3-plus` to remove Python 2 compatibility code.Ben Sturmfels2021-03-052-6/+6
|
* Make ldap plugin python3 compatibleOlivier Mehani2020-05-062-2/+2
| | | | Signed-off-by: Olivier Mehani <shtrom+mediagoblin@ssji.net>
* Spell-check the entire documentation.Ben Sturmfels2016-09-181-9/+9
|
* Fix some unit tests and bugsJessica Tallon2015-08-241-1/+1
| | | | | | | | | | | | | | | | | | This fixes a lot of the issues with the LocalUser changes that were merged recently. There was a problem where the attributes of LocalUser were not being eagerly loaded and because the Session was detached an exception was being raised when they were accessed. This also fixes some typo's which were introduced. Finally this adds a temporary fix for a potential SQLAlchemy bug, this is a bug where doing: User.query.filter(LocalUser.username == "some_username").first() does NOT yeild a user with the username "some_username" but all users on the site. The temp fix is to just query the LocalUser, this should be resolved when bug is confirmed and fixed upstream.
* Change codebase to query or create correct User modelJessica Tallon2015-07-311-3/+4
| | | | | | | The code base had many references to User.username and other specific to LocalUser attributes as that was the way it use to exist. This updates those to query on the generic User model but filtering by attributes on the LocalUser.
* wtforms.fields.TextField was deprecatedJakob Kramer2015-03-121-2/+2
| | | | | | | WTForms documentation: > The TextField alias for StringField is deprecated. Signed-off-by: Berker Peksag <berker.peksag@gmail.com>
* Merge branch 'master' into merge-python3-portChristopher Allan Webber2014-09-161-4/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Has some issues, will iteratively fix! Conflicts: mediagoblin/gmg_commands/__init__.py mediagoblin/gmg_commands/deletemedia.py mediagoblin/gmg_commands/users.py mediagoblin/oauth/views.py mediagoblin/plugins/api/views.py mediagoblin/tests/test_api.py mediagoblin/tests/test_edit.py mediagoblin/tests/test_oauth1.py mediagoblin/tests/test_util.py mediagoblin/tools/mail.py mediagoblin/webfinger/views.py setup.py
| * Fixes #899 : DeprecationWarning about Required going away in WTForms 3.0. ↵Loïc Le Ninan2014-06-131-4/+4
| | | | | | | | Replaced Required with InputRequired.
* | Use six.text_type instead of unicode().Berker Peksag2014-06-021-1/+4
| | | | | | | | I will be switch to use ``from __future__ import unicode_literals`` later.
* | Use six.iteritems() instead of dict.iteritems().Berker Peksag2014-05-261-1/+3
|/
* LDAP readme linkChristopher Allan Webber2013-11-301-0/+15
|
* catch a keyerrorRodney Ewing2013-08-151-5/+5
|
* typo in docsRodney Ewing2013-08-151-3/+3
|
* added docs for ldap pluginRodney Ewing2013-08-151-0/+49
|
* use pluginapi.get_configRodney Ewing2013-08-151-2/+2
|
* removed unused importRodney Ewing2013-08-151-1/+0
|
* added a create_account hookRodney Ewing2013-08-152-0/+33
|
* only create a user if the register_form is from the ldap pluginRodney Ewing2013-08-151-1/+2
|
* - fixed typo with unbinding codeRodney Ewing2013-08-152-6/+21
| | | | - added the ability to get the user's email from the ldap server upon registration
* - changed host and port to just a server uriRodney Ewing2013-08-151-4/+11
| | | | | - added an option to connect with TLS - unbind after when done
* ldap uses it own viewsRodney Ewing2013-08-154-47/+119
|
* starting ldap pluginRodney Ewing2013-08-153-0/+166