Eugen Rochko
305556274a
Redesign admin accounts index ( #9340 )
...
* Improve overview of accounts in admin UI
- Display suspended status, role, last activity and IP prominently
- Default to showing local accounts
- Default to not showing suspended accounts
* Remove unused strings
* Fix tests
* Allow filtering accounts by IP mask
6 years ago
valerauko
2178c50fed
Ensure replied-to is a status not a boost ( #9129 )
...
* Ensure replied-to is a status not a boost
* Consider case of not a reply
* Add test case for replying to boost
* Move reblog-reply resolution to model
* Remove unnecessary comment
6 years ago
takayamaki
057097e8ad
check_boxes label should use display: inline-block ( #9348 )
6 years ago
Eugen Rochko
1d16575d71
Sort self-replies to the top of descendants ( #9320 )
...
Fix #6463
6 years ago
Eugen Rochko
e49abb3b4f
Revert "Sort self-replies to the top of the thread ( #9296 )" ( #9335 )
...
This reverts commit 76a0c28687
.
Fix #9315
6 years ago
dependabot[bot]
fd8841ce92
Bump simple_form from 4.0.1 to 4.1.0 ( #9331 )
...
Bumps [simple_form](https://github.com/plataformatec/simple_form ) from 4.0.1 to 4.1.0.
- [Release notes](https://github.com/plataformatec/simple_form/releases )
- [Changelog](https://github.com/plataformatec/simple_form/blob/master/CHANGELOG.md )
- [Commits](https://github.com/plataformatec/simple_form/compare/v4.0.1...v4.1.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years ago
Eugen Rochko
f3fee3cd27
Fix connect timeout not being enforced ( #9329 )
...
* Fix connect timeout not being enforced
The loop was catching the timeout exception that should stop execution, so the next IP would no longer be within a timed block, which led to requests taking much longer than 10 seconds.
* Use timeout on each IP attempt, but limit to 2 attempts
* Fix code style issue
* Do not break Request#perform if no block given
* Update method stub in spec for Request
* Move timeout inside the begin/rescue block
* Use Resolv::DNS with timeout of 1 to get IP addresses
* Update Request spec to stub Resolv::DNS instead of Addrinfo
* Fix Resolve::DNS stubs in Request spec
6 years ago
valerauko
a6ebcda59b
Ignore JSON-LD profile in mime type comparison ( #9179 )
...
Ignore JSON-LD profile in mime type comparison
6 years ago
dependabot[bot]
65989166e0
Bump sidekiq-bulk from 0.1.1 to 0.2.0 ( #9306 )
...
Bumps [sidekiq-bulk](https://github.com/aprescott/sidekiq-bulk ) from 0.1.1 to 0.2.0.
- [Release notes](https://github.com/aprescott/sidekiq-bulk/releases )
- [Changelog](https://github.com/aprescott/sidekiq-bulk/blob/master/CHANGES.md )
- [Commits](https://github.com/aprescott/sidekiq-bulk/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years ago
dependabot[bot]
c439d53587
Bump aws-sdk-s3 from 1.24.0 to 1.25.0 ( #9321 )
...
Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby ) from 1.24.0 to 1.25.0.
- [Release notes](https://github.com/aws/aws-sdk-ruby/releases )
- [Changelog](https://github.com/aws/aws-sdk-ruby/blob/master/gems/aws-sdk-s3/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-ruby/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years ago
dependabot[bot]
3c952f58a9
Bump capybara from 3.11.0 to 3.11.1 ( #9305 )
...
Bumps [capybara](https://github.com/teamcapybara/capybara ) from 3.11.0 to 3.11.1.
- [Release notes](https://github.com/teamcapybara/capybara/releases )
- [Changelog](https://github.com/teamcapybara/capybara/blob/master/History.md )
- [Commits](https://github.com/teamcapybara/capybara/compare/3.11.0...3.11.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years ago
ThibG
6d38e81021
Include replies to list owner and replies to list members in list statuses ( #9324 )
6 years ago
Eugen Rochko
0ebb6c1480
Revert connect timeout from 1s to 10s ( #9319 )
...
The failure rate in Sidekiq is too high
6 years ago
Renato "Lond" Cerqueira
55aa92b893
Touch account on successful response, change char shown when culled ( #9293 )
...
Just the color is not enough change since not everyone uses colored
terminals.
Touching the account makes it so that the account is not in the
threshold window in case of running again
6 years ago
Alexandre Alapetite
d51ed0a0a1
WebSub: ATOM before RSS ( #9302 )
...
Hello,
The ATOM feed contains the hub declaration for WebSub, but the RSS
version does not.
RSS/ATOM readers will typically pick whichever version comes first, and
will thus not see the WebSub feature.
I therefore suggest putting the ATOM version first, as it is more
feature-rich than its RSS counterpart is.
Clients not compatible with ATOM would not pick it anyway due to the
different type attribute.
A more complicated alternative would be to declare the WebSub feature in
the RSS version as well, using something like the following code, and
ensuring that clients subscribed to the RSS version would receive PuSH
updates just like those subscribed to the ATOM version.
````xml
<rss version="2.0" xmlns:webfeeds="http://webfeeds.org/rss/1.0 "
xmlns:atom="http://www.w3.org/2005/Atom ">
<channel>
<atom:link rel="self" type="application/rss+xml"
href="https://diaspodon.fr/users/test.rss "/>
<atom:link rel="hub" href="https://diaspodon.fr/api/push "/>
</channel>
</rss>
```
6 years ago
Dan Hunsaker
4774f84eb0
Update Nginx config for Nanobox apps ( #9310 )
...
The Nanobox files have gotten out of sync, a touch, with what Masto needs for Nginx settings. This PR updates them accordingly.
6 years ago
Eugen Rochko
a217abb71c
Cast status_count to integer ( #9314 )
...
It is returned as a double because the sum is now over bigint columns
Fix #9312
6 years ago
James Kiesel
b874d9dac7
Simplify hashtag query service, perf increase for 'any' tags ( #9298 )
6 years ago
Eugen Rochko
7c9a655933
Fix filter ID not being a string in REST API ( #9303 )
6 years ago
Eugen Rochko
62c0e112ea
Extract counters from accounts table to account_stats table ( #9295 )
6 years ago
James Kiesel
98c9ad366b
Deep compare tags for hashtag column reload ( #9297 )
...
* Deep compare tags for hashtag column reload
* Don't use global lodash
6 years ago
Eugen Rochko
4ec133ef93
Prevent multiple handlers for Delete of Actor from running ( #9292 )
6 years ago
Eugen Rochko
76a0c28687
Sort self-replies to the top of the thread ( #9296 )
...
Fix #6463
6 years ago
Eugen Rochko
7a939f7cfc
Remove intermediary arrays when creating hash maps from results ( #9291 )
6 years ago
dependabot[bot]
1d97ce7dd8
Bump aws-sdk-s3 from 1.23.1 to 1.24.0 ( #9289 )
...
Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby ) from 1.23.1 to 1.24.0.
- [Release notes](https://github.com/aws/aws-sdk-ruby/releases )
- [Changelog](https://github.com/aws/aws-sdk-ruby/blob/master/gems/aws-sdk-s3/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-ruby/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years ago
mayaeh
6d9f63dba6
Change the password form order ( #9267 )
...
* Change order of password.
* Update Japanese translation for "Show thread".
* Separate the translation PR.
6 years ago
mayaeh
214aab8715
Fix "tootctl media remove" can't count the file size ( #9288 )
...
* Fixed an issue where "tootctl media remove" can not count the file size.
* Fixed the problem pointed out by codeclimate.
6 years ago
mayaeh
d8ea8569c0
Update Japanese translation for "Show thread". ( #9287 )
6 years ago
dependabot[bot]
82b626a3eb
Bump capybara from 3.10.1 to 3.11.0 ( #9285 )
...
Bumps [capybara](https://github.com/teamcapybara/capybara ) from 3.10.1 to 3.11.0.
- [Release notes](https://github.com/teamcapybara/capybara/releases )
- [Changelog](https://github.com/teamcapybara/capybara/blob/master/History.md )
- [Commits](https://github.com/teamcapybara/capybara/compare/3.10.1...3.11.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years ago
ThibG
7083838a54
Fix race condition causing shallow status with only a "favourited" attribute ( #9272 )
...
Fixes #9231
6 years ago
Eugen Rochko
c735638483
Fix null error introduced in #9270 ( #9275 )
6 years ago
ThibG
df154d2ffa
Perform deep comparison for card data when receiving new props ( #9270 )
...
Fixes #9226
6 years ago
dependabot[bot]
a82563aebd
Bump parallel_tests from 2.26.2 to 2.27.0 ( #9263 )
...
Bumps [parallel_tests](https://github.com/grosser/parallel_tests ) from 2.26.2 to 2.27.0.
- [Release notes](https://github.com/grosser/parallel_tests/releases )
- [Commits](https://github.com/grosser/parallel_tests/compare/v2.26.2...v2.27.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years ago
dependabot[bot]
acdc5d658b
Bump thor from 0.20.0 to 0.20.3 ( #9266 )
...
Bumps [thor](https://github.com/wycats/thor ) from 0.20.0 to 0.20.3.
- [Release notes](https://github.com/wycats/thor/releases )
- [Changelog](https://github.com/erikhuda/thor/blob/master/CHANGELOG.md )
- [Commits](https://github.com/wycats/thor/compare/v0.20.0...v0.20.3 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years ago
dependabot[bot]
a4be0edb1a
Bump oj from 3.7.0 to 3.7.1 ( #9265 )
...
Bumps [oj](https://github.com/ohler55/oj ) from 3.7.0 to 3.7.1.
- [Release notes](https://github.com/ohler55/oj/releases )
- [Changelog](https://github.com/ohler55/oj/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ohler55/oj/compare/v3.7.0...v3.7.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years ago
dependabot[bot]
aa2edec6c3
Bump bullet from 5.8.1 to 5.9.0 ( #9264 )
...
Bumps [bullet](https://github.com/flyerhzm/bullet ) from 5.8.1 to 5.9.0.
- [Release notes](https://github.com/flyerhzm/bullet/releases )
- [Changelog](https://github.com/flyerhzm/bullet/blob/master/CHANGELOG.md )
- [Commits](https://github.com/flyerhzm/bullet/compare/5.8.1...5.9.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years ago
Les Orchard
4e067b1bd0
Only consider mouse move in scrolling on item insertion ( #9262 )
...
Fixes #9259
6 years ago
mayaeh
04f0b63c59
i18n: Add ja translations ( #9261 )
...
* Run yarn manage:translations
* Add Japanese translations.
6 years ago
ThibG
b6e377a340
Fix emoji update date processing ( #9255 )
6 years ago
ThibG
49889c0b8b
Check that twitter:player is valid before using it ( #9254 )
...
Fixes #9251
6 years ago
Eugen Rochko
0562e258b3
Fix loading indicator inconsistency ( #9252 )
...
* Use global loading indicator when loading more items
* Use local loading indicator for notifications
And remove global loading indicator for initial custom emojis load
6 years ago
Les Orchard
59ecfbd28c
Identify manual scrolling to cancel scroll to top reset on mouse idle ( #9245 )
6 years ago
ThibG
3472950cea
Remove unused computation of reblog references from updateTimeline ( #9244 )
6 years ago
Eugen Rochko
a3f443b9c3
Improve ActiveRecord connection in on_worker_boot ( #9238 )
...
This is how it looks in the example in the Puma README
6 years ago
dependabot[bot]
39fb2ab658
Bump tty-prompt from 0.17.1 to 0.17.2 ( #9243 )
...
Bumps [tty-prompt](https://github.com/piotrmurach/tty-prompt ) from 0.17.1 to 0.17.2.
- [Release notes](https://github.com/piotrmurach/tty-prompt/releases )
- [Changelog](https://github.com/piotrmurach/tty-prompt/blob/master/CHANGELOG.md )
- [Commits](https://github.com/piotrmurach/tty-prompt/compare/v0.17.1...v0.17.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years ago
dependabot[bot]
6dfc7643d8
Bump sidekiq from 5.2.2 to 5.2.3 ( #9241 )
...
Bumps [sidekiq](https://github.com/mperham/sidekiq ) from 5.2.2 to 5.2.3.
- [Release notes](https://github.com/mperham/sidekiq/releases )
- [Changelog](https://github.com/mperham/sidekiq/blob/master/Changes.md )
- [Commits](https://github.com/mperham/sidekiq/compare/v5.2.2...v5.2.3 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years ago
dependabot[bot]
aed0348e73
Bump pry-rails from 0.3.6 to 0.3.7 ( #9242 )
...
Bumps [pry-rails](https://github.com/rweng/pry-rails ) from 0.3.6 to 0.3.7.
- [Release notes](https://github.com/rweng/pry-rails/releases )
- [Commits](https://github.com/rweng/pry-rails/compare/v0.3.6...v0.3.7 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years ago
dependabot[bot]
1e9a0a1a4d
Bump hiredis from 0.6.1 to 0.6.3 ( #9240 )
...
Bumps [hiredis](https://github.com/redis/hiredis-rb ) from 0.6.1 to 0.6.3.
- [Release notes](https://github.com/redis/hiredis-rb/releases )
- [Changelog](https://github.com/redis/hiredis-rb/blob/master/CHANGELOG.md )
- [Commits](https://github.com/redis/hiredis-rb/compare/v0.6.1...v0.6.3 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years ago
Eugen Rochko
eed84cacba
Fix nil error regression from #9229 in tootctl media remove ( #9239 )
...
Fix #9237
6 years ago
Eugen Rochko
d78aed7a37
Reduce connect timeout limit and limit signature failures by source IP ( #9236 )
...
* Reduce connect timeout from 10s to 1s
* Limit failing signature verifications per source IP
6 years ago