- Mar 26, 2022
-
-
Eugen Rochko authored
* Refactor formatter * Move custom emoji pre-rendering logic to view helpers * Move more methods out of Formatter * Fix code style issues * Remove Formatter * Add inline poll options to RSS feeds * Remove unused helper method * Fix code style issues * Various fixes and improvements * Fix test
-
- Mar 25, 2022
-
-
Eugen Rochko authored
* Fix edits with no actual changes being allowed locally * Fix edits with no actual changes being allowed through ActivityPub * Fix false positive changes caused by description processing in model * Fix not recording poll expiration update * Fix test * Revert changes to ProcessStatusUpdateService * Various fixes and improvements * Fix code style issues * Various changes and improvements * Add guard clause
-
Eugen Rochko authored
* Add workaround for YouTube Shorts links * Update link_details_extractor_spec.rb
-
- Mar 15, 2022
-
-
Eugen Rochko authored
* Add `types` param to `GET /api/v1/notifications` in REST API * Improve tests
-
- Mar 12, 2022
-
-
Claire authored
* Fix searching for an already-known status by URL not working * Fix Update processing from statuses prior to 20220302232632 `ordered_media_attachment_ids_changed?` would return `true` when going from `nil` to anything (including `[]`). * Add tests
-
Eugen Rochko authored
-
Eugen Rochko authored
-
- Mar 09, 2022
-
-
Claire authored
Follow-up to #17693
-
Claire authored
Follow-up to #17426
-
Eugen Rochko authored
* Change how changes to media attachments are stored for edits Fix not being able to re-order media attachments * Fix not broadcasting updates when polls/media is changed through ActivityPub * Various fixes and improvements * Update app/models/report.rb Co-authored-by:
Claire <claire.github-309c@sitedethib.com> * Add tracking of media attachment description changes * Change poll in status edit to have a structure closer to the real one Co-authored-by:
Claire <claire.github-309c@sitedethib.com>
-
Eugen Rochko authored
* Change design of federation pages in admin UI * Fix query performance in instance media attachments measure * Fix reblogs being included in instance languages dimension
-
- Mar 08, 2022
-
-
Eugen Rochko authored
* Fix performance of account timelines * Various fixes and improvements * Fix duplicate results being returned Co-authored-by:
Claire <claire.github-309c@sitedethib.com> * Fix grouping for pinned statuses scope Co-authored-by:
Claire <claire.github-309c@sitedethib.com>
-
- Mar 07, 2022
-
-
Eugen Rochko authored
* Add `/api/v1/accounts/familiar_followers` to REST API * Change hide network preference to be stored consistently for local and remote accounts * Add dummy classes to migration * Apply suggestions from code review Co-authored-by:
Claire <claire.github-309c@sitedethib.com> Co-authored-by:
Claire <claire.github-309c@sitedethib.com>
-
- Mar 06, 2022
-
-
Josh Soref authored
* spelling: account Signed-off-by:
Josh Soref <jsoref@users.noreply.github.com> * spelling: affiliated Signed-off-by:
Josh Soref <jsoref@users.noreply.github.com> * spelling: appearance Signed-off-by:
Josh Soref <jsoref@users.noreply.github.com> * spelling: autosuggest Signed-off-by:
Josh Soref <jsoref@users.noreply.github.com> * spelling: cacheable Signed-off-by:
Josh Soref <jsoref@users.noreply.github.com> * spelling: component Signed-off-by:
Josh Soref <jsoref@users.noreply.github.com> * spelling: conversations Signed-off-by:
Josh Soref <jsoref@users.noreply.github.com> * spelling: domain.example Clarify what's distinct and use RFC friendly domain space. Signed-off-by:
Josh Soref <jsoref@users.noreply.github.com> * spelling: environment Signed-off-by:
Josh Soref <jsoref@users.noreply.github.com> * spelling: exceeds Signed-off-by:
Josh Soref <jsoref@users.noreply.github.com> * spelling: functional Signed-off-by:
Josh Soref <jsoref@users.noreply.github.com> * spelling: inefficiency Signed-off-by:
Josh Soref <jsoref@users.noreply.github.com> * spelling: not Signed-off-by:
Josh Soref <jsoref@users.noreply.github.com> * spelling: notifications Signed-off-by:
Josh Soref <jsoref@users.noreply.github.com> * spelling: occurring Signed-off-by:
Josh Soref <jsoref@users.noreply.github.com> * spelling: position Signed-off-by:
Josh Soref <jsoref@users.noreply.github.com> * spelling: progress Signed-off-by:
Josh Soref <jsoref@users.noreply.github.com> * spelling: promotable Signed-off-by:
Josh Soref <jsoref@users.noreply.github.com> * spelling: reblogging Signed-off-by:
Josh Soref <jsoref@users.noreply.github.com> * spelling: repetitive Signed-off-by:
Josh Soref <jsoref@users.noreply.github.com> * spelling: resolve Signed-off-by:
Josh Soref <jsoref@users.noreply.github.com> * spelling: saturated Signed-off-by:
Josh Soref <jsoref@users.noreply.github.com> * spelling: similar Signed-off-by:
Josh Soref <jsoref@users.noreply.github.com> * spelling: strategies Signed-off-by:
Josh Soref <jsoref@users.noreply.github.com> * spelling: success Signed-off-by:
Josh Soref <jsoref@users.noreply.github.com> * spelling: targeting Signed-off-by:
Josh Soref <jsoref@users.noreply.github.com> * spelling: thumbnails Signed-off-by:
Josh Soref <jsoref@users.noreply.github.com> * spelling: unauthorized Signed-off-by:
Josh Soref <jsoref@users.noreply.github.com> * spelling: unsensitizes Signed-off-by:
Josh Soref <jsoref@users.noreply.github.com> * spelling: validations Signed-off-by:
Josh Soref <jsoref@users.noreply.github.com> * spelling: various Signed-off-by:
Josh Soref <jsoref@users.noreply.github.com> Co-authored-by:
Josh Soref <jsoref@users.noreply.github.com>
-
- Mar 03, 2022
-
-
Claire authored
* Redesign /about when already logged in * Fix sign up form still showing when OMNIAUTH_ONLY is set * Fix tests * Change wording based on suggestions Co-authored-by:
Eugen Rochko <eugen@zeonfederated.com> Co-authored-by:
Eugen Rochko <eugen@zeonfederated.com>
-
- Mar 02, 2022
-
-
Eugen Rochko authored
-
- Mar 01, 2022
-
-
Eugen Rochko authored
* Change authorized applications page * Hide revoke button for superapps and suspended accounts * Clean up db/schema.rb
-
- Feb 24, 2022
-
-
Eugen Rochko authored
* Add trending statuses * Fix dangling items with stale scores in localized sets * Various fixes and improvements - Change approve_all/reject_all to approve_accounts/reject_accounts - Change Trends::Query methods to not mutate the original query - Change Trends::Query#skip to offset - Change follow recommendations to be refreshed in a transaction * Add tests for trending statuses filtering behaviour * Fix not applying filtering scope in controller
-
Eugen Rochko authored
* Change e-mail domain blocks to block IPs dynamically * Update app/workers/scheduler/email_domain_block_refresh_scheduler.rb Co-authored-by:
Yamagishi Kazutoshi <ykzts@desire.sh> * Update app/workers/scheduler/email_domain_block_refresh_scheduler.rb Co-authored-by:
Yamagishi Kazutoshi <ykzts@desire.sh> Co-authored-by:
Yamagishi Kazutoshi <ykzts@desire.sh>
-
Sumak authored
-
- Feb 22, 2022
-
-
luzpaz authored
Found via `codespell -q 3 -S ./CHANGELOG.md,./AUTHORS.md,./config/locales,./app/javascript/mastodon/locales -L ba,keypair,medias,ro`
-
- Feb 16, 2022
- Feb 14, 2022
-
-
Eugen Rochko authored
* Add appeals * Add ability to reject appeals and ability to browse pending appeals in admin UI * Add strikes to account page in settings * Various fixes and improvements - Add separate notification setting for appeals, separate from reports - Fix style of links in report/strike header - Change approving an appeal to not restore statuses (due to federation complexities) - Change style of successfully appealed strikes on account settings page - Change account settings page to only show unappealed or recently appealed strikes * Change appealed_at to overruled_at * Fix missing method error
-
- Feb 11, 2022
-
-
Claire authored
* Change tests to have more specific expectations on sent ActivityPub payloads * Check that payload doesn't actually contain the contents of the boosted toot * Fix Undo Announce sometimes inlining the originally Announced status
-
- Feb 10, 2022
-
-
Claire authored
-
Claire authored
sidekiq-bulk's push_bulk can either accept arguments directly or run them through a block. Setting expectations on the result of evaluating the blocks allows testing more code (the block itself) and the test is moved closer to the *interface* of the tested code than its precise implementation.
-
Claire authored
* Add tests * Fix NoMethodError in StatusUpdateDistributionWorker * Fix tests
-
Claire authored
* Fix poll votes not being properly reset on poll change * Fix and add tests * Fix poll update handling when the number of options changes
-
- Feb 09, 2022
-
-
Eugen Rochko authored
* Add editing for published statuses * Fix change of multiple-choice boolean in poll not resetting votes * Remove the ability to update existing media attachments for now
-
Eugen Rochko authored
-
- Feb 08, 2022
-
-
Eugen Rochko authored
* Remove language detection through cld3 * Update app/helpers/languages_helper.rb Co-authored-by:
Yamagishi Kazutoshi <ykzts@desire.sh> Co-authored-by:
Yamagishi Kazutoshi <ykzts@desire.sh>
-
- Feb 07, 2022
-
-
Eugen Rochko authored
* Fix structured data parsing from links choking on bad data - Fix og:url meta tag being prioritized over canonical link tag - Fix structured data parsing choking on commented-out CDATA declarations - Fix HTML entities in title, description, provider_name, author_name - Change structured data parsing to attempt every JSON-LD script tag * Remove unnecessary slash escapes from CDATA regex pattern
-
Claire authored
* Refactor tests * Add tests * Fix replies collection incorrectly looping
-
- Feb 06, 2022
-
-
Claire authored
* Add tests * Fix instance actor not being dereferenceable * Fix tests * Fix tests for real
-
- Feb 03, 2022
-
-
Claire authored
-
- Jan 28, 2022
-
-
Claire authored
Fixes #17382 Note that unconfirmed and unapproved accounts can still be searched for and their (empty) account retrieved using the REST API.
-
- Jan 27, 2022
-
-
Claire authored
* Change account and user fabricators to simplify and improve tests - `Fabricate(:account)` implicitly fabricates an associated `user` if no `domain` attribute is given (an account with `domain: nil` is considered a local account, but no user record was created), unless `user: nil` is passed - `Fabricate(:account, user: Fabricate(:user))` should still be possible but is discouraged. * Fix and refactor tests - avoid passing unneeded attributes to `Fabricate(:user)` or `Fabricate(:account)` - avoid embedding `Fabricate(:user)` into a `Fabricate(:account)` or the other way around - prefer `Fabricate(:user, account_attributes: …)` to `Fabricate(:user, account: Fabricate(:account, …)` - also, some tests were using remote accounts with local user records, which is not representative of production code.
-
- Jan 26, 2022
-
-
Eugen Rochko authored
Fix #17344
-
- Jan 23, 2022
-
-
Claire authored
* Fix error-prone SQL queries in Account search While this code seems to not present an actual vulnerability, one could easily be introduced by mistake due to how the query is built. This PR parameterises the `to_tsquery` input to make the query more robust. * Harden code for Status#tagged_with_all and Status#tagged_with_none Those two scopes aren't used in a way that could be vulnerable to an SQL injection, but keeping them unchanged might be a hazard. * Remove unneeded spaces surrounding tsquery term * Please CodeClimate * Move advanced_search_for SQL template to its own function This avoids one level of indentation while making clearer that the SQL template isn't build from all the dynamic parameters of advanced_search_for. * Add tests covering tagged_with, tagged_with_all and tagged_with_none * Rewrite tagged_with_none to avoid multiple joins and make it more robust * Remove obsolete brakeman warnings * Revert "Remove unneeded spaces surrounding tsquery term" The two queries are not strictly equivalent. This reverts commit 86f16c537e06c6ba4a8b250f25dcce9f049023ff.
-