summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2022-11-07[chore] Enable Dependabot support for Go modules (#976)Libravatar Jauder Ho1
* 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-06[bugfix] KVStore doesn't like lost+found directory (#972)Libravatar kim7
* 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[docs] add note about Alpha status right at the top (#971)Libravatar tobi2
2022-11-06[chore] gitignore /bin entry (#970)Libravatar Lukáš Zapletal1
2022-11-06[feature] Make rate limit requests amount configurable (#966)Libravatar tobi13
* update rate limit documentation * regenerate landingpage config helpers * make rate limit rate configurable
2022-11-05[bugfix] Check `media-description-min-chars` on submission of new status (#960)Libravatar tobi4
2022-11-05bump dependencies (#959)Libravatar kim4
Signed-off-by: kim <grufwub@gmail.com> Signed-off-by: kim <grufwub@gmail.com>
2022-11-05[chore] bump gruf/go-store to v2 (#953)Libravatar tobi105
* [chore] bump gruf/go-store to v2 * no more boobs
2022-11-05[bugfix] Increase field size limits when registering apps (#958)Libravatar tobi1
2022-11-05[bugfix] use the landing page user directly (#956)Libravatar Adam Harvey1
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-04[docs] add matrix space to readme (#952)Libravatar tobi1
2022-11-03[bugfix] Wrap media in read closer (#941)Libravatar tobi15
* 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[bugfix] Use []rune to check length of user-submitted text (#948)Libravatar tobi6
2022-11-03[feature] Allow user to show instead of landing page on / (#922)Libravatar Mia Heidenstedt10
* 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-02[frontend] change bundler to skulk (#942)Libravatar f0x5213
* replace web bundler with skulk * upgrade skulk * add license
2022-11-02[chore] Bump CI dependencies (#944)Libravatar tobi1
2022-11-02[frontend] Fix #923 and markdown css (#925)Libravatar Mia Heidenstedt4
* 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-01[bugfix] create admin_account_actions table in tx (#940)Libravatar Terin Stock1
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[docs] Update apache-httpd.md (#937)Libravatar EchedeyLR1
2022-10-31[docs] Change Apache SSL setup to automatic and manual mode (#936)Libravatar EchedeyLR1
* Update apache-httpd.md * Update apache-httpd.md * Update apache-httpd.md
2022-10-31[docs] Add Apache HTTP Server without LetsEncrypt (#935)Libravatar tobi1
2022-10-31[docs] Update Apache2 HTTP Server docs for websockets (#934)Libravatar tobi1
2022-10-31[docs] Update swagger.md (#933)Libravatar Mia Heidenstedt1
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-29[bugfix] Fix imports for helpers.gen.go (#924)Libravatar Mia Heidenstedt1
2022-10-29[bugfix] Prevent future statuses showing in timelines (#932)Libravatar tobi2
2022-10-25[chore] update profile screenshot (#927)Libravatar f0x521
* update profile screenshot * optipng
2022-10-25FIx typo (#918)Libravatar mscherer1
2022-10-17[docs] Use correct form for status submit (#915)Libravatar tobi2
2022-10-14[feature] Add emoji DELETE handler at `/api/v1/admin/custom_emojis` (#913)Libravatar tobi11
* 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-13[feature] Add `/api/v1/admin/custom_emojis/{id}` endpoint for single emoji ↵Libravatar tobi10
GET (#910) * fix error in prev swagger docs * add GET for single admin emoji
2022-10-13[feature] Refetch emojis when they change on remote instances (#905)Libravatar tobi22
* 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)
2022-10-13[frontend] Use new GET custom_emoji admin api (#908)Libravatar f0x525
* 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
2022-10-12[frontend] use ISO639 library for language selection (#909)Libravatar f0x523
2022-10-12[frontend] small fixes (#907)Libravatar f0x525
* add missing watchify dependency * replace svg rss icon with forkawesome+styling * use $white1 instead of hardcoding white * fix toot overflow
2022-10-12[feature] Add `/api/v1/admin/custom_emojis` endpoint (#902)Libravatar tobi18
* 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
2022-10-11[bugfix] add in-use checks for admin cli account creation (#904)Libravatar tobi1
2022-10-10[chore] Make paging logic more generic (#901)Libravatar tobi9
* make paging logic more generic not just for timelines! * linty linterson
2022-10-08[feature] Add opt-in RSS feed for account's latest Public posts (#897)Libravatar tobi58
* 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
2022-10-08[chore] Standardize database queries, use `bun.Ident()` properly (#886)Libravatar tobi45
* 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
2022-10-08[performance] cache domains after max retries in transport (#884)Libravatar kim2
2022-10-08[feature] `oob` oauth token support (#889)Libravatar tobi9
* move helpful advice into oauth server * rewrite HandleAuthorizeRequest to allow oob
2022-10-06[bugfix] Fix new domain block date (#893)Libravatar tobi4
2022-10-06[feature] Add emoji image size to instance response (#892)Libravatar tobi4
2022-10-06[frontend] Make emojis v. slightly larger (#891)Libravatar tobi2
* 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
2022-10-06[chore] Reduced distributed assets with 'optipng -o7 -zm1-9 -keep FILENAME' ↵Libravatar EchedeyLR8
between 28-56% (#890)
2022-10-04[bugfix] Use background context instead of request context for async ↵Libravatar tobi2
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 :)
2022-10-03[frontend] scroll to highlighted toot, improve highlight (#885)Libravatar f0x523
2022-10-03[frontend] change spacing of status, text always on it's own line, move ↵Libravatar f0x521
status date on mobile (#883)
2022-10-03[chore] Old browser fixes (#882)Libravatar f0x523
* reasonable css sizing fallbacks * add browser field for bug report template
2022-10-03[chore] Bundler restructure (#880)Libravatar f0x5240
* 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