Vincent Petry
fb2fd34576
Merge pull request #28263 from Hinyka/bugfix/27759
...
Fix Lots of Error: file_exists(): open_basedir restriction in effect.…
2021-10-01 14:45:40 +02:00
Christoph Wurst
05cfbf472c
Merge pull request #28915 from nextcloud/fix/improve-bug-reporting
...
Improve syntax error reporting
2021-09-30 12:30:50 +02:00
Vincent Petry
3c614aa242
Merge pull request #29005 from nextcloud/bugfix/noid/remove-dead-code
...
Remove dead code
2021-09-30 11:49:00 +02:00
Joas Schilling
151271f832
Remove dead code
...
- Return was always an empty array
- Return was not used by the one place that called the method
- the continue can be removed as there is nothing else done inside the loop
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-09-30 10:42:35 +02:00
Carl Schwan
04f1882386
Merge pull request #28189 from nextcloud/work/carl/admin-delegation
...
Implement Admin Delegation
2021-09-29 22:48:32 +02:00
Carl Schwan
6958d8005a
Add admin privilege delegation for admin settings
...
This makes it possible for selected groups to access some settings
pages.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-09-29 21:43:31 +02:00
Louis Chemineau
18d32a1ce7
Prevent empty base URL during installation
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-09-29 16:45:33 +02:00
Daniel Kesselberg
dff76f021f
Fix check for redis minimal version
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-09-22 19:04:00 +02:00
Carl Schwan
e1c4b648d1
Improve syntax error reporting
...
In some cases the error information is not enough to debug it.
Before:
syntax error, unexpected '<<' (T_SL)
/var/www/html/lib/private/AppFramework/Http/Dispatcher.php
158
After:
syntax error, unexpected '<<' (T_SL) in file '/var/www/html/apps/groupfolders/lib/Mount/GroupFolderStorage.php' line 88
/var/www/html/lib/private/AppFramework/Http/Dispatcher.php
158
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-09-21 10:28:26 +02:00
Vincent Petry
24e0255378
Fall back to full file for video previews
...
If the first 5 MB are not enough to grab a useful frame for the
thumbnail preview, fall back to reading the full file.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-09-18 10:53:00 +02:00
Christoph Wurst
959e4cb0bf
Merge pull request #28822 from nextcloud/enh/noid/contactsmenu-email
...
Add email addresses to contacts menu
2021-09-16 09:16:21 +02:00
Daniel Kesselberg
024881dbd3
Add email addresses to contacts menu
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-09-15 16:58:44 +02:00
Julius Härtl
8e7f63b274
Merge pull request #28802 from paulijar/enh/s3_seek_from_end
...
Support seeking also from the end of file on S3 storage
2021-09-14 13:52:28 +02:00
Lukas Reschke
0dcc5c0e9f
Merge pull request #28728 from nextcloud/add-database-backend-limiter
...
Add database ratelimiting backend
2021-09-13 13:07:37 +02:00
Lukas Reschke
474a5b55d3
Implement review feedback
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-09-13 11:01:35 +02:00
Lukas Reschke
358eaba7dd
Apply suggestions from code review
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2021-09-13 10:43:01 +02:00
Pauli Järvinen
a335592f14
Support seeking also from the end of file on S3 storage
...
The PR https://github.com/nextcloud/server/pull/20033 added support
for `fseek` for the S3 storage backend. However, the seek mode SEEK_END
was left out that time. This PR fills this gap.
Signed-off-by: Pauli Järvinen <pauli.jarvinen@gmail.com>
2021-09-11 17:43:50 +03:00
John Molakvoæ
78d62063ff
Merge pull request #28422 from nextcloud/enh/27465/notification-email
2021-09-10 08:34:20 +02:00
blizzz
5c1b40ec36
Merge pull request #28677 from nextcloud/fix/noid/mysql-collation
...
make it possible to override the default collation on mysql
2021-09-09 19:39:30 +02:00
Arthur Schiwon
27865d03c0
use specific email getter where necessary
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-09 19:23:05 +02:00
Arthur Schiwon
4461b9e870
enable the user to set a primary (notification) email address (backend)
...
- specific getters and setters on IUser and implementation
- new notify_email field in provisioning API
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-09 19:23:04 +02:00
Arthur Schiwon
0dee717c94
Confirm mails only per POST
...
- this is to avoid automatic confirmation by certain softwares that open
links
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-09 19:23:04 +02:00
Arthur Schiwon
a20de15b43
add a job to clean up expired verification tokens
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-09 14:03:35 +02:00
Arthur Schiwon
37f510cec2
fix parameter type hint in phpdoc
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-09 14:03:35 +02:00
Arthur Schiwon
aacaad2a3f
implement verification for additional mails
...
- mails added by (sub)admins are automatically verified
- provisioning_api controller as verification endpoint
- IAccountProperty gets a locallyVerified property
- IPropertyCollection gets a method to fetch an IAccountProperty by value
- an remove equivalent was already present
- AccountManager always initiates mail verification on update if necessary
- add core success template for arbitrary title and message
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-09 14:03:35 +02:00
Arthur Schiwon
19cc757531
move verification token logic out of lost password controller
...
- to make it reusable
- needed for local email verification
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-09 14:03:29 +02:00
Lukas Reschke
471167019c
Implement PR review feedback
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-09-07 18:03:34 +02:00
Lukas Reschke
a915372c56
phpcs
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-09-06 17:50:23 +02:00
Lukas Reschke
378cc922c4
Adjust logic to store period instead of current timestamp
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-09-06 17:31:36 +02:00
Hinrich Mahler
961f8958c0
Let users choose a share_folder
2021-09-06 16:39:11 +02:00
Lukas Reschke
d4f97affc1
Add database ratelimiting backend
...
In case no distributed memory cache is specified this adds
a database backend for ratelimit purposes.
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-09-06 16:31:01 +02:00
Arthur Schiwon
ce283c12b6
make it possible to override the default collation
...
- allows admins to configure it for edge cases like accent sensitivity
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-01 11:57:47 +02:00
Christopher Ng
cc5815dcd0
Provide initial state
...
- camelCase language strings
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-08-27 05:06:12 +00:00
Vincent Petry
9c6bbfac45
Unregister enc stream wrapper for any exception
...
This prevents side effects in tests by properly cleaning up
even with expected exceptions.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-08-26 10:52:23 +02:00
Christoph Wurst
006aac9a0c
Merge pull request #28473 from nextcloud/fix-file-get-contents
...
Fix path of `file_get_contents`
2021-08-25 09:28:52 +02:00
Vincent Petry
e32d293346
Merge pull request #28476 from nextcloud/search-jail-insensitive
...
use case insensitive like when limiting search to jail
2021-08-24 08:59:35 +02:00
Robin Appelman
c688703117
use getGetUnjailedRoot to determine if jailed search needs the path filter
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-08-23 16:27:53 +02:00
Bernd Rederlechner
3866f388b1
Refactor writeObject to only use MultipartUpload when required
...
Signed-off-by: Bernd Rederlechner <Bernd.Rederlechner@t-systems.com>
Co-authored-by: Julius Härtl <jus@bitgrid.net>
2021-08-20 17:02:25 +02:00
Joas Schilling
83d46efefd
Merge pull request #28478 from jzombi/patch-1
...
Fix SQL type error
2021-08-20 11:47:27 +02:00
Christoph Wurst
d73b378c22
Merge pull request #28504 from nextcloud/fix/debug-movie-preview
...
Properly log errors in Movie previews generation
2021-08-19 20:00:09 +02:00
John Molakvoæ (skjnldsv)
40c10ab145
Properly log errors in Movie previews generation
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-08-19 09:47:12 +02:00
Daniel Kesselberg
60a7f5c53e
Remove unused method
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-08-18 22:10:40 +02:00
John Molakvoæ
3ac9b565db
Merge pull request #28493 from nextcloud/bugfix/occ-error-output
...
Write upgrade/not-installed notices to stderr
2021-08-18 18:52:02 +02:00
Julius Härtl
bccdd32d4f
Merge pull request #28485 from nextcloud/bugfix/20913/check-image-resource
...
Fix #20913 : Check image resource before attempting to preserve alpha
2021-08-18 17:33:05 +02:00
acsfer
280dd851b3
Avoid usage of Nextcloud API, use PHP function
2021-08-18 15:21:05 +02:00
Julius Härtl
95987d903d
Merge pull request #28481 from nextcloud/fix/hash-key
...
Hash cache key
2021-08-18 15:18:58 +02:00
Julius Härtl
b8b73fa9e4
Write upgrade/not-installed notices to stderr
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-08-18 14:31:49 +02:00
John Molakvoæ
7ab39effd3
Merge pull request #28413 from nextcloud/fix/app-token-login-name-mismatch-logging
2021-08-18 14:08:12 +02:00
Simon Spannagel
58f55975e0
Fix #20913 : Check image resource before attempting to preserve alpha
...
Signed-off-by: Simon Spannagel <simonspa@kth.se>
2021-08-18 07:36:11 +02:00
Christopher Ng
60ecc432a4
Hash cache key
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-08-17 21:55:01 +00:00