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

730 commits

Author SHA1 Message Date
Éric Gaspar
4e0a6356b8 Update upgrade 2024-09-03 14:58:06 +02:00
Éric Gaspar
294298df8d Update upgrade 2024-09-03 14:51:44 +02:00
É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
Kayou
d0400f751d
Testing (#713)
* 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

* find files before chown them

* chown the root folder too

* fix find condition

* find ... chmod is not faster, at least avoid to chown -R the data_dir in the upgrade script

* add a button in the config panel to run chown/chmod on data_dir

* we can avoid this chmod too i guess?

* only nextcloud is allowed to read the config file

* zblerg, the config file doesn't exist before install

* wait until nginx has actually remove the nextcloud conf during upgrade before checking the url_handled

* create a function for that

* fix change-url dav detection

* only if domain has changed...

* Update scripts/_common.sh

* moar sleep

* oups

* minor typos

* Update backup

* minor typos

---------

Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
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>
2024-08-08 17:20:30 +02:00
Éric Gaspar
2f88a3e043 Merge branch 'testing' into v2_PostgreSQL 2024-08-03 09:56:26 +02:00
Éric Gaspar
31fd6a50f4 minor typos 2024-08-03 09:53:16 +02:00
Éric Gaspar
a86e321c50 Update backup 2024-08-03 09:52:05 +02:00
Éric Gaspar
e83c680c54 minor typos 2024-08-03 09:49:44 +02:00
Éric Gaspar
f985ed4be9 Update _common.sh 2024-08-03 09:46:30 +02:00
Éric Gaspar
8cfdb4fb9f Merge branch 'testing' into v2_PostgreSQL 2024-08-02 09:33:57 +02:00
Kayou
5e498ded58
oups 2024-08-01 17:29:50 +02:00
Kayou
8a7f99d354
moar sleep 2024-08-01 17:29:04 +02:00
Éric Gaspar
ad86334619 Merge branch 'testing' into v2_PostgreSQL 2024-08-01 14:10:39 +02:00
Kayou
4372e3db8c
Merge pull request #711 from YunoHost-Apps/speedup-chown
Avoid chown data_dir during the upgrade process
2024-08-01 14:09:52 +02:00
Kayou
fa5da4fe66
Update scripts/_common.sh 2024-08-01 14:07:39 +02:00
Kayou
73a3498b93
only if domain has changed... 2024-08-01 11:54:17 +02:00
Kayou
49ec72b6ef
fix change-url dav detection 2024-08-01 11:53:29 +02:00
Kayou
d7f9b2c9fd
create a function for that 2024-08-01 11:53:16 +02:00
Kayou
5556fb6549
wait until nginx has actually remove the nextcloud conf during upgrade before checking the url_handled 2024-08-01 11:44:40 +02:00
Kayou
07f90a85f6
zblerg, the config file doesn't exist before install 2024-08-01 09:30:49 +02:00
Kayou
55b5c7900f
only nextcloud is allowed to read the config file 2024-08-01 00:16:45 +02:00
Kayou
30b2d8123a
we can avoid this chmod too i guess? 2024-07-31 15:13:04 +02:00
Kayou
d240d552b4
add a button in the config panel to run chown/chmod on data_dir 2024-07-31 15:11:08 +02:00
Kayou
706d5071c6
find ... chmod is not faster, at least avoid to chown -R the data_dir in the upgrade script 2024-07-31 14:59:55 +02:00
Kayou
8d682cbdbc
fix find condition 2024-07-31 11:56:49 +02:00
Kayou
5dc5e8ba10
chown the root folder too 2024-07-30 18:30:19 +02:00
Kayou
e215d9c5c9
find files before chown them 2024-07-30 16:52:31 +02:00
Éric Gaspar
a52df89f90 Merge branch 'testing' into v2_PostgreSQL 2024-07-30 15:40:30 +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
Kayou
ae916549ca
zblerg, do not modify system_addressbook_exposed config value in the upgrade script 2024-07-29 15:39:44 +02:00
Kayou
4fa1f991eb
another fix for system_addressbook_exposed, update the dav conf accordingly 2024-07-29 13:20:37 +02:00
Kayou
7f40b5a17b
migrate system_addressbook_exposed to boolean, fix upgrade test 2024-07-29 11:22:01 +02:00
Éric Gaspar
7d25e4ecaf Update upgrade 2024-07-26 21:17:53 +02:00
Éric Gaspar
8a090a9662 Update upgrade 2024-07-26 18:41:37 +02:00
Éric Gaspar
d9b99c496d Update upgrade 2024-06-27 16:06:12 +02:00
Éric Gaspar
e33fafe3a2 Merge branch 'testing' into v2_PostgreSQL 2024-06-27 11:51:45 +02:00
Alexandre Aubin
f7c21e467e Fix again upgrade ending with Nextcloud being in PHP 8.2 ? 2024-06-27 11:35:00 +02:00
Alexandre Aubin
88fbb734c8 Indent 2024-06-27 11:33:57 +02:00
Éric Gaspar
4d8b668ebf Update upgrade 2024-06-25 15:49:58 +02:00
Éric Gaspar
1583a7c9c4 Update upgrade 2024-06-25 15:47:53 +02:00
Éric Gaspar
2d4ff6bfbf Update upgrade 2024-06-25 15:44:07 +02:00
Éric Gaspar
7e51d535cb Merge branch 'testing' into v2_PostgreSQL 2024-06-25 15:37:56 +02:00