Laura Hausmann
2e536bcd47
[backend/core] Refactor GetOrCreateSystemUserAsync
2024-06-21 20:15:36 +02:00
Laura Hausmann
dd3ea49367
[backend/core] Fix edge case in GetOrCreateSystemUserAsync
2024-06-21 20:13:24 +02:00
Laura Hausmann
6386601e3e
[backend/razor] More exception details improvements for queue dashboard views
2024-06-21 19:58:05 +02:00
Laura Hausmann
5f6603f044
[backend/razor] Improve exception details view in queue dashboard
2024-06-21 19:45:47 +02:00
Laura Hausmann
3599150603
[backend/database] Add Exception column to Job table
2024-06-21 19:18:31 +02:00
Laura Hausmann
2e5e05872d
[backend/razor] Adjust queue dashboard css
2024-06-21 19:09:18 +02:00
Laura Hausmann
8d14b04821
[backend/core] Attach user entity to database change tracker in GetOrCreateSystemUserAsync
...
This prevents erroneous insert attempts when the data comes from the cache instead of the database.
2024-06-21 17:20:12 +02:00
Laura Hausmann
b23348cde9
[backend/core] Add AsyncKeyedLocker to SystemUserService
2024-06-21 17:01:53 +02:00
Laura Hausmann
c49973becf
[backend] Code cleanup
2024-06-21 16:24:08 +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
f2e4d11ce4
[backend/configuration] Fix typo(s) that was causing JobRetention settings not to be applied correctly
2024-06-21 16:11:07 +02:00
Laura Hausmann
596980eb84
[backend/core] Make sure GetOrCreateSystemUserAsync calls username.ToLowerInvariant
2024-06-21 16:04:36 +02:00
Laura Hausmann
9319dc22c9
[backend/core] Refactor NumberExtensions
2024-06-21 16:02:40 +02:00
Laura Hausmann
6adfa87966
[backend/api] Add ContentType property to NoteAttachment (ISH-379)
2024-06-21 14:53:01 +02:00
Laura Hausmann
32d6cb555d
[backend/configuration] Allow configuring of queue job retention
2024-06-21 14:42:00 +02:00
Laura Hausmann
a253e83176
[backend/federation] Refactor ActivityRenderer
2024-06-21 14:28:29 +02:00
Laura Hausmann
efa2cdc9c7
[backend/federation] Populate to/cc fields correctly for outgoing Notes
2024-06-21 14:27:12 +02:00
Laura Hausmann
0c59081aee
[backend/federation] Add JsonIgnore attributes to internal properties to prevent them from being written to the job table unnecessarily
2024-06-21 14:14:22 +02:00
Laura Hausmann
19c9b7bf90
[backend/database] Add StackTrace column to Job table
2024-06-21 14:05:34 +02:00
Laura Hausmann
503b8c5985
[backend/razor] Render display durations >1000ms properly on queue dashboard
2024-06-21 13:57:15 +02:00
Laura Hausmann
2e562b04d8
[backend/razor] Make queue dashboard use ToDisplayStringTz instead of ToStringIso8601Like for rendering date/time strings
2024-06-21 04:26:21 +02:00
Laura Hausmann
d2cea410e9
[backend/razor] Add queue dashboard (ISH-316)
2024-06-21 04:08:58 +02:00
Laura Hausmann
a475045806
[backend/api] Add IsModerator and IsAdmin flags to AuthResponse
2024-06-21 00:01:15 +02:00
Laura Hausmann
4f23e31ab7
[backend/csproj] Bump Iceshrimp.ObjectStorage.S3 version
2024-06-20 21:02:03 +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
7f14c3df81
[backend/core] Improve handling of voter counts in PollService (ISH-377)
2024-06-20 20:01:08 +02:00
Laura Hausmann
36296cd28c
[backend/masto-client] Fix poll endpoint authentication (ISH-377)
2024-06-20 19:38:16 +02:00
Laura Hausmann
b4b180f877
[backend/api] Add NoteResponse.IsSensitive property
2024-06-20 19:33:59 +02:00
Laura Hausmann
5857e9ec7d
[backend] Fix typo
2024-06-20 18:29:34 +02:00
Laura Hausmann
978a19d6b1
[backend/logging] Improve logging in ErrorHandlerMiddleware further
2024-06-20 18:25:15 +02:00
Laura Hausmann
d94ccaceaa
[backend/logging] Log suppressed logs with trace loglevel
2024-06-20 18:18:18 +02:00
Laura Hausmann
8d4dd6ab52
[backend/masto-client] Fix rendering of quote-renotes causing InvalidOperationException during database access
2024-06-20 13:34:01 +02:00
Laura Hausmann
eb167cf482
[backend/federation] Check for Instance.IsSuspended in PreDeliverQueue for ASFollow activities
...
We're not currently using that property, but we may in the future.
2024-06-19 18:37:43 +02:00
Laura Hausmann
9dbc7cfc14
[backend/federation] Filter skipped & blocked instances in PreDeliverQueue (ISH-366)
...
This:
- improves performance (because we can check them in batches)
- improves efficiency (because we don't create deliver jobs that get discarded immediately)
- allows us to check whether the activity is an ASFollow & let it through if it is (for skipped instances filter only)
We still check for blocked instances in the deliver queue in case a deliver job is created via another code path.
2024-06-19 17:37:57 +02:00
Laura Hausmann
aed143cc59
[backend/csproj] Depend on in-house builds of NetVips.Native
...
This bypasses https://github.com/kleisauke/net-vips/issues/233 and allows us to not need separate msbuild options per architecture, greatly simplifying build options.
2024-06-19 16:52:48 +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
Lilian
bc21a6a8af
[backend/Pages] Fix typo in FrontendSPA meta tags
2024-06-19 02:05:34 +02:00
Lilian
aaa9155000
[frontend] Fix note CSS
2024-06-19 01:56:55 +02:00
Laura Hausmann
d4b75d13bd
[frontend] Improve loading screen
2024-06-19 01:56:49 +02:00
Laura Hausmann
98ac934897
[frontend] Add phosphor icons
2024-06-19 01:56:48 +02:00
Laura Hausmann
1d262ab326
[backend/federation] Pass inboxUserId on to ProcessNoteAsync/ResolveNoteAsync for ASBite and ASCreate activities
2024-06-17 22:08:24 +02:00
Laura Hausmann
752161d7db
[backend/core] Refactor QueryableFtsExtensions
2024-06-17 20:41:09 +02:00
Laura Hausmann
1d02bd7119
[backend/core] Add in:interactions search query filter, allow multiple from: filters
2024-06-17 20:41:09 +02:00
Laura Hausmann
af5e5752d5
[backend/api] Add admin endpoint to force instance dead/alive status (ISH-366)
2024-06-17 18:25:16 +02:00
Laura Hausmann
663903c992
[backend/api] Change RelationData object into a [Flags] enum (ISH-368)
...
This maintains the efficiency of JsonIgnoreCondition.WhenWritingDefault while generating a valid OpenAPI schema.
2024-06-17 17:54:28 +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
95592df2ca
[backend/core] Don't create reply notifications on note update
...
This prevents erroneous duplicate notifications from being created.
2024-06-16 23:36:39 +02:00
Laura Hausmann
bf9564c684
[backend/api] Include note properties on like/unlike/renote/unrenote
2024-06-16 23:21:33 +02:00