Age | Commit message (Collapse) | Author | Files |
|
(#3335)
* add support for media with embedded rotation data in stream side data list
* *grumble grumble* linter
|
|
(#3332)
* Do not use plainAuth when no user or password. Fixes #3320
* formatting
---------
Co-authored-by: Yonas Yanfa <yonas.y@gmail.com>
|
|
replies (#3322)
* [feature] Allow implicit accept of pending replies
* update wording
|
|
* add nometrics API endpoint code, to ensure prometheus NEVER compiled in unless wanted
* whoops, fix build tagging
|
|
logging, don't log ErrHideStatus when timelining (#3330)
* ensure that errors checking status visibility / converting aren't dropped
* add some more context to error messages
* include calling function name in log entries
* don't error on timelining hidden status
* further code to ignore statusfilter.ErrHideStatus type errors
* remove unused error type
* add local instance status / domain / user counts
* add checks for localhost
* rename from InstanceCounts to LocalInstance
* improved code comment
|
|
* add error message to gin context on header blocked or not allowed
* remove the unused header filter tracking code (leaving OTEL TODOs in place)
* appease the linter
|
|
inlining (#3323)
* move logging levels into log package itself
* ensure inconsistent inlining doesn't mess with log calling function name
* remove unused global variable
* fix log level
|
|
* [feature] Parse `interaction_policy` on status submission
* beep boop
* swagger? i barely know er
|
|
|
|
* improved federatingdb logging in cases of unknown iri / types, add new log methods
* whoops; forgot to wrap log argument in serialize{} !
* use debug instead of warn level
* switch last entry to Debug
|
|
|
|
|
|
|
|
* [bugfix] Be more lenient when parsing mastodown following.csv
* use follow.Notify
|
|
overall (#3290)
* improvements to caching for lists and relationship to accounts / follows
* fix nil panic in AddToList()
* ensure list related caches are correctly invalidated
* ensure returned ID lists are ordered correctly
* bump go-structr to v0.8.9 (returns early if zero uncached keys to be loaded)
* remove zero checks in uncached key load functions (go-structr now handles this)
* fix issues after rebase on upstream/main
* update the expected return order of CSV exports (since list entries are now down by entry creation date)
* rename some funcs, allow deleting list entries for multiple follow IDs at a time, fix up more tests
* use returning statements on delete to get cache invalidation info
* fixes to recent database delete changes
* fix broken list entries delete sql
* remove unused db function
* update remainder of delete functions to behave in similar way, some other small tweaks
* fix delete user sql, allow returning on err no entries
* uncomment + fix list database tests
* update remaining list tests
* update envparsing test
* add comments to each specific key being invalidated
* add more cache invalidation explanatory comments
* whoops; actually delete poll votes from database in the DeletePollByID() func
* remove added but-commented-out field
* improved comment regarding paging being disabled
* make cache invalidation comments match what's actually happening
* fix up delete query comments to match what is happening
* rename function to read a bit better
* don't use ErrNoEntries on delete when not needed (it's only needed for a RETURNING call)
* update function name in test
* move list exclusivity check to AFTER eligibility check. use log.Panic() instead of panic()
* use the poll_id column in poll_votes for selecting votes in poll ID
* fix function name
|
|
|
|
* [chore] Reject replies to rejected replies
* tweak
* don't set URI for implicit Rejects
|
|
* [bugfix] Use better plaintext representation of status for filtering
* add new deps to readme
* lint
* update tests
* update regexes
* address review comments
* remove now unused xxhash
* whoops, wrong logger
* Merge branch 'main' into status_filtering_bugfix
* put cache in caches struct
* pain
|
|
present (#3308)
* always set the status sensitive flag to true if it has a content-warning with media
* whoops use attachment ids instead of mention ids ... :facepalm:
|
|
This doesn't change within the loop, so there's no point in repeating it.
|
|
* [chore] Update go-sqlite3 to 0.18.3
* [chore] Fix getting the sqlite3.Conn
|
|
* [bugfix] Update home timeline query to ignore exclusive list entries
* a
|
|
statuses in the "sin bin" 😈 (#3271)
* [feature] Process `Reject` of interaction via fedi API, put rejected statuses in the "sin bin"
* update test
* move nil check back to `rejectStatusIRI`
|
|
* search for mentions also by username,domain in status deref, handle deleted statuses in enrichStatusSafely()
* return d.enrichStatusSafely() directly
|
|
Fixes #2616
|
|
(#3272)
* [feature/frontend] Add options to include Unlisted posts or hide all posts
* finish up
* swagger
* move invalidate call into bundb package, avoid invalidating if not necessary
* rename show_web_statuses => web_visibility
* don't use ptr for webvisibility
* last bits
|
|
|
|
* [bugfix] Fix temp table deletion causing runaway allocations
* move some vars around
* small fixes
* rely on conn max age to recycle temp tables
* fackin' ell m8
|
|
|
|
|
|
* [chore/performance] Further reduce nil uncached queries
* more checks
|
|
|
|
* [chore/performance] Avoid unnecessary "uncached" queries
* go fmt
|
|
* use single-threaded image resizing in native code so we have more control over goroutines
* implement parallel-free versions of image transform functions also
* remove debug code
|
|
|
|
ffprobe (#3251)
* [chore] Implement readOneFile fs
* further isolation
* remove fmt call
* tweaks
|
|
blurhashes (#3247)
* [chore] Use `imaging.Fit`, use even tinier blurhashes
* avoid calling resize if not necessary
* update blurhashes + thumb
|
|
|
|
|
|
|
|
|
|
|
|
statuses as pending approval (#3231)
* [bugfix] Carry-over pendingApproval + approvedByURI to avoid pending already-approved remote statuses
* don't carry over pending_approval, not necessary
* comment
|
|
|
|
* [feature] Interaction requests client api + settings panel
* test accept / reject
* fmt
* don't pin rejected interaction
* use single db model for interaction accept, reject, and request
* swaggor
* env sharting
* append errors
* remove ErrNoEntries checks
* change intReqID to reqID
* rename "pend" to "request"
* markIntsPending -> mark interactionsPending
* use log instead of returning error when rejecting interaction
* empty migration
* jolly renaming
* make interactionURI unique again
* swag grr
* remove unnecessary locks
* invalidate as last step
|
|
* use a single instance of wazero runtime and compiled modules
* remove test output :facepalm:
* undo process-{media,emoji} changes
* update test runner to include wazero compilation cache
* sign drone.yml
---------
Co-authored-by: tobi <tobi.smethurst@protonmail.com>
|
|
* [feature] Use `local_only` field, deprecate `federated` field
* use `deprecated` comment for form.Federated
* nolint
|
|
* use native Go code to probe JPEGs
* add note about copying from github.com/disintegration/imaging
* add more code comments
|
|
|
|
|