about summary refs log tree commit diff
AgeCommit message (Collapse)Author
2019-03-14[Security] Bump rails from 5.2.2 to 5.2.2.1 (#10257)dependabot[bot]
Bumps [rails](https://github.com/rails/rails) from 5.2.2 to 5.2.2.1. **This update includes security fixes.** - [Release notes](https://github.com/rails/rails/releases) - [Commits](https://github.com/rails/rails/compare/v5.2.2...v5.2.2.1) Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-13Add UI for enabling/disabling poll notifications (#10255)ThibG
* Add UI for enabling/disabling poll notifications * Add poll notifications to the (advanced) quick filter bar * Update poll notification message “Your poll has ended” → “A poll you have voted in has ended” * Clear up associated notifications when a poll is deleted
2019-03-13i18n: Add Japanese translations for new landing page (#10254)mayaeh
* yarn manage:translations && i18n-tasks add-missing * Update Japanese translations for new landing page. I don't change the tagline from English yet. I think that translating a tagline is difficult and requires time-consuming discussions. Some translations related about the poll are already done in Weblate, so I will leave it as it is.
2019-03-13Fix `tagged` param not being normalized before querying tags (#10249)Eugen Rochko
2019-03-13Fix to limit to discoverable accounts. (#10253)mayaeh
2019-03-13Bump active_record_query_trace from 1.6.1 to 1.6.2 (#10252)dependabot[bot]
Bumps [active_record_query_trace](https://github.com/brunofacca/active-record-query-trace) from 1.6.1 to 1.6.2. - [Release notes](https://github.com/brunofacca/active-record-query-trace/releases) - [Changelog](https://github.com/brunofacca/active-record-query-trace/blob/master/HISTORY.md) - [Commits](https://github.com/brunofacca/active-record-query-trace/compare/v1.6.1...v1.6.2) Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-12Fix poll update handler calling method was that was not available (#10246)Eugen Rochko
* Fix poll update handler calling method was that was not available Fix regression from #10209 * Refactor VoteService * Refactor ActivityPub::DistributePollUpdateWorker and optimize it * Fix typo * Fix typo
2019-03-12Optimize RemoveStatusService by removing n+1 query and using shared inboxes ↵Eugen Rochko
(#10247)
2019-03-12Add muted style for polls in web UI (#10248)Eugen Rochko
2019-03-12Fix public timeline page not paginating correctly (#10245)Eugen Rochko
2019-03-12Redesign landing page (#10232)Eugen Rochko
2019-03-12Bump concurrent-ruby from 1.1.4 to 1.1.5 (#10242)dependabot[bot]
Bumps [concurrent-ruby](https://github.com/ruby-concurrency/concurrent-ruby) from 1.1.4 to 1.1.5. - [Release notes](https://github.com/ruby-concurrency/concurrent-ruby/releases) - [Changelog](https://github.com/ruby-concurrency/concurrent-ruby/blob/master/CHANGELOG.md) - [Commits](https://github.com/ruby-concurrency/concurrent-ruby/compare/v1.1.4...v1.1.5) Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-11Squish username before validation (#10239)Aurélien Reeves
* Squish username before validation (#10101) Fix #10101 * Move before_validation hook to a private method Also add Unicode wite-spaces to the spec to support the use of squish over strip.
2019-03-11Fix remote interaction dialogs being indexed by search engines (#10240)Eugen Rochko
Fix #10116
2019-03-11Bump aws-sdk-s3 from 1.30.1 to 1.31.0 (#10236)dependabot[bot]
Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby) from 1.30.1 to 1.31.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/1.30.1...1.31.0) Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-11Add `tootctl statuses remove` to sweep unreferenced statuses (#10063)Eugen Rochko
Query by @tateisu Fix #1554
2019-03-11Bump pkg-config from 1.3.5 to 1.3.6 (#10235)dependabot[bot]
Bumps [pkg-config](https://github.com/ruby-gnome2/pkg-config) from 1.3.5 to 1.3.6. - [Release notes](https://github.com/ruby-gnome2/pkg-config/releases) - [Changelog](https://github.com/ruby-gnome2/pkg-config/blob/master/NEWS) - [Commits](https://github.com/ruby-gnome2/pkg-config/compare/1.3.5...1.3.6) Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-11Bump active_record_query_trace from 1.6 to 1.6.1 (#10237)dependabot[bot]
Bumps [active_record_query_trace](https://github.com/brunofacca/active-record-query-trace) from 1.6 to 1.6.1. - [Release notes](https://github.com/brunofacca/active-record-query-trace/releases) - [Changelog](https://github.com/brunofacca/active-record-query-trace/blob/master/HISTORY.md) - [Commits](https://github.com/brunofacca/active-record-query-trace/compare/v1.6...v1.6.1) Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-11Increase DNS timeouts (#10238)ThibG
2019-03-11Fix streaming API always attempting to use SSL with Postgres (#10231)Eugen Rochko
Fix #10223
2019-03-11Avoid race conditions when creating backups (#10234)ThibG
Under load, multiple backups for a single user could be planned, which is very expensive.
2019-03-11Support pushing and receiving updates to poll tallies (#10209)ThibG
* Process incoming poll tallies update * Send Update on poll vote * Do not send Updates for a poll more often than once every 3 minutes * Include voters in people to notify of results update * Schedule closing poll worker on poll creation * Add new notification type for ending polls * Add front-end support for ended poll notifications * Fix UpdatePollSerializer * Fix Updates not being triggered by local votes * Fix tests failure * Fix web push notifications for closing polls * Minor cleanup * Notify voters of both remote and local polls when those close * Fix delivery of poll updates to mentioned accounts and voters
2019-03-10Reject existing Follows when suspending a remote account (#10230)ThibG
* Reject existing Follows when suspending a remote account Partial fix to #10229 * Add tests
2019-03-10Fix SSL configuration regression in streaming API (#10225)Eugen Rochko
* Fix SSL configuration regression in streaming API Fix #10223 * Fix code style issues and integrate #10219 * Fix dumb thing
2019-03-10Add clearer error when/if gpg fails to install (#10228)Armand Fardeau
2019-03-09Change joinmastodon.org to joinmastodon.org/#getting-started for sign up on ↵Aditoo17
another server (#10224)
2019-03-08Fix setting up fields of a previously suspended account (#10222)ThibG
Fix #10177 for real
2019-03-08Re-organize Dockerfile to improve incremental builds. (#10212)Ben Lubar
- Always run apt update before any other apt command. (This fixes incremental builds failing if a remote package is updated.) - Only copy dependency lists before installing dependencies. (This means editing code doesn't force all dependencies to be re-downloaded.) - Delete cache in the same layer that it is created. (Otherwise, deleting cache *increases* the size of the image on non-squashed builds.) - Move the installation of some static dependencies to *before* Mastodon code is imported to Docker.
2019-03-08config: add DB_SSLMODE for managed/remote PG (#10210)Sascha
* config: add DB_SSLMODE for managed/remote PG * streaming: set PG sslmode, defaults to prefer
2019-03-08Bump pkg-config from 1.3.4 to 1.3.5 (#10218)dependabot[bot]
Bumps [pkg-config](https://github.com/ruby-gnome2/pkg-config) from 1.3.4 to 1.3.5. - [Release notes](https://github.com/ruby-gnome2/pkg-config/releases) - [Changelog](https://github.com/ruby-gnome2/pkg-config/blob/master/NEWS) - [Commits](https://github.com/ruby-gnome2/pkg-config/compare/1.3.4...1.3.5) Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-08Do not allow adding votes to expired polls (#10214)ThibG
* Do not allow adding votes to expired polls * Only validate expires_at on create
2019-03-07Immediately display poll results to poll author (#10187)Eugen Rochko
* Immediately display poll results to poll author * Refactor Poll#loaded_options and add Poll#voted? to improve DRYness
2019-03-07Fix NaN in Poll component (#10213)Eugen Rochko
2019-03-07Fix public timelines being broken by new toots when they are not mounted ↵Eugen Rochko
(#10131)
2019-03-07Handle StaleObjectError when retrieving polls (#10208)ThibG
2019-03-07Bump webpush from 0.3.6 to 0.3.7 (#10205)dependabot[bot]
Bumps [webpush](https://github.com/zaru/webpush) from 0.3.6 to 0.3.7. - [Release notes](https://github.com/zaru/webpush/releases) - [Changelog](https://github.com/zaru/webpush/blob/master/CHANGELOG.md) - [Commits](https://github.com/zaru/webpush/compare/v0.3.6...v0.3.7) Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-07i18n:🇵🇱 (#10199)marcin mikołajczak
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2019-03-07Avoid unnecessarily fetching the replies collection when it is empty (#10201)ThibG
2019-03-07Fix AddLockVersionToPolls migration (#10200)ThibG
2019-03-07Fix #10202 (#10203)rinsuki
2019-03-06Add optimistic lock to avoid race conditions when handling votes (#10196)ThibG
* Add optimistic lock to avoid race conditions when handling votes * Force-reload polls when getting `ActiveRecord::StaleObjectError`
2019-03-06Disable the underlying button element when an ItemButton is disabled (#10194)ThibG
Fixes #10191
2019-03-06Disable file upload when there is a poll (#10195)ThibG
2019-03-06Bump active_record_query_trace from 1.5.4 to 1.6 (#10192)dependabot[bot]
Bumps [active_record_query_trace](https://github.com/brunofacca/active-record-query-trace) from 1.5.4 to 1.6. - [Release notes](https://github.com/brunofacca/active-record-query-trace/releases) - [Changelog](https://github.com/brunofacca/active-record-query-trace/blob/v1.6/HISTORY.md) - [Commits](https://github.com/brunofacca/active-record-query-trace/compare/v1.5.4...v1.6) Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-06Fix poll options not rendering text after vote/refresh (#10189)Eugen Rochko
* Fix poll options not rendering text after vote/refresh * Fix poll options not showing up on public pages * Fix code style issue
2019-03-06Avoid line breaks in poll options (#10188)Eugen Rochko
2019-03-06Fix poll validation issues (#10186)Eugen Rochko
- Fix missing interpolation argument in PollValidator - Fix PollValidator rejecting exact allowed min/max durations
2019-03-06Add UI for creating polls (#10184)Eugen Rochko
* Add actions and reducers for polls * Add poll button * Disable media upload if poll enabled * Add poll form * Make delete & redraft work with polls
2019-03-06Render unicode emoji in polls using emoji pack (#10185)Eugen Rochko
2019-03-05Fix newlines in OStatus and RSS serializations (#10183)ThibG