Wykres commitów

244 Commity (502d94316b199f0a152b51ae7dba413e7c77d254)

Autor SHA1 Wiadomość Data
Maxence Lange 6f3f8fb86d add # if missing
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 15:10:24 -01:00
Maxence Lange 833d19617b new Search endpoint
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 15:10:24 -01:00
Maxence Lange 3ef7737d14 fill the server_hashtags with hashtags and trends
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 15:10:24 -01:00
Maxence Lange c7d1da1f53 get stream for hashtag
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 15:10:24 -01:00
Maxence Lange 01ed889984 adding hashtags on post creation
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 15:10:24 -01:00
Maxence Lange 86f8465695
cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 16:21:03 +01:00
Maxence Lange ac629503e9
fixing some field when generating the Announce in DB
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 16:21:03 +01:00
Maxence Lange 0da74520d0
implementing caching for incoming request
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 16:21:02 +01:00
Maxence Lange c0f304cd5b
cleaning and renaming upsteam request caching
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 16:21:02 +01:00
Maxence Lange 53b4137575
Follow moved from Activity -> Object
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 16:21:02 +01:00
Maxence Lange e8fd2c1d61 getUrlSocial would work on custom apps folder
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-01 09:21:22 -01:00
Maxence Lange c20aaf1ad6 allow FOLLOWLOCATION
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-31 17:25:43 -01:00
Maxence Lange 1486e6454a
Merge pull request #340 from nextcloud/feature/333/refresh-detail-cache-on-new-follows
Refresh some Actor details in cache on Follow events
2019-01-20 21:35:24 -01:00
Maxence Lange 145d748b03 saving document throw interface
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-19 11:14:38 -01:00
Maxence Lange 524c7aa141 save/update
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-19 11:14:38 -01:00
Maxence Lange d207a22f33 cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-19 11:14:38 -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 83dc3bea01
Merge pull request #344 from emersonkfuri/emersonkfuri-patch-1
Failed to load more timeline entries
2019-01-18 09:03:20 -01:00
emersonkfuri 15ca69a6d0 Always use $account as local account (suppress @instance)
Signed-off-by: emersonkfuri <emersonkfuri@gmail.com>
2019-01-17 15:35:04 -02:00
Maxence Lange 7ab0a7f334 get_class in log
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-16 16:43:23 -01:00
Maxence Lange 754c9d761c some fix
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-16 12:11:45 -01:00
Maxence Lange 4a6c8f12af cache Actor on followed/unfollowed + following/unfollowing
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-16 12:06:20 -01:00
Maxence Lange 3a1ccc4c87 fixing var name
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-16 12:00: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 daf473c9a0 cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-15 12:29:14 -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 4c013f149f wait slightly longer
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-03 16:23:45 -01:00
Maxence Lange 487deb30db detailled logs
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-03 16:23:23 -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 a1410b7ed8 generate Id on Undo
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-03 10:37:02 -01:00
Maxence Lange 3e8694ff53 using AP object to generate items so UrlCloud is set by default
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-03 10:36:46 -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 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
Maxence Lange 995d611060 check installation on upgrade or account creation 2018-12-08 18:43:34 -01:00
Maxence Lange 8df77ff380 adding route and content to the Notification Stream 2018-12-08 11:41:56 -01:00
Maxence Lange 1d5bf5b969 detect ghost account and avoid them 2018-12-08 10:37:17 -01:00
Maxence Lange 395b79860c cleaning some TODO
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-08 10:27:45 -01:00
Maxence Lange b7ac669cb3
Merge pull request #143 from nextcloud/support-sqlite
replace rightJoin -> join
2018-12-07 07:00:31 -01:00
Maxence Lange c41c43c529 moving Person $actor around instead of $actorId
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-06 18:18:12 -01:00
Maxence Lange 530faa3bab cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-05 22:00:23 -01:00
Maxence Lange 9f9e6a75ef retrieve displayName on cache refresh
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-05 21:56:52 -01:00
Maxence Lange b8c992738d cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-05 20:21:45 -01:00
Maxence Lange ae90cc6117 directly set parent on setIcon/setObject
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-05 20:21:37 -01:00
Maxence Lange a850153582 generate the entry in CacheDocuments and increment version
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-05 17:37:49 -01:00
Maxence Lange ec0e6253a7 cleaning & fixing
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-05 10:38:16 -01:00
Julius Härtl 2059a5f6cd
Merge pull request #135 from nextcloud-gmbh/fix/do-not-follow-your-own-account
exception when following yourself
2018-12-05 11:44:19 +01:00
Julius Härtl 9d71a7b50c
Fix following and actor_info for account stream
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-05 10:49:44 +01:00
Maxence Lange 61a28c2171
get public messages from an account
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-05 09:53:24 +01:00
Maxence Lange 6af499a817
fill followId and confirm local followers
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-05 09:53:23 +01:00