Eugen Rochko
b5124e6d04
Reset secret of web app that could have been exposed by Doorkeeper ( #13688 )
...
There are no obvious ways it could be misused, as the secret is not
really used for anything, but it is best to secure it for the future
Follow-up to #13613
2020-05-10 18:18:12 +02:00
Eugen Rochko
4b2d9b8a55
Reset secret of web app that could have been exposed by Doorkeeper ( #13688 )
...
There are no obvious ways it could be misused, as the secret is not
really used for anything, but it is best to secure it for the future
Follow-up to #13613
2020-05-10 18:18:12 +02:00
Lerk
57ce6c9b1a
fix rubocop errors ( #13690 )
2020-05-10 16:42:48 +02:00
Lerk
8012fce727
fix rubocop errors ( #13690 )
2020-05-10 16:42:48 +02:00
Takeshi Umeda
885b2e3d86
[Glitch] Add remote only to public timeline
...
Port 861661100c
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-05-10 16:19:59 +02:00
Takeshi Umeda
559214c33f
[Glitch] Add remote only to public timeline
...
Port 26b08a3c54
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-05-10 16:19:59 +02:00
ThibG
5a2f0de845
[Glitch] Fix use of inline CSS in public pages
...
Port 20ffc12cda
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-05-10 16:19:59 +02:00
ThibG
51508e5061
[Glitch] Fix use of inline CSS in public pages
...
Port c0b849bdfd
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-05-10 16:19:59 +02:00
Thibaut Girka
4e4e5316c1
Merge branch 'master' into glitch-soc/merge-upstream
...
Conflicts:
- `Gemfile.lock`:
Not a real conflict, just a glitch-soc-only dependency too close to a
dependency that got updated upstream. Updated as well.
- `app/models/status.rb`:
Not a real conflict, just a change too close to glitch-soc-changed code
for optionally showing boosts in public timelines.
Applied upstream changes.
- `app/views/layouts/application.html.haml`:
Upstream a new, static CSS file, conflict due to glitch-soc's theming
system, include the file regardless of the theme.
- `config/initializers/content_security_policy.rb`:
Upstream dropped 'unsafe-inline' from the 'style-src' directive, but
both files are very different. Removed 'unsafe-inline' as well.
2020-05-10 16:19:56 +02:00
Thibaut Girka
4a70792b4a
Merge branch 'master' into glitch-soc/merge-upstream
...
Conflicts:
- `Gemfile.lock`:
Not a real conflict, just a glitch-soc-only dependency too close to a
dependency that got updated upstream. Updated as well.
- `app/models/status.rb`:
Not a real conflict, just a change too close to glitch-soc-changed code
for optionally showing boosts in public timelines.
Applied upstream changes.
- `app/views/layouts/application.html.haml`:
Upstream a new, static CSS file, conflict due to glitch-soc's theming
system, include the file regardless of the theme.
- `config/initializers/content_security_policy.rb`:
Upstream dropped 'unsafe-inline' from the 'style-src' directive, but
both files are very different. Removed 'unsafe-inline' as well.
2020-05-10 16:19:56 +02:00
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