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
|
a493363a1a
|
fixing phpdoc
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
|
2018-12-18 17:37:05 -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
|
a9f6a0add1
|
Merge pull request #196 from nextcloud/useless-value-while-communicate
Some data are only for internal use.
|
2018-12-18 17:12:47 -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
|
7a87a3c7ae
|
Merge pull request #197 from nextcloud/cleaning-followers-request
do not search for followers Id within the attributed_to field
|
2018-12-18 15:42:01 -01:00 |
Maxence Lange
|
cfc79e1e0f
|
Merge pull request #179 from nextcloud/fix-unlisted-post
Display on to:PUBLIC message
|
2018-12-18 15:41:21 -01:00 |
Maxence Lange
|
d803d77438
|
cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
|
2018-12-18 15:38:05 -01:00 |
Maxence Lange
|
428c14d37e
|
Merge branch 'master' into fill-follows-table
|
2018-12-18 15:24:51 -01:00 |
Maxence Lange
|
1ec6eb18cd
|
cleaning array_merge([])
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
|
2018-12-18 15:21:05 -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
|
feb7728658
|
returns Person istead of Note
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
|
2018-12-17 09:46:49 -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
|
86f2029834
|
using cache instead
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
|
2018-12-17 08:12:43 -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
|
d028ab206c
|
init vars
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
|
2018-12-17 08:06:03 -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
|
a7e644e7ac
|
Merge pull request #177 from nextcloud/async-only-if-valid-requests
Async the process only if there is request in STANDBY
|
2018-12-12 10:19:30 -01:00 |
Maxence Lange
|
dce5299325
|
sizeof() -> empty()
|
2018-12-12 10:04:11 -01:00 |
Maxence Lange
|
63d6a1c384
|
add some logs
|
2018-12-12 09:46:46 -01:00 |
Maxence Lange
|
c1e387c08f
|
varchar->text
|
2018-12-12 08:50:54 -01:00 |
Maxence Lange
|
2c7cdcb702
|
include the getAccount within the try/catch
|
2018-12-12 08:44:13 -01:00 |
Maxence Lange
|
1761c3988f
|
Merge branch 'master' into bigger-field-for-source
|
2018-12-10 20:14:18 -01:00 |
Maxence Lange
|
4342775a29
|
sizeof -> strlen
|
2018-12-10 19:54:28 -01:00 |
Roeland Jago Douma
|
0decc0371d
|
Merge branch 'master' into do-not-need-last-inserted-id
|
2018-12-10 21:27:18 +01:00 |
Maxence Lange
|
0dfe66b7f8
|
malformed call
|
2018-12-10 11:43:49 -01:00 |
Maxence Lange
|
f32836b91c
|
do not search for followers Id within the attributed_to field
|
2018-12-10 11:40:00 -01:00 |
Maxence Lange
|
81a4b5575b
|
some data are only for internal use.
|
2018-12-10 11:35:26 -01:00 |
Maxence Lange
|
728c4c2888
|
let's make the 'activity' field a little bigger too
|
2018-12-10 09:45:57 -01:00 |
Maxence Lange
|
73cb46c432
|
fixing size of field in database using Migrations
|
2018-12-10 09:17:33 -01:00 |
Maxence Lange
|
a9cc790950
|
check size of source entry before insert in database
|
2018-12-10 09:17:04 -01:00 |
Maxence Lange
|
e644ec335c
|
removing useless getLastInsertId()
|
2018-12-08 19:53:52 -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
|
4a1366b8b6
|
Display on to:PUBLIC message
|
2018-12-08 11:22:27 -01:00 |
Maxence Lange
|
1d5bf5b969
|
detect ghost account and avoid them
|
2018-12-08 10:37:17 -01:00 |
Maxence Lange
|
a7cee453c7
|
Async the process only if there is request in STANDBY
|
2018-12-08 10:32:54 -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 |
Julius Härtl
|
8ff50dbbd7
|
Run well-known check after setup
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
2018-12-08 00:36:35 +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
|
361fd98a50
|
Merge branch 'feature/11/migrations'
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
|
2018-12-06 19:42:21 -01:00 |
Maxence Lange
|
f08e7f29b1
|
fixing boolean and +avatar_version
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
|
2018-12-06 19:36:03 -01:00 |
Maxence Lange
|
93e003ab41
|
cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
|
2018-12-06 19:33:29 -01:00 |
Maxence Lange
|
3cd29fe20c
|
marking TODO
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
|
2018-12-06 18:22:33 -01:00 |
Maxence Lange
|
648d132abe
|
cleaning and fixing some SQL
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
|
2018-12-06 18:18:25 -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
|
296f8b3540
|
small fix
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
|
2018-12-06 13:47:12 -01:00 |
Maxence Lange
|
33931508dd
|
getStreamHome on sqlite
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
|
2018-12-05 22:53:54 -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
|
589e39b572
|
use cache instead to display account
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
|
2018-12-05 20:19:59 -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 |
Julius Härtl
|
554213c391
|
Reorder limit calls to fix sqlite query
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
2018-12-05 18:21:46 +01:00 |
Maxence Lange
|
a58dbbc3d5
|
replace rightJoin -> join
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
|
2018-12-05 11:20:23 -01:00 |
Joas Schilling
|
d1b8b283f2
|
fixup! Move over to Migrations
|
2018-12-05 13:17:33 +01:00 |
Maxence Lange
|
dd2d591b68
|
nevermind, regression
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
|
2018-12-05 10:54:19 -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 |
Maxence Lange
|
1ec454ee3b
|
cleaning and fixing
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
|
2018-12-05 09:08:45 -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
|
aa3d417edb
|
non case sensitive allowed ids
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
|
2a47f895ad
|
issue with some headers
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
|
1248d3fc80
|
limit on Accepted followers
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 |
Roeland Jago Douma
|
1b00287cb4
|
Move over to Migrations
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
|
2018-12-04 21:34:25 +01:00 |
Jan-Christoph Borchardt
|
64143fd105
|
Merge pull request #123 from nextcloud-gmbh/case-sensitive-requests
request with string id are now case insensitive
|
2018-12-04 19:18:25 +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 |
Maxence Lange
|
a7e0b2aba9
|
Merge branch 'master' into case-sensitive-requests
|
2018-12-04 13:51:36 -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
|
03fbf37252
|
404 Response on local api
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
|
2018-12-04 13:15:30 -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
|
df240a8bc7
|
request with string id are now case insensitive
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
|
2018-12-04 09:36:52 -01:00 |
Maxence Lange
|
69ed8f984b
|
silent on missing signature (a remote account is deleted
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
|
2018-12-04 09:13:49 -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 |