Commit graph

1365 commits

Author SHA1 Message Date
ThibG
6eb60260b1 Display deleted users' role as “Suspended” ()
Deleted users are technically suspended, but the code displaying their status
in the admin interface was broken and displayed a javascript object holding
translations of the possible user roles instead.
2017-12-22 02:14:17 +01:00
Eugen Rochko
ad75ec8b5b
Add filters to admin UI for custom emojis () 2017-12-13 13:28:31 +01:00
Eugen Rochko
20a6584d2d
Clean up admin UI for accounts ()
* Add staff filter to admin UI for accounts, remove obsolete columns

* Only display OStatus section in admin UI for accounts when OStatus data
2017-12-13 12:15:10 +01:00
Eugen Rochko
30d2ea03b0
Improve public status page title () 2017-12-12 03:56:30 +01:00
Yamagishi Kazutoshi
931e66e572 Back to Web UI from tag page when signed in () 2017-12-09 14:19:07 +01:00
Eugen Rochko
70ce2a2095
Polish video player CSS, add timer on fullscreen/modal/public pages () 2017-12-09 00:55:58 +01:00
Eugen Rochko
42bcbd36b7 Remove rabl dependency ()
* Remove rabl dependency

* Replicate old Oj configuration
2017-12-06 15:04:49 +09:00
Yamagishi Kazutoshi
74320971e2 Add invite filter () 2017-12-01 16:40:02 +01:00
Yamagishi Kazutoshi
eee3b32b77 Fix invites form path () 2017-12-01 12:26:57 +01:00
Yamagishi Kazutoshi
df03042a6e Allow admin to deactivate invite created by users () 2017-12-01 12:26:19 +01:00
Yamagishi Kazutoshi
15fab79cfa Show "expired" in invite index ()
* Show "expired" in invite index

* "Force expire" -> "Deactivate"
2017-11-28 15:41:02 +01:00
Eugen Rochko
706e534455
Add UI for setting up account migration () 2017-11-27 22:47:06 +01:00
Yamagishi Kazutoshi
1c5b0e3334 Use account.username when display_name is empty () 2017-11-27 16:09:52 +01:00
Eugen Rochko
740f8a95a9
Add consumable invites ()
* 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
2017-11-27 16:07:59 +01:00
Alda Marteau-Hardi
0ea4478b68 Use account.display_name for og:title single toot pages () 2017-11-27 05:31:26 +01:00
Eugen Rochko
e84fecb7e9
Add logging of admin actions ()
* Add logging of admin actions

* Update brakeman whitelist

* Log creates, updates and destroys with history of changes

* i18n: Update Polish translation ()

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>

* Split admin navigation into moderation and administration

* Redesign audit log page

* 🇵🇱 ()

* Add color coding to audit log

* Change dismiss->resolve, log all outcomes of report as resolve

* Update terminology (e-mail blacklist) ()

* Update terminology (e-mail blacklist)

imho looks better

* Update en.yml

* Fix code style issues

* i18n-tasks normalize
2017-11-24 02:05:53 +01:00
Yamagishi Kazutoshi
bfdcf76a64 Add “staff” badge to admin user pages ()
* Allow staff badge to change from setting to hidden

* i18n: Update Polish translation
2017-11-19 04:13:57 +01:00
Eugen Rochko
58cede4808
Profile redirect notes ()
* 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
2017-11-18 19:39:02 +01:00
unarist
e28b33c89c Move "Permissions" row into main table in /admin/accounts/:id () 2017-11-17 15:18:20 +01:00
ysksn
9dd5e329ab Remove empty strings () 2017-11-17 10:52:30 +09:00
Eugen Rochko
2151fd3150
Display moderator badge (green), admin badge changed to red () 2017-11-17 01:22:38 +01:00
Eugen Rochko
fbef909c2a
Add option to block direct messages from people you don't follow ()
* Add option to block direct messages from people you don't follow

Fix 

* If the DM responds to a toot by recipient, allow it through

* i18n: Update Polish translation (for ) ()
2017-11-14 21:12:57 +01:00
Anna e só
0e6c4cb796 l10n: PT-BR translation updated ()
* Improved e-mail messages; delted repeated words

* pt-BR.json translations updated

* Revert "pt-BR.json translations updated"

This reverts commit 108c460531196fed6e6d14f93e8d8d047c835ffd.

* Updated pt-BR.json

* pt-BR.yml updated
2017-11-14 11:07:38 +09:00
Eugen Rochko
7bb8b0b2fc
Add moderator role and add pundit policies for admin actions ()
* Add moderator role and add pundit policies for admin actions

* Add rake task for turning user into mod and revoking it again

* Fix handling of unauthorized exception

* Deliver new report e-mails to staff, not just admins

* Add promote/demote to admin UI, hide some actions conditionally

* Fix unused i18n
2017-11-11 20:23:33 +01:00
Quenty31
eb97bd8af6 i10n OC: Memorial () + ()
* Changed ĩ => ï

* Changed ĩ => ï

* Add ability to disable login and mark accounts as memorial ()
2017-11-08 15:19:49 +01:00
Eugen Rochko
1032f3994f
Add ability to disable login and mark accounts as memorial ()
Fix 
2017-11-07 19:06:44 +01:00
nullkal
b6e2e999bd Show the local couterpart of emoji when it exists in /admin/custom_emojis ()
* Show the local couterpart of emoji when it exists in admin/custom_emojis

