Andy Scherzinger
5c49a54801
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
hace 3 semanas
Côme Chilliet
61621ee1d0
fix: Revert to OC_App in places where we need all apps even disabled ones
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
hace 1 mes
Côme Chilliet
8c5f32320a
fix: use DI to build main Application class in console.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
hace 3 meses
Côme Chilliet
644036ab4e
fix: Migrate away from OC_App toward the IAppManager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
hace 3 meses
Côme Chilliet
ec5133b739
fix: Apply new coding standard to all files
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
hace 2 meses
Adam Blakey
4744b02c40
style: Fixed style from composer cs:fix
Signed-off-by: Adam Blakey <adam@blakey.family>
hace 3 meses
Adam Blakey
aa09af8410
Update core/Command/App/ListApps.php
refactor: changed overcomplicated if statement into two shorter lines
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Adam Blakey <adam@blakey.family>
hace 3 meses
Git'Fellow
6dfe3c91d5
Add a return message for app updates trough occ
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Handle single and all apps
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Rewrite logic
Fix psalm
Fix psalm
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
hace 9 meses
Josh Richards
b3e5c14a6c
fix(Update): Handle upstream exception scenario cleanly
Fixes #42476
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
hace 5 meses
Hamid Dehnavi
3658894722
Make adjustments based on the review
Co-authored-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
hace 11 meses
Hamid Dehnavi
8075f6976f
Make adjustments based on the review
Co-authored-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
hace 11 meses
Hamid Dehnavi
81884cf9da
Refactor core/Command/App
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
hace 11 meses
Faraz Samapoor
cda0f74e0b
Moves single constructor parameters to new lines.
Based on:
https://github.com/nextcloud/server/pull/38764#discussion_r1227630895
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
hace 1 año
Faraz Samapoor
ea844ca5fb
Uses PHP8's constructor property promotion.
in core/Command/App, /Background, and /Broadcast classes.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
hace 1 año
Christoph Wurst
cf6e2fa1b7
chore: Drop \OC_App::getAppVersion
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
hace 1 año
Côme Chilliet
f5c361cf44
composer run cs:fix
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
hace 1 año
Julius Härtl
1da6c21036
Show version from appinfo on occ app:list
Signed-off-by: Julius Härtl <jus@bitgrid.net>
hace 1 año
Adam Blakey
a676a67b9e
Fixed logic issue where checking for wrong option
Signed-off-by: Adam Blakey <adam@blakey.family>
hace 1 año
Adam Blakey
e9fb7a2885
added --enabled and --disabled options to occ app:list
Signed-off-by: Adam Blakey <adam@blakey.family>
hace 1 año
Carl Schwan
b70c6a128f
Update core to PHP 7.4 standard
- Typed properties
- Port to LoggerInterface
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
hace 2 años
Côme Chilliet
b865722ac0
Remove deprecated occ app:check-code command
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
hace 2 años
Joas Schilling
a4111d4846
Allow installing unstable versions
Signed-off-by: Joas Schilling <coding@schilljs.com>
hace 2 años
Carl Schwan
aeecb72e96
Fix a few psalm issues and moved back to psalm/phar 4.18
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
hace 2 años
Joas Schilling
a376aa6c61
Add version of disabled apps when available
Signed-off-by: Joas Schilling <coding@schilljs.com>
hace 2 años
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
hace 3 años
Maxopoly
1f93721097
Add force option to app install command
Signed-off-by: Maxopoly <max@dermax.org>
hace 3 años
Christoph Wurst
e618ea83b5
Make the app code checker a NOOP
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
hace 3 años
Christoph Wurst
fd649afb1f
Remove the deprecated update.php
* It was documented as deprecated.
* The app code checker warned about it
* It's been three years
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
hace 3 años
Christoph Wurst
d9015a8c94
Format code to a single space around binary operators
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
hace 3 años
Christoph Wurst
2a054e6c04
Update the license headers for Nextcloud 20
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
hace 3 años
Morris Jobke
fedf9c69d9
Use matching parameter names form interfaces and implementations
Found by Psalm 3.14.1
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
hace 3 años
John Molakvoæ (skjnldsv)
9e962fb69f
Allow to update to nightly
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
hace 4 años
Joas Schilling
ab21d69903
Add return value to all commands
Signed-off-by: Joas Schilling <coding@schilljs.com>
hace 4 años
Christoph Wurst
cb057829f7
Update license headers for 19
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
hace 4 años
Sander Ruitenbeek
6b62bef928
Display notice for already enabled apps
Signed-off-by: Sander Ruitenbeek <s.ruitenbeek@getgoing.nl>
Signed-off-by: Sander Ruitenbeek <s.ruitenbeek@getgoing.nl>
hace 4 años
Christoph Wurst
caff1023ea
Format control structures, classes, methods and function
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>
hace 4 años
Christoph Wurst
14c996d982
Use elseif instead of else if
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
hace 4 años
Christoph Wurst
afbd9c4e6e
Unify function spacing to PSR2 recommendation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
hace 4 años
Christoph Wurst
1a9330cd69
Update the license headers for Nextcloud 19
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
hace 4 años
Christoph Wurst
b80ebc9674
Use the short array syntax, everywhere
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
hace 4 años
Christoph Wurst
74936c49ea
Remove unused imports
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
hace 4 años
Christoph Wurst
5a33cb0b78
Register an address book with recent contacts
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
hace 4 años
Joas Schilling
3eee359d7f
Allow to force enable apps via CLI
Co-authored-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
hace 4 años
Christoph Wurst
5bf3d1bb38
Update license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
hace 4 años
Roeland Jago Douma
68748d4f85
Some php-cs fixes
* 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>
hace 4 años
Daniel Kesselberg
1d1068753f
Fix access to groupManager
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
hace 5 años
Daniel Kesselberg
75b7d6ae4e
Add install logic for enable command
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
hace 5 años
Daniel Kesselberg
03d3192638
Disable multiple apps at once
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
hace 5 años
Daniel Kesselberg
08907ee3e9
Enable multiple apps at once
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
hace 5 años
Morris Jobke
290ede1292
Log exception in case an app update fails
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
hace 5 años