Wykres commitów

160 Commity (fb3e156846b09360b43e30c032acb47a8401265d)

Autor SHA1 Wiadomość Data
Maxence Lange dd30d98cac refresh keys after 7 days
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-02 23:49:00 -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
Maxence Lange 2f58b91408 update data instead of delete+save
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-02 23:48:34 -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
Julius Härtl 65dc245807
Merge pull request #275 from nextcloud/optimisation/noid/async-only-if-queued-request
check if there is standby request related to token
2019-01-02 18:08:04 +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 02687476ff check if there is standby request related to token
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-24 09:48:26 -01:00
Julius Härtl 1fd2905e37
Merge pull request #255 from nextcloud/bugfix/noid/htmlentity
htmlentities encode/decode
2018-12-21 17:41:30 +01:00
Maxence Lange fe8abe2db0
Merge pull request #256 from nextcloud/origin-check-final
checking origin of the object
2018-12-21 10:50:49 -01:00
Maxence Lange b373bb0ffb
Merge pull request #254 from nextcloud/bugfix/noid/non-case-sensitive-checking
+strtolower()
2018-12-21 09:59:42 -01:00
Maxence Lange f5579329ee checking origin of the object
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-21 00:02:34 -01:00
Maxence Lange 7ba6beb745 htmlentities encode/decode
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-20 23:59:38 -01:00
Maxence Lange 3906c391d5 +strtolower()
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-20 15:52:59 -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 80deaa8210 Merge branch 'master' into framework-import-process+activity
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-19 19:57:17 -01:00
Maxence Lange 35be62836f checking if the account is a valid mail address
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-19 19:24:05 -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 37a889d978 Merge branch 'master' into framework-import-process+activity
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-19 00:13:33 -01:00
Julius Härtl b89bb4945f
Merge pull request #206 from nextcloud/verify-and-sign-object-RDF-normalization
linked data signature
2018-12-18 20:31:03 +01:00
Maxence Lange 713806a0af
Unfollow will send a request to remote instance 2018-12-18 19:48:47 +01:00
Maxence Lange 7a3d006dab
Merge pull request #181 from nextcloud/notifications-stream
adding route and content to the Notification Stream
2018-12-18 17:47:01 -01:00
Maxence Lange 99b404785e
Merge pull request #176 from nextcloud/cleaning-todo
Cleaning some TODO
2018-12-18 17:23:10 -01:00
Maxence Lange cc779e3d7c
the all activity is signed, not just the object.
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-18 18:46:39 +01:00
Maxence Lange 840326aab7
fixing replyTo and @context generation
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-18 18:46:39 +01:00
Maxence Lange c470f7f6d1
Signing Object, adding Signature and @context entry 2018-12-18 18:46:39 +01:00
Maxence Lange b99c3d4b67
VERIFY linked data signature 2018-12-18 18:46:38 +01:00
Maxence Lange 428c14d37e
Merge branch 'master' into fill-follows-table 2018-12-18 15:24:51 -01:00
Maxence Lange 47c658c32b bring back the request on new follow
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-17 09:54:28 -01:00
Maxence Lange 923bb732bd cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-17 09:54:16 -01:00
Maxence Lange eefada0e39 checking that the returned Person is from the remote instance
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-17 09:48:24 -01:00
Maxence Lange 0b23cff461 cleaning code
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-17 08:28:06 -01:00
Maxence Lange b7e6609707 checking origin of actor when retrieving a remove account
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-17 08:25:15 -01:00
Maxence Lange d923faabf3 cleaning code
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-17 08:24:42 -01:00
Maxence Lange a1f0ff0198 renaming services
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-17 08:12:27 -01:00
Maxence Lange 76775ddf28 static AP + interfaces
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-16 21:53:00 -01:00
Maxence Lange 7f2eede76b moving stuff around
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-13 08:40:27 -01:00
Maxence Lange 62c24da769
Merge branch 'master' into fix-ghost-account 2018-12-12 11:10:22 -01:00
Maxence Lange 63d6a1c384 add some logs 2018-12-12 09:46:46 -01:00
Maxence Lange 2c7cdcb702 include the getAccount within the try/catch 2018-12-12 08:44:13 -01:00
Maxence Lange 0dfe66b7f8 malformed call 2018-12-10 11:43:49 -01:00