249 Commits

Author SHA1 Message Date
weibeu
cad2168439 Replace with new GitHub username 2021-06-27 20:53:18 +05:30
weibeu
a26e289ff4 Make use of scopes enum in examples 2021-06-27 20:52:37 +05:30
weibeu
3281fc039d Accept and handle if a single scope has been passed 2021-06-27 20:44:15 +05:30
weibeu
17eb3d35a2 Add support for DiscordOAuth2Scope enumeration 2021-06-27 20:31:10 +05:30
weibeu
7ed1d9133f Merge branch 'master' into v9 2021-06-27 16:01:07 +05:30
weibeu
ced3a9a6b2 Merge branch 'master' of https://github.com/thec0sm0s/Flask-Discord 2021-06-27 16:00:59 +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
df1b06ce96 Do the basic documentations of scopes 2021-06-10 01:23:10 +05:30
weibeu
a01da3c587 Wrap existing Discord OAuth2 scopes as DiscordOAuth2Scope enum 2021-06-10 00:42:50 +05:30
weibeu
2341405372 Remove flask_discord.models.Application as its not provided under OAuth2 2021-06-09 23:42:30 +05:30
weibeu
30f3f6c2a4 Refactor to Application 2021-06-09 23:41:00 +05:30
weibeu
8971e4f147 Change the type to dict 2021-05-23 23:16:44 +05:30
weibeu
654520de04 Still do handle for JSONDecodeError 2021-05-23 23:10:57 +05:30
weibeu
ccc3e6aafd Pass correct data to auto generate refresh token 2021-05-23 23:09:53 +05:30
weibeu
37f6c285ef Make use of the check response.wait_for_status() and then return json response 2021-05-23 22:41:55 +05:30
weibeu
4d2e0fe2ea Raise instances of exceptions for consistency 2021-05-23 22:13:16 +05:30
weibeu
f1f5681317 Just minor formatting 2021-05-23 21:54:24 +05:30
weibeu
da5794eadd Prettify configs.py 2021-05-23 21:41:33 +05:30
weibeu
a0f511b5b1 Add DISCORD_API_VERSION = 9 to configs and change discord API base URL to discord.com 2021-05-23 21:39:48 +05:30
weibeu
f4fe419528 Extract requirements directly from requirements.txt 2021-05-23 21:27:18 +05:30
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