Commit Graph

583 Commits

Author SHA1 Message Date
Luna Mendes 65667383b4 Merge branch 'patch-1' into 'master'
Add liability clause

See merge request litecord/litecord!12
2018-12-05 23:02:53 +00:00
Cynthia Foxwell a541f022f3 Add liability clause. 2018-12-05 23:01:04 +00:00
Luna 060f225189 channel.messages: add url autoembeds
related to #27

 - embed.sanitizer: handle external config and session objects
 - storage: add Storage.execute_with_json
2018-12-05 19:07:43 -03:00
Luna Mendes c934582628 Merge branch 'mediaproxy-integration' into 'master'
Mediaproxy integration

See merge request litecord/litecord!11
2018-12-05 06:16:45 +00:00
Luna e2720a4084 embed.sanitizer: fix double-slash on path
- run: add app.session
2018-12-05 03:08:54 -03:00
Luna 75a7c4d83a channel.messages: use fill_embed
- embed.sanitizer: fix fetching of keys in app.config
2018-12-05 02:55:09 -03:00
Luna e3653cac87 embed.sanitizer: remove mmh3 import 2018-12-05 02:43:11 -03:00
Luna e7d3559acc embed.sanitizer: add fetch_metadata function
- pipfile: remove mmh3
2018-12-05 02:42:00 -03:00
Luna 13dc541fec Pipfile: add mmh3
required as mediaproxy uses mmh3
2018-12-05 02:14:35 -03:00
Luna cdd774ffc1 Pipfile: add aiohttp 2018-12-05 02:11:25 -03:00
Luna 13c9c4b826 embed.sanitizer: add proxify function 2018-12-05 01:54:52 -03:00
Luna 9ab3fa6b70 config.example.py: add MEDIA_PROXY config field 2018-12-05 01:41:23 -03:00
Luna Mendes d2bd6dd342 Merge branch 'message-embeds' into 'master'
Message embeds

Closes #17

See merge request litecord/litecord!10
2018-12-05 02:12:06 +00:00
Luna 9b5902db95 tests: add test_embeds
- embeds.schemas: add EMBED_FIELD and EMBED_OBJECT.fields to use it
2018-12-04 22:54:39 -03:00
Luna 5de64a93ee embed.sanitizer: remove unused _sane function 2018-12-04 21:50:11 -03:00
Luna 5db633b797 channel.messages: use sanitize_embed
- embed: add sanitizer module
 - embed.schemas: add to_json to EmbedURL
 - utils: add custom JSON encoder
 - run: use custom JSON encoder
 - gateway.websocket: use custom JSON encoder
2018-12-04 21:45:14 -03:00
Luna 5f6ddad54d storage: remove unused json import 2018-12-04 18:45:01 -03:00
Luna 94fe51ac69 channel.messages: add embed insertion
- storage: move pg_set_json to litecord.utils to fix circular imports
 - storage: add embed fetch to get_message
 - embed.schemas: fix author.url's url
 - schemas: add EMBED_OBJECT to MESSAGE_CREATE
2018-12-04 18:37:42 -03:00
Luna 8b97195404 litecord: add embed namespace
- embed: add embed.schemas
 - channel.messages: split some functions for readability
2018-12-04 18:10:58 -03:00
Luna d87ff940f6 gateway.websocket: decrease amount of public methods 2018-12-04 16:56:53 -03:00
Luna 6b35c73ad6 gateway.websocket: fix async guild dispatch for bots
get_guild is an incomplete guild object which isn't
suitable for any client.
2018-12-04 04:36:46 -03:00
Luna 214bef0371 users: fix user delete
- auth: add logout route
2018-12-04 04:32:44 -03:00
Luna Mendes 00346555d1 Merge branch 'master' into 'master'
new invite handling and unconfirmed account support

