Commit graph

39663 commits

Author SHA1 Message Date
Eugen Rochko
3144f8dbbc Refactor monkey-patching of Goldfinger (#12561) 2020-05-10 11:41:43 +02:00
Eugen Rochko
4b766f9846
Refactor monkey-patching of Goldfinger (#12561) 2020-05-10 11:41:43 +02:00
taicv
f4007517a6 Add vi to available locales (#13542)
* Enable selecting Vietnamese language in Admin Dashboard

* Update settings_helper.rb

Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2020-05-10 11:25:35 +02:00
taicv
4a2ea2e51b
Add vi to available locales (#13542)
* Enable selecting Vietnamese language in Admin Dashboard

* Update settings_helper.rb

Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2020-05-10 11:25:35 +02:00
Eugen Rochko
fc7cad8b2d Add ability to remove identity proofs from account (#13682)
Fix #12613
2020-05-10 11:21:10 +02:00
Eugen Rochko
8be4c2ba21
Add ability to remove identity proofs from account (#13682)
Fix #12613
2020-05-10 11:21:10 +02:00
Takeshi Umeda
861661100c Add remote only to public timeline (#13504)
* Add remote only to public timeline

* Fix code style
2020-05-10 10:36:18 +02:00
Takeshi Umeda
26b08a3c54
Add remote only to public timeline (#13504)
* Add remote only to public timeline

* Fix code style
2020-05-10 10:36:18 +02:00
Eugen Rochko
909c31a765 Fix error within error when limiting backtrace to 3 lines (#13120)
Fix #13086, close #13113
2020-05-10 10:30:27 +02:00
Eugen Rochko
e9ecbca70d
Fix error within error when limiting backtrace to 3 lines (#13120)
Fix #13086, close #13113
2020-05-10 10:30:27 +02:00
Bèr Kessels
3ce16eae26 Include capistrano tasks that reload the services after deploying. (#12642)
After a successfull deploy, I need the services to switch over to use the
new code. I need to restart the services.

These capistrano tasks do that.
2020-05-10 10:19:49 +02:00
Bèr Kessels
e09e225e5c
Include capistrano tasks that reload the services after deploying. (#12642)
After a successfull deploy, I need the services to switch over to use the
new code. I need to restart the services.

These capistrano tasks do that.
2020-05-10 10:19:49 +02:00
ThibG
e9227d8c10 Remove confusing “You are already signed in.” flash message (#13547)
When attempting to access the log-in page while already logged in,
Devise's `require_no_authentication` kicks in and sets a flash
message “You are already signed in.”

In almost all cases, this also causes a redirect to /web, which
does not display or clear flash messages, thus leaving the message
to a potentially much later date, like for instance, accessing
/preferences several minutes after being redirected to /web.
2020-05-10 10:16:39 +02:00
ThibG
45202f79ef
Remove confusing “You are already signed in.” flash message (#13547)
When attempting to access the log-in page while already logged in,
Devise's `require_no_authentication` kicks in and sets a flash
message “You are already signed in.”

In almost all cases, this also causes a redirect to /web, which
does not display or clear flash messages, thus leaving the message
to a potentially much later date, like for instance, accessing
/preferences several minutes after being redirected to /web.
2020-05-10 10:16:39 +02:00
ThibG
41536557be Improve RSS entries for statuses (#13592)
* Improve RSS entries for statuses

- Render polls in both accounts and tags serializers
- Refactor RSS serializers
- Change title preview to include ellipsis when truncated
- Change title preview to show CW instead of toot text
- Add tests

* Remove title from OEmbed serialization

Twitter doesn't serialize title either, and tihs allows us to move the
title formatting code to the RSS serializers.
2020-05-10 09:50:54 +02:00
ThibG
a4240fd027
Improve RSS entries for statuses (#13592)
* Improve RSS entries for statuses

- Render polls in both accounts and tags serializers
- Refactor RSS serializers
- Change title preview to include ellipsis when truncated
- Change title preview to show CW instead of toot text
- Add tests

* Remove title from OEmbed serialization

Twitter doesn't serialize title either, and tihs allows us to move the
title formatting code to the RSS serializers.
2020-05-10 09:50:54 +02:00
Denis Teyssier
221cd364b6 Updated docker-compose snippet to a working one (#13196)
added 'bundle exec' before rake
2020-05-10 09:50:06 +02:00
Denis Teyssier
73f3842284
Updated docker-compose snippet to a working one (#13196)
added 'bundle exec' before rake
2020-05-10 09:50:06 +02:00
ThibG
b7f47014a7 Fix "tootctl media remove-orphans" crashing on “Import” files (#13685)
* Fix "tootctl media remove-orphans" crashing on “Import” files

* Also remove empty directories when removing orphaned media
2020-05-09 21:06:55 +02:00
ThibG
34756cc4e0
Fix "tootctl media remove-orphans" crashing on “Import” files (#13685)
* Fix "tootctl media remove-orphans" crashing on “Import” files

* Also remove empty directories when removing orphaned media
2020-05-09 21:06:55 +02:00
Eugen Rochko
96921d909c Fix old unique jobs digests not having been cleaned up (#13683) 2020-05-09 18:37:39 +02:00
Eugen Rochko
38b69512ff
Fix old unique jobs digests not having been cleaned up (#13683) 2020-05-09 18:37:39 +02:00
Thibaut Girka
7bdd7e5c93 Fix crash when invalid addresses are linked in HTML or Markdown toots 2020-05-09 16:01:00 +02:00
Thibaut Girka
c6ff4c634c Fix crash when invalid addresses are linked in HTML or Markdown toots 2020-05-09 16:01:00 +02:00
dependabot-preview[bot]
47b2a45794 Bump mimemagic from 0.3.4 to 0.3.5 (#13654)
Bumps [mimemagic](https://github.com/minad/mimemagic) from 0.3.4 to 0.3.5.
- [Release notes](https://github.com/minad/mimemagic/releases)
- [Changelog](https://github.com/minad/mimemagic/blob/master/CHANGELOG.md)
- [Commits](https://github.com/minad/mimemagic/compare/v0.3.4...v0.3.5)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-08 21:37:14 +02:00
dependabot-preview[bot]
66fa9f0a04
Bump mimemagic from 0.3.4 to 0.3.5 (#13654)
Bumps [mimemagic](https://github.com/minad/mimemagic) from 0.3.4 to 0.3.5.
- [Release notes](https://github.com/minad/mimemagic/releases)
- [Changelog](https://github.com/minad/mimemagic/blob/master/CHANGELOG.md)
- [Commits](https://github.com/minad/mimemagic/compare/v0.3.4...v0.3.5)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-08 21:37:14 +02:00
dependabot-preview[bot]
a8d85b9340 Bump scheduler from 0.19.0 to 0.19.1 (#13666)
Bumps [scheduler](https://github.com/facebook/react/tree/HEAD/packages/scheduler) from 0.19.0 to 0.19.1.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/HEAD/packages/scheduler)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-08 21:36:50 +02:00
dependabot-preview[bot]
f135c1bf09
Bump scheduler from 0.19.0 to 0.19.1 (#13666)
Bumps [scheduler](https://github.com/facebook/react/tree/HEAD/packages/scheduler) from 0.19.0 to 0.19.1.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/HEAD/packages/scheduler)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-08 21:36:50 +02:00
dependabot-preview[bot]
2cbdd5c0b4 Bump core-js-compat from 3.6.4 to 3.6.5 (#13656)
Bumps [core-js-compat](https://github.com/zloirock/core-js) from 3.6.4 to 3.6.5.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.6.4...v3.6.5)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-08 21:36:32 +02:00
dependabot-preview[bot]
0cb4c57e8e
Bump core-js-compat from 3.6.4 to 3.6.5 (#13656)
Bumps [core-js-compat](https://github.com/zloirock/core-js) from 3.6.4 to 3.6.5.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.6.4...v3.6.5)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-08 21:36:32 +02:00
dependabot-preview[bot]
d2ed2578fd Bump cssstyle from 2.2.0 to 2.3.0 (#13678)
Bumps [cssstyle](https://github.com/jsdom/cssstyle) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/jsdom/cssstyle/releases)
- [Commits](https://github.com/jsdom/cssstyle/compare/v2.2.0...v2.3.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-08 21:36:07 +02:00
dependabot-preview[bot]
02f9f9d375
Bump cssstyle from 2.2.0 to 2.3.0 (#13678)
Bumps [cssstyle](https://github.com/jsdom/cssstyle) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/jsdom/cssstyle/releases)
- [Commits](https://github.com/jsdom/cssstyle/compare/v2.2.0...v2.3.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-08 21:36:07 +02:00
dependabot-preview[bot]
85bf09efa2 Bump html-entities from 1.2.1 to 1.3.1 (#13669)
Bumps [html-entities](https://github.com/mdevils/node-html-entities) from 1.2.1 to 1.3.1.
- [Release notes](https://github.com/mdevils/node-html-entities/releases)
- [Commits](https://github.com/mdevils/node-html-entities/commits)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-08 21:35:56 +02:00
dependabot-preview[bot]
d9f140b48d
Bump html-entities from 1.2.1 to 1.3.1 (#13669)
Bumps [html-entities](https://github.com/mdevils/node-html-entities) from 1.2.1 to 1.3.1.
- [Release notes](https://github.com/mdevils/node-html-entities/releases)
- [Commits](https://github.com/mdevils/node-html-entities/commits)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-08 21:35:56 +02:00
dependabot-preview[bot]
f2d4ef8c7b Bump cli-width from 2.2.0 to 2.2.1 (#13668)
Bumps [cli-width](https://github.com/knownasilya/cli-width) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/knownasilya/cli-width/releases)
- [Changelog](https://github.com/knownasilya/cli-width/blob/master/CHANGELOG.md)
- [Commits](https://github.com/knownasilya/cli-width/compare/v2.2.0...v2.2.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-08 21:35:40 +02:00
dependabot-preview[bot]
b89874b8ef
Bump cli-width from 2.2.0 to 2.2.1 (#13668)
Bumps [cli-width](https://github.com/knownasilya/cli-width) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/knownasilya/cli-width/releases)
- [Changelog](https://github.com/knownasilya/cli-width/blob/master/CHANGELOG.md)
- [Commits](https://github.com/knownasilya/cli-width/compare/v2.2.0...v2.2.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-08 21:35:40 +02:00
dependabot-preview[bot]
d20884e426 Bump uuid from 7.0.3 to 8.0.0 (#13665)
Bumps [uuid](https://github.com/uuidjs/uuid) from 7.0.3 to 8.0.0.
- [Release notes](https://github.com/uuidjs/uuid/releases)
- [Changelog](https://github.com/uuidjs/uuid/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uuidjs/uuid/compare/v7.0.3...v8.0.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-08 21:35:24 +02:00
dependabot-preview[bot]
e6d99b0672
Bump uuid from 7.0.3 to 8.0.0 (#13665)
Bumps [uuid](https://github.com/uuidjs/uuid) from 7.0.3 to 8.0.0.
- [Release notes](https://github.com/uuidjs/uuid/releases)
- [Changelog](https://github.com/uuidjs/uuid/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uuidjs/uuid/compare/v7.0.3...v8.0.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-08 21:35:24 +02:00
dependabot-preview[bot]
a185a95eb7 Bump node-releases from 1.1.53 to 1.1.55 (#13664)
Bumps [node-releases](https://github.com/chicoxyzzy/node-releases) from 1.1.53 to 1.1.55.
- [Release notes](https://github.com/chicoxyzzy/node-releases/releases)
- [Commits](https://github.com/chicoxyzzy/node-releases/compare/v1.1.53...v1.1.55)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-08 21:33:43 +02:00
dependabot-preview[bot]
27ea57c109
Bump node-releases from 1.1.53 to 1.1.55 (#13664)
Bumps [node-releases](https://github.com/chicoxyzzy/node-releases) from 1.1.53 to 1.1.55.
- [Release notes](https://github.com/chicoxyzzy/node-releases/releases)
- [Commits](https://github.com/chicoxyzzy/node-releases/compare/v1.1.53...v1.1.55)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-08 21:33:43 +02:00
dependabot-preview[bot]
d7b1052550 Bump tiny-invariant from 1.0.6 to 1.1.0 (#13662)
Bumps [tiny-invariant](https://github.com/alexreardon/tiny-invariant) from 1.0.6 to 1.1.0.
- [Release notes](https://github.com/alexreardon/tiny-invariant/releases)
- [Commits](https://github.com/alexreardon/tiny-invariant/compare/v1.0.6...v1.1.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-08 21:33:23 +02:00
dependabot-preview[bot]
db5e024cd1
Bump tiny-invariant from 1.0.6 to 1.1.0 (#13662)
Bumps [tiny-invariant](https://github.com/alexreardon/tiny-invariant) from 1.0.6 to 1.1.0.
- [Release notes](https://github.com/alexreardon/tiny-invariant/releases)
- [Commits](https://github.com/alexreardon/tiny-invariant/compare/v1.0.6...v1.1.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-08 21:33:23 +02:00
dependabot-preview[bot]
f87155a43a Bump postcss-selector-parser from 3.1.1 to 3.1.2 (#13660)
Bumps [postcss-selector-parser](https://github.com/postcss/postcss-selector-parser) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/postcss/postcss-selector-parser/releases)
- [Changelog](https://github.com/postcss/postcss-selector-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-selector-parser/compare/v3.1.1...v3.1.2)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-08 21:33:02 +02:00
dependabot-preview[bot]
02d6f08b43
Bump postcss-selector-parser from 3.1.1 to 3.1.2 (#13660)
Bumps [postcss-selector-parser](https://github.com/postcss/postcss-selector-parser) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/postcss/postcss-selector-parser/releases)
- [Changelog](https://github.com/postcss/postcss-selector-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-selector-parser/compare/v3.1.1...v3.1.2)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-08 21:33:02 +02:00
dependabot-preview[bot]
f0a4b6bd01 Bump babel-plugin-react-intl from 3.4.1 to 6.2.0 (#13648)
Bumps [babel-plugin-react-intl](https://github.com/formatjs/formatjs) from 3.4.1 to 6.2.0.
- [Release notes](https://github.com/formatjs/formatjs/releases)
- [Commits](https://github.com/formatjs/formatjs/commits)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-08 21:32:37 +02:00
dependabot-preview[bot]
eac25d5f01
Bump babel-plugin-react-intl from 3.4.1 to 6.2.0 (#13648)
Bumps [babel-plugin-react-intl](https://github.com/formatjs/formatjs) from 3.4.1 to 6.2.0.
- [Release notes](https://github.com/formatjs/formatjs/releases)
- [Commits](https://github.com/formatjs/formatjs/commits)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-08 21:32:37 +02:00
dependabot-preview[bot]
1c06b94e8d Bump w3c-hr-time from 1.0.1 to 1.0.2 (#13647)
Bumps [w3c-hr-time](https://github.com/jsdom/w3c-hr-time) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/jsdom/w3c-hr-time/releases)
- [Changelog](https://github.com/jsdom/w3c-hr-time/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jsdom/w3c-hr-time/compare/v1.0.1...v1.0.2)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-08 21:32:09 +02:00
dependabot-preview[bot]
8e5d46819d
Bump w3c-hr-time from 1.0.1 to 1.0.2 (#13647)
Bumps [w3c-hr-time](https://github.com/jsdom/w3c-hr-time) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/jsdom/w3c-hr-time/releases)
- [Changelog](https://github.com/jsdom/w3c-hr-time/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jsdom/w3c-hr-time/compare/v1.0.1...v1.0.2)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-08 21:32:09 +02:00
dependabot-preview[bot]
0c6a2b610f Bump readable-stream from 2.3.6 to 2.3.7 (#13646)
Bumps [readable-stream](https://github.com/nodejs/readable-stream) from 2.3.6 to 2.3.7.
- [Release notes](https://github.com/nodejs/readable-stream/releases)
- [Commits](https://github.com/nodejs/readable-stream/compare/v2.3.6...v2.3.7)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-08 21:31:56 +02:00
dependabot-preview[bot]
2b81632104
Bump readable-stream from 2.3.6 to 2.3.7 (#13646)
Bumps [readable-stream](https://github.com/nodejs/readable-stream) from 2.3.6 to 2.3.7.
- [Release notes](https://github.com/nodejs/readable-stream/releases)
- [Commits](https://github.com/nodejs/readable-stream/compare/v2.3.6...v2.3.7)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-08 21:31:56 +02:00