Commit Graph

40564 Commits

Author SHA1 Message Date
Roeland Jago Douma 71bee1b3bd
Merge pull request #9493 from nextcloud/upgrade-from-oc-10.0.8
Allow upgrades from ownCloud 10.0.8
2018-05-23 20:30:52 +02:00
Robin Appelman 7c8e34f8fd
cleanup locks in scanner on error
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-05-23 20:06:34 +02:00
Morris Jobke 6b5fea40eb
Merge pull request #9546 from nextcloud/backport/9517/stable12
[stable12] Improve OAuth
2018-05-23 19:03:38 +02:00
Roeland Jago Douma 3e57666093
Properly set expires to NULL when creating a token
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-05-23 17:02:15 +02:00
Roeland Jago Douma c2f09e4395
Add tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-05-23 17:02:15 +02:00
Roeland Jago Douma 44735dedd1
Don't use special chars to avoid confusion
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-05-23 17:02:15 +02:00
Roeland Jago Douma 335f4efa83
Rotate token
On a refresh token request:
* rorate
* reset expire

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-05-23 17:02:15 +02:00
Roeland Jago Douma c2a21ea464
Authenticate the clients on requesting a token
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-05-23 17:02:15 +02:00
Roeland Jago Douma aa78c30666
Fail if the response type is not properly set
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-05-23 17:02:15 +02:00
Roeland Jago Douma 1525cc286c
Set OAuth token expiration
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-05-23 17:02:15 +02:00
Roeland Jago Douma f2a3115157
Certain tokens can expire
However due to the nature of what we store in the token (encrypted
passwords etc). We can't just delete the tokens because that would make
the oauth refresh useless.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-05-23 17:02:15 +02:00
Roeland Jago Douma 0885bd4ee5
Allow the rotation of tokens
This for example will allow rotating the apptoken for oauth

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-05-23 17:02:15 +02:00
Nextcloud bot 9e657d0577
[tx-robot] updated from transifex 2018-05-23 00:16:27 +00:00
Morris Jobke 2c64557629
Merge pull request #9549 from remyj38/stable12
[stable12] Fix translation bug on lost password page
2018-05-22 21:58:27 +02:00
Rémy Jacquin 4130f279b2
Fix translation bug on lost password page
Fix nextcloud/password_policy#26

Signed-off-by: Rémy Jacquin <remy@remyj.fr>
2018-05-22 18:47:16 +02:00
Nextcloud bot dc585de355
[tx-robot] updated from transifex 2018-05-22 00:14:15 +00:00
Nextcloud bot 114dc57233
[tx-robot] updated from transifex 2018-05-21 00:14:27 +00:00
Nextcloud bot 5a9e54ad59
[tx-robot] updated from transifex 2018-05-20 00:14:07 +00:00
Nextcloud bot d71fe374d3
[tx-robot] updated from transifex 2018-05-19 00:14:25 +00:00
Nextcloud bot 1bb9d3386a
[tx-robot] updated from transifex 2018-05-18 00:14:33 +00:00
Nextcloud bot 1ee313e495
[tx-robot] updated from transifex 2018-05-17 00:14:31 +00:00
Morris Jobke cd303d8f05
Allow upgrades from ownCloud 10.0.8
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-05-16 14:42:00 +02:00
Nextcloud bot ecef73b273
[tx-robot] updated from transifex 2018-05-14 00:14:12 +00:00
Nextcloud bot ce60ec91ff
[tx-robot] updated from transifex 2018-05-13 00:13:45 +00:00
Nextcloud bot f777018ee7
[tx-robot] updated from transifex 2018-05-12 00:13:49 +00:00
Nextcloud bot b1d2ac5930
[tx-robot] updated from transifex 2018-05-11 00:13:45 +00:00
Nextcloud bot 5cfba894a2
[tx-robot] updated from transifex 2018-05-10 00:13:52 +00:00
Morris Jobke 7197e9f3b6
Merge pull request #9431 from nextcloud/stable12-9407
[12] Fix jsunit tests
2018-05-09 09:14:08 +02:00
Julius Härtl 32f24d5911
Fix jsunit tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-05-09 08:21:50 +02:00
Nextcloud bot 1ee5e9fec5
[tx-robot] updated from transifex 2018-05-09 00:12:12 +00:00
Nextcloud bot 8cf92eb099
[tx-robot] updated from transifex 2018-05-08 00:12:17 +00:00
Nextcloud bot 4b59182db1
[tx-robot] updated from transifex 2018-05-07 00:12:22 +00:00
Nextcloud bot 50ed772037
[tx-robot] updated from transifex 2018-05-06 00:12:26 +00:00
Nextcloud bot 81aaa585f8
[tx-robot] updated from transifex 2018-05-05 00:12:34 +00:00
Nextcloud bot ac5d083e8d
[tx-robot] updated from transifex 2018-05-04 00:12:41 +00:00
Nextcloud bot 72cafdb9e2
[tx-robot] updated from transifex 2018-05-03 00:12:43 +00:00
John Molakvoæ 056f62d232
Merge pull request #9359 from nextcloud/stable12-9348
[stable12] Replace deprecated sinon reset() call with resetHistory()
2018-05-02 10:24:44 +02:00
Julius Härtl 02b0a32987
Replace deprecated sinon reset() call with resetHistory()
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-05-02 08:53:00 +02:00
Nextcloud bot 4234e0e09b
[tx-robot] updated from transifex 2018-05-01 00:12:39 +00:00
Nextcloud bot df458d57d1
[tx-robot] updated from transifex 2018-04-30 00:12:32 +00:00
Nextcloud bot 0e56e05347
[tx-robot] updated from transifex 2018-04-29 00:12:34 +00:00
Nextcloud bot 90ac8542e1
[tx-robot] updated from transifex 2018-04-28 00:12:42 +00:00
Nextcloud bot f84eaa66dd
[tx-robot] updated from transifex 2018-04-27 00:12:37 +00:00
Morris Jobke 67c057d8c8
Merge pull request #9301 from nextcloud/final-12.0.7
12.0.7
2018-04-26 09:33:12 +02:00
Nextcloud bot df3f4a7c00
[tx-robot] updated from transifex 2018-04-26 00:12:57 +00:00
Morris Jobke 997b120b26
12.0.7
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-04-25 15:21:22 +02:00
Nextcloud bot 3811ad589d
[tx-robot] updated from transifex 2018-04-25 00:12:37 +00:00
Nextcloud bot 7f68966431
[tx-robot] updated from transifex 2018-04-24 00:12:42 +00:00
Nextcloud bot 26d92b3ffb
[tx-robot] updated from transifex 2018-04-23 00:12:32 +00:00
Nextcloud bot b97eaf2291
[tx-robot] updated from transifex 2018-04-22 00:12:37 +00:00