gotosocial/internal/router
tobi 26683b3d49
[feature] Web profile pages for accounts (#449)
* 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-15 14:33:01 +02:00
..
attach.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
cors.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
gzip.go [feature] Gin enable gzip encoding (#405) 2022-02-19 12:12:41 +01:00
logger.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
router.go [bugfix] Fix bug where admin panel could not be accessed at /admin (#427) 2022-03-13 18:35:26 +01:00
session.go [bugfix] Only mark cookies as Secure on https (#398) 2022-02-15 16:00:07 +01:00
session_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
template.go [feature] Web profile pages for accounts (#449) 2022-04-15 14:33:01 +02:00