Misty De Meo
23633720a8
merge tag v4.5.0
4 months ago
Misty De Meo
86df8feb80
merge v4.4.0 into mastodon_4_3_0
4 months ago
Claire
b661192a12
Fix polls not being validated on edition ( #33755 )
1 year ago
Matt Jankowski
5405bdd344
Remove unused E2EE messaging code ( #31193 )
2 years ago
Eugen Rochko
e0c27a5047
Add ability to manage which websites can credit you in link previews ( #31819 )
2 years ago
Matt Jankowski
02df1b4e4a
Finish email allow/deny list naming migration ( #30530 )
2 years ago
Emelia Smith
4655be0da6
Fix add validation to webpush subscription keys ( #30542 )
2 years ago
Matt Jankowski
4a77e477ee
Consolidate account scopes for `LOWER` (index using) username/domain queries ( #30451 )
2 years ago
Claire
86807e4799
Improve email address validation ( #29838 )
2 years ago
Claire
38b9d31f63
Improve email address validation ( #29838 )
2 years ago
Matt Jankowski
67f54c4e75
Fix `Rails/WhereExists` cop in app/validators ( #28854 )
2 years ago
Claire
6ad0fb5a77
Fix NULL MX handling and tighten DNS resolving specs ( #28607 )
2 years ago
Matt Jankowski
00c6ebd86f
Reduce `.times` usage in `StatusPin` and add `PIN_LIMIT` constant in validator ( #27945 )
2 years ago
Matt Jankowski
19900f647e
Add coverage for `UnreservedUsernameValidator` ( #25590 )
2 years ago
Matt Jankowski
f5bc1f20e2
Add coverage for `ExistingUsernameValidator` ( #25592 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Matt Jankowski
660993b415
Add coverage for `URLValidator` ( #25591 )
3 years ago
Matt Jankowski
6602edf064
Add coverage for `LanguageValidator` ( #25593 )
3 years ago
Matt Jankowski
30f5ec7303
Rubocop fix: `Perfomance/UnfreezeString` ( #26217 )
3 years ago
Matt Jankowski
b8b2470cf8
Fix `Style/SlicingWithRange` cop ( #25923 )
3 years ago
Jasmin
0728a6a709
Merge upstream security fixes of v4.0.5 ( #1316 )
...
It's already running on our instance (queer.group) and working fine.
Manually reviewed the changes, hadn't found anything that could break
hometown-specific code.
And to update our instance, I also just followed the [steps on the
release](https://github.com/mastodon/mastodon/releases/tag/v4.0.5 ) aka
`bundle install && yarn install` followed by a restart of all processes.
---------
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Co-authored-by: Daniel M Brasil <danielmbrasil@protonmail.com>
Co-authored-by: Emelia Smith <ThisIsMissEm@users.noreply.github.com>
Co-authored-by: Vyr Cossont <VyrCossont@users.noreply.github.com>
Co-authored-by: Renaud Chaput <renchap@gmail.com>
3 years ago
Claire
0b627dcf9e
Fix being able to vote on your own polls ( #25015 )
3 years ago
Claire
cca464bce3
Fix being able to vote on your own polls ( #25015 )
3 years ago
Matt Jankowski
9f5deb310b
Fix Performance/MapCompact cop ( #24797 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
3 years ago
Claire
5cd55d8aaf
Fix being able to vote on your own polls ( #25015 )
3 years ago
Matt Jankowski
88d33f361f
Fix Lint/DuplicateBranch cop ( #24766 )
3 years ago
Claire
32a030dd74
Rewrite import feature ( #21054 )
3 years ago
Matt Jankowski
c40d5e5a8f
Misc coverage improvements for validators ( #23928 )
3 years ago
Matt Jankowski
4bb39ac3c3
Fix single-record invalid condition on PollVote ( #23810 )
3 years ago
Matt Jankowski
730bb3e211
Remove unused HTML Validator ( #23866 )
3 years ago
Nick Schonning
717683d1c3
Autofix Rubocop remaining Layout rules ( #23679 )
3 years ago
Nick Schonning
2177daeae9
Autofix Rubocop Style/RedundantBegin ( #23703 )
3 years ago
Claire
a5a00d7f7a
Fix email with empty domain name labels passing validation ( #23246 )
...
* Fix email with empty domain name labels passing validation
`EmailMxValidator` would allow empty labels because `Resolv::DNS` is
particularly lenient about them, but the email would be invalid and
unusable.
* Add tests
3 years ago
Claire
3654c94583
Strip spaces around URL when adding a relay ( #22655 )
...
* Strip spaces around URL when adding a relay
Fixes #22650
* Gracefuly handle URL parsing errors in URL validator
3 years ago
Eugen Rochko
317ec06dc7
Fix error when uploading malformed CSV import ( #19509 )
3 years ago
Eugen Rochko
abf6c87ee8
Fix remote account in contact account setting not being used ( #19351 )
3 years ago
Eugen Rochko
50948b46aa
Add ability to filter followed accounts' posts by language ( #19095 )
4 years ago
Eugen Rochko
a2871cd747
Add administrative webhooks ( #18510 )
...
* Add administrative webhooks
* Fix error when webhook is deleted before delivery worker runs
4 years ago
Eugen Rochko
f6d35ed57d
Remove IP matching from e-mail domain blocks ( #18190 )
...
Clear out e-mail domain blocks created from automatically resolved DNS records
4 years ago
Eugen Rochko
bbc7afa2a2
Fix being able to post URLs longer than 4096 characters ( #17908 )
4 years ago
Eugen Rochko
a29a982eaa
Change e-mail domain blocks to block IPs dynamically ( #17635 )
...
* 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>
4 years ago
Eugen Rochko
b6d7726ecb
Remove language detection through cld3 ( #17478 )
...
* 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>
4 years ago
Claire
d5c9feb7b7
Add support for private pinned posts ( #16954 )
...
* Add support for private pinned toots
* Allow local user to pin private toots
* Change wording to avoid "direct message"
4 years ago
Eugen Rochko
d5a50e9dfb
Add `configuration` attribute to `GET /api/v1/instance` ( #16485 )
...
List various values like file size limits and supported mime types
4 years ago
Claire
b21f3aa21d
Minor memory optimizations ( #16507 )
...
Reduce constant memory usage by ~100kB and further reduce boot-up memory
allocations and temporary memory use by a further ~200kB.
5 years ago
Eugen Rochko
275fa4746b
Add `configuration` attribute to `GET /api/v1/instance` ( #16485 )
...
List various values like file size limits and supported mime types
5 years ago
Eugen Rochko
3639862dee
Fix existing username validator not allowing multiple accounts ( #16153 )
...
Fix #16107
5 years ago
Eugen Rochko
daccc07dc1
Change auto-following admin-selected accounts, show in recommendations ( #16078 )
5 years ago
Eugen Rochko
b3ceb3dcc4
Add canonical e-mail blocks for suspended accounts ( #16049 )
...
Prevent new accounts from being created using the same underlying
e-mail as a suspended account using extensions and period
permutations. Stores e-mails as a SHA256 hash
5 years ago
Claire
051efed5ed
Bypass MX validation for explicitly allowed domains ( #15930 )
...
* Bypass MX validation for explicitly allowed domains
This spares some lookups and prevent issues in some edge cases with
local domains.
* Add tests
* Fix test
5 years ago
Claire
a4dcaef53b
Prepare Mastodon for zeitwerk autoloader ( #15917 )
...
* Prepare Mastodon for zeitwerk autoloader (Rails 6)
Add inflections and rename/move a few classes.
In particular, app/lib/exceptions.rb and app/lib/sanitize_config.rb
were manually loaded while still in autoload paths.
* Add inflection for Url → URL
5 years ago