Commit Graph

1134 Commits

Author SHA1 Message Date
Luna bb6055f009 admin_api.guilds: switch between GUILD_CREATE / UPDATE 2019-04-21 22:53:21 -03:00
Luna e886a745b5 guild_memory_store: add gpl header 2019-04-21 22:39:34 -03:00
Luna 4a50ceeb67 Add basic guild available updates
- add litecord.guild_memory_store
 - storage: add fetch of unavailable field
2019-04-21 22:38:41 -03:00
Luna 85749f2c8e admin_api.users: add basic flag change support 2019-04-21 21:33:26 -03:00
Luna d69e732b80 admin_api.guilds: remove unused import 2019-04-21 17:31:18 -03:00
Luna 9aaac5d994 admin_api.users: add PATCH /api/v6/admin/users/:id
- admin_schemas: add USER_UPDATE
 - users: return a tuple with public and private user dicts on
    mass_user_update()
2019-04-21 17:29:21 -03:00
Luna 3dc2e01c28 admin_api.guilds: add PATCH /api/v6/admin/guilds/:id
currently does not do anything else other than updating and returning
the guild, as we don't store the availability of it on the database as
of rn.
2019-04-21 17:21:31 -03:00
Luna 36ad9db0ef schemas: decouple password checking into password type
- schemas: make REGISTER.consent optional
2019-04-19 06:44:56 -03:00
Luna eef09ccf6d keep links as underlines (pre-hover) 2019-04-15 16:28:59 -03:00
Luna 29444f3c83 fix index's b tag 2019-04-15 04:25:47 -03:00
Luna ea9ebca26b update static/css/index.css
recolor everything, add a --tos-color variable
2019-04-15 04:25:09 -03:00
Luna 8e880830e8 add nicer layout on the css
thanks @fursona for the headstart on css grid layout
2019-04-15 04:14:28 -03:00
Luna a8b4493d0b add static/css/index.css 2019-04-15 01:20:52 -03:00
Luna 0d1e4a1265 update docs/clients.md
- add koneko
 - move crcophony as d.cr is indeed editable (even though not at
    runtime)
2019-04-15 01:04:53 -03:00
Luna f4a608885e storage: fix wrong timestamp while fetching full member list 2019-04-11 00:38:54 -03:00
Luna 13a864da52 Merge branch 'db-streamlining' into 'master'
database streamlining

Closes #33

See merge request litecord/litecord!32
2019-04-09 00:38:44 +00:00
Luna fce008bad1 README.md: remove schema.sql loading as it just becomes running migrate 2019-04-05 22:26:25 -03:00
Luna b86040ae75 Merge branch 'master' into 'master'
Stop deleting permanent invites

See merge request litecord/litecord!31
2019-04-05 17:36:02 +00:00
TTtie c1aaea846a Don't delete permanent invites 2019-04-05 15:46:36 +00:00
Luna 81bf33c364 Merge branch 'master' into db-streamlining 2019-04-04 13:37:32 -03:00
Luna 9f9251ebce Merge branch 'master' of gitlab.com:litecord/litecord 2019-04-04 13:02:36 -03:00
Luna e68f212c9e channel.messages: simplify data.get call 2019-04-04 12:53:40 -03:00
Luna a93090ddbc handle nullable embeds when creating messages
somehow discordcr does that..
2019-04-04 12:52:41 -03:00
Luna 6ba9b07381 0_base.sql: fix ordering of table creations
fixes attachments table being created BEFORE its foreign keys
2019-04-04 00:30:59 -03:00
Luna bb542550b8 migration.command: only call init_app_managers when it isnt migrate cmd 2019-04-04 00:29:50 -03:00
Luna 6ba5c6e25f 0_base.sql: formatting 2019-04-03 23:54:04 -03:00
Luna e03dada1a7 migration: some fixes here and there
- 0_base.sql: make it rerunnable by dropping hardcoded constraints
2019-04-03 23:53:06 -03:00
Luna 1617c87f03 migration: revamp everything to handle new 0_base.sql
- gitlab-ci.yml: remove schema.sql loading
2019-04-03 23:34:44 -03:00
Luna 02978542e7 remove all migrations, rename schema.sql to a 0_base.sql 2019-04-03 22:04:59 -03:00
Luna 1679f63217 Merge branch 'unified-discrim-gen' into 'master'
Unified discrim gen

See merge request litecord/litecord!30
2019-04-04 00:14:25 +00:00
Luna 2fd3b81a78 users: remove unused import 2019-03-31 19:02:11 -03:00
Luna ff1469f05f litecord.auth: add roll_discrim()
this should fix any issues arising when genning discriminators at
register-time.

 - litecord.blueprints.users: use roll_discrim in favour of _try_reroll
2019-03-31 18:59:38 -03:00
Luna d458f22967 add test_create_user to tests/test_user.py
- tests.conftest: hardcode REGISTRATIONS to true
 - tests/test_user: better assertions for test_get_me
2019-03-31 18:17:39 -03:00
Luna 4509ede535 Merge branch 'improve-tests' into 'master'
Improve tests

See merge request litecord/litecord!29
2019-03-29 04:39:31 +00:00
Luna 86c9c02e46 schema.sql: sync guild.description, guild.banner 2019-03-27 00:08:29 -03:00
Luna 39a35b6af9 schema.sql: sync guild.region column, remove not null 2019-03-26 23:56:35 -03:00
Luna 0e57ad9633 test_websocket: use _close on test_ready 2019-03-26 23:50:10 -03:00
Luna 07c66d121a test_websocket: add a _close helper 2019-03-26 23:47:52 -03:00
Luna 8d9ac79dbc add guild create testing
related to #15.
2019-03-26 23:43:19 -03:00
Luna 136f7a7348 Update Pipfile
many package updates
2019-03-26 17:42:28 -03:00
Luna 9e1db1f9b4 test_gateway: add test_heartbeat
- tests.conftest: hardcode IS_SSL to False
2019-03-26 01:02:06 -03:00
Luna 4c4efb61da Update README.md
- add docs/clients.md
2019-03-26 00:44:05 -03:00
Luna 15fa2f3231 channel.messages: add foreign key deletions before message delete
- images: export try_unlink, and allow it to handle pathlib.Path
2019-03-23 21:19:30 -03:00
Luna 306444061d litecord.storage: add hardcodes for guild.max_{presences, members} 2019-03-23 01:23:48 -03:00
Luna 40571fe1d1 features: use Storage.vanity_invite 2019-03-23 01:22:20 -03:00
Luna a3e58abc2c storage: fix app ref 2019-03-23 01:21:45 -03:00
Luna 973df47503 storage: move guilds.vanity_invite to Storage.vanity_invite
- storage: add guild.vanity_url_code in get_guild
2019-03-23 01:20:12 -03:00
Luna 7901a18332 storage: add author.discriminator when wb_info is found 2019-03-22 22:23:51 -03:00
Luna 8463f34e0e docs/structure.md: add storage and error sections
- docs: add docs/extra_fields.md
2019-03-22 22:23:04 -03:00
Luna c27806bc1b Merge branch 'internal-docs' into 'master'
Documentation Improvements

Closes #42

See merge request litecord/litecord!28
2019-03-22 22:23:18 +00:00