summaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)AuthorFiles
2024-03-12[feature] Process incoming `Move` activity (#2724)Libravatar tobi1
* [feature] Process incoming account Move activity * fix targetAcct typo * put move origin account on fMsg * shift more move functionality back to the worker fn * simplify error logic
2024-03-08[docs] Add note about privileged ports (#2735)Libravatar tobi1
2024-03-07[docs/chore] Swagger fixes for filters (#2730)Libravatar Vyr Cossont1
* Swagger: filtersV1Get should return an array * Swagger: context must use multi format
2024-03-06[chore] Fix a Swagger warning that only manifests during Go client code ↵Libravatar Vyr Cossont1
generation (#2729)
2024-03-06[bugfix] Fix Swagger spec and add test script (#2698)Libravatar Vyr Cossont1
* Add Swagger spec test script * Fix Swagger spec errors not related to statuses with polls * Add API tests that post a status with a poll * Fix creating a status with a poll from form params * Fix Swagger spec errors related to statuses with polls (this is the last error) * Fix Swagger spec warnings not related to unused definitions * Suppress a duplicate list update params definition that was somehow causing wrong param names * Add Swagger test to CI - updates Drone config - vendorizes go-swagger - fixes a file extension issue that caused the test script to generate JSON instead of YAML with the vendorized version * Put `Sample: ` on its own line everywhere * Remove unused id param from emojiCategoriesGet * Add 5 more pairs of profile fields to account update API Swagger * Remove Swagger prefix from dummy fields It makes the generated code look weird * Manually annotate params for statusCreate operation * Fix all remaining Swagger spec warnings - Change some models into operation parameters - Ignore models that already correspond to manually documented operation parameters but can't be trivially changed (those with file fields) * Documented that creating a status with scheduled_at isn't implemented yet * sign drone.yml * Fix filter API Swagger errors * fixup! Fix filter API Swagger errors --------- Co-authored-by: tobi <tobi.smethurst@protonmail.com>
2024-03-06[feature] Filters v1 (#2594)Libravatar Vyr Cossont2
* Implement client-side v1 filters * Exclude linter false positives * Update test/envparsing.sh * Fix minor Swagger, style, and Bun usage issues * Regenerate Swagger * De-generify filter keywords * Remove updating filter statuses This is an operation that the Mastodon v2 filter API doesn't actually have, because filter statuses, unlike keywords, don't have options: the only info they contain is the status ID to be filtered. * Add a test for filter statuses specifically * De-generify filter statuses * Inline FilterEntry * Use vertical style for Bun operations consistently * Add comment on Filter DB interface * Remove GoLand linter control comments Our existing linters should catch these, or they don't matter very much * Reduce memory ratio for filters
2024-03-04[docs] Update HTTP signature docs a bit (#2721)Libravatar tobi1
* [docs] Update HTTP signature docs a bit * Update docs/federation/federating_with_gotosocial.md Co-authored-by: Daenney <daenney@users.noreply.github.com> * Update docs/federation/federating_with_gotosocial.md Co-authored-by: Daenney <daenney@users.noreply.github.com> --------- Co-authored-by: Daenney <daenney@users.noreply.github.com>
2024-03-01[docs] Use human sizes for size limitations (#2706)Libravatar Daenney1
This switches the documentation to use human sizes, so 50MiB instead of an integer number of bytes. This makes it much easier to understand what values are set, and less likely to accidentally set the wrong value.
2024-02-27[feature/oidc] Add support for very basic RBAC (#2642)Libravatar 9p41
* Add support for very basic RBAC * Add some small tests for allowedGroup and adminGroup * Switch to table-driven tests
2024-02-27[chore/docs] Various little docs updates (#2691)Libravatar tobi2
* [chore/docs] Various little docs updates * Update docs/api/swagger.md Co-authored-by: Daenney <daenney@users.noreply.github.com> --------- Co-authored-by: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com> Co-authored-by: Daenney <daenney@users.noreply.github.com>
2024-02-27[feature] Add experimental `instance-federation-spam-filter` option (#2685)Libravatar tobi2
* [chore] Move `visibility` to `filter/visibility` * [feature] Add experimental instance-federation-spam-filter option
2024-02-24[docs] Add oauth token authentication workflow (#2655)Libravatar Camille Frantz1
* add authentication workflow to docs * fixed the markdown callouts and added the new page to the mkdocs.yml * fixed the markdown callouts properly this time * applied the suggested edits * inline styles don't render in code blocks; added bash to the curl code blocks * scopes list was not rendering as a list; fixed a typo in getting your token warning * scopes can be a space separated list and not just one * apply suggested change to authentication.md Co-authored-by: Daenney <daenney@users.noreply.github.com> * applied latest suggested edits * added information on Gts scoped tokens * fixed admonition formatting --------- Co-authored-by: Daenney <daenney@users.noreply.github.com>
2024-02-23[chore] Increase default max image description to 1500 chars, collapse cw ↵Libravatar tobi2
char count into status (#2682) * [chore] Make default max image description 1500 chars, collapse cw char count into status * oops * tests
2024-02-20[feature] Add `requested_by` to relationship model (#2672)Libravatar tobi1
* [feature] Add `requested_by` to relationship model * whoops, missed some tests
2024-02-18[bugfix] Fix dereferencing ancestors on new status create (#2652)Libravatar tobi1
* [bugfix] Pass `latest` to dereferenceThread instead of barebones status * only mark status orphaned if visibility suggests parent is really deleted * tone down "not deref'd" warnings, since they represent a legit visibility situation * remove FAQ entry for "status not deref'd yet"
2024-02-12[docs] Fix a few things in the bare metal install (#2624)Libravatar Daenney1
* [docs] Fix a few things in the bare metal install Fixes #2454 * [chore] Fix shell variable interpolation
2024-02-12[docs] Enable some new features (#2623)Libravatar Daenney4
* [docs] Enable a bunch of markdown extensions * details makes admonitions collapsible and when started with ??? instead of !!! they'll be collpased by default * highlights are updated to include linenums by default but with a style that doesn't result in the linenums to be copy-pasted when selecting and pasting. This makes it possible to directly link to a specific line in the documentation instead of just the general page * caret, mark and tilde make it possible to highlight text and have super/subscripts * keys turns combos like `++ctrl+alt+del++` into HTML key elements showing a keyboard combination to press * tabbed makes it possible to have tabs within a document. Right now we have different sections sometimes to show the config for nginx, apache and Caddy, which can be turned into tabs instead and which tab is picked will get remebered * smartsymbols turns certain things, like `(c)` in the right symbol © * [docs] Upgrade all the python dependencies * [docs] Explain how to update conda deps
2024-02-09[docs] Mounting config file in container (#2622)Libravatar Daenney1
* [docs] Mounting config file in container This adds a small section clarifying how to mount a config.yaml in a container. * [docs] Work in GTS_CONFIG_PATH
2024-02-06[feature] serdes for moved/also_known_as (#2600)Libravatar tobi1
* [feature] serdes for moved/also_known_as * document `alsoKnownAs` and `movedTo` properties * only implicitly populate AKA uris from DB for local accounts * don't let remotes store more than 20 AKA uris to avoid shenanigans
2024-01-31[feature] Try HTTP signature validation with and without query params for ↵Libravatar tobi1
incoming requests (#2591) * [feature] Verify signatures both with + without query params * Bump to tagged version
2024-01-27[docs] Rework storage (#2571)Libravatar Daenney1
* Restructure the sections * Mention how to clear out remote avatars and headers, related to #2328 * Add more links to authoritative documentation on the AWS side * Show how to use the official AWS CLI * Make a separate section for migration to S3 compatible object backends
2024-01-27[docs] Add media attachments section to user docs (#2578)Libravatar tobi1
2024-01-25[docs] Fix log-timestamp-format (#2572)Libravatar Daenney1
Supersedes: #2556 Closes: #2455
2024-01-25[docs] Update Feditext URL (#2568)Libravatar Vyr Cossont1
Fixes #2567
2024-01-23[docs] Correct wrong tracing transport option (#2566)Libravatar Tsuribori1
Co-authored-by: Tsuribori <none@example.org>
2024-01-22[feature] Allow "charset=utf8" in incoming AP POST requests (#2564)Libravatar tobi1
* [feature] Allow "charset=utf8" in incoming AP POST requests * changed my mind * document POSTing to a GtS inbox * correct link
2024-01-22[docs] use latest cavage link for http signatures (#2565)Libravatar tobi1
2024-01-22[docs] Add a few things to the FAQ. (#2557)Libravatar mirabilos1
2024-01-21[docs] Updates for DB, swap and HTTP/2 on nginx (#2547)Libravatar Daenney2
* [docs] Add warning about DBs on network storage * [docs] Mention tuning swappiness on Linux * [docs] Mention enabling HTTP/2 on nginx
2024-01-16[feature] Account alias / move API + db models (#2518)Libravatar tobi1
* [feature] Account alias / move API + db models * go fmt * fix little cherry-pick issues * update error checking, formatting * add and use new util functions to simplify alias logic
2024-01-05[feature] Parse instance descriptors as markdown, show T&C on /about (#2481)Libravatar tobi3
* [feature] Parse instance descriptors as markdown, show T&C on /about * lint * remove unnecessary nullzero tags
2024-01-03[docs] Describe how to block IPs using a firewall (#2459)Libravatar Daenney1
* [docs] Describe how to block IPs using a firewall This adds some documentation on how to block one, multiple or whole IP ranges using the firewall. This can be helpful to protect from DDoS attacks or block certain parties from being able to communicate with your instance at all. * [docs] Fix indenting of nft rule * [docs] Split iptables and nftables into sections
2023-12-18[feature] request blocking by http headers (#2409)Libravatar kim2
2023-12-16[docs]: Update FAQ and ROADMAP (#2458)Libravatar OniriCorpe1
* Update faq.md * Update ROADMAP.md * Add PR links
2023-12-05[docs] Change configuration creation instructions (#2408)Libravatar Daenney3
* [docs] Change configuration creation instructions This changes the wording to push people towards creating their own configuration, without copying the whole example configuration. This makes it much easier to reconcile necessary configruation changes on upgrades. * [docs] Reword container version section This changes the wording in the Version section to make it more clear what the risks of a moving tag are. It pushes people to use an explicit release tag instead.
2023-11-27[docs] Add docs about memory requirements and swap (#2385)Libravatar Daenney1
2023-11-27[feature] Add `/api/v1/admin/debug/apurl` endpoint (#2359)Libravatar tobi1
2023-11-27[bugfix] Add Actor to outgoing poll vote Create; other fixes (#2384)Libravatar tobi1
2023-11-26[docs] Explain how to secure metrics endpoints (#2382)Libravatar Daenney2
2023-11-23[documentation] add poll and poll vote details to gotosocial federating doc ↵Libravatar kim1
(#2381) * add poll and poll vote details to gotosocial federating doc * small corrections
2023-11-22[docs] Add a warning about SQLite cache sizes (#2378)Libravatar Daenney1
* [docs] Add a warning about SQLite cache sizes * [docs] Fix admonition text * [docs] Lorde the indenting * [docs] Rework the text a bit
2023-11-21[feature] Federate status language in and out (#2366)Libravatar tobi1
* [feature] Federate status language in + out * go fmt * tests, little fix * improve comments * unnest a bit * avoid unnecessary nil check * use more descriptive variable for contentMap * prefer instance languages when selecting from contentMap * update docs to reflect lang selection * rename rdfLangString -> rdfLangs * update comments to mention Pollable * iter through slice instead of map
2023-11-21[docs] Annotate split-domain setup (#2372)Libravatar Daenney1
This adds account-domain and host comments next to each config line to hopefully make it easier for folks to understand what goes where.
2023-11-20[feature] Initial Prometheus metrics implementation (#2334)Libravatar Tsuribori3
* feat: Initial OTEL metrics * docs: add metrics documentation * fix: metrics endpoint conditional check * feat: metrics endpoint basic auth * fix: make metrics-auth-enabled default false * fix: go fmt helpers.gen.go * fix: add metric-related env vars to envparsing.sh * fix: metrics docs * fix: metrics related stuff in envparsing.sh * fix: metrics docs * chore: metrics docs wording * fix: metrics stuff in envparsing? * bump otel versions --------- Co-authored-by: Tsuribori <user@acertaindebian> Co-authored-by: Tsuribori <none@example.org> Co-authored-by: tsmethurst <tobi.smethurst@protonmail.com>
2023-11-17[feature] Set/show instance language(s); show post language on frontend (#2362)Libravatar tobi4
* update go text, include text/display * [feature] Set instance langs, show post lang on frontend * go fmt * WebGet * set language for whole article, don't use FA icon * mention instance languages + other optional config vars * little tweak * put languages in config properly * warn log language parse * change some naming around * tidy up validate a bit * lint * rename LanguageTmpl in template
2023-11-09[bugfix/docs] Poll api fixups + swagger docs (#2345)Libravatar tobi1
2023-11-08[feature] add support for polls + receiving federated status edits (#2330)Libravatar kim1
2023-11-04[docs/bugfix] fix link to swagger yaml (#2333)Libravatar tobi1
2023-10-31[bugfix] Relax `Mention` parsing, allowing either href or name (#2320)Libravatar tobi1
2023-10-30[feature] Customizable media cleaner schedule (#2304)Libravatar tobi3