summaryrefslogtreecommitdiff
path: root/internal
AgeCommit message (Collapse)AuthorFiles
2021-08-27Replace federating DB locks map, add a cleanup goroutine (#166)Libravatar kim2
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2021-08-27Gin logging (#165)Libravatar tobi3
* start messing around with logger * more messing about * fix error with instance not created on startup (#156) * set logger * log user agent * finalize logging * go fmt * start messing around with logger * more messing about * set logger * log user agent * finalize logging * go fmt
2021-08-27fix new tx within tx (#163)Libravatar kim1
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2021-08-26some more little fixes for all to enjoy (#161)Libravatar tobi3
2021-08-26fix broken db queries in auth (#160)Libravatar tobi2
2021-08-26fix null returned session (#159)Libravatar tobi5
2021-08-26oops (#157)Libravatar tobi1
2021-08-26fix error with instance not created on startup (#156)Libravatar tobi1
2021-08-26fix public timeline bug (#150)Libravatar tobi18
2021-08-25Pg to bun (#148)Libravatar tobi249
* start moving to bun * changing more stuff * more * and yet more * tests passing * seems stable now * more big changes * small fix * little fixes
2021-08-23Manually approves followers (#146)Libravatar tobi5
* update go-fed * update go-fed * manuallyapprovesfollowers * serialize manuallyApprovesFollowers
2021-08-20Database updates (#144)Libravatar tobi149
* start moving some database stuff around * continue moving db stuff around * more fiddling * more updates * and some more * and yet more * i broke SOMETHING but what, it's a mystery * tidy up * vendor ttlcache * use ttlcache * fix up some tests * rename some stuff * little reminder * some more updates
2021-08-16Text/status parsing fixes (#141)Libravatar Tobi Smethurst10
* aaaaaa * vendor minify * update + test markdown parsing
2021-08-15Timeline loop fix (#140)Libravatar Tobi Smethurst12
* uwu we made a fucky wucky * uwu we made a fucky wucky * work on timeline fixes a little * fiddle with tests some more * bleep bloop more tests * more tests * update drone yml * update some sturf * make the timeline code a bit lazier * go fmt * fix drone.yml
2021-08-12Grand test fixup (#138)Libravatar Tobi Smethurst6
* start fixing up tests * fix up tests + automate with drone * fiddle with linting * messing about with drone.yml * some more fiddling * hmmm * add cache * add vendor directory * verbose * ci updates * update some little things * update sig
2021-08-11Text duplication fix (#137)Libravatar Tobi Smethurst11
* start testing text duplication * tests * fixes + tests
2021-08-10Bugfixerino (#133)Libravatar Tobi Smethurst7
* fix some lil bugs * fmt, lint
2021-08-10roll back to sha256 for signaturesLibravatar tsmethurst1
2021-08-10Dereference remote replies (#132)Libravatar Tobi Smethurst58
* decided where to put reply dereferencing * fiddling with dereferencing threads * further adventures * tidy up some stuff * move dereferencing functionality * a bunch of refactoring * go fmt * more refactoring * bleep bloop * docs and linting * start implementing replies collection on gts side * fiddling around * allow dereferencing our replies * lint, fmt
2021-08-02Frodo swaggins (#126)Libravatar Tobi Smethurst54
* more swagger fun * document a whole bunch more stuff * more swagger yayyyyyyy * progress + go fmt
2021-07-31more swagger docs + other changes (#125)Libravatar Tobi Smethurst6
* more swagger docs + other changes * go fmt
2021-07-31Swagger (#124)Libravatar Tobi Smethurst26
* start experimenting with swagger documentation * further adventures in swagger * do a few more api paths * account paths documented * go fmt * fix up some models * bit o lintin'
2021-07-31Password change (#123)Libravatar Tobi Smethurst1
* add password change command * document cli commands * go fmt
2021-07-29Link hashtag bug (#121)Libravatar Tobi Smethurst14
* link + hashtag bug * remove printlns * tidy up some duplicated code
2021-07-28Link parsing (#120)Libravatar Tobi Smethurst4
* add link parsing + formatting functionality * refinement + docs * add missing test * credit url library
2021-07-27federating db updates (#118)Libravatar Tobi Smethurst8
2021-07-26Markdown Statuses (#116)Libravatar Tobi Smethurst15
* parse markdown statuses if desired * add some preliminary docs for writing posts
2021-07-26add trusted proxy for parsing client IPs (#115)Libravatar Tobi Smethurst3
2021-07-24Tiny fix (#114)Libravatar Tobi Smethurst1
* allow custom ports for webserver and le * fix teensy mistake not setting default port
2021-07-24allow custom ports for webserver and le (#111)Libravatar Tobi Smethurst4
2021-07-23Oidc (#109)Libravatar Tobi Smethurst18
* add oidc config * inching forward with oidc idp * lil webfingy fix * bit more progress * further oidc * oidc now working * document dex config * replace broken images * add additional credits * tiny doc update * update * add oidc config * inching forward with oidc idp * bit more progress * further oidc * oidc now working * document dex config * replace broken images * add additional credits * tiny doc update * update * document * docs + comments
2021-07-21lil webfingy fix (#106)Libravatar Tobi Smethurst6
* lil webfingy fix * return requested content type from fede requests
2021-07-19Config bugfix (#104)Libravatar Tobi Smethurst2
* fix some config bugs * go fmt
2021-07-19allow different host + accountDomain (#103)Libravatar Tobi Smethurst5
* allow different host + accountDomain * use accountDomain in tags
2021-07-19Db tls (#102)Libravatar Tobi Smethurst4
* go mod tidy * complete example config * add tls support for db connection * add certpool to tlsConfig * add some lil docker scripts
2021-07-14Static fileserver improvements, optional admin panel route (#100)Libravatar f0x523
* better asset serving, optional admin panel route * linting
2021-07-13Noescape (#88)Libravatar f0x523
* disable html escaping for short description * provide noescape function for templates * move template functions before template loading * go fmt * linter fixes
2021-07-13sanitize html for statuses + instance (#97)Libravatar Tobi Smethurst9
* sanitize html for statuses + instance * sanitization
2021-07-11Block/unblock (#96)Libravatar Tobi Smethurst44
* remote + local block logic, incl. federation * improve blocking stuff * fiddle with display of blocked profiles * go fmt
2021-07-09favourites GET implementation (#95)Libravatar Tobi Smethurst15
2021-07-08fix up some of the instance patching stuff (#85)Libravatar Tobi Smethurst3
2021-07-08Auth flow fixes (#82)Libravatar Tobi Smethurst5
* preliminary fixes to broken auth flow * fix some auth/cookie weirdness * fmt
2021-07-07clean up some weirdness in the router (#80)Libravatar Tobi Smethurst9
2021-07-06Blocklist import (#77)Libravatar Tobi Smethurst23
* first steps on importing blocklists * unblock domains properly
2021-07-05Domain block (#76)Libravatar Tobi Smethurst99
* start work on admin domain blocking * move stuff around + further work on domain blocks * move + restructure processor * prep work for deleting account * tidy * go fmt * formatting * domain blocking more work * check domain blocks way earlier on * progress on delete account * delete more stuff when an account is gone * and more... * domain blocky block block * get individual domain block, delete a block
2021-06-28put version in binary properly (#73)Libravatar Tobi Smethurst2
Addresses #71 : Set version on the CLI framework. Add a build.sh script that injects variables into the build tooling using git and a version file. Set version in config.
2021-06-27Remote instance dereferencing (#70)Libravatar Tobi Smethurst13
Remote instances are now dereferenced when they post to an inbox on a GtS instance. Dereferencing will be done first by checking the /api/v1/instance endpoint of an instance. If that doesn't work, /.well-known/nodeinfo will be checked. If that doesn't work, only a minimal representation of the instance will be stored. A new field was added to the Instance database model. To create it: alter table instances add column contact_account_username text;
2021-06-27Go fmtLibravatar tsmethurst3
2021-06-27fix the annoying infinite handshake bug (tested) (#69)Libravatar Tobi Smethurst4
2021-06-26remove regex hostname parsing (#67)Libravatar Tobi Smethurst1
Drop regex validation for postgres hostname, because it was breaking when running in a docker-compose stack where hostnames can be just one word. If necessary this can be added in again later, but it probably won't be necessary because it doesn't actually add anything useful!