* Fix indentation

* Fix error

* Add class table-action-link to Overwrite link

* Make it enable to overwrite emojis

* Make Code Climate happy
2017-11-07 14:49:32 +01:00
MitarashiDango
38d072446b add account search condition (instance domain) () 2017-11-01 14:46:05 +01:00
Nolan Lawson
0692991b54 Add ServiceWorker caching for static assets () 2017-10-31 12:25:51 +01:00
SerCom_KC
29609fbb6a Updating Chinese (Simplified) translations ()
* i18n: (zh-CN) fix punctuations and spaces
Spaces are fixed according to https://github.com/sparanoid/chinese-copywriting-guidelines

* i18n: (zh-CN) fix punctuation

* i18n: (zh-CN) Adapt official translation of Discourse Privacy Policy from GitHub, with minor fixes
https://github.com/discourse/discourse/blob/master/config/locales/server.zh_CN.yml#L2677

* i18n: (zh-CN) Update missing translations

* i18n: (zh-CN) Fixing errors

* i18n: (zh-CN) Fix indent error

* i18n: (zh-CN) Fix language tag

* i18n: (zh-CN) Remove quotes

* i18n: (zh-CN) Update translation ()

* i18n: (zh-CN) Remove whitespaces, x -> ×

* i18n: (zh-CN) Rewording on time distance

* i18n: (zh-CN) Overall improvements

* i18n: (zh-CN) i18n-tasks normalization

* i18n: (zh-CN) Add missing translation
2017-10-30 12:34:58 +09:00
Nolan Lawson
3de22a82bf Refactor initial state: reduce_motion and auto_play_gif () 2017-10-28 00:04:44 +09:00
nullkal
781105293c Feature: Unlisted custom emojis () 2017-10-27 16:11:30 +02:00
Håkan Eriksson
a2b600428c Swedish translation ()
* Swedish file added

* Swedish file added

* Swedish file updated

* Swedish languagefile added

* Add Swedish translation

* Add Swedish translation

* Started the Swedish translation

* Added Swedish lang settings

* Updating Swedish language

* Updating Swedish language

* Updating Swedish language

* Updating Swedish language

* Updating Swedish language

* Updating Swedish language

* Swedish language completed and added

* Swedish language Simple_form added

* Swedish language Divise added

* Swedish language doorkeeper added

* Swedish language - now all file complete
2017-10-17 13:41:36 +09:00
Nolan Lawson
8980aa804f Fix reduced motion breaking public galleries () 2017-10-16 21:08:01 +02:00
KY
f72936b4e6 Fix - disable retweet link for followers only toot ()
* Fix  - disable retweet link for followers only toot

* Hide reblog count when it is a direct message
2017-10-16 14:10:12 +02:00
Nolan Lawson
fa0be3f834 Add option to reduce motion ()
* Add option to reduce motion

* Use HOC to wrap all Motion calls

* fix case-sensitive issue

* Avoid updating too frequently

* Get rid of unnecessary change to _simple_status.html.haml
2017-10-16 09:36:15 +02:00
Lynx Kotoura
b3b4b5a2eb Adjust public hashtag pages () 2017-10-14 14:48:12 +02:00
KY
1bdd694a0a Fix - Redirection with page params after copy emoji ()
* Fix  - Redirection with page params after copy emoji

* Add page params to copy emoji link
2017-10-14 14:40:10 +02:00
takayamaki
27101f1beb fix presented og:url is incorrect () 2017-10-11 19:22:21 +02:00
Nolan Lawson
6a50329a9c Only preload JS in /web pages () 2017-10-11 19:20:55 +02:00
takayamaki
552d22bec9 sign_in and sign_up views present og meta infos () 2017-10-11 00:52:25 +02:00
Eugen Rochko
6e9e0c14e6 Fix dependency of error page generation on database () 2017-10-09 10:05:10 +02:00
nullkal
633426b261 Add moderation note ()
* Add moderation note

* Add frozen_string_literal

* Make rspec pass
2017-10-07 20:26:43 +02:00
Eugen Rochko
f486ef2666 Redesign public hashtag pages () 2017-10-07 20:00:35 +02:00
Eugen Rochko
49cc0eb3e7 Improve admin UI for custom emojis, add copy/disable/enable () 2017-10-05 23:42:05 +02:00
Eugen Rochko
b406e3cc4c Fix - Use summary_large_image only with media attachments () 2017-10-04 19:06:23 +02:00
Lynx Kotoura
43577e9f59 Fix style of email domain block table () 2017-10-04 18:16:30 +02:00
utam0k
b3af3f9f8c Implement EmailBlackList ()
* Implement BlacklistedEmailDomain

* Use Faker::Internet.domain_name

* Remove note column

* Add frozen_string_literal comment

* Delete unnecessary codes

* Sort alphabetically

* Change of wording

* Rename BlacklistedEmailDomain to EmailDomainBlock
2017-10-04 15:16:10 +02:00
Yamagishi Kazutoshi
178f718a9b Separate notifications preferences from general preferences ()
* Separate notifications preferences from general preferences

* Refine settings/notifications/show

* remove preferences.notifications
2017-10-04 10:22:52 +02:00
Jeong Arm
0db47196fb Fix stupid typo () 2017-10-02 23:27:52 +02:00