| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
dont try email login if the provider username is not a valid email
|
| |
| |
| |
| | |
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
|\ \
| | |
| | | |
make NextCloud WORM file system friendly
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
To avoid extra truncate on non WORM file systems, add a new config
option `localstorage.unlink_on_truncate`, which defaults to false.
The OC\Files\Storage\Local is update to respect that option.
Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Some filesystems run as a Write-Once-Read-Many storages. This
makes them impossible to use with NexeCloud, as the file system
layers uses `truncate` syscall (through file_put_contents function).
As Nextcloud is never updates existing files, removing the old entry
and creatint a new one on update will allow NextCoud to update on such
file systems.
Update Local#fopen and Local#file_put_contents to remote existing
file before truncating.
Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
|
|\ \ \
| | | |
| | | | |
Switch logical operators (and|or)
|
| | | |
| | | |
| | | | |
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
|
| | | |
| | | |
| | | | |
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
|
| | | |
| | | |
| | | | |
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
|
|\ \ \ \
| | | | |
| | | | | |
set defaultEnabled in shipped.json
|
| | | | |
| | | | |
| | | | | |
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
|
|\ \ \ \ \
| | | | | |
| | | | | | |
fix using FSEEK_END with SeekableHttpStream to get file size
|
| |/ / / /
| | | | |
| | | | |
| | | | | |
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Make config file saving safe against write failures
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
In case of disk space depletion, writing a new version of config fails,
leaving the config file empty.
This patch improves safety of updates to config.php by saving the new
version of the config into a randomly-named temporary file in the same
directory, and then renaming it to config.php, which renaming is atomic
in POSIX-compliant filesystems and shouldn't involve disk space
allocation. If writing the new config version is impossible, the current
config remains unchanged.
This patch drops the use of file locking as unnecessary. File locking
merely established order in which the concurrent independent processes
attempted file writing. In the end, the process which was last to update
the file "wins" - their changes persist and the changes of previous
writers are dropped as there's no conflict detection or change merging
mechanism anyway. With the current change, there is still some resulting
ordering, and the last writer still wins in the same way. Readers don't
need file locking as well, as opening config.php for reading always
provides a certain consistent version of the file.
Signed-off-by: Andriy Utkin <dev@autkin.net>
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
rtrim cloudId url earlier
|
| | | | |
| | | | |
| | | | | |
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
|
| |_|_|/
|/| | |
| | | |
| | | | |
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
|
|\ \ \ \
| | | | |
| | | | | |
Fix quota type to int
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Change the quota to int from float, since the quota is a number of bits
and a bits can not be splitted.
Fix #34010
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
|
|\ \ \ \
| |/ / /
|/| | | |
Do not empty config.php file if reading failed for any reason
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
And better caching policy
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
|
|\ \ \ \
| | | | |
| | | | | |
Improve getting recent files performance
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Only do so when asking for less than 100 files and having an offset
equal to 0.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Fix Calendar tests mocking a non-existant method.
|
| | |/ / /
| |/| | |
| | | | |
| | | | | |
Signed-off-by: Anna Larch <anna@nextcloud.com>
|
|\ \ \ \ \
| | | | | |
| | | | | | |
get quota for user only when needed
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
always apply the wrapper but have the wrapper get the quota lazily only when an operation where quota is applied is performed
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Compare lowercase email when updating from ldap
|
| | |/ / / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
- LDAP has an email address with capital letters
- NC store this address in lower case
- When the user logs in, we compare the [stored email with the new lower case email](https://github.com/nextcloud/server/blob/master/lib/private/AllConfig.php#L259-L261) before storing it. Here, both email will be the same, so we won't store the new email address with upper case letters. Which is what we want.
- We then [compare emails as they are before triggering an event](https://github.com/nextcloud/server/blob/master/lib/private/User/User.php#L202-L204), they won't match, so the user will receive an email signaling an email change every time he logs in.
The fix is to compare the old email with the new lower case email before sending the event.
Signed-off-by: Louis Chemineau <louis@chmn.me>
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
Improve accessibility of the title of the settings
|
| |\ \ \ \ \
| | | | | | |
| | | | | | | |
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Before every setting page had the same title and this is causing issues
for screenreaders since they can't differenciate the title of page. Now
a new variable is available for apps to declare the page subtitle.
This new variable is implemented for the settings app and while at it I
added a bit more type hinting to the stuff I touched :)
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
handle errors from hash_final
|
| | |/ / / / /
| |/| | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Document and use the new updateDirectory if set
|
| | |_|_|_|_|/
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
To be merged after https://github.com/nextcloud/updater/pull/420
Signed-off-by: Git'Fellow <carlos@reendex.com>
|
|\ \ \ \ \ \ \
| |_|/ / / / /
|/| | | | | | |
l10n: Spelling unification
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Spelling unification in Transifex.
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
l10n: Change to administration
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
l10n: Spelling unification
Spelling unification in Transifex.
Match the menu name to the header name of the settings page.
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
|
|\ \ \ \ \ \ \
| |_|_|_|_|_|/
|/| | | | | | |
Fix creation of new user and display the correct error message
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Christopher Ng <chrng8@gmail.com>
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
filter index.php from cloudId
|
| | |_|_|_|_|/
| |/| | | | |
| | | | | | | |
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
cache cloud id data in CloudIdManager
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Signed-off-by: Robin Appelman <robin@icewind.nl>
|