See merge request litecord/litecord!8
2018-12-04 07:30:51 +00:00
gabixdev 0bf42134aa linter fix 2018-12-04 08:24:55 +01:00
gabixdev c597e08f92 Merge branch 'master' of https://gitlab.com/luna/litecord 2018-12-04 08:22:32 +01:00
gabixdev cbc55014a4 Fix bot gateway connection 2018-12-04 08:21:46 +01:00
Luna 7c9dc0ae34 users: add impl for user delete
untested.
2018-12-04 04:18:27 -03:00
slice 8b3d09a9b1
God is dead.
Is that what God does? He helps? Tell me, why didn't God help my
innocent friend who died for no reason while the guilty ran free? Okay.
Fine. Forget the one offs. How about the countless wars declared in his
name? Okay. Fine. Let's skip the random, meaningless murder for a
second, shall we? How about the racist, sexist, phobia soup we've all
been drowning in because of him? And I'm not just talking about Jesus.
I'm talking about all organized religion. Exclusive groups created to
manage control. A dealer getting people hooked on the drug of hope. His
followers, nothing but addicts who want their hit of bullshit to keep
their dopamine of ignorance. Addicts. Afraid to believe the truth. That
there's no order. There's no power. That all religions are just
metastasizing mind worms, meant to divide us so it's easier to rule us
by the charlatans that wanna run us. All we are to them are paying
fanboys of their poorly-written sci-fi franchise. If I don't listen to
my imaginary friend, why the fuck should I listen to yours? People think
their worship's some key to happiness. That's just how he owns you. Even
I'm not crazy enough to believe that distortion of reality. So fuck God.
He's not a good enough scapegoat for me.
2018-12-03 23:17:00 -08:00
slice 6a3307a06b
this is a very important commit.
* implements the entire discord api in scala
2018-12-03 23:15:30 -08:00
slice 34d7f60c99
my hands are typing words 2018-12-03 23:14:43 -08:00
slice e0a41cfcbe
Add project goals 2018-12-03 23:11:23 -08:00
Luna Mendes a08854c3f3 Merge branch 'edit-readme' into 'master'
Restructure README.md

See merge request litecord/litecord!9
2018-12-04 07:08:25 +00:00
slice cfd0e7ce34
english grammar 2018-12-03 23:02:11 -08:00
slice 000cf6a945
Restructure README.md 2018-12-03 23:00:20 -08:00
slice 636dec5dde
Add project logo
Typeset in Work Sans Bold Italic 96px.
2018-12-03 22:45:22 -08:00
slice 66f7e55d26
Ignore macOS .DS_Store files
They are like thumbs.db on Windows.
2018-12-03 22:45:09 -08:00
Luna dbc6da8ce9 pubsub.guild: remove print debug 2018-12-04 02:22:38 -03:00
Luna 7d6aab9a29 litecord.auth: use TimestampSigner
this fixes all tokens being the same.
2018-12-04 02:21:49 -03:00
Luna 8c4b7a1ac8 pubsub.lazy_guild: fix list_id for non-everyone lists
- utils: add murmurhash3 implementation
2018-12-04 02:02:40 -03:00
gabixdev 1497456856 Fix invites and switch to new format 2018-12-04 00:46:45 +01:00
gabixdev cf5ad107ad new invite handling and unconfirmed account support 2018-12-03 21:06:47 +01:00
Luna Mendes 29d30c3792 Merge branch 'master' into 'master'
Manage command for retrieving user tokens

See merge request luna/litecord!7
2018-12-03 02:33:06 +00: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 969b6b80ae schemas: fix regression on REGISTER_WITH_INVITE
regression added in 8f2ad0f33d
2018-12-02 22:55:58 -03:00
Luna a36ea4a117 blueprints.guilds: use default value for roles.color 2018-12-02 22:49:08 -03: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 3fbaf15c1a Merge branch 'master' into 'master'
some fixes

See merge request luna/litecord!6
2018-12-03 01:17:00 +00:00
gabixdev 9b0171ad32 Add documented endpoint back 2018-12-03 01:52:36 +01:00