aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Support
Commit message (Collapse)AuthorAgeFilesLines
* Use typed version of IConfig::getSystemValue as much as possibleCôme Chilliet2023-04-051-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* composer run cs:fixCôme Chilliet2023-01-201-1/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* perf(logging): Return early when log level does not match before serializing ↵Julius Härtl2023-01-161-0/+4
| | | | | | an exception Signed-off-by: Julius Härtl <jus@bitgrid.net>
* l10n: Improve stylingValdnet2022-10-261-1/+1
| | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* Expose mapped user count from LDAP and use that for user limit checkCôme Chilliet2022-10-241-3/+5
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* extended hint messageblizzz2022-10-211-1/+1
| | | | Co-authored-by: Simon L. <szaimen@e.mail.de> Signed-off-by: blizzz <blizzz@arthur-schiwon.de>
* improve admin notification experienceArthur Schiwon2022-10-181-8/+27
| | | | | | | | - do not stack notifications, replace them - and replace them once a day only - with LDAP it might end in total spam terror (also push) otherwise Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* LDAP to no register new users when outside of fair use or over limitsArthur Schiwon2022-10-181-0/+55
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Migrate more classes of lib/private to LoggerInterfaceCôme Chilliet2022-04-261-10/+5
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix psalm issue about userCountsCarl Schwan2022-03-111-0/+2
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Fair use of push notificationsJoas Schilling2021-10-231-13/+10
| | | | | | | | | We want to keep offering our push notification service for free, but large users overload our infrastructure. For this reason we have to rate-limit the use of push notifications. If you need this feature, consider setting up your own push server or using Nextcloud Enterprise. Signed-off-by: Joas Schilling <coding@schilljs.com>
* Unshift crash reports when they are loaded, to break the recusionChristoph Wurst2021-06-241-3/+2
| | | | | | | | | | | | | | | If, for whatever reason, during the loading of a crash reporter a new log entry is generated, then the lazy loading mechanism will be invoked *again* while it's already executed. This doesn't result in an endless recursion, but means that the crash reporters will be built and registered many times. This then means any further log entry will be logged x times instead of once. Unshift makes sure to take the class off the registration list right away, so another invokation of the same method won't try to do the same job. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-042-6/+4
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add notification for user limitMorris Jobke2020-12-021-2/+23
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Allow subscription to indicate that a userlimit is reachedMorris Jobke2020-12-021-3/+82
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-241-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Make the subscription registry lazyRoeland Jago Douma2020-07-091-8/+38
| | | | | | | This will allow to do lazy registration here which should allow for loading less (or at least only when needed!). Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Allow crash reporters registration during app bootstrapChristoph Wurst2020-06-191-1/+65
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-1/+0
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add system config flag to manually set that a subscription is availableJulius Härtl2020-03-101-0/+13
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Update license headersChristoph Wurst2019-12-052-3/+9
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add extendedSupport to SubscriptionJulius Härtl2019-06-171-0/+12
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add interfaces to interact with subscription from support appMorris Jobke2019-05-131-0/+75
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Allow crash reporters to catpture any messageChristoph Wurst2019-05-091-3/+20
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix @since version on new APIChristoph Wurst2018-09-051-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add breadcrumb support to crash reportersChristoph Wurst2018-09-051-0/+18
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix PHP doc for API docsMorris Jobke2017-12-031-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* add proper type hintingMorris Jobke2017-11-141-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Pass the exception context to the crash reporterChristoph Wurst2017-11-141-2/+3
| | | | | | | | This should allow better reports as often the app id is passed as context. While this is not used right now, I'd like to have this for NC13 as adding it later will break the interface for existing apps Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add a mechanism to register crach reportersChristoph Wurst2017-11-141-0/+55
This adds a crash reporter registry, which is meant for third party apps to hook into the error logging/reporting chain. This way, external tools like Sentry can be used to track and aggregate system crashes. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>