frontend-rw #1

Merged
marcin merged 347 commits from frontend-rw into develop 2024-12-05 15:32:18 -08:00
Showing only changes of commit f13a7649e3 - Show all commits

View file

@ -47,6 +47,14 @@ const GOTOSOCIAL = 'GoToSocial';
*/
const ICESHRIMP = 'Iceshrimp';
/**
* Iceshrimp.NET, a decentralized and federated social networking service, powered by .NET.
*
* @category Software
* @see {@link https://iceshrimp.dev/}
*/
const ICESHRIMP_NET = 'Iceshrimp.NET';
/**
* Mastodon, the software upon which this is all based.
*
@ -1285,7 +1293,7 @@ interface Backend {
/** Get information about the software from its version string */
const parseVersion = (version: string): Backend => {
const regex = /^([\w+.-]*)(?: \(compatible; ([\w]*) (.*)\))?$/;
const regex = /^([\w+.-]*)(?: \(compatible; ([\w.]*) (.*)\))?$/;
const match = regex.exec(version.replace('/', ' '));
const semverString = match && (match[3] || match[1]);
@ -1318,6 +1326,7 @@ export {
FRIENDICA,
GOTOSOCIAL,
ICESHRIMP,
ICESHRIMP_NET,
MASTODON,
MITRA,
PIXELFED,