Commit Graph

20 Commits

Author SHA1 Message Date
John Livingston
f73ccbbf7e
Localization refactoring:
* the front-end now use global constants, based on the translation key
* build-client.js use the ESBuild "define" directive to replace these
  globals at compile time, by the english value
* build:client must now be called after build:languages
* moving the loadLoc and loc backend functions in a separate lib
2023-06-12 19:36:14 +02:00
John Livingston
8fe48a068f
Refactoring the debug mode code, and adding some options. 2023-05-31 16:52:49 +02:00
John Livingston
115fcd8484
Chat federation: add metadata in ActivityPub. WIP 2023-04-19 19:07:08 +02:00
John Livingston
459d92cef9
Embedding Prosody using AppImage:
Thanks to this commit, there is no more need to manually install Prosody
on the server.
The plugin now build and embed an AppImage of Prosody.

In this commit:
* building and using a Prosody AppImage.
* Adding a launcher in the AppImage: the first command argument tells if
  we want to run prosody or prosodyctl
* prosodyCtl functions now uses the AppImage.
* Prosody AppImage: extract once at the startup, then run the squashfs
2022-11-15 15:20:10 +01:00
John Livingston
7db856ce0f
Using types declarations from the official @peertube/peertube-types package. 2022-01-11 01:29:33 +01:00
John Livingston
3c19a6b7f2
Fix plugin register when Prosody enabled but not installed (again) 2021-12-01 14:47:16 +01:00
John Livingston
543e454b51
Fix plugin register when Prosody enabled but not installed 2021-09-14 16:49:11 +02:00
John Livingston
385a0074c1 Chat can be enabled in video properties. 2021-06-08 18:08:58 +02:00
John Livingston
25da6b6e0d Detect Peertube bad version at startup. 2021-06-03 11:53:18 +02:00
John Livingston
11d79fc611 Migration script in prevision of the future settings "chat-type". 2021-06-02 19:16:27 +02:00
John Livingston
d2df17c7b9 Update comments. 2021-06-02 12:48:24 +02:00
John Livingston
cc21305f6a WIP on Prosody integration. 2021-04-13 17:13:41 +02:00
John Livingston
8b3763761b Better typing. 2021-04-09 19:52:59 +02:00
John Livingston
dcef708370 Routers in separate files. 2021-04-09 19:29:44 +02:00
John Livingston
20a461a84b Fix import. 2021-04-09 11:22:46 +02:00
John Livingston
e770a60c68 Releasing memory. 2021-04-09 10:57:54 +02:00
John Livingston
0bad31dddb Fix plugin unregister: unload all modules. 2021-04-08 03:47:55 +02:00
John Livingston
490d6f18c3 Refactoring server code:
* Split server code in several libs
* improve server/peertube.d.ts.
2021-04-08 02:43:21 +02:00
John Livingston
3dd8718744 Eslint: configure for standard-typescript (backend), and separate configurations depending on folders. 2021-04-07 17:20:28 +02:00
John Livingston
8b11c10e32 Server code in typescript. 2021-04-07 16:52:38 +02:00