ThibG
6a6b98af65
Fix crash in SuspendAccountWorker ( #15106 )
...
* Fix crash in SuspendAccountWorker
`follows` is an array thanks to `to_a`
* Fix code style issue
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
4 years ago
Thibaut Girka
64ef99a31e
Merge branch 'master' into glitch-soc/merge-upstream
...
Conflicts:
- `app/controllers/follower_accounts_controller.rb`:
Conflict due to upstream changing suspension logic while
glitch-soc has an extra option to hide followers count.
Ported upstream changes.
4 years ago
Eugen Rochko
38be9af436
Add support for reversible suspensions through ActivityPub ( #14989 )
4 years ago
ThibG
537aafa2c0
Merge pull request #1453 from ThibG/glitch-soc/merge-upstream
...
Merge upstream changes
4 years ago
Mashiro
f563531019
[Glitch] Add limitation of image's max zoom rate (max to the original size of image)
...
Port 7f3497bd7f
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
dependabot[bot]
10fd2099b7
[Glitch] Bump detect-passive-events from 1.0.5 to 2.0.1
...
Port 88dd5d3ee1
to glitch-soc
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
Thibaut Girka
db1f81553e
Merge branch 'master' into glitch-soc/merge-upstream
4 years ago
ThibG
d41433f651
Fix crashes in SuspendAccountService/UnsuspendAccountService ( #15100 )
...
* Fix crashes in SuspendAccountService/UnsuspendAccountService
* Catch filesystem errors
4 years ago
ThibG
c11e8737dd
Fix suspension/unsuspension not working because of FeedManager change ( #15099 )
4 years ago
Eugen Rochko
b788e7eb6f
Fix cookies not having a SameSite attribute ( #15098 )
4 years ago
Eugen Rochko
79f71206de
Add subresource integrity for JS and CSS assets ( #15096 )
...
Fix #2744
4 years ago
Mélanie Chauvel
87042c99ee
Display “Show newer” and “Show older” instead of “Show more” in public pages ( #15052 )
4 years ago
ThibG
b1a78a5cce
Change order of announcements in admin page to sort them newest-first ( #15091 )
...
* Change order of announcements in admin page to sort show newly-created first
Fixes #15090
* Use reverse-chronological rather than creation date only
4 years ago
Takeshi Umeda
385c2eac6f
Add account sensitized ( #14361 )
...
* Add account sensitized
* Fix i18n normalize
* Fix description and spec
* Fix spec
* Fix wording
4 years ago
dependabot[bot]
8af56cc1df
Bump puma from 5.0.2 to 5.0.4 ( #15085 )
...
Bumps [puma](https://github.com/puma/puma ) from 5.0.2 to 5.0.4.
- [Release notes](https://github.com/puma/puma/releases )
- [Changelog](https://github.com/puma/puma/blob/master/History.md )
- [Commits](https://github.com/puma/puma/compare/v5.0.2...v5.0.4 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Mashiro
7f3497bd7f
Add limitation of image's max zoom rate (max to the original size of image) ( #15094 )
...
* limit image max scale rate to fit the actual image size
* replace with MIN_SCALE
* fix behavior on touch screen
4 years ago
Thibaut Girka
34b08796de
Fix unsightly re-layout delay for media previews
4 years ago
Thibaut Girka
0b30bdedf6
Fix hiding video breaking playback
...
Also make the video player code closer to upstream
4 years ago
dependabot[bot]
f799fb843e
Bump webpack-merge from 4.2.2 to 5.0.9 ( #14424 )
...
* Bump webpack-merge from 4.2.2 to 5.0.9
Bumps [webpack-merge](https://github.com/survivejs/webpack-merge ) from 4.2.2 to 5.0.9.
- [Release notes](https://github.com/survivejs/webpack-merge/releases )
- [Changelog](https://github.com/survivejs/webpack-merge/blob/master/CHANGELOG.md )
- [Commits](https://github.com/survivejs/webpack-merge/compare/v4.2.2...v5.0.9 )
Signed-off-by: dependabot[bot] <support@github.com>
* Fix import path
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
4 years ago
dependabot[bot]
88dd5d3ee1
Bump detect-passive-events from 1.0.5 to 2.0.1 ( #15003 )
...
* Bump detect-passive-events from 1.0.5 to 2.0.1
Bumps [detect-passive-events](https://github.com/rafgraph/detect-passive-events ) from 1.0.5 to 2.0.1.
- [Release notes](https://github.com/rafgraph/detect-passive-events/releases )
- [Commits](https://github.com/rafgraph/detect-passive-events/compare/v1.0.5...v2.0.1 )
Signed-off-by: dependabot[bot] <support@github.com>
* Migrate to detect-passive-events v2
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
4 years ago
dependabot[bot]
cc3ae3e856
Bump sass from 1.27.0 to 1.28.0 ( #15082 )
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.27.0 to 1.28.0.
- [Release notes](https://github.com/sass/dart-sass/releases )
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sass/dart-sass/compare/1.27.0...1.28.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
16824b6bcc
Bump mini-css-extract-plugin from 1.2.0 to 1.2.1 ( #15077 )
...
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin ) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases )
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v1.2.0...v1.2.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
d053ffe31e
Bump eslint-plugin-jsx-a11y from 6.3.1 to 6.4.1 ( #15078 )
...
Bumps [eslint-plugin-jsx-a11y](https://github.com/evcohen/eslint-plugin-jsx-a11y ) from 6.3.1 to 6.4.1.
- [Release notes](https://github.com/evcohen/eslint-plugin-jsx-a11y/releases )
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/CHANGELOG.md )
- [Commits](https://github.com/evcohen/eslint-plugin-jsx-a11y/compare/v6.3.1...v6.4.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
3b453926d2
Bump react-redux from 7.2.1 to 7.2.2 ( #15079 )
...
Bumps [react-redux](https://github.com/reduxjs/react-redux ) from 7.2.1 to 7.2.2.
- [Release notes](https://github.com/reduxjs/react-redux/releases )
- [Changelog](https://github.com/reduxjs/react-redux/blob/master/CHANGELOG.md )
- [Commits](https://github.com/reduxjs/react-redux/compare/v7.2.1...v7.2.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
a3db859d97
Bump eslint from 7.12.0 to 7.12.1 ( #15080 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.12.0 to 7.12.1.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.12.0...v7.12.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
1e78d21909
Bump compression-webpack-plugin from 6.0.3 to 6.0.4 ( #15076 )
...
Bumps [compression-webpack-plugin](https://github.com/webpack-contrib/compression-webpack-plugin ) from 6.0.3 to 6.0.4.
- [Release notes](https://github.com/webpack-contrib/compression-webpack-plugin/releases )
- [Changelog](https://github.com/webpack-contrib/compression-webpack-plugin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/compression-webpack-plugin/compare/v6.0.3...v6.0.4 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
939c985929
Bump file-loader from 6.1.1 to 6.2.0 ( #15075 )
...
Bumps [file-loader](https://github.com/webpack-contrib/file-loader ) from 6.1.1 to 6.2.0.
- [Release notes](https://github.com/webpack-contrib/file-loader/releases )
- [Changelog](https://github.com/webpack-contrib/file-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/file-loader/compare/v6.1.1...v6.2.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
95884f1ae1
Bump wicg-inert from 3.0.3 to 3.1.0 ( #15081 )
...
Bumps [wicg-inert](https://github.com/WICG/inert ) from 3.0.3 to 3.1.0.
- [Release notes](https://github.com/WICG/inert/releases )
- [Commits](https://github.com/WICG/inert/compare/v3.0.3...v3.1.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
7b78195cd6
Bump sidekiq-unique-jobs from 6.0.24 to 6.0.25 ( #15083 )
...
Bumps [sidekiq-unique-jobs](https://github.com/mhenrixon/sidekiq-unique-jobs ) from 6.0.24 to 6.0.25.
- [Release notes](https://github.com/mhenrixon/sidekiq-unique-jobs/releases )
- [Changelog](https://github.com/mhenrixon/sidekiq-unique-jobs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mhenrixon/sidekiq-unique-jobs/commits/v6.0.25 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
466ef43c87
Bump bootsnap from 1.4.8 to 1.4.9 ( #15086 )
...
Bumps [bootsnap](https://github.com/Shopify/bootsnap ) from 1.4.8 to 1.4.9.
- [Release notes](https://github.com/Shopify/bootsnap/releases )
- [Changelog](https://github.com/Shopify/bootsnap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Shopify/bootsnap/compare/v1.4.8...v1.4.9 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
ThibG
2ef353dd7a
Merge pull request #1450 from ThibG/glitch-soc/merge-upstream
...
Merge upstream changes
4 years ago
Mashiro
a8712fbcfd
[Glitch] add mouse scroll lock in image expand view
...
Port 00c6280294
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
Mashiro
17bb4be765
[Glitch] Add expand/compress image button on image view box
...
Port 315356cf23
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
mayaeh
6df51c0394
[Glitch] Fix width of content text fluctuating over time
...
Port c15c3b01eb
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
Mélanie Chauvel
cd42f4e29f
[Glitch] Make visibility icon clickable as part of the time of a toot
...
Port f7eae6d264
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
Mélanie Chauvel
374938814e
[Glitch] Make click area of video/audio player buttons bigger in WebUI
...
Port 988d029417
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
ThibG
e0b3df936f
[Glitch] Fix some account media gallery items having empty labels
...
Port 2d5f0a0002
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
fuyu
8ebf849f62
[Glitch] Fix wrong seek bar width on media player
...
Port 5ba6548e62
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
Mélanie Chauvel
2c7280ac42
[Glitch] Make “Mark media as sensitive” properly translatable
...
Port 6c072d8dec
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
Thibaut Girka
ea4b2caf3a
Merge branch 'master' into glitch-soc/merge-upstream
4 years ago
Mashiro
00c6280294
add mouse scroll lock in image expand view ( #15088 )
...
* add mouse scroll lock in image expand view
* enhancement
4 years ago
Mashiro
315356cf23
Add expand/compress image button on image view box ( #15068 )
...
* add zoom image button
* enhance zoom algorithm & add translation
* code structure
* code structure
* code structure
* enhance grab performance
* rm useless state
* fix behavior on Firefox & scroll lock & horizontal scroll with mousewheel
* remove scroll lock on MouseWheelEvent
* code structure
* enhance algorithm and code structure
* rm Gemfile.lock from tree
* codeclimate
* fix a stupid mistake
4 years ago
Patrice Ferlet
1e3c688133
Fix postrgres secret name for cronjob ( #15072 )
...
The cronjob tries to get key from `mastodon` secret instead of
`mastodon-postgresql` - so the cronjob fails with this error:
Error: couldn't find key postgresql-password in Secret [NS]/mastodon
Another solution is to save the postgres password in mastodon secret,
but that means that the password is placed in two places.
Postgresql use <fullname>-postgresql name as secret name.
4 years ago
ThibG
9500d00e5f
Tweak signature verification ( #15069 )
...
* Add more specific error message when request body digest is invalid
This may help other implementors debug their implementation.
* Relax Host parameter requirement to GET requests
The only POST requests processed by Mastodon need objects/actors (including
their host) to be explicitly mentioned in the request's body, so replaying
a legitimate request to another host should not be a security issue.
* Support Digest headers using multiple algorithms or lowercase alogirthm names
4 years ago
ThibG
2d5f0a0002
Fix some account media gallery items having empty labels ( #15073 )
...
Remove the labels entirely for images instead of putting an empty label.
4 years ago
Thibaut Girka
44cbf37295
Fix crash when viewing a profile with a filtered out pinned toot
4 years ago
ThibG
2b0491bb3c
Fix poll ending notifications being created for each vote ( #15071 )
...
On a poll ending, notifications were created for each vote instead
of for each voter.
4 years ago
Darius Kazemi
a0b695b0c6
Show announcements in reverse chronological order ( #15065 )
4 years ago
fuyu
5ba6548e62
Fix wrong seek bar width on media player ( #15060 )
4 years ago
dependabot[bot]
7fcdf658d0
Bump mini-css-extract-plugin from 0.11.3 to 1.2.0 ( #15034 )
...
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin ) from 0.11.3 to 1.2.0.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases )
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v0.11.3...v1.2.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago