tobi
95715f9251
[performance] Don't fetch avatar + header if uri hasn't changed ( #1463 )
2023-02-09 09:27:07 +01:00
f0x52
65b19411a4
[chore] Fix report username wrapping ( #1464 )
...
* fix report username wrapping
* move report status to separate line on portrait orientation
2023-02-09 09:26:35 +01:00
tobi
27e95fd123
[chore/bugfix] Serve + throttle publickey separately from rest of ActivityPub API ( #1461 )
...
* serve publickey separately from AP, don't throttle it
* update nginx cache documentation, cache main-key too
* throttle public key, but separately from other endpoints
2023-02-08 15:10:56 +01:00
f0x52
52fbb3e584
[bugfix] fix 'steal this look' form, uncheck entries after processing ( #1454 )
2023-02-07 18:34:54 +01:00
tobi
4e4da19720
[bugfix] Use SignatureCheck middleware for web profile endpoints too ( #1451 )
2023-02-07 14:57:09 +01:00
f0x52
0ed50c172e
[chore/frogend] domain blocklist layout on smaller screens ( #1436 )
2023-02-07 10:00:13 +01:00
Daniele Sluijters
b63b1b6f55
[chore] Update bug report template ( #1437 )
...
This adds a line to the bug report template to indicate that
compatibility issues with closed source clients should be reported to
developers of that client instead.
2023-02-07 09:59:44 +01:00
Sam Lade
ad6ab037e4
[bugfix] don't trash emoji in profile fields on edit ( #1440 )
2023-02-07 09:58:36 +01:00
kim
ac2bdbbc62
[bugfix] fix file range length calculation being off by 1 ( #1448 )
...
* small formatting change
* fix range handling new length calculation
---------
Signed-off-by: kim <grufwub@gmail.com>
2023-02-07 08:51:15 +00:00
Sam Lade
6a6647d68b
Ignore missing files when cleaning up media ( #1435 )
2023-02-06 14:58:54 +00:00
kim
02767bfc7d
[performance] remove local copying of file for satisfying range headers ( #1421 )
...
* remove local copying of file for satisfying range headers
Signed-off-by: kim <grufwub@gmail.com>
* remove unused import
Signed-off-by: kim <grufwub@gmail.com>
* fix range header reader limit calculation
Signed-off-by: kim <grufwub@gmail.com>
---------
Signed-off-by: kim <grufwub@gmail.com>
2023-02-06 09:50:16 +01:00
tobi
75e1b9c896
[bugfix] fix old password hash staying in cache ( #1432 )
2023-02-06 09:44:13 +01:00
f0x52
83b522a1b6
[feature/Frogend] basic report admin interface ( #1424 )
...
* basic listing of reports
* report detail overview, resolving
* report detail styling tweaks
* linter fixes
2023-02-06 09:33:47 +01:00
f0x52
47daddc10c
[chore/frogend] Restructure form data default values / update from Query data ( #1422 )
...
* eslint: set console use to error to catch debug littering in CI
* remove debug logging
* some form field restructuring, fixes submitted updates not being reflected
* more form field restructuring
* remove debug logger
* simplify field updates
* fix react state set during render when submitting import file
* className instead of class
* show Select hints again
2023-02-06 09:19:56 +01:00
dependabot[bot]
0a9874329d
[chore]: Bump codeberg.org/gruf/go-runners from 1.4.0 to 1.5.1 ( #1428 )
...
Bumps codeberg.org/gruf/go-runners from 1.4.0 to 1.5.1.
---
updated-dependencies:
- dependency-name: codeberg.org/gruf/go-runners
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-06 08:08:22 +00:00
dependabot[bot]
1df25a3592
[chore]: Bump github.com/yuin/goldmark from 1.5.3 to 1.5.4 ( #1427 )
...
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark ) from 1.5.3 to 1.5.4.
- [Release notes](https://github.com/yuin/goldmark/releases )
- [Commits](https://github.com/yuin/goldmark/compare/v1.5.3...v1.5.4 )
---
updated-dependencies:
- dependency-name: github.com/yuin/goldmark
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-06 09:06:57 +01:00
dependabot[bot]
dae14cc0eb
[chore]: Bump github.com/ulule/limiter/v3 from 3.10.0 to 3.11.0 ( #1429 )
...
Bumps [github.com/ulule/limiter/v3](https://github.com/ulule/limiter ) from 3.10.0 to 3.11.0.
- [Release notes](https://github.com/ulule/limiter/releases )
- [Commits](https://github.com/ulule/limiter/compare/v3.10.0...v3.11.0 )
---
updated-dependencies:
- dependency-name: github.com/ulule/limiter/v3
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-06 09:06:04 +01:00
tobi
7f3245738d
[chore] stub /api/v1/featured_tags endpoint ( #1420 )
2023-02-05 10:50:09 +01:00
tobi
80c26d61f7
[bugfix] Allow instance thumbnail description to be set separately from image ( #1417 )
2023-02-04 15:53:11 +01:00
tobi
04ac3f8acf
[bugfix] Fix password change keys ( #1416 )
2023-02-04 12:40:35 +01:00
kim
abe9447d28
fix cache startup ( #1414 )
...
Signed-off-by: kim <grufwub@gmail.com>
2023-02-03 20:16:11 +00:00
kim
33aee1b1e9
[chore] reformat GetAccount() functionality, support updating accounts based on last_fetch ( #1411 )
...
* reformat GetAccount() functionality, and add UpdateAccount() function.
* use fetched_at instead of last_webfingered_at
* catch local "not found" errors. small formatting / error string changes
* remove now unused error type
* return nil when wrapping nil error
* update expected error messages
* return correct url for foss satan webfinger
* add AP model for Some_User
* normalize local domain
* return notretrievable where appropriate
* expose NewErrNotRetrievable
* ensure webfinger for new accounts searched by uri
* update local account short circuit
* allow enrich to fail for already-known accounts
* remove unused LastWebfingeredAt
* expose test maps on mock http client
* update Update test
* reformat GetAccount() functionality, and add UpdateAccount() function.
* use fetched_at instead of last_webfingered_at
* catch local "not found" errors. small formatting / error string changes
* remove nil error checks (we shouldn't be passing nil errors to newError() initializers)
* remove mutex unlock on transport init fail (it hasn't yet been locked!)
* woops add back the error wrapping to use ErrNotRetrievable
* caches were never being started... 🙈
---------
Signed-off-by: kim <grufwub@gmail.com>
Co-authored-by: tsmethurst <tobi.smethurst@protonmail.com>
2023-02-03 20:03:05 +00:00
f0x52
a59dc855d9
[feature/frogend] (Mastodon) domain block CSV import ( #1390 )
...
* checkbox-list styling with taller <p> element
* CSV import/export, UI/UX improvements to import-export interface
* minor styling tweaks
* csv export, clean up export type branching
* abstract domain block entry validation
* foundation for PSL check + suggestions
* Squashed commit of the following:
commit e3655ba4fb
Author: f0x <f0x@cthu.lu>
Date: Tue Jan 31 15:19:10 2023 +0100
let debug depend on env (prod/debug) again
commit 79c792b832
Author: f0x <f0x@cthu.lu>
Date: Tue Jan 31 00:34:01 2023 +0100
update checklist components
commit 4367960fe4
Author: f0x <f0x@cthu.lu>
Date: Mon Jan 30 23:46:20 2023 +0100
checklist performance improvements
commit 204a4c02d1
Author: f0x <f0x@cthu.lu>
Date: Mon Jan 30 20:05:34 2023 +0100
checklist field: use reducer for state
* remove debug logging
* show and use domain block suggestion
* restructure import/export buttons
* updating suggestions
* suggestion overview
* restructure check-list behavior, domain import/export
2023-02-03 12:07:40 +01:00
Autumn!
49beb17a8f
[chore] Text formatting overhaul ( #1406 )
...
* Implement goldmark debug print for hashtags and mentions
* Minify HTML in FromPlain
* Convert plaintext status parser to goldmark
* Move mention/tag/emoji finding logic into formatter
* Combine mention and hashtag boundary characters
* Normalize unicode when rendering hashtags
2023-02-03 11:58:58 +01:00
tobi
271da016b9
[bugfix] Read Bookwyrm Articles more thoroughly ( #1410 )
2023-02-02 16:41:02 +01:00
tobi
382512a5a6
[feature] Implement /api/v2/instance
endpoint ( #1409 )
...
* interim: start adding /api/v2/instance
* finish up
2023-02-02 14:08:13 +01:00
tobi
4ee4cd2da1
[chore/performance] use only 1 sqlite db connection regardless of multiplier ( #1408 )
2023-02-01 11:55:34 +01:00
tobi
b80be48fed
[chore] Use 'immediate' lock for sqlite transactions ( #1404 )
...
* [chore] Use 'immediate' lock for sqlite transactions
* allow 1 connection regardless of cpu amount
2023-01-31 13:46:45 +01:00
Daniele Sluijters
eccb3800d0
[chore] Silence maxprocs logging ( #1402 )
...
This switches the logger to Debug. By default the library logs things
internally despite returning errors. Due to the way we had it hooked up
this resulted in scary error level logs being emitted for innocuous
errors. Now those errors will only be visible in debug mode.
Fixes : #1398
Relates to: #1336
2023-01-31 09:39:46 +01:00
ketan-vijayvargiya
dc766f9e6f
[docs] Add an example on how to setup redirect with Traefik ( #1395 )
2023-01-30 10:47:03 +01:00
dependabot[bot]
356e238793
[chore]: Bump github.com/go-playground/validator/v10 ( #1400 )
...
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator ) from 10.11.1 to 10.11.2.
- [Release notes](https://github.com/go-playground/validator/releases )
- [Commits](https://github.com/go-playground/validator/compare/v10.11.1...v10.11.2 )
---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-30 10:45:34 +01:00
dependabot[bot]
7bcdf35cc1
[chore]: Bump github.com/microcosm-cc/bluemonday from 1.0.21 to 1.0.22 ( #1399 )
...
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday ) from 1.0.21 to 1.0.22.
- [Release notes](https://github.com/microcosm-cc/bluemonday/releases )
- [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.21...v1.0.22 )
---
updated-dependencies:
- dependency-name: github.com/microcosm-cc/bluemonday
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-30 10:45:19 +01:00
Mina Galić
43cbe3b45c
[docs] Simplify Apache httpd proxy documentation ( #1396 )
...
since 2.4.47 (released April 22nd 2021), Apache httpd can ProxyPass to
websockets on the same URL, without mod_rewrite (and, without
mod_proxy_wstunnel).
2023-01-30 10:45:01 +01:00
tobi
3283900b0d
[feature] Federate reports to remote instance as Flag (if desired) ( #1386 )
...
* reports federate out, we did it lxds
* fix optional line start (should be optional slash)
2023-01-27 14:48:11 +01:00
tobi
c59ec6f2a4
[docs] Add Flag documentation to federation docs ( #1393 )
2023-01-27 14:39:28 +01:00
tobi
1fa574f148
[docs] Tidy up federation docs into 'federating with gotosocial' section ( #1392 )
2023-01-27 12:32:23 +01:00
tobi
8d18888db6
[chore/docs] add instance-expose-suspended-web to instance docs ( #1391 )
2023-01-27 09:23:54 +01:00
f0x52
08f8feaec5
[feature/frontend] filterable local emoji list ( #1385 )
2023-01-27 09:09:26 +01:00
tobi
782169da76
[chore] set max open / idle conns + conn max lifetime for both postgres and sqlite ( #1369 )
...
* [chore] set max open / idle conns + conn max lifetime for both postgres and sqlite
* reduce cache size default to 8MiB, reduce connections to 2 * cpu
* introduce max open conns multiplier, tune sqlite and pg separately
* go fmt
2023-01-26 15:12:48 +01:00
f0x52
17eecfb6d9
[feature] Public list of suspended domains ( #1362 )
...
* basic rendered domain blocklist (unauthenticated!)
* style basic domain block list
* better formatting for domain blocklist
* add opt-in config option for showing suspended domains
* format/linter
* re-use InstancePeersGet for web-accessible domain blocklist
* reword explanation, border styling
* always attach blocklist handler, update error message
* domain blocklist error message grammar
2023-01-25 18:06:41 +01:00
tobi
993aae5e48
[feature] Accept incoming federated Flag activity ( #1382 )
...
* start working on handling incoming Flag activity
* interim commit
* federate Flag in successfully
2023-01-25 11:12:27 +01:00
tobi
faeb7ded3b
[feature] Implement reports admin API so admins can view + close reports ( #1378 )
...
* add admin report api endpoints + tests
* [chore] remove funky duplicate attachment in testrig
2023-01-25 11:12:17 +01:00
f0x52
27d4e364e0
[chore] Settings refactor fix4 ( #1383 )
...
* fix error handling behavior in emoji overview and FormWithData components
* css: long domain cutoff
* unused require
* eslint vscode task
2023-01-25 09:47:55 +01:00
tobi
36f62d6e60
[chore] remove funky duplicate attachment in testrig ( #1379 )
...
* [chore] remove funky duplicate attachment in testrig
* whoops
2023-01-23 13:39:01 +01:00
tobi
e9747247d5
[feature] Implement /api/v1/reports
endpoints on client API ( #1330 )
...
* start adding report client api
* route + test reports get
* start report create endpoint
* you can create reports now babyy
* stub account report processor
* add single reportGet endpoint
* fix test
* add more filtering params to /api/v1/reports GET
* update swagger
* use marshalIndent in tests
* add + test missing Link info
2023-01-23 13:14:21 +01:00
tobi
605dfca1af
[chore] bump go version to 1.19.5 ( #1377 )
2023-01-23 11:58:58 +01:00
dependabot[bot]
98a09b5633
[chore]: Bump github.com/spf13/viper from 1.14.0 to 1.15.0 ( #1375 )
...
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/spf13/viper/releases )
- [Commits](https://github.com/spf13/viper/compare/v1.14.0...v1.15.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/viper
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-23 10:24:00 +01:00
dependabot[bot]
3e4dc6bff3
[chore]: Bump github.com/abema/go-mp4 from 0.9.0 to 0.10.0 ( #1374 )
...
Bumps [github.com/abema/go-mp4](https://github.com/abema/go-mp4 ) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/abema/go-mp4/releases )
- [Commits](https://github.com/abema/go-mp4/compare/v0.9.0...v0.10.0 )
---
updated-dependencies:
- dependency-name: github.com/abema/go-mp4
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-23 10:23:29 +01:00
Kelson Vibber
73be24401a
[feature] Add RSS autodiscovery on profiles that enable RSS ( #1373 )
2023-01-23 10:23:07 +01:00
즈눅
13ec15d2bb
[chore] extending maximumPasswordLength to 256 ( #1372 )
...
* [chore] extending maximumPasswordLength to 256
Resolves : #1365
* Make long test longer
2023-01-22 23:25:11 +01:00