Wykres commitów

409 Commity (master)

Autor SHA1 Wiadomość Data
Maxence Lange b4d773940c Returns if a post is boosted, and allow unboost
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-03 16:31:15 -01:00
Maxence Lange 9a26da0266 fixing local creation
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-03 16:30:39 -01:00
Maxence Lange 1bd6e3f44f fixing & cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-03-05 16:25:08 -01:00
Maxence Lange a6ad99eed1
Merge branch 'master' into feature/noid/attachments 2019-03-05 14:11:16 -01:00
Maxence Lange d565151374
Merge pull request #374 from nextcloud/feature/noid/announce
[huge] Announce object and caching during incoming request
2019-03-05 08:16:00 -01:00
Maxence Lange c41e798b84 fixing undefined object
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-03-04 10:05:03 -01:00
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 9ac8eb965b boost creation
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-22 23:04:00 -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
Maxence Lange 8a92d5680a
Merge branch 'master' into feature/noid/announce 2019-02-21 08:38:04 -01:00
Maxence Lange 910583e122
get link for remote to follow local account
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-20 20:55:35 +01:00
Maxence Lange 4dbb6f68cd call uuid() froom TStringTools;
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-12 10:43:16 -01:00
Julius Härtl 8c0c0bc5a3 Fix setting hashtags when creating a post
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-02-05 15:10:24 -01:00
Maxence Lange 8cb56b0710 limit to viewable notes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 15:10:24 -01:00
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
Maxence Lange 1b222bf469
renaming
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-05 09:53:23 +01:00
Maxence Lange 89848f8510
allow 200 and 202 as a valid status
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-05 09:53:23 +01:00
Maxence Lange 374f312102
logging in/out request
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-05 09:53:22 +01:00
Maxence Lange 3232df7a8c
exception when following yourself
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-05 09:35:33 +01:00
Jan-Christoph Borchardt ee6b6663f7
Merge pull request #114 from nextcloud-gmbh/validate-import
validate import on incoming request
2018-12-04 17:27:56 +01:00
Julius Härtl c2282a0ab8
Merge pull request #113 from nextcloud-gmbh/save-activity
save Activity
2018-12-04 15:48:32 +01:00
Julius Härtl 3a08bf0c00
Merge pull request #120 from nextcloud-gmbh/details-on-followers
Details also when displaying followers of an account
2018-12-04 15:45:03 +01:00
Julius Härtl 236caae524
Merge pull request #122 from nextcloud-gmbh/more-404
returns 404 on non existant user/avatar
2018-12-04 15:39:09 +01:00
Maxence Lange c240faab18 timeout is defined depends on when the request is done
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-04 09:58:00 -01:00
Maxence Lange 25550d5d4e returns 404 on non existant user/avatar
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-04 09:02:13 -01:00
Maxence Lange 0ce9d6fa6c Details also when displaying followers of an account
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-04 07:27:56 -01:00
Maxence Lange 4c82ab8612 validate entries
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-03 21:43:47 -01:00
Maxence Lange 9457e563e3 cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-03 21:07:34 -01:00
Maxence Lange 55600ee628 save Activity
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-03 20:03:22 -01:00
Julius Härtl e4529162db
Merge pull request #101 from nextcloud-gmbh/setupcheck
Setup check
2018-12-03 13:36:16 +01:00
Julius Härtl 0f69a61a09
Check for configured base URL as well
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-03 12:41:22 +01:00
Maxence Lange d16b1770fe
Merge pull request #102 from nextcloud-gmbh/check-origin
check origin on external request
2018-12-03 09:35:22 -01:00
Maxence Lange 0d03ef5ced origin is based on actorId
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-03 09:34:17 -01:00
Maxence Lange b5e1a8ea0d checking origin
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-03 09:09:19 -01:00
Julius Härtl bb100ea879
Add setup check for .well-known urls
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-03 11:08:15 +01:00
Maxence Lange a6f7faacbc set viewer and assign details
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-03 08:42:36 -01:00
Maxence Lange 7f33e8d187 fixing the array of details
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-03 07:39:10 -01:00
Maxence Lange f9f2b07d7e
Followers/Following
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-03 07:14:39 +01:00
Maxence Lange c0cd42c6e3 fixing
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-02 10:10:16 -01:00
Maxence Lange c27f697f0a cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-30 10:21:11 -01:00
Maxence Lange 7d8e2b1065 setViewerId() to specify a PoV
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-30 09:57:35 -01:00
Maxence Lange 39ce6745e1 info about links between viewer/account
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-29 17:52:09 -01:00
Maxence Lange ead09b1085 count followers/following/posts on cache update
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-29 17:28:37 -01:00
Maxence Lange c005273e1f generate details on account info
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-29 16:41:55 -01:00
Maxence Lange 1bc3373b8f almost looking for missing remote actors in cache
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-29 13:31:08 -01:00
Maxence Lange aa52cd8ee2
fixing exception+database
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-29 13:57:21 +01:00
Maxence Lange f47ce64200
Merge branch 'master' into fix/security/filter-mimetype 2018-11-28 20:32:23 -01:00
Maxence Lange 5947535544 CACHE_TTL -> CACHING_TIMEOUT
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-28 20:30:45 -01:00
Maxence Lange 8b9217292d to avoid conflict, filters failing instance when processing queue
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-28 19:21:28 -01:00
Maxence Lange 9a042eea45 retry-on-fail by cron and cli
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-28 17:18:37 -01:00
Maxence Lange 13d49b6ebe exception handling
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-28 14:39:25 -01:00
Maxence Lange 005a8c57d0 410 and gone signature/account
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-28 14:26:28 -01:00
Maxence Lange e8b80e8502 exception on 410
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-28 14:21:56 -01:00
Maxence Lange 4c5450bd86 managing errors and exceptions
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-28 11:10:02 -01:00
Maxence Lange b27e31ad5d user agent in requests
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-28 10:08:07 -01:00
Maxence Lange 8382f1a9c3 cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-28 10:05:30 -01:00
Maxence Lange b06f3ffff1 cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-27 22:36:01 -01:00
Maxence Lange b2a045cb69 queue and async
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-27 15:59:19 -01:00
Maxence Lange 6210a6ec96 add priority to instances
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-27 15:58:08 -01:00
Maxence Lange bd1e0ee244 renaming/cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-27 15:54:08 -01:00
Maxence Lange a7451538d8 cache on-the-fly
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-27 15:13:37 -01:00
Maxence Lange 5196852cca managing Cache from Cron and Command line
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-26 11:33:48 -01:00
Maxence Lange 22c6cde699 error on too big document
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-25 11:50:12 -01:00
Maxence Lange ffd70a71a6 fix
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-24 13:15:33 -01:00
Maxence Lange a031d9f294 Caching
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-24 13:15:26 -01:00
Maxence Lange 6c64bbca5d setPublic
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-24 13:08:19 -01:00
Maxence Lange 9c45b76b78 cleaning/renaming
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-23 19:53:01 -01:00
Maxence Lange 031b76b942 adding Icon to Person
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-23 19:52:14 -01:00
Maxence Lange 28d360083a Document, Image and Caching
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-23 19:41:46 -01:00
Maxence Lange 7b65c3b0f4 cleaning/renaming
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-23 19:36:35 -01:00
Julius Härtl 69201a9ce2
Load streams with pagination
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-22 18:57:18 +01:00
Maxence Lange 6a06fd22b1 new routes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-22 10:46:11 -01:00
Maxence Lange ffde0920cf fixing stuff
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-22 03:38:29 -01:00
Maxence Lange 21d7cbf613
Merge pull request #48 from nextcloud-gmbh/broadcast-and-remote-delete
followers and remote delete
2018-11-21 21:00:17 -01:00
Maxence Lange 1875e7fe88 fixing some stuff
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-21 20:58:56 -01:00
Maxence Lange 16d42a9e53 InstancePath and Delete
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-21 18:22:46 -01:00
Maxence Lange b48d962164 changin following
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-21 18:22:09 -01:00
Julius Härtl 61d0ce3d46
Add exact matches to the search
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-21 15:23:41 +01:00
Julius Härtl 817bced61f
Merge pull request #39 from nextcloud-gmbh/feature/noid/setup
Implement social app setup
2018-11-21 12:03:32 +01:00
Maxence Lange be907600c7 new exceptions
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-20 21:38:55 -01:00
Maxence Lange 75826b04eb local in ACore
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-20 21:37:34 -01:00
Maxence Lange b217d0b0a6 fixing
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-20 11:52:33 -01:00
Maxence Lange c52e214614 Delete object
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-20 11:52:24 -01:00
Maxence Lange 62f713f434 managing notes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-20 11:47:14 -01:00
Julius Härtl ab1c26f69c
Implement social app setup
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-19 21:54:26 +01:00
Maxence Lange 6eb6561737 source verification
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-19 11:24:53 -01:00
Maxence Lange 31b729f5d4 fixing verification on source
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-19 11:10:24 -01:00
Maxence Lange fd5ee21522 following
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-19 09:35:10 -01:00
Maxence Lange 94d653640c moving thing around
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-19 09:34:54 -01:00
Maxence Lange ee7e735722 saving follows in database
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-16 10:48:31 -01:00
Maxence Lange 86e0853ff5 source in other objects
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-15 15:26:18 -01:00
Maxence Lange d31dcf4e87 storing Actor source
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-15 14:26:56 -01:00
Maxence Lange d6113522e8 local are cached locally and host is set by admin
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-15 10:26:25 -01:00
Maxence Lange aa102018fe cache new actor, and force refresh
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-14 12:37:54 -01:00
Maxence Lange 58093e65e5 left join cache, and returns data in timeline
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-14 11:04:33 -01:00
Julius Härtl a39a360ad9
Make pagination work properly
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-14 12:07:54 +01:00
Julius Härtl 9187acfc47
Add method to get actor by id
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-14 12:07:54 +01:00
Julius Härtl 8d66e5dc04
Start using the real backend
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-14 12:07:54 +01:00
Maxence Lange fe550a9643 search
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-14 10:00:05 -01:00
Maxence Lange af92d6e292 cache on key retrieving (when receiving post)
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-14 09:38:34 -01:00
Maxence Lange 0b08b1ed76 type can be public', 'direct', 'followers', 'unlisted'
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-13 17:05:58 -01:00
Maxence Lange f4a93ec743 cleaning code
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-12 21:57:32 -01:00
Maxence Lange 4c7c9cdfbe using composer
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-10-12 08:44:35 +02:00
Maxence Lange 0ab2dcd522 Actor is now created on first use of the app
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-10-02 12:25:36 +02:00
Maxence Lange 4dddda0dc6 social is now an activitypub server
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-10-01 14:14:23 +02:00
Maxence Lange 3e399899ed mark before cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-09-28 13:41:24 +02:00
Maxence Lange edee5f2746 get statuses from user account
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-09-20 14:20:39 +02:00
Maxence Lange aa7a43ecac Addind accountId and follows
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-09-20 14:07:22 +02:00
Maxence Lange 04972c6118 OAuth2+test 2018-09-20 09:42:52 +02:00