f0x
2297d7f65f
fix directories, move lint+build to scripts
2022-11-07 20:29:05 +00:00
f0x
72d6506c84
eslint & web bundle in CI
2022-11-07 20:20:01 +00:00
f0x
60c5d691ef
more small eslint fixes
2022-11-07 20:10:18 +00:00
f0x
17ffab3be9
cleanup, fix most eslint errors
2022-11-07 20:05:17 +00:00
f0x
c37542932c
remove unused requires
2022-11-07 19:56:38 +00:00
f0x
90fa9a3ce6
refactor custom emoji form fields
2022-11-07 19:51:40 +00:00
f0x
41f25653d1
fix validation order
2022-11-07 19:51:40 +00:00
f0x
886e663382
clean up old redux api+reducers for custom emoji
2022-11-07 19:51:40 +00:00
f0x
1e94c50cb9
refactor emoji upload to rtk query
2022-11-07 19:51:39 +00:00
f0x
bcaf1e95f1
basic emoji details + deletion using rtk query
2022-11-07 19:51:39 +00:00
f0x
b19257cf90
actually attach single emoji get and delete routes
2022-11-07 19:51:39 +00:00
f0x
8893355afb
fix oauth url getting too long
2022-11-07 19:51:39 +00:00
f0x
789ff71a08
re-add eslint
2022-11-07 19:51:39 +00:00
K
0d51d5c13b
[docs] refer to the latest release version ( #992 )
2022-11-07 14:26:41 +01:00
D
53a1e47791
[chore] Fix rel="nofollow" so that it only applies to external links ( #991 )
...
Resolves https://github.com/superseriousbusiness/gotosocial/issues/990
2022-11-07 14:25:36 +01:00
dependabot[bot]
076680a199
[chore] Bump github.com/tdewolff/minify/v2 from 2.12.1 to 2.12.4 ( #985 )
...
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify ) from 2.12.1 to 2.12.4.
- [Release notes](https://github.com/tdewolff/minify/releases )
- [Commits](https://github.com/tdewolff/minify/compare/v2.12.1...v2.12.4 )
---
updated-dependencies:
- dependency-name: github.com/tdewolff/minify/v2
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>
2022-11-07 11:24:09 +01:00
dependabot[bot]
459a5c8d96
[chore] Bump github.com/minio/minio-go/v7 from 7.0.37 to 7.0.43 ( #983 )
...
Bumps [github.com/minio/minio-go/v7](https://github.com/minio/minio-go ) from 7.0.37 to 7.0.43.
- [Release notes](https://github.com/minio/minio-go/releases )
- [Commits](https://github.com/minio/minio-go/compare/v7.0.37...v7.0.43 )
---
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>
2022-11-07 11:20:43 +01:00
dependabot[bot]
a5f31e5dd3
[chore] Bump github.com/spf13/cobra from 1.5.0 to 1.6.1 ( #982 )
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.5.0 to 1.6.1.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.5.0...v1.6.1 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
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>
2022-11-07 11:20:30 +01:00
dependabot[bot]
e7978f6a5e
[chore] Bump github.com/go-playground/validator/v10 from 10.11.0 to 10.11.1 ( #980 )
...
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator ) from 10.11.0 to 10.11.1.
- [Release notes](https://github.com/go-playground/validator/releases )
- [Commits](https://github.com/go-playground/validator/compare/v10.11.0...v10.11.1 )
---
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>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-07 11:19:50 +01:00
dependabot[bot]
1638470388
Bump golang.org/x/text from 0.3.7 to 0.4.0 ( #981 )
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.3.7 to 0.4.0.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.3.7...v0.4.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>
2022-11-07 10:18:13 +00:00
Jauder Ho
1a23fb0dc9
[chore] Enable Dependabot support for Go modules ( #976 )
...
* Create dependabot.yml
* Update dependabot.yml
Add dependency support for Yarn too
* Update .github/dependabot.yml
Co-authored-by: Jake Coffman <jakecoffman@github.com>
Co-authored-by: Jake Coffman <jakecoffman@github.com>
2022-11-07 11:10:05 +01:00
kim
05a8baa53a
[bugfix] KVStore doesn't like lost+found directory ( #972 )
...
* bump go-store version to v2.0.5, init kv.KVStore without initial clean (as we are using for storage, not as a key-value store)
Signed-off-by: kim <grufwub@gmail.com>
* remove newline
Signed-off-by: kim <grufwub@gmail.com>
Signed-off-by: kim <grufwub@gmail.com>
2022-11-06 13:30:08 +01:00
tobi
298a7ad21b
[docs] add note about Alpha status right at the top ( #971 )
2022-11-06 12:18:52 +01:00
Lukáš Zapletal
f800970c8b
[chore] gitignore /bin entry ( #970 )
2022-11-06 11:30:14 +01:00
tobi
4d66fb9603
[feature] Make rate limit requests amount configurable ( #966 )
...
* update rate limit documentation
* regenerate landingpage config helpers
* make rate limit rate configurable
2022-11-06 09:47:48 +00:00
tobi
15be35673e
[bugfix] Check media-description-min-chars
on submission of new status ( #960 )
2022-11-05 12:33:38 +00:00
kim
fc9038d8e4
bump dependencies ( #959 )
...
Signed-off-by: kim <grufwub@gmail.com>
Signed-off-by: kim <grufwub@gmail.com>
2022-11-05 12:13:07 +00:00
tobi
bcb80d3ff4
[chore] bump gruf/go-store to v2 ( #953 )
...
* [chore] bump gruf/go-store to v2
* no more boobs
2022-11-05 11:10:19 +00:00
tobi
a9addb59b6
[bugfix] Increase field size limits when registering apps ( #958 )
2022-11-05 11:06:50 +01:00
Adam Harvey
ee6a0a1e15
[bugfix] use the landing page user directly ( #956 )
...
If set, the landing page user configuration value is used as a Gin
context parameter, which seems incorrect, since a normal request isn't
going to have a parameter named after an arbitrarily configured user.
Instead, the user name should be used directly when building the
redirect URL.
2022-11-05 08:39:36 +01:00
tobi
2311c8e96e
[docs] add matrix space to readme ( #952 )
2022-11-04 12:58:25 +01:00
tobi
1dfa7fe0d5
[bugfix] Wrap media in read closer ( #941 )
...
* use readcloser for content.Content
* call media postdata function no matter what
* return a readcloser from data func
* tidy of logic of readertostore
* fix whoopsie
2022-11-03 15:03:12 +01:00
tobi
bd05040133
[bugfix] Use []rune to check length of user-submitted text ( #948 )
2022-11-03 14:38:06 +01:00
Mia Heidenstedt
f3fc040c2e
[feature] Allow user to show instead of landing page on / ( #922 )
...
* configurable user instead of landing page
* rename DefaultUser to LandingPageUser
* code review changes and fix tests
* try to fix pipeline error
* code review changes
* code review changes
* code review changes
* remove unnecessary line
2022-11-03 13:15:31 +01:00
f0x52
c4c713988a
[frontend] change bundler to skulk ( #942 )
...
* replace web bundler with skulk
* upgrade skulk
* add license
2022-11-02 16:31:43 +01:00
tobi
f81f1e7d0f
[chore] Bump CI dependencies ( #944 )
2022-11-02 10:57:16 +01:00
Mia Heidenstedt
29a71cf828
[frontend] Fix #923 and markdown css ( #925 )
...
* fix url in CONTRIBUTING.md
* prevent img from overflow and allow to center the img
* fix #923 and guide browser to select entire username
2022-11-02 09:04:23 +01:00
Terin Stock
4a925e49b1
[bugfix] create admin_account_actions table in tx ( #940 )
...
The migration that adds the `admin_account_actions` table did so at the
same time as adding indexes onto the new table. This code was ran inside
a `RunInTx` function, but the table creation did not use the transaction
reference, while the creation of the indexes did. This could cause a
race between the table and index creations, depending on the scheduling
order. If the table creation did not win the race, then the migration
would fail.
This changeset corrects the table creation to also be done inside the
same transaction as the index creation.
Signed-off-by: Terin Stock <terinjokes@gmail.com>
Signed-off-by: Terin Stock <terinjokes@gmail.com>
2022-11-01 15:30:02 +01:00
EchedeyLR
ba46e622f1
[docs] Update apache-httpd.md ( #937 )
2022-11-01 10:36:10 +01:00
EchedeyLR
47de702506
[docs] Change Apache SSL setup to automatic and manual mode ( #936 )
...
* Update apache-httpd.md
* Update apache-httpd.md
* Update apache-httpd.md
2022-10-31 14:14:02 +01:00
tobi
ea90d12169
[docs] Add Apache HTTP Server without LetsEncrypt ( #935 )
2022-10-31 13:51:09 +01:00
tobi
972bd17aaa
[docs] Update Apache2 HTTP Server docs for websockets ( #934 )
2022-10-31 13:21:12 +01:00
Mia Heidenstedt
c0a2d702a3
[docs] Update swagger.md ( #933 )
...
See https://github.com/superseriousbusiness/gotosocial/blob/main/internal/api/security/security.go
```go
s.AttachMiddleware(m.RateLimit(RateLimitOptions{
// accept a maximum of 1000 requests in 5 minutes window
Period: 5 * time.Minute,
Limit: 1000,
}))
```
2022-10-31 13:20:39 +01:00
Mia Heidenstedt
31f0f27bed
[bugfix] Fix imports for helpers.gen.go ( #924 )
2022-10-29 17:14:57 +02:00
tobi
c7ba195907
[bugfix] Prevent future statuses showing in timelines ( #932 )
2022-10-29 17:10:28 +02:00
f0x52
2a83390177
[chore] update profile screenshot ( #927 )
...
* update profile screenshot
* optipng
2022-10-25 21:47:05 +01:00
mscherer
b4a83e4b51
FIx typo ( #918 )
2022-10-25 08:25:42 +01:00
tobi
ccd5b34c2c
[docs] Use correct form for status submit ( #915 )
2022-10-17 12:54:36 +02:00
tobi
f7416d6e94
[feature] Add emoji DELETE handler at /api/v1/admin/custom_emojis
( #913 )
...
* add emoji DELETE handler
* no need to process error (thanks kim)
* don't double check if user is admin
* add missing security annotation
2022-10-14 17:30:04 +02:00
tobi
6a95f5fa67
[feature] Add /api/v1/admin/custom_emojis/{id}
endpoint for single emoji GET ( #910 )
...
* fix error in prev swagger docs
* add GET for single admin emoji
2022-10-13 16:37:55 +02:00