1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00
Commit graph

38 commits

Author SHA1 Message Date
Éric Gaspar
5164bc756f Merge branch 'testing' into v2_PostgreSQL 2024-09-03 14:26:05 +02:00
Kayou
19ae3b021f
Fix notify_push after reboot/restart the service, create the folder /var/run/nextcloud via systemd 2024-09-01 10:51:41 +02:00
Éric Gaspar
5f3de8b607 Merge branch 'testing' into v2_PostgreSQL 2024-08-27 22:18:33 +02:00
Kayou
9da7de29d7
Merge pull request #717 from x3rAx/patch-1
Fix removing ACL permissions on uninstall
2024-08-27 16:32:18 +02:00
Éric Gaspar
42a511f7ed Merge branch 'testing' into v2_PostgreSQL 2024-08-27 14:53:33 +02:00
Kayou
d7d24034cf
Add notify push option (#417)
* add notify_push option

* self-test notify_push

* fix notify_app

* new permission hpb, some fixes

* fix the restore script

* fix restore²

* fix upgrade

* fix socket path

* Update doc/DISCLAIMER_fr.md

* split nginx conf

* use official helpers with modified args

* Auto-update READMEs

* update nginx conf, add new services

* add tests

* add arch var

* tests: enable_notify_push is false by default

* fix upgrade

* final_path -> install_dir

* fix socket nginx path

* add notify_push nginx conf before, so the reload in ynh_add_nginx_config load it

* fully functional version

* readd a removed fix

* run cron task after notify push setup

* Auto-update READMEs

* remove systemd files

* add notify push in config panel

* add cron again because to make notify push happy

* fix indent

* enable/disable the notify push path

* fix path unit

* exec only for nextcloud user

* move sock file to /var/run

* start notify-push after the watcher

* ²

* remove warning

* cron can sometimes fail when the database is not fully initialized, retries the cron job several times and catch catch the error on failure

* oupsie

* Apply suggestions from code review

Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com>

---------

Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
2024-08-27 14:52:11 +02:00
^x3ro
abfb04de91 Fix: Use absolute path for removing ACL permissions 2024-08-14 01:20:26 +02:00
^x3ro
aae9736b43 Fix: Add missing file argument to setfacl 2024-08-14 01:00:47 +02:00
Björn Richter
1c8a1ba2c8 Fix removing ACL permissions on uninstall
According to `man setfacl`, for the `--remove`  option "[o]nly ACL
entries without the perms field are accepted as parameters".
2024-08-14 00:30:51 +02:00
eric_G
79bbe7d11e
Testing (#693)
* Update manifest.toml

* Auto-update READMEs

* add pre upgrade warning for NC 29

* update to PHP8.3

* Auto-update READMEs

* Update manifest.toml

* Auto-update READMEs

* Fix space splitting in phpflags on install (#690)

* Auto-update READMEs

* Update upgrade

* Update manifest.toml

* Auto-update READMEs

* Fix phpflags (#691)

* Fix upgrade: php version is 8.3 starting from 29.x ? (#692)

* Update manifest.toml

* Auto-update READMEs

* Update tests.toml

* [autopatch] Do not delete logs on app removal (#697)

* [autopatch] Do not delete logs on app removal (#698)

Co-authored-by: Yunohost-Bot <>

* 29.0.3

* Auto-update READMEs

* Update remove

* Indent

* Fix again upgrade ending with Nextcloud being in PHP 8.2 ?

* Auto-update READMEs

* Update nginx.conf

* Update manifest.toml

* Auto-update READMEs

* Rework DESCRIPTION.md (#707)

* Update DESCRIPTION_fr.md

* Auto-update READMEs

* Update DESCRIPTION.md

* Auto-update READMEs

* Update DESCRIPTION_fr.md

* Auto-update READMEs

---------

Co-authored-by: yunohost-bot <yunohost@yunohost.org>

* bump all old versions

* oupsie

* Auto-update READMEs

* system_addressbook_exposed is a boolean

* Auto-update READMEs

* migrate system_addressbook_exposed to boolean, fix upgrade test

* another fix for system_addressbook_exposed, update the dav conf accordingly

* zblerg, do not modify system_addressbook_exposed config value in the upgrade script

* add redis-server as deps

---------

Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: OniriCorpe <oniricorpe@disroot.org>
Co-authored-by: lyyn <79758863+lyynd@users.noreply.github.com>
Co-authored-by: tituspijean <titus+yunohost@pijean.ovh>
Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com>
Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com>
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
Co-authored-by: Kayou <pierre@kayou.io>
2024-07-30 15:39:48 +02:00
Éric Gaspar
7e51d535cb Merge branch 'testing' into v2_PostgreSQL 2024-06-25 15:37:56 +02:00
Éric Gaspar
26bfa59cb4 Update remove 2024-06-25 15:36:46 +02:00
YunoHost Bot
89899fd709
[autopatch] Do not delete logs on app removal (#697) 2024-06-23 02:54:07 +02:00
Éric Gaspar
c1d0950a6b Merge branch 'testing' into v2_PostgreSQL 2024-02-29 16:48:54 +01:00
OniriCorpe
e1652d4583 remove logs at app removal 2024-02-27 22:56:09 +01:00
Éric Gaspar
d7568ca230 cleaning 2024-01-11 21:49:47 +01:00
Alexandre Aubin
bee14c8972 Simplify the overly complex mess about fpm_usage, fpm_footprint ... and fpm_free_footprint doesn't seem to even be something used anywhere 2024-01-08 23:10:11 +01:00
Éric Gaspar
6b192d01e3 cleaning 2023-06-11 10:11:11 +02:00
Éric Gaspar
eff9cce7c9 v2 2022-11-04 23:09:00 +01:00
Éric Gaspar
e877ce9c89 v2 2022-11-04 22:56:33 +01:00
Éric Gaspar
3b59475f71
Add db_user var 2022-06-14 14:59:47 +02:00
ericgaspar
383f2a0045
Add --purge option 2021-11-14 16:01:21 +01:00
ericgaspar
8a52c9d401
Small typos 2020-10-03 12:11:28 +02:00
ericgaspar
8f7fb69e83
Minor typos 2020-09-13 12:41:43 +02:00
Maniack Crudelis
57225b8c6a Normalization from example_ynh 2019-05-12 21:40:00 +02:00
Jimmy Monin
493172ea4d Add fail2ban configuration 2019-03-24 22:57:40 +01:00
Maniack Crudelis
764209306b Add progression with ynh_print_info 2019-02-17 20:57:31 +01:00
Maniack Crudelis
1a993ae9b9 Normalization from example_ynh 2019-02-16 17:18:56 +01:00
Maniack Crudelis
8ea155ee6d Complete refactoring
* Refactoring
* Fix upgrade script
* Fix owncloud migration + new helper ynh_handle_app_migration
* Add more informations about ynh_handle_app_migration
* Fix typos, enhance comments, fix spacing
* Rename $dependencies to $pkg_dependencies as matter of homogeneity with other apps
* [enh] Change the label during the migration
2017-09-26 07:18:12 +02:00
Jimmy Monin
34e1085a9f Setup log rotation (closes #25) 2017-04-17 14:12:15 +02:00
Maniack Crudelis
ebb198f3e9 Minor enhancements on remove script 2017-02-19 17:51:20 +01:00
Maniack Crudelis
dd9b168716 Fix /var/www/$app remove !
C'est pas testé par contre. A vérifier quand même.
2017-02-19 17:03:45 +01:00
Jérôme Lebleu
456c77ec68 [enh] Upgrade the package to ship Nextcloud v9.0.51 2016-06-30 21:55:50 +02:00
Jérôme Lebleu
25698019e7 [enh] Use cron job for background tasks (close #406) 2016-06-10 21:32:55 +02:00
Jérôme Lebleu
626144f59e [fix] Check correct user id at removal 2016-05-28 21:52:09 +02:00
Jérôme Lebleu
d37d87fdeb [enh] Make use of ynh_die and YNH_APP_INSTANCE_NAME env var 2016-05-14 21:59:14 +02:00
Jérôme Lebleu
e2e339fb32 [fix] Do not restrict owncloud user as system one at removal 2016-05-06 23:58:31 +02:00
Jérôme Lebleu
4fcbb58642 [enh] Rewrite install/remove script for ownCloud 9.0
ownCloud 9.0 comes with improved occ which allows to install easily from
the command-line. This install rewrite uses those new facilities and also uses
the config:import command to set system and LDAP configuration.
2016-04-02 11:43:48 +02:00