Age | Commit message (Collapse) | Author | Files |
|
* 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>
|
|
* 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>
|
|
|
|
|
|
* update rate limit documentation
* regenerate landingpage config helpers
* make rate limit rate configurable
|
|
|
|
Signed-off-by: kim <grufwub@gmail.com>
Signed-off-by: kim <grufwub@gmail.com>
|
|
* [chore] bump gruf/go-store to v2
* no more boobs
|
|
|
|
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.
|
|
|
|
* 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
|
|
|
|
* 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
|
|
* replace web bundler with skulk
* upgrade skulk
* add license
|
|
|
|
* fix url in CONTRIBUTING.md
* prevent img from overflow and allow to center the img
* fix #923 and guide browser to select entire username
|
|
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>
|
|
|
|
* Update apache-httpd.md
* Update apache-httpd.md
* Update apache-httpd.md
|
|
|
|
|
|
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,
}))
```
|
|
|
|
|
|
* update profile screenshot
* optipng
|
|
|
|
|
|
* add emoji DELETE handler
* no need to process error (thanks kim)
* don't double check if user is admin
* add missing security annotation
|
|
GET (#910)
* fix error in prev swagger docs
* add GET for single admin emoji
|
|
* select emoji using image_static_url
* use updated on AP emojis
* allow refetch of updated emojis
* cheeky workaround for test
* clean up old files for refreshed emoji
* check error for originalPostData
* shorten GetEmojiByStaticImageURL
* delete kirby (sorry nintendo)
|
|
* use new GET custom_emoji admin api
* use url instead of static_url, add link to emoji admin api tracking issue
* fetch all local emoji
|
|
|
|
* add missing watchify dependency
* replace svg rss icon with forkawesome+styling
* use $white1 instead of hardcoding white
* fix toot overflow
|
|
* add admin emojis get path + model + docs
* stub admin emojis get processor function
* add id + disabled fields to admin emoji
* add emoji -> api admin emoji converter
* tidy up a bit
* add GetEmojis function
* finish up get emojis function
* order by shortcodedomain
* ASC
* tidy up + explain
* update to allow paging
* make admin emojis pageable
* fix mixed case paging
* normalize emoji queries a bit better
* test emoji get paging
* make limit optional
* fix incorrect path in media cleanup tests
* i have bad coder syndrome
* don't trimspace
* rename -> GetUseableEmojis
* wrap emoji query in subquery
avoid selecting more than we need
* fix a bit of sillyness teehee
* fix subquery postgres woes
|
|
|
|
* make paging logic more generic
not just for timelines!
* linty linterson
|
|
* start adding rss functionality
* add gorilla/feeds dependency
* first bash at building rss feed
still needs work, this is an interim commit
* tidy up a bit
* add publicOnly option to GetAccountLastPosted
* implement rss endpoint
* fix test
* add initial user docs for rss
* update rss logo
* docs update
* add rssFeed to frontend
* feed -> feed.rss
* enableRSS
* increase rss logo size a lil bit
* add rss toggle
* move emojify to text package
* fiddle with rss feed formatting
* add Text field to test statuses
* move status to rss item to typeconverter
* update bun schema for enablerss
* simplify 304 checking
* assume account not rss
* update tests
* update swagger docs
* allow more characters in title, trim nicer
* update last posted to be more consistent
|
|
* use bun.Ident for user queries
* use bun.Ident for account queries
* use bun.Ident for media queries
* add DeleteAccount func
* remove CaseInsensitive in Where+use Ident ipv Safe
* update admin db
* update domain, use ident
* update emoji, use ident
* update instance queries, use bun.Ident
* fix media
* update mentions, use bun ident
* update relationship + tests
* use tableexpr
* add test follows to bun db test suite
* update notifications
* updatebyprimarykey => updatebyid
* fix session
* prefer explicit ID to pk
* fix little fucky wucky
* remove workaround
* use proper db func for attachment selection
* update status db
* add m2m entries in test rig
* fix up timeline
* go fmt
* fix status put issue
* update GetAccountStatuses
|
|
|
|
* move helpful advice into oauth server
* rewrite HandleAuthorizeRequest to allow oob
|
|
|
|
|
|
* make emojis v. slightly larger
2.5ex -> 2.75 ex by default (they still fit fine), and make em scale a bit larger on hover as well
* use em for emoji margin
|
|
between 28-56% (#890)
|
|
processing (#888)
Fixes an issue where async processing was not completing correctly.
In particular this applies to side effects of domain blocks: while the domain block was being entered and enforced correctly, side effects like deleting accounts and updating the instance entry for the blocked instance were not. This fixes that :)
|
|
|
|
status date on mobile (#883)
|
|
* reasonable css sizing fallbacks
* add browser field for bug report template
|
|
* re-structure bundler, settings panel files
* add more info logging
* tidy up CSS syntax errors
* split into lib/ files
* livereloading server
* fix factor function for production builds
* remove testing console.log
* default to production env, saves 300kb bundle size
|