5
I Use This!
Low Activity

Commits : Listings

Analyzed 19 days ago. based on code collected 20 days ago.
Jan 30, 2024 — Jan 30, 2025
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
Adds an optional authorization function for the OIDC authentication. * custom oidc auth module allows an optional parameter OIDC_AUTHORIZATION_FUNCTION * askbot/deps/django_authopenid/protocols/__init__.py: - get_protocol: passes the oidc_authorization_function to the OIDC protocol * askbot/deps/django_authopenid/protocols/oidc/protocol.py: - __init__method gets the authorization function and stores it on self - adds method is_user_authorized to check if the user is authorized to access the resource * askbot/deps/django_authopenid/util.py: - LoginMethod: reads the OIDC_AUTHORIZATION_FUNCTION or sets a dummy lambda function returning True the function takes the decoded token as an argument and returns a boolean * askbot/deps/django_authopenid/protocols/oidc/views.py: - complete_oidc_signin: checks if the user is authorized to access the resource by calling the oidc protocols is_user_authorized method allows to continue or return a Bad Request response More... 3 months ago
adds best_answer_accepted and best_answer_unaccepted signals More... 4 months ago
Merge pull request #944 from bonnedav/patch-1 More... 6 months ago
WHO_CAN_ANONYMIZE_ACCOUNTS More... 6 months ago
User.can_terminate_account: edits a comment #943 More... 6 months ago
User.can_terminate_account: non-admins cannot terminate terminate admin or moderator accounts addresses issue #943 More... 6 months ago
When groups are enabled and the user can publish group private posts, the publish/unpublish button is shown to post authors and admins/moderators More... 7 months ago
* adds setting ASKBOT_FEDERATED_LOGIN_EMAIL_EDITABLE, default is True * passes this setting to the template context * RegistrationForm, when ASKBOT_FEDERATED_LOGIN_EMAIL_EDITABLE is False, - raises an exception when email from the session is not the same as the email from the form * askbot/jinja2/authopenid/complete.html: - shows "Email cannot be changed" message when email is not editable More... 9 months ago
jinja2 templates: changes the block name page_class -> layout_class in 6 templates where this change was not implemented as in commit ccd906caa06daa80671787c384c067a217e2151a More... 9 months ago
* .g-recaptcha adds 0.5rem bottom margin * when editing a post via ajax, the privacy setting is not maintained More... 12 months ago
Merge branch 'omaster' More... about 1 year ago
adds class with-life-ring-icon to show the corresponding fontawesome icon More... about 1 year ago