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

469 commits

Author SHA1 Message Date
frju365
2c937c078f
Merge pull request #89 from YunoHost-Apps/fix_cron_dont_ovewrite_settings
Fix cron config file rights and don't ovewrite all settings at upgrade
2018-02-07 11:38:33 +01:00
frju365
2e461f5165
Update README.md 2018-02-07 11:07:09 +01:00
frju365
64e3a09211
Update manifest.json 2018-02-07 11:06:45 +01:00
frju365
1904a1e759
New Version 13 2018-02-07 11:04:39 +01:00
Jimmy Monin
40526739d2 Don't overwrite all settings during upgrade 2018-01-29 21:59:28 +01:00
Jimmy Monin
009466999d Fix cron config file rights (fixes #88) 2018-01-29 21:58:35 +01:00
Maniack Crudelis
47b2c3faae
Merge pull request #86 from YunoHost-Apps/enh_12.0.5
Upgrade to upstream version 12.0.5
2018-01-27 16:25:12 +01:00
Maniack Crudelis
b81028f14c
Merge pull request #85 from YunoHost-Apps/fix_log_rotate
Fix duplicate log entry in logrotate
2018-01-27 16:25:04 +01:00
Maniack Crudelis
d3ea430d93
Merge pull request #84 from YunoHost-Apps/fix_logout
Fix logout (#83)
2018-01-27 16:24:51 +01:00
Jimmy Monin
50defe4165 Upgrade to upstream version 12.0.5 2018-01-24 15:57:17 +01:00
Maniack Crudelis
23f809d44c
Fix duplicate log entry in logrotate 2018-01-22 19:59:29 +01:00
Jimmy Monin
68c2f41da6 Move patches to the right folder (fixes #83) 2018-01-19 21:46:53 +01:00
JimboJoe
c1dd48d70a
Merge pull request #77 from YunoHost-Apps/enh_redis_locking
Enable Redis file locking
2018-01-13 09:23:48 +01:00
JimboJoe
67504a8925
Merge pull request #65 from YunoHost-Apps/testing
Testing
2018-01-13 09:22:24 +01:00
Jimmy Monin
02c38a3c79 Merge remote-tracking branch 'remotes/origin/testing' into enh_redis_locking 2017-12-21 12:05:15 +01:00
JimboJoe
ca4dd0f008
Merge pull request #76 from YunoHost-Apps/enh_update_12.0.4
Upgrade to upstream version 12.0.4 (fixes #75)
2017-12-17 08:43:51 +01:00
Jimmy Monin
57c8122f4a Enable Redis use for file locking
https://docs.nextcloud.com/server/12.0/admin_manual/configuration_server/caching_configuration.html#small-organization-single-server-setup
2017-12-14 11:38:41 +01:00
Jimmy Monin
2c92e58014 Extend timeouts (for Gallery plugin at least) 2017-12-14 11:37:40 +01:00
Jimmy Monin
3dcf602d11 Complete imagemagick dependency (for gallery plugin) 2017-12-14 10:23:17 +01:00
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
anmol26s
f65a9b28ba
Added the "php-ldap" dependency
## Problem
- *Issue https://github.com/YunoHost-Apps/nextcloud_ynh/issues/69* 
```
Warning:   [Exception]
Warning:   App "LDAP user and group backend" cannot be installed because the following dependencies are not fulfilled: The library ldap is not available.
```
Dependency not installed : LDAP plugin of PHP.

## Solution
- *Install missing dependencies "php-ldap"*

## PR Status
To be reviewed. 

## Validation
---
*Minor decision*
- [ ] **Upgrade previous version** : 
- [ ] **Code review** : 
- [ ] **Approval (LGTM)** : 
- [ ] **Approval (LGTM)** : 
- [ ] **CI succeeded** : 
When the PR is mark as ready to merge, you have to wait for 3 days before really merge it.
2017-11-02 16:07:22 +05:30
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