f0x
78ea8998a7
fa-fw width info comment
2023-01-18 13:40:12 +00:00
f0x
f6fde61a82
collapse if/else
2023-01-18 13:40:04 +00:00
f0x
619dc642f5
clarify suspend on subdomains
2023-01-18 13:28:58 +00:00
f0x
b474872d89
remove old code, clarify comment
2023-01-18 13:17:05 +00:00
f0x
64460f7ea9
add eslint license header check, fix existing files
2023-01-18 13:16:48 +00:00
f0x
981159b1d8
small linter-related fixes
2023-01-18 13:06:21 +00:00
f0x
2362c0627f
fixes/cleanup
2023-01-17 20:59:40 +00:00
f0x52
772231d24e
Merge branch 'main' into settings-refactor
2023-01-17 21:42:06 +01:00
f0x
87f28dacbf
fix login/logout state transition weirdness
2023-01-17 20:40:35 +00:00
f0x
a1d184eac4
refactor authentication with RTK Query
2023-01-17 20:27:55 +00:00
tobi
627b8eeae6
[feature] Tune sqlite pragmas ( #1349 )
...
* sqlite pragma tuning
* use formatuint
* add sqlite busy timeout
* fix incorrect cache size format
* update envparsing test
* add sqlite tuning flags to cli
* set sqlite timeout to 30s default
2023-01-17 12:29:44 +00:00
dependabot[bot]
a6c6bdb34a
[chore]: Bump codeberg.org/gruf/go-errors/v2 from 2.0.2 to 2.1.1 ( #1346 )
...
Bumps codeberg.org/gruf/go-errors/v2 from 2.0.2 to 2.1.1.
---
updated-dependencies:
- dependency-name: codeberg.org/gruf/go-errors/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-17 11:25:13 +00:00
tobi
d4cddf460a
[bugfix] Parse video metadata more accurately; allow Range in fileserver ( #1342 )
...
* don't serve unused fields for video attachments
* parse video bitrate + duration more accurately
* use ServeContent where appropriate to respect Range
* abstract temp file seeker into its own function
2023-01-16 16:19:17 +01:00
dependabot[bot]
fe3e9ede52
[chore]: Bump github.com/minio/minio-go/v7 from 7.0.44 to 7.0.47 ( #1348 )
...
Bumps [github.com/minio/minio-go/v7](https://github.com/minio/minio-go ) from 7.0.44 to 7.0.47.
- [Release notes](https://github.com/minio/minio-go/releases )
- [Commits](https://github.com/minio/minio-go/compare/v7.0.44...v7.0.47 )
---
updated-dependencies:
- dependency-name: github.com/minio/minio-go/v7
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 10:29:47 +01:00
dependabot[bot]
2a46980082
[chore]: Bump golang.org/x/oauth2 from 0.3.0 to 0.4.0 ( #1347 )
...
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2 ) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/golang/oauth2/releases )
- [Commits](https://github.com/golang/oauth2/compare/v0.3.0...v0.4.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 10:29:19 +01:00
Phil Hagelberg
6b15b83bf1
[docs] Remove videos from the list of missing features in the FAQ. ( #1344 )
...
These actually work now! Yay.
2023-01-16 10:28:18 +01:00
f0x
f5bc524f1e
appease the linter
2023-01-14 00:03:35 +00:00
f0x
a4f0fb9e25
text-field exports
2023-01-13 23:56:50 +00:00
f0x
9f8603de31
redux fixes
2023-01-13 23:56:45 +00:00
f0x
873fd22cfb
[chore] Update/add license headers for 2023
2023-01-13 23:31:28 +00:00
f0x
ca0fb02330
cleanup old files
2023-01-13 23:31:28 +00:00
f0x
5a96f23ff7
refactor federation import-export interface
2023-01-13 23:31:02 +00:00
f0x
c91c218a6e
loading icon styling to prevent big spinny
2023-01-13 23:31:02 +00:00
f0x
9b6a54032c
refactor custom-emoji, progress on federation bulk
2023-01-13 23:31:02 +00:00
f0x
59413c3482
refactor parse-from-toot
2023-01-13 23:31:02 +00:00
f0x
beb09aa827
mostly abstracted (emoji) checkbox list
2023-01-13 23:31:02 +00:00
f0x
4cbfa77907
refactor federation/suspend (overview, detail)
2023-01-13 23:31:01 +00:00
f0x
774cb78732
cleanup old code
2023-01-13 23:29:57 +00:00
f0x
4bb308b1f2
remove superfluous logging
2023-01-13 23:29:57 +00:00
f0x
5a10557e47
fix user settings data prop
2023-01-13 23:29:57 +00:00
f0x
376c72c95d
whitespace
2023-01-13 23:29:57 +00:00
f0x
4ca607914b
admin actions refactor
2023-01-13 23:29:57 +00:00
f0x
5d0aa28633
FormWithData structure for user forms
2023-01-13 23:29:57 +00:00
f0x
85e7f2ccb5
refactor admin settings
2023-01-13 23:29:57 +00:00
f0x
df9e980a24
refactor password change form
2023-01-13 23:29:56 +00:00
f0x
e924566add
refactor user post settings
2023-01-13 23:29:56 +00:00
f0x
d579b4476d
use rtk query api for profile settings
2023-01-13 23:29:56 +00:00
f0x
f4362d9dfa
fully refactor user profile settings form
2023-01-13 23:29:56 +00:00
f0x
027d2e4414
yakshave new form field structure
2023-01-13 23:29:56 +00:00
tobi
132c73883f
[bugfix] Mount bookmarks endpoint correctly ( #1338 )
2023-01-13 17:07:52 +01:00
tobi
eafd73c292
[chore] Remove omitempty on account source; refactor tests to use prettyprint json ( #1337 )
...
* remove omitEmpty tag on account source items
* update tests
2023-01-13 17:02:45 +01:00
kim
5318054808
[performance] media processing improvements ( #1288 )
...
* media processor consolidation and reformatting, reduce amount of required syscalls
Signed-off-by: kim <grufwub@gmail.com>
* update go-store library, stream jpeg/png encoding + use buffer pools, improved media processing AlreadyExists error handling
Signed-off-by: kim <grufwub@gmail.com>
* fix duration not being set, fix mp4 test expecting error
Signed-off-by: kim <grufwub@gmail.com>
* fix test expecting media files with different extension
Signed-off-by: kim <grufwub@gmail.com>
* remove unused code
Signed-off-by: kim <grufwub@gmail.com>
* fix expected storage paths in tests, update expected test thumbnails
Signed-off-by: kim <grufwub@gmail.com>
* remove dead code
Signed-off-by: kim <grufwub@gmail.com>
* fix cached presigned s3 url fetching
Signed-off-by: kim <grufwub@gmail.com>
* fix tests
Signed-off-by: kim <grufwub@gmail.com>
* fix test models
Signed-off-by: kim <grufwub@gmail.com>
* update media processing to use sync.Once{} for concurrency protection
Signed-off-by: kim <grufwub@gmail.com>
* shutup linter
Signed-off-by: kim <grufwub@gmail.com>
* fix passing in KVStore GetStream() as stream to PutStream()
Signed-off-by: kim <grufwub@gmail.com>
* fix unlocks of storage keys
Signed-off-by: kim <grufwub@gmail.com>
* whoops, return the error...
Signed-off-by: kim <grufwub@gmail.com>
* pour one out for tobi's code <3
Signed-off-by: kim <grufwub@gmail.com>
* add back the byte slurping code
Signed-off-by: kim <grufwub@gmail.com>
* check for both ErrUnexpectedEOF and EOF
Signed-off-by: kim <grufwub@gmail.com>
* add back links to file format header information
Signed-off-by: kim <grufwub@gmail.com>
Signed-off-by: kim <grufwub@gmail.com>
2023-01-11 12:13:13 +01:00
Sleep
3512325e46
[feature] Add local user and post count to nodeinfo responses ( #1325 )
...
* Add local user and post count to nodeinfo responses
This fixes #1307 (at least partially). The nodeinfo endpoint should now
return the total users on an instance, along with their post count.
* Update NodeInfoUsers docstring and swagger yaml file
2023-01-11 11:36:36 +01:00
tobi
d6487933c7
[feature] Implement Report database model and utility functions ( #1310 )
...
* implement report database model
* implement report cache + config changes
* implement report database functions
* report uri / regex functions
* update envparsing test
* remove unnecessary uri index
* remove unused function + cache lookup
* process error when storing report
2023-01-10 14:19:05 +00:00
dependabot[bot]
36aa6854bd
[chore] Bump json5 from 1.0.1 to 1.0.2 in /web/source ( #1308 )
...
Bumps [json5](https://github.com/json5/json5 ) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 10:24:49 +01:00
dependabot[bot]
ac562fa79e
[chore]: Bump github.com/coreos/go-oidc/v3 from 3.4.0 to 3.5.0 ( #1322 )
...
Bumps [github.com/coreos/go-oidc/v3](https://github.com/coreos/go-oidc ) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/coreos/go-oidc/releases )
- [Commits](https://github.com/coreos/go-oidc/compare/v3.4.0...v3.5.0 )
---
updated-dependencies:
- dependency-name: github.com/coreos/go-oidc/v3
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 08:23:49 +00:00
dependabot[bot]
0ca6a9d868
[chore]: Bump golang.org/x/image from 0.2.0 to 0.3.0 ( #1320 )
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.2.0 to 0.3.0.
- [Release notes](https://github.com/golang/image/releases )
- [Commits](https://github.com/golang/image/compare/v0.2.0...v0.3.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 08:21:58 +00:00
dependabot[bot]
86ae0b142b
[chore]: Bump golang.org/x/text from 0.5.0 to 0.6.0 ( #1321 )
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.5.0...v0.6.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 08:11:42 +00:00
dependabot[bot]
345b765a46
[chore]: Bump golang.org/x/net from 0.4.0 to 0.5.0 ( #1319 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/compare/v0.4.0...v0.5.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 08:10:55 +00:00
kim
1bda6a2002
[bugfix] return early in websocket upgrade handler ( #1315 )
...
* launch websocket streaming in goroutine to allow upgrade handler to return
* don't send any message on ping, improved close check on failed read
* use context to signal wsconn close, ensure canceled in read goroutine
Signed-off-by: kim <grufwub@gmail.com>
2023-01-08 11:43:08 +00:00