Commit Graph

23 Commits

Author SHA1 Message Date
Luna 27ffbd545d cmd.tests: add discrim to setup_tests 2019-02-05 19:23:39 -03:00
Luna ec324f3107 users: decouple into delete_user
- manage.cmd.user: add deluser cmd
2019-02-05 19:21:22 -03:00
Luna 53d7515f8c all: update copyright year 2019-01-26 19:25:46 -03:00
Luna e885bf859c migration.scripts: add attachments.{channel, message}_id
- schema.sql: remove message_attachments table

    it is uneeded since we have the columns in attachments
2018-12-08 23:21:11 -03:00
Luna d5ad4bb96d migration.scripts: add 10_add_attachments_table
- schema.sql: add attachments table
2018-12-08 22:08:37 -03:00
Luna 2632d033fa all: add GPL header 2018-12-07 02:14:58 -03:00
gabixdev cf5ad107ad new invite handling and unconfirmed account support 2018-12-03 21:06:47 +01:00
gabixdev 2542084c73 Fix migration on windows + make generate_token generate only bot ids 2018-12-03 03:26:50 +01:00
gabixdev efdcbf9937 Merge branch 'master' of https://gitlab.com/luna/litecord 2018-12-03 03:02:36 +01:00
gabixdev 1087ed0186 Manage command for retrieving user tokens 2018-12-03 03:00:35 +01:00
Luna a0129da198 schema.sql: change roles.color default to 0
fixes the at-everyone role being black.

related to !6.

 - migration.scripts: add 8_roles_default_color
2018-12-02 22:48:01 -03:00
Luna Mendes 8d8be18633 storage: add rate_limit_per_user fetching
the rate_limit_per_user field has been on schema.CHAN_UPDATE for a while
but the database didn't have the column.

 - migration.scripts: add 7_text_channels_rate_limit_per_user.sql
 - schema.sql: add guild_text_channels.rate_limit_per_user
2018-11-22 22:06:19 -03:00
Luna Mendes 05c8204271 migration.scripts: add 6_emoji_require_colon_true
- schema: change default on guild_emoji.require_colons to true
2018-11-20 17:10:34 -03:00
Luna Mendes 93e00315df guild, channels: add dummy implementation for search
- schemas: add SEARCH_CHANNEL
 - migration.scripts: add 5_add_messages_guild_id
 - schema.sql: add messages.guild_id
2018-11-20 04:15:03 -03:00
Luna Mendes 612600bf03 manage.cmd.invites: change from 10 chars to 6 chars 2018-11-19 01:38:57 -03:00
Luna Mendes 8b305407c2 manage.cmd: add invites blueprint
- schema.sql: remove temporary and expires_at columns
 - migration.scripts: remove emporary and expires_at columns
2018-11-19 01:34:04 -03:00
Luna Mendes 99fab19766 migration.scripts: add 4_add_instance_invites
- schema.sql: add instance_invites table
2018-11-19 00:00:07 -03:00
Luna Mendes c70dd62306 guild: add implementations for emoji add/update/remove
All icons will be invalidated.

 - images: change icon path model
 - images: handle hashes being NULL, for emojis only needing
    the key
 - schemas: add NEW_EMOJI, PATCH_EMOJI
 - migration.scripts: add 3_drop_constraints_icons_hash
 - schema.sql: drop unique and not null from hash, change primary key in
    icons
2018-11-17 17:52:34 -03:00
Luna Mendes 5480a669a3 all: add guild icon support
- fix update_guild's methods
 - fix update_guild's sql statements
 - litecord: add images module
 - schemas: add splash to GUILD_UPDATE
 - schemas: add validate to INVITE
 - manage.cmd.migration: add script 2
2018-11-13 21:12:40 -03:00
Luna Mendes 77a72f6a1d manage.cmd: add users and tests subparsers
- litecord.auth: add hash_data, check_username_usage
 - litecord.auth: add create_user
 - tests: add credentials.py
2018-11-12 19:25:02 -03:00
Luna Mendes 7be9d30f5d cmd.migration: add debug log 2018-11-07 19:16:44 -03:00
Luna Mendes db9fd783f5 manage.cmd.migration: add rudimentary implementation
Also add table changes for future message embeds.
2018-11-06 20:46:17 -03:00
Luna Mendes c3210bf5b0 manage: add dummy migration command 2018-11-06 18:43:36 -03:00