From b708d2102ae90756a337926a80474e7f87dc628b Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 14 Aug 2024 15:34:16 +0200 Subject: [PATCH] Regenerate code contributors --- CREDITS.md | 16 ++++++++++------ .../tests/src/api/server/follow-constraints.ts | 3 +-- scripts/generate-code-contributors.ts | 2 ++ server/core/lib/plugins/plugin-index.ts | 11 +++-------- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/CREDITS.md b/CREDITS.md index 97e9e56bb..6e7ef3772 100644 --- a/CREDITS.md +++ b/CREDITS.md @@ -33,14 +33,14 @@ * Balázs Meskó * Tirifto * Wicklow - * Hannes Ylä-Jääski * John Livingston + * Hannes Ylä-Jääski * Kim * Vodoyo Kamal * Armin * Fontan 030 - * Mohamad Reza * Besnik Bleta + * Mohamad Reza * Quentin PAGÈS * Kimsible * Felix Ableitner @@ -74,12 +74,12 @@ * Cedric F * Florent * Marc Strange + * lutangar * Ch * J. Lavoie * YILDIRIM YAPRAK * barzofarev2 * jan Seli - * lutangar * 李奕寯 * Kempelen * Martin Hoefler @@ -90,16 +90,17 @@ * Alexander Ivanov * Balázs Úr * Echo Kilo + * Erik Guldberg * Jan Keromnes * Luc Didry * Siourdakis Thanos + * alex gabilondo * knuxify * Agron Selimaj * Attila F * Caroline Chuong * David Soh * Diazepan Medina - * Erik Guldberg * Jason Zhou * Loukas Stamellos * Ms Kimsible @@ -113,7 +114,6 @@ * Kemal Oktay Aktoğan * Lucas Declercq * Sirxy - * alex gabilondo * matograine * Ahmed ABERWAG * Daniel Santos @@ -209,6 +209,7 @@ * Asr128 * Aurélien Bertron * Axel Viala + * Danail Emandiev * Daniele Garau * Dep Pranata * Dirk Kelly @@ -216,6 +217,7 @@ * Ehsan Gholami * Elga Ahmad Prayoga * Girish Ramakrishnan + * Goudarz Jafari * Hakim Oubouali * Hans Meiser * Iñigo A @@ -287,7 +289,6 @@ * G4dter * Gaëtan Rizio * Gopherslol - * Goudarz Jafari * HHY * Hange * Hjalte @@ -415,6 +416,7 @@ * Gabriel Scherer * Gergo Bogdan * Glandos + * Grant * Grzesiek11 * Guillaume Pérution-Kihli * Gérald CHATAGNON @@ -445,6 +447,7 @@ * Johnny Jazeix * Jonas Sulzer * Jonatan Nyberg + * Jonathan Weth * Jorge Silva * Jos * Julien Le Bras @@ -507,6 +510,7 @@ * Philipp Fischbeck * Philo van Kemenade * Predatorix Phoenix + * Quantic Axe * Quentin Dupont * Quentí * ROPEDE diff --git a/packages/tests/src/api/server/follow-constraints.ts b/packages/tests/src/api/server/follow-constraints.ts index 8c9703ce5..19ba0ac66 100644 --- a/packages/tests/src/api/server/follow-constraints.ts +++ b/packages/tests/src/api/server/follow-constraints.ts @@ -1,17 +1,16 @@ /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ -import { expect } from 'chai' import { HttpStatusCode, PeerTubeProblemDocument, ServerErrorCode } from '@peertube/peertube-models' import { cleanupTests, createMultipleServers, doubleFollow, makeActivityPubGetRequest, - makeGetRequest, PeerTubeServer, setAccessTokensToServers, waitJobs } from '@peertube/peertube-server-commands' +import { expect } from 'chai' describe('Test follow constraints', function () { let servers: PeerTubeServer[] = [] diff --git a/scripts/generate-code-contributors.ts b/scripts/generate-code-contributors.ts index 408bbec5d..8dbdd2bf7 100755 --- a/scripts/generate-code-contributors.ts +++ b/scripts/generate-code-contributors.ts @@ -25,9 +25,11 @@ async function run () { console.log('\n\n# Design\n') console.log(' * [Olivier Massain](https://dribbble.com/omassain)') console.log(' * [Marie-Cécile Godwin Paccard](https://mcgodwin.com/)') + console.log(' * [La Coopérative des Internets](https://www.lacooperativedesinternets.fr/)') console.log('\n\n# Icons\n') console.log(' * [Feather Icons](https://feathericons.com) (MIT)') + console.log(' * [Lucide Icons](https://lucide.dev/) (ISC)') console.log(' * `playlist add`, `history`, `subscriptions`, `miscellaneous-services.svg`, `tip` by Material UI (Apache 2.0)') console.log(' * `support` by Chocobozzz (CC-BY)') console.log(' * `language` by Aaron Jin (CC-BY)') diff --git a/server/core/lib/plugins/plugin-index.ts b/server/core/lib/plugins/plugin-index.ts index c96f6ff2c..7fdffb404 100644 --- a/server/core/lib/plugins/plugin-index.ts +++ b/server/core/lib/plugins/plugin-index.ts @@ -13,7 +13,7 @@ import { PEERTUBE_VERSION } from '@server/initializers/constants.js' import { PluginModel } from '@server/models/server/plugin.js' import { PluginManager } from './plugin-manager.js' -async function listAvailablePluginsFromIndex (options: PeertubePluginIndexList) { +export async function listAvailablePluginsFromIndex (options: PeertubePluginIndexList) { const { start = 0, count = 20, search, sort = 'npmName', pluginType } = options const searchParams: PeertubePluginIndexList & Record = { @@ -50,7 +50,7 @@ function addInstanceInformation (result: ResultList) { return result } -async function getLatestPluginsVersion (npmNames: string[]): Promise { +export async function getLatestPluginsVersion (npmNames: string[]): Promise { const bodyRequest: PeertubePluginLatestVersionRequest = { npmNames, currentPeerTubeEngine: PEERTUBE_VERSION @@ -62,7 +62,7 @@ async function getLatestPluginsVersion (npmNames: string[]): Promise