Carl Schwan
6147bb611c
Revert api break
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 jaren geleden
Nextcloud bot
17bdfb1284
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 jaren geleden
Joas Schilling
31dc9aa682
Add API to change preferences
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 jaren geleden
Joas Schilling
be4faebc47
Adjust docs to the same as the implementation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 jaren geleden
Nextcloud bot
74d81655e8
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 jaren geleden
Carl Schwan
9ec0cb0a90
Fix psalm issues related to the user backend
- Reflect the actual return value returned by the implementation in the
the interface. E.g. IUser|bool -> IUser|false
- Remove $hasLoggedIn parameter from private countUser implementation.
Replace the two call with the equivalent countSeenUser
- getBackend is nuallable, add this to the interface
- Use backend interface to make psalm happy about call to undefined
methods. Also helps with getting rid at some point of the old
implementActions
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 jaren geleden
Joas Schilling
ad908cd87a
Make appName of TemplateResponse accessible in BeforeTemplateRenderedEvent
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 jaren geleden
Carl Schwan
a5a4e0df1c
Fix crop condition
Make sure that when fetching the image from the cache we don't
accidentally fetch the cropped image just because it also start with
256-256
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 jaren geleden
Julius Härtl
3742b7392d
Add explicit return if getSmallImagePreview fails
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2 jaren geleden
Daniel Kesselberg
cf2bc22e0f
Fix return type for createSpecificUser
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2 jaren geleden
Daniel Kesselberg
e163b1bb48
Rename userName to username to align with child classes
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2 jaren geleden
Nextcloud bot
cdd1793efd
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 jaren geleden
Marcel Klehr
f755ee0868
Files: Extend search to also cover tags
fixes #326
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
3 jaren geleden
Carl Schwan
05bf8b4445
Fix cropped image generated when not asked
The $crop parameter was not propagated to the imaginary pipeline and
instead it used the smartcrop algorithm always
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 jaren geleden
Thomas Citharel
4d26a9afa0
Allow to tweak default scopes for accounts
Close #6582
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2 jaren geleden
Robin Appelman
a67bf03ac0
reorder startup events to fix overlapping
current the `request` and `runtime` events overlap with the `init` event which makes it hard to create usefull visualizations.
this reorders things a bit to remove an overlap
Signed-off-by: Robin Appelman <robin@icewind.nl>
2 jaren geleden
Carl Schwan
53169890d6
Fix psalm errors fron the end of the baseline file
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 jaren geleden
Micke Nordin
0ace1831f4
Fix suggestions by @artonage
Signed-off-by: Micke Nordin <kano@sunet.se>
2 jaren geleden
Julius Härtl
d3acf8203d
Properly import maintenance script
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2 jaren geleden
Daniel Kesselberg
00b9e576b4
Fix spelling for PreConditionNotMetException
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2 jaren geleden
Daniel Kesselberg
f43df2b917
Fix spelling for return type
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2 jaren geleden
Daniel Kesselberg
c65952a5e8
Drop redundanten return comment
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2 jaren geleden
Carl Schwan
7f899b3bc8
Improve psalm annotation to make it stricter
Now using class-string<T> as input will only return T, and any other
string will return mixed
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 jaren geleden
John Molakvoæ
73918b8af9
Cleanup and compile
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 jaren geleden
John Molakvoæ
9a9409e315
Remove SCSSCacher
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 jaren geleden
Daniel Kesselberg
7cd356ee7d
Fix psalm warning for zip response due wrong type
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2 jaren geleden
Robin Appelman
eda997f2bd
only log diagnostic events if a treshhold is set
this prevents log spam and it's rare that you actually want to very short events logged anyway
Signed-off-by: Robin Appelman <robin@icewind.nl>
2 jaren geleden
Carl Schwan
eef973e85b
Minor optimizations for saving user personal information
* Remove double hook: the OC_User::changeUser triggers an
OC\AccountManager::userUpdated and the app is already listening to this
signal in its Application definition
* Make createCard not check if an card exists if we already checked
previously. We also don't try to get the card if the user is disabled
as we don't use the card in this case
We this change we go from 100 DB requests to 80 DB requests when saving
an user email address.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
(cherry picked from commit c6fd482edf
)
2 jaren geleden
Thomas Citharel
232322fe06
Modernize contacts menu
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2 jaren geleden
Carl Schwan
1c97611fa2
Fix Call to a member function getSize() on bool
getFileInfo might return false, handle this case by ignoring the result
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 jaren geleden
Carl Schwan
fcae6a68c3
Cleanup lock related code
- Port to QueryBuilder
- Improve the doc a bit
- Add type hinting
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 jaren geleden
Carl Schwan
ec6b83cc18
Add stricter psalm type for CappedMemoryCache
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 jaren geleden
Carl Schwan
81500bf837
Fix getting shares in a folder on Orache
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 jaren geleden
Robin Appelman
5d69343efa
remove storage wrappers when deleting the user storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2 jaren geleden
Vincent Petry
01dbd22c9c
Validate requested length is random string generator
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2 jaren geleden
Christoph Wurst
1cd05a06fa
Always free the DB result in QBMapper::findEntities
Without this patch it only happened if the code ran through without any
errors. Now the result is also freed in the case of an error.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2 jaren geleden
Carl Schwan
a392cd70fb
Make it possible to get the appdata folder using the public API
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 jaren geleden
Joas Schilling
d18a293ee5
Add talk-poll to the ROS definitions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 jaren geleden
Robin Appelman
643ef06efc
don't unjail the path when getting the storage info
the original reason for adding it no longer exist.
This was added with #30985 since then the share source storage was also used, however this was changed with #32076
Signed-off-by: Robin Appelman <robin@icewind.nl>
2 jaren geleden
John Molakvoæ
cb73fe26b8
Compile theming
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 jaren geleden
John Molakvoæ
3c6253f965
Remove old legacy SvgController and IconsCacher
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 jaren geleden
John Molakvoæ
c59c3b5c1f
Migrate to static icons colours
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 jaren geleden
Carl Schwan
f945c0cbc6
Add a public replacement for OC::$server->get
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 jaren geleden
Nextcloud bot
799cb624c9
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 jaren geleden
Richard Steinmetz
982c846b11
Fix preview generator trying to recreate an existing folder
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2 jaren geleden
Alexander F
00505c9a51
Set loglevel for IMagick Thumbnail error to info
Issue #32263
Signed-off-by: Alexander Fleischer <Alexander.Fleischer@tu-ilmenau.de>
2 jaren geleden
Joas Schilling
4e0595fb0f
Fix JSON error when comment has no reactions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 jaren geleden
Joas Schilling
7b3e2217de
Fix user agent trimming on installation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 jaren geleden
Nextcloud bot
4f55ba2a88
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 jaren geleden
Nextcloud bot
cec6d64598
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 jaren geleden