Commit Graph

57 Commits

Author SHA1 Message Date
ed3f236120 Prosody Appimage: supports only x86_64:
* stop trying to generated an ARM64 AppImage (as it is buggy)
* display a warning in the settings if incompatible CPU detected
* documentation for a workaround

Implements #120.
2022-12-12 19:17:43 +01:00
24696acdbe #120: adding a certs directory to avoid Prosody error logs. 2022-12-06 17:19:53 +01:00
e6da0a879f Prosody AppImage: aarch64 architecture. 2022-11-22 11:35:38 +01:00
8f5b2ae565 Prosody AppImage: extract in a dedicated folder 2022-11-15 16:30:24 +01:00
27e8fbf05f Fix: creating working directories before extracting Prosody AppImage 2022-11-15 16:07:12 +01:00
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
9e06e32351 Websocket: only activate on Prosody if the feature is available. 2022-10-13 18:56:00 +02:00
e7eca75736 Fix Prosody WS configuration. 2022-10-13 10:47:36 +02:00
6f8c7b8a93 Websocket for builtin Prosody. WIP 2022-10-13 10:47:33 +02:00
01a052d380 Fix #97 #54: Settings to hide the chat for anonymous users 2022-04-11 18:12:12 +02:00
7db856ce0f Using types declarations from the official @peertube/peertube-types package. 2022-01-11 01:29:33 +01:00
bf35172856 Builtin Prosody: display random avatars for anonymous users. 2022-01-06 05:30:55 +01:00
6afb640df2 Builtin-Prosody: use Peertube's avatar. 2022-01-05 18:53:44 +01:00
586df3983c Fix typo. 2021-12-13 21:51:00 +01:00
df3f87e903 XMPP external components. 2021-12-11 19:09:01 +01:00
2e7cec04d9 Reverting work on DemoBot (it is now an external package). 2021-12-11 17:40:26 +01:00
42988a5d04 Demo Bot: Complete code refactoring. WIP. 2021-12-08 15:29:34 +01:00
0e45f9a197 Demo Bot: WIP. 2021-12-07 18:57:08 +01:00
978ee83eee Demo Bot: first proof of concept. 2021-12-07 13:14:01 +01:00
f8ce4e6583 Config: preparing the arrival of new config files (for bots). Code refactoring. 2021-12-07 11:59:32 +01:00
2244ae22c2 Prosody diagnostic: hidden secret keys from the result. 2021-12-07 10:50:28 +01:00
62456aead1 Bots settings (WIP). 2021-12-07 10:29:20 +01:00
5e988605ce Builtin Prosody: new settings to choose how long the room's content is archived, and if it should be archived by default. 2021-12-01 12:57:15 +01:00
5c0b274f39 Builtin Prosody: adding the prosody-room-type settings to allow rooms to be per channel or per video. WIP. 2021-08-05 15:41:49 +02:00
40ad9629fc Fix broken API diagnostic.
* Moving http_peertubelivechat_test module in muc component, as the
global config has no http_host.
* Adding Host HTTP Header to API call from Peertube to Prosody
2021-07-20 02:52:58 +02:00
446ebc0de9 Merge branch 'release/3.2.0' into prosody_room_list 2021-07-14 19:11:09 +02:00
ed718d7d27 Rewriting some c2s code. 2021-07-14 18:46:08 +02:00
3b51bf2946 Add localhost c2s connections 2021-07-13 20:18:32 +02:00
47bf53bafb Merge branch 'release/3.2.0' into prosody_room_list 2021-06-22 13:47:39 +02:00
6608480826 Builtin Prosody: optional settings to change the url for Prosody's API calls. 2021-06-22 13:23:01 +02:00
a526feac19 Diagnostic tool: testing API communication from Prosody to Peertube. 2021-06-22 12:57:24 +02:00
7279761c66 Diagnostic tool: testing API communication between Peertube and Prosody. 2021-06-22 10:26:45 +02:00
30d70e033e Retrieving list rooms from prosody. 2021-06-12 03:52:45 +02:00
10bbb7f040 Remove backward compatibility (peertubeHelpers.plugin always available). 2021-06-02 15:48:56 +02:00
af20f3918f Remove backward compatibility (always using permanent working dir). 2021-06-02 12:41:28 +02:00
bc81008ffb Room are persistent by default when there is a non temporary working dir. 2021-05-18 18:29:17 +02:00
2a8df1dc3c Use peertubeHelpers.plugin methods when available:
* getBaseStaticRoute use peertubeHelper when available
* getBaseRouter renamed getBaseRouterRoute and use peertubeHelper when available
* Backward compatibility is maintained.
2021-05-18 18:06:11 +02:00
c5bcf611d3 Prosody log level will be the same as the Peertube's one. 2021-05-12 11:48:38 +02:00
a602c7870a Using mod_muc_mam:
* Starting with Peertube 3.2.0, builtin prosody save room history on server. So when a user connects, he can get previously send messages.
* Fix: settings archive_expires_after was useless without mod_mam
2021-05-11 16:10:57 +02:00
094193a3b1 Builtin prosody use a working dir provided by Peertube. 2021-05-11 15:37:34 +02:00
f590cf2c7b Builtin Prosody: use Peertube domain instead of localhost. 2021-05-06 13:31:55 +02:00
6b77c3585d Protecting some APIs with an APIKEY. 2021-05-05 17:06:19 +02:00
4a4ffaae2d Prosody auth WIP. 2021-05-03 20:37:23 +02:00
fbfd86aab0 WIP. 2021-04-30 16:48:16 +02:00
1c0fbe743f Rewriting the prosody config generator code. 2021-04-30 16:22:58 +02:00
c19035c0b7 mod_muc_http_defaults WIP. 2021-04-29 18:31:48 +02:00
a4d671bf50 Prosody log level debug for test environment. 2021-04-29 17:45:04 +02:00
62af899a50 Builtin Prosody modules:
* initialize prosody modules folder
* comment on prosody modules licensing
* use mod_muc_http_defaults to set rooms properties and prevent unauthorized room creation WIP
2021-04-29 16:50:30 +02:00
295a55c9f6 Port configuration. 2021-04-16 15:13:46 +02:00
fce0e7c63c Cleaning config file. 2021-04-16 14:39:25 +02:00