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.
2015-08-22 20:42:45 +02:00
Morris Jobke
c7b0d50cb2
Merge pull request #18369 from owncloud/occ-log
...
occ commands to manage logging
2015-08-20 12:57:05 +02:00
Robin McCorkell
c693e5d5d1
Unit tests for occ log:* commands
2015-08-19 13:49:41 +01:00
Joas Schilling
6231bbdde3
Filter the objectstore password from the config list as well
2015-08-19 14:06:05 +02:00
Roeland Jago Douma
65cf4028cc
Move avatarcontroller towards Node Api
2015-08-18 14:48:19 +02:00
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
2015-07-30 18:05:32 +02:00
Morris Jobke
08afce3d7e
[command] single user mode - use config object & add tests
2015-07-09 18:33:46 +02:00
Joas Schilling
85f012512e
Invert the "public" to a "private" method
2015-07-07 11:30:21 +02:00
Joas Schilling
e5bc9d0619
Make it possible to import exportet app/system configs
2015-07-07 11:25:29 +02:00
Joas Schilling
d2ca3a25d3
Replace deprecated method calls
2015-07-07 11:18:25 +02:00
Joas Schilling
2b86eb0b29
Add commands to get, set and delete app config values
2015-07-07 11:18:25 +02:00
Joas Schilling
86952f88cb
Add a command to import an json array into the config
2015-07-07 11:18:25 +02:00
Joas Schilling
bc084c40a6
Add a command to delete a system config
2015-07-07 11:18:25 +02:00
Joas Schilling
3608c1007e
Add a command to get a config value
2015-07-07 11:18:25 +02:00
Joas Schilling
a83eac3762
Add a command to set a system config value
2015-07-07 11:18:25 +02:00
Joas Schilling
5370bba0b6
Split the system from the app config
2015-07-07 11:18:24 +02:00
Joas Schilling
16907f91ed
Add tests for list config
2015-07-07 11:18:24 +02:00
Lukas Reschke
21d261885d
Fix test
2015-06-17 12:11:09 +02:00
Jens-Christian Fischer
bffadd069d
Fix test message and add 'user' to it
2015-06-11 13:44:38 +02:00
Joas Schilling
d3e3a84cae
Move the helpful method to the TestCase class
2015-06-03 12:33:29 +02:00
Robin Appelman
724f88d9ff
fix tests
2015-05-18 12:11:32 +02:00
Joas Schilling
10144bd7f5
Display a message when there is a problem with the default module
2015-05-04 12:36:50 +02:00
Joas Schilling
e4977841b4
Add unit tests for the commands
2015-04-27 11:03:51 +02:00
Joas Schilling
cb641b4c29
Fix file names
2015-04-23 12:53:01 +02:00
Joas Schilling
cfa23e60d3
Add tests for occ user:lastseen
2015-04-23 12:41:06 +02:00
Joas Schilling
bb5b6e5f63
Add unit tests for occ user:delete
2015-04-23 12:33:12 +02:00
Lukas Reschke
b1c19f74a1
Merge pull request #12085 from owncloud/add-swift-mailer
...
Migrate OC_Mail to SwiftMailer
2015-03-17 11:15:39 +01:00
Lukas Reschke
283476a2f7
Use new IMailer and add unit-tests for lostcontroller
2015-03-16 12:47:05 +01:00
Joas Schilling
30357aaac0
No user no avatar easy as that
2015-03-13 17:35:34 +01:00
Joas Schilling
61ec37431a
Fix order of expected and actual on assertEquals() calls
2015-03-13 15:29:52 +01:00
Joas Schilling
8304f5f508
Fix getting the avatar of a non-existing user
2015-03-13 15:29:52 +01:00
Roeland Jago Douma
3560b32dfc
Fix the avatarcontroller cache needing the cache dir
...
This was removed in 82254ad5ef
and
unfortunatly missed by jenkins before mering into master.
2015-03-11 18:18:33 +01:00
Roeland Jago Douma
1a0f9c375b
Avatar controller moved to AppFrameWork
...
* Original avatarcontroller migrated to the appframework
* Added DataDisplayResponse that show data inline in the browser (used
to retrun the image)
* Removed some unneeded code
* Added unit tests for the avatarcontroller
2015-03-11 16:37:42 +01:00
Lukas Reschke
944dc127b8
Mock l10n in the setup
2015-02-01 17:46:48 +01:00
Lukas Reschke
ba29ea178f
Add unit tests for empty token
2015-02-01 17:34:03 +01:00
Lukas Reschke
e1e8031798
Disable when no sendmail is available
2014-12-04 16:22:44 +01:00
Joas Schilling
9cfae2ed44
Skip lostcontroller sending email test on windows
2014-11-28 11:38:22 +01:00
Lukas Reschke
767b08c669
Use correct route instead
...
THX @schiesbn
(I should setup a mail server on my local system...)
2014-11-17 17:50:19 +01:00
Lukas Reschke
60ae2894aa
Fix scrutinizer issues
2014-11-17 17:50:19 +01:00
Lukas Reschke
1b50d4f7ce
Warn for password reset when files_encryption is enabled
...
This patch wil warn the user of the consequences when resetting the password and requires checking a checkbox (as we had in the past) to reset a password.
Furthermore I updated the code to use our new classes and added some unit tests for it 👯
Fixes https://github.com/owncloud/core/issues/11438
2014-11-17 17:50:19 +01:00