Matt Jankowski
d7b7617321
Use `class_names` in admin/account_moderation_notes helper ( #30719 )
2 years ago
Claire
de4815afda
Add more tests for self-destruct mode ( #30374 )
2 years ago
Jason Punyon
85c625d319
Fix repetitive database queries from #30040 ( #30259 )
2 years ago
Fawaz Farid
bc24c4792d
Allow admins to configure instance favicon and logo ( #30040 )
2 years ago
Matt Jankowski
b61ae28f8d
Separate methods for theme style and meta color tags ( #29802 )
2 years ago
Matt Jankowski
6d2986017e
Remove unused `active_nav_class` helper method ( #29617 )
2 years ago
Matt Jankowski
92855948a0
Remove unused `show_landing_strip?` helper method ( #29618 )
2 years ago
Matt Jankowski
ecdbf15ebe
Remove unused `link_to_older` and `link_to_newer` helper methods ( #29620 )
2 years ago
Claire
9fee5e8526
Merge pull request from GHSA-jhrq-qvrm-qr36
...
* Fix insufficient Content-Type checking of fetched ActivityStreams objects
* Allow JSON-LD documents with multiple profiles
2 years ago
Claire
6fed0fcbaa
Remove unneeded settings cleanup from specs ( #28425 )
2 years ago
Matt Jankowski
476d1237d4
Typo fix in json ld helper spec ( #28417 )
2 years ago
Matt Jankowski
0b4a3a0437
Remove remaining `without_partial_double_verification` usage ( #28127 )
2 years ago
Eugen Rochko
0d14fcebae
Change link previews to keep original URL from the status ( #27312 )
2 years ago
Matt Jankowski
548bb30b2a
Consolidate html page title output logic into helper ( #27563 )
2 years ago
Matt Jankowski
c9204b792c
Fix `Rails/I18nLocaleTexts` cop ( #27779 )
2 years ago
Matt Jankowski
49e2772064
Fix `RSpec/MessageSpies` cop ( #27751 )
2 years ago
Matt Jankowski
b06284c572
Fix `RSpec/HookArgument` cop ( #27747 )
2 years ago
Matt Jankowski
d6f50839e1
Fix `RSpec/SpecFilePathFormat` cops ( #27730 )
2 years ago
Matt Jankowski
949f5eb860
Fix `RSpec/MetadataStyle` cop in spec/ ( #27729 )
2 years ago
Matt Jankowski
9f218c9924
Refactor appeal partial to avoid brakeman XSS warning ( #25880 )
2 years ago
Matt Jankowski
bcd0171e5e
Fix `Lint/UselessAssignment` cop ( #27472 )
2 years ago
gunchleoc
68ec1d180a
Fix language sorting in settings ( #27158 )
3 years ago
Nick Schonning
b970ed6098
Update rubocop and rubocop-rspec ( #26329 )
3 years ago
Matt Jankowski
6f1fa1364f
Fix `RSpec/EmptyExampleGroup` cop ( #24735 )
3 years ago
Matt Jankowski
6edd404482
Cleanup unused portions of statuses/status partial ( #26045 )
3 years ago
Matt Jankowski
6c5a2233a8
Fix `RSpec/StubbedMock` cop ( #25552 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
3 years ago
Matt Jankowski
05f9e39b32
Fix `RSpec/VerifiedDoubles` cop ( #25469 )
3 years ago
Renaud Chaput
b0780cfeed
Fix `/share` and cleanup and reorganize frontend locale loading ( #25240 )
3 years ago
Claire
b922ad7a1b
Fix crash when S3_ALIAS_HOST or S3_CLOUDFRONT_HOST have a path component ( #25018 )
3 years ago
Matt Jankowski
c97b611b6b
Fix RSpec/InferredSpecType cop ( #24736 )
3 years ago
Matt Jankowski
710745e16b
Fix RSpec/ContextWording cop ( #24739 )
3 years ago
Matt Jankowski
a7df578f97
ApplicationHelper spec coverage, unused removal, tiny refactor ( #24762 )
3 years ago
Matt Jankowski
d00e45a7d3
Fix Rails/I18nLocaleAssignment cop ( #24693 )
3 years ago
Matt Jankowski
91a8cd21d8
React component helper specs ( #24072 )
3 years ago
Matt Jankowski
0a5f0a8b20
Remove instance variables from helper usage ( #24203 )
3 years ago
Matt Jankowski
688287c59d
Coverage improvement round-out following up previous work ( #23987 )
3 years ago
Matt Jankowski
2f606ba122
Helpers specs coverage improvement ( #23937 )
3 years ago
Matt Jankowski
35dff48edf
Add spec coverage for Admin::Trends::StatusesHelper ( #23898 )
3 years ago
Matt Jankowski
b6602f68eb
Spec coverage for HomeHelper ( #23907 )
3 years ago
Nick Schonning
6bd7003799
Fix mispelled spec filenames ( #23834 )
3 years ago
Nick Schonning
84cc805cae
Enable Style/FrozenStringLiteralComment for specs ( #23790 )
3 years ago
Nick Schonning
5116347eb7
Autofix Rubocop RSpec/BeEq ( #23740 )
3 years ago
Nick Schonning
e0e63b73ee
Autofix Rubocop RSpec/EmptyLineAfterHook ( #23718 )
3 years ago
Nick Schonning
81ad6c2e39
Autofix Rubocop Style/StringLiterals ( #23695 )
3 years ago
Nick Schonning
08289a38fa
Autofix Rubocop Style/TrailingCommaInArrayLiteral ( #23692 )
3 years ago
Neil Matatall
1f5740e65c
Use Rails tag API to build RSS feed for spoilers and polls ( #20163 )
...
* Use Rails tag API to build RSS feed for spoilers and polls
While the previous method did not contain a bug or a potential issue,
the tag API can be very resilient against future problems and reduces the
amount of manual management of the escape status of the content.
I've added tests to ensure that the formatting is broken and still
escapes control characters correctly.
* this seems cleaner and passes
* Incorporate feedback by moving the br to its own line and using the tag helper over the string constant for the br tag itself
* whoops, tag helper doesn't use a self-closing tag
3 years ago
Ikko Ashimine
baecdf2882
Fix typo in application_helper_spec.rb ( #20981 )
...
enviroment -> environment
3 years ago
F
d4f973227c
Test the native_locale_name of a non-standard locale ( #20284 )
...
`:en` is English for both `standard_locale_name` and
`native_locale_name`, and so makes for a poor test candidate for
differentiating between them.
3 years ago
Eugen Rochko
0396acf39e
Add audit log entries for user roles ( #19040 )
...
* Refactor audit log schema
* Add audit log entries for user roles
4 years ago
Eugen Rochko
45aa5781ce
Change brand color and logotypes ( #18592 )
...
- Add rake task for generating Apple/Android icons and favicons from SVG
- Add rake task for generating PNG icons and logos for e-mails from SVG
- Remove obsolete Microsoft icons and configuration
- Remove PWA shortcut icons
4 years ago