provokateurin
f12cecb684
feat(rector): Enable SafeDeclareStrictTypesRector
...
Signed-off-by: provokateurin <kate@provokateurin.de >
2026-02-09 10:59:31 +01:00
yemkareems
d134b236a4
fix: composer run cs:fix removed unused namespace
...
Signed-off-by: yemkareems <yemkareems@gmail.com >
2025-11-21 16:37:33 +05:30
yemkareems
bf23fbb7bb
fix: removed the runEncryption Method as it is not required
...
Signed-off-by: yemkareems <yemkareems@gmail.com >
2025-11-20 11:32:35 +05:30
yemkareems
26e2ff9dca
fix: removed the -n option from options, added the check and made default answer to both questions true to support -n run directly
...
Signed-off-by: yemkareems <yemkareems@gmail.com >
2025-11-19 15:52:47 +05:30
yemkareems
93c3079637
fix: added the option to support no-interaction and added a check to run encryption non-interactive only when -n option is present
...
Signed-off-by: yemkareems <yemkareems@gmail.com >
2025-11-14 12:15:49 +05:30
yemkareems
7e546c8377
fix: support -n option to encrypt-all command to allow to run in non-interactive mode
...
Signed-off-by: yemkareems <yemkareems@gmail.com >
2025-11-13 19:53:03 +05:30
Ferdinand Thiessen
5981b7eb51
chore: apply new CSFixer rules
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de >
# Conflicts:
# apps/settings/lib/SetupChecks/PhpOpcacheSetup.php
2025-07-01 16:26:50 +02:00
Louis Chemineau
590b1e8698
feat: Warn about maintenance in EncryptAll command
...
Signed-off-by: Louis Chemineau <louis@chmn.me >
2024-11-25 11:42:29 +01:00
Andy Scherzinger
5c49a54801
chore: Add SPDX header
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de >
2024-05-26 20:05:04 +02:00
Faraz Samapoor
9c2abae59c
Update core/Command/Encryption/EncryptAll.php
...
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com >
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com >
2023-06-20 16:24:46 +02:00
Faraz Samapoor
f9a9ad50c3
Uses PHP8's constructor property promotion in core/Command/Encryption classes.
...
Signed-off-by: Faraz Samapoor <fsa@adlas.at >
2023-06-20 16:24:46 +02:00
Carl Schwan
b70c6a128f
Update core to PHP 7.4 standard
...
- Typed properties
- Port to LoggerInterface
Signed-off-by: Carl Schwan <carl@carlschwan.eu >
2022-05-20 22:18:06 +02:00
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com >
2021-06-04 22:02:41 +02:00
Joas Schilling
ab21d69903
Add return value to all commands
...
Signed-off-by: Joas Schilling <coding@schilljs.com >
2020-06-26 14:54:51 +02:00
Christoph Wurst
cb057829f7
Update license headers for 19
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at >
2020-04-29 11:57:22 +02:00
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 >
2020-04-10 14:19:56 +02:00
Christoph Wurst
44577e4345
Remove trailing and in between spaces
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at >
2020-04-09 16:07:47 +02:00
Christoph Wurst
5bf3d1bb38
Update license headers
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at >
2019-12-05 15:38:45 +01:00
Joas Schilling
0c77cd21f9
Make sure maintenance mode is always casted to bool
...
Signed-off-by: Joas Schilling <coding@schilljs.com >
2019-02-22 08:25:41 +01:00
Evgeny Golyshev
ec2f02f4a0
Check if TTY is invalid in encryption:encrypt-all and encryption:decrypt-all
...
Signed-off-by: Evgeny Golyshev <eugulixes@gmail.com >
2018-10-14 15:06:14 +03:00
Morris Jobke
0eebff152a
Update license headers
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de >
2017-11-06 16:56:19 +01:00
Morris Jobke
0f2ee20885
ownC -> Nextc
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de >
2017-03-19 22:02:21 -06:00
Matthew Setter
d4058b73c2
Update the occ:encrypt-all prompt
...
The message isn't as clear, nor as succinct, as it could be.
Given that, this commit seeks to address both those points.
This commit was prompted by https://github.com/owncloud/documentation/pull/2835 .
Signed-off-by: Morris Jobke <hey@morrisjobke.de >
2017-03-19 22:02:14 -06:00
Morris Jobke
9533f4e5ed
Clean up single user mode
...
Single user mode basically disables WebDAV, OCS and cron execution. Since
we heavily rely on WebDAV and OCS also in the web UI it's basically useless.
An admin only sees a broken interface and can't even change any settings nor
sees any files. Also sharing is not possible.
As this is at least the case since Nextcloud 9 and we haven't received any
reports for this it seems that this feature is not used at all so I removed it.
The encryption commands now rely on the well tested maintenance mode.
Signed-off-by: Morris Jobke <hey@morrisjobke.de >
2017-02-22 23:02:31 -06:00
Joas Schilling
ba87db3fcc
Fix others
2016-07-21 18:13:57 +02:00
Lukas Reschke
aba539703c
Update license headers
2016-05-26 19:57:24 +02:00
Lukas Reschke
a4b19a5b1e
Rename files to be PSR-4 compliant
2016-04-06 11:00:52 +02:00