gotosocial/internal/processing
kim f4fcffc8b5
[bugfix] use a much shorter refresh limit for statuses with polls (#2453)
* specifically use a much shorter refresh limit for statuses with polls

* allow specifying whether status must be upToDate in calls to Get(Visible)?TargetStatusBy_(), limit force refresh to 5 minute cooldown

* remove the PollID check from statusUpToDate()

* remove unnecessary force flag checks

* remove unused field

* check refresh status error

* use argument name 'refresh' instead of 'upToDate' to better fit with the codebase

* add statuses_poll_id_idx

* remove the definitely-not copy-pasted comment i accidentally typed out in full

* only synchronously refresh if the refresh flag is provided, otherwise do async

* fix wrong force value being provided for async

---------

Co-authored-by: tobi <tobi.smethurst@protonmail.com>
2023-12-15 15:24:39 +01:00
..
account [bugfix] Ensure pre renders as expected, fix orderedCollectionPage (#2434) 2023-12-10 12:36:00 +01:00
admin [bugfix] return 400 Bad Request on more cases of malformed AS data (#2399) 2023-11-30 16:22:34 +00:00
common [bugfix] use a much shorter refresh limit for statuses with polls (#2453) 2023-12-15 15:24:39 +01:00
fedi [bugfix] use a much shorter refresh limit for statuses with polls (#2453) 2023-12-15 15:24:39 +01:00
list [chore] deinterface the typeutils.Converter and update to use state structure (#2217) 2023-09-23 18:44:11 +02:00
markers [chore] deinterface the typeutils.Converter and update to use state structure (#2217) 2023-09-23 18:44:11 +02:00
media [feature] Media attachment placeholders (#2331) 2023-11-10 19:29:26 +01:00
polls [bugfix] use a much shorter refresh limit for statuses with polls (#2453) 2023-12-15 15:24:39 +01:00
report [chore] deinterface the typeutils.Converter and update to use state structure (#2217) 2023-09-23 18:44:11 +02:00
search [bugfix] Narrow search scope for accounts starting with '@'; don't LOWER SQLite text searches (#2435) 2023-12-10 14:15:41 +01:00
status [bugfix] use a much shorter refresh limit for statuses with polls (#2453) 2023-12-15 15:24:39 +01:00
stream [bugfix] support endless polls, and misskey's' method of inferring expiry in closed polls (#2349) 2023-11-11 10:15:04 +00:00
timeline [bugfix] add missing "local" param in public timeline link headers (#2277) 2023-10-18 12:32:40 +02:00
user [feature] List replies policy, refactor async workers (#2087) 2023-08-09 19:14:33 +02:00
workers [bugfix] Fix wrong notification type sent for poll end (#2429) 2023-12-08 23:33:42 +01:00
account_test.go [bugfix] Fix multiple "updated_at" columns for media updates (#1660) 2023-03-31 15:19:50 +02:00
app.go [chore] deinterface the typeutils.Converter and update to use state structure (#2217) 2023-09-23 18:44:11 +02:00
followrequest_test.go [feature] add paging to account follows, followers and follow requests endpoints (#2186) 2023-09-12 14:00:35 +01:00
instance.go [chore] deinterface the typeutils.Converter and update to use state structure (#2217) 2023-09-23 18:44:11 +02:00
oauth.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
preferences_test.go [feature] Implement the preferences client API (#1740) 2023-05-06 17:42:58 +02:00
preferences.go [feature] Implement the preferences client API (#1740) 2023-05-06 17:42:58 +02:00
processor_test.go [bugfix] process account delete side effects in serial, not in parallel (#2360) 2023-11-14 15:57:25 +01:00
processor.go [bugfix] self-referencing collection pages for status replies (#2364) 2023-11-20 12:22:28 +00:00
util.go [chore] de-interface{} the federator and dereferencer structs (#2285) 2023-10-23 10:58:13 +01:00