Commit Graph

  • 8b423e216e ✔ Properly raise an Exception when user cancels the flow while OAuth grant thec0sm0s 2020-08-10 11:32:52 +05:30
  • 369127092b 👍 Bump version to 0.1.60 thec0sm0s 2020-08-10 11:08:15 +05:30
  • 1b505fec69 Refactor and improve jwt state manager thec0sm0s 2020-08-10 11:07:09 +05:30
  • fbb7e23116 Merge pull request #23 from williamhatcher/dev thec0sm0s 2020-08-09 20:00:12 +05:30
  • 1eacfb6df1 Better session/key management William 'psyFi' Hatcher 2020-08-08 18:22:53 -05:00
  • 2ecddd11d1 Params rework. requirements.txt updated William 'psyFi' Hatcher 2020-08-07 14:23:18 -05:00
  • e1e0e7bd86 Added tests/.env to .gitignore William 'psyFi' Hatcher 2020-08-06 00:03:04 -05:00
  • f93d5c059b Implement explicit methods to save and get OAuth2 token and secrets thec0sm0s 2020-08-04 21:35:37 +05:30
  • 7ff98a9e1e Add ko-fi link in FUNDING.yml thec0sm0s 2020-07-30 17:31:01 +05:30
  • 9e626d9e1b Update requirements thec0sm0s 2020-07-29 22:47:56 +05:30
  • 59d944aa0c Use separate _fetch_token method thec0sm0s 2020-07-25 22:52:34 +05:30
  • 164791436e Move attributes from base class to actual client thec0sm0s 2020-07-24 23:45:37 +05:30
  • d703937da5 Make client secret and bot tokens protected attributes so that someone doesn't spills their secrets accidentally thec0sm0s 2020-07-24 23:43:29 +05:30
  • 5e99ed9af9 Abstract guild permissions value within discord.py Permissions thec0sm0s 2020-07-18 17:26:50 +05:30
  • 66b5ccc734 Register discord.py docs to mapping thec0sm0s 2020-07-18 16:36:09 +05:30
  • f11677ed34 Update dependencies thec0sm0s 2020-07-18 15:09:30 +05:30
  • f9f77d9aa4 Update minor description thec0sm0s 2020-07-15 12:06:39 +05:30
  • cd1b501315 Merge branch 'master' into dev thec0sm0s 2020-07-15 11:54:18 +05:30
  • 79b6d56305 Merge pull request #21 from williamhatcher/master thec0sm0s 2020-07-15 11:05:50 +05:30
  • 8d40b1a405 Added Unauthorized redirect to basic usage William 'psyFi' Hatcher 2020-07-14 22:01:50 -05:00
  • a0682fc192 Added Unauthorized redirect to basic usage William 'psyFi' Hatcher 2020-07-14 22:00:52 -05:00
  • 3ea0fcc44e ✔ Use the bot request if the model requires bot token, not OAuth thec0sm0s 2020-06-29 23:57:21 +05:30
  • 0bab72c9e3 ✔ Use the already implemented bot_request thec0sm0s 2020-06-27 15:52:46 +05:30
  • 5d84158502 ✔ Add low level request method for bot scope resources thec0sm0s 2020-06-27 15:40:53 +05:30
  • d552a048ee ✔ Bump version to 0.1.54 thec0sm0s 2020-06-23 20:49:48 +05:30
  • 2712a844bb ✔ Explicitly mention used packages in requirements thec0sm0s 2020-06-23 20:49:25 +05:30
  • 1d2c85d3e8 ✔ Add support to specify custom parameters in authorization URL along with ability to determine authorization type thec0sm0s 2020-06-23 20:46:26 +05:30
  • c0742a3651 ✔ Update the requirements thec0sm0s 2020-06-08 10:43:51 +05:30
  • cf2c832aa2 🔼 Bump version to 0.1.53 thec0sm0s 2020-06-08 10:22:54 +05:30
  • fa508076fd User 4 space indentation thec0sm0s 2020-06-08 10:20:03 +05:30
  • c5ff29728e Merge pull request #15 from PredaaA/patch-1 thec0sm0s 2020-06-08 10:13:54 +05:30
  • f7ed3f42f7 Fix missing cachetools requirement missing in setup PredaaA 2020-06-07 23:27:48 +02:00
  • 1fc91d24c2 Handle cases efficiently when user avatar hash is None. Add method to return Discord default avatar url equivalent. thec0sm0s 2020-06-02 13:15:00 +05:30
  • f5be182c2f Bump the version to 0.1.51 thec0sm0s 2020-05-21 10:55:50 +05:30
  • fd753fb5e5 Merge pull request #13 from A-Trash-Coder/master thec0sm0s 2020-05-21 10:46:07 +05:30
  • 2417e9dda0 Add operations to the docstrings of guild and user A-Trash-Coder 2020-05-20 23:56:00 -04:00
  • eda1e4c1f2 Add operations to the docstrings of guild and user A-Trash-Coder 2020-05-20 23:55:15 -04:00
  • 857fd4c4ad Add a __eq__ and __ne__ to models Guild and User A-Trash-Coder 2020-05-20 21:45:46 -04:00
  • 4a2440ea53 Merge pull request #10 from thec0sm0s/dev thec0sm0s 2020-05-16 20:19:36 +05:30
  • c654f539b3 Some docs thing thec0sm0s 2020-05-16 17:47:06 +05:30
  • 2004ebe7ec Bump the version to 0.1.50 thec0sm0s 2020-05-15 23:09:26 +05:30
  • 44eee9ebe0 Actually make use of the internal caching thec0sm0s 2020-05-15 23:07:49 +05:30
  • b1abfb5c2d Set initial value of internal caches to None thec0sm0s 2020-05-15 22:41:41 +05:30
  • 44e3423cd9 Don't cache guilds by default thec0sm0s 2020-05-15 18:54:43 +05:30
  • 252506e16c Use user_id shorthand property thec0sm0s 2020-05-15 18:31:39 +05:30
  • f970eb94bb Add user_id property thec0sm0s 2020-05-15 18:13:42 +05:30
  • 318e2318b8 Add import to Integration thec0sm0s 2020-05-15 18:08:27 +05:30
  • a314928fbf Remove Integrations. Not meant to use directly thec0sm0s 2020-05-15 17:38:23 +05:30
  • fad0df2b79 Remove Integrations. Not meant to use directly thec0sm0s 2020-05-15 17:37:31 +05:30
  • 367a0e4dd3 Minor fix thec0sm0s 2020-05-14 22:47:16 +05:30
  • e70fd91424 Override default fetch_from_api and add a caching layer thec0sm0s 2020-05-14 22:35:37 +05:30
  • 7332ae9f4c Docs typo fix thec0sm0s 2020-05-14 22:34:25 +05:30
  • 3633d67d4c Minor fix, pass dict rather than list thec0sm0s 2020-05-14 22:32:00 +05:30
  • bf323e4585 Update the instance cache itself thec0sm0s 2020-05-14 22:29:00 +05:30
  • 362e784ba6 Override default fetch_from_api to implement updating guild cache thec0sm0s 2020-05-14 22:28:04 +05:30
  • 2e6722e5ba Actually cache the user when they're fetch from API thec0sm0s 2020-05-14 21:23:39 +05:30
  • 6cf7752a10 Add get_from_cache classmethod thec0sm0s 2020-05-14 21:14:09 +05:30
  • f1cc7958fb DOCS thec0sm0s 2020-05-14 21:04:50 +05:30
  • 224d0570f5 Add DISCORD_USER_ID in SESSION_KEYS. Try removing user from cache if exists thec0sm0s 2020-05-14 21:01:10 +05:30
  • 57ddb9e27f Save discord user id in flask session thec0sm0s 2020-05-14 20:58:01 +05:30
  • cbc30d76b1 Override default fetch_from_api classmethod providing options to cache user guilds or connections thec0sm0s 2020-05-14 20:52:22 +05:30
  • baa1fefd50 Make integrations as separate entity, which might be also and entity of guild thec0sm0s 2020-05-14 20:38:59 +05:30
  • 85c597ac9b Add guilds and cache to User internal cache. Also add their fetch methods thec0sm0s 2020-05-14 20:38:27 +05:30
  • 6652cb0459 Add interphinx_mapping thec0sm0s 2020-05-13 17:04:39 +05:30
  • 7338c5b269 Implement users cache. Set cachetools.LFUCache to use by default thec0sm0s 2020-05-12 21:29:02 +05:30
  • 782d09246f Add MANY property to automatically return list from fetch_from_api when many of these models exists thec0sm0s 2020-05-12 12:35:09 +05:30
  • 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 thec0sm0s 2020-05-12 12:20:32 +05:30
  • bc22196695 Use _request shorthand method thec0sm0s 2020-05-11 21:28:14 +05:30
  • 94d0c536c5 Check for session in Flask session thec0sm0s 2020-05-11 21:06:26 +05:30
  • 4d278557aa Typo fix thec0sm0s 2020-05-10 19:54:51 +05:30
  • accc65a8bc Typo fix thec0sm0s 2020-05-10 19:54:09 +05:30
  • feb8ea3f0a Check if application is being rate limited and raise exception thec0sm0s 2020-05-10 18:11:50 +05:30
  • c645a6c943 Use finally clause thec0sm0s 2020-05-10 18:06:27 +05:30
  • 1d7036e6eb Handle JSON decode error thec0sm0s 2020-05-10 18:05:15 +05:30
  • 044104a171 One Liner style? thec0sm0s 2020-05-10 17:52:07 +05:30
  • 78e21c4702 Internally handle JSONDecodeError thec0sm0s 2020-05-10 17:47:31 +05:30
  • 1e97db58f5 Use internal flask_discord request method thec0sm0s 2020-05-10 17:20:43 +05:30
  • fbf341a3ec Modify request method so that it can be used for standard requests as well thec0sm0s 2020-05-10 17:20:20 +05:30
  • 21e4988d59 Somewhat better index thec0sm0s 2020-05-10 17:14:10 +05:30
  • 46d7052daa Somewhat better index thec0sm0s 2020-05-10 16:57:47 +05:30
  • 7cb638c60b Somewhat better index thec0sm0s 2020-05-10 16:55:02 +05:30
  • ed29f41a97 Add RateLimited exception thec0sm0s 2020-05-10 16:16:52 +05:30
  • 064a73e2f6 Minor docs fix thecosmos 2020-04-29 19:28:47 +05:30
  • 5d4fa1df56 Minor docs fix thecosmos 2020-04-29 18:51:18 +05:30
  • 079fbc8106 Minor docs fix thecosmos 2020-04-29 18:48:31 +05:30
  • fc68a92770 Minor docs fix thecosmos 2020-04-29 18:41:30 +05:30
  • e05d247408 Add requires_authorization utility thecosmos 2020-04-29 18:38:23 +05:30
  • 30f6bc7d7a Add links thecosmos 2020-04-28 14:24:57 +05:30
  • 7d15cb2486 Add some badges thecosmos 2020-04-28 12:25:04 +05:30
  • b58170438b Add some badges thecosmos 2020-04-28 12:24:05 +05:30
  • e94d4f50ad Add test guilds thecosmos 2020-04-28 12:07:15 +05:30
  • 7456c71bdc Add discord bot token in configs thecosmos 2020-04-17 15:40:07 +05:30
  • d2b2e5d4a8 Merge branch 'master' into dev thecosmos 2020-04-15 18:36:06 +05:30
  • 0b9c84edae Merge branch 'master' of https://github.com/thec0sm0s/Flask-Discord thecosmos 2020-04-15 18:35:37 +05:30
  • c0884b2c1d Add route to directly add to provided server ID in route thecosmos 2020-04-15 18:35:05 +05:30
  • b0cfdbd3d6 Bump the version to 0.1.10 thecosmos 2020-04-14 18:24:00 +05:30
  • 2d6c78dda5 Update docs thecosmos 2020-04-14 18:23:16 +05:30
  • 57c3d4d5a7 Implement add_to_guild method thecosmos 2020-04-14 17:30:53 +05:30
  • 386b0655c3 Don't use bot token thecosmos 2020-04-14 16:31:23 +05:30
  • 95aa57a699 Try adding user to guild method [broken] thecosmos 2020-04-14 15:57:35 +05:30