Christoph Wurst
dff108e97b
fix mock builder for old phpunit versions
8 yıl önce
Christoph Wurst
fbb5768587
add unit tests for all new classes
8 yıl önce
Christoph Wurst
aa85edd224
increase token column width
add some range to time() assertions
8 yıl önce
Christoph Wurst
aafd660b97
fix LoginController unit tests
8 yıl önce
Lukas Reschke
8222ad5157
Move logout to controller
Testable code. Yay.
8 yıl önce
Roeland Jago Douma
a2c8597b00
Add occ command for updating the data-fingerprint
8 yıl önce
Lukas Reschke
fee95084ae
Rename `username` to `loginName`
UID and login name are two different things.
8 yıl önce
Lukas Reschke
8a650a51be
Use !== instead of empty
Users can be named null
8 yıl önce
Lukas Reschke
331e4efacb
Move login form into controller
First step on getting the authorisation stuff cleaned up. This is only for the login form, all other stuff is still where it is.
8 yıl önce
Stefan Weil
ee5f5eebe5
misc: Fix some typos
Some of them were found by codespell.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
8 yıl önce
Thomas Müller
fdee771aca
Add unit testing capabilities for templates (#23708)
Add unit testing capabilities for templates
8 yıl önce
Roeland Jago Douma
b9b19cef41
Fix avatar controller tests
8 yıl önce
Morris Jobke
d6a63016ae
move lost controller to core/controller
* lostpassword.css is unneeded since #11696 is merged - 1b50d4f7ce
* js is already in core/js
* css is moved to core/css/lostpassword
* template is moved to core/templates/lostpassword
8 yıl önce
Morris Jobke
b97fe97875
move avatar controller to core/controller
8 yıl önce
Joas Schilling
f2cb03e155
Allow array recursion in get
8 yıl önce
Joas Schilling
a06f0256a9
Allow deleting a nested system config value
8 yıl önce
Joas Schilling
00ab50defc
Retain backwards compatibility
8 yıl önce
Robin McCorkell
b9d384d837
occ config:system:set can now set other value types
Integers, doubles, booleans and even arrays can now be set, with the
--type=... option. Array setting can be specified by passing multiple
name arguments, e.g. `./occ config:system:set redis port --value=123
--type=integer`
9 yıl önce
Roeland Jago Douma
07fd3889b1
Fix unit tests
8 yıl önce
Roeland Jago Douma
186e35d954
Verify the path is a file on avatar update
Fixes #21533
Before we just assumed that the passed path was a file. This does not
have to be the case. Thus check if it actually is a file before doing
any more tests.
8 yıl önce
Roeland Jago Douma
3e80f14269
[Avatar] Make the avatar controller use the avatar node
8 yıl önce
Scrutinizer Auto-Fixer
453e1bf66e
Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
8 yıl önce
Thomas Müller
eebe2b9c23
User IUser::getEMailAddress() all over the place
8 yıl önce
Thomas Müller
757aa45db7
Adding more DB groups to test suits
Adding more DB groups to test suits
8 yıl önce
Roeland Jago Douma
fee6847f48
[Avatar] No need to setup FS for avatar tests
8 yıl önce
Lukas Reschke
abdbf10ebc
Do not print exception message
In case of an error the error message often contains sensitive data such as the full path which potentially leads to a full path disclosure.
Thus the error message should not directly get displayed to the user and instead be logged.
8 yıl önce
Joas Schilling
faba02564a
Move the filtering of sensitive data to the config class
8 yıl önce
Joas Schilling
2f102c1f0d
Do not set single user in constructor
8 yıl önce
Joas Schilling
82eb3f8027
Fix the singleuser config casing in new encryption code
8 yıl önce
Bjoern Schiessle
9bd4f2d41e
occ script to disable encryption and to decrypt all files again
9 yıl önce
Thomas Müller
a446b43bcc
Revert "Allow Remote avatars"
8 yıl önce
Robin McCorkell
c6314fc699
Unit tests for mimetype loader
8 yıl önce
Bjoern Schiessle
289e9130f3
make system root of key storage configurable
9 yıl önce
Roeland Jago Douma
ae62537adf
Allow remote avatars
9 yıl önce
Bjoern Schiessle
8c08dd0ac2
occ tool to encrypt all files
9 yıl önce
Lukas Reschke
db4cb1dd4d
Expire token after 12h and if user logged-in again
As an hardening measure we should expire password reset tokens after 12h and if the user has logged-in again successfully after the token was requested.
9 yıl önce
Robin McCorkell
c693e5d5d1
Unit tests for occ log:* commands
9 yıl önce
Joas Schilling
6231bbdde3
Filter the objectstore password from the config list as well
9 yıl önce
Roeland Jago Douma
65cf4028cc
Move avatarcontroller towards Node Api
9 yıl önce
Morris Jobke
e184157684
[avatar] add error handlers for avatar setup
add colon to translated string
use placeholder in t()
Adding a size limitation for avatar upload
Unit test for file size
Fix typo & display server side error message
9 yıl önce
Morris Jobke
08afce3d7e
[command] single user mode - use config object & add tests
9 yıl önce
Joas Schilling
85f012512e
Invert the "public" to a "private" method
9 yıl önce
Joas Schilling
e5bc9d0619
Make it possible to import exportet app/system configs
9 yıl önce
Joas Schilling
d2ca3a25d3
Replace deprecated method calls
9 yıl önce
Joas Schilling
2b86eb0b29
Add commands to get, set and delete app config values
9 yıl önce
Joas Schilling
86952f88cb
Add a command to import an json array into the config
9 yıl önce
Joas Schilling
bc084c40a6
Add a command to delete a system config
9 yıl önce
Joas Schilling
3608c1007e
Add a command to get a config value
9 yıl önce
Joas Schilling
a83eac3762
Add a command to set a system config value
9 yıl önce
Joas Schilling
5370bba0b6
Split the system from the app config
9 yıl önce