Commit Graph

1271 Commits

Author SHA1 Message Date
Luna deb8a67f91 gitlab-ci.yml: remove tox from main pipeline
tox still stays as a "dev-oriented" testing tool.
2019-08-03 16:46:53 -03:00
Luna 27ec018bf5 guild.mod: use request.args on guild prune
- schemas.GUILD_PRUNE: add default parameter to days, add compute_prune_count
2019-08-02 11:59:46 -03:00
Luna cf16a14e94 Merge branch 'support/embed-links' into 'master'
Embed Links permission support

Closes #49

See merge request litecord/litecord!43
2019-07-23 19:34:42 +00:00
Luna fa1151c759 fix spawn_embed's app and remove where clauses for conflict row 2019-07-23 16:22:38 -03:00
Luna 2086ee2849 channels: fix inferred constraint name 2019-07-23 15:46:00 -03:00
Luna db00724379 fix channel overwrite creation and constraints 2019-07-23 15:40:23 -03:00
Luna 39fd7577b8 channel.messages: add checks for Embed Links permission 2019-07-23 14:52:26 -03:00
Luna 68e0ab186c Merge branch 'enhance/tests' into 'master'
enhance tests

Closes #51

See merge request litecord/litecord!42
2019-07-22 15:08:12 +00:00
Luna f7de5c5596 tests.common: remove login() and get_uid() 2019-07-21 13:02:19 -03:00
Luna a26f665c81 rm tests/credentials.py 2019-07-21 13:00:42 -03:00
Luna 103d88d8f8 remove manage.cmd.tests 2019-07-21 13:00:19 -03:00
Luna cde6bc8ed8 update gitlab-ci.yml and README 2019-07-21 12:59:24 -03:00
Luna 74c03f7dfa fix tests 2019-07-21 12:58:51 -03:00
Luna 30902d6e8f update many tests to the new TestClient fixture 2019-07-21 12:51:40 -03:00
Luna 7b07254741 test_cli_admin -> test_cli_staff 2019-07-21 12:34:51 -03:00
Luna cc4e4c53a9 copy elixire test user impl 2019-07-21 12:30:52 -03:00
Luna 13b2bfe242 Merge branch 'impl/suppress-embeds' into 'master'
Implementation for embed suppressing

See merge request litecord/litecord!41
2019-07-21 03:27:28 +00:00
Luna c5020f202e quickfixes 2019-07-21 00:15:48 -03:00
Luna f0dde07418 Merge branch 'impl/gw-guild-subscriptions' into 'master'
Gateway guild subscriptions

See merge request litecord/litecord!40
2019-07-20 21:29:46 +00:00
Luna 80a54e8b8d ignore when flags.presence isn't given 2019-07-20 14:39:22 -03:00
Luna f99ad7a207 pubsub.guild: drop presence flags when passing it to channels 2019-07-20 13:22:56 -03:00
Luna ad751cdad7 pubsub.guild: only pass flags when required 2019-07-20 13:21:32 -03:00
Luna fb18662af4 dispatcher: fix typo 2019-07-20 13:16:41 -03:00
Luna 91679c3aee fix import 2019-07-20 13:08:08 -03:00
Luna 49ed61438c pubsub: add indirection layer to access flags 2019-07-20 13:05:47 -03:00
Luna 29d13c53b8 pubsub.channel: add flags to ChannelDispatcher 2019-07-20 13:00:19 -03:00
Luna 4c29575b2c pubsub.dispatcher: add DispatcherWithFlags 2019-07-20 12:59:20 -03:00
Luna 99e29ad39f pubsub.guild: default to always getting presence 2019-07-20 12:55:39 -03:00
Luna 4d7e6ec93c pubsub.guild: skip presence events based on flags.presence 2019-07-20 12:55:14 -03:00
Luna dda99c9a6a add basic flags support to GuildDispatcher 2019-07-20 12:51:13 -03:00
Luna e2cb49669e dispatcher: add basics of subscription flags 2019-07-20 12:46:59 -03:00
Luna bbea185a7d gateway.websocket: add basic getting of guild_subscriptions field 2019-07-20 12:29:51 -03:00
Luna 7b2cff0e19 Merge branch 'impl/invites' into 'master'
Fix invite routes because Discord is inconsistent

See merge request litecord/litecord!38
2019-07-19 19:28:41 +00:00
gabixdev 409d3fcc8f
Remove unnecessary _2 routes 2019-07-19 20:53:09 +02:00
gabixdev 51180d5e05
Fixed invites 2019-07-19 20:42:22 +02:00
Luna 473e4ca310 add impl for suppress_embeds() 2019-06-20 18:29:36 -03:00
Luna 6eb51bb872 add (non-functional) suppress-embeds route 2019-06-20 17:34:11 -03:00
Luna edf1ed9a3d Merge branch 'search/msg-contexts' into 'master'
Add message contexts for search

See merge request litecord/litecord!37
2019-06-18 20:09:47 +00:00
Luna 7ba1849bc2 fix validation when searching on a dm/gdm 2019-06-18 16:55:33 -03:00
Luna 262273b618 split search result generation into own func on utils 2019-06-18 16:53:36 -03:00
Luna 2322c2603c guilds: add message contexts
- guilds: fix fetch_readable_channels()
2019-06-18 16:42:08 -03:00
Luna 9514551405 Merge branch 'search-permissions' into 'master'
Search permissions

Closes #45

See merge request litecord/litecord!36
2019-05-31 01:50:18 +00:00
Luna 508c804acd Merge branch 'master' into search-permissions 2019-05-30 22:32:12 -03:00
Luna ecf75075ad Merge branch 'zstd-support' into 'master'
zstd-stream compression support

Closes #47

See merge request litecord/litecord!35
2019-05-31 01:30:44 +00:00
Luna 288c839806 gateway: add impl for zstd_stream_send
- gateway: add utils pkg for a basic wrapper for zstandard's own
   stream writer
2019-05-30 22:17:20 -03:00
Luna 59f3f6bbb7 gateway.websocket: add ZstdCompressor at start 2019-05-30 21:58:23 -03:00
Luna 9142e26152 gateway: move encoding to litecord.gateway.encoding 2019-05-30 21:46:16 -03:00
Luna bcf12c8d3e guilds: add search filter for readable channels 2019-05-30 21:34:36 -03:00
Luna df7f2b1b21 pipfile: add zstandard library 2019-05-30 20:59:32 -03:00
Luna 23c7ac2c34 test_admin_api.test_users: properly delete test users 2019-05-10 17:27:54 -03:00