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

149 commits

Author SHA1 Message Date
Jimmy Monin
6f26cb657f Remove useless set -eu command 2017-12-04 21:55:12 +01:00
Jimmy Monin
eb040b3780 Minor linter fixes 2017-12-04 21:36:42 +01:00
Jimmy Monin
0938148aac Upgrade to upstream version 12.0.4 2017-12-04 21:36:01 +01:00
Maniack Crudelis
2d6509172b
Merge pull request #64 from YunoHost-Apps/enh-nextcloud-12.0.3
Upgrade to upstream version 12.0.3
2017-11-22 17:10:33 +01:00
Maniack Crudelis
e222d25f8e
Merge pull request #72 from YunoHost-Apps/fix_restore
Fix restore with backup_core_only
2017-11-22 16:49:06 +01:00
Maniack Crudelis
8e0065fffe
Fix datadir test 2017-11-19 18:45:50 +01:00
Maniack Crudelis
748249566f
Fix restore with backup_core_only 2017-11-02 12:53:49 +01:00
Jimmy Monin
ce6c781852 fix missing PATH env variable 2017-10-24 19:12:09 +02:00
Jimmy Monin
e27c193a26 Upgrade to upstream version 12.0.3 2017-09-26 07:23:55 +02: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
Rafi59
8f98d512b1 Upgrade to 12.0.2 closes #61 (#62) 2017-09-05 22:15:36 +02:00
Rafi59
ba686d5c0e Merge pull request #52 from YunoHost-Apps/fix_csp-nonce_ynh-fonts
Disable  CSPv3 nonces and allow YunoHost fonts data (fixes #26 missing YunoHost tile and #18 blank page)
2017-09-02 10:32:21 +02:00
Jimmy Monin
1787347bf0 Merge branch 'master' into fix_csp-nonce_ynh-fonts 2017-08-29 19:57:35 +02:00
Jeremy MANSON
769eedfa00 Possible HTTP-Splitting vulnerability (#33)
Problem: [http_splitting] Possible HTTP-Splitting vulnerability.
Description: Using variables that can contain "\n" may lead to http injection.
Additional info: https://github.com/yandex/gixy/blob/master/docs/en/plugins/httpsplitting.md
Reason: At least variable "$uri" can contain "\n"
2017-08-23 09:13:56 +02:00
frju365
1a552c32a2 [Fix] Yunohost Version (Fixes #56)
[Fix] Yunohost Version (Fixes #56)
2017-08-18 17:36:58 +02:00
frju365
cc0126c145 [Fix] Yunohost Version (Fixes #56) 2017-08-18 17:23:53 +02:00
frju365
4e77a9219f Merge pull request #54 from YunoHost-Apps/Upgrade_12.0.1
Upgrade to nextcloud  12.0.1
2017-08-15 15:44:56 +02:00
Jimmy Monin
2154f395b4 Fix checksum 2017-08-10 12:39:23 +02:00
Jimmy Monin
dc7fa5f9c3 Merge branch 'master' into Upgrade_12.0.1 2017-08-10 12:11:39 +02:00
Rafi59
6db2de35f5 [fix] Checksum error 2017-08-09 15:55:44 +02:00
Rafi59
1be973cc70 Update README.md 2017-08-09 12:31:10 +02:00
Rafi59
74293f3beb Merge branch 'master' into fix_csp-nonce_ynh-fonts 2017-08-08 17:06:53 +02:00
Rafi59
2f3c7e25b3 Update upgrade.last.sh 2017-08-08 14:50:44 +02:00
Rafi59
ee51bdb1d2 Update README.md 2017-08-08 12:46:52 +02:00
Rafi59
a4d6330eeb Update manifest.json 2017-08-08 12:46:07 +02:00
Rafi59
46c48fb636 Update upgrade.last.sh 2017-08-08 12:45:05 +02:00
Rafi59
7a0b6a669d Update upgrade.last.sh 2017-08-08 12:44:04 +02:00
Rafi59
1d202809c2 Update upgrade.last.sh 2017-08-08 12:43:05 +02:00
Jimmy Monin
041a0ee18d Disable CSPv3 nonces and allow YunoHost fonts data
Problems:
- Due to some unknown problem in the interaction between SSOwat and Nextcloud server authentication, CSP nonces are wrong when you log into Nextcloud from YunoHost portal for the first time (systematically reproduced in a browser private session). The Nextcloud page is hence almost totally blank and you have to refresh the page or click on the Nextcloud logo.
- Due to CSP protection, the YunoHost tile (inline Javascript) is blocked

Solution:
While it's not a totally satisfying solution, a somewhat acceptable workaround to these two problems is to:
- block CSP v3 features (hence nonces), but still allowing CSP v2 features
- allow for "data:" font sources (needed to load YunoHost tile fonts)

This is done via patching Nextcloud sources:
- `ContentSecurityPolicyNonceManager`: disable the CSPv3 browser compatibility detection (return false in every case)
- `EmptyContentSecurityPolicy`: add the "data:" argument in `font-src` default CSP rule.
2017-08-07 22:00:27 +02:00
Rafi59
cb3ce17086 [fix] Install with yunohost 2017-08-03 17:32:09 +02:00
Rafi59
bd8b070838 [fix] Install with yunohost 2017-08-03 17:31:27 +02:00
Rafi59
5d81287933 Update to nextcloud 12 (closes #36 and #38) (#37)
* Update to nextcloud 12
* Add correct rights
* Fix temp directory rights on upgrade
* Add server tuning
* Update php-fpm.conf
* Add new helper for fpm config
* [fix] Opcache
* [fix] nginx SAMEORIGIN
2017-08-03 17:26:39 +02:00
Jimmy Monin
2ab89810c6 Fix installation on YunoHost 2.6 (fixes #45) 2017-07-18 19:11:58 +02:00
Rafi59
a2f8542a3c Merge pull request #44 from lapineige/patch-1
Add "Install with Yunohost" button
2017-07-09 20:04:25 +02:00
lapineige
e87155fc39 Add "Install with Yunohost" button
https://github.com/YunoHost/install-app
2017-07-09 18:10:51 +02:00
Maniack Crudelis
8db5554877 Merge pull request #31 from YunoHost-Apps/upgrade_1103
Upgrade 11.0.3
2017-06-22 19:53:08 +02:00
admin
38462a53dc Add correct rights 2017-06-04 11:15:15 +02:00
Rafi59
ab01f0f547 Erreur de modification 2017-05-22 19:54:41 +02:00
Rafi59
efa9ce1d3e Update nextcloud 12.0.0 2017-05-22 18:13:11 +02:00
Rafi59
109803f7de Update nextcloud 12.0.0 2017-05-22 18:12:46 +02:00
Rafi59
b611f4e985 Update to nextcloud 12.0.0 2017-05-22 18:12:14 +02:00
Rafi59
29ea6b258a Update nextcloud to version 12.0.0 2017-05-22 18:06:21 +02:00
Rafi59
dafb636427 Update to nextcloud 12 2017-05-22 17:58:34 +02:00
Rafi59
48214068e3 Update nextcloud 12 2017-05-22 17:56:53 +02:00
Rafi59
9c1e9f2ce6 Update nextcloud 12 2017-05-22 17:55:29 +02:00
Maniack Crudelis
52f62c16f1 Upgrade 11.0.3 2017-04-25 20:47:18 +02:00
Maniack Crudelis
8ef03cd28f Merge pull request #29 from YunoHost-Apps/logrotate
Setup log rotation (closes #25)
2017-04-24 23:53:18 +02:00
Jimmy Monin
5bb0a54300 Revert "Fix temp directory rights on upgrade"
This reverts commit 89a336801f.
2017-04-17 18:08:12 +02:00
Jimmy Monin
89a336801f Fix temp directory rights on upgrade 2017-04-17 17:24:52 +02:00
Jimmy Monin
2d42994241 Merge branch 'master' into logrotate 2017-04-17 17:08:43 +02:00