aboutsummaryrefslogtreecommitdiffstats
path: root/apps/lookup_server_connector/lib
Commit message (Collapse)AuthorAgeFilesLines
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-233-9/+7
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Migrate applications away from deprecated ILoggerCôme Chilliet2023-09-211-1/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat!: Migrate AccountManager event to typed eventJoas Schilling2023-07-281-9/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(loopup_server_connector): Migrate to IEventDispatcherJoas Schilling2023-07-191-8/+10
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(dispatcher): Migrate to OCP event dispatcher before ↵Joas Schilling2023-06-021-4/+4
| | | | | | symfony/event-dispatcher upgrade Signed-off-by: Joas Schilling <coding@schilljs.com>
* Port existing server code to new interfaceCarl Schwan2022-08-081-25/+12
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-043-6/+4
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Do not try to contact lookup server if not neededRoeland Jago Douma2021-04-281-1/+11
| | | | | | | In some cases (for example you never send data to the lookup server) there is no need for this job to even try. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Map old account scope properties to new namesVincent Petry2021-03-261-1/+1
| | | | | | | | Use new scope values in settings page. Adjust all consumers to use the new constants. Map old scope values to new ones in account property getter. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Use proper OCP\BackgroundJobs\JobRoeland Jago Douma2020-11-251-1/+1
| | | | | | And typehunt the IJobList Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix invalid usages of the new dispatcherRoeland Jago Douma2020-10-291-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-241-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the proper IAppContainer and IServerContainer type hints to know which ↵Morris Jobke2020-07-211-4/+4
| | | | | | code runs with which container Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Adjust apps' code to use the ContainerInterfaceChristoph Wurst2020-07-211-6/+13
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Move lookup server connector to bootstrap mechanismMorris Jobke2020-07-081-14/+15
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headers for 19Christoph Wurst2020-04-291-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-103-3/+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>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-091-1/+0
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-053-3/+24
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-222-1/+2
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make the RetryJob work on the userId onlyJoas Schilling2019-07-182-129/+131
| | | | | | To ensure there is only 1 background job per user Signed-off-by: Joas Schilling <coding@schilljs.com>
* Yay for null coalescing operatorJoas Schilling2019-07-181-13/+12
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use public interfacesJoas Schilling2019-07-181-11/+14
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Always use a background job for the updateJoas Schilling2019-07-181-35/+9
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Also send a delete like on the syncronous actionJoas Schilling2019-07-181-7/+17
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use an application classJoas Schilling2019-07-181-0/+56
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Only update the lookup server if it is enabled AND a server is setJoas Schilling2019-04-091-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix missing $config dependency in RetryJobMorris Jobke2019-03-051-0/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix Undefined property: OCA\LookupServerConnector\UpdateLookupServer::$configDaniel Kesselberg2019-03-041-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* increase timespan between each retryBjoern Schiessle2019-02-201-3/+5
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* improve lookup server behaviourBjoern Schiessle2019-01-072-2/+39
| | | | | | | Don't try to connect to the lookup server if the lookup server was disabled by the admin or an empty lookup server URL was given Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Do not try to contact lookup server without internet connection or URLArthur Schiwon2018-10-182-5/+21
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Add |null to PHPDocLukas Reschke2017-08-011-1/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Merge pull request #4783 from nextcloud/lite-application-classesMorris Jobke2017-05-101-6/+6
|\ | | | | Use automatic injection for appdata folders
| * Use automatic DI injection for UpdateLookupServerJoas Schilling2017-05-101-6/+6
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Use the configured lookup serverJoas Schilling2017-05-101-2/+9
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Define method shouldRunJoas Schilling2017-05-101-3/+14
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* send signature to lookup serverBjoern Schiessle2017-04-281-0/+2
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* don't add multiple retry jobsBjoern Schiessle2017-04-281-13/+21
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* send local verification status to lookup serverBjoern Schiessle2017-04-281-0/+5
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* allow admin to configure lookup serverBjoern Schiessle2017-04-281-20/+9
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* add posibility to remove all personal data from lookup serverBjoern Schiessle2017-02-231-19/+30
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Remove unused variableLukas Reschke2016-11-211-1/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add retry jobLukas Reschke2016-11-212-23/+74
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Fix lookup urlRoeland Jago Douma2016-11-211-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Push json to the lookupserverRoeland Jago Douma2016-11-211-3/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Search on lookup serverRoeland Jago Douma2016-11-211-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add a signer class for signingLukas Reschke2016-11-211-61/+36
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* lookup server connectorBjoern Schiessle2016-11-211-10/+75
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>