forked from mirrors/Fedilab
Fix issue #429
This commit is contained in:
parent
95f0db6413
commit
a4ade2a0f0
4 changed files with 851 additions and 10 deletions
|
@ -0,0 +1,442 @@
|
|||
package app.fedilab.android.activities;
|
||||
/* Copyright 2022 Thomas Schneider
|
||||
*
|
||||
* This file is a part of Fedilab
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the terms of the
|
||||
* GNU General Public License as published by the Free Software Foundation; either version 3 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* Fedilab is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
|
||||
* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
* Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along with Fedilab; if not,
|
||||
* see <http://www.gnu.org/licenses>. */
|
||||
|
||||
|
||||
import android.app.Activity;
|
||||
import android.content.Intent;
|
||||
import android.content.SharedPreferences;
|
||||
import android.graphics.PorterDuff;
|
||||
import android.graphics.drawable.ColorDrawable;
|
||||
import android.os.Bundle;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.view.inputmethod.InputMethodManager;
|
||||
import android.widget.Button;
|
||||
import android.widget.CheckBox;
|
||||
import android.widget.EditText;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.TextView;
|
||||
import android.widget.Toast;
|
||||
|
||||
import androidx.appcompat.app.ActionBar;
|
||||
import androidx.appcompat.app.AlertDialog;
|
||||
import androidx.constraintlayout.widget.Group;
|
||||
import androidx.core.content.ContextCompat;
|
||||
import androidx.recyclerview.widget.LinearLayoutManager;
|
||||
import androidx.recyclerview.widget.RecyclerView;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
import app.fedilab.android.R;
|
||||
import app.fedilab.android.helper.Helper;
|
||||
import es.dmoral.toasty.Toasty;
|
||||
|
||||
public class AccountReportActivity extends BaseActivity implements OnAdminActionInterface {
|
||||
|
||||
TextView permissions, username, email, email_status, login_status, joined, recent_ip, comment_label;
|
||||
Button warn, disable, silence, suspend, allow, reject, assign, status;
|
||||
private String account_id;
|
||||
private CheckBox email_user;
|
||||
private EditText comment;
|
||||
private Report report;
|
||||
private Group allow_reject_group;
|
||||
private TextView email_label, recent_ip_label, joined_label;
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
|
||||
setTheme(R.style.AppAdminTheme);
|
||||
report = null;
|
||||
AccountAdmin targeted_account = null;
|
||||
Bundle b = getIntent().getExtras();
|
||||
|
||||
if (b != null) {
|
||||
account_id = b.getString("account_id", null);
|
||||
targeted_account = b.getParcelable("targeted_account");
|
||||
report = b.getParcelable("report");
|
||||
}
|
||||
|
||||
if (getSupportActionBar() != null)
|
||||
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
|
||||
ActionBar actionBar = getSupportActionBar();
|
||||
if (actionBar != null) {
|
||||
LayoutInflater inflater = (LayoutInflater) this.getSystemService(LAYOUT_INFLATER_SERVICE);
|
||||
assert inflater != null;
|
||||
View view = inflater.inflate(R.layout.simple_bar, new LinearLayout(AccountReportActivity.this), false);
|
||||
view.setBackground(new ColorDrawable(ContextCompat.getColor(AccountReportActivity.this, R.color.cyanea_primary)));
|
||||
actionBar.setCustomView(view, new ActionBar.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT));
|
||||
actionBar.setDisplayOptions(ActionBar.DISPLAY_SHOW_CUSTOM);
|
||||
ImageView toolbar_close = actionBar.getCustomView().findViewById(R.id.toolbar_close);
|
||||
TextView toolbar_title = actionBar.getCustomView().findViewById(R.id.toolbar_title);
|
||||
toolbar_close.setOnClickListener(v -> finish());
|
||||
toolbar_title.setText(String.format(getString(R.string.administration) + " %s", Helper.getLiveInstance(AccountReportActivity.this)));
|
||||
}
|
||||
setContentView(R.layout.activity_admin_report);
|
||||
|
||||
warn = findViewById(R.id.warn);
|
||||
disable = findViewById(R.id.disable);
|
||||
silence = findViewById(R.id.silence);
|
||||
suspend = findViewById(R.id.suspend);
|
||||
allow = findViewById(R.id.allow);
|
||||
reject = findViewById(R.id.reject);
|
||||
status = findViewById(R.id.status);
|
||||
assign = findViewById(R.id.assign);
|
||||
email_label = findViewById(R.id.email_label);
|
||||
allow_reject_group = findViewById(R.id.allow_reject_group);
|
||||
allow_reject_group.setVisibility(View.GONE);
|
||||
allow.getBackground().setColorFilter(ContextCompat.getColor(AccountReportActivity.this, R.color.green_1), PorterDuff.Mode.MULTIPLY);
|
||||
reject.getBackground().setColorFilter(ContextCompat.getColor(AccountReportActivity.this, R.color.red_1), PorterDuff.Mode.MULTIPLY);
|
||||
comment_label = findViewById(R.id.comment_label);
|
||||
permissions = findViewById(R.id.permissions);
|
||||
username = findViewById(R.id.username);
|
||||
email = findViewById(R.id.email);
|
||||
email_status = findViewById(R.id.email_status);
|
||||
login_status = findViewById(R.id.login_status);
|
||||
joined = findViewById(R.id.joined);
|
||||
recent_ip = findViewById(R.id.recent_ip);
|
||||
recent_ip_label = findViewById(R.id.recent_ip_label);
|
||||
joined_label = findViewById(R.id.joined_label);
|
||||
email_user = findViewById(R.id.email_user);
|
||||
comment = findViewById(R.id.comment);
|
||||
|
||||
if (account_id == null && report == null && targeted_account == null) {
|
||||
Toasty.error(AccountReportActivity.this, getString(R.string.toast_error), Toast.LENGTH_LONG).show();
|
||||
finish();
|
||||
}
|
||||
assign.setVisibility(View.GONE);
|
||||
status.setVisibility(View.GONE);
|
||||
if (account_id != null) {
|
||||
new PostAdminActionAsyncTask(AccountReportActivity.this, API.adminAction.GET_ONE_ACCOUNT, account_id, null, AccountReportActivity.this);
|
||||
return;
|
||||
}
|
||||
if (report != null) {
|
||||
targeted_account = report.getTarget_account();
|
||||
RecyclerView lv_statuses = findViewById(R.id.lv_statuses);
|
||||
|
||||
ArrayList<String> contents = new ArrayList<>();
|
||||
for (Status status : report.getStatuses()) {
|
||||
contents.add(status.getContent());
|
||||
}
|
||||
lv_statuses.setLayoutManager(new LinearLayoutManager(this));
|
||||
StatusReportAdapter adapter = new StatusReportAdapter(contents);
|
||||
lv_statuses.setAdapter(adapter);
|
||||
|
||||
Group statuses_group = findViewById(R.id.statuses_group);
|
||||
statuses_group.setVisibility(View.VISIBLE);
|
||||
if (MainActivity.social == UpdateAccountInfoAsyncTask.SOCIAL.PLEROMA) {
|
||||
new PostAdminActionAsyncTask(AccountReportActivity.this, API.adminAction.GET_ONE_ACCOUNT, report.getTarget_account().getUsername(), null, AccountReportActivity.this);
|
||||
}
|
||||
|
||||
}
|
||||
if (targeted_account != null) {
|
||||
account_id = targeted_account.getId();
|
||||
fillReport(targeted_account);
|
||||
if (MainActivity.social == UpdateAccountInfoAsyncTask.SOCIAL.PLEROMA) {
|
||||
account_id = targeted_account.getUsername();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onAdminAction(APIResponse apiResponse) {
|
||||
if (apiResponse.getError() != null) {
|
||||
if (apiResponse.getError().getStatusCode() == 403) {
|
||||
SharedPreferences sharedpreferences = getSharedPreferences(Helper.APP_PREFS, android.content.Context.MODE_PRIVATE);
|
||||
int theme = sharedpreferences.getInt(Helper.SET_THEME, Helper.THEME_DARK);
|
||||
int style;
|
||||
if (theme == Helper.THEME_DARK) {
|
||||
style = R.style.DialogDark;
|
||||
} else if (theme == Helper.THEME_BLACK) {
|
||||
style = R.style.DialogBlack;
|
||||
} else {
|
||||
style = R.style.Dialog;
|
||||
}
|
||||
AlertDialog.Builder builderInner;
|
||||
builderInner = new AlertDialog.Builder(AccountReportActivity.this, style);
|
||||
builderInner.setTitle(R.string.reconnect_account);
|
||||
builderInner.setMessage(R.string.reconnect_account_message);
|
||||
builderInner.setNegativeButton(R.string.cancel, (dialog, which) -> dialog.dismiss());
|
||||
builderInner.setPositiveButton(R.string.validate, (dialog, which) -> {
|
||||
Intent intent = new Intent(AccountReportActivity.this, LoginActivity.class);
|
||||
intent.putExtra("admin", true);
|
||||
startActivity(intent);
|
||||
});
|
||||
builderInner.show();
|
||||
} else {
|
||||
Toasty.error(AccountReportActivity.this, apiResponse.getError().getError(), Toast.LENGTH_LONG).show();
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (apiResponse.getReports() != null && apiResponse.getReports().size() > 0) {
|
||||
report = apiResponse.getReports().get(0);
|
||||
fillReport(report.getTarget_account());
|
||||
} else if (apiResponse.getAccountAdmins() != null && apiResponse.getAccountAdmins().size() > 0) {
|
||||
if (MainActivity.social == UpdateAccountInfoAsyncTask.SOCIAL.PLEROMA) {
|
||||
account_id = apiResponse.getAccountAdmins().get(0).getUsername();
|
||||
}
|
||||
fillReport(apiResponse.getAccountAdmins().get(0));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void fillReport(AccountAdmin accountAdmin) {
|
||||
|
||||
if (accountAdmin == null) {
|
||||
Toasty.error(AccountReportActivity.this, getString(R.string.toast_error), Toast.LENGTH_LONG).show();
|
||||
return;
|
||||
}
|
||||
if (!accountAdmin.isApproved() && MainActivity.social != UpdateAccountInfoAsyncTask.SOCIAL.PLEROMA && (accountAdmin.getDomain() == null || accountAdmin.getDomain().equals("null"))) {
|
||||
allow_reject_group.setVisibility(View.VISIBLE);
|
||||
}
|
||||
|
||||
reject.setOnClickListener(view -> {
|
||||
AdminAction adminAction = new AdminAction();
|
||||
adminAction.setType(REJECT);
|
||||
new PostAdminActionAsyncTask(AccountReportActivity.this, REJECT, account_id, adminAction, AccountReportActivity.this);
|
||||
});
|
||||
|
||||
allow.setOnClickListener(view -> {
|
||||
AdminAction adminAction = new AdminAction();
|
||||
adminAction.setType(APPROVE);
|
||||
new PostAdminActionAsyncTask(AccountReportActivity.this, APPROVE, account_id, adminAction, AccountReportActivity.this);
|
||||
});
|
||||
|
||||
warn.setOnClickListener(view -> {
|
||||
AdminAction adminAction = new AdminAction();
|
||||
adminAction.setType(NONE);
|
||||
adminAction.setSend_email_notification(email_user.isChecked());
|
||||
adminAction.setText(comment.getText().toString().trim());
|
||||
new PostAdminActionAsyncTask(AccountReportActivity.this, NONE, account_id, adminAction, AccountReportActivity.this);
|
||||
});
|
||||
|
||||
|
||||
if (!accountAdmin.isSilenced()) {
|
||||
silence.setText(getString(R.string.silence));
|
||||
} else {
|
||||
silence.setText(getString(R.string.unsilence));
|
||||
}
|
||||
silence.setOnClickListener(view -> {
|
||||
if (!accountAdmin.isSilenced()) {
|
||||
AdminAction adminAction = new AdminAction();
|
||||
adminAction.setType(SILENCE);
|
||||
adminAction.setSend_email_notification(email_user.isChecked());
|
||||
adminAction.setText(comment.getText().toString().trim());
|
||||
new PostAdminActionAsyncTask(AccountReportActivity.this, SILENCE, account_id, adminAction, AccountReportActivity.this);
|
||||
} else {
|
||||
new PostAdminActionAsyncTask(AccountReportActivity.this, API.adminAction.UNSILENCE, account_id, null, AccountReportActivity.this);
|
||||
}
|
||||
});
|
||||
|
||||
if (!accountAdmin.isDisabled()) {
|
||||
disable.setText(getString(R.string.disable));
|
||||
} else {
|
||||
disable.setText(getString(R.string.undisable));
|
||||
}
|
||||
disable.setOnClickListener(view -> {
|
||||
if (!accountAdmin.isDisabled()) {
|
||||
AdminAction adminAction = new AdminAction();
|
||||
adminAction.setType(DISABLE);
|
||||
adminAction.setSend_email_notification(email_user.isChecked());
|
||||
adminAction.setText(comment.getText().toString().trim());
|
||||
new PostAdminActionAsyncTask(AccountReportActivity.this, DISABLE, account_id, adminAction, AccountReportActivity.this);
|
||||
} else {
|
||||
new PostAdminActionAsyncTask(AccountReportActivity.this, API.adminAction.ENABLE, account_id, null, AccountReportActivity.this);
|
||||
}
|
||||
});
|
||||
if (!accountAdmin.isSuspended()) {
|
||||
suspend.setText(getString(R.string.suspend));
|
||||
} else {
|
||||
suspend.setText(getString(R.string.unsuspend));
|
||||
}
|
||||
suspend.setOnClickListener(view -> {
|
||||
if (!accountAdmin.isSuspended()) {
|
||||
AdminAction adminAction = new AdminAction();
|
||||
adminAction.setType(SUSPEND);
|
||||
adminAction.setSend_email_notification(email_user.isChecked());
|
||||
adminAction.setText(comment.getText().toString().trim());
|
||||
new PostAdminActionAsyncTask(AccountReportActivity.this, SUSPEND, account_id, adminAction, AccountReportActivity.this);
|
||||
} else {
|
||||
new PostAdminActionAsyncTask(AccountReportActivity.this, API.adminAction.UNSUSPEND, account_id, null, AccountReportActivity.this);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
if (accountAdmin.getAction() != null) {
|
||||
String message = null;
|
||||
switch (accountAdmin.getAction()) {
|
||||
case SILENCE:
|
||||
message = getString(R.string.account_silenced);
|
||||
break;
|
||||
case UNSILENCE:
|
||||
message = getString(R.string.account_unsilenced);
|
||||
break;
|
||||
case DISABLE:
|
||||
message = getString(R.string.account_disabled);
|
||||
break;
|
||||
case ENABLE:
|
||||
message = getString(R.string.account_undisabled);
|
||||
break;
|
||||
case SUSPEND:
|
||||
message = getString(R.string.account_suspended);
|
||||
break;
|
||||
case UNSUSPEND:
|
||||
message = getString(R.string.account_unsuspended);
|
||||
break;
|
||||
case NONE:
|
||||
message = getString(R.string.account_warned);
|
||||
break;
|
||||
case APPROVE:
|
||||
allow_reject_group.setVisibility(View.GONE);
|
||||
message = getString(R.string.account_approved);
|
||||
break;
|
||||
case REJECT:
|
||||
allow_reject_group.setVisibility(View.GONE);
|
||||
message = getString(R.string.account_rejected);
|
||||
break;
|
||||
}
|
||||
if (message != null) {
|
||||
Toasty.success(AccountReportActivity.this, message, Toast.LENGTH_LONG).show();
|
||||
}
|
||||
comment.setText("");
|
||||
InputMethodManager imm = (InputMethodManager) getSystemService(Activity.INPUT_METHOD_SERVICE);
|
||||
assert imm != null;
|
||||
imm.hideSoftInputFromWindow(comment.getWindowToken(), 0);
|
||||
}
|
||||
|
||||
if (accountAdmin.getAccount() != null) {
|
||||
username.setText(String.format("@%s", accountAdmin.getAccount().getAcct()));
|
||||
}
|
||||
|
||||
email.setText(accountAdmin.getEmail());
|
||||
|
||||
if (accountAdmin.getEmail() == null || accountAdmin.getEmail().trim().equals("")) {
|
||||
email.setVisibility(View.GONE);
|
||||
email_label.setVisibility(View.GONE);
|
||||
}
|
||||
if (accountAdmin.getIp() == null || accountAdmin.getIp().trim().equals("")) {
|
||||
recent_ip.setVisibility(View.GONE);
|
||||
recent_ip_label.setVisibility(View.GONE);
|
||||
}
|
||||
if (accountAdmin.getCreated_at() == null) {
|
||||
joined.setVisibility(View.GONE);
|
||||
joined_label.setVisibility(View.GONE);
|
||||
}
|
||||
if (accountAdmin.isDisabled()) {
|
||||
login_status.setText(getString(R.string.disabled));
|
||||
} else if (accountAdmin.isSilenced()) {
|
||||
login_status.setText(getString(R.string.silenced));
|
||||
} else if (accountAdmin.isSuspended()) {
|
||||
login_status.setText(getString(R.string.suspended));
|
||||
} else {
|
||||
login_status.setText(getString(R.string.active));
|
||||
}
|
||||
if (accountAdmin.getDomain() == null || accountAdmin.getDomain().equals("null")) {
|
||||
warn.setVisibility(View.VISIBLE);
|
||||
email_user.setVisibility(View.VISIBLE);
|
||||
comment_label.setVisibility(View.VISIBLE);
|
||||
comment.setVisibility(View.VISIBLE);
|
||||
recent_ip.setText(accountAdmin.getIp());
|
||||
disable.setVisibility(View.VISIBLE);
|
||||
suspend.setVisibility(View.VISIBLE);
|
||||
} else {
|
||||
warn.setVisibility(View.GONE);
|
||||
email_user.setVisibility(View.GONE);
|
||||
email_user.setChecked(false);
|
||||
comment.setVisibility(View.GONE);
|
||||
recent_ip.setText("-");
|
||||
permissions.setText("-");
|
||||
email.setText("-");
|
||||
disable.setVisibility(View.GONE);
|
||||
suspend.setVisibility(View.VISIBLE);
|
||||
comment_label.setVisibility(View.GONE);
|
||||
}
|
||||
|
||||
if (accountAdmin.getRole() != null) {
|
||||
switch (accountAdmin.getRole()) {
|
||||
case "user":
|
||||
permissions.setText(getString(R.string.user));
|
||||
break;
|
||||
case "moderator":
|
||||
permissions.setText(getString(R.string.moderator));
|
||||
break;
|
||||
case "admin":
|
||||
permissions.setText(getString(R.string.administrator));
|
||||
break;
|
||||
}
|
||||
if (accountAdmin.getRole().equals("admin") || accountAdmin.getRole().equals("moderator")) {
|
||||
warn.setVisibility(View.GONE);
|
||||
suspend.setVisibility(View.GONE);
|
||||
silence.setVisibility(View.GONE);
|
||||
disable.setVisibility(View.GONE);
|
||||
email_user.setVisibility(View.GONE);
|
||||
email_user.setChecked(false);
|
||||
comment.setVisibility(View.GONE);
|
||||
comment_label.setVisibility(View.GONE);
|
||||
}
|
||||
email_status.setText(accountAdmin.isConfirmed() ? getString(R.string.confirmed) : getString(R.string.unconfirmed));
|
||||
}
|
||||
|
||||
|
||||
joined.setText(Helper.dateToString(accountAdmin.getCreated_at()));
|
||||
if (report != null) {
|
||||
assign.setVisibility(View.VISIBLE);
|
||||
status.setVisibility(View.VISIBLE);
|
||||
if (report.getAssigned_account() == null) {
|
||||
assign.setText(getString(R.string.assign_to_me));
|
||||
} else {
|
||||
assign.setText(getString(R.string.unassign));
|
||||
}
|
||||
assign.setOnClickListener(view -> {
|
||||
if (report.getAssigned_account() == null) {
|
||||
new PostAdminActionAsyncTask(AccountReportActivity.this, API.adminAction.ASSIGN_TO_SELF, report.getId(), null, AccountReportActivity.this);
|
||||
} else {
|
||||
new PostAdminActionAsyncTask(AccountReportActivity.this, API.adminAction.UNASSIGN, report.getId(), null, AccountReportActivity.this);
|
||||
}
|
||||
});
|
||||
if (report.isAction_taken()) {
|
||||
status.setText(getString(R.string.mark_unresolved));
|
||||
} else {
|
||||
status.setText(getString(R.string.mark_resolved));
|
||||
}
|
||||
status.setOnClickListener(view -> {
|
||||
if (report.isAction_taken()) {
|
||||
new PostAdminActionAsyncTask(AccountReportActivity.this, API.adminAction.REOPEN, report.getId(), null, AccountReportActivity.this);
|
||||
} else {
|
||||
new PostAdminActionAsyncTask(AccountReportActivity.this, API.adminAction.RESOLVE, report.getId(), null, AccountReportActivity.this);
|
||||
}
|
||||
});
|
||||
|
||||
} else {
|
||||
assign.setVisibility(View.GONE);
|
||||
status.setVisibility(View.GONE);
|
||||
}
|
||||
if (MainActivity.social == UpdateAccountInfoAsyncTask.SOCIAL.PLEROMA) {
|
||||
email_user.setVisibility(View.GONE);
|
||||
email_user.setChecked(false);
|
||||
comment.setVisibility(View.INVISIBLE);
|
||||
comment_label.setVisibility(View.GONE);
|
||||
warn.setVisibility(View.GONE);
|
||||
silence.setVisibility(View.GONE);
|
||||
assign.setVisibility(View.GONE);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -16,6 +16,7 @@ package app.fedilab.android.ui.drawer;
|
|||
|
||||
|
||||
import static android.content.Context.INPUT_METHOD_SERVICE;
|
||||
import static app.fedilab.android.BaseMainActivity.currentAccount;
|
||||
import static app.fedilab.android.BaseMainActivity.emojis;
|
||||
import static app.fedilab.android.BaseMainActivity.regex_home;
|
||||
import static app.fedilab.android.BaseMainActivity.regex_local;
|
||||
|
@ -99,10 +100,10 @@ import java.util.regex.Pattern;
|
|||
|
||||
import app.fedilab.android.BaseMainActivity;
|
||||
import app.fedilab.android.R;
|
||||
import app.fedilab.android.activities.AccountReportActivity;
|
||||
import app.fedilab.android.activities.ComposeActivity;
|
||||
import app.fedilab.android.activities.ContextActivity;
|
||||
import app.fedilab.android.activities.CustomSharingActivity;
|
||||
import app.fedilab.android.activities.MainActivity;
|
||||
import app.fedilab.android.activities.MediaActivity;
|
||||
import app.fedilab.android.activities.ProfileActivity;
|
||||
import app.fedilab.android.activities.ReportActivity;
|
||||
|
@ -348,7 +349,7 @@ public class StatusAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>
|
|||
boolean displayCounters = sharedpreferences.getBoolean(context.getString(R.string.SET_DISPLAY_COUNTER_FAV_BOOST), false);
|
||||
String loadMediaType = sharedpreferences.getString(context.getString(R.string.SET_LOAD_MEDIA_TYPE), "ALWAYS");
|
||||
|
||||
if (MainActivity.currentAccount != null && MainActivity.currentAccount.api == Account.API.PLEROMA) {
|
||||
if (currentAccount != null && currentAccount.api == Account.API.PLEROMA) {
|
||||
if (status.pleroma != null && status.pleroma.emoji_reactions != null && status.pleroma.emoji_reactions.size() > 0) {
|
||||
holder.binding.layoutReactions.getRoot().setVisibility(View.VISIBLE);
|
||||
ReactionAdapter reactionAdapter = new ReactionAdapter(status.id, status.pleroma.emoji_reactions, true);
|
||||
|
@ -484,7 +485,7 @@ public class StatusAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>
|
|||
link_color = sharedpreferences.getInt("theme_link_color", -1);
|
||||
|
||||
}
|
||||
if (MainActivity.currentAccount != null && MainActivity.currentAccount.api == Account.API.PLEROMA) {
|
||||
if (currentAccount != null && currentAccount.api == Account.API.PLEROMA) {
|
||||
holder.binding.statusAddCustomEmoji.setVisibility(View.VISIBLE);
|
||||
holder.binding.statusEmoji.setVisibility(View.VISIBLE);
|
||||
}
|
||||
|
@ -1725,10 +1726,7 @@ public class StatusAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>
|
|||
popup.getMenu().findItem(R.id.action_block_domain).setVisible(false);
|
||||
stringArrayConf = context.getResources().getStringArray(R.array.more_action_confirm);
|
||||
}
|
||||
boolean display_admin_statuses = sharedpreferences.getBoolean(context.getString(R.string.SET_DISPLAY_ADMIN_STATUSES) + BaseMainActivity.currentUserID + BaseMainActivity.currentInstance, false);
|
||||
if (!display_admin_statuses) {
|
||||
popup.getMenu().findItem(R.id.action_admin).setVisible(false);
|
||||
}
|
||||
popup.getMenu().findItem(R.id.action_admin).setVisible(currentAccount.admin);
|
||||
|
||||
boolean custom_sharing = sharedpreferences.getBoolean(context.getString(R.string.SET_CUSTOM_SHARING), false);
|
||||
if (custom_sharing && statusToDeal.visibility.equals("public"))
|
||||
|
@ -1786,11 +1784,11 @@ public class StatusAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>
|
|||
});
|
||||
} else if (itemId == R.id.action_schedule_boost) {
|
||||
MastodonHelper.scheduleBoost(context, MastodonHelper.ScheduleType.BOOST, statusToDeal, null, null);
|
||||
} /*else if (itemId == R.id.action_admin) {
|
||||
} else if (itemId == R.id.action_admin) {
|
||||
Intent intent = new Intent(context, AccountReportActivity.class);
|
||||
intent.putExtra(Helper.ARG_ACCOUNT, statusToDeal.account);
|
||||
context.startActivity(intent);
|
||||
} */ else if (itemId == R.id.action_open_browser) {
|
||||
} else if (itemId == R.id.action_open_browser) {
|
||||
Helper.openBrowser(context, statusToDeal.url);
|
||||
} else if (itemId == R.id.action_remove) {
|
||||
AlertDialog.Builder builderInner = new AlertDialog.Builder(context, Helper.dialogStyle());
|
||||
|
|
393
app/src/main/res/layout/activity_admin_report.xml
Normal file
393
app/src/main/res/layout/activity_admin_report.xml
Normal file
|
@ -0,0 +1,393 @@
|
|||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
Copyright 2022 Thomas Schneider
|
||||
|
||||
This file is a part of Fedilab
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation; either version 3 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
Fedilab is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
|
||||
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with Fedilab; if not,
|
||||
see <http://www.gnu.org/licenses>.
|
||||
-->
|
||||
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="5dp">
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/assign"
|
||||
style="@style/Widget.MaterialComponents.Button.OutlinedButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="5dp"
|
||||
android:textColor="@color/cyanea_accent_dark_reference"
|
||||
app:layout_constraintEnd_toStartOf="@id/status"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:strokeColor="@color/cyanea_accent_dark_reference" />
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/status"
|
||||
style="@style/Widget.MaterialComponents.Button.OutlinedButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="5dp"
|
||||
android:textColor="@color/cyanea_accent_dark_reference"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@id/assign"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:strokeColor="@color/cyanea_accent_dark_reference" />
|
||||
|
||||
|
||||
<androidx.constraintlayout.widget.Barrier
|
||||
android:id="@+id/assign_status_buttons_barrier"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:barrierDirection="bottom"
|
||||
app:constraint_referenced_ids="assign,status" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/permissions_label"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="20dp"
|
||||
android:text="@string/permissions"
|
||||
app:layout_constraintEnd_toStartOf="@id/stats_label_end_barrier"
|
||||
app:layout_constraintHorizontal_bias="1"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/assign_status_buttons_barrier" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/username_label"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:text="@string/account"
|
||||
app:layout_constraintEnd_toStartOf="@id/stats_label_end_barrier"
|
||||
app:layout_constraintHorizontal_bias="1"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/permissions_label" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/email_label"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:text="@string/email"
|
||||
app:layout_constraintEnd_toStartOf="@id/stats_label_end_barrier"
|
||||
app:layout_constraintHorizontal_bias="1"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/username_label" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/email_status_label"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:text="@string/email_status"
|
||||
app:layout_constraintEnd_toStartOf="@id/stats_label_end_barrier"
|
||||
app:layout_constraintHorizontal_bias="1"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/email_label" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/login_status_label"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:text="@string/login_status"
|
||||
app:layout_constraintEnd_toStartOf="@id/stats_label_end_barrier"
|
||||
app:layout_constraintHorizontal_bias="1"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/email_status_label" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/joined_label"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:text="@string/joined"
|
||||
app:layout_constraintEnd_toStartOf="@id/stats_label_end_barrier"
|
||||
app:layout_constraintHorizontal_bias="1"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/login_status_label" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/recent_ip_label"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:text="@string/recent_ip"
|
||||
app:layout_constraintEnd_toStartOf="@id/stats_label_end_barrier"
|
||||
app:layout_constraintHorizontal_bias="1"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/joined_label" />
|
||||
|
||||
|
||||
<androidx.constraintlayout.widget.Barrier
|
||||
android:id="@+id/stats_label_end_barrier"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:barrierDirection="end"
|
||||
app:constraint_referenced_ids="permissions_label,email_label,email_status_label,login_status_label,joined_label,recent_ip_label" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/permissions"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="8dp"
|
||||
app:layout_constraintBottom_toBottomOf="@id/permissions_label"
|
||||
app:layout_constraintStart_toEndOf="@id/stats_label_end_barrier"
|
||||
app:layout_constraintTop_toTopOf="@id/permissions_label" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/username"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="8dp"
|
||||
app:layout_constraintBottom_toBottomOf="@id/username_label"
|
||||
app:layout_constraintStart_toEndOf="@id/stats_label_end_barrier"
|
||||
app:layout_constraintTop_toTopOf="@id/username_label" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/email"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="8dp"
|
||||
app:layout_constraintBottom_toBottomOf="@id/email_label"
|
||||
app:layout_constraintStart_toEndOf="@id/stats_label_end_barrier"
|
||||
app:layout_constraintTop_toTopOf="@id/email_label" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/email_status"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="8dp"
|
||||
app:layout_constraintBottom_toBottomOf="@id/email_status_label"
|
||||
app:layout_constraintStart_toEndOf="@id/stats_label_end_barrier"
|
||||
app:layout_constraintTop_toTopOf="@id/email_status_label" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/login_status"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="8dp"
|
||||
app:layout_constraintStart_toEndOf="@id/stats_label_end_barrier"
|
||||
app:layout_constraintTop_toBottomOf="@id/email_status"
|
||||
app:layout_constraintTop_toTopOf="@id/login_status_label" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/joined"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="8dp"
|
||||
app:layout_constraintBottom_toBottomOf="@id/joined_label"
|
||||
app:layout_constraintStart_toEndOf="@id/stats_label_end_barrier"
|
||||
app:layout_constraintTop_toTopOf="@id/joined_label" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/recent_ip"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="8dp"
|
||||
app:layout_constraintBottom_toBottomOf="@id/recent_ip_label"
|
||||
app:layout_constraintStart_toEndOf="@id/stats_label_end_barrier"
|
||||
app:layout_constraintTop_toTopOf="@id/recent_ip_label" />
|
||||
|
||||
<androidx.constraintlayout.widget.Barrier
|
||||
android:id="@+id/stats_bottom_barrier"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:barrierDirection="bottom"
|
||||
app:constraint_referenced_ids="recent_ip,recent_ip_label" />
|
||||
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/reject"
|
||||
style="@style/Widget.MaterialComponents.Button.OutlinedButton"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="5dp"
|
||||
android:text="@string/reject"
|
||||
android:textColor="@color/cyanea_accent_dark_reference"
|
||||
app:layout_constraintEnd_toStartOf="@id/allow"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/stats_bottom_barrier"
|
||||
app:strokeColor="@color/cyanea_accent_dark_reference" />
|
||||
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/allow"
|
||||
style="@style/Widget.MaterialComponents.Button.OutlinedButton"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="5dp"
|
||||
android:text="@string/allow"
|
||||
android:textColor="@color/cyanea_accent_dark_reference"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@id/reject"
|
||||
app:layout_constraintTop_toBottomOf="@id/stats_bottom_barrier"
|
||||
app:strokeColor="@color/cyanea_accent_dark_reference" />
|
||||
|
||||
|
||||
<androidx.constraintlayout.widget.Group
|
||||
android:id="@+id/allow_reject_group"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:constraint_referenced_ids="reject,allow" />
|
||||
|
||||
<androidx.constraintlayout.widget.Barrier
|
||||
android:id="@+id/allow_reject_buttons_barrier"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:barrierDirection="bottom"
|
||||
app:constraint_referenced_ids="reject,allow" />
|
||||
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/warn"
|
||||
style="@style/Widget.MaterialComponents.Button.OutlinedButton"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="5dp"
|
||||
android:text="@string/warn"
|
||||
android:textColor="@color/cyanea_accent_dark_reference"
|
||||
app:layout_constraintEnd_toStartOf="@id/disable"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/allow_reject_buttons_barrier"
|
||||
app:strokeColor="@color/cyanea_accent_dark_reference" />
|
||||
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/disable"
|
||||
style="@style/Widget.MaterialComponents.Button.OutlinedButton"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="5dp"
|
||||
android:text="@string/disable"
|
||||
android:textColor="@color/cyanea_accent_dark_reference"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@id/warn"
|
||||
app:layout_constraintTop_toBottomOf="@id/allow_reject_buttons_barrier"
|
||||
app:strokeColor="@color/cyanea_accent_dark_reference" />
|
||||
|
||||
|
||||
<androidx.constraintlayout.widget.Barrier
|
||||
android:id="@+id/warn_disable_buttons_barrier"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:barrierDirection="bottom"
|
||||
app:constraint_referenced_ids="warn,disable" />
|
||||
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/silence"
|
||||
style="@style/Widget.MaterialComponents.Button.OutlinedButton"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="5dp"
|
||||
android:text="@string/silence"
|
||||
android:textColor="@color/cyanea_accent_dark_reference"
|
||||
app:layout_constraintEnd_toStartOf="@id/suspend"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/warn_disable_buttons_barrier"
|
||||
app:strokeColor="@color/cyanea_accent_dark_reference" />
|
||||
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/suspend"
|
||||
style="@style/Widget.MaterialComponents.Button.OutlinedButton"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="5dp"
|
||||
android:text="@string/suspend"
|
||||
android:textColor="@color/cyanea_accent_dark_reference"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@id/silence"
|
||||
app:layout_constraintTop_toBottomOf="@id/warn_disable_buttons_barrier"
|
||||
app:strokeColor="@color/cyanea_accent_dark_reference" />
|
||||
|
||||
|
||||
<androidx.constraintlayout.widget.Barrier
|
||||
android:id="@+id/buttons_bottom_barrier"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:barrierDirection="bottom"
|
||||
app:constraint_referenced_ids="warn,disable,silence" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatCheckedTextView
|
||||
android:id="@+id/email_user"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="20dp"
|
||||
android:checked="true"
|
||||
android:text="@string/email_user"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/buttons_bottom_barrier" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/comment_label"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="20dp"
|
||||
android:labelFor="@+id/comment"
|
||||
android:text="@string/custom_warning"
|
||||
app:layout_constraintTop_toBottomOf="@id/email_user" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatEditText
|
||||
android:id="@+id/comment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:importantForAutofill="noExcludeDescendants"
|
||||
android:minLines="3"
|
||||
app:layout_constraintTop_toBottomOf="@id/comment_label" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lv_statuses_label"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="20dp"
|
||||
android:text="@string/list_reported_statuses"
|
||||
app:layout_constraintTop_toBottomOf="@id/comment" />
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/lv_statuses"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:divider="@null"
|
||||
android:scrollbars="none"
|
||||
app:layout_constraintTop_toBottomOf="@id/lv_statuses_label" />
|
||||
|
||||
<androidx.constraintlayout.widget.Group
|
||||
android:id="@+id/statuses_group"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone"
|
||||
app:constraint_referenced_ids="lv_statuses_label,lv_statuses" />
|
||||
|
||||
<!--
|
||||
<Button
|
||||
android:id="@+id/action"
|
||||
style="@style/colored_button"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="50dp"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center"
|
||||
android:text="@string/perform_action"
|
||||
android:textSize="18sp" />
|
||||
-->
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
</ScrollView>
|
|
@ -945,7 +945,6 @@
|
|||
<string name="SET_USE_SINGLE_TOPBAR" translatable="false">SET_USE_SINGLE_TOPBAR</string>
|
||||
<string name="SET_DISPLAY_COUNTERS" translatable="false">SET_DISPLAY_COUNTERS</string>
|
||||
<string name="SET_TIMELINES_IN_A_LIST" translatable="false">SET_TIMELINES_IN_A_LIST</string>
|
||||
<string name="SET_DISPLAY_ADMIN_STATUSES" translatable="false">SET_DISPLAY_ADMIN_STATUSES</string>
|
||||
<string name="SET_LED_COLOUR_VAL_N" translatable="false">SET_LED_COLOUR_VAL_N</string>
|
||||
<string name="SET_SHOW_BOOSTS" translatable="false">SET_SHOW_BOOSTS</string>
|
||||
<string name="SET_SHOW_REPLIES" translatable="false">SET_SHOW_REPLIES</string>
|
||||
|
@ -1568,4 +1567,13 @@
|
|||
<string name="set_unlisted_replies">Unlisted replies</string>
|
||||
<string name="set_unlisted_replies_indication">It only concerns \"public\" replies. When enabled, your replies will automatically have the visibility \"unlisted\" instead of \"public\"</string>
|
||||
<string name="notification_remove_from_cache">Notifications have been removed from cache.</string>
|
||||
<string name="email_status">Email status</string>
|
||||
<string name="login_status">Login status</string>
|
||||
<string name="joined">Joined</string>
|
||||
<string name="recent_ip">Recent IP</string>
|
||||
<string name="allow">Allow</string>
|
||||
<string name="warn">Warn</string>
|
||||
<string name="email_user">Notify the user per e-mail</string>
|
||||
<string name="custom_warning">Custom warning</string>
|
||||
<string name="list_reported_statuses">Reported statuses</string>
|
||||
</resources>
|
||||
|
|
Loading…
Reference in a new issue