Commit graph

1576 commits

Author SHA1 Message Date
Laura Hausmann
8b61186449
[backend/razor] Improve queue dashboard 2024-06-21 21:30:44 +02:00
Laura Hausmann
db2a504504
[backend/razor] Add favicon to _Layout.cshtml 2024-06-21 21:24:06 +02:00
Laura Hausmann
9ac2284dd5
[backend/razor] Refactor queue dashboard job view to better accommodate different job data formats 2024-06-21 21:08:40 +02:00
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
Lilian
4c7b1c3869
[frontend] Add admin_session cookie 2024-06-21 02:28:06 +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
Lilian
f36c08f346 [frontend] Add mentions when composing reply (ISH-375) 2024-06-19 22:12:49 +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
Lilian
eb1c123c61
[frontend] Update Note Text on parameter change (ISH-374) 2024-06-19 16:03:06 +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
6469b7536f
[parsing/tests] Suppress localizable string inspection 2024-06-19 02:13:20 +02:00
Lilian
aee6040c9d
[frontend] Remove debug logging 2024-06-19 02:08:35 +02:00
Lilian
bc21a6a8af
[backend/Pages] Fix typo in FrontendSPA meta tags 2024-06-19 02:05:34 +02:00
Lilian
9a5312e57c
[frontend] Fix VirtualScroller logic error 2024-06-19 01:57:52 +02:00
Lilian
4e150ec42f
[frontend] Comment 2024-06-19 01:57:52 +02:00
Lilian
44fce3d637
[frontend] Make sidebar and widget panel sticky 2024-06-19 01:57:52 +02:00
Lilian
80d97d1a5d
[frontend] Automatically scroll Note into view on SingleNote page 2024-06-19 01:57:52 +02:00