Age | Commit message (Collapse) | Author | Files |
|
* update media manager to use internal/worker package, update worker with better logging
Signed-off-by: kim <grufwub@gmail.com>
* fix Queue() trace log message format operators
Signed-off-by: kim <grufwub@gmail.com>
* update media manager comment to match updated worker implementation
Signed-off-by: kim <grufwub@gmail.com>
|
|
* Update glossary, expand entry for dereferencing
* Add glossary as separate file
|
|
|
|
|
|
* move initial prune up to the server start function
* don't do initial prune when starting media manager
* add admin/mediaremoteprune in processor
|
|
|
|
changed (#533)
Signed-off-by: kim <grufwub@gmail.com>
|
|
|
|
* Adds a Kubernetes Helm Chart to README.md
* Changes Chart-URL
* Adds GoToSocial Helm Chart section
|
|
|
|
* create visibility filter for boostability and allow self-boosting for any visbility but direct messages
* add a followers-only status to local_account_2
* fix typo in comment
* add license header, unwrap errors, be explicit about non-boostable visibility settings to avoid rogue boosting from miscoded clients, use ID compare for checking if self-boosting
* add tests for statusboostable filter
* fix tests that were affected by adding a new status to the test data
* fix the rest of tests affected by adding a status to the textrig data
|
|
* update all but bun libraries
Signed-off-by: kim <grufwub@gmail.com>
* remove my personal build script changes
Signed-off-by: kim <grufwub@gmail.com>
|
|
|
|
* remove unnecessary LOWER() db calls
* warn during slow db queries
* use bundb built-in exists function
* add db block test
* update account block query
* add domain block db test
* optimize domain block query
* fix implementing wrong test
* exclude most columns when checking block
* go fmt
* remote more unnecessary use of LOWER()
|
|
* add logging to generic worker type
|
|
* add note about alpha + beta, link to roadmap
* rename progress => roadmap
* edit / update roadmap
* add note that 2023 date is only an estimate
* clarify that order of features may change
* add 'best-guess' note at the top
|
|
guides (#512)
* add note about release version number
* recommend users take latest stable release
|
|
* expose testrig util functions
* add tests for federatingActor
* rename some suite vars
|
|
* tidy up some federation tests
* add missing license to following.go
* give zork some followers, as a treat
* test InboxesForIRI
* Go fmt
* update timeline tests
|
|
Only attempt to join the `WebTemplateBaseDir` with the current working
directory if the user has not configured an absolute path to the
template directory.
This changeset also makes a similar change to the testrig, allowing
tests to configure an alternative location for the templates directory.
Fixes #411
Signed-off-by: Terin Stock <terinjokes@gmail.com>
|
|
|
|
* wrap root HTTP handler in debug.WithPprof(), rearrange router.Start() to support this
* remove unused code
* set debug buildtag in build script when $DEBUG set
* update go-debug version with fixed handler
* use clone of router.srv for LE cert manager, reset server timeouts in debug
* add kim's other libraries to README
|
|
* replace async client API / federator msg processing with worker pools
* appease our lord-and-saviour, the linter
|
|
Signed-off-by: kim <grufwub@gmail.com>
|
|
The `database/sql` package in the Go stdlib has two methods that can run
queries against the database driver: `Query` and `Exec`. When the query
returns rows, such as "SELECT", the package expects the use of `Query`,
and returns `*sql.Rows`. When the query does not return rows, the
package expects the use of `Exec`, which returns `sql.Result`.
This changeset corrects the "media_attachments" migration to using
`ExecContext`, as "ALTER TABLE" does not return rows.
Signed-off-by: Terin Stock <terinjokes@gmail.com>
|
|
* try rsa_sha256 sig algo first
* return more informative errors from auth
* adapt to reworked auth function
|
|
* start implementing trimming hook
* add test with very long test
* test syslog w/ unix socket + long (trimmed) msg
* trim long entries with trimhook
* trim to 1700 chars instead
|
|
* allow summaries that are parsed as iris
* test parsing a status with iri summary
|
|
* add png stripping code from google/wuffs
* experiment with stripping data from pngs
* add test images
* use StrippedPngDecode for pngs
* add StrippedPngDecode func
* update tests for (no)alphachannel pngs
* nolint on copied function
|
|
|
|
* make getStatus by id case-insensitive
* test get status case insensitive
* init config before log
|
|
* serve v2 media api
* go fmt
|
|
* update bun + sqlite versions
* step bun to v1.1.3
|
|
This reverts commit 31c1067a548039e7d95f131b3972ecfe1f57f835.
|
|
* start adjusting nginx documentation
* update NGINX docs
* add link to the websocket docs
|
|
This sentence kind of trai
|
|
|
|
|
|
* simplify docker-compose docs + example
* Change note about reverse proxy, add traefik
* Linting
|
|
* 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
|
|
This fixes an issue where the domain block logic would go into an infinite loop.
|
|
|
|
|
|
|
|
* convert hostname to punycode for session name
* test punycode
|
|
|
|
* 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
|
|
/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
|
|
* bump superseriousbusiness/activity version
* fetch list of follower inbox iris
|
|
* 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
|