tobi
d7b46a4b63
[chore] Move initial MediaRemotePrune to cmd.server function ( #536 )
...
* move initial prune up to the server start function
* don't do initial prune when starting media manager
* add admin/mediaremoteprune in processor
2022-05-03 10:56:18 +01:00
kim
420e2fb22b
replace async client API / federator msg processing with worker pools ( #497 )
...
* replace async client API / federator msg processing with worker pools
* appease our lord-and-saviour, the linter
2022-04-28 13:23:11 +01:00
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
tobi
e63b653199
[performance] Add dereference shortcuts to avoid making http calls to self ( #430 )
...
* update transport (controller) to allow shortcuts
* go fmt
* expose underlying sig transport to allow test sigs
2022-03-15 15:01:19 +01:00
tsmethurst
b42b0a667e
go fmt
2022-02-08 12:19:54 +01:00
tsmethurst
3301148bb7
merge fixup
2022-02-08 12:17:53 +01:00
tsmethurst
4c294a596a
Merge branch 'main' into media_refactor
2022-02-08 12:17:18 +01:00
tsmethurst
9db58dfd57
add comment explaining store.lock
2022-02-08 10:06:43 +01:00
tobi
1b36e85840
[feature] Rework timeline code to make it useful for more than just statuses ( #373 )
...
* add preparable and timelineable interfaces
* initialize timeline manager within the processor
* generic renaming
* move status-specific timeline logic into the processor
* refactor timeline to make it useful for more than statuses
2022-02-05 12:47:38 +01:00
tsmethurst
d9a778a795
put store lock file in base of storage
2022-01-29 12:16:12 +01:00
tsmethurst
e0f9323b9a
test the media manager a bit, add shutdown logic
2022-01-10 18:36:09 +01:00
tsmethurst
dccf21dd87
tests are passing, but there's still much to be done
2022-01-09 18:41:22 +01:00
tsmethurst
c4d63d125b
more refactoring, media handler => manager
2021-12-28 16:36:00 +01:00
tobi
ef5a9256a8
Extend license notices to 2022 ( #354 )
2021-12-20 18:42:19 +01:00
tobi
cb8688f429
Remove unnecessary storage config variables ( #344 )
...
* rewire config to not use extraneous serve vars
* rename 'file' to 'local' for consistency
* use Type and Size again
2021-12-20 15:19:53 +01:00
tobi
0884f89431
Implement Cobra CLI tooling, Viper config tooling ( #336 )
...
* start pulling out + replacing urfave and config
* replace many many instances of config
* move more stuff => viper
* properly remove urfave
* move some flags to root command
* add testrig commands to root
* alias config file keys
* start adding cli parsing tests
* reorder viper init
* remove config path alias
* fmt
* change config file keys to non-nested
* we're more or less in business now
* tidy up the common func
* go fmt
* get tests passing again
* add note about the cliparsing tests
* reorganize
* update docs with changes
* structure cmd dir better
* rename + move some files around
* fix dangling comma
2021-12-07 13:31:39 +01:00