Commit Graph

235 Commits

Author SHA1 Message Date
weibeu
faba138ebd Configure and fix the .readthedocs.yml 2022-02-11 16:40:25 +05:30
weibeu
0fdd148b9a Use supported Python version 2022-02-11 16:22:33 +05:30
weibeu
a431e697dd Fix .readthedocs.yml 2022-02-11 16:21:24 +05:30
weibeu
19c4bf93cd Drop the discord.py requirement as it has been abandoned 2022-02-11 16:14:20 +05:30
weibeu
0985cb26d9 Lock the project dependencies 2022-02-11 10:12:47 +05:30
Virusmater
bd9d82cb64 Add newline, otherwise codeblock is invisible 2021-06-24 13:00:29 +05:30
weibeu
4a45041da8 Merge pull request #48 from Virusmater/patch-1
change small type for function and import os
2021-06-10 10:25:59 +05:30
Virusmater
578654aad5 change small type for function and import os 2021-06-09 22:52:56 +02:00
weibeu
11fcdbb9a5 Add an example demonstrating sending message to user after they authorize the application 2021-04-20 14:43:37 +05:30
thec0sm0s
1c81a9516a ✔ Bump the version to 0.1.64 2020-12-25 09:26:00 +05:30
thec0sm0s
b0c66ee377 Fix compatibility with pyjwt v2.0.0 2020-12-25 09:24:51 +05:30
thec0sm0s
b45cc8fea3 ✔ Bump the version to 0.1.63 2020-10-26 00:27:01 +05:30
thec0sm0s
9a2f413433 Include uniquely generated state secret on each new Discord session 2020-10-26 00:24:08 +05:30
thec0sm0s
1f1f3e211a Declare AccessDenied exception in __all__ 2020-10-26 00:16:58 +05:30
thec0sm0s
10951bfed3 Do not get state implicitly 2020-10-26 00:13:28 +05:30
thec0sm0s
87fe69e9e2 Do not immediately pop the state to prevent race conditions 2020-10-26 00:00:23 +05:30
thec0sm0s
8bc15b23ad 📝 Add config values used by Flask Discord in docs 2020-10-07 17:45:00 +05:30
thec0sm0s
a84b36e8ff Merge branch 'master' of https://github.com/HarryET/Flask-Discord into lazy 2020-10-07 17:18:06 +05:30
thec0sm0s
7420a4122e ✔ Minor fix - revert to cached method 2020-10-07 17:12:50 +05:30
thec0sm0s
0138a824ca ✔ Bump the version to 0.1.62 2020-10-07 17:08:16 +05:30
thec0sm0s
ad380cfb5c Minor refactoring - Separate exception from the parsing logic. Expect Discord API to always return JSON payload with all keys on Ratelimit 2020-10-07 17:07:52 +05:30
HarryET
0e1e67e6c2 Update api.rst 2020-09-30 19:09:07 +01:00
HarryET
65ce51957c Update api.rst 2020-09-30 17:58:21 +01:00
HarryET
b8f3d3e0fd add config 2020-09-30 17:55:40 +01:00
thec0sm0s
17b7c6b82d Update CONTRIBUTING.rst 2020-09-27 16:35:37 +05:30
thec0sm0s
aec2876759 Update CONTRIBUTING.rst 2020-09-27 16:34:56 +05:30
thec0sm0s
6f3aed673a ✔ Minor fix 2020-09-27 15:40:02 +05:30
thec0sm0s
1a90cd18c6 ✔ Add CONTRIBUTING.rst 2020-09-27 15:36:34 +05:30
thec0sm0s
bf53bf825f ✔ Add proxy support 2020-09-13 23:58:08 +05:30
thec0sm0s
5bd875cae9 ✔ Docs improvements 2020-09-11 10:20:48 +05:30
thec0sm0s
f43575162f ✔ Bump the version to 0.1.61 2020-09-11 10:11:38 +05:30
thec0sm0s
da5a609682 ✔ Minor additions to docs 2020-09-11 10:08:18 +05:30
thec0sm0s
f749741647 ✔ Explicitly set OAUTHLIB_INSECURE_TRANSPORT to true only in development environment 2020-09-11 10:02:08 +05:30
thec0sm0s
03eea97a77 ✔ Raise an instance of the exception class 2020-09-11 09:55:33 +05:30
thec0sm0s
72538e5ef3 Do not set OAUTHLIB_INSECURE_TRANSPORT to true implicitly 2020-09-11 09:54:56 +05:30
thec0sm0s
0a2323f387 ✔ Implement method for lazy initialization supporting flask factory patterns. 2020-09-11 09:53:46 +05:30
thec0sm0s
d23441a070 ✔ Include pyjwt requirement 2020-08-10 11:34:44 +05:30
thec0sm0s
8b423e216e ✔ Properly raise an Exception when user cancels the flow while OAuth grant 2020-08-10 11:32:52 +05:30
thec0sm0s
369127092b 👍 Bump version to 0.1.60 2020-08-10 11:08:15 +05:30
thec0sm0s
1b505fec69 Refactor and improve jwt state manager 2020-08-10 11:07:09 +05:30
thec0sm0s
fbb7e23116 Merge pull request #23 from williamhatcher/dev
Encode params into state
2020-08-09 20:00:12 +05:30
William 'psyFi' Hatcher
1eacfb6df1 Better session/key management 2020-08-08 18:22:53 -05:00
William 'psyFi' Hatcher
2ecddd11d1 Params rework. requirements.txt updated 2020-08-07 14:23:18 -05:00
William 'psyFi' Hatcher
e1e0e7bd86 Added tests/.env to .gitignore 2020-08-06 00:03:04 -05:00
thec0sm0s
f93d5c059b Implement explicit methods to save and get OAuth2 token and secrets 2020-08-04 21:35:37 +05:30
thec0sm0s
7ff98a9e1e Add ko-fi link in FUNDING.yml 2020-07-30 17:31:01 +05:30
thec0sm0s
9e626d9e1b Update requirements 2020-07-29 22:47:56 +05:30
thec0sm0s
59d944aa0c Use separate _fetch_token method 2020-07-25 22:52:34 +05:30
thec0sm0s
164791436e Move attributes from base class to actual client 2020-07-24 23:45:37 +05:30
thec0sm0s
d703937da5 Make client secret and bot tokens protected attributes so that someone doesn't spills their secrets accidentally 2020-07-24 23:43:29 +05:30