Commit graph

10691 commits

Author SHA1 Message Date
noellabo
f40706037b Add availability of follow-up delivery 2021-08-12 07:10:15 +09:00
noellabo
3e31123c2a Add relationship action buttons to WebUI status 2021-08-12 07:10:15 +09:00
noellabo
3bcbbb7463 Add hashtag follow and account subscribe support to list 2021-08-12 07:10:13 +09:00
noellabo
9fdfc2d8d5 Add account subscribe support to WebUI 2021-08-12 07:08:36 +09:00
noellabo
3d6eaf638d Add a domain timeline 2021-08-12 07:08:36 +09:00
noellabo
92a9a23eb6 Add subscribe features 2021-08-12 07:08:36 +09:00
noellabo
fd5b7c14fa Add favorite hashtags 2021-08-12 07:08:36 +09:00
noellabo
3ae7effb6d Fix to dismiss quote where the target post was deleted 2021-08-12 07:08:19 +09:00
noellabo
8477a0ece1 Fix quote on public stream 2021-08-12 07:08:18 +09:00
noellabo
0a51a32c35 Fix not hiding quoted unlisted status in non public timeline 2021-08-12 07:08:18 +09:00
noellabo
d93ab2a4d0 Fix missing frameRate 2021-08-12 07:08:18 +09:00
noellabo
12eb1915b8 Fix missing reblog_of_quote 2021-08-12 07:08:18 +09:00
noellabo
6119a9ce97 Fix modal footer to react to quoted posts 2021-08-12 07:08:18 +09:00
noellabo
84986895a3 Fix quoted account link in detailed status 2021-08-12 07:08:18 +09:00
noellabo
9a151e82b1 Fix expand video on public page for quote 2021-08-12 07:08:18 +09:00
noellabo
44d0ba096a fix rtl in quote_indicator 2021-08-12 07:08:18 +09:00
noellabo
e3b75b17f0 Fix Open handler in quote media 2021-08-12 07:08:18 +09:00
noellabo
4d8bcaf5f3 Add quote button in PiP 2021-08-12 07:08:18 +09:00
noellabo
6fd2947b92 Fix to hide mute and blocked quotes 2021-08-12 07:08:18 +09:00
noellabo
e9ee34d3f4 Fix PictureInPicture to work in quotes 2021-08-12 07:08:18 +09:00
noellabo
9be377319f Fix quoted audio 2021-08-12 07:08:18 +09:00
noellabo
fffe32429d Fix tooltip 'cannot be quoted' 2021-08-12 07:08:18 +09:00
noellabo
847958f19f Fix an avatar icon size of the status quoted on the public page 2021-08-12 07:08:18 +09:00
noellabo
815766cc54 Add "Show poll" link to quoted poll 2021-08-12 07:08:18 +09:00
noellabo
f49c59bc02 Apply quote by parsing post body 2021-08-12 07:08:18 +09:00
noellabo
18fe946a60 Compatible with Misskey quote 2021-08-12 07:08:18 +09:00
noellabo
9faf45d0fd Change not to delete the element specified in invisible 2021-08-12 07:08:18 +09:00
noellabo
0345323100 Add index to statuses quote_id 2021-08-12 07:08:18 +09:00
noellabo
8edd8ba895 Fix to reject status quotations other than public and unlisted 2021-08-12 07:08:18 +09:00
noellabo
24e85eda67 Add confirmation of overwriting of input content when quoting 2021-08-12 07:08:18 +09:00
noellabo
279c215c04 Add feature_quote to instance API 2021-08-12 07:08:18 +09:00
noellabo
2edc7f287e Fix boost target to be quoted if boosted 2021-08-12 07:08:18 +09:00
noellabo
fa350fdb2c Fix quote nesting at once, add quote_id 2021-08-12 07:08:18 +09:00
wakin
27da15b734 remake quote feature 2021-08-12 07:08:18 +09:00
Genbu Hase
c77947f15a [New] Implement a feature of quote 2021-08-12 07:08:17 +09:00
Claire
0c24c865b7
Fix crash if a notification contains an unprocessed media attachment (#16573)
* Refactor AttachmentList

* Do not crash if a notification contains an unprocessed media attachment

Fixes #16530

* Fix spacing in compact form
2021-08-11 17:49:10 +02:00
Claire
aaf24d3093
Fix download button color in audio player (#16572)
Fixes #16571
2021-08-11 17:48:55 +02:00
Claire
5efb1ff337
Fix followers synchronization mechanism not working when URI has empty path (#16510)
* Fix followers synchronization mechanism not working when URI has empty path

To my knowledge, there is no current implementation on the fediverse
that can use bare domains (e.g., actor is at https://example.org instead of
something like https://example.org/actor) that also plans to support the
followers synchronization mechanism. However, Mastodon's current implementation
would exclude such accounts from followers list.

Also adds tests and rename them to reflect the proper method names.

* Move url prefix regexp to its own constant
2021-08-11 17:48:42 +02:00
Claire
13b08610a0
Fix crash when encountering invalid account fields (#16598)
* Add test

* Fix crash when encountering invalid account fields
2021-08-11 16:40:55 +02:00
Shlee
229f5d1681
NodeJS 14 support - circleci/docker/.nvmrc (#16163)
* Update config.yml

* Update Dockerfile

* Update .nvmrc

* Update Dockerfile

* NodeJS 10 is EOL.

* Update package.json

* Update README.md

* Update Vagrantfile

* Update Dockerfile

* Update Dockerfile
2021-08-10 22:56:13 +02:00
Claire
4ac78e2a06
Add feature to automatically delete old toots (#16529)
* Add account statuses cleanup policy model

* Record last inspected toot to delete to speed up successive calls to statuses_to_delete

* Add service to cleanup a given account's statuses within a budget

* Add worker to go through account policies and delete old toots

* Fix last inspected status id logic

All existing statuses older or equal to last inspected status id must be
kept by the current policy. This is an invariant that must be kept so that
resuming deletion from the last inspected status remains sound.

* Add tests

* Refactor scheduler and add tests

* Add user interface

* Add support for discriminating based on boosts/favs

* Add UI support for min_reblogs and min_favs, rework UI

* Address first round of review comments

* Replace Snowflake#id_at_start with with_random parameter

* Add tests

* Add tests for StatusesCleanupController

* Rework settings page

* Adjust load-avoiding mechanisms

* Please CodeClimate
2021-08-09 23:11:50 +02:00
Claire
432e3d1eaf
Bump sanitize from 5.2.3 to 6.0.0 (#16580)
Fixes nokogumbo/nokogiri conflicts by dropping the nokogumbo gem, as it has
been merged in the nokogiri gem.
2021-08-09 20:46:57 +02:00
Takeshi Umeda
709876bd6c
Fix invalid blurhash handling in Create activity (#16583) 2021-08-09 13:33:19 +02:00
Takeshi Umeda
590e1578bf
Fix when MoveWorker cannot get locale from remote account (#16576) 2021-08-08 15:31:02 +02:00
Claire
763ab0c7eb
Fix owned account notes not being deleted when an account is deleted (#16579)
* Add account_notes relationship

* Add tests

* Fix owned account notes not being deleted when an account is deleted

* Add post-migration to clean up orphaned account notes
2021-08-08 15:29:57 +02:00
Takeshi Umeda
818e0b314f
Fix unsupported video error message handling (#16581) 2021-08-08 15:28:57 +02:00
dependabot[bot]
fe29f9c621
Bump @babel/preset-env from 7.14.8 to 7.15.0 (#16577)
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.14.8 to 7.15.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.15.0/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-07 17:49:05 +09:00
dependabot[bot]
6b910b3f5b
Bump sass from 1.36.0 to 1.37.0 (#16551)
Bumps [sass](https://github.com/sass/dart-sass) from 1.36.0 to 1.37.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.36.0...1.37.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-07 13:10:48 +09:00
dependabot[bot]
7bd7e45608
Bump aws-sdk-s3 from 1.96.2 to 1.98.0 (#16559)
Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby) from 1.96.2 to 1.98.0.
- [Release notes](https://github.com/aws/aws-sdk-ruby/releases)
- [Changelog](https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-s3/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-ruby/commits)

---
updated-dependencies:
- dependency-name: aws-sdk-s3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-07 13:10:27 +09:00
dependabot[bot]
fe8750e851
Bump nokogiri from 1.11.7 to 1.12.0 (#16560)
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.11.7 to 1.12.0.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.11.7...v1.12.0)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-07 13:01:59 +09:00