Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing #49

Merged
merged 125 commits into from Mar 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
125 commits
Select commit Hold shift + click to select a range
a27723e
Upgrade to v.3.0.0
ericgaspar Dec 26, 2020
a136314
Fix
ericgaspar Dec 26, 2020
3426cd4
Fix
ericgaspar Dec 26, 2020
b388c4f
Add README_fr
ericgaspar Dec 26, 2020
8466f41
Fix
ericgaspar Dec 26, 2020
e3a52e3
Update nginx.conf
ericgaspar Dec 26, 2020
0f421c5
Fix
ericgaspar Dec 26, 2020
c899441
Update manifest.json
ericgaspar Dec 26, 2020
ea59adf
Update upgrade
ericgaspar Dec 26, 2020
7691d27
Update upgrade
ericgaspar Dec 26, 2020
b3e8ff9
Remove service
ericgaspar Dec 26, 2020
27891e4
Update upgrade
ericgaspar Dec 26, 2020
c3fe4f3
Update config-dist.php
ericgaspar Dec 26, 2020
fcc1bef
Remove path
ericgaspar Jan 22, 2021
447be6f
Merge branch 'master' into testing
ericgaspar Jan 22, 2021
a277da3
Update README_fr.md
ericgaspar Jan 22, 2021
b36b834
Update README_fr.md
ericgaspar Jan 22, 2021
653d5c3
Merge branch 'master' into testing
ericgaspar Jan 22, 2021
31f43b6
Upgrade to 3.0.1 (#4)
ericgaspar Jan 22, 2021
1e3b16f
3.0.1 (#7)
ericgaspar Jan 25, 2021
889d399
Update manifest.json
ericgaspar Jan 25, 2021
ebcc8c1
add pull request
ericgaspar Feb 19, 2021
499d0a7
Cleaning up
ericgaspar Mar 14, 2021
f6e24cd
Update manifest.json
ericgaspar Mar 15, 2021
a5b51ae
Cleaning up
ericgaspar Mar 19, 2021
179d8ea
Fix
ericgaspar Mar 25, 2021
62f8a47
Merge branch 'master' into testing
ericgaspar Mar 25, 2021
fcf9609
Fix path
ericgaspar Apr 10, 2021
af9aa98
Fix
ericgaspar Apr 11, 2021
3a64725
Fix permissions
ericgaspar Apr 18, 2021
5f612ce
[autopatch] Update issue and PR templates (#11)
yunohost-bot May 11, 2021
610dbf7
Fix
ericgaspar May 11, 2021
c71476b
[autopatch] Update issue and PR templates (#12)
yunohost-bot May 13, 2021
b0aed70
Add headers (#13)
ericgaspar May 26, 2021
f1ebbd0
Cleaning up
ericgaspar May 26, 2021
978be7b
Merge branch 'master' into testing
ericgaspar May 26, 2021
ce445e1
Update manifest.json
ericgaspar May 26, 2021
b42e80d
Merge branch 'testing' of https://github.com/YunoHost-Apps/grocy_ynh …
ericgaspar May 26, 2021
243b91b
3.1.0 (#15)
ericgaspar Jul 16, 2021
2c6d898
Merge branch 'master' into testing
ericgaspar Jul 16, 2021
6fb54e8
Fix
ericgaspar Jul 16, 2021
0cbd852
Auto-update README
Jul 16, 2021
fc3241b
Fix
ericgaspar Jul 16, 2021
436893d
Auto-update README
Jul 16, 2021
ff4b137
Set client_max_body_size to 50M
ericgaspar Jul 25, 2021
eaf20f4
Merge branch 'master' into testing
ericgaspar Jul 25, 2021
91812e9
Update manifest.json
ericgaspar Jul 25, 2021
950b85b
Auto-update README
Jul 25, 2021
c04e801
Update manifest.json
ericgaspar Aug 18, 2021
4c4ee12
3.1.1
ericgaspar Aug 21, 2021
aab0172
Auto-update README
Aug 21, 2021
d885829
Merge branch 'master' into testing
ericgaspar Aug 21, 2021
0bdd5fe
Merge branch 'testing' of https://github.com/YunoHost-Apps/grocy_ynh …
ericgaspar Aug 21, 2021
c0097ee
Fix
ericgaspar Aug 29, 2021
cce282f
Merge branch 'master' into testing
ericgaspar Sep 21, 2021
86eb100
Update manifest.json
ericgaspar Sep 21, 2021
d099b56
Upgrade 3.1.2 (#20)
ericgaspar Sep 27, 2021
db524f9
Auto-update README
Sep 27, 2021
1bbd4a7
Merge branch 'master' into testing
ericgaspar Sep 30, 2021
ce75af6
Add mbstring
ericgaspar Sep 30, 2021
bcf411a
Update manifest.json
ericgaspar Sep 30, 2021
cbb0eec
Auto-update README
Sep 30, 2021
ee71346
3.1.3 (#24)
ericgaspar Nov 16, 2021
9976d12
Merge branch 'master' into testing
ericgaspar Nov 16, 2021
dbee853
Allow api (#27)
ericgaspar Nov 19, 2021
43d9d98
Update manifest.json
ericgaspar Nov 19, 2021
d998e9b
Auto-update README
Nov 19, 2021
dda75a2
Merge branch 'master' into testing
ericgaspar Nov 19, 2021
1bdc984
remove https
ericgaspar Dec 1, 2021
8a94a86
Update DESCRIPTION.md
ericgaspar Dec 1, 2021
4112bf4
Auto-update README
Dec 1, 2021
5327d67
Add config panel
ericgaspar Dec 8, 2021
6246475
Ericgaspar patch 1 (#30)
ericgaspar Dec 8, 2021
99c9be5
Auto-update README
Dec 8, 2021
fa2836f
Merge branch 'master' into testing
ericgaspar Dec 8, 2021
88fc77c
Update upgrade
ericgaspar Dec 9, 2021
88a042e
Merge branch 'testing' of https://github.com/YunoHost-Apps/grocy_ynh …
ericgaspar Dec 9, 2021
fbc5f55
Fix
ericgaspar Jan 30, 2022
2b10587
Auto-update README
Jan 30, 2022
c848dcf
Merge branch 'master' into testing
ericgaspar Jan 30, 2022
82fa973
Merge branch 'testing' of https://github.com/YunoHost-Apps/grocy_ynh …
ericgaspar Jan 30, 2022
a567f0e
version bump
ericgaspar Feb 8, 2022
101a955
Auto-update README
Feb 8, 2022
e667e63
Merge branch 'master' into testing
ericgaspar Feb 8, 2022
fd97ead
3.2.0
ericgaspar Feb 11, 2022
559da55
Auto-update README
Feb 11, 2022
d9497c1
Update manifest.json
ericgaspar Mar 4, 2022
544b794
Update manifest.json
ericgaspar Mar 4, 2022
066872d
Upgrade to v3.2.0 (#36)
github-actions[bot] Apr 3, 2022
39c529f
Update nginx.conf
ericgaspar Apr 4, 2022
1ab8843
3.3.0
ericgaspar Apr 8, 2022
c6c0b44
Auto-update README
yunohost-bot Apr 8, 2022
8d9bf75
Merge branch 'master' into testing
ericgaspar Apr 8, 2022
9b65686
Merge branch 'testing' of https://github.com/YunoHost-Apps/grocy_ynh …
ericgaspar Apr 8, 2022
0830c46
Update _common.sh
ericgaspar Apr 8, 2022
715b52c
Update upgrade
ericgaspar Apr 25, 2022
fdd97e0
Update config-dist.php
ericgaspar Apr 25, 2022
20ede0e
Update nginx.conf
ericgaspar May 3, 2022
42a1ed5
Update check_process
ericgaspar May 3, 2022
905ff50
Merge branch 'master' into testing
ericgaspar May 3, 2022
9a46365
Update _common.sh
ericgaspar May 4, 2022
0654a8e
3.3.1
ericgaspar Jun 10, 2022
bbdb180
Auto-update README
yunohost-bot Jun 10, 2022
ffa04e5
Merge branch 'master' into testing
ericgaspar Aug 14, 2022
7d9057d
Auto-update README
yunohost-bot Aug 14, 2022
d1f56ad
Update manifest.json
ericgaspar Aug 14, 2022
804ba9b
Merge branch 'testing' of https://github.com/YunoHost-Apps/grocy_ynh …
ericgaspar Aug 14, 2022
df568df
Update upgrade
ericgaspar Aug 15, 2022
37840a9
Update upgrade
ericgaspar Aug 15, 2022
1258330
Update manifest.json
yalh76 Oct 16, 2022
a1d79e1
Auto-update README
yunohost-bot Oct 16, 2022
8a6cc16
3.3.2
ericgaspar Nov 12, 2022
78240ce
Auto-update README
yunohost-bot Nov 12, 2022
f28481e
Merge branch 'master' into testing
ericgaspar Nov 12, 2022
aa392d9
Merge branch 'master' into testing
ericgaspar Jan 11, 2023
0aabc6d
add PHP
ericgaspar Jan 11, 2023
22fa015
fix
ericgaspar Jan 11, 2023
e3e654e
Update manifest.json
ericgaspar Jan 12, 2023
5c51d88
Auto-update README
yunohost-bot Jan 12, 2023
8a31617
Upgrade auto-updater (#47)
yunohost-bot Feb 23, 2023
3774245
Version 2 (#48)
ericgaspar Mar 23, 2023
51fed39
Update manifest.toml
ericgaspar Mar 23, 2023
dc975d9
Auto-update README
yunohost-bot Mar 23, 2023
59c68d2
Merge branch 'master' into testing
ericgaspar Mar 23, 2023
8419da9
Merge branch 'testing' of https://github.com/YunoHost-Apps/grocy_ynh …
ericgaspar Mar 23, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/updater.yml
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Fetch the source code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Run the updater script
Expand All @@ -33,7 +33,7 @@ jobs:
- name: Create Pull Request
id: cpr
if: ${{ env.PROCEED == 'true' }}
uses: peter-evans/create-pull-request@v3
uses: peter-evans/create-pull-request@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Update to version ${{ env.VERSION }}
Expand Down
19 changes: 3 additions & 16 deletions README.md
Expand Up @@ -5,7 +5,8 @@ It shall NOT be edited by hand.

# Grocy for YunoHost

[![Integration level](https://dash.yunohost.org/integration/grocy.svg)](https://dash.yunohost.org/appci/app/grocy) ![Working status](https://ci-apps.yunohost.org/ci/badges/grocy.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/grocy.maintain.svg)
[![Integration level](https://dash.yunohost.org/integration/grocy.svg)](https://dash.yunohost.org/appci/app/grocy) ![Working status](https://ci-apps.yunohost.org/ci/badges/grocy.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/grocy.maintain.svg)

[![Install Grocy with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=grocy)

*[Lire ce readme en français.](./README_fr.md)*
Expand All @@ -17,28 +18,14 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in

grocy is a web-based self-hosted groceries & household management solution for your home.

**Shipped version:** 3.3.2~ynh2
**Shipped version:** 3.3.2~ynh3

**Demo:** https://en.demo.grocy.info/stockoverview

## Screenshots

![Screenshot of Grocy](./doc/screenshots/stock-en.png)

## Disclaimers / important information

## Configuration

Default login
```
user: admin
password: admin
```

## Limitations

:warning: For now, Grocy must be installed in a root domain or subdirectory.

## Documentation and resources

* Official app website: <https://grocy.info/>
Expand Down
35 changes: 11 additions & 24 deletions README_fr.md
Expand Up @@ -5,44 +5,31 @@ It shall NOT be edited by hand.

# Grocy pour YunoHost

[![Niveau d'intégration](https://dash.yunohost.org/integration/grocy.svg)](https://dash.yunohost.org/appci/app/grocy) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/grocy.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/grocy.maintain.svg)
[![Niveau d’intégration](https://dash.yunohost.org/integration/grocy.svg)](https://dash.yunohost.org/appci/app/grocy) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/grocy.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/grocy.maintain.svg)

[![Installer Grocy avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=grocy)

*[Read this readme in english.](./README.md)*

> *Ce package vous permet d'installer Grocy rapidement et simplement sur un serveur YunoHost.
Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.*
> *Ce package vous permet dinstaller Grocy rapidement et simplement sur un serveur YunoHost.
Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment linstaller et en profiter.*

## Vue d'ensemble
## Vue densemble

grocy is a web-based self-hosted groceries & household management solution for your home.

**Version incluse :** 3.3.2~ynh2
**Version incluse :** 3.3.2~ynh3

**Démo :** https://en.demo.grocy.info/stockoverview

## Captures d'écran

![Capture d'écran de Grocy](./doc/screenshots/stock-en.png)

## Avertissements / informations importantes

## Configuration

Connexion par défaut
```
utilisateur : admin
mot de passe : admin
```

## Limitations
## Captures d’écran

:warning: Pour l'instant, Grocy doit être installé dans un domaine racine ou un sous-domaine.
![Capture d’écran de Grocy](./doc/screenshots/stock-en.png)

## Documentations et ressources

* Site officiel de l'app : <https://grocy.info/>
* Dépôt de code officiel de l'app : <https://github.com/grocy/grocy>
* Site officiel de lapp : <https://grocy.info/>
* Dépôt de code officiel de lapp : <https://github.com/grocy/grocy>
* Documentation YunoHost pour cette app : <https://yunohost.org/app_grocy>
* Signaler un bug : <https://github.com/YunoHost-Apps/grocy_ynh/issues>

Expand All @@ -58,4 +45,4 @@ ou
sudo yunohost app upgrade grocy -u https://github.com/YunoHost-Apps/grocy_ynh/tree/testing --debug
```

**Plus d'infos sur le packaging d'applications :** <https://yunohost.org/packaging_apps>
**Plus dinfos sur le packaging dapplications :** <https://yunohost.org/packaging_apps>
27 changes: 0 additions & 27 deletions check_process

This file was deleted.

6 changes: 0 additions & 6 deletions conf/app.src

This file was deleted.

2 changes: 1 addition & 1 deletion conf/nginx.conf
Expand Up @@ -2,7 +2,7 @@
location __PATH__/ {

# Path to source
alias __FINALPATH__/public/;
alias __INSTALL_DIR__/public/;

index index.php;

Expand Down
11 changes: 0 additions & 11 deletions doc/DISCLAIMER.md

This file was deleted.

11 changes: 0 additions & 11 deletions doc/DISCLAIMER_fr.md

This file was deleted.

6 changes: 6 additions & 0 deletions doc/POST_INSTALL.md
@@ -0,0 +1,6 @@
Default login

```
user: admin
password: admin
```
5 changes: 5 additions & 0 deletions doc/POST_INSTALL_fr.md
@@ -0,0 +1,5 @@
Connexion par défaut
```
utilisateur : admin
mot de passe : admin
```
60 changes: 0 additions & 60 deletions manifest.json

This file was deleted.

57 changes: 57 additions & 0 deletions manifest.toml
@@ -0,0 +1,57 @@
packaging_format = 2

id = "grocy"
name = "Grocy"
description.en = "Web-based groceries & household management solution for your home"
description.fr = "Solution Web de gestion d'épicerie et de gestion de la maison"

version = "3.3.2~ynh3"

maintainers = ["eric_G"]

[upstream]
license = "MIT"
website = "https://grocy.info/"
demo = "https://en.demo.grocy.info/stockoverview"
code = "https://github.com/grocy/grocy"

[integration]
yunohost = ">= 11.1.15"
architectures = "all"
multi_instance = true
ldap = true
sso = false
disk = "50M"
ram.build = "50M"
ram.runtime = "50M"
[install]
[install.domain]
type = "domain"
full_domain = true

[install.language]
ask.en = "Choose the application language"
ask.fr = "Choisissez la langue de l'application"
type = "string"
choices = ["de", "en", "es", "fr", "it", "pt"]
default = "fr"

[install.init_main_permission]
type = "group"
default = "visitors"

[resources]
[resources.sources.main]
url = "https://github.com/grocy/grocy/releases/download/v3.3.2/grocy_3.3.2.zip"
sha256 = "285e33c6b0bcae545468129ce222c8b7a4d2007309fad396a6d32c55c8b1556b"
in_subdir = false

[resources.system_user]

[resources.install_dir]

[resources.permissions]
main.url = "/"

[resources.apt]
packages = "php8.0-ldap php8.0-mbstring php8.0-fileinfo php8.0-sqlite3 php8.0-gd php8.0-intl"
4 changes: 0 additions & 4 deletions scripts/_common.sh
Expand Up @@ -4,10 +4,6 @@
# COMMON VARIABLES
#=================================================

YNH_PHP_VERSION="8.0"

pkg_dependencies="php${YNH_PHP_VERSION}-ldap php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-fileinfo php${YNH_PHP_VERSION}-sqlite3 php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-intl"

#=================================================
# PERSONAL HELPERS
#=================================================
Expand Down
19 changes: 1 addition & 18 deletions scripts/backup
Expand Up @@ -10,23 +10,6 @@
source ../settings/scripts/_common.sh
source /usr/share/yunohost/helpers

#=================================================
# MANAGE SCRIPT FAILURE
#=================================================

ynh_abort_if_errors

#=================================================
# LOAD SETTINGS
#=================================================
ynh_print_info --message="Loading installation settings..."

app=$YNH_APP_INSTANCE_NAME

final_path=$(ynh_app_setting_get --app=$app --key=final_path)
domain=$(ynh_app_setting_get --app=$app --key=domain)
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)

#=================================================
# DECLARE DATA AND CONF FILES TO BACKUP
#=================================================
Expand All @@ -36,7 +19,7 @@ ynh_print_info --message="Declaring files to be backed up..."
# BACKUP THE APP MAIN DIR
#=================================================

ynh_backup --src_path="$final_path"
ynh_backup --src_path="$install_dir"

#=================================================
# BACKUP THE NGINX CONFIGURATION
Expand Down