Eugen Rochko
73faadad28
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
db9aea34de
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
180ae0472a
check_boxes label should use display: inline-block ( #9348 )
6 years ago
Thibaut Girka
6b6e633c09
Update MediaGallery and Video props when folding/unfolding CWs in detailed statuses
6 years ago
Thibaut Girka
b41d60f2d8
Render placeholder when inline video container width isn't known
6 years ago
Thibaut Girka
0d3612482e
Render placeholder instead of image when MediaGallery container width isn't known
6 years ago
Eugen Rochko
0eaf6d7693
Sort self-replies to the top of descendants ( #9320 )
...
Fix #6463
6 years ago
Eugen Rochko
87a43274f1
Revert "Sort self-replies to the top of the thread ( #9296 )" ( #9335 )
...
This reverts commit 074960bb0f
.
Fix #9315
6 years ago
dependabot[bot]
0206d569c3
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
fd8145d232
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
824497fbce
Ignore JSON-LD profile in mime type comparison ( #9179 )
...
Ignore JSON-LD profile in mime type comparison
6 years ago
dependabot[bot]
473998ca27
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]
c100e82a56
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]
7278e32745
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
466e3d710c
Include replies to list owner and replies to list members in list statuses ( #9324 )
6 years ago
Eugen Rochko
384e953b75
Revert connect timeout from 1s to 10s ( #9319 )
...
The failure rate in Sidekiq is too high
6 years ago
Renato "Lond" Cerqueira
c66739b418
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
d1d2377870
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
1f7311b14b
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
0c666ae5e6
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
Thibaut Girka
b3ff35a75c
Move URLs to backend in their own file
6 years ago
James Kiesel
6a65d87f4d
Simplify hashtag query service, perf increase for 'any' tags ( #9298 )
6 years ago
Eugen Rochko
1d38c9750a
Fix filter ID not being a string in REST API ( #9303 )
6 years ago
Eugen Rochko
d6b9a62e0a
Extract counters from accounts table to account_stats table ( #9295 )
6 years ago
James Kiesel
4fdefffb99
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
9311430ed7
Prevent multiple handlers for Delete of Actor from running ( #9292 )
6 years ago
Eugen Rochko
074960bb0f
Sort self-replies to the top of the thread ( #9296 )
...
Fix #6463
6 years ago
Thibaut Girka
a77ee0bb6d
Fix composer not displaying on iPad
6 years ago
Eugen Rochko
8069fd636b
Remove intermediary arrays when creating hash maps from results ( #9291 )
6 years ago
dependabot[bot]
367ad21995
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
bdd3c8c255
Change the password form order ( #9267 )
...
* Change order of password.
* Update Japanese translation for "Show thread".
* Separate the translation PR.
6 years ago
mayaeh
8f7e3d3772
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
560acf171e
Update Japanese translation for "Show thread". ( #9287 )
6 years ago
Thibaut Girka
86527024aa
In detailed status view, take displayMedia setting into account when changing media
...
Fixes #819
6 years ago
dependabot[bot]
96165a29ba
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
Thibaut Girka
a100f05687
Only stream local-only toots to logged-in users
6 years ago
Thibaut Girka
f84897c7d7
Add field to serialized local-only statuses
6 years ago
Thibaut Girka
759750801e
Exclude local-only toots from atom feeds
6 years ago
ThibG
e4feef6b5c
Merge pull request #817 from ThibG/glitch-soc/merge-upstream
...
Merge upstream changes
6 years ago
Thibaut Girka
6ce7e74b46
[Glitch] Fix race condition when interacting with deleted toots
...
Port c875f19673
to glitch-soc
6 years ago
Thibaut Girka
bfe2b9cc50
Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Thibaut Girka
2fe0cb1623
[Glitch] Prepend account header even when status list is empty
...
Partially port 90b64c0069
6 years ago
Thibaut Girka
c78c80f807
[Glitch] Fix loading indicator inconsistency
...
Port 3cecf3e5b9
to glitch-soc
6 years ago
Thibaut Girka
5ebbaffaa3
[Glitch] Use local instead of global loading indicator for timelines, account timelines
...
Port dd00cd19d2
to glitch-soc
6 years ago
ThibG
c875f19673
Fix race condition causing shallow status with only a "favourited" attribute ( #9272 )
...
Fixes #9231
6 years ago
Eugen Rochko
bb69d154c4
Fix null error introduced in #9270 ( #9275 )
6 years ago
ThibG
bbd8fdd185
Perform deep comparison for card data when receiving new props ( #9270 )
...
Fixes #9226
6 years ago
ThibG
c5a4dc9118
Merge pull request #813 from ThibG/glitch-soc/merge-upstream
...
Merge upstream changes
6 years ago
Thibaut Girka
1283e112b9
Tighten CSP a bit
6 years ago
dependabot[bot]
c81bdafb07
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