]> cat aescling's git repositories - mastodon.git/log
mastodon.git
6 years agoAdd support for HTML-formatted toots
Thibaut Girka [Sun, 12 May 2019 19:33:37 +0000 (21:33 +0200)]
Add support for HTML-formatted toots

6 years agoAdd support for markdown-formatted toots
Thibaut Girka [Sun, 12 May 2019 18:20:05 +0000 (20:20 +0200)]
Add support for markdown-formatted toots

6 years agoAdd database row to hold status content type
Thibaut Girka [Sun, 12 May 2019 18:14:35 +0000 (20:14 +0200)]
Add database row to hold status content type

6 years agoMerge pull request #1049 from ThibG/glitch-soc/merge-upstream
ThibG [Wed, 15 May 2019 16:44:21 +0000 (18:44 +0200)]
Merge pull request #1049 from ThibG/glitch-soc/merge-upstream

Merge upstream changes

6 years agoMerge branch 'master' into glitch-soc/merge-upstream
Thibaut Girka [Wed, 15 May 2019 15:11:40 +0000 (17:11 +0200)]
Merge branch 'master' into glitch-soc/merge-upstream

6 years agoUpdate simple_form.fr.yml (#10756)
manuelviens [Wed, 15 May 2019 05:52:11 +0000 (01:52 -0400)]
Update simple_form.fr.yml (#10756)

Remplacement des ' par des ’

6 years agoMinor performance improvements and cleanup in formatter (#10765)
ThibG [Wed, 15 May 2019 04:54:06 +0000 (06:54 +0200)]
Minor performance improvements and cleanup in formatter (#10765)

6 years agoAdds click-able div that expands status (#10733) (#10766)
Neil Moore [Wed, 15 May 2019 04:53:23 +0000 (00:53 -0400)]
Adds click-able div that expands status (#10733) (#10766)

The clickable div is positioned under the account avatar and covers
all empty space below it to the end of the status.

6 years agoRecord account suspend/silence time and keep track of domain blocks (#10660)
ThibG [Tue, 14 May 2019 17:05:02 +0000 (19:05 +0200)]
Record account suspend/silence time and keep track of domain blocks (#10660)

* Record account suspend/silence time and keep track of domain blocks

* Also unblock users who were suspended/silenced before dates were recorded

* Add tests

* Keep track of suspending date for users suspended through the CLI

* Show accurate number of accounts that would be affected by unsuspending an instance

* Change migration to set silenced_at and suspended_at

* Revert "Also unblock users who were suspended/silenced before dates were recorded"

This reverts commit a015c65d2d1e28c7b7cfab8b3f8cd5fb48b8b71c.

* Switch from using suspended and silenced to suspended_at and silenced_at

* Add post-deployment migration script to remove `suspended` and `silenced` columns

* Use Account#silence! and Account#suspend! instead of updating the underlying property

* Add silenced_at and suspended_at migration to post-migration

* Change account fabricator to translate suspended and silenced attributes

* Minor fixes

* Make unblocking domains always retroactive

6 years agoUpdate slovak simple_forms (#10763)
Marek Ľach [Tue, 14 May 2019 10:55:47 +0000 (12:55 +0200)]
Update slovak simple_forms (#10763)

6 years agoBump capybara from 3.18.0 to 3.19.1 (#10758)
dependabot[bot] [Tue, 14 May 2019 06:01:47 +0000 (15:01 +0900)]
Bump capybara from 3.18.0 to 3.19.1 (#10758)

Bumps [capybara](https://github.com/teamcapybara/capybara) from 3.18.0 to 3.19.1.
- [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.18.0...3.19.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years agoBump brakeman from 4.5.0 to 4.5.1 (#10757)
dependabot[bot] [Tue, 14 May 2019 06:01:22 +0000 (15:01 +0900)]
Bump brakeman from 4.5.0 to 4.5.1 (#10757)

Bumps [brakeman](https://github.com/presidentbeef/brakeman) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/presidentbeef/brakeman/releases)
- [Changelog](https://github.com/presidentbeef/brakeman/blob/master/CHANGES.md)
- [Commits](https://github.com/presidentbeef/brakeman/compare/v4.5.0...v4.5.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years agoBump rubocop from 0.68.1 to 0.69.0 (#10762)
dependabot[bot] [Tue, 14 May 2019 06:00:58 +0000 (15:00 +0900)]
Bump rubocop from 0.68.1 to 0.69.0 (#10762)

Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.68.1 to 0.69.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.68.1...v0.69.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years agoFix rich text style in reply indicator
Thibaut Girka [Mon, 13 May 2019 13:06:09 +0000 (15:06 +0200)]
Fix rich text style in reply indicator

6 years agoFix rich text styling on public pages
Thibaut Girka [Mon, 13 May 2019 13:01:00 +0000 (15:01 +0200)]
Fix rich text styling on public pages

6 years agoFix text color of some formatted elements in notifications
Thibaut Girka [Sun, 12 May 2019 17:11:08 +0000 (19:11 +0200)]
Fix text color of some formatted elements in notifications

6 years agoFix some colors in light theme (#10754)
nzws [Sun, 12 May 2019 03:15:42 +0000 (12:15 +0900)]
Fix some colors in light theme (#10754)

* Fix typo in light theme

* Fix background color of empty column

6 years agoFix incorrect reference to raw_content (it is raw_text instead) (#10753)
ThibG [Sat, 11 May 2019 21:56:07 +0000 (23:56 +0200)]
Fix incorrect reference to raw_content (it is raw_text instead) (#10753)

6 years agoMerge pull request #1044 from ThibG/glitch-soc/merge-upstream
ThibG [Sat, 11 May 2019 20:05:39 +0000 (22:05 +0200)]
Merge pull request #1044 from ThibG/glitch-soc/merge-upstream

Merge upstream changes

6 years ago[Glitch] Use raw content if available on Delete & Redraft
ThibG [Sat, 11 May 2019 04:46:43 +0000 (06:46 +0200)]
[Glitch] Use raw content if available on Delete & Redraft

Port front-end changes from 6d44f2441bf2aa14d11e481d9d2cfe82a74d81ed to glitch-soc

6 years agoMerge branch 'master' into glitch-soc/merge-upstream
Thibaut Girka [Sat, 11 May 2019 16:23:46 +0000 (18:23 +0200)]
Merge branch 'master' into glitch-soc/merge-upstream

6 years agoUse a checkbox for the “Mark media as sensitive” composer button
Thibaut Girka [Fri, 10 May 2019 11:59:41 +0000 (13:59 +0200)]
Use a checkbox for the “Mark media as sensitive” composer button

Fixes #1039

6 years agoMerge pull request #1043 from ThibG/glitch-soc/merge-upstream
ThibG [Sat, 11 May 2019 10:35:25 +0000 (12:35 +0200)]
Merge pull request #1043 from ThibG/glitch-soc/merge-upstream

Merge upstream changes

6 years agoAdd toot source to delete result to ease Delete & Redraft (#10669)
ThibG [Sat, 11 May 2019 04:46:43 +0000 (06:46 +0200)]
Add toot source to delete result to ease Delete & Redraft (#10669)

* Return Status with raw text in raw_content when deleting a status

* Use raw content if available on delete & redraft

* Rename raw_content to text; do not serialize formatted content when source is requested

6 years agoUse local time in audit log (#10751)
nzws [Sat, 11 May 2019 04:46:02 +0000 (13:46 +0900)]
Use local time in audit log (#10751)

6 years ago[Glitch] Improve poll link accessibility
Maciek Baron [Thu, 9 May 2019 20:03:32 +0000 (21:03 +0100)]
[Glitch] Improve poll link accessibility

Port 0402c52f28b73824d7c81c702a16d39fd97808cf to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago[Glitch] Fix some colors of high contrast theme
nzws [Tue, 7 May 2019 21:53:58 +0000 (06:53 +0900)]
[Glitch] Fix some colors of high contrast theme

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago[Glitch] Add confirm modal for unboosting toots
Aurélien Reeves [Thu, 9 May 2019 20:39:27 +0000 (22:39 +0200)]
[Glitch] Add confirm modal for unboosting toots

Port fe8a8f779e36e25286b6a7ddc7bcd08e2a4e2890 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years agoi18n: Update French translations (#10747)
Alix Rossi [Fri, 10 May 2019 16:09:47 +0000 (18:09 +0200)]
i18n: Update French translations (#10747)

* Update French JSON

* i18n: Update fr.yml

* i18n: Update simple_form.fr.yml

* Update simple_form.fr.yml

* Update fr.yml

6 years agoi18n: Update Corsican translations (#10746)
Alix Rossi [Fri, 10 May 2019 16:09:34 +0000 (18:09 +0200)]
i18n: Update Corsican translations (#10746)

* i18n: Update Corsican translations

* Update co.yml

* Fix a translation in co.yml

6 years agoChange icon and label depending on whether media is marked as sensitive (#10748)
ThibG [Fri, 10 May 2019 15:59:57 +0000 (17:59 +0200)]
Change icon and label depending on whether media is marked as sensitive (#10748)

* Change icon and label depending on whether media is marked as sensitive

* WiP use a checkbox

6 years agoMerge branch 'master' into glitch-soc/merge-upstream
Thibaut Girka [Fri, 10 May 2019 15:09:12 +0000 (17:09 +0200)]
Merge branch 'master' into glitch-soc/merge-upstream

Conflicts:
- app/controllers/statuses_controller.rb
  minor conflict because of glitch-soc's theming system
- app/controllers/stream_entries_controller.rb
  minor conflict because of glitch-soc's theming system

6 years agoFix media description confirmation modal
Thibaut Girka [Fri, 10 May 2019 09:27:59 +0000 (11:27 +0200)]
Fix media description confirmation modal

Fixes #1040

6 years agoUpdate simple_form.fr.yml (#10726)
manuelviens [Thu, 9 May 2019 21:16:24 +0000 (17:16 -0400)]
Update simple_form.fr.yml (#10726)

* Minor modif and add

Modified '' by ’ and added invite_request

* Update simple_form.fr.yml

Modifications suggérées par ThibG

* Update simple_form.fr.yml

Remplacement des ' par des ’.

* Update simple_form.fr.yml

Ajout de deux petits espaces devant sessions:

6 years agoAdd strings for Slovak (#10734)
Marek Ľach [Thu, 9 May 2019 21:16:05 +0000 (23:16 +0200)]
Add strings for Slovak (#10734)

* Add strings for Slovak

* Update sk.yml

6 years agoUpdate fr.yml (#10727)
manuelviens [Thu, 9 May 2019 21:15:39 +0000 (17:15 -0400)]
Update fr.yml (#10727)

* Update fr.yml

Added missing lines

* Update fr.yml

Application des modifications de ThibG

* Update fr.yml

Modifications proposées par ThibG

6 years agoAdd ES_PREFIX in .env.production.sample (#10087)
Stanislas [Thu, 9 May 2019 20:41:27 +0000 (22:41 +0200)]
Add ES_PREFIX in .env.production.sample (#10087)

6 years agoAdd confirm modal for unboosting toots (#10287)
Aurélien Reeves [Thu, 9 May 2019 20:39:27 +0000 (22:39 +0200)]
Add confirm modal for unboosting toots (#10287)

[#3815]

Display the boost modal also when unboosting toots.

6 years agoAdd emoji suggestions to CW and poll option fields (#10555)
ThibG [Thu, 9 May 2019 20:10:27 +0000 (22:10 +0200)]
Add emoji suggestions to CW and poll option fields (#10555)

* Refactor selectComposeSuggestion so that different paths can be updated

* Add suggestions in CW field

* Add emoji suggestion to poll options

* Attempt to fix CSS

* Hide suggestions by default

They will be enabled if the input has focus

6 years agoPrevent silenced local users from notifying remote users not following them (#10575)
ThibG [Thu, 9 May 2019 20:05:43 +0000 (22:05 +0200)]
Prevent silenced local users from notifying remote users not following them (#10575)

* Prevent silenced local users from notifying remote users not following them

This is an attempt to extend the local restrictions of silenced users to the
federation.

* Add tests

* Add tests for making sure private status don't get sent over OStatus

6 years agoAdd some caching for HTML versions of statuses pages (#10701)
ThibG [Thu, 9 May 2019 20:03:44 +0000 (22:03 +0200)]
Add some caching for HTML versions of statuses pages (#10701)

6 years agoImprove poll link accessibility (#10720)
Maciek Baron [Thu, 9 May 2019 20:03:32 +0000 (21:03 +0100)]
Improve poll link accessibility (#10720)

* Add distinction between hover and active/focus states
* Resolves #10198

6 years agoRemove custom emojis on "tootctl domains purge" (#10721)
Jeong Arm [Thu, 9 May 2019 20:03:21 +0000 (05:03 +0900)]
Remove custom emojis on "tootctl domains purge" (#10721)

* Remove custom emojis on domains purge

* Change message "Removing" to "Removed"

6 years agoRecord deleted(by mod) status to prevent re-appear (#10732)
Jeong Arm [Thu, 9 May 2019 20:03:03 +0000 (05:03 +0900)]
Record deleted(by mod) status to prevent re-appear (#10732)

* Record deleted(by mod) status to prevent re-appear

* Move to Tombstone

* Add missing migration script

6 years agoBring back crossed eye icon on gallery (#10715)
Jeong Arm [Wed, 8 May 2019 16:01:33 +0000 (01:01 +0900)]
Bring back crossed eye icon on gallery (#10715)

6 years agoFix tabs bar on mobile
Thibaut Girka [Tue, 7 May 2019 22:04:48 +0000 (00:04 +0200)]
Fix tabs bar on mobile

Fixes #1037

6 years agoFix some colors of high contrast theme (#10711)
nzws [Tue, 7 May 2019 21:53:58 +0000 (06:53 +0900)]
Fix some colors of high contrast theme (#10711)

* Fix "nothing here" text color of high contrast

* Fix counter border color of high contrast

6 years agoFix front-end crash when a video has a blurhash and is hidden behind a CW
Thibaut Girka [Tue, 7 May 2019 20:12:11 +0000 (22:12 +0200)]
Fix front-end crash when a video has a blurhash and is hidden behind a CW

6 years agoBump redis from 4.1.0 to 4.1.1 (#10722)
dependabot[bot] [Tue, 7 May 2019 05:47:46 +0000 (14:47 +0900)]
Bump redis from 4.1.0 to 4.1.1 (#10722)

Bumps [redis](https://github.com/redis/redis-rb) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/redis/redis-rb/releases)
- [Changelog](https://github.com/redis/redis-rb/blob/master/CHANGELOG.md)
- [Commits](https://github.com/redis/redis-rb/compare/v4.1.0...v4.1.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years agoi18n Update Catalan translation (#10719)
spla [Mon, 6 May 2019 15:55:37 +0000 (17:55 +0200)]
i18n Update Catalan translation (#10719)

* Updated Catalan strings

* Update ca.yml

* Update ca.yml

* Update ca.yml

* Update ca.yml

* Update ca.yml

* Update ca.yml

* Update ca.yml

* Update simple_form.ca.yml

* Update simple_form.ca.yml

* Update simple_form.ca.yml

* bundle exec i18n-tasks

* Update ca.json

* Update simple_form.ca.yml

* i18n: Update Catalan translations

* i18n: Update Catalan translations

* i18n: Update Catalan translations

* i18n: Update Catalan translations

* i18n: Update Catalan translations

* i18n: Update Catalan translations

* i18n: Update Catalan translations

* i18n: Update Catalan translations

* i18n: Update Catalan translations

* i18n: Update Catalan translation

* i18n Update Catalan translation

6 years agoBump parallel_tests from 2.28.0 to 2.29.0 (#10716)
dependabot[bot] [Mon, 6 May 2019 06:12:55 +0000 (15:12 +0900)]
Bump parallel_tests from 2.28.0 to 2.29.0 (#10716)

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

Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years agoAdd description on hover in media gallery (#10713)
ThibG [Mon, 6 May 2019 03:33:56 +0000 (05:33 +0200)]
Add description on hover in media gallery (#10713)

6 years agoFix content warning button displaying a link icon when no status card is set
Thibaut Girka [Sun, 5 May 2019 19:09:45 +0000 (21:09 +0200)]
Fix content warning button displaying a link icon when no status card is set

6 years agoi18n: Update Japanese translations (#10706)
mayaeh [Sun, 5 May 2019 19:34:32 +0000 (04:34 +0900)]
i18n: Update Japanese translations (#10706)

* Update Japanese translations.

run yarn manage:translations

This commit includes translations by some users that were done at the transifex.

* Reduce translation text because it becomes two lines.

6 years ago1 NL string update (#10709)
jeroenpraat [Sun, 5 May 2019 19:33:24 +0000 (21:33 +0200)]
1 NL string update (#10709)

* 1 NL string update

No that weblate isn't used anymore, it would be fine if, or the english strings are update, or there is somewhere an explanation how to generate new strings for a language

* Update nl.json

6 years agofix pinned columns ’s Media-only button
Kirishima21 [Sun, 5 May 2019 18:31:21 +0000 (03:31 +0900)]
fix pinned columns ’s Media-only button

Media-only toggles could not be used on pinned columns.
The commit fixes this problem.

6 years agoMerge pull request #1032 from ThibG/glitch-soc/merge-upstream
ThibG [Sun, 5 May 2019 18:53:07 +0000 (20:53 +0200)]
Merge pull request #1032 from ThibG/glitch-soc/merge-upstream

Merge upstream changes

6 years agoBump version to 2.8.2 (#10703)
Eugen Rochko [Sun, 5 May 2019 15:14:15 +0000 (17:14 +0200)]
Bump version to 2.8.2 (#10703)

6 years ago[Glitch] Make sure the instance banner is never cropped
Baptiste Gelez [Sat, 4 May 2019 23:07:15 +0000 (00:07 +0100)]
[Glitch] Make sure the instance banner is never cropped

Port 21209c2b52d1ed1d1dee2dad2d725ffc7714701b to glitch-soc

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

6 years agoMinor Slovak locale update (#10705)
Marek Ľach [Sun, 5 May 2019 08:25:35 +0000 (10:25 +0200)]
Minor Slovak locale update (#10705)

6 years agoI18n: Update Czech translation 🇨🇿 (#10704)
Aditoo17 [Sun, 5 May 2019 06:33:33 +0000 (08:33 +0200)]
I18n: Update Czech translation 🇨🇿 (#10704)

* I18n: Update Czech translation

* Tiny fix

6 years agoMake sure the instance banner is never cropped (#10702)
Baptiste Gelez [Sat, 4 May 2019 23:07:15 +0000 (00:07 +0100)]
Make sure the instance banner is never cropped (#10702)

6 years agoMinor style fixes
Thibaut Girka [Sat, 4 May 2019 21:05:43 +0000 (23:05 +0200)]
Minor style fixes

6 years agoBump blurhash from 0.1.2 to 0.1.3 (#10700)
Eugen Rochko [Sat, 4 May 2019 20:52:54 +0000 (22:52 +0200)]
Bump blurhash from 0.1.2 to 0.1.3 (#10700)

6 years ago[Glitch] Change font weight of sensitive button to 500
Eugen Rochko [Fri, 3 May 2019 18:44:20 +0000 (20:44 +0200)]
[Glitch] Change font weight of sensitive button to 500

Port 63b1388fefff9414c2d0f9883f2d33f7c73284c6 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago[Glitch] Make the "mark media as sensitive" button more obvious in web UI
Eugen Rochko [Fri, 3 May 2019 02:34:55 +0000 (04:34 +0200)]
[Glitch] Make the "mark media as sensitive" button more obvious in web UI

Port 05ef3462ba0af7b147a7cfa8de2735e99dc59ac5 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years agoAdd visibility icon back in media gallery
Thibaut Girka [Sat, 4 May 2019 18:06:17 +0000 (20:06 +0200)]
Add visibility icon back in media gallery

6 years agoAdd back description on hover
Thibaut Girka [Sat, 4 May 2019 18:03:37 +0000 (20:03 +0200)]
Add back description on hover

6 years ago[Glitch] Fix transition: all
ThibG [Sat, 4 May 2019 15:39:53 +0000 (17:39 +0200)]
[Glitch] Fix transition: all

Port 7aa749ab46b53bc5b234332ac35acc09a636fc28 to glitch-soc

6 years ago[Glitch] Make the cursor icon consistant across media types in account media gallery
ThibG [Sat, 4 May 2019 15:36:43 +0000 (17:36 +0200)]
[Glitch] Make the cursor icon consistant across media types in account media gallery

6 years agoMerge branch 'master' into glitch-soc/merge-upstream
Thibaut Girka [Sat, 4 May 2019 17:15:50 +0000 (19:15 +0200)]
Merge branch 'master' into glitch-soc/merge-upstream

6 years ago[Glitch] Add button to view context to media modal
Eugen Rochko [Fri, 3 May 2019 14:16:30 +0000 (16:16 +0200)]
[Glitch] Add button to view context to media modal

Port eb63217210b0ab85ff1fcca9506d5e7931382a56 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago[Glitch] Fix alignment of items in the account gallery in web UI and load more per...
Eugen Rochko [Fri, 3 May 2019 02:02:55 +0000 (04:02 +0200)]
[Glitch] Fix alignment of items in the account gallery in web UI and load more per page

Port 967e419f8fa87af74f4bb530d7493c1dde02fca8 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago[Glitch] Change account gallery in web UI
Eugen Rochko [Thu, 2 May 2019 06:34:32 +0000 (08:34 +0200)]
[Glitch] Change account gallery in web UI

Port 3f143606faa6181ff2745b6bd29ac8ea075088bf to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years agoMinor CSS fixes
Thibaut Girka [Sat, 4 May 2019 16:18:15 +0000 (18:18 +0200)]
Minor CSS fixes

6 years ago[Glitch] Add blurhash
Eugen Rochko [Sat, 27 Apr 2019 01:24:09 +0000 (03:24 +0200)]
[Glitch] Add blurhash

Port front-end changes from fba96c808d25d2fc35ec63ee6745a1e55a95d707 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years agoFix transition: all (#10699)
ThibG [Sat, 4 May 2019 15:39:53 +0000 (17:39 +0200)]
Fix transition: all (#10699)

6 years agoAdd SOURCE_TAG to show source repository's tag (#10698)
Ushitora Anqou [Sat, 4 May 2019 15:39:17 +0000 (00:39 +0900)]
Add SOURCE_TAG to show source repository's tag (#10698)

6 years agoMinor account media gallery fixes (#10695)
ThibG [Sat, 4 May 2019 15:36:43 +0000 (17:36 +0200)]
Minor account media gallery fixes (#10695)

* Make the cursor icon consistant across media types in account media gallery

* Fix the video player modal causing scroll position to reset

6 years agoFix glitch SCSS for links in error messages in admin interface
ThibG [Fri, 3 May 2019 18:36:36 +0000 (20:36 +0200)]
Fix glitch SCSS for links in error messages in admin interface

Port SCSS changes from 011b032300657ccca4a42866749afc6ec2588ecc

6 years agoMerge branch 'master' into glitch-soc/merge-upstream
Thibaut Girka [Sat, 4 May 2019 14:37:26 +0000 (16:37 +0200)]
Merge branch 'master' into glitch-soc/merge-upstream

Conflicts:
- app/models/media_attachment.rb

6 years agoi18n: Update Corsican translation (#10692)
Alix Rossi [Sat, 4 May 2019 11:09:25 +0000 (13:09 +0200)]
i18n: Update Corsican translation (#10692)

6 years agoFix CSP when PAPERCLIP_ROOT_URL is set to a different host
Thibaut Girka [Sat, 4 May 2019 08:40:32 +0000 (10:40 +0200)]
Fix CSP when PAPERCLIP_ROOT_URL is set to a different host

6 years agoAdd `tootctl cache clear` (#10689)
Eugen Rochko [Fri, 3 May 2019 23:02:57 +0000 (01:02 +0200)]
Add `tootctl cache clear` (#10689)

6 years agoFix CSP when dealing with S3 hosts
Thibaut Girka [Fri, 3 May 2019 22:14:49 +0000 (00:14 +0200)]
Fix CSP when dealing with S3 hosts

6 years agoBump version to 2.8.1 (#10687)
Eugen Rochko [Fri, 3 May 2019 22:31:06 +0000 (00:31 +0200)]
Bump version to 2.8.1 (#10687)

6 years agoDo not retry processing ActivityPub jobs raising validation errors (#10614)
ThibG [Fri, 3 May 2019 21:45:37 +0000 (23:45 +0200)]
Do not retry processing ActivityPub jobs raising validation errors (#10614)

* Do not retry processing ActivityPub jobs raising validation errors

Jobs yielding validation errors most probably won't ever be accepted,
so it makes sense not to clutter the queues with retries.

* Lower RecordInvalid error reporting to debug log level

* Remove trailing whitespace

6 years agoChange e-mail whitelist/blacklist to not be checked when invited (#10683)
Eugen Rochko [Fri, 3 May 2019 21:44:44 +0000 (23:44 +0200)]
Change e-mail whitelist/blacklist to not be checked when invited (#10683)

* Change e-mail whitelist/blacklist to not be checked when invited

And only when creating an account, not when updating it later

Fix #10648

* Fix test

6 years agoFix polls icon not showing in CW button in detailed statuses
Thibaut Girka [Fri, 3 May 2019 18:25:57 +0000 (20:25 +0200)]
Fix polls icon not showing in CW button in detailed statuses

6 years agoFix accounts created through tootctl not being always pre-approved (#10684)
Eugen Rochko [Fri, 3 May 2019 18:49:27 +0000 (20:49 +0200)]
Fix accounts created through tootctl not being always pre-approved (#10684)

Add `--approve` option to `tootctl accounts modify`

6 years agoChange font weight of sensitive button to 500 (#10682)
Eugen Rochko [Fri, 3 May 2019 18:44:20 +0000 (20:44 +0200)]
Change font weight of sensitive button to 500 (#10682)

6 years agoExplicitly disable storage of REST API results (#10655)
ThibG [Fri, 3 May 2019 18:39:19 +0000 (20:39 +0200)]
Explicitly disable storage of REST API results (#10655)

Fixes #10652

6 years agoProvide a link to existing domain block when trying to block an already-blocked domai...
ThibG [Fri, 3 May 2019 18:36:36 +0000 (20:36 +0200)]
Provide a link to existing domain block when trying to block an already-blocked domain (#10663)

* When trying to block an already-blocked domain, provide a link to the block

* Fix styling for links in flash messages

* Allow blocks to be upgraded but not downgraded

6 years agoFix crash in onboarding modal
Thibaut Girka [Fri, 3 May 2019 16:54:06 +0000 (18:54 +0200)]
Fix crash in onboarding modal

Fixes #1027

6 years agoAdd button to view context to media modal (#10676)
Eugen Rochko [Fri, 3 May 2019 14:16:30 +0000 (16:16 +0200)]
Add button to view context to media modal (#10676)

* Add "view context" button to media modal when opened from gallery

* Add "view context" button to video modal

Allow closing the video modal by navigating back in the browser,
just like the media modal

6 years agoBump rack-attack from 5.4.2 to 6.0.0 (#10599)
dependabot[bot] [Fri, 3 May 2019 14:16:11 +0000 (16:16 +0200)]
Bump rack-attack from 5.4.2 to 6.0.0 (#10599)

* Bump rack-attack from 5.4.2 to 6.0.0

Bumps [rack-attack](https://github.com/kickstarter/rack-attack) from 5.4.2 to 6.0.0.
- [Release notes](https://github.com/kickstarter/rack-attack/releases)
- [Changelog](https://github.com/kickstarter/rack-attack/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kickstarter/rack-attack/compare/v5.4.2...v6.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
* fix payload[:request]

6 years agoBump scss_lint from 0.57.1 to 0.58.0 (#10678)
dependabot[bot] [Fri, 3 May 2019 08:29:53 +0000 (17:29 +0900)]
Bump scss_lint from 0.57.1 to 0.58.0 (#10678)

Bumps [scss_lint](https://github.com/sds/scss-lint) from 0.57.1 to 0.58.0.
- [Release notes](https://github.com/sds/scss-lint/releases)
- [Changelog](https://github.com/sds/scss-lint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sds/scss-lint/compare/v0.57.1...v0.58.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years agoBump fabrication from 2.20.1 to 2.20.2 (#10677)
dependabot[bot] [Fri, 3 May 2019 06:01:38 +0000 (15:01 +0900)]
Bump fabrication from 2.20.1 to 2.20.2 (#10677)

Bumps [fabrication](https://github.com/paulelliott/fabrication) from 2.20.1 to 2.20.2.
- [Release notes](https://github.com/paulelliott/fabrication/releases)
- [Changelog](https://github.com/paulelliott/fabrication/blob/master/Changelog.markdown)
- [Commits](https://github.com/paulelliott/fabrication/compare/2.20.1...2.20.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years agoWhen selecting a toot via keyboard, ensure it is scrolled into view (#10593)
ThibG [Fri, 3 May 2019 04:20:36 +0000 (06:20 +0200)]
When selecting a toot via keyboard, ensure it is scrolled into view (#10593)