forked from friendica/friendica-addons
Compare commits
10 commits
6a342088a5
...
0bf1d3eec9
| Author | SHA1 | Date | |
|---|---|---|---|
| 0bf1d3eec9 | |||
| 53ca699b16 | |||
| 633c6799d8 | |||
| d47e20b0d4 | |||
| 38dcc81d3c | |||
| 1fdc6d9794 | |||
| 9b3278ffd9 | |||
|
|
427f39ad57 | ||
| 0562623117 | |||
| 8d42f99aff |
5 changed files with 250 additions and 5 deletions
115
.woodpecker/.continuous-deployment-allinone.yml
Normal file
115
.woodpecker/.continuous-deployment-allinone.yml
Normal file
|
|
@ -0,0 +1,115 @@
|
|||
# This prevents executing this pipeline at other servers than ci.friendi.ca
|
||||
labels:
|
||||
location: friendica
|
||||
type: releaser
|
||||
|
||||
skip_clone: true
|
||||
|
||||
steps:
|
||||
clone_friendica_base:
|
||||
image: alpine/git
|
||||
commands:
|
||||
- git config --global user.email "no-reply@friendi.ca"
|
||||
- git config --global user.name "Friendica"
|
||||
- git config --global --add safe.directory $CI_WORKSPACE
|
||||
- git clone https://github.com/friendica/friendica.git .
|
||||
- git checkout $CI_COMMIT_BRANCH
|
||||
when:
|
||||
repo: friendica/friendica-addons
|
||||
branch: [ develop, '*-rc' ]
|
||||
event: push
|
||||
clone_friendica_addon:
|
||||
image: alpine/git
|
||||
commands:
|
||||
- git config --global user.email "no-reply@friendi.ca"
|
||||
- git config --global user.name "Friendica"
|
||||
- git clone $CI_REPO_CLONE_URL addon
|
||||
- cd addon/
|
||||
- git checkout $CI_COMMIT_BRANCH
|
||||
- git fetch origin $CI_COMMIT_REF
|
||||
- git merge $CI_COMMIT_SHA
|
||||
when:
|
||||
repo: friendica/friendica-addons
|
||||
branch: [ develop, '*-rc' ]
|
||||
event: push
|
||||
restore_cache:
|
||||
image: meltwater/drone-cache:dev
|
||||
settings:
|
||||
backend: "filesystem"
|
||||
restore: true
|
||||
cache_key: "{{ .Repo.Name }}_php7.4_{{ arch }}_{{ os }}"
|
||||
archive_format: "gzip"
|
||||
mount:
|
||||
- '.composer'
|
||||
volumes:
|
||||
- /tmp/drone-cache:/tmp/cache
|
||||
when:
|
||||
repo: friendica/friendica-addons
|
||||
branch: [ develop, '*-rc' ]
|
||||
event: push
|
||||
composer_install:
|
||||
image: friendicaci/php8.2:php8.2.28
|
||||
commands:
|
||||
- export COMPOSER_HOME=.composer
|
||||
- composer validate
|
||||
- composer install --no-dev --optimize-autoloader
|
||||
volumes:
|
||||
- /etc/hosts:/etc/hosts
|
||||
when:
|
||||
repo: friendica/friendica-addons
|
||||
branch: [ develop, '*-rc' ]
|
||||
event: push
|
||||
create_artifacts:
|
||||
image: debian
|
||||
commands:
|
||||
- apt-get update
|
||||
- apt-get install bzip2
|
||||
- mkdir ./build
|
||||
- export VERSION="$(cat VERSION)"
|
||||
- export RELEASE="friendica-all-in-one-$VERSION"
|
||||
- export ARTIFACT="$RELEASE.tar.gz"
|
||||
- tar
|
||||
--exclude='.tx'
|
||||
--exclude='.git'
|
||||
--exclude='.editorconfig'
|
||||
--exclude='.gitattributes'
|
||||
--exclude='.gitignore'
|
||||
--exclude='.woodpecker'
|
||||
--exclude='**/*/messages.po'
|
||||
-cvzf ./build/$ARTIFACT /
|
||||
- cd ./build
|
||||
- sha256sum "$ARTIFACT" > "$ARTIFACT.sum256"
|
||||
- chmod 664 ./*
|
||||
- ls -lh
|
||||
- cat "$ARTIFACT.sum256"
|
||||
- sha256sum "$ARTIFACT"
|
||||
when:
|
||||
repo: friendica/friendica-addons
|
||||
branch: [ develop, '*-rc' ]
|
||||
event: push
|
||||
sign_artifacts:
|
||||
image: plugins/gpgsign
|
||||
settings:
|
||||
key:
|
||||
from_secret: gpg_key
|
||||
passphrase:
|
||||
from_secret: gpg_password
|
||||
files:
|
||||
- build/*
|
||||
exclude:
|
||||
- build/*.sum256
|
||||
detach_sign: true
|
||||
when:
|
||||
repo: friendica/friendica-addons
|
||||
branch: [ develop, '*-rc' ]
|
||||
event: push
|
||||
publish_artifacts:
|
||||
image: alpine
|
||||
commands:
|
||||
- cp -fr build/* /tmp/friendica_files/
|
||||
volumes:
|
||||
- files:/tmp/friendica_files
|
||||
when:
|
||||
repo: friendica/friendica-addons
|
||||
branch: [ develop, '*-rc' ]
|
||||
event: push
|
||||
|
|
@ -24,6 +24,6 @@ See the [documentation](https://github.com/friendica/friendica/blob/stable/doc/A
|
|||
## Translation
|
||||
|
||||
Addons can be translated like any other part of Friendica.
|
||||
Translation for addons is done at [the Transifex Friendica page](https://www.transifex.com/Friendica/friendica/dashboard/).
|
||||
Translation for addons is done at [the Transifex Friendica page](https://app.transifex.com/Friendica/friendica/dashboard/).
|
||||
|
||||
Read more about the workflow in the [Friendica translation documentation](https://github.com/friendica/friendica/blob/stable/doc/translations.md#addon).
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@ function bluesky_follow(array &$hook_data)
|
|||
}
|
||||
|
||||
DI::logger()->debug('Check if contact is bluesky', ['data' => $hook_data]);
|
||||
$contact = DBA::selectFirst('contact', [], ['network' => Protocol::BLUESKY, 'url' => $hook_data['url'], 'uid' => [0, $hook_data['uid']]]);
|
||||
$contact = DBA::selectFirst('contact', [], ['network' => Protocol::BLUESKY, 'nurl' => Strings::normaliseLink($hook_data['url']), 'uid' => [0, $hook_data['uid']]]);
|
||||
if (empty($contact)) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -48,11 +48,11 @@ class RatioedPanel extends Active
|
|||
];
|
||||
|
||||
$order = 'last-item';
|
||||
$order_direction = '+';
|
||||
$order_direction = '-';
|
||||
if (!empty($_REQUEST['o'])) {
|
||||
$new_order = $_REQUEST['o'];
|
||||
if ($new_order[0] === '-') {
|
||||
$order_direction = '-';
|
||||
if ($new_order[0] !== '-') {
|
||||
$order_direction = '+';
|
||||
$new_order = substr($new_order, 1);
|
||||
}
|
||||
|
||||
|
|
|
|||
130
ratioed/lang/C/messages.po
Normal file
130
ratioed/lang/C/messages.po
Normal file
|
|
@ -0,0 +1,130 @@
|
|||
# ADDON ratioed
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica ratioed addon package.
|
||||
#
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-11-08 13:50+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: RatioedPanel.php:34
|
||||
msgid "User not found"
|
||||
msgstr ""
|
||||
|
||||
#: RatioedPanel.php:69
|
||||
msgid "Name"
|
||||
msgstr ""
|
||||
|
||||
#: RatioedPanel.php:70
|
||||
msgid "Email"
|
||||
msgstr ""
|
||||
|
||||
#: RatioedPanel.php:71
|
||||
msgid "Register date"
|
||||
msgstr ""
|
||||
|
||||
#: RatioedPanel.php:72
|
||||
msgid "Last login"
|
||||
msgstr ""
|
||||
|
||||
#: RatioedPanel.php:73
|
||||
msgid "Last public item"
|
||||
msgstr ""
|
||||
|
||||
#: RatioedPanel.php:74
|
||||
msgid "Type"
|
||||
msgstr ""
|
||||
|
||||
#: RatioedPanel.php:75
|
||||
msgid "Blocked by"
|
||||
msgstr ""
|
||||
|
||||
#: RatioedPanel.php:76
|
||||
msgid "Comments last 24h"
|
||||
msgstr ""
|
||||
|
||||
#: RatioedPanel.php:77
|
||||
msgid "Reactions last 24h"
|
||||
msgstr ""
|
||||
|
||||
#: RatioedPanel.php:78
|
||||
msgid "Ratio last 24h"
|
||||
msgstr ""
|
||||
|
||||
#: RatioedPanel.php:79
|
||||
msgid "Replies last month"
|
||||
msgstr ""
|
||||
|
||||
#: RatioedPanel.php:80
|
||||
msgid "Reply likes"
|
||||
msgstr ""
|
||||
|
||||
#: RatioedPanel.php:81
|
||||
msgid "Respondee likes"
|
||||
msgstr ""
|
||||
|
||||
#: RatioedPanel.php:82
|
||||
msgid "OP likes"
|
||||
msgstr ""
|
||||
|
||||
#: RatioedPanel.php:83
|
||||
msgid "Reply guy score"
|
||||
msgstr ""
|
||||
|
||||
#: RatioedPanel.php:109
|
||||
msgid "Moderation"
|
||||
msgstr ""
|
||||
|
||||
#: RatioedPanel.php:111 ratioed.php:39
|
||||
msgid "Behaviour"
|
||||
msgstr ""
|
||||
|
||||
#: RatioedPanel.php:112
|
||||
msgid "select all"
|
||||
msgstr ""
|
||||
|
||||
#: RatioedPanel.php:113
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#: RatioedPanel.php:114
|
||||
msgid "Block"
|
||||
msgstr ""
|
||||
|
||||
#: RatioedPanel.php:115
|
||||
msgid "User blocked"
|
||||
msgstr ""
|
||||
|
||||
#: RatioedPanel.php:116
|
||||
msgid "Site admin"
|
||||
msgstr ""
|
||||
|
||||
#: RatioedPanel.php:117
|
||||
msgid "Account expired"
|
||||
msgstr ""
|
||||
|
||||
#: RatioedPanel.php:118
|
||||
msgid "Create a new user"
|
||||
msgstr ""
|
||||
|
||||
#: RatioedPanel.php:124
|
||||
msgid "Selected users will be deleted!\\n\\nEverything these users had posted on this site will be permanently deleted!\\n\\nAre you sure?"
|
||||
msgstr ""
|
||||
|
||||
#: RatioedPanel.php:125
|
||||
msgid "The user {0} will be deleted!\\n\\nEverything this user has posted on this site will be permanently deleted!\\n\\nAre you sure?"
|
||||
msgstr ""
|
||||
|
||||
#: ratioed.php:42
|
||||
msgid "Statistics about users behaviour"
|
||||
msgstr ""
|
||||
Loading…
Add table
Add a link
Reference in a new issue