thec0sm0s
|
2004ebe7ec
|
Bump the version to 0.1.50
|
2020-05-15 23:09:26 +05:30 |
|
thec0sm0s
|
44eee9ebe0
|
Actually make use of the internal caching
|
2020-05-15 23:07:49 +05:30 |
|
thec0sm0s
|
b1abfb5c2d
|
Set initial value of internal caches to None
|
2020-05-15 22:41:41 +05:30 |
|
thec0sm0s
|
44e3423cd9
|
Don't cache guilds by default
|
2020-05-15 18:54:43 +05:30 |
|
thec0sm0s
|
252506e16c
|
Use user_id shorthand property
|
2020-05-15 18:31:39 +05:30 |
|
thec0sm0s
|
f970eb94bb
|
Add user_id property
|
2020-05-15 18:13:42 +05:30 |
|
thec0sm0s
|
318e2318b8
|
Add import to Integration
|
2020-05-15 18:08:27 +05:30 |
|
thec0sm0s
|
a314928fbf
|
Remove Integrations. Not meant to use directly
|
2020-05-15 17:38:23 +05:30 |
|
thec0sm0s
|
fad0df2b79
|
Remove Integrations. Not meant to use directly
|
2020-05-15 17:37:31 +05:30 |
|
thec0sm0s
|
367a0e4dd3
|
Minor fix
|
2020-05-14 22:47:16 +05:30 |
|
thec0sm0s
|
e70fd91424
|
Override default fetch_from_api and add a caching layer
|
2020-05-14 22:35:37 +05:30 |
|
thec0sm0s
|
7332ae9f4c
|
Docs typo fix
|
2020-05-14 22:34:25 +05:30 |
|
thec0sm0s
|
3633d67d4c
|
Minor fix, pass dict rather than list
|
2020-05-14 22:32:00 +05:30 |
|
thec0sm0s
|
bf323e4585
|
Update the instance cache itself
|
2020-05-14 22:29:00 +05:30 |
|
thec0sm0s
|
362e784ba6
|
Override default fetch_from_api to implement updating guild cache
|
2020-05-14 22:28:04 +05:30 |
|
thec0sm0s
|
2e6722e5ba
|
Actually cache the user when they're fetch from API
|
2020-05-14 21:23:39 +05:30 |
|
thec0sm0s
|
6cf7752a10
|
Add get_from_cache classmethod
|
2020-05-14 21:14:09 +05:30 |
|
thec0sm0s
|
f1cc7958fb
|
DOCS
|
2020-05-14 21:04:50 +05:30 |
|
thec0sm0s
|
224d0570f5
|
Add DISCORD_USER_ID in SESSION_KEYS. Try removing user from cache if exists
|
2020-05-14 21:01:10 +05:30 |
|
thec0sm0s
|
57ddb9e27f
|
Save discord user id in flask session
|
2020-05-14 20:58:01 +05:30 |
|
thec0sm0s
|
cbc30d76b1
|
Override default fetch_from_api classmethod providing options to cache user guilds or connections
|
2020-05-14 20:52:22 +05:30 |
|
thec0sm0s
|
baa1fefd50
|
Make integrations as separate entity, which might be also and entity of guild
|
2020-05-14 20:38:59 +05:30 |
|
thec0sm0s
|
85c597ac9b
|
Add guilds and cache to User internal cache. Also add their fetch methods
|
2020-05-14 20:38:27 +05:30 |
|
thec0sm0s
|
7338c5b269
|
Implement users cache. Set cachetools.LFUCache to use by default
|
2020-05-12 21:29:02 +05:30 |
|
thec0sm0s
|
782d09246f
|
Add MANY property to automatically return list from fetch_from_api when many of these models exists
|
2020-05-12 12:35:09 +05:30 |
|
thec0sm0s
|
6365ab461a
|
Use DiscordModelsMeta class. Set ROUTE as required class attribute for bases. Add fetch_from_api classmethod which is shorthand to return the current model
|
2020-05-12 12:20:32 +05:30 |
|
thec0sm0s
|
bc22196695
|
Use _request shorthand method
|
2020-05-11 21:28:14 +05:30 |
|
thec0sm0s
|
94d0c536c5
|
Check for session in Flask session
|
2020-05-11 21:06:26 +05:30 |
|
thec0sm0s
|
4d278557aa
|
Typo fix
|
2020-05-10 19:54:51 +05:30 |
|
thec0sm0s
|
accc65a8bc
|
Typo fix
|
2020-05-10 19:54:09 +05:30 |
|
thec0sm0s
|
feb8ea3f0a
|
Check if application is being rate limited and raise exception
|
2020-05-10 18:11:50 +05:30 |
|
thec0sm0s
|
c645a6c943
|
Use finally clause
|
2020-05-10 18:06:27 +05:30 |
|
thec0sm0s
|
1d7036e6eb
|
Handle JSON decode error
|
2020-05-10 18:05:15 +05:30 |
|
thec0sm0s
|
044104a171
|
One Liner style?
|
2020-05-10 17:52:07 +05:30 |
|
thec0sm0s
|
78e21c4702
|
Internally handle JSONDecodeError
|
2020-05-10 17:47:31 +05:30 |
|
thec0sm0s
|
1e97db58f5
|
Use internal flask_discord request method
|
2020-05-10 17:20:43 +05:30 |
|
thec0sm0s
|
fbf341a3ec
|
Modify request method so that it can be used for standard requests as well
|
2020-05-10 17:20:20 +05:30 |
|
thec0sm0s
|
ed29f41a97
|
Add RateLimited exception
|
2020-05-10 16:16:52 +05:30 |
|
thecosmos
|
5d4fa1df56
|
Minor docs fix
|
2020-04-29 18:51:18 +05:30 |
|
thecosmos
|
e05d247408
|
Add requires_authorization utility
|
2020-04-29 18:38:23 +05:30 |
|
thecosmos
|
b0cfdbd3d6
|
Bump the version to 0.1.10
|
2020-04-14 18:24:00 +05:30 |
|
thecosmos
|
2d6c78dda5
|
Update docs
|
2020-04-14 18:23:16 +05:30 |
|
thecosmos
|
57c3d4d5a7
|
Implement add_to_guild method
|
2020-04-14 17:30:53 +05:30 |
|
thecosmos
|
386b0655c3
|
Don't use bot token
|
2020-04-14 16:31:23 +05:30 |
|
thecosmos
|
95aa57a699
|
Try adding user to guild method [broken]
|
2020-04-14 15:57:35 +05:30 |
|
thecosmos
|
1ed68d66e3
|
Use token updater method
|
2020-04-14 14:00:34 +05:30 |
|
thecosmos
|
558f2875b0
|
Remove get_json method
|
2020-04-14 13:52:09 +05:30 |
|
thecosmos
|
0030cddb07
|
Fix docs
|
2020-04-14 09:53:44 +05:30 |
|
thecosmos
|
a0674e80dc
|
Fix docs
|
2020-04-14 09:45:31 +05:30 |
|
thecosmos
|
030333987f
|
Use and implement generalized request method rather than just get.
|
2020-04-14 09:21:36 +05:30 |
|