| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
|
|
|
| |
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
|\
| |
| | |
Summer cleanup of the federation app
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Use IEventDispatcher instead of deprecated symfony dispatcher
- Use LoggerInterface where possible
- Use php 7.4 properties
- Add type hinting where possible
- Move federation hooks to a seperate listener
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
|
|\ \
| | |
| | | |
Add comments expire date
|
| |/
| |
| |
| |
| |
| | |
https://github.com/nextcloud/spreed/pull/7327
Signed-off-by: Vitor Mattos <vitor@php.rio>
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
- per design, all enabled apps have their registration run
- limitations, e.g. enabled by group, are not considered in that state,
because we do not have a session (and might need apps?)
- before instantiation of widget it has to be checked whether the providing
app is actually enabled for the logged in user.
- a public interface is being changed, but it is not meant to be
implemented or used outside of the core handling. Therefore save to
backport.
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
|
|\
| |
| | |
store unencrypted size in the unencrypted_size column
|
| |
| |
| |
| | |
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
| |
| |
| |
| | |
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
| |
| |
| |
| |
| |
| | |
this allows passing the expressions to further expressions without them being escaped as column names
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
|\ \
| | |
| | | |
🧹 Remove all legacy event dispatchers from CalDAV & CardDAV backends
|
| | |
| | |
| | |
| | | |
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
|\ \ \
| |_|/
|/| | |
Add a helper function that makes it easier to log from anywhere
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Our DI is able to inject a logger implementation to any server and app
class if they want one. However, sometimes DI isn't applicable or hard
to add. In those cases we typically fell back to the *service locator*
pattern where we acquired a logger from the server via a global
variable.
There were some issues with that
* `\OC` is a private class, apps are not supposed to use it
* `\OC::$server` is a global variable, a well known anti-pattern
* `\OC::$server->get(...)` uses the service locator anti-pattern
* `\OC::$server->get(...)` may throw
* `\OC::$server->get(LoggerInterface::class)` is not scoped to an app
With this patch I'm proposing a new helper function ``\OCP\Log\logger``
that can be used to acquire a logger more easily. This function is meant
to be public API and therefore apps may use it and there is an optional
parameter to specifiy the app ID.
The function hides all the ugly details about the global variable and
the potentially thrown exceptions from the user. Therefore it's
guaranteed that you always get a logger instance. In the worst case you
get a noop, though those occasions should be rare.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
|\ \ \
| | | |
| | | | |
[Psalm] Fix docblock for addFileFromStream
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
|
|\ \ \ \
| | | | |
| | | | | |
Use JSON_THROW_ON_ERROR instead of custom error handling
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
|
|/ / / /
| | | |
| | | |
| | | | |
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
|
|\ \ \ \
| |/ / /
|/| | | |
Add event to load additional scripts for projects
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
|\ \ \ \
| | | | |
| | | | | |
Revert api break
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Add API to change preferences
|
| |/ / / /
| | | | |
| | | | |
| | | | | |
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
|/ / / /
| | | |
| | | |
| | | | |
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
|\ \ \ \
| |_|/ /
|/| | | |
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>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
|\ \ \ \
| |_|_|/
|/| | | |
[Psalm] Fix spelling for PreConditionNotMetException
|
| |/ /
| | |
| | |
| | | |
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
|
|\ \ \
| | | |
| | | | |
[Psalm] Drop redundanten return comment
|
| |/ /
| | |
| | |
| | | |
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | | |
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Close #6582
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
|\ \ \ \ |
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | | |
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>
|
|/ / /
| | |
| | |
| | | |
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
|
|\ \ \
| |/ /
|/| | |
Cleanup lock related code
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Port to QueryBuilder
- Improve the doc a bit
- Add type hinting
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
nextcloud/fix/always-free-db-result-qbmapper-find-entities
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>
|
|\ \ \
| |/ /
|/| | |
Make it possible to get the appdata folder using the public API
|