summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2022-09-05[bugfix] Catch json syntax errors in the frontend + display a more helpful ↵Libravatar tobi1
message (#804) * catch json syntax errors * update error msg * re-throw error with cause Co-authored-by: f0x52 <f0x@cthu.lu>
2022-09-04[frontend] Transition neatly from cropped photos (#802)Libravatar tobi1
2022-09-04[bugfix] Use 'Image' instead of unrecognized 'Gif' type for media ↵Libravatar tobi5
attachments (#801) * Store gifs as Image type * remove Gif attachment type, add Gifv type * update test
2022-09-04[feature] Set default header and avatar for API accounts to GtS ones (#799)Libravatar tobi30
* validate web-asset-base-dir * move default icons into converter * always ensure avatar + header on api accounts * update tests * add default header * don't return error from web module creation anymore * tidy a bit * use pngs for default avatars rather than svgs
2022-09-02[bugfix] Fix status fields `in_reply_to_id` and `in_reply_to_account_id` not ↵Libravatar tobi5
being nullable (#798) * make reply status fields nullable pointers * update tests
2022-09-02[performance] cache recently allowed/denied domains to cut down on db calls ↵Libravatar kim7
(#794) * fetch creation and fetching domain blocks from db Signed-off-by: kim <grufwub@gmail.com> * add separate domainblock cache type, handle removing block from cache on delete Signed-off-by: kim <grufwub@gmail.com> * fix sentinel nil values being passed into cache Signed-off-by: kim <grufwub@gmail.com> Signed-off-by: kim <grufwub@gmail.com>
2022-09-02[feature] Federate custom emoji (outbound) (#791)Libravatar Blackle Morisanchetto3
* Federate local custom emoji * Add test for converting a status with tags to AP
2022-09-02[performance] cache account db lookups by public key URI (#795)Libravatar kim6
Signed-off-by: kim <grufwub@gmail.com> Signed-off-by: kim <grufwub@gmail.com>
2022-09-02[performance] use GetAccountByUsernameDomain() for local account lookups to ↵Libravatar kim19
rely on cache (#793) Signed-off-by: kim <grufwub@gmail.com> Signed-off-by: kim <grufwub@gmail.com>
2022-09-02[feature] Emojify spoiler and content in web templates (#785)Libravatar Blackle Morisanchetto3
* Emojify spoiler and content in web templates * Use more performance emojify code (thanks NyaaaWhatsUpDoc!)
2022-09-01[bugfix] Fix occasional federatingdb test fail (#792)Libravatar tobi1
2022-08-31[feature] Add support for the exclude_types[] parameter on the notifications ↵Libravatar Blackle Morisanchetto11
endpoint (#784) * Add support for the exclude_types[] parameter on the notifications endpoint * Add swagger docs to notifications
2022-08-31[bugfix] Use custom blackfriday renderer to only add mention/hashtag links ↵Libravatar Blackle Morisanchetto2
in normal text (#787) * Use custom blackfriday renderer to only add mention/hashtag links in normal text * Add additional markdown tests
2022-08-31[chore] Test fixes (#788)Libravatar tobi30
* use 'test' value for testrig storage backend * update test dependency * add WaitFor func in testrig * use WaitFor function instead of time.Sleep * tidy up tests * make SentMessages a sync.map * go fmt
2022-08-31[feature] add rate limit middleware (#741)Libravatar nya143
* feat: add rate limit middleware * chore: update vendor dir * chore: update readme with new dependency * chore: add rate limit infos to swagger.md file * refactor: add ipv6 mask limiter option Add IPv6 CIDR /64 mask * refactor: increase rate limit to 1000 Address https://github.com/superseriousbusiness/gotosocial/pull/741#discussion_r945584800 Co-authored-by: tobi <31960611+tsmethurst@users.noreply.github.com>
2022-08-31[feature] Sort follow requests, followers, and following by updated_at (#774)Libravatar Blackle Morisanchetto2
* Sort follow requests, followers, and following by updated_at * Add migration to regenerate indexes for follows and follow requests
2022-08-31[bugfix] Fix tusky search issue by returning empty if offset is greater than ↵Libravatar Blackle Morisanchetto1
zero (#786)
2022-08-30[Admin panel] Make Description boxes multi-line (#781)Libravatar Blackle Morisanchetto1
2022-08-30[bugfix] Do not generate a notification when favouriting your own post (#780)Libravatar Blackle Morisanchetto1
2022-08-30[bugfix] Fix issue where the 'favourited' field of a notification's status ↵Libravatar Blackle Morisanchetto1
is always false (#779)
2022-08-29[docs] Fix link to open collective (#770)Libravatar Callum Macdonald1
2022-08-29[bugfix] Use reblogged status in notification, instead of wrapper status (#775)Libravatar Blackle Morisanchetto1
2022-08-27[bugfix] Relax outgoing http request queue (#760)v0.4.0Libravatar tobi3
* add request queue trace logging * fix misleading wording * implement request slots per host per method * undo formatting change (?) * remove gratuitous trace logging * rename done -> release avoids confusion with ctx.Done
2022-08-27[frontend] gentle css fiddling (#761)Libravatar tobi1
* gentle css fiddling * Make grid alignment a lil more consistent too
2022-08-27[bugfix] Status visibility + `excludeReplies` fixes (#769)Libravatar Blackle Morisanchetto3
* Fix some bugs when viewing a user's posts: include their self-replies (threads) even when excludeReplies is set, and use in_reply_to_uri instead of in_reply_to_id to filter out replies * Assign values to InReplyToURI when creating statuses. Add index and update old statuses with a migration
2022-08-26[docs] Add user settings panel docs, other small updates (#768)Libravatar tobi7
* add more links to markdown section * update password management * add user settings panel documentation * move the user guide higher up in the docs
2022-08-26[bugfix] Check the length of form.MediaIDs instead of just checking for null ↵Libravatar Blackle Morisanchetto1
(#766)
2022-08-26[feature] Allow footnotes in markdown, use `<br>` instead of `\n` (#767)Libravatar tobi2
* allow markdown footnotes + hard line breaks * don't keep whitespace w/minify (unnecessary now) * test markdown a bit more
2022-08-23[bugfix] Fix boost of boost issue (#764)Libravatar tobi2
2022-08-22[bugfix] Fix loss of account info on export/import, add tests (#759)Libravatar tobi4
* start adding additional tests * use random database address for in-memory sqlite * add more fields to account export
2022-08-20[bugfix] Fix potential dereference of accounts on own instance (#757)Libravatar tobi8
* add GetAccountByUsernameDomain * simplify search * add escape to not deref accounts on own domain * check if local + we have account by ap uri
2022-08-18[docs] Textual updates on markdown files (#756)Libravatar Martijn de Boer3
* A few spelling and grammer fixes on readme Changes a few wording, some punctuation and grammar. * Grammar and punctuation on Roadmap Mostly grammar and punctuation on the roadmap * Update README.md Restore British English spelling of favourite, because it's used on the API endpoints in Roadmap as well. * Grammar and punctuation on Contributing Mainly grammar and punctuation on Contributing file.
2022-08-16return after redirects to web representation (#755)Libravatar tobi7
2022-08-15[chore] Update bun / sqlite versions; update gtsmodels (#754)Libravatar tobi376
* upstep bun and sqlite versions * allow specific columns to be updated in the db * only update necessary columns for user * bit tidier * only update necessary fields of media_attachment * only update relevant instance fields * update tests * update only specific account columns * use bool pointers on gtsmodels includes attachment, status, account, user * update columns more selectively * test all default fields on new account insert * updating remaining bools on gtsmodels * initialize pointer fields when extracting AP emoji * copy bools properly * add copyBoolPtr convenience function + test it * initialize false bool ptrs a bit more neatly
2022-08-14[frontend] Sensitive media spoilers (#752)Libravatar f0x523
* sensitive media spoilers * small tweaks, use pointer-events (thanks @owl!) * allow hiding all media * add button roles * add tabindices * s/Show media/Show sensitive media/ * show hovering alt-text on hidden sensitive images Co-authored-by: tobi <31960611+tsmethurst@users.noreply.github.com>
2022-08-12[frontend] Style scrollbars site-wide (not just in code) (#753)Libravatar tobi2
2022-08-11[frontend] Status styling tweaks (#751)Libravatar tobi1
* style hr * start work on code styling in statuses * pad top + bottom of content * squircle code * pad less actually * get code blocks formatted nicely phew * fix some silliness (thanks f0x) * update code block styling Co-authored-by: f0x <f0x@cthu.lu>
2022-08-10[bugfix] Check orientation when reading width/height of images (#749)Libravatar tobi1
2022-08-10[chore] bump exif-terminator to 0.4.0 (#747)Libravatar tobi5
2022-08-10[bugfix] Fix thumbnails not taking exif rotation into account (#746)Libravatar tobi47
* use disintegration/imaging instead of nfnt/resize * update tests * use disintegration lib for thumbing (if necessary)
2022-08-08[bugfix] Fix placeholder typo in user panel (#745)Libravatar tobi1
2022-08-08[feature] Add first iteration of a user panel at `/user` (#736)Libravatar tobi29
* start work on user panel * parse source first before checking if empty form * newline * set avi + header nicely * add posts settings * render signin a bit nicer on mobile * return OK json on successful change * return unauthorized on bad password * clarify message on insecure password * make login a bit prettier * add alt text + border round image previews * add logout button * add password change * styling updates * redirect /auth/edit to /user * update tests * fix validation tests * better labels, link to more info * make submit button generic component * move submit button inside forms * add autocomplete labels to password fields * fix indentation (thx eslint) * update eslintrc * eslint: no-unescaped-entities * initial deduplication between user and admin panel * add default status/post format setting * user panel styling for inputs * update user panel styling, include normalize css * add placeholder text * input padding Co-authored-by: f0x <f0x@cthu.lu>
2022-08-07[chore] Update js deps (#744)Libravatar f0x523
* dependency wrangling * update postcss-custom-prop-vars to 0.0.5 (postcss 8)
2022-08-07[bugfix] Markdown formatting updates (#743)Libravatar tobi42
* add minify dependency specifically for markdown * rearrange markdown formatting * update markdown tests
2022-08-07[feature] Photoswipe gallery (#740)Libravatar f0x526
* implement photoswipe galleries * dependency wrangling * photoswipe-dynamic-caption plugin
2022-08-07[frontend] style blockquote nicely within content (#742)Libravatar tobi1
2022-08-06[feature] Let accounts set default status format, and use this when ↵Libravatar tobi17
processing new statuses (#739) * add post_format to acct & use it when making post * update swagger docs * add status_format updating to frontend * fix up tests * post_format => status_format * add status_format to account validation
2022-08-05[bugfix] Parse source first before checking if empty form (#738)Libravatar tobi1
2022-08-01[feature] Implemented notification clear (#720)Libravatar Artémis7
* Implemented notification clear * Added the cache clear mechanism * added multi user check test
2022-07-30serve HEAD requests via the fileserver (#735)Libravatar tobi2