Ske
bef3f5c79a
Merge branch 'api-privacy' of https://github.com/greysdawn/PluralKit into greysdawn-api-privacy
2020-02-13 22:55:10 +01:00
Ske
268eabb047
Properly target system find
2020-02-13 20:25:00 +01:00
Ske
a76d7a6777
Add member find/search command
2020-02-13 16:49:45 +01:00
Ske
883796de16
Refactor system list command
2020-02-13 16:35:50 +01:00
Ske
48342a2890
Fix spurious empty-string-description errors
2020-02-12 23:18:31 +01:00
Ske
7a1aaf6dbd
Add basic flag parsing support
2020-02-12 21:40:02 +01:00
Ske
2148e29f54
Log updates to guild settings
2020-02-12 19:07:40 +01:00
Ske
dc10a8411a
Disable autoproxy retriggering on edit
2020-02-12 17:44:24 +01:00
Ske
d0d3579b17
Add server-specific member avatars
2020-02-12 17:42:12 +01:00
Ske
6d5004bf54
Large refactor and project restructuring
2020-02-12 15:16:19 +01:00
Ske
c10e197c39
Update README
2020-02-12 14:39:00 +01:00
Ske
b68e221fc6
Track current shard in Sentry reports
2020-02-12 14:37:11 +01:00
Ske
1d3acb2392
Fix error when trying to DM a user with DMs disabled
2020-02-12 14:22:15 +01:00
Ske
1386e6743b
Proxy edited messages if the message is the last one in the channel, and the edit introduces proxy tags where there were none previously
2020-02-12 14:21:48 +01:00
Ske
30ed293dc6
Change no-year sentinel value to 0004
...
This allows setting the date "Feb 29" with no year, since the year 0004 is a leap year in the Gregorian calendar, while the year 0001 isn't.
2020-02-09 22:36:02 +01:00
Ske
9394b14a38
Fix link in system created message
2020-02-09 22:35:16 +01:00
Ske
466aea439e
Add getting started steps back
2020-02-09 15:30:19 +01:00
Ske
9d0af7f22a
Fix image proxying with empty messages
2020-02-09 15:27:52 +01:00
Ske
f2bbf8a51d
Tweaks to the new documentation
2020-02-09 15:08:37 +01:00
Ske
e6ba9ffb51
Add space to short list footer
2020-02-09 14:26:09 +01:00
Ske
f618bc2403
Fix pk;msg with message link
2020-02-07 22:24:03 +01:00
Ske
4c1a03bb00
Special case "private" and "public" as setters rather than togglers
2020-02-07 22:20:40 +01:00
Ske
594bcc5b7b
Replace error with warning on legacy proxy command
2020-02-05 23:44:03 +01:00
Ske
3ce1078dc6
Add different text for systems with no members
2020-02-05 23:43:30 +01:00
Ske
565d166c68
Add more aliases to proxy add/remove
2020-02-04 18:16:45 +01:00
Ske
f27e864731
Fix autoproxying someone else's bare tags
2020-02-03 16:10:43 +01:00
Ske
951b089c97
Handle imports from other systems/instances with different HIDs
2020-02-03 15:16:57 +01:00
Ske
5334975ab7
PROPERLY handle example proxy "text"
2020-02-03 15:11:35 +01:00
Ske
7bdc3020b0
Handle malformed proxy tag importing correctly
2020-02-03 15:05:05 +01:00
Ske
026932049a
Properly invalidate account caches when unlinking
2020-02-03 15:04:53 +01:00
Ske
de427d8bfe
Properly invalidate account caches when deleting systems
2020-02-03 14:47:29 +01:00
Ske
ab39ebc512
Document Content-Type requirement for API
2020-02-03 14:47:08 +01:00
Ske
a7e071eb24
Fix permission check for reactions
2020-02-03 13:41:16 +01:00
Ske
f172123190
Fix setting proxy tags starting with "text"
2020-02-01 23:08:33 +01:00
Ske
fde03538e0
Fix API token handling
2020-02-01 22:17:13 +01:00
Ske
6863da9462
Disable Discord member caching entirely
2020-02-01 15:00:36 +01:00
Ske
82dfe43d5a
Rework caching
...
This does a *lot* of things. Essentially, it replaces the existing
individual proxy- and autoproxy caches on the bot end with a
global cache (in Core) that handles all the caching at once, and
automatically invalidates the cache once something changes in the
datastore.
This allows us to do proxying and autoproxying with *zero database
queries* (best-case).
2020-02-01 14:40:57 +01:00
Ske
125ea81ec3
Move command functions around
2020-02-01 13:03:44 +01:00
Ske
a60be64551
Ensure metrics instance is a singleton
2020-02-01 12:33:43 +01:00
Ske
2abb9fc9f9
Fix API schema tables
2020-01-31 12:56:21 +01:00
Ske
a5f0d7ac13
Handle proxy tag length overflow in short member list
2020-01-31 11:43:53 +01:00
Ske
5caf040bbc
Properly handle setting empty proxy tags
2020-01-30 10:20:47 +01:00
Ske
8e1b3dfa98
Add privacy section to user guide
2020-01-30 09:52:28 +01:00
Ske
3b2167e16f
Shuffle dependencies around
2020-01-26 01:30:39 +01:00
Ske
1ea0526ef8
Migrate DI container to Autofac
2020-01-26 01:27:45 +01:00
Ske
4311cb3ad1
Fix unlinking deleted accounts
2020-01-25 18:08:35 +01:00
Ske
3ba6a115f0
Correct autoproxy escape character
2020-01-25 17:40:41 +01:00
Ske
b371c2f34d
Fix Npgsql deprecation error
2020-01-25 16:46:34 +01:00
Ske
0ce5883da1
Add command list documentation for missing commands
2020-01-25 16:46:34 +01:00
Astrid and GitHub
eb44c8fda2
Merge pull request #150 from xSke/feature/autoproxy
...
Implement autoproxy. Closes #149 .
2020-01-25 16:35:31 +01:00
Ske
01c4e99876
Document autoproxy functionality
2020-01-25 16:21:52 +01:00
Ske
0abd64b354
Fix punctuation error
2020-01-25 00:58:25 +01:00
Ske
83cfb3eb46
Add autoproxy functionality
2020-01-24 20:28:48 +01:00
Ske
4922181fe1
Explicitly state information privacy in the privacy policy
2020-01-23 22:14:32 +01:00
Ske
b4439ba872
Add another alias to member privacy
2020-01-23 21:21:52 +01:00
Ske
57bc576de6
Add autoproxy management commands
2020-01-23 21:20:22 +01:00
Ske
ca37c7e6ca
Put the autoproxy settings in the correct class 👀
2020-01-23 20:29:22 +01:00
Ske
bf70a6e3e1
Add schema changes for autoproxy
2020-01-23 20:19:50 +01:00
Ske
b347d2d557
Add front history pagination; upgrade more store methods
2020-01-18 00:58:35 +01:00
Ske
8a689ac0f2
Upgrade various store methods to IAsyncEnumerable
2020-01-18 00:02:17 +01:00
Ske
9a3355eb4b
Update D.NET repo pointer
2020-01-17 19:01:19 +01:00
Ske
0dd8988c08
Fix member count including private members in system card
2020-01-17 17:54:07 +01:00
Ske
991c00a4e6
Increase precision in exported timestamps
2020-01-17 17:43:06 +01:00
Ske
335f6203cc
Restrict pk;random to public members
2020-01-14 12:41:28 +01:00
Ske
f10685acd4
Fix system privacy command usage
2020-01-14 12:22:33 +01:00
Ske
98613c4287
Add system and member privacy support
2020-01-11 16:51:13 +01:00
Ske
cb1c44a27f
Bail early if we don't have send message permission when proxying
2020-01-08 12:16:27 +01:00
Ske
66eb012e4a
Fix database errors on first startup
2020-01-07 16:31:46 +01:00
Ske
64b633e6b4
Fix member avatar URL not showing up in API responses
2020-01-07 15:52:32 +01:00
Ske
8b65754b00
Fix error when removing reactions on a deleted message
2020-01-03 14:02:25 +01:00
Ske
c89802a21c
Fix matching commands with a newline instead of a space after command name
2020-01-03 13:30:50 +01:00
Ske
5835ab63cd
Update API documentation with new serialisation changes
2019-12-28 16:12:16 +01:00
Ske
54aa9fb7d7
Change handling of Tupperbox per-member tags
2019-12-28 15:53:11 +01:00
Ske
0f22285824
Upgrade API serialisation code to enable potential context-based serialisation
2019-12-28 15:52:59 +01:00
Ske
c80965394d
Add system avatar preview as well
2019-12-28 12:47:31 +01:00
Ske
468241c92f
Add avatar preview with no arguments
2019-12-28 12:23:52 +01:00
Ske
30c0fc9b43
Update syntax error formatting
2019-12-28 12:16:26 +01:00
Ske
9ad16a98ed
Throw syntax error when no argument is given to member rename
2019-12-28 12:16:08 +01:00
Ske
f610f88351
Add more aliases for enabling/disabling proxying
2019-12-28 12:12:22 +01:00
Ske
73b2631280
Optimize database queries for proxy filtering
2019-12-28 12:00:52 +01:00
Ske
8e1b27e5fd
Add website documentation for servername
2019-12-27 11:43:18 +01:00
Ske
18dc1664db
Add another alias for servername
2019-12-27 11:43:06 +01:00
Ske
4a30e56298
Add basic database schema migration system
2019-12-26 21:43:05 +01:00
Ske
4d07886ec8
Add server-specific display names
2019-12-26 20:39:47 +01:00
Ske
cd09c9758c
Fix fast reactions to yes/no prompts not registering
2019-12-26 20:27:22 +01:00
Ske
633627c30a
Fix image-only proxies where the tags have trailing/leading spaces
2019-12-26 19:19:06 +01:00
Ske
67b5f7f7a6
Check out submodules when building in Actions
2019-12-24 01:15:29 +01:00
Ske
441867f1cb
Use culture-invariant comparisons when sorting member list
2019-12-24 01:09:48 +01:00
Ske
750aa61d62
Fix Docker build with new D.NET
2019-12-23 18:46:58 +01:00
Ske
1c184825e3
Use fork of D.NET to potentially resolve issues
2019-12-23 18:36:56 +01:00
Ske
6a4c131d6d
Upgrade every dependency to latest compatible version
2019-12-23 15:53:20 +01:00
Ske
aeecffca70
Install debugging tools in the Docker container
2019-12-23 15:50:02 +01:00
Ske
9dd945ddd9
Let's actually not log everything.
2019-12-23 15:49:51 +01:00
Ske
5448f734d4
Try logging *literally everything*
2019-12-23 14:44:20 +01:00
Ske
f2ce09d467
Upgrade to Npgsql 4.1.2
2019-12-23 13:55:56 +01:00
Ske
5ff32ea6b4
Re-enable proxy attachments
2019-12-23 13:55:43 +01:00
Ske
58cdb04ab9
Practice better disposal hygiene
2019-12-23 01:58:10 +01:00
Ske
3fdfaeab01
Disable message attachments as a temporary fix
2019-12-23 01:53:01 +01:00
Ske
265184f4f6
Couple tweaks to potentially improve performance
2019-12-23 01:49:21 +01:00
Ske
bbbbb5a046
Fix error on empty message
2019-12-23 01:49:00 +01:00