Wykres commitów

26 Commity (d356e780aa10866d76b784d76611907fb4c0d336)

Autor SHA1 Wiadomość Data
Maxence Lange d356e780aa add default context object, in case cache is empty and website is down
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-24 20:55:35 -01:00
Maxence Lange c200b083f0 Generating cache of context documents
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-23 21:27:29 -01:00
Maxence Lange 0eb4faa37a create object even if it can't be signed
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-22 09:33:55 -01:00
Julius Härtl 13d61f6507
Merge pull request #336 from nextcloud/feature/noid/not-json-exception-on-request
throw RequestResultNotJsonException on unusual result
2019-01-19 12:48:59 +01:00
Maxence Lange 5d48497717 +RequestResultNotJsonException
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-15 12:30:02 -01:00
Maxence Lange f4cd1310c0 signature can be 5min old
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-15 09:20:45 -01:00
Maxence Lange 3e9ca2f940 cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-04 09:28:58 -01:00
Maxence Lange c9a2adafbb there is no use to check twice
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-03 15:49:31 -01:00
Maxence Lange 4d8c69671c no need tor format()
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-03 09:22:22 -01:00
Maxence Lange 638e20d3fc using signature date as 'creation' date
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-03 09:21:21 -01:00
Maxence Lange 88a19839c8 on signature check fail, update public key
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-02 23:49:00 -01:00
Julius Härtl 6b74286bd0
Merge pull request #283 from nextcloud/code/noid/rewrite-exception-on-request
[huge] rewrite of the exceptions while requesting remote instance
2019-01-02 23:31:23 +01:00
Maxence Lange ed98204d47 rewrite of the exceptions while requesting remote instance
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-29 13:07:57 -01:00
Maxence Lange 7a7462bfe8 assuming the host is the address of the account
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-26 22:38:23 -01:00
Maxence Lange 89c8d9718b validate host
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-26 22:33:46 -01:00
Maxence Lange 90f18ea621 switch to getInsecureServerHost
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-26 22:21:17 -01:00
Maxence Lange b5b5690ab8 enabling sha512
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-20 15:51:09 -01:00
Maxence Lange df4fbf9589 oops, we're not sure the key exists.
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-20 11:43:08 -01:00
Maxence Lange 4bda4a242e add algorithm="" to header - #238
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-20 11:40:34 -01:00
Maxence Lange fb8e11a000 including the host
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-20 11:26:39 -01:00
Maxence Lange 2a41f1ea1d signed header generation moved to SignatureService
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-20 11:22:48 -01:00
Maxence Lange c6943191f9 unused import
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-20 08:54:54 -01:00
Maxence Lange b7e3a6dc2b cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-19 18:55:54 -01:00
Maxence Lange a636ec03a3 set the source of the signature (header or ld-json signature)
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-19 16:50:17 -01:00
Maxence Lange 1dda85adaa cleaning on moving post-merge
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-19 00:14:24 -01:00
Maxence Lange a1f0ff0198 renaming services
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-17 08:12:27 -01:00