]> cat aescling's git repositories - mastodon.git/log
mastodon.git
6 years ago[Glitch] When deleting & redrafting a poll, fill in closest expires_in
ThibG [Mon, 1 Jul 2019 22:36:16 +0000 (00:36 +0200)]
[Glitch] When deleting & redrafting a poll, fill in closest expires_in

Port dc88d226e1fdb20499d6e81838b81894b2d0be2d to glitch-soc

6 years agoMerge branch 'master' into glitch-soc/merge-upstream
Thibaut Girka [Thu, 4 Jul 2019 14:21:39 +0000 (16:21 +0200)]
Merge branch 'master' into glitch-soc/merge-upstream

6 years agoMemoize ancestorIds and descendantIds in detailed status view (#11234)
ThibG [Tue, 2 Jul 2019 14:03:54 +0000 (16:03 +0200)]
Memoize ancestorIds and descendantIds in detailed status view (#11234)

6 years agoRemove unused StatsD code and expose StatsD as a global variable (#11232)
Eugen Rochko [Tue, 2 Jul 2019 09:34:39 +0000 (11:34 +0200)]
Remove unused StatsD code and expose StatsD as a global variable (#11232)

The instrumentation code was used for StatsD metrics collection
prior to the switch to the nsa gem and should have been removed
at that point as it no longer does anything at all

6 years agoFix statsd UDP sockets not being cleaned up in Sidekiq (#11230)
Eugen Rochko [Mon, 1 Jul 2019 23:01:17 +0000 (01:01 +0200)]
Fix statsd UDP sockets not being cleaned up in Sidekiq (#11230)

6 years agoChange ActivityPub::DeliveryWorker to not retry HTTP 501 errors (#11233)
Eugen Rochko [Mon, 1 Jul 2019 22:59:53 +0000 (00:59 +0200)]
Change ActivityPub::DeliveryWorker to not retry HTTP 501 errors (#11233)

6 years agoWhen deleting & redrafting a poll, fill in closest expires_in (#11203)
ThibG [Mon, 1 Jul 2019 22:36:16 +0000 (00:36 +0200)]
When deleting & redrafting a poll, fill in closest expires_in (#11203)

Use the smallest preset expires_in such that the new poll would
not expire before the old one.

In the typical case of a quick delete & redraft, this results in
using the same poll duration.

Fixes #10567

6 years agoAdd request pool to improve delivery performance (#10353)
Eugen Rochko [Mon, 1 Jul 2019 22:34:38 +0000 (00:34 +0200)]
Add request pool to improve delivery performance (#10353)

* Add request pool to improve delivery performance

Fix #7909

* Ensure connection is closed when exception interrupts execution

* Remove Timeout#timeout from socket connection

* Fix infinite retrial loop on HTTP::ConnectionError

* Close sockets on failure, reduce idle time to 90 seconds

* Add MAX_REQUEST_POOL_SIZE option to limit concurrent connections to the same server

* Use a shared pool size, 512 by default, to stay below open file limit

* Add some tests

* Add more tests

* Reduce MAX_IDLE_TIME from 90 to 30 seconds, reap every 30 seconds

* Use a shared pool that returns preferred connection but re-purposes other ones when needed

* Fix wrong connection being returned on subsequent calls within the same thread

* Reduce mutex calls on flushes from 2 to 1 and add test for reaping

6 years agoMinor cleanup and maybe minor performance improvements
Thibaut Girka [Sat, 29 Jun 2019 16:10:54 +0000 (18:10 +0200)]
Minor cleanup and maybe minor performance improvements

6 years agoMinor optimization regarding regexp filtering in timelines
Thibaut Girka [Sat, 29 Jun 2019 13:24:44 +0000 (15:24 +0200)]
Minor optimization regarding regexp filtering in timelines

6 years agoUse strict equality rather than Immutable.is as the compared props are values
Thibaut Girka [Mon, 1 Jul 2019 10:45:18 +0000 (12:45 +0200)]
Use strict equality rather than Immutable.is as the compared props are values

6 years agoAssume children of visible IntersectionObserverArticle always change
Thibaut Girka [Sun, 30 Jun 2019 16:05:37 +0000 (18:05 +0200)]
Assume children of visible IntersectionObserverArticle always change

This fixes multiple issues, while adding few computations

6 years agoRevert to using upstream's optimisations
Thibaut Girka [Sun, 30 Jun 2019 08:24:56 +0000 (10:24 +0200)]
Revert to using upstream's optimisations

This *does* break things, as `shouldComponentUpdate` assume the
children to never change!

6 years agoFix error boundary DOM
Thibaut Girka [Mon, 1 Jul 2019 11:38:00 +0000 (13:38 +0200)]
Fix error boundary DOM

6 years agoFix some React warnings
Thibaut Girka [Sat, 29 Jun 2019 08:43:45 +0000 (10:43 +0200)]
Fix some React warnings

6 years agoMerge pull request #1148 from ThibG/glitch-soc/merge-upstream
ThibG [Mon, 1 Jul 2019 17:30:46 +0000 (19:30 +0200)]
Merge pull request #1148 from ThibG/glitch-soc/merge-upstream

Merge upstream changes

6 years agoChange domain block behaviour to prevent creation of accounts from suspended domains...
Eugen Rochko [Mon, 1 Jul 2019 17:13:30 +0000 (19:13 +0200)]
Change domain block behaviour to prevent creation of accounts from suspended domains (#11219)

6 years agoBump rubocop from 0.71.0 to 0.72.0 (#11229)
dependabot-preview[bot] [Mon, 1 Jul 2019 13:36:45 +0000 (22:36 +0900)]
Bump rubocop from 0.71.0 to 0.72.0 (#11229)

Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.71.0 to 0.72.0.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.71.0...v0.72.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump capybara from 3.24.0 to 3.25.0 (#11225)
dependabot-preview[bot] [Mon, 1 Jul 2019 13:34:51 +0000 (22:34 +0900)]
Bump capybara from 3.24.0 to 3.25.0 (#11225)

Bumps [capybara](https://github.com/teamcapybara/capybara) from 3.24.0 to 3.25.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.24.0...3.25.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump memory_profiler from 0.9.13 to 0.9.14 (#11227)
dependabot-preview[bot] [Mon, 1 Jul 2019 13:34:25 +0000 (22:34 +0900)]
Bump memory_profiler from 0.9.13 to 0.9.14 (#11227)

Bumps [memory_profiler](https://github.com/SamSaffron/memory_profiler) from 0.9.13 to 0.9.14.
- [Release notes](https://github.com/SamSaffron/memory_profiler/releases)
- [Changelog](https://github.com/SamSaffron/memory_profiler/blob/master/CHANGELOG.md)
- [Commits](https://github.com/SamSaffron/memory_profiler/compare/v0.9.13...v0.9.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump bullet from 6.0.0 to 6.0.1 (#11228)
dependabot-preview[bot] [Mon, 1 Jul 2019 13:33:54 +0000 (22:33 +0900)]
Bump bullet from 6.0.0 to 6.0.1 (#11228)

Bumps [bullet](https://github.com/flyerhzm/bullet) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/flyerhzm/bullet/releases)
- [Changelog](https://github.com/flyerhzm/bullet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/flyerhzm/bullet/compare/6.0.0...6.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump eslint-plugin-promise from 4.1.1 to 4.2.1 (#11223)
dependabot-preview[bot] [Mon, 1 Jul 2019 12:29:56 +0000 (21:29 +0900)]
Bump eslint-plugin-promise from 4.1.1 to 4.2.1 (#11223)

Bumps [eslint-plugin-promise](https://github.com/xjamundx/eslint-plugin-promise) from 4.1.1 to 4.2.1.
- [Release notes](https://github.com/xjamundx/eslint-plugin-promise/releases)
- [Changelog](https://github.com/xjamundx/eslint-plugin-promise/blob/master/CHANGELOG.md)
- [Commits](https://github.com/xjamundx/eslint-plugin-promise/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump webpack-cli from 3.3.4 to 3.3.5 (#11221)
dependabot-preview[bot] [Mon, 1 Jul 2019 12:23:40 +0000 (21:23 +0900)]
Bump webpack-cli from 3.3.4 to 3.3.5 (#11221)

Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 3.3.4 to 3.3.5.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/v3.3.4...v3.3.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoFix expiration date of filters being set to “Never” when editing them (#11204)
ThibG [Sun, 30 Jun 2019 14:11:21 +0000 (16:11 +0200)]
Fix expiration date of filters being set to “Never” when editing them (#11204)

When editing a custom filter, select the shortest preset duration that
still covers the remaining time of that filter.

Fixes #9506

6 years agoFix support for MP4 files that are actually M4V files (#11210)
Eugen Rochko [Sun, 30 Jun 2019 14:10:43 +0000 (16:10 +0200)]
Fix support for MP4 files that are actually M4V files (#11210)

Resolve #11187

6 years ago[Glitch] When sending a toot, ensure a CW is only set if the CW field is visible
Thibaut Girka [Sun, 30 Jun 2019 09:09:54 +0000 (11:09 +0200)]
[Glitch] When sending a toot, ensure a CW is only set if the CW field is visible

Partial port of ccc7fe3e1d04c7cabad916e4e57c7739743d5c91 to glitch-soc

It doesn't ensure the field isn't changed, just that it isn't submitted if
the field isn't visible. Ensuring the field isn't changed would require
reworking the “always show CW field” feature.

6 years ago[Glitch] Optimize makeGetStatus
ThibG [Sat, 29 Jun 2019 22:12:38 +0000 (00:12 +0200)]
[Glitch] Optimize makeGetStatus

Port f895bf198470c1d4a0299b454433fdf1c35ee2b0 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago[Glitch] Use ScrollToOptions for smooth scrolling if supported
ThibG [Sat, 29 Jun 2019 16:32:06 +0000 (18:32 +0200)]
[Glitch] Use ScrollToOptions for smooth scrolling if supported

Port 84ff3938426da348e31651dfad376d83a9784343 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years agoMerge branch 'master' into glitch-soc/merge-upstream
Thibaut Girka [Sun, 30 Jun 2019 08:59:45 +0000 (10:59 +0200)]
Merge branch 'master' into glitch-soc/merge-upstream

6 years agoOptimize makeGetStatus (#11211)
ThibG [Sat, 29 Jun 2019 22:12:38 +0000 (00:12 +0200)]
Optimize makeGetStatus (#11211)

* Optimize makeGetStatus

Because `ImmutableList.filter` always returns a new object and `createSelector`
memoizes based on object identity, the selector returned by `makeGetStatus`
would *always* execute.

To avoid that, we wrap `getFilters` into a new memoizer that memoizes based on
deep equality, thus returning the same object as long as the filters haven't
changed, allowing the memoization of `makeGetStatus` to work.

Furthermore, we memoize the compiled regexs instead of recomputing them each
time the selector is called.

* Fix memoized result being cleared too often

* Make notifications use memoized getFiltersRegex

6 years agoWhen sending a toot, ensure a CW is only set if the CW field is visible (#11206)
ThibG [Sat, 29 Jun 2019 16:32:36 +0000 (18:32 +0200)]
When sending a toot, ensure a CW is only set if the CW field is visible (#11206)

In some occasions, such as the browser or a browser extension auto-filling
the existing but disabled/hidden CW field, a CW can be set without the user
knowing.

6 years agoUse ScrollToOptions for smooth scrolling if supported (#11207)
ThibG [Sat, 29 Jun 2019 16:32:06 +0000 (18:32 +0200)]
Use ScrollToOptions for smooth scrolling if supported (#11207)

6 years agoMerge pull request #1146 from ThibG/glitch-soc/merge-upstream
ThibG [Fri, 28 Jun 2019 20:35:54 +0000 (22:35 +0200)]
Merge pull request #1146 from ThibG/glitch-soc/merge-upstream

Merge upstream changes

6 years ago[Glitch] Add categories for custom emojis
Eugen Rochko [Fri, 28 Jun 2019 13:54:10 +0000 (15:54 +0200)]
[Glitch] Add categories for custom emojis

Port front-end changes from e64e6a03dd1e0978fee48f0596dcfbc7fd29958f to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago[Glitch] Fix swiping columns on mobile sometimes failing
ThibG [Fri, 28 Jun 2019 11:52:15 +0000 (13:52 +0200)]
[Glitch] Fix swiping columns on mobile sometimes failing

Port 072158ee973f8e09a0abd34a825d9bce038a5d68 to glitch-soc

6 years agoMerge branch 'master' into glitch-soc/merge-upstream
Thibaut Girka [Fri, 28 Jun 2019 19:36:50 +0000 (21:36 +0200)]
Merge branch 'master' into glitch-soc/merge-upstream

6 years agoDisplay FTS warning based on actual search term, not the one being typed (#11202)
ThibG [Fri, 28 Jun 2019 17:29:11 +0000 (19:29 +0200)]
Display FTS warning based on actual search term, not the one being typed (#11202)

Follow-up to #11112

6 years agoMerge pull request #1145 from ThibG/glitch-soc/merge-upstream
ThibG [Fri, 28 Jun 2019 17:11:06 +0000 (19:11 +0200)]
Merge pull request #1145 from ThibG/glitch-soc/merge-upstream

Merge upstream changes

6 years ago[Glitch] Add message telling FTS is disabled when no toot can be found because of...
ThibG [Thu, 27 Jun 2019 19:12:26 +0000 (21:12 +0200)]
[Glitch] Add message telling FTS is disabled when no toot can be found because of this

Port ca8944728f4568bbef8edae99382cd44cbc144d6 to glitch-soc

6 years agoAdd categories for custom emojis (#11196)
Eugen Rochko [Fri, 28 Jun 2019 13:54:10 +0000 (15:54 +0200)]
Add categories for custom emojis (#11196)

Fix #7940

6 years agoFix swiping columns on mobile sometimes failing (#11200)
ThibG [Fri, 28 Jun 2019 11:52:15 +0000 (13:52 +0200)]
Fix swiping columns on mobile sometimes failing (#11200)

Fixes #9779

6 years agoMerge branch 'master' into glitch-soc/merge-upstream
Thibaut Girka [Fri, 28 Jun 2019 10:11:45 +0000 (12:11 +0200)]
Merge branch 'master' into glitch-soc/merge-upstream

6 years agoChange search components classes and styling to match upstream
Thibaut Girka [Thu, 27 Jun 2019 20:30:55 +0000 (22:30 +0200)]
Change search components classes and styling to match upstream

6 years agoAdd message telling FTS is disabled when no toot can be found because of this (#11112)
ThibG [Thu, 27 Jun 2019 19:12:26 +0000 (21:12 +0200)]
Add message telling FTS is disabled when no toot can be found because of this (#11112)

* Add message telling FTS is disabled when no toot can be found because of this

Fixes #11082

* Remove info icon and reword message

6 years agoFix account URI in UpdatePollSerializer (#11194)
ThibG [Thu, 27 Jun 2019 17:41:55 +0000 (19:41 +0200)]
Fix account URI in UpdatePollSerializer (#11194)

* Fix account URI in UpdatePollSerializer

Fixes #11185

* Add specs

6 years agoUse a redis-cached feed for the DM timeline
Thibaut Girka [Tue, 25 Jun 2019 20:56:32 +0000 (22:56 +0200)]
Use a redis-cached feed for the DM timeline

6 years agoMerge pull request #1142 from ThibG/glitch-soc/merge-upstream
ThibG [Thu, 27 Jun 2019 14:43:55 +0000 (16:43 +0200)]
Merge pull request #1142 from ThibG/glitch-soc/merge-upstream

Merge upstream changes

6 years agoMerge branch 'master' into glitch-soc/merge-upstream
Thibaut Girka [Thu, 27 Jun 2019 13:48:23 +0000 (15:48 +0200)]
Merge branch 'master' into glitch-soc/merge-upstream

6 years agoFix NameError (#11192)
mayaeh [Thu, 27 Jun 2019 07:16:55 +0000 (16:16 +0900)]
Fix NameError (#11192)

6 years ago[Glitch] Add option to disable blurhash previews
ThibG [Wed, 26 Jun 2019 17:33:04 +0000 (19:33 +0200)]
[Glitch] Add option to disable blurhash previews

Port 3086c645fde2345d34e401bdf3e2f19f19da3294 to glitch-soc

6 years ago[Glitch] Removed extra pipes from regex.
PatOnTheBack [Wed, 26 Jun 2019 00:16:24 +0000 (20:16 -0400)]
[Glitch] Removed extra pipes from regex.

Port 5b20284f6f7ebb2514d81fb27fcaa40f8edf14ff to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago[Glitch] Apply filters to poll options in WebUI
ThibG [Tue, 25 Jun 2019 12:45:14 +0000 (14:45 +0200)]
[Glitch] Apply filters to poll options in WebUI

Port 47ef4a6c7a74072daff8b23c4af3e300bb75ba1a to glitch-soc

6 years agoMerge branch 'master' into glitch-soc/merge-upstream
Thibaut Girka [Wed, 26 Jun 2019 20:54:09 +0000 (22:54 +0200)]
Merge branch 'master' into glitch-soc/merge-upstream

Conflicts:
- app/controllers/settings/preferences_controller.rb
- app/lib/user_settings_decorator.rb
- app/models/user.rb
- config/locales/simple_form.en.yml

6 years agoAdd option to disable blurhash previews (#11188)
ThibG [Wed, 26 Jun 2019 17:33:04 +0000 (19:33 +0200)]
Add option to disable blurhash previews (#11188)

* Add option to disable blurhash previews

* Update option text

* Change options order

6 years agoAdd support for Audio activities (#11189)
ThibG [Wed, 26 Jun 2019 17:32:36 +0000 (19:32 +0200)]
Add support for Audio activities (#11189)

Fixes #11127

6 years agoScroll to compose form rather than reply indicator on focus (#11182)
ThibG [Wed, 26 Jun 2019 12:28:36 +0000 (14:28 +0200)]
Scroll to compose form rather than reply indicator on focus (#11182)

6 years agoScroll to compose form rather than reply indicator on focus
Thibaut Girka [Tue, 25 Jun 2019 20:57:56 +0000 (22:57 +0200)]
Scroll to compose form rather than reply indicator on focus

6 years agoRemoved extra pipes from regex. (#11181)
PatOnTheBack [Wed, 26 Jun 2019 00:16:24 +0000 (20:16 -0400)]
Removed extra pipes from regex. (#11181)

6 years agoMerge pull request #1138 from ThibG/glitch-soc/merge-upstream
ThibG [Tue, 25 Jun 2019 20:43:33 +0000 (22:43 +0200)]
Merge pull request #1138 from ThibG/glitch-soc/merge-upstream

Merge upstream changes

6 years agoBump stringz from 1.0.0 to 2.0.0 (#11168)
dependabot-preview[bot] [Tue, 25 Jun 2019 18:51:35 +0000 (20:51 +0200)]
Bump stringz from 1.0.0 to 2.0.0 (#11168)

Bumps [stringz](https://github.com/sallar/stringz) from 1.0.0 to 2.0.0.
- [Release notes](https://github.com/sallar/stringz/releases)
- [Changelog](https://github.com/sallar/stringz/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sallar/stringz/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoFix unnecessary SQL query performed on unauthenticated requests (#11179)
Eugen Rochko [Tue, 25 Jun 2019 18:18:15 +0000 (20:18 +0200)]
Fix unnecessary SQL query performed on unauthenticated requests (#11179)

6 years agoBump eslint from 5.11.1 to 5.16.0 (#11165)
dependabot-preview[bot] [Tue, 25 Jun 2019 13:51:57 +0000 (22:51 +0900)]
Bump eslint from 5.11.1 to 5.16.0 (#11165)

Bumps [eslint](https://github.com/eslint/eslint) from 5.11.1 to 5.16.0.
- [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/v5.11.1...v5.16.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump derailed_benchmarks from 1.3.5 to 1.3.6 (#11171)
dependabot-preview[bot] [Tue, 25 Jun 2019 13:49:44 +0000 (22:49 +0900)]
Bump derailed_benchmarks from 1.3.5 to 1.3.6 (#11171)

Bumps [derailed_benchmarks](https://github.com/schneems/derailed_benchmarks) from 1.3.5 to 1.3.6.
- [Release notes](https://github.com/schneems/derailed_benchmarks/releases)
- [Changelog](https://github.com/schneems/derailed_benchmarks/blob/master/CHANGELOG.md)
- [Commits](https://github.com/schneems/derailed_benchmarks/compare/v1.3.5...v1.3.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump aws-sdk-s3 from 1.42.0 to 1.43.0 (#11172)
dependabot-preview[bot] [Tue, 25 Jun 2019 13:45:32 +0000 (22:45 +0900)]
Bump aws-sdk-s3 from 1.42.0 to 1.43.0 (#11172)

Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby) from 1.42.0 to 1.43.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/compare/v1.42.0...v1.43.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump parallel_tests from 2.29.0 to 2.29.1 (#11169)
dependabot-preview[bot] [Tue, 25 Jun 2019 13:39:35 +0000 (22:39 +0900)]
Bump parallel_tests from 2.29.0 to 2.29.1 (#11169)

Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 2.29.0 to 2.29.1.
- [Release notes](https://github.com/grosser/parallel_tests/releases)
- [Commits](https://github.com/grosser/parallel_tests/compare/v2.29.0...v2.29.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump dotenv-rails from 2.7.2 to 2.7.4 (#11170)
dependabot-preview[bot] [Tue, 25 Jun 2019 13:37:26 +0000 (22:37 +0900)]
Bump dotenv-rails from 2.7.2 to 2.7.4 (#11170)

Bumps [dotenv-rails](https://github.com/bkeepers/dotenv) from 2.7.2 to 2.7.4.
- [Release notes](https://github.com/bkeepers/dotenv/releases)
- [Changelog](https://github.com/bkeepers/dotenv/blob/master/Changelog.md)
- [Commits](https://github.com/bkeepers/dotenv/compare/v2.7.2...v2.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump mini-css-extract-plugin from 0.5.0 to 0.7.0 (#11167)
dependabot-preview[bot] [Tue, 25 Jun 2019 13:36:57 +0000 (22:36 +0900)]
Bump mini-css-extract-plugin from 0.5.0 to 0.7.0 (#11167)

Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 0.5.0 to 0.7.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.5.0...v0.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump webpack-dev-server from 3.5.1 to 3.7.2 (#11166)
dependabot-preview[bot] [Tue, 25 Jun 2019 13:32:58 +0000 (22:32 +0900)]
Bump webpack-dev-server from 3.5.1 to 3.7.2 (#11166)

Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 3.5.1 to 3.7.2.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v3.5.1...v3.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump babel-loader from 8.0.5 to 8.0.6 (#11164)
dependabot-preview[bot] [Tue, 25 Jun 2019 13:24:49 +0000 (22:24 +0900)]
Bump babel-loader from 8.0.5 to 8.0.6 (#11164)

Bumps [babel-loader](https://github.com/babel/babel-loader) from 8.0.5 to 8.0.6.
- [Release notes](https://github.com/babel/babel-loader/releases)
- [Changelog](https://github.com/babel/babel-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel-loader/compare/v8.0.5...v8.0.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoApply filters to poll options (#11174)
ThibG [Tue, 25 Jun 2019 12:45:14 +0000 (14:45 +0200)]
Apply filters to poll options (#11174)

* Apply filters to poll options in WebUI

Fixes #11128

* Apply filters to poll options server-side

* Add poll options to searchable text

6 years agoChange .env.production.sample to specify that MAX_VIDEO_SIZE also applies to audio...
Thibaut Girka [Mon, 24 Jun 2019 14:27:10 +0000 (16:27 +0200)]
Change .env.production.sample to specify that MAX_VIDEO_SIZE also applies to audio files

6 years agoUse a different icon for audio attachments
Thibaut Girka [Mon, 24 Jun 2019 14:16:16 +0000 (16:16 +0200)]
Use a different icon for audio attachments

6 years ago[Glitch] Add media description as title to links of unknown media attachments
Eugen Rochko [Fri, 21 Jun 2019 20:59:44 +0000 (22:59 +0200)]
[Glitch] Add media description as title to links of unknown media attachments

Port front-end changes from 49ebda4d49af50b375126e4a8285686fb6448a60 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago[Glitch] Add audio uploads
Eugen Rochko [Wed, 19 Jun 2019 21:42:38 +0000 (23:42 +0200)]
[Glitch] Add audio uploads

Port front-end changes from f7f23b4a19a84371f44ec5297125e96ba81681a1 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years agoMerge branch 'master' into glitch-soc/merge-upstream
Thibaut Girka [Mon, 24 Jun 2019 12:47:48 +0000 (14:47 +0200)]
Merge branch 'master' into glitch-soc/merge-upstream

Conflicts:
- app/models/media_attachment.rb
  Upstream added audio attachment support
- app/serializers/initial_state_serializer.rb
  Upstream added audio attachment support and how mimetypes are returned
- app/serializers/rest/instance_serializer.rb
  Upstream added a few fields
- config/application.rb
  Upstream added a different paperclip transcoder

6 years agoFix unconverted PRs in the changelog (#11155)
Eugen Rochko [Sat, 22 Jun 2019 16:13:52 +0000 (18:13 +0200)]
Fix unconverted PRs in the changelog (#11155)

6 years agoBump version to 2.9.2 (#11152)
Eugen Rochko [Sat, 22 Jun 2019 15:28:26 +0000 (17:28 +0200)]
Bump version to 2.9.2 (#11152)

6 years agoNew Crowdin translations (#11144)
Eugen Rochko [Sat, 22 Jun 2019 15:26:09 +0000 (17:26 +0200)]
New Crowdin translations (#11144)

* New translations simple_form.en.yml (Japanese)
[ci skip]

* New translations en.json (Catalan)
[ci skip]

* New translations doorkeeper.en.yml (Catalan)
[ci skip]

* New translations en.json (Slovenian)
[ci skip]

* New translations en.json (Slovenian)
[ci skip]

* New translations en.json (Slovenian)
[ci skip]

* New translations en.json (Slovenian)
[ci skip]

* New translations doorkeeper.en.yml (Galician)
[ci skip]

* New translations en.json (Arabic)
[ci skip]

* New translations en.json (Slovenian)
[ci skip]

* New translations doorkeeper.en.yml (German)
[ci skip]

* New translations en.json (Slovenian)
[ci skip]

* i18n-tasks normalize

* yarn manage:translations

6 years agoFix audio-only OGG and WebM files not being processed as such (#11151)
Eugen Rochko [Sat, 22 Jun 2019 14:54:06 +0000 (16:54 +0200)]
Fix audio-only OGG and WebM files not being processed as such (#11151)

Also, because Chrome sends audio/mp3 instead of audio/mpeg as it's
supposed to, we need to whitelist that mime type as well

6 years agoChange camera icon to paperclip icon in upload form (#11149)
koyu [Sat, 22 Jun 2019 13:29:25 +0000 (15:29 +0200)]
Change camera icon to paperclip icon in upload form (#11149)

6 years agoAdd `short_description` and `approval_required` to `GET /api/v1/instance` (#11146)
Eugen Rochko [Sat, 22 Jun 2019 10:08:16 +0000 (12:08 +0200)]
Add `short_description` and `approval_required` to `GET /api/v1/instance` (#11146)

6 years agoFix audio not being downloaded from remote servers (#11145)
Eugen Rochko [Sat, 22 Jun 2019 00:50:36 +0000 (02:50 +0200)]
Fix audio not being downloaded from remote servers (#11145)

6 years agoBump version to 2.9.1 (#11143)
Eugen Rochko [Fri, 21 Jun 2019 23:51:27 +0000 (01:51 +0200)]
Bump version to 2.9.1 (#11143)

6 years agoNew Crowdin translations (#11116)
Eugen Rochko [Fri, 21 Jun 2019 22:57:48 +0000 (00:57 +0200)]
New Crowdin translations (#11116)

* New translations devise.en.yml (Chinese Traditional, Hong Kong)
[ci skip]

* New translations devise.en.yml (Chinese Traditional)
[ci skip]

* New translations activerecord.en.yml (Thai)
[ci skip]

* New translations activerecord.en.yml (Slovak)
[ci skip]

* New translations activerecord.en.yml (French)
[ci skip]

* New translations activerecord.en.yml (Hungarian)
[ci skip]

* New translations activerecord.en.yml (Hebrew)
[ci skip]

* New translations activerecord.en.yml (Greek)
[ci skip]

* New translations activerecord.en.yml (German)
[ci skip]

* New translations activerecord.en.yml (Georgian)
[ci skip]

* New translations activerecord.en.yml (Galician)
[ci skip]

* New translations activerecord.en.yml (Esperanto)
[ci skip]

* New translations activerecord.en.yml (Danish)
[ci skip]

* New translations activerecord.en.yml (Czech)
[ci skip]

* New translations activerecord.en.yml (Corsican)
[ci skip]

* New translations activerecord.en.yml (Chinese Traditional, Hong Kong)
[ci skip]

* New translations activerecord.en.yml (Indonesian)
[ci skip]

* New translations activerecord.en.yml (Japanese)
[ci skip]

* New translations activerecord.en.yml (Swedish)
[ci skip]

* New translations activerecord.en.yml (Portuguese, Brazilian)
[ci skip]

* New translations activerecord.en.yml (Spanish)
[ci skip]

* New translations activerecord.en.yml (Slovenian)
[ci skip]

* New translations devise.en.yml (Ido)
[ci skip]

* New translations activerecord.en.yml (Serbian (Latin))
[ci skip]

* New translations activerecord.en.yml (Serbian (Cyrillic))
[ci skip]

* New translations activerecord.en.yml (Russian)
[ci skip]

* New translations activerecord.en.yml (Portuguese)
[ci skip]

* New translations activerecord.en.yml (Kazakh)
[ci skip]

* New translations activerecord.en.yml (Polish)
[ci skip]

* New translations activerecord.en.yml (Persian)
[ci skip]

* New translations activerecord.en.yml (Occitan)
[ci skip]

* New translations activerecord.en.yml (Norwegian)
[ci skip]

* New translations activerecord.en.yml (Korean)
[ci skip]

* New translations devise.en.yml (Hungarian)
[ci skip]

* New translations devise.en.yml (Indonesian)
[ci skip]

* New translations doorkeeper.en.yml (Ido)
[ci skip]

* New translations doorkeeper.en.yml (Korean)
[ci skip]

* New translations doorkeeper.en.yml (Kazakh)
[ci skip]

* New translations doorkeeper.en.yml (Japanese)
[ci skip]

* New translations doorkeeper.en.yml (Indonesian)
[ci skip]

* New translations doorkeeper.en.yml (Hungarian)
[ci skip]

* New translations doorkeeper.en.yml (Norwegian)
[ci skip]

* New translations doorkeeper.en.yml (Hebrew)
[ci skip]

* New translations doorkeeper.en.yml (Greek)
[ci skip]

* New translations doorkeeper.en.yml (German)
[ci skip]

* New translations doorkeeper.en.yml (Georgian)
[ci skip]

* New translations doorkeeper.en.yml (Galician)
[ci skip]

* New translations doorkeeper.en.yml (French)
[ci skip]

* New translations doorkeeper.en.yml (Finnish)
[ci skip]

* New translations doorkeeper.en.yml (Occitan)
[ci skip]

* New translations doorkeeper.en.yml (Slovenian)
[ci skip]

* New translations doorkeeper.en.yml (Ukrainian)
[ci skip]

* New translations doorkeeper.en.yml (Turkish)
[ci skip]

* New translations doorkeeper.en.yml (Thai)
[ci skip]

* New translations doorkeeper.en.yml (Swedish)
[ci skip]

* New translations doorkeeper.en.yml (Spanish)
[ci skip]

* New translations doorkeeper.en.yml (Slovak)
[ci skip]

* New translations doorkeeper.en.yml (Persian)
[ci skip]

* New translations doorkeeper.en.yml (Serbian (Latin))
[ci skip]

* New translations doorkeeper.en.yml (Serbian (Cyrillic))
[ci skip]

* New translations doorkeeper.en.yml (Russian)
[ci skip]

* New translations doorkeeper.en.yml (Portuguese, Brazilian)
[ci skip]

* New translations doorkeeper.en.yml (Portuguese)
[ci skip]

* New translations doorkeeper.en.yml (Polish)
[ci skip]

* New translations doorkeeper.en.yml (Esperanto)
[ci skip]

* New translations doorkeeper.en.yml (Danish)
[ci skip]

* New translations devise.en.yml (Persian)
[ci skip]

* New translations devise.en.yml (Serbian (Latin))
[ci skip]

* New translations devise.en.yml (Serbian (Cyrillic))
[ci skip]

* New translations devise.en.yml (Russian)
[ci skip]

* New translations devise.en.yml (Portuguese, Brazilian)
[ci skip]

* New translations devise.en.yml (Portuguese)
[ci skip]

* New translations devise.en.yml (Polish)
[ci skip]

* New translations devise.en.yml (Occitan)
[ci skip]

* New translations devise.en.yml (Slovenian)
[ci skip]

* New translations devise.en.yml (Norwegian)
[ci skip]

* New translations activerecord.en.yml (Chinese Simplified)
[ci skip]

* New translations devise.en.yml (Korean)
[ci skip]

* New translations devise.en.yml (Kazakh)
[ci skip]

* New translations devise.en.yml (Japanese)
[ci skip]

* New translations devise.en.yml (Slovak)
[ci skip]

* New translations devise.en.yml (Spanish)
[ci skip]

* New translations doorkeeper.en.yml (Czech)
[ci skip]

* New translations doorkeeper.en.yml (Croatian)
[ci skip]

* New translations doorkeeper.en.yml (Corsican)
[ci skip]

* New translations doorkeeper.en.yml (Chinese Traditional, Hong Kong)
[ci skip]

* New translations doorkeeper.en.yml (Chinese Traditional)
[ci skip]

* New translations doorkeeper.en.yml (Chinese Simplified)
[ci skip]

* New translations doorkeeper.en.yml (Catalan)
[ci skip]

* New translations doorkeeper.en.yml (Bulgarian)
[ci skip]

* New translations doorkeeper.en.yml (Basque)
[ci skip]

* New translations devise.en.yml (Swedish)
[ci skip]

* New translations doorkeeper.en.yml (Asturian)
[ci skip]

* New translations devise.en.yml (Welsh)
[ci skip]

* New translations devise.en.yml (Ukrainian)
[ci skip]

* New translations devise.en.yml (Turkish)
[ci skip]

* New translations devise.en.yml (Thai)
[ci skip]

* New translations simple_form.en.yml (Welsh)
[ci skip]

* New translations activerecord.en.yml (Catalan)
[ci skip]

* New translations en.json (Thai)
[ci skip]

* New translations en.yml (Bulgarian)
[ci skip]

* New translations en.yml (Bengali)
[ci skip]

* New translations en.yml (Basque)
[ci skip]

* New translations en.json (Ukrainian)
[ci skip]

* New translations en.json (Turkish)
[ci skip]

* New translations en.json (Telugu)
[ci skip]

* New translations en.yml (Chinese Simplified)
[ci skip]

* New translations en.json (Tamil)
[ci skip]

* New translations en.json (Swedish)
[ci skip]

* New translations en.json (Spanish)
[ci skip]

* New translations en.json (Slovenian)
[ci skip]

* New translations en.json (Slovak)
[ci skip]

* New translations en.json (Serbian (Latin))
[ci skip]

* New translations en.json (Serbian (Cyrillic))
[ci skip]

* New translations en.yml (Catalan)
[ci skip]

* New translations en.yml (Chinese Traditional)
[ci skip]

* New translations en.json (Romanian)
[ci skip]

* New translations en.yml (Georgian)
[ci skip]

* New translations en.yml (Indonesian)
[ci skip]

* New translations en.yml (Ido)
[ci skip]

* New translations en.yml (Hungarian)
[ci skip]

* New translations en.yml (Hebrew)
[ci skip]

* New translations en.yml (Greek)
[ci skip]

* New translations en.yml (German)
[ci skip]

* New translations en.yml (Galician)
[ci skip]

* New translations en.yml (Chinese Traditional, Hong Kong)
[ci skip]

* New translations en.yml (French)
[ci skip]

* New translations en.yml (Finnish)
[ci skip]

* New translations en.yml (Esperanto)
[ci skip]

* New translations en.yml (Danish)
[ci skip]

* New translations en.yml (Croatian)
[ci skip]

* New translations en.yml (Corsican)
[ci skip]

* New translations en.json (Portuguese, Brazilian)
[ci skip]

* New translations en.json (Chinese Traditional, Hong Kong)
[ci skip]

* New translations en.json (Finnish)
[ci skip]

* New translations en.json (Danish)
[ci skip]

* New translations en.json (Croatian)
[ci skip]

* New translations en.json (Chinese Traditional)
[ci skip]

* New translations en.json (Catalan)
[ci skip]

* New translations en.json (Bulgarian)
[ci skip]

* New translations en.json (Bengali)
[ci skip]

* New translations devise.en.yml (Czech)
[ci skip]

* New translations simple_form.en.yml (Czech)
[ci skip]

* New translations en.json (Georgian)
[ci skip]

* New translations en.json (Portuguese)
[ci skip]

* New translations en.json (Occitan)
[ci skip]

* New translations en.json (Norwegian)
[ci skip]

* New translations en.json (Malay)
[ci skip]

* New translations en.json (Lithuanian)
[ci skip]

* New translations en.json (Latvian)
[ci skip]

* New translations en.json (Kazakh)
[ci skip]

* New translations en.json (Indonesian)
[ci skip]

* New translations en.json (Ido)
[ci skip]

* New translations en.json (Hebrew)
[ci skip]

* New translations en.yml (Kazakh)
[ci skip]

* New translations simple_form.en.yml (Occitan)
[ci skip]

* New translations simple_form.en.yml (Norwegian)
[ci skip]

* New translations simple_form.en.yml (Korean)
[ci skip]

* New translations simple_form.en.yml (Japanese)
[ci skip]

* New translations simple_form.en.yml (Polish)
[ci skip]

* New translations simple_form.en.yml (Indonesian)
[ci skip]

* New translations simple_form.en.yml (Ido)
[ci skip]

* New translations simple_form.en.yml (Hungarian)
[ci skip]

* New translations simple_form.en.yml (Hebrew)
[ci skip]

* New translations simple_form.en.yml (Greek)
[ci skip]

* New translations simple_form.en.yml (German)
[ci skip]

* New translations simple_form.en.yml (Persian)
[ci skip]

* New translations simple_form.en.yml (Portuguese)
[ci skip]

* New translations simple_form.en.yml (Galician)
[ci skip]

* New translations activerecord.en.yml (Basque)
[ci skip]

* New translations en.yml (Czech)
[ci skip]

* New translations simple_form.en.yml (Ukrainian)
[ci skip]

* New translations simple_form.en.yml (Turkish)
[ci skip]

* New translations simple_form.en.yml (Thai)
[ci skip]

* New translations simple_form.en.yml (Swedish)
[ci skip]

* New translations simple_form.en.yml (Portuguese, Brazilian)
[ci skip]

* New translations simple_form.en.yml (Spanish)
[ci skip]

* New translations simple_form.en.yml (Slovenian)
[ci skip]

* New translations simple_form.en.yml (Slovak)
[ci skip]

* New translations simple_form.en.yml (Serbian (Latin))
[ci skip]

* New translations simple_form.en.yml (Serbian (Cyrillic))
[ci skip]

* New translations simple_form.en.yml (Russian)
[ci skip]

* New translations simple_form.en.yml (Romanian)
[ci skip]

* New translations simple_form.en.yml (Georgian)
[ci skip]

* New translations simple_form.en.yml (French)
[ci skip]

* New translations en.yml (Korean)
[ci skip]

* New translations en.yml (Portuguese, Brazilian)
[ci skip]

* New translations en.yml (Slovenian)
[ci skip]

* New translations en.yml (Slovak)
[ci skip]

* New translations en.yml (Serbian (Latin))
[ci skip]

* New translations en.yml (Serbian (Cyrillic))
[ci skip]

* New translations en.yml (Russian)
[ci skip]

* New translations en.yml (Romanian)
[ci skip]

* New translations en.yml (Portuguese)
[ci skip]

* New translations en.yml (Swedish)
[ci skip]

* New translations en.yml (Polish)
[ci skip]

* New translations en.yml (Persian)
[ci skip]

* New translations en.yml (Occitan)
[ci skip]

* New translations en.yml (Norwegian)
[ci skip]

* New translations en.yml (Malay)
[ci skip]

* New translations en.yml (Lithuanian)
[ci skip]

* New translations en.yml (Latvian)
[ci skip]

* New translations en.yml (Spanish)
[ci skip]

* New translations en.yml (Tamil)
[ci skip]

* New translations simple_form.en.yml (Finnish)
[ci skip]

* New translations simple_form.en.yml (Chinese Simplified)
[ci skip]

* New translations simple_form.en.yml (Esperanto)
[ci skip]

* New translations simple_form.en.yml (Danish)
[ci skip]

* New translations simple_form.en.yml (Croatian)
[ci skip]

* New translations simple_form.en.yml (Corsican)
[ci skip]

* New translations simple_form.en.yml (Chinese Traditional, Hong Kong)
[ci skip]

* New translations simple_form.en.yml (Chinese Traditional)
[ci skip]

* New translations simple_form.en.yml (Catalan)
[ci skip]

* New translations en.yml (Telugu)
[ci skip]

* New translations simple_form.en.yml (Bulgarian)
[ci skip]

* New translations simple_form.en.yml (Basque)
[ci skip]

* New translations en.yml (Welsh)
[ci skip]

* New translations en.yml (Ukrainian)
[ci skip]

* New translations en.yml (Turkish)
[ci skip]

* New translations en.yml (Thai)
[ci skip]

* New translations doorkeeper.en.yml (Welsh)
[ci skip]

* New translations simple_form.en.yml (Japanese)
[ci skip]

* New translations en.json (Finnish)
[ci skip]

* New translations en.json (Finnish)
[ci skip]

* New translations en.json (Finnish)
[ci skip]

* New translations activerecord.en.yml (Finnish)
[ci skip]

* New translations en.json (Japanese)
[ci skip]

* New translations doorkeeper.en.yml (Japanese)
[ci skip]

* New translations doorkeeper.en.yml (Greek)
[ci skip]

* New translations doorkeeper.en.yml (Italian)
[ci skip]

* New translations doorkeeper.en.yml (Italian)
[ci skip]

* New translations en.yml (Italian)
[ci skip]

* New translations en.json (Slovak)
[ci skip]

* New translations en.yml (Slovak)
[ci skip]

* New translations en.yml (Slovak)
[ci skip]

* New translations doorkeeper.en.yml (Polish)
[ci skip]

* New translations doorkeeper.en.yml (Czech)
[ci skip]

* New translations doorkeeper.en.yml (Corsican)
[ci skip]

* New translations doorkeeper.en.yml (Corsican)
[ci skip]

* New translations en.yml (Italian)
[ci skip]

* New translations en.json (Italian)
[ci skip]

* New translations en.yml (Italian)
[ci skip]

* New translations doorkeeper.en.yml (Slovenian)
[ci skip]

* New translations en.json (Chinese Simplified)
[ci skip]

* New translations doorkeeper.en.yml (Chinese Simplified)
[ci skip]

* New translations en.yml (Polish)
[ci skip]

* New translations en.json (Dutch)
[ci skip]

* New translations en.json (German)
[ci skip]

* i18n-tasks normalize

* yarn manage:translations

6 years agoRemove expensive counters from federation page in admin UI (#11139)
Eugen Rochko [Fri, 21 Jun 2019 22:39:09 +0000 (00:39 +0200)]
Remove expensive counters from federation page in admin UI (#11139)

6 years agoChange domain blocks to automatically support subdomains (#11138)
Eugen Rochko [Fri, 21 Jun 2019 22:13:10 +0000 (00:13 +0200)]
Change domain blocks to automatically support subdomains (#11138)

* Change domain blocks to automatically support subdomains

If a more authoritative domain is blocked (example.com), then the
same block will be applied to a subdomain (foo.example.com)

* Match subdomains of existing accounts when blocking/unblocking domains

* Improve code style

6 years agoChange audio format from ogg to mp3 for wider compatibility (#11141)
Eugen Rochko [Fri, 21 Jun 2019 20:59:44 +0000 (22:59 +0200)]
Change audio format from ogg to mp3 for wider compatibility (#11141)

* Change audio format from ogg to mp3 for wider compatibility

* Add media description as title to links of unknown media attachments

6 years agoFix NavigationBar styling
Thibaut Girka [Wed, 19 Jun 2019 13:41:17 +0000 (15:41 +0200)]
Fix NavigationBar styling

6 years agoAdd NavigationBar to getting started column in single-column mode
Thibaut Girka [Wed, 19 Jun 2019 13:16:18 +0000 (15:16 +0200)]
Add NavigationBar to getting started column in single-column mode

Fixes #1131

6 years agoMerge pull request #1134 from ThibG/glitch-soc/merge-upstream
ThibG [Thu, 20 Jun 2019 17:19:30 +0000 (19:19 +0200)]
Merge pull request #1134 from ThibG/glitch-soc/merge-upstream

Merge upstream changes

6 years agoFix converted media being saved with original extension and mime type (#11130)
Eugen Rochko [Thu, 20 Jun 2019 08:52:36 +0000 (10:52 +0200)]
Fix converted media being saved with original extension and mime type (#11130)

6 years agoAdd moderation API (#9387)
Eugen Rochko [Thu, 20 Jun 2019 00:52:34 +0000 (02:52 +0200)]
Add moderation API (#9387)

Fix #8580
Fix #7143

6 years agoFix layout of identity proofs settings (#11126)
Acid Chicken (硫酸鶏) [Thu, 20 Jun 2019 00:18:06 +0000 (09:18 +0900)]
Fix layout of identity proofs settings (#11126)

6 years agoAdd audio uploads (#11123)
Eugen Rochko [Wed, 19 Jun 2019 21:42:38 +0000 (23:42 +0200)]
Add audio uploads (#11123)

* Add audio uploads

Fix #4827

Accept uploads of OGG, WAV, FLAC, OPUS and MP3 files, and converts
them to OGG. Media attachments get a new `audio` type. In the UI,
audio uploads are displayed identically to video uploads.

* Improve code style

6 years ago[Glitch] Completely hide toots matched by “irreversible” filters even if they got...
ThibG [Tue, 18 Jun 2019 16:23:08 +0000 (18:23 +0200)]
[Glitch] Completely hide toots matched by “irreversible” filters even if they got to the client

6 years agoMerge branch 'master' into glitch-soc/merge-upstream
Thibaut Girka [Wed, 19 Jun 2019 16:49:25 +0000 (18:49 +0200)]
Merge branch 'master' into glitch-soc/merge-upstream

Conflicts:
- app/views/admin/settings/edit.html.haml
  Conflict on theme VS flavour/skin handling.
  Keep our version.

6 years agoMerge branch 'master' into glitch-soc/merge-upstream
Thibaut Girka [Wed, 19 Jun 2019 14:19:32 +0000 (16:19 +0200)]
Merge branch 'master' into glitch-soc/merge-upstream

Conflicts:
- app/lib/sanitize_config.rb
  Keep our version, we support the tags upstream transforms.
- package.json
- yarn.lock

6 years agoFix inconsistent interpolation in sk.yml (#11124)
Eugen Rochko [Wed, 19 Jun 2019 16:25:06 +0000 (18:25 +0200)]
Fix inconsistent interpolation in sk.yml (#11124)

6 years agoAdd label for admin theme selector (#11121)
Alix Rossi [Wed, 19 Jun 2019 15:30:08 +0000 (17:30 +0200)]
Add label for admin theme selector (#11121)

* Add simple_form default for admin theme selector

* Revert "Add simple_form default for admin theme selector"

This reverts commit 0b736f78a87d61075f9b9f774d8da80e1e897b47.

* Add setting_theme label to admin theme selector

6 years agoChange preferences link in local settings modal from sliders to cog for consistency
Thibaut Girka [Sun, 16 Jun 2019 19:04:09 +0000 (21:04 +0200)]
Change preferences link in local settings modal from sliders to cog for consistency