summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2022-04-24[feature] Implement media v2 endpoint to accommodate Tusky 17 (#480)Libravatar tobi3
* serve v2 media api * go fmt
2022-04-24[chore] Update bun and sqlite dependencies (#478)Libravatar tobi246
* update bun + sqlite versions * step bun to v1.1.3
2022-04-24Revert "[chore] Tidy up federating db locks a tiny bit (#472)" (#479)Libravatar tobi1
This reverts commit 31c1067a548039e7d95f131b3972ecfe1f57f835.
2022-04-24[documentation] NGINX docs updates (#471)Libravatar tobi1
* start adjusting nginx documentation * update NGINX docs * add link to the websocket docs
2022-04-23[documentation] Update index.md (#475)Libravatar snan1
This sentence kind of trai
2022-04-22[documentation] Add WebSocket protocol documentation (#470)Libravatar tobi2
2022-04-19[chore] Tidy up federating db locks a tiny bit (#472)Libravatar tobi1
2022-04-19[Documentation] Simplify docker-compose documentation + example (#468)Libravatar tobi2
* simplify docker-compose docs + example * Change note about reverse proxy, add traefik * Linting
2022-04-18[docs] unify nginx explainers and add apache httpd (#455)Libravatar Mina Galić5
* docs: unify nginx explainers and add apache httpd there are two places where nginx + certbot is explained, unify that into one place. Add apache httpd, following the same steps, but using mod_md for LetsEncrypt add a note about #453 in both guides. Link to both, and call the section reverse proxy, instead of NGINX * restore full nginx.conf from docker.md * add installation_guide/apache-httpd.md to mkdocs
2022-04-18[bugfix] Fix infinite domain block database loop (#467)Libravatar tobi1
This fixes an issue where the domain block logic would go into an infinite loop.
2022-04-18[bugfix] Use our own (Batch)Deliver implementation for federated messages (#466)Libravatar tobi1
2022-04-18[feature] Add log-db-queries config option (#465)Libravatar tobi11
2022-04-16[documentation] add screenshots to docs (#459)v0.3.0Libravatar tobi4
2022-04-16[bugfix] Convert IDNs to punycode before using as session name (#458)Libravatar tobi2
* convert hostname to punycode for session name * test punycode
2022-04-16[bugfix] Use background ctx for domain block side effects (#457)Libravatar tobi1
2022-04-15[feature] Web profile pages for accounts (#449)Libravatar tobi33
* add default avatars * allow webModule to error * return errWithCode from account get * add AccountGetLocalByUsername * check nil requesting account * add timestampShort function for just month/year * move loading logic to New + add default avatars * add profile page view * update swagger docs * add excludeReblogs to GetAccountStatuses * ignore casing when selecting local account by username * appropriate redirects * css fiddling * add 'about' heading * adjust thread page to work with routing * return AP representation if requested + authorized * simplify auth check * go fmt * golangci-lint ignore math/rand
2022-04-10[bugfix] Fix broken only_media and only_public flags on ↵v0.2.3Libravatar tobi4
/api/v1/accounts/:id/statuses (#448) * bump superseriousbusiness/activity version * fetch list of follower inbox iris * add test for getting account statuses * fix incorrect publicOnly parsing * update media not null query
2022-04-05[dependency] Update superseriousbusiness/activity dependency (#446)Libravatar tobi6
* bump superseriousbusiness/activity version * fetch list of follower inbox iris
2022-04-02[chore] Update Go version to 1.18 (#444)Libravatar tobi16
* linting with new golangci-lint version * update go to 1.18 * bump versions in drone.yml * use new runtime/debug package for version info * remove Commit build flag from goreleaser * remove mock commit + version from build script * go fmt * add dummy version env flag to test container * install git in golang container for testing * only set versionString if Version is defined
2022-03-29[documentation] Add third-party packaging to documentation (#443)Libravatar tobi3
2022-03-29[feature] Dereference remote mentions when the account is not already known ↵v0.2.2Libravatar tobi16
(#442) * remove mention util function from db * add ParseMentionFunc to gtsmodel * add parseMentionFunc to processor * refactor search to simplify it a bit * add parseMentionFunc to account * add parseMentionFunc to status * some renaming for clarity * test dereference of unknown mentioned account
2022-03-28[feature/security] Add systemd sandboxing options to harden security (#440)Libravatar OniriCorpe1
2022-03-22 [bugfix] Fix media uploads blocking after a failed upload #438 Libravatar tobi1
safer in case of failure
2022-03-21[bugfix] Fix images not being processed correctly sometimes (#437)Libravatar tobi22
* bump exif-terminator to latest version * add and test giant turnip from turnip.farm * don't error if content property is nil
2022-03-21don't error if content property is nil (#436)Libravatar tobi1
2022-03-21[bugfix] Close ReadClosers properly in the media package (#434)Libravatar tobi4
* defer lock reader * close readers when finished with them * close the reader in the teereader when finished
2022-03-19[feature] Admin account actions (#432)Libravatar tobi14
* add accountAction to the admin API * model admin account action * add admin account action to the processor * add migration for new AdminAccountActions table * fix accounts admin path * Update swagger docs
2022-03-15[feature] Federate local account deletion (#431)Libravatar tobi15
* add account delete to API * model account delete request * add AccountDeleteLocal * federate local account deletes * add DeleteLocal * update transport (controller) to allow shortcuts * delete logic + testing * update swagger docs * more tests + fixes
2022-03-15[performance] Add dereference shortcuts to avoid making http calls to self ↵Libravatar tobi7
(#430) * update transport (controller) to allow shortcuts * go fmt * expose underlying sig transport to allow test sigs
2022-03-13[bugfix] Fix bug where admin panel could not be accessed at `/admin` (#427)Libravatar tobi2
* clarify comments * tidy up static serving + add /admin redirect
2022-03-13[bugfix] Fix html-escaped characters in content warnings (#426)Libravatar tobi2
* test status create with odd CWs * use SanitizeCaption for content warning escaping
2022-03-08[dependencies] update go-store, go-mutexes (#422)Libravatar kim13
* update go-store, go-mutexes Signed-off-by: kim <grufwub@gmail.com> * update vendored code Signed-off-by: kim <grufwub@gmail.com>
2022-03-07[performance] Database optimizations (#419)v0.2.1Libravatar tobi5
* create first index on notifications * tidy up + add tests * log queries for trace, ops for debug * index commonly used fields * rearrange query * add a few more indexes * remove schema-breaking index (add this back in later) * re-add cleanup query index
2022-03-07[feature] Clean up/uncache remote media (#407)Libravatar tobi424
* Add whereNotEmptyAndNotNull * Add GetRemoteOlderThanDays * Add GetRemoteOlderThanDays * Add PruneRemote to Manager interface * Start implementing PruneRemote * add new attachment + status to tests * fix up and test GetRemoteOlderThan * fix bad import * PruneRemote: return number pruned * add Cached column to mediaattachment * update + test pruneRemote * update mediaTest * use Cached column * upstep bun to latest version * embed structs in mediaAttachment * migrate mediaAttachment to new format * don't default cached to true * select only remote media * update db dependencies * step bun back to last working version * update pruneRemote to use Cached field * fix storage path of test attachments * add recache logic to manager * fix trimmed aspect ratio * test prune and recache * return errwithcode * tidy up different paths for emoji vs attachment * fix incorrect thumbnail type being stored * expose TransportController to media processor * implement tee-ing recached content * add thoughts of dog to test fedi attachments * test get remote files * add comment on PruneRemote * add postData cleanup to recache * test thumbnail fetching * add incredible diagram * go mod tidy * buffer pipes for recache streaming * test for client stops reading after 1kb * add media-remote-cache-days to config * add cron package * wrap logrus so it's available to cron * start and stop cron jobs gracefully
2022-03-01[documentation] Creates Docker documentation and docker-compose.yaml (#416)Libravatar 0hlov33
* exludes docker-volume from exemple/docker-compose * Adds an docker-compose.yaml example and adds some readme to the docker.md * Changes Docker-Compose Example * Configures docker-compose.yaml and docker.md * Adds some cosmetics to the Documentation * Adds UserID:GroupID * Describes how to create a new user
2022-02-28[packaging] bump to builder 0.0.3 (#418)Libravatar tobi1
2022-02-27bump versions (#417)Libravatar tobi1
2022-02-27[packaging] Use buildx for multi-arch Docker builds (#413)Libravatar tobi4
* update drone to create latest manifest * add .dockerignore file * use buildx for multi-arch builds see https://docs.docker.com/buildx/working-with-buildx/ * don't use RUN commands in Dockerfile this was breaking multi-arch builds
2022-02-27Updates Docker Images (#415)Libravatar 0hlov31
2022-02-26[feature] Add Docker multi architecture Build and make goreleaser push the ↵Libravatar 0hlov31
images and manifests (#410)
2022-02-22[feature] Add postDataCallbackFunc to allow cleanup (#408)Libravatar tobi10
2022-02-21[bugfix] Fix thumbnail image type (#406)Libravatar tobi3
* fix thumbnail content-type * test fix thumbnail content-type
2022-02-19[feature] Gin enable gzip encoding (#405)Libravatar tobi11
* add gin gzip dependency * add gzip middleware to router * go mod tidy
2022-02-19[feature] Stream files via reader (#404)Libravatar tobi3
* serve files via reader rather than byte slice * close readcloser when we're done with it * cast reader to readcloser
2022-02-16Use type=email for email input (#400)Libravatar Shadowfacts1
So that mobile devices with software keyboards use the email keyboard and turn off autocorrect/autocapitalization
2022-02-15[bugfix] Only mark cookies as Secure on https (#398)Libravatar Shadowfacts1
Fixes cookies not being stored/sent by Safari when serving over plain http
2022-02-14[chore] fix mirror + clean up (#396)Libravatar tobi1
2022-02-12Merge pull request #361 from superseriousbusiness/media_refactorv0.2.0Libravatar kim244
Refactor media handler to allow async media resolution
2022-02-12[chore] Add nightly mirror to Codeberg.org (#392)Libravatar tobi1
* add mirror pipeline => codeberg * remove trigger in mirror step * fix file formatting
2022-02-08Go mod tidyLibravatar tsmethurst1