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

Apply suggestions from code review

This commit is contained in:
Sebastian Gumprich 2022-02-06 21:18:22 +00:00 committed by GitHub
parent 0fb23cc6fe
commit 55ae72b326
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 12 additions and 10 deletions

View file

@ -31,18 +31,17 @@ Create and email invoices, track payments, expenses, and time tasks
This is the new version of InvoiceNinja. There are several things not working at the moment: This is the new version of InvoiceNinja. There are several things not working at the moment:
* migration from v4
* installation into a sub-directory * installation into a sub-directory
* sending mails * sending mails
Invoice Ninja is the #1 open-source platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. Invoice Ninja is the the leading self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients.
## YunoHost specific features ## YunoHost specific features
#### Multi-user support #### Multi-user support
* There is no official LDAP support * There is no official LDAP support
* The first user gets created after installing Invoice Ninja * The first user gets created after installing Invoice Ninja. The email-address is the one of your administrator user of the app. The password is the administration password you provided while installing.
* Other users can be created from inside the application * Other users can be created from inside the application
## Documentation and resources ## Documentation and resources

View file

@ -38,7 +38,7 @@ Invoice Ninja is the #1 open-source platform to create & email invoices, track p
#### Multi-user support #### Multi-user support
* There is no official LDAP support * There is no official LDAP support
* The first user gets created after installing Invoice Ninja * The first user gets created after installing Invoice Ninja. The email-address is the one of your administrator user of the app. The password is the administration password you provided while installing.
* Other users can be created from inside the application * Other users can be created from inside the application
## Documentations et ressources ## Documentations et ressources

View file

@ -1,5 +1,5 @@
APP_ENV=production APP_ENV=production
APP_DEBUG=true APP_DEBUG=false
APP_NAME="Invoice Ninja" APP_NAME="Invoice Ninja"
APP_URL=https://__DOMAIN__ APP_URL=https://__DOMAIN__
APP_KEY=__APP_KEY__ APP_KEY=__APP_KEY__

View file

@ -16,6 +16,10 @@ location ^~ __PATH__/ {
index index.php index.html index.htm; index index.php index.html index.htm;
if (!-e $request_filename) {
rewrite ^(.+)$ /index.php?q= last;
}
try_files $uri $uri/ __PATH__/__PATH__/index.php?q=; try_files $uri $uri/ __PATH__/__PATH__/index.php?q=;
location ~ ^__PATH__/index\.php(/.*|)$ { location ~ ^__PATH__/index\.php(/.*|)$ {

View file

@ -2,16 +2,15 @@
This is the new version of InvoiceNinja. There are several things not working at the moment: This is the new version of InvoiceNinja. There are several things not working at the moment:
* migration from v4
* installation into a sub-directory * installation into a sub-directory
* sending mails * sending mails
Invoice Ninja is the #1 open-source platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. Invoice Ninja is the the leading self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients.
## YunoHost specific features ## YunoHost specific features
#### Multi-user support #### Multi-user support
* There is no official LDAP support * There is no official LDAP support
* The first user gets created after installing Invoice Ninja * The first user gets created after installing Invoice Ninja. The email-address is the one of your administrator user of the app. The password is the administration password you provided while installing.
* Other users can be created from inside the application * Other users can be created from inside the application

View file

@ -59,7 +59,8 @@
}, },
{ {
"name": "password", "name": "password",
"type": "password" "type": "password",
"help": "Password must contain an upper case character and a number."
} }
] ]
} }

View file

@ -7,7 +7,6 @@
YNH_PHP_VERSION="7.4" YNH_PHP_VERSION="7.4"
# dependencies used by the app # dependencies used by the app
#pkg_dependencies="phantomjs gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget"
pkg_dependencies="php${YNH_PHP_VERSION}-bcmath php${YNH_PHP_VERSION}-gmp php${YNH_PHP_VERSION}-fileinfo php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-json php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-pdo php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-curl php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-mysql" pkg_dependencies="php${YNH_PHP_VERSION}-bcmath php${YNH_PHP_VERSION}-gmp php${YNH_PHP_VERSION}-fileinfo php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-json php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-pdo php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-curl php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-mysql"