plain.oauth 0.29.0__py3-none-any.whl → 0.29.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- plain/oauth/CHANGELOG.md +10 -0
- plain/oauth/README.md +2 -2
- {plain_oauth-0.29.0.dist-info → plain_oauth-0.29.1.dist-info}/METADATA +3 -3
- {plain_oauth-0.29.0.dist-info → plain_oauth-0.29.1.dist-info}/RECORD +6 -6
- {plain_oauth-0.29.0.dist-info → plain_oauth-0.29.1.dist-info}/WHEEL +0 -0
- {plain_oauth-0.29.0.dist-info → plain_oauth-0.29.1.dist-info}/licenses/LICENSE +0 -0
plain/oauth/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# plain-oauth changelog
|
2
2
|
|
3
|
+
## [0.29.1](https://github.com/dropseed/plain/releases/plain-oauth@0.29.1) (2025-10-02)
|
4
|
+
|
5
|
+
### What's changed
|
6
|
+
|
7
|
+
- Updated documentation examples to use `get_current_user()` instead of `request.user` ([f6278d9](https://github.com/dropseed/plain/commit/f6278d9bb4))
|
8
|
+
|
9
|
+
### Upgrade instructions
|
10
|
+
|
11
|
+
- No changes required
|
12
|
+
|
3
13
|
## [0.29.0](https://github.com/dropseed/plain/releases/plain-oauth@0.29.0) (2025-10-02)
|
4
14
|
|
5
15
|
### What's changed
|
plain/oauth/README.md
CHANGED
@@ -182,11 +182,11 @@ Here's an very basic example:
|
|
182
182
|
{% extends "base.html" %}
|
183
183
|
|
184
184
|
{% block content %}
|
185
|
-
Hello {{
|
185
|
+
Hello {{ get_current_user() }}!
|
186
186
|
|
187
187
|
<h2>Existing connections</h2>
|
188
188
|
<ul>
|
189
|
-
{% for connection in
|
189
|
+
{% for connection in get_current_user().oauth_connections.all %}
|
190
190
|
<li>
|
191
191
|
{{ connection.provider_key }} [ID: {{ connection.provider_user_id }}]
|
192
192
|
<form action="{% url 'oauth:disconnect' connection.provider_key %}" method="post">
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: plain.oauth
|
3
|
-
Version: 0.29.
|
3
|
+
Version: 0.29.1
|
4
4
|
Summary: Let users log in with OAuth providers.
|
5
5
|
Author-email: Dave Gaeddert <dave.gaeddert@dropseed.dev>
|
6
6
|
License-Expression: BSD-3-Clause
|
@@ -196,11 +196,11 @@ Here's an very basic example:
|
|
196
196
|
{% extends "base.html" %}
|
197
197
|
|
198
198
|
{% block content %}
|
199
|
-
Hello {{
|
199
|
+
Hello {{ get_current_user() }}!
|
200
200
|
|
201
201
|
<h2>Existing connections</h2>
|
202
202
|
<ul>
|
203
|
-
{% for connection in
|
203
|
+
{% for connection in get_current_user().oauth_connections.all %}
|
204
204
|
<li>
|
205
205
|
{{ connection.provider_key }} [ID: {{ connection.provider_user_id }}]
|
206
206
|
<form action="{% url 'oauth:disconnect' connection.provider_key %}" method="post">
|
@@ -1,5 +1,5 @@
|
|
1
|
-
plain/oauth/CHANGELOG.md,sha256=
|
2
|
-
plain/oauth/README.md,sha256=
|
1
|
+
plain/oauth/CHANGELOG.md,sha256=jzQDadqt2AZPgk4Ao63AozDJyvQ5KjA_ZDje6uZW0Tc,5978
|
2
|
+
plain/oauth/README.md,sha256=5wWECig99tV7g5Hkqmd0ClSH0KpXgu0TRBkY0c_dH3o,11089
|
3
3
|
plain/oauth/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
4
|
plain/oauth/admin.py,sha256=s259OnTWGeOv3nVl4hAV-lNAIE4d2ObbG_97ENC6TuY,1308
|
5
5
|
plain/oauth/config.py,sha256=0Q4IILBKQbIaxqeL9WRTH5Cka-BO3c3SOj1AdQIAJgc,167
|
@@ -12,7 +12,7 @@ plain/oauth/views.py,sha256=LO7raeMkUrV9epVzIe6wNML3a22MDW41eeGDVPZIhM8,2472
|
|
12
12
|
plain/oauth/migrations/0001_initial.py,sha256=0NjfF7F3szhUXkpK3JvN10Xkat1QR-VvnX6Oed9iFmo,1940
|
13
13
|
plain/oauth/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
14
14
|
plain/oauth/templates/oauth/callback.html,sha256=4CJG0oAN0xYjw2IPkjaL7B4hwlf9um9LI4CTu50E-yE,173
|
15
|
-
plain_oauth-0.29.
|
16
|
-
plain_oauth-0.29.
|
17
|
-
plain_oauth-0.29.
|
18
|
-
plain_oauth-0.29.
|
15
|
+
plain_oauth-0.29.1.dist-info/METADATA,sha256=02YpKQQD-qhxDe6RStWM2px_MonI-c4j3UFwhCPcMYw,11494
|
16
|
+
plain_oauth-0.29.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
17
|
+
plain_oauth-0.29.1.dist-info/licenses/LICENSE,sha256=cvKM3OlqHx3ijD6e34zsSUkPvzl-ya3Dd63A6EHL94U,1500
|
18
|
+
plain_oauth-0.29.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|