Commit graph

177 commits

Author SHA1 Message Date
Laura Hausmann
b504bf2548
[backend/masto-client] Support client_credentials grant type (ISH-416) 2024-07-12 18:18:09 +02:00
Laura Hausmann
0cd754f4c2
[backend/database] Remove extraneous user table columns 2024-07-11 23:37:55 +02:00
Laura Hausmann
3ac63e1510
[backend/federation] Respect UserSettings.AlwaysMarkSensitive 2024-07-11 23:24:48 +02:00
Laura Hausmann
81974db0f7
[backend/api] Expose new user_settings flags in SettingsController 2024-07-10 02:55:57 +02:00
Laura Hausmann
09cda1a89e
[backend/database] Move user_profile columns that only concern local users to user_settings
This commit also removes a bunch of obsolete user_profile columns.
2024-07-10 02:55:57 +02:00
Laura Hausmann
5564bb7234
[backend/database] Move migrations into respective version folders 2024-06-29 01:11:46 +02:00
Laura Hausmann
df3a7bdfe5
[backend] Apply formatting rules 2024-06-29 01:06:19 +02:00
Laura Hausmann
ca8ce9137d
[backend/queue] Refactor queue job count functions into DatabaseContext 2024-06-28 18:20:59 +02:00
Laura Hausmann
a0aa632bf4
[backend/core] Make universal home timeline query fast 2024-06-26 21:55:23 +02:00
Laura Hausmann
3599150603
[backend/database] Add Exception column to Job table 2024-06-21 19:18:31 +02:00
Laura Hausmann
3e0a5b5759
[backend/configuration] Allow configuring of parameter logging for database exceptions 2024-06-21 16:24:03 +02:00
Laura Hausmann
19c9b7bf90
[backend/database] Add StackTrace column to Job table 2024-06-21 14:05:34 +02:00
Laura Hausmann
f5c0cc9a38
[backend/database] Add migration that fixes up poll voter counts using the new algorithm (ISH-377) 2024-06-20 20:05:51 +02:00
Laura Hausmann
c4763e9c67
[backend/database] Fix Note.IsQuote not handling cw-only renotes correctly 2024-06-19 14:05:28 +02:00
Laura Hausmann
0bbdbbe7f3
[backend/database] Remove unused db function reference 2024-06-19 14:04:13 +02:00
Laura Hausmann
24bde5ad29
[backend] Use User.IsLocalUser / .IsRemoteUser instead of null-checks where applicable (ISH-370) 2024-06-17 17:25:29 +02:00
Laura Hausmann
fc7a1fe95c
[backend/federation] Make sure new follow & unfollow activities have a consistent identifier (ISH-367) 2024-06-17 17:16:27 +02:00
Laura Hausmann
8b36f1aecf
[backend/masto-client] Paginate likes & bookmarks based on their identifier (instead of the note identifier) 2024-06-15 16:57:06 +02:00
Laura Hausmann
ed38dc3788
[backend/database] Fix poll votersCount query for PostgreSQL versions prior to 16 2024-06-14 18:59:36 +02:00
Laura Hausmann
3467fe952c
[backend/database] Add support for connection multiplexing 2024-06-10 19:26:21 +02:00
Laura Hausmann
39a6ed2215
[backend/database] Fix votersCount getting set for all polls 2024-06-05 15:59:27 +02:00
Laura Hausmann
dba4196655
[backend/core] Track poll votersCount for local & remote polls 2024-06-05 15:26:25 +02:00
Laura Hausmann
51f0890c36
[backend/database] Move more migrations into their respective version folder 2024-05-27 22:11:18 +02:00
Laura Hausmann
e77c768882
[backend/database] Switch job identifier generation scheme to from UUIDv4 to ULID 2024-05-27 22:11:18 +02:00
Laura Hausmann
2ffededb4d
[backend/database] Add explicit parentheses to Note.IsVisibleFor
This is semantically identical, but should be easier to read.
2024-05-23 15:17:44 +02:00
Laura Hausmann
9636a096fc
[backend/masto-client] Respect filters in WebSocket connections (ISH-328) 2024-05-17 19:21:41 +02:00
Laura Hausmann
aeb1ce6d24
[backend] Fix build 2024-05-14 20:17:28 +02:00
Laura Hausmann
ed04ab9542
[backend/database] Add migration that fixes up inconsistent drive file metadata 2024-05-14 20:15:49 +02:00
Laura Hausmann
fa3dd06b6c
[backend/masto-client] Paginate mutes, blocks & follow requests by their id instead of the user id (ISH-285) 2024-05-03 01:56:22 +02:00
Laura Hausmann
0ad4346e51
[backend/masto-client] Add user_settings feature flag for hiding inaccessible notes (ISH-303) 2024-05-02 23:33:41 +02:00
Laura Hausmann
f8301613e7
[backnd/database] Don't try to parse UserProfile.MutedWords 2024-05-01 15:45:36 +02:00
Laura Hausmann
d54cb5c391
[backend/database] Add renoteUri and replyUri properties to the note table 2024-04-30 00:15:58 +02:00
Laura Hausmann
61adc27b18
[backend/masto-client] Use new defaultRenoteVisibility user setting instead of defaulting to followers if not explicitly specified (ISH-290) 2024-04-28 23:09:20 +02:00
Laura Hausmann
bee733b3da
[backend/database] Rename DataProtectionKeys table to data_protection_keys for consistency 2024-04-28 20:15:56 +02:00
Laura Hausmann
d7a69375b6
[backend/database] Increase instance softwareName and softwareVersion max length to 256 2024-04-27 21:26:54 +02:00
Laura Hausmann
0b77107b1e
[backend/database] Add connection pool size configuration option 2024-04-27 20:05:42 +02:00
Laura Hausmann
eba6152493
[backend/database] Add indicies to the instance table 2024-04-25 00:40:51 +02:00
Laura Hausmann
10d1cb4768
[backend/core] Emit note edit notification for polls that have been voted in 2024-04-24 21:43:45 +02:00
Laura Hausmann
db49473128
[backend/database] Add index on note.visibility 2024-04-24 02:01:06 +02:00
Laura Hausmann
246a70caf9
[backend/api] Add visibility to NoteCreateRequest, use enum conversions instead of strings to represent note visibility 2024-04-22 17:56:32 +02:00
Laura Hausmann
e04665f9d7
[backend/database] Remove redundant index on the marker table
This index is identical to the composite primary key, and therefore redundant.
2024-04-19 20:19:51 +02:00
Laura Hausmann
79c3a9c891
[backend/database] Replace complex Index/PrimaryKey/ForeignKey references with their nameof() equivalents 2024-04-19 20:19:51 +02:00
Laura Hausmann
9e11398938
[backend/database] Refactor ForeignKey attributes to use nameof() where applicable (ISH-24) 2024-04-19 20:11:26 +02:00
Laura Hausmann
d10dbec5b7
[backend/database] Refactor Index attributes to use nameof() where applicable (ISH-24) 2024-04-19 20:11:26 +02:00
Laura Hausmann
ebbec76cfe
[backend/federation] Resolve split domain user hosts exactly once (ISH-201)
This is necessary, since while the current version is handling split domain instances correctly, previous versions (for users who migrated from iceshrimp-js) may have not done so.
Since account domains never change, we only have to do this once.
2024-04-19 00:55:30 +02:00
Laura Hausmann
c38ff71791
[backend/database] Move emoji url generation to the Emoji entity 2024-04-18 20:46:46 +02:00
Laura Hausmann
fe68c03428
[backend/database] Fail gracefully if initial migration is pending and database is not empty (ISH-265) 2024-04-18 18:51:07 +02:00
Laura Hausmann
8a48207957
[backend/database] Enforce local-only for authenticated visibility checks as well 2024-04-17 16:49:16 +02:00
Laura Hausmann
9c45107167
[backend/database] Move v2024.1-beta1 migrations into subfolder 2024-04-14 21:41:37 +02:00
Laura Hausmann
3b91baabf8
[backend/database] Prune .Designer.cs files in preparation of the v2024.1-beta1 release (ISH-119) 2024-04-14 21:29:20 +02:00