Commit Graph

10097 Commits (bd6534fb41f58a1f0ad09d98ed64176de894675b)

Author SHA1 Message Date
Yamagishi Kazutoshi bd6534fb41 Add sponsor button to GitHub web UI (#10814)
- https://help.github.com/en/articles/displaying-a-sponsor-button-in-your-repository
2019-11-19 13:34:09 -06:00
ThibG a8ae1e4855 Retry ActivityPub inbox delivery on HTTP 401 and 408 errors (#10812)
HTTP 401 responses returned by Mastodon's inbox controller may
be temporary if, for instance, the requesting user's actor/key json
could not be retrieved in a timely fashion. This changes allow retries
instead of dropping the message entirely.

Also added HTTP 408 as that error is by nature temporary.
2019-11-19 13:34:01 -06:00
Eugen Rochko 918b7866dd Add `forceSingleColumn` prop to `<UI />` (#10807) [Monsterfork adjustment: keep ordering]
* Move TabsBar rendering logic from CSS to the ColumnsArea component

* Add forceSingleColumn mode

* Add unread notifications counter to tabs bar

* Add toggle to control `forceSingleColumn`

* Increase paddings in mobile layout responsively at large sizes
2019-11-19 13:31:33 -06:00
abcang 22e1150770 Migrate from uws to cws (#10805) 2019-11-19 13:27:48 -06:00
nzws 0041fafd54 Fix stacking order of emoji picker (#10801) 2019-11-19 13:27:43 -06:00
dependabot[bot] ad643a6816 Bump aws-sdk-s3 from 1.39.0 to 1.40.0 (#10803)
Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby) from 1.39.0 to 1.40.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.39.0...v1.40.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-11-19 13:27:37 -06:00
dependabot[bot] 3994315849 Bump rubocop from 0.69.0 to 0.70.0 (#10802)
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.69.0 to 0.70.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.69.0...v0.70.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-11-19 13:27:23 -06:00
dxwc e07991df26 i18n: Complete frontend Bengali translation (#10800)
* i18n: Complete frontend Bengali translation

* run yarn manage:translations
2019-11-19 13:24:44 -06:00
Paul Woolcock ecbcebb917 Add `account_id` param to `GET /api/v1/notifications` (#10796)
* Add `from_account` to notifications API

this adds the ability to filter notifications by the account they
originated from

* passing a non-existent user should cause none to be returned

* Fix codeclimate warnings

* fix more codeclimate warnings

* make requested changes:

* use account id instead of user@domain
* name the param `account_id` instead of `from_account`

* Don't use `return` in a lambda
2019-11-19 13:20:27 -06:00
dependabot[bot] 98d4ac4eee Bump httplog from 1.2.2 to 1.3.0 (#10795)
Bumps [httplog](https://github.com/trusche/httplog) from 1.2.2 to 1.3.0.
- [Release notes](https://github.com/trusche/httplog/releases)
- [Changelog](https://github.com/trusche/httplog/blob/master/CHANGELOG.md)
- [Commits](https://github.com/trusche/httplog/commits/v1.3.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-11-19 13:20:20 -06:00
Marek Ľach c2427e015e Update sk.yml (#10788)
* Update sk.yml

* Update sk.yml

* Update sk.yml

* Update sk.yml

* Update sk.yml

* Update sk.yml

* normalize
2019-11-19 13:20:14 -06:00
dependabot[bot] 1d53191fed Bump lograge from 0.11.0 to 0.11.1 (#10793)
Bumps [lograge](https://github.com/roidrage/lograge) from 0.11.0 to 0.11.1.
- [Release notes](https://github.com/roidrage/lograge/releases)
- [Changelog](https://github.com/roidrage/lograge/blob/master/CHANGELOG.md)
- [Commits](https://github.com/roidrage/lograge/compare/v0.11.0...v0.11.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-11-19 13:20:04 -06:00
dependabot[bot] 6aa2f747a7 Bump capybara from 3.20.0 to 3.20.2 (#10794)
Bumps [capybara](https://github.com/teamcapybara/capybara) from 3.20.0 to 3.20.2.
- [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.20.0...3.20.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-11-19 13:19:53 -06:00
Thibaut Girka db1381df17 Make headers font size proportional 2019-11-19 13:14:05 -06:00
Thibaut Girka d1b0f3a7e2 Allow rel=tag in status text
Fixes tag links in local Markdown or HTML-authored statuses
2019-11-19 13:14:02 -06:00
multiple creatures 5c9fbacaaf Add support for updating posts in-place to the frontend and API. This makes it possible to implement features such as *real* post editing. 2019-11-18 22:04:03 -06:00
multiple creatures 8f4f29f710 Revert `7f2174466` because it is causing thread mode to break. 2019-11-18 19:17:28 -06:00
multiple creatures 7f21744661 When a post is delayed or updated, remove the old version from local timelines before delivering the new verison. 2019-11-18 08:26:54 -06:00
multiple creatures 4f8172d215 Improve readability somewhat. 2019-11-18 08:21:48 -06:00
multiple creatures 8d5b0d6448 Let `PostStatusWorker` deal with delivering posts. 2019-11-18 07:58:27 -06:00
multiple creatures f9315005b0 Send status ID instead of objects to `ActivityPub::DistributionWorker` 2019-11-18 07:58:27 -06:00
multiple creatures ba0e07caf8 Use `before_save` instead of `after_save`. 2019-11-18 07:58:24 -06:00
multiple creatures 2ac0b20c5c Be more specific about checking for the truthiness of `nomentions`. 2019-11-18 05:29:21 -06:00
multiple creatures 59ef948640 Get rid of the `Formatter` cache. It isn't worth the admin headaches. 2019-11-18 05:09:18 -06:00
multiple creatures 345c6beb7e Auto-remove expired filters. 2019-11-18 04:39:27 -06:00
multiple creatures 2c32b36a57 Remove filter caches. 2019-11-18 04:38:27 -06:00
multiple creatures 0d37227266 Filter boosts from profile pages' Roars & Growls tab. 2019-11-18 04:17:49 -06:00
multiple creatures 7cc9f12177 In the regex filtering query, `ANY` should actually be `ALL`. 2019-11-18 04:04:12 -06:00
multiple creatures 80fe01c300 Correct `CustomFilters` to `CustomFilter`. 2019-11-18 03:57:58 -06:00
multiple creatures a44eb4a79d Use custom `f_normalize` function for transforming regex filters. 2019-11-18 03:49:02 -06:00
multiple creatures 953e00bc05 Ensure that community-visible posts are removed from the timeline when the author deletes them. 2019-11-18 03:47:38 -06:00
multiple creatures e90e1283f9 Committing this unnecessary schema version update. 2019-11-18 03:32:43 -06:00
multiple creatures 158369f367 Create `f_normalize` function to transform filter queries. Also make the FTS migration an actual migration to save new Monsterfork admins the headache. 2019-11-18 03:30:52 -06:00
multiple creatures f1230bb319 Migrate old whole-word filters to modified syntax (double quoted strings treated as whole-word). 2019-11-18 02:52:17 -06:00
multiple creatures 0d90c0f61a Only apply a user's string filters if they actually have any set (otherwise all posts will be filtered). 2019-11-18 02:19:09 -06:00
multiple creatures 54afd828c2 Split indexing Rake tasks to: `monsterfork:index_statuses` (reindex statuses that do not normalized text yet), `monsterfork:reindex_statuses` (reindex all statuses), and `monsterfork:reindex_media_desc` (reindex statuses with media descriptions). These tasks are only needed by admins setting up Monsterfork for the first time or if the normalization scheme has changed drastically. 2019-11-18 02:19:09 -06:00
multiple creatures 4d6e1aa81d Include media attachment descriptions in normalized text. 2019-11-18 02:19:09 -06:00
multiple creatures 20f5ced61d Remove context selector from filter view. 2019-11-18 02:19:09 -06:00
multiple creatures f76c29beee Remove unused and incompatable filter settings. These will be re-added in time as they're rewritten to use database-level filtering. 2019-11-18 02:19:09 -06:00
multiple creatures 82f2e265f1 Remove `FilterHelper` include from timeline APIs. 2019-11-18 02:19:09 -06:00
multiple creatures 90189b98ff Always skip `Formatter` cache when serializing ActivityPub representations of posts and accounts. 2019-11-18 02:19:09 -06:00
multiple creatures 5c535c021f Remove a duplicate callback to `update_normalized_text`. 2019-11-18 02:19:09 -06:00
multiple creatures b1e3ecd78f In ProcessMentionsService, `skip_notify` should be a keyword argument, not positional. 2019-11-18 02:19:09 -06:00
multiple creatures 9d4a4efa7a Add a new profile option to filter posts with undescribed media. At some point, figure out how to put this under Filters, even if it angers the MVC model gods. No gods, no masters. 2019-11-18 02:19:09 -06:00
multiple creatures afe4b6b6ad Users' filters are applied in the `Status` model. They can also now use regular expressions. 2019-11-18 02:19:09 -06:00
multiple creatures b1049bc149 When streaming posts to timelines, do not apply filters to the author's own posts. 2019-11-18 02:19:05 -06:00
multiple creatures 68fa5ca1b7 The streaming server can now apply users' regex filters before sending content to their timelines.`Ia PostgreSQL fthaghn`. 2019-11-17 20:50:05 -06:00
multiple creatures d9e6204cd6 Do away with the kludgy solution of applying users' filters from API controllers; we will do this in the `Status` model instead, and at the database level. 2019-11-17 19:11:45 -06:00
multiple creatures a5c518b1df Add `filter_undescribed` column to `accounts` table. 2019-11-17 19:11:35 -06:00
multiple creatures 1391f44188 Removed one too many `rescue`s. 2019-11-17 19:01:22 -06:00