1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jappix_ynh.git synced 2024-09-03 19:26:19 +02:00

initial commit

This commit is contained in:
titoko titoko 2013-11-27 12:55:54 +01:00
commit 1e731950d8
4 changed files with 92 additions and 0 deletions

14
conf/hosts.xml Normal file
View file

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8" ?>
<jappix xmlns="jappix:conf:hosts">
<main>DOMAINTOCHANGE</main>
<muc>muc.DOMAINTOCHANGE</muc>
<pubsub>pubsub.DOMAINTOCHANGE</pubsub>
<vjud>vjud.DOMAINTOCHANGE</vjud>
<anonymous>anonymous.DOMAINTOCHANGE</anonymous>
<bosh>https://DOMAINTOCHANGEPATHTOCHANGE/http-bind</bosh>
<bosh_main></bosh_main>
<bosh_mini></bosh_mini>
<static></static>
<upload></upload>
<bosh_proxy>off</bosh_proxy>
</jappix>

32
conf/main.xml Normal file
View file

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8" ?>
<jappix xmlns="jappix:conf:main">
<name>YunoJappix</name>
<desc>a free social network</desc>
<owner_name></owner_name>
<owner_website></owner_website>
<legal></legal>
<resource>YunoJappix</resource>
<lock>on</lock>
<anonymous>off</anonymous>
<http_auth>on</http_auth>
<registration>off</registration>
<manager_link>on</manager_link>
<groupchats_join></groupchats_join>
<groupchats_suggest>off</groupchats_suggest>
<encryption>on</encryption>
<https_storage>off</https_storage>
<https_force>off</https_force>
<compression>off</compression>
<analytics_track>off</analytics_track>
<analytics_url></analytics_url>
<analytics_id></analytics_id>
<ads_enable>off</ads_enable>
<ads_standard></ads_standard>
<ads_content></ads_content>
<multi_files>off</multi_files>
<developer>off</developer>
<statistics>off</statistics>
<register_api>off</register_api>
<xmppd_ctl>/usr/bin/metronomectl</xmppd_ctl>
<xmppd>metronome</xmppd>
</jappix>

13
conf/nginx.conf Normal file
View file

@ -0,0 +1,13 @@
location PATHTOCHANGE {
alias ALIASTOCHANGE ;
index index.php;
try_files $uri $uri/ index.php;
location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param REMOTE_USER $remote_user;
fastcgi_param PATH_INFO $fastcgi_path_info;
}
}

33
manifest.json Normal file
View file

@ -0,0 +1,33 @@
{
"name": "Jappix",
"id": "jappix",
"description": {
"en": "A free social network",
"fr": "Un reseau social libre"
},
"developer": {
"name": "titoko",
"email": "titoko@titoko.fr",
"url": "http://dev.yunohost.org"
},
"multi_instance": "true",
"arguments": {
"install" : [
{
"name": "domain",
"ask": {
"en": "Choose a domain for Jappix"
},
"example": "domain.org"
},
{
"name": "path",
"ask": {
"en": "Choose a path for Jappix"
},
"example": "/jappix",
"default": "/jappix"
}
]
}
}