Compare commits

..

11 commits

Author SHA1 Message Date
c0508ee1a0 XMPP addon is created 2025-12-01 22:42:15 +00:00
0bf1d3eec9 Merge pull request 'Increased speed for "follow" requests' (#1622) from heluecht/friendica-addons:follow-speed into 2025.07-rc
Reviewed-on: #1622
2025-12-01 18:09:41 +01:00
53ca699b16 Increased speed for "follow" requests 2025-12-01 18:09:41 +01:00
633c6799d8 Merge pull request '[CI] Add All-In-One Archive' (#1616) from nupplaPhil/friendica-addons:ci/full-archive into 2025.07-rc
Reviewed-on: #1616
2025-11-21 23:51:36 +01:00
d47e20b0d4 Enable CI Pipeline 2025-11-21 23:51:36 +01:00
38dcc81d3c Merge pull request 'GitHub Issue 14872: Change Ratioed default sort order' (#1619) from haheute/friendica-addons:ratioed-sort-order into 2025.07-rc
Reviewed-on: #1619
2025-11-21 23:49:43 +01:00
1fdc6d9794 GitHub Issue 14872: Change Ratioed default sort order 2025-11-20 15:46:44 +01:00
9b3278ffd9 Merge pull request 'add messages.po file for ratioed addon' (#1618) from mexon/friendica-addons:mat/ratioed-translation into 2025.07-rc
Reviewed-on: #1618
Reviewed-by: Hypolite Petovan <hypolite@mrpetovan.com>
2025-11-12 14:36:34 +01:00
Matthew Exon
427f39ad57 add messages.po file for ratioed addon 2025-11-10 07:26:04 +01:00
0562623117 Merge pull request 'Update Link to Transifex Friendica page' (#1617) from haheute/friendica-addons:update-transifex-url into 2025.07-rc
Reviewed-on: #1617
2025-11-09 19:57:26 +01:00
8d42f99aff Update Link to Transifex Friendica page 2025-11-08 12:34:47 +01:00
5 changed files with 250 additions and 5 deletions

View 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

View file

@ -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).

View file

@ -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;
}

View file

@ -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
View 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 ""