about summary refs log tree commit diff
path: root/spec
AgeCommit message (Collapse)Author
2023-03-16Merge branch 'main' into glitch-soc/merge-upstreamClaire
Conflicts: - `README.md`: Upstream changed their README, we have our own. Kept ours. - `app/helpers/application_helper.rb`: Minor code style fix upstream, on a line that is different in glitch-soc due to the different theming system. Applied the code style fix to our own code. - `app/views/settings/preferences/appearance/show.html.haml`: Code style fix on a line next to lines exclusive to glitch-soc. Applied upstream changes. - `yarn.lock`: Upstream updated a dependency textually close to a glitch-soc-only dependency. Updated the dependency like upstream did.
2023-03-16Replace `Status#translatable?` with language matrix in separate endpoint ↵Christian Schmidt
(#24037)
2023-03-16Autofix Rubocop Style/PreferredHashMethods (#23851)Nick Schonning
2023-03-15Merge branch 'main' into glitch-soc/merge-upstreamClaire
Conflicts: - `.github/workflows/build-image.yml`: Upstream switched to pushing to both DockerHub and GitHub Container Repository, while glitch-soc was already pushing to the latter only. Updated our configuration to be slightly more consistent with upstream's naming and styling, but kept our behavior. - `Gemfile.lock`: Updated dependencies textually too close to glitch-soc only hcaptcha dependency. Updated dependencies as upstream did. - `README.md`: Upstream updated its README, but we have a completely different one. Kept our README, though it probably should be reworked at some point. - `app/views/auth/sessions/two_factor.html.haml`: Minor style fix upstream that's on a line glitch-soc removed because of its different theming system. Kept our file as is. - `spec/controllers/health_controller_spec.rb`: This file apparently did not exist upstream, upstream created it with different contents but it is functionally the same. Switched to upstream's version of the file. - `spec/presenters/instance_presenter_spec.rb`: Upstream changed the specs around `GITHUB_REPOSITORY`, while glitch-soc had its own code because it's a fork and does not have the same default source URL. Took upstream's change, but with glitch-soc's repo as the default case. - `yarn.lock`: Upstream dependencies textually too close to a glitch-soc only one. Updated dependencies as upstream did.
2023-03-15Fix misleading error code when receiving invalid WebAuthn credentials (#23568)Claire
2023-03-15Add spec for the CLI `version` task (#23978)Matt Jankowski
2023-03-10Add basic search specs for chewy indexes (#24065)Matt Jankowski
2023-03-10Coverage improvement round-out following up previous work (#23987)Matt Jankowski
2023-03-10Serializers spec coverage (#24017)Matt Jankowski
2023-03-09Explicitly set github repo in instance presenter spec (#24036)Matt Jankowski
2023-03-08Unescape HTML entities (#24019)Christian Schmidt
2023-03-05Merge branch 'main' into glitch-soc/merge-upstreamClaire
Conflicts: - `README.md`: Upstream README has been changed, but we have a completely different one. Kept our `README.md`. - `lib/sanitize_ext/sanitize_config.rb`: Upstream added support for more incoming HTML tags (a large subset of what glitch-soc accepts). Change the code style to match upstream's but otherwise do not change our code. - `spec/lib/sanitize_config_spec.rb`: Upstream added support for more incoming HTML tags (a large subset of what glitch-soc accepts). Kept our version, since the tests are mostly glitch-soc's, except for cases which are purposefuly different.
2023-03-04Fix spec for api/v1/statuses/translations (#23956)Matt Jankowski
2023-03-04Restore missing fabricators (#23951)Matt Jankowski
2023-03-04Pending example models minimal coverage (#23912)Matt Jankowski
2023-03-04User mailer spec coverage improvements (#23905)Matt Jankowski
2023-03-04Admin controllers specs (#23917)Matt Jankowski
2023-03-04Specs api v1 controllers (#23930)Matt Jankowski
2023-03-04Fabricator specs (#23925)Matt Jankowski
2023-03-04Misc coverage improvements for validators (#23928)Matt Jankowski
2023-03-04Helpers specs coverage improvement (#23937)Matt Jankowski
2023-03-04Policies specs (#23924)Matt Jankowski
2023-03-04Settings controllers specs (#23915)Matt Jankowski
2023-03-04Add basic coverage for some worker jobs (#23943)Matt Jankowski
2023-03-04Models specs coverage (#23940)Matt Jankowski
2023-03-03Only offer translation for supported languages (#23879)Christian Schmidt
2023-03-03Add tests for moderation actions without custom text (#23184)Claire
2023-03-03Fix “Remove all followers from the selected domains” being more ↵Claire
destructive than it claims (#23805)
2023-03-03Add support for incoming rich text (#23913)Claire
2023-03-02Merge branch 'main' into glitch-soc/merge-upstreamClaire
2023-03-02Fix deprecation warning about merging conditions (#23618)Matt Jankowski
2023-03-02Update rspec-rails to version 6.0.1 (#23908)Matt Jankowski
2023-03-02Add spec coverage for Admin::Trends::StatusesHelper (#23898)Matt Jankowski
2023-03-02Add rspecs for FollowRecommendationsScheduler (#23890)Stanislav Dobrovolschii
2023-03-02Spec coverage for HomeHelper (#23907)Matt Jankowski
2023-02-28Admin mailer spec coverage improvement (#23863)Matt Jankowski
2023-02-27Add policies and serializers groups to simplecov output (#23897)Matt Jankowski
2023-02-27Fix single-record invalid condition on PollVote (#23810)Matt Jankowski
2023-02-25Merge branch 'main' into glitch-soc/merge-upstreamClaire
Conflicts: - `.prettierignore`: Upstream added a line at the end of the file, while glitch-soc had its own extra lines. Took upstream's change. - `CONTRIBUTING.md`: We have our custom CONTRIBUTING.md quoting upstream. Upstream made changes. Ported upstream changes. - `app/controllers/application_controller.rb`: Upstream made code style changes in a method that is entirely replaced in glitch-soc. Ignored the change. - `app/models/account.rb`: Code style changes textually close to glitch-soc-specific changes. Ported upstream changes. - `lib/sanitize_ext/sanitize_config.rb`: Upstream code style changes. Ignored them.
2023-02-23Rename ActivityPub Serializer Specs (#23844)Nick Schonning
2023-02-23Change auto-deletion throttling constants to better scale with server size ↵Claire
(#23320)
2023-02-23Fix mispelled spec filenames (#23834)Nick Schonning
2023-02-22Fix rack:attack flaky tests and test end of throttle period (#23799)Claire
2023-02-22Autofix Rubocop Rails/RootPathnameMethods (#23760)Nick Schonning
2023-02-22Enable Style/FrozenStringLiteralComment for specs (#23790)Nick Schonning
2023-02-22Enable Rubocop Style/StringConcatenation defaults (#23792)Nick Schonning
2023-02-21Autofix Rubocop Security/IoMethods (#23757)Nick Schonning
2023-02-20Autofix Rubocop Style/SymbolProc (#23742)Nick Schonning
2023-02-20Autofix Rubocop remaining Layout rules (#23679)Nick Schonning
2023-02-20Autofix Rubocop RSpec/BeEq (#23740)Nick Schonning