| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
|
|\
| |
| | |
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
|
| |\
| | |
| | | |
Remove OCP\App and OCP\BackgroundJob
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Both deprecated since NC 23
IAppManager is the replacement for OCP\App unfortunately it can't be
dependency injected in classes used by the installed otherwise the
database connection is initialised too early
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
|
| |\ \
| | | |
| | | | |
allow apps to specify methods carrying sensitive parameters
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
… in order to remove them from logging.
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Fix tests
- Use non deprecated event stuff
- Add a bit of type hinting to the new stuff
- More safe handling of instanceOfStorage (share might not be the first
wrapper)
- Fix resharing
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
|
| | |/
| |/|
| | |
| | |
| | |
| | | |
Makes it possible to store download permission
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Louis Chemineau <louis@chmn.me>
|
| |/
| |
| |
| | |
Signed-off-by: Louis Chemineau <louis@chmn.me>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
PostgreSQL returns data as resource when using IQueryBuilder::PARAM_LOB
(which is used for QBMapper).
Previously we just converted this resource using settype, which produced
things like "Resource id #14" instead of the actual resource data.
Now we read the stream correctly if the returned data is a resource
See context at #22472
Fixes #22439
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
| |\
| | |
| | | |
Add typing to SimpleFS
|
| | |
| | |
| | |
| | |
| | |
| | | |
- Fix putContent sometimes return a bool and sometimes nothing
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
|
| |\ \
| | | |
| | | | |
Allow SSO authentication to provide a user secret
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Implementing PR #24837 from immerda
Signed-off-by: MichaIng <micha@dietpi.com>
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is an helpful helper that should be used in more place than just
server and this is already the case with groupfodlers, deck, user_oidc
and more using it, so let's make it public
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
|
| |\ \
| | | |
| | | | |
Improve job handling through occ
|
| | | |
| | | |
| | | |
| | | | |
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>
|
| |\ \ \
| | |/ /
| |/| | |
Cleanup avatar related code
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Move event listener to new event handling
- Add typing almost everywhere
- Fix inconsistent interface parameter
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
|
| |\ \
| | | |
| | | | |
Remove unecessary row and make compatible with db schema
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Vitor Mattos <vitor@php.rio>
|
| | |/
| | |
| | |
| | | |
Signed-off-by: Vitor Mattos <vitor@php.rio>
|
| | |
| | |
| | |
| | | |
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>
|