mayaeh
c6b7c77229
i18n: Update ja translation for consumable invites. ( #5829 )
...
* Add Japanese translation for consumable invites.
* Add Japanese translation.
* Update Japanese translation.
7 years ago
Sorin Davidoi
e20258a2e5
chore(yarn): Upgrade react-swipeable-views (smoother swiping) ( #5830 )
7 years ago
unarist
7fb850e987
Merge indexes for reblog on statuses table ( #5831 )
...
We added an index for `[account_id, reblog_of_id]`, but we already have a similar index for `reblog_of_id`. Those index will be bigger according to statuses count. For example, `reblog_of_id` index uses 800MB for 10GB statuses table.
So this patch swaps indexed columns like `[reblog_of_id, account_id]`, then it will covers both usage with single index.
Since those index creation may take a while, I've also disabled previous index creation.
7 years ago
Yamagishi Kazutoshi
1c5b0e3334
Use account.username when display_name is empty ( #5828 )
7 years ago
Eugen Rochko
740f8a95a9
Add consumable invites ( #5814 )
...
* Add consumable invites
* Add UI for generating invite codes
* Add tests
* Display max uses and expiration in invites table, delete invite
* Remove unused column and redundant validator
- Default follows not used, probably bad idea
- InviteCodeValidator is redundant because RegistrationsController
checks invite code validity
* Add admin setting to disable invites
* Add admin UI for invites, configurable role for invite creation
- Admin UI that lists everyone's invites, always available
- Admin setting min_invite_role to control who can invite people
- Non-admin invite UI only visible if users are allowed to
* Do not remove invites from database, expire them instantly
7 years ago
Alda Marteau-Hardi
0ea4478b68
Use account.display_name for og:title single toot pages ( #5821 )
7 years ago
Akihiko Odaki
fd87e5a53b
Do not filter the status collection after muting and blocking ( #5815 )
...
Filtering the status collection wipes out even the profiles of muted and
blocked accounts. However, the behavior is inconsistent with the server-
side behavior.
7 years ago
SerCom_KC
57fe4102ea
i18n: (zh-CN) Add translations for #5746 & #5750 ( #5816 )
7 years ago
Akihiko Odaki
bf7757cbbc
Allow to open a modal for embedded photo ( #5777 )
7 years ago
Akihiko Odaki
1266c66f79
Rename ariaLabel property of Dropdown to title ( #5813 )
...
DropdownMenu has ariaLabel property, but it is actually applied to title
property of IconButton. Keep it consistent.
7 years ago
spla
d07983b56d
Updated Catalan strings ( #5801 )
...
* 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
7 years ago
Yamagishi Kazutoshi
662b8eefe8
Change navigation link for moderators ( #5812 )
7 years ago
Yamagishi Kazutoshi
520d147803
Add Japanese translations ( #5810 )
...
* yarn manage:translations
* Add Japanese translation for #5087
* Add Japanese translation for #5616
* Add Japanese translation for #5746
* Add Japanese translation for #5750
7 years ago
William Pitcock
32987004c9
status: preserve visibility attribute when reblogging (infoleak fix) ( #5789 )
...
this should fix *all* remaining visibility-related mastodon ostatus infoleaks.
thanks to @csaurus@gnusocial.de for pointing out the infoleak.
7 years ago
Eugen Rochko
31ac5f0e00
Display list column ( #5750 )
7 years ago
abcang
269a445c0b
Fix unnecessary order ( #5807 )
7 years ago
sdukhovni
2b51b4094c
Don't remove originals of boosted toots from timeline ( #5479 )
...
* Don't remove originals of boosted toots from timeline
* Remove unused argument to updateTimeline
7 years ago
ysksn
1104ac35d3
Add tests for Streamable ( #5771 )
7 years ago
abcang
a78f66c069
Add index of account and reblog to statuses ( #5785 )
7 years ago
ysksn
8c0e77d688
Add tests for AccountRelationshipsPresenter ( #5805 )
7 years ago
mayaeh
7a45d382ea
i18n: Update ja translations ( #5804 )
...
* Add Japanese translations.
* Update Japanese translations.
* Fix japanese translation.
7 years ago
Akihiko Odaki
5a551b530a
Do not require onClose property in NavigationBar ( #5802 )
...
NavigationBar can be used as mock as it is in OnboardingModal. In such a
case, onClose property is not required.
7 years ago
Eugen Rochko
e84fecb7e9
Add logging of admin actions ( #5757 )
...
* Add logging of admin actions
* Update brakeman whitelist
* Log creates, updates and destroys with history of changes
* i18n: Update Polish translation (#5782 )
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
* Split admin navigation into moderation and administration
* Redesign audit log page
* 🇵🇱 (#5795 )
* Add color coding to audit log
* Change dismiss->resolve, log all outcomes of report as resolve
* Update terminology (e-mail blacklist) (#5796 )
* Update terminology (e-mail blacklist)
imho looks better
* Update en.yml
* Fix code style issues
* i18n-tasks normalize
7 years ago
Devon Blandin
801eee0ff3
Disable Code Climate maintainability checks ( #5798 )
...
- Migrate `.codeclimate.yml` to version 2 structure
- Disable Code Climate [maintainability checks][]
https://docs.codeclimate.com/docs/advanced-configuration
[maintainability checks]: http://blog.codeclimate.com/blog/2017/10/12/10-point-technical-debt-assessment
This commit upgrades the Code Climate configuration file and disables
the new maintainability checks.
Once this PR is merged, we can experiment with the new checks via pull
requests (the PR will report new issues) or via the [Code Climate
CLI][cli], which [now also supports the new maintainability
checks][cli-support].
[cli]: https://github.com/codeclimate/codeclimate
[cli-support]: https://codeclimate.com/changelog/5a0e488824cfa902a300091c
7 years ago
SerCom_KC
bc4a726c24
i18n: (zh-CN) Add translations for #5746 & #5735 ( #5764 )
7 years ago
mayaeh
fc2155019b
Add Japanese translations. ( #5769 )
7 years ago
Joan Montané
53b7b81b43
Update and fix Catalan translation ( #5773 )
...
* Update activerecord.ca.yml
* Update ca.yml
* Update devise.ca.yml
* Update doorkeeper.ca.yml
* Update simple_form.ca.yml
* fix syntax error for ca translation
* fix syntax errors in ca translations
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
7 years ago
ysksn
6f609dc4b4
Add tests for Remotable ( #5768 )
7 years ago
abcang
3dce6cbbd7
Fixed duplicating URL of photo type of oEmbed ( #5763 )
7 years ago
abcang
2bcc81700c
Fix NoMethodError at ActivityPub::FetchRemoteStatusService ( #5753 )
7 years ago
abcang
53e95c4efc
Fix N+1 at notification ( #5752 )
7 years ago
mayaeh
08deec4c84
i18n: Update ja translation for moderator badge. ( #5731 )
...
* Update Japanese translation for moderator badge.
* Follows English notation
7 years ago
ysksn
2590aac863
Add tests for AccountInteractions ( #5751 )
...
* Add tests for class methods of AccountInteractions
* Add tests for instance methods of AccountInteractions
7 years ago
Lynx Kotoura
3d1d3d9a20
Remove translations of default theme ( #5741 )
7 years ago
ysksn
8f638a2bf2
Add a test for Settings::Extend#settings ( #5720 )
7 years ago
ysksn
9d9b1aff1e
Add tests for Status#title ( #5718 )
7 years ago
Yamagishi Kazutoshi
bfdcf76a64
Add “staff” badge to admin user pages ( #5735 )
...
* Allow staff badge to change from setting to hidden
* i18n: Update Polish translation
7 years ago
Marcin Mikołajczak
b380e9d2cb
i18n: Update Polish translation ( #5749 )
7 years ago
Eugen Rochko
58cede4808
Profile redirect notes ( #5746 )
...
* Serialize moved accounts into REST and ActivityPub APIs
* Parse federated moved accounts from ActivityPub
* Add note about moved accounts to public profiles
* Add moved account message to web UI
* Fix code style issues
7 years ago
SerCom_KC
6be72a3ec6
Updating Chinese (Simplified) translations ( #5725 )
...
* i18n: (zh-CN) Improve translations
* i18n: (zh-CN) Change `静音` to `隐藏`
* i18n: (zh-CN) Add translations for #5087 & #5669
* i18n: (zh-CN) Improve translations
* i18n: (zh-CN) Improve translations
* i18n: (zh-CN) Improve translations
* i18n: (zh-CN) Improve translations
* i18n: (zh-CN) Add missing translation for #5728
7 years ago
Baptiste Gelez
2864e5e077
Make it possible to bind streming service to 0.0.0.0 ( #5744 )
7 years ago
Eugen Rochko
24cafd73a2
Lists ( #5703 )
...
* Add structure for lists
* Add list timeline streaming API
* Add list APIs, bind list-account relation to follow relation
* Add API for adding/removing accounts from lists
* Add pagination to lists API
* Add pagination to list accounts API
* Adjust scopes for new APIs
- Creating and modifying lists merely requires "write" scope
- Fetching information about lists merely requires "read" scope
* Add test for wrong user context on list timeline
* Clean up tests
7 years ago
Lynx Kotoura
4a2fc2d444
Increase contrast of Admin badges ( #5740 )
...
To comply WCAG 2.0 guidelines on contrast ratio.
7 years ago
Clworld
e1ebf36352
Fix regression #5467 : fixes emoji copy ( #5739 )
7 years ago
Alex Coto
ae6dd08121
Change libinconv download URL to HTTPS ( #5738 )
7 years ago
unarist
e28b33c89c
Move "Permissions" row into main table in /admin/accounts/:id ( #5734 )
7 years ago
Yamagishi Kazutoshi
dc6e031364
Redirect to reports when moderator ( #5733 )
7 years ago
ysksn
9dd5e329ab
Remove empty strings ( #5732 )
7 years ago
Eugen Rochko
3e90987c8b
Fix some rubocop style issues ( #5730 )
7 years ago
Eugen Rochko
2151fd3150
Display moderator badge (green), admin badge changed to red ( #5728 )
7 years ago