mirror of https://github.com/Chocobozzz/PeerTube
Regenerate code contributors
parent
d24d221550
commit
b708d2102a
16
CREDITS.md
16
CREDITS.md
|
@ -33,14 +33,14 @@
|
||||||
* Balázs Meskó
|
* Balázs Meskó
|
||||||
* Tirifto
|
* Tirifto
|
||||||
* Wicklow
|
* Wicklow
|
||||||
* Hannes Ylä-Jääski
|
|
||||||
* John Livingston
|
* John Livingston
|
||||||
|
* Hannes Ylä-Jääski
|
||||||
* Kim
|
* Kim
|
||||||
* Vodoyo Kamal
|
* Vodoyo Kamal
|
||||||
* Armin
|
* Armin
|
||||||
* Fontan 030
|
* Fontan 030
|
||||||
* Mohamad Reza
|
|
||||||
* Besnik Bleta
|
* Besnik Bleta
|
||||||
|
* Mohamad Reza
|
||||||
* Quentin PAGÈS
|
* Quentin PAGÈS
|
||||||
* Kimsible
|
* Kimsible
|
||||||
* Felix Ableitner
|
* Felix Ableitner
|
||||||
|
@ -74,12 +74,12 @@
|
||||||
* Cedric F
|
* Cedric F
|
||||||
* Florent
|
* Florent
|
||||||
* Marc Strange
|
* Marc Strange
|
||||||
|
* lutangar
|
||||||
* Ch
|
* Ch
|
||||||
* J. Lavoie
|
* J. Lavoie
|
||||||
* YILDIRIM YAPRAK
|
* YILDIRIM YAPRAK
|
||||||
* barzofarev2
|
* barzofarev2
|
||||||
* jan Seli
|
* jan Seli
|
||||||
* lutangar
|
|
||||||
* 李奕寯
|
* 李奕寯
|
||||||
* Kempelen
|
* Kempelen
|
||||||
* Martin Hoefler
|
* Martin Hoefler
|
||||||
|
@ -90,16 +90,17 @@
|
||||||
* Alexander Ivanov
|
* Alexander Ivanov
|
||||||
* Balázs Úr
|
* Balázs Úr
|
||||||
* Echo Kilo
|
* Echo Kilo
|
||||||
|
* Erik Guldberg
|
||||||
* Jan Keromnes
|
* Jan Keromnes
|
||||||
* Luc Didry
|
* Luc Didry
|
||||||
* Siourdakis Thanos
|
* Siourdakis Thanos
|
||||||
|
* alex gabilondo
|
||||||
* knuxify
|
* knuxify
|
||||||
* Agron Selimaj
|
* Agron Selimaj
|
||||||
* Attila F
|
* Attila F
|
||||||
* Caroline Chuong
|
* Caroline Chuong
|
||||||
* David Soh
|
* David Soh
|
||||||
* Diazepan Medina
|
* Diazepan Medina
|
||||||
* Erik Guldberg
|
|
||||||
* Jason Zhou
|
* Jason Zhou
|
||||||
* Loukas Stamellos
|
* Loukas Stamellos
|
||||||
* Ms Kimsible
|
* Ms Kimsible
|
||||||
|
@ -113,7 +114,6 @@
|
||||||
* Kemal Oktay Aktoğan
|
* Kemal Oktay Aktoğan
|
||||||
* Lucas Declercq
|
* Lucas Declercq
|
||||||
* Sirxy
|
* Sirxy
|
||||||
* alex gabilondo
|
|
||||||
* matograine
|
* matograine
|
||||||
* Ahmed ABERWAG
|
* Ahmed ABERWAG
|
||||||
* Daniel Santos
|
* Daniel Santos
|
||||||
|
@ -209,6 +209,7 @@
|
||||||
* Asr128
|
* Asr128
|
||||||
* Aurélien Bertron
|
* Aurélien Bertron
|
||||||
* Axel Viala
|
* Axel Viala
|
||||||
|
* Danail Emandiev
|
||||||
* Daniele Garau
|
* Daniele Garau
|
||||||
* Dep Pranata
|
* Dep Pranata
|
||||||
* Dirk Kelly
|
* Dirk Kelly
|
||||||
|
@ -216,6 +217,7 @@
|
||||||
* Ehsan Gholami
|
* Ehsan Gholami
|
||||||
* Elga Ahmad Prayoga
|
* Elga Ahmad Prayoga
|
||||||
* Girish Ramakrishnan
|
* Girish Ramakrishnan
|
||||||
|
* Goudarz Jafari
|
||||||
* Hakim Oubouali
|
* Hakim Oubouali
|
||||||
* Hans Meiser
|
* Hans Meiser
|
||||||
* Iñigo A
|
* Iñigo A
|
||||||
|
@ -287,7 +289,6 @@
|
||||||
* G4dter
|
* G4dter
|
||||||
* Gaëtan Rizio
|
* Gaëtan Rizio
|
||||||
* Gopherslol
|
* Gopherslol
|
||||||
* Goudarz Jafari
|
|
||||||
* HHY
|
* HHY
|
||||||
* Hange
|
* Hange
|
||||||
* Hjalte
|
* Hjalte
|
||||||
|
@ -415,6 +416,7 @@
|
||||||
* Gabriel Scherer
|
* Gabriel Scherer
|
||||||
* Gergo Bogdan
|
* Gergo Bogdan
|
||||||
* Glandos
|
* Glandos
|
||||||
|
* Grant
|
||||||
* Grzesiek11
|
* Grzesiek11
|
||||||
* Guillaume Pérution-Kihli
|
* Guillaume Pérution-Kihli
|
||||||
* Gérald CHATAGNON
|
* Gérald CHATAGNON
|
||||||
|
@ -445,6 +447,7 @@
|
||||||
* Johnny Jazeix
|
* Johnny Jazeix
|
||||||
* Jonas Sulzer
|
* Jonas Sulzer
|
||||||
* Jonatan Nyberg
|
* Jonatan Nyberg
|
||||||
|
* Jonathan Weth
|
||||||
* Jorge Silva
|
* Jorge Silva
|
||||||
* Jos
|
* Jos
|
||||||
* Julien Le Bras
|
* Julien Le Bras
|
||||||
|
@ -507,6 +510,7 @@
|
||||||
* Philipp Fischbeck
|
* Philipp Fischbeck
|
||||||
* Philo van Kemenade
|
* Philo van Kemenade
|
||||||
* Predatorix Phoenix
|
* Predatorix Phoenix
|
||||||
|
* Quantic Axe
|
||||||
* Quentin Dupont
|
* Quentin Dupont
|
||||||
* Quentí
|
* Quentí
|
||||||
* ROPEDE
|
* ROPEDE
|
||||||
|
|
|
@ -1,17 +1,16 @@
|
||||||
/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */
|
/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */
|
||||||
|
|
||||||
import { expect } from 'chai'
|
|
||||||
import { HttpStatusCode, PeerTubeProblemDocument, ServerErrorCode } from '@peertube/peertube-models'
|
import { HttpStatusCode, PeerTubeProblemDocument, ServerErrorCode } from '@peertube/peertube-models'
|
||||||
import {
|
import {
|
||||||
cleanupTests,
|
cleanupTests,
|
||||||
createMultipleServers,
|
createMultipleServers,
|
||||||
doubleFollow,
|
doubleFollow,
|
||||||
makeActivityPubGetRequest,
|
makeActivityPubGetRequest,
|
||||||
makeGetRequest,
|
|
||||||
PeerTubeServer,
|
PeerTubeServer,
|
||||||
setAccessTokensToServers,
|
setAccessTokensToServers,
|
||||||
waitJobs
|
waitJobs
|
||||||
} from '@peertube/peertube-server-commands'
|
} from '@peertube/peertube-server-commands'
|
||||||
|
import { expect } from 'chai'
|
||||||
|
|
||||||
describe('Test follow constraints', function () {
|
describe('Test follow constraints', function () {
|
||||||
let servers: PeerTubeServer[] = []
|
let servers: PeerTubeServer[] = []
|
||||||
|
|
|
@ -25,9 +25,11 @@ async function run () {
|
||||||
console.log('\n\n# Design\n')
|
console.log('\n\n# Design\n')
|
||||||
console.log(' * [Olivier Massain](https://dribbble.com/omassain)')
|
console.log(' * [Olivier Massain](https://dribbble.com/omassain)')
|
||||||
console.log(' * [Marie-Cécile Godwin Paccard](https://mcgodwin.com/)')
|
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('\n\n# Icons\n')
|
||||||
console.log(' * [Feather Icons](https://feathericons.com) (MIT)')
|
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(' * `playlist add`, `history`, `subscriptions`, `miscellaneous-services.svg`, `tip` by Material UI (Apache 2.0)')
|
||||||
console.log(' * `support` by Chocobozzz (CC-BY)')
|
console.log(' * `support` by Chocobozzz (CC-BY)')
|
||||||
console.log(' * `language` by Aaron Jin (CC-BY)')
|
console.log(' * `language` by Aaron Jin (CC-BY)')
|
||||||
|
|
|
@ -13,7 +13,7 @@ import { PEERTUBE_VERSION } from '@server/initializers/constants.js'
|
||||||
import { PluginModel } from '@server/models/server/plugin.js'
|
import { PluginModel } from '@server/models/server/plugin.js'
|
||||||
import { PluginManager } from './plugin-manager.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 { start = 0, count = 20, search, sort = 'npmName', pluginType } = options
|
||||||
|
|
||||||
const searchParams: PeertubePluginIndexList & Record<string, string | number> = {
|
const searchParams: PeertubePluginIndexList & Record<string, string | number> = {
|
||||||
|
@ -50,7 +50,7 @@ function addInstanceInformation (result: ResultList<PeerTubePluginIndex>) {
|
||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
|
||||||
async function getLatestPluginsVersion (npmNames: string[]): Promise<PeertubePluginLatestVersionResponse> {
|
export async function getLatestPluginsVersion (npmNames: string[]): Promise<PeertubePluginLatestVersionResponse> {
|
||||||
const bodyRequest: PeertubePluginLatestVersionRequest = {
|
const bodyRequest: PeertubePluginLatestVersionRequest = {
|
||||||
npmNames,
|
npmNames,
|
||||||
currentPeerTubeEngine: PEERTUBE_VERSION
|
currentPeerTubeEngine: PEERTUBE_VERSION
|
||||||
|
@ -62,7 +62,7 @@ async function getLatestPluginsVersion (npmNames: string[]): Promise<PeertubePlu
|
||||||
return body
|
return body
|
||||||
}
|
}
|
||||||
|
|
||||||
async function getLatestPluginVersion (npmName: string) {
|
export async function getLatestPluginVersion (npmName: string) {
|
||||||
const results = await getLatestPluginsVersion([ npmName ])
|
const results = await getLatestPluginsVersion([ npmName ])
|
||||||
|
|
||||||
if (Array.isArray(results) === false || results.length !== 1) {
|
if (Array.isArray(results) === false || results.length !== 1) {
|
||||||
|
@ -72,8 +72,3 @@ async function getLatestPluginVersion (npmName: string) {
|
||||||
|
|
||||||
return results[0].latestVersion
|
return results[0].latestVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
export {
|
|
||||||
getLatestPluginsVersion, getLatestPluginVersion, listAvailablePluginsFromIndex
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue