Wykres commitów

475 Commity (d5f8f423af4761dd09777ff4cba290a050c9683d)

Autor SHA1 Wiadomość Data
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
Maxence Lange 9457e563e3 cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-03 21:07:34 -01:00
Maxence Lange 22a1e00a2a spliting ACore (ActivityPub Core methods) -> Item (model)
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-03 21:07:26 -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 a08cd46123
Merge pull request #99 from nextcloud-gmbh/bugfix/noid/profile-info-view
Show list of followers/following on user profile
2018-12-03 13:37:10 +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 e315a720a0 cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-03 10:33:04 -01:00
Maxence Lange f0c9af7e23 validate instead of direct get
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-03 10:32:51 -01:00
Julius Härtl 18ac6411f7
Add local flag to actor cache join
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-03 11:41:04 +01:00
Julius Härtl 6f33b8372c
Cache avatars in the browser
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-03 11:41:04 +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
Jonas Sulzer a89dc2819e
add check for .well-known/webfinger
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2018-12-03 11:07:22 +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
Julius Härtl 56fdde1b8b
Return defaults for details
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-03 08:09:56 +01:00
Maxence Lange 7f747a0655
returns details about the followed, not the follower.
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-03 07:15:16 +01:00
Maxence Lange b5abb5d09c
fixing details
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-03 07:15:16 +01:00
Maxence Lange bf45757997
routes and methods
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-03 07:15:15 +01:00
Maxence Lange fdfb917066
fixing
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-03 07:15:15 +01:00
Maxence Lange 454237b5a8
add type to Note
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-03 07:14:47 +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 75447af767 Merge remote-tracking branch 'origin/more-for-local-accounts' into more-for-local-accounts
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-30 10:02:25 -01:00
Maxence Lange 8b9ca910ba fixing
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-30 09:59:16 -01:00
Maxence Lange ccf7433235 cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-30 09:57:49 -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 378a43d23e left join follow in search
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-30 09:56:54 -01:00
Maxence Lange 8a2fd1842b type in database for Follow
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-30 09:54:48 -01:00
Maxence Lange 011074646a
info about links between viewer/account
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-30 11:06:13 +01:00
Maxence Lange 06ad4230eb
count followers/following/posts on cache update
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-30 11:06:13 +01:00
Maxence Lange 2a7d07cdaa
fix
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-30 11:06:13 +01:00
Maxence Lange 7ea1ef3c01
generate details on account info
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-30 11:06:12 +01:00
Maxence Lange 1c5ce8c269
fixing
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-30 11:06:12 +01:00
Maxence Lange 56d87e9bdb
do not import Local
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-30 11:06:12 +01:00
Maxence Lange 54ce1b496a
details on Person
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-30 11:06:12 +01:00
Maxence Lange 93b7973cbd
almost looking for missing remote actors in cache
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-30 11:06:12 +01:00
Julius Härtl 6babe6385e
Merge pull request #76 from nextcloud-gmbh/frontend/search-design
Improve user search design
2018-11-29 21:53:41 +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 58d4e075dd fix
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-29 16:48:20 -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 aaafa82b4b fixing
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-29 16:41:12 -01:00
Maxence Lange e7f5119e90 do not import Local
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-29 16:40:29 -01:00
Maxence Lange f2a97772e7 details on Person
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-29 16:39: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
Julius Härtl f92290713a
Add proper NotFoundResponse if no avatar is available
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-29 14:24:00 +01:00
Julius Härtl 61b727d52e
Allow loading avatars from remote
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-29 13:59:51 +01:00
Julius Härtl 53b5cc29e7
Use avatar endpoint if no actor_info is available
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-29 13:57:21 +01:00
Maxence Lange 5627236d32
Revert "revert to CS"
This reverts commit c4fc3f0183897ecf26b1e8a9e4a18beb14a354d5.

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-29 13:57:21 +01:00
Maxence Lange 3d5ce46559
revert to CS
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-29 13:57:21 +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 4a0956b5ac
not sensitive case during getFromId
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-29 13:57:21 +01:00
Julius Härtl 2ec04d611e
Add unified avatar endpoint to quickly fetch avatars
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-29 13:57:20 +01:00
Julius Härtl 01d4f83ccb
Fix handover of the final address to the frontend
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-29 10:04:15 +01:00
Jonas Sulzer 59a9a66914
autoconfigure CloudAddress
automatically do setCloudAddress() if overwrite.cli.url is set

Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2018-11-29 10:04:15 +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 8102d81f91 Revert "CACHE_TTL -> CACHING_TIMEOUT"
This reverts commit fbaa3dd2cd.

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-28 20:29:28 -01:00
Maxence Lange ca247218b5
Merge pull request #70 from nextcloud-gmbh/features/cli/cacherefresh
retry-on-fail
2018-11-28 20:26:31 -01:00
Julius Härtl d69471957b
Link accounts inside of posts
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-28 21:24:33 +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 fbaa3dd2cd CACHE_TTL -> CACHING_TIMEOUT
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-28 14:52:31 -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 676ec5acce cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-28 14:27:38 -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 a3a2ac6dcc error must be 0
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-28 14:17:23 -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 1643206f5c retry for content after 5 minutes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-28 11:08:39 -01:00
Maxence Lange 8b068521c8 return token on post creation
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-28 10:15:25 -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 63a1107178 cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-28 09:40:20 -01:00
Maxence Lange b36e56cee9 displays post with current user as author
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-28 09:39:31 -01:00
Maxence Lange 15358d0e47 cache actors
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-28 09:16:20 -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 3efe4a60cd direct stream will now display user's own post
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-27 18:48:30 -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 bb06cc1063 add Type to cached actor
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-27 15:55:24 -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 1999f06ada fix sql 2
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-27 14:13:10 -01:00
Maxence Lange 4354edbdb4 sql fix
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-27 13:19:38 -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 7aeca5c395 new routes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-24 13:14:30 -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 b88ff13bc4 new routes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-23 20:07:32 -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
Julius Härtl f3a36449e0
Make public pages use the proper navigation endpoint
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-22 16:14:05 +01:00
Maxence Lange dd1a52a2a3 cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-22 13:51:34 -01:00
Maxence Lange 4417c6c16f cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-22 11:42:48 -01:00
Maxence Lange c4e78552fe more fixing
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-22 11:37:19 -01:00
Maxence Lange dc009d828f double-quotes on follow_id
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-22 11:28:52 -01:00
Maxence Lange 783c736870 fixing requests
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-22 11:21:47 -01:00
Maxence Lange ab9d9fdd37 improvement on the Db
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-22 10:46:29 -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 e99b48b4a6
Fix loading the proper template
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-21 14:48:07 +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 fb1b1b9e98 fixing
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-20 21:40:10 -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 a05dfc5879 local in ACore
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-20 21:38:36 -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 de9559ab87 cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-19 09:35:18 -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 3cec05e7f8 moving thing around
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-19 09:33:34 -01:00
Maxence Lange 9f388e59cf accepted field in db
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-19 09:32:52 -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 31867cfbb7 fixing timestamp
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-16 10:00:39 -01:00
Maxence Lange 26dad9973e converting published time
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-16 09:47:59 -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 dbdca46f38
Update Person.php 2018-11-15 12:07:52 -01:00
Julius Härtl bcffd1cf73
Fix error due to missing object return
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-15 13:23:40 +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
Julius Härtl 82bb7e83ed
Use defaultSelectAlias
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-14 13:17:49 +01:00
Julius Härtl 0740da8466
Fix pagination issue
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-14 13:15:19 +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 a2433b8fef
Add animation and hide info after first run
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-14 12:48:45 +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 ec04f02800 upgrading version
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-12 21:59:01 -01:00
Maxence Lange 6a0ac5934e using new Services
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-12 21:57:50 -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 6d2d8f9565 new routes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-12 21:56:54 -01:00
Maxence Lange 96d5e69dee new routes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-12 21:56:22 -01:00
Maxence Lange 88ebb11dbd rework database
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-12 21:55:39 -01:00
Maxence Lange 6b6c1f33c4 Exception & models
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-12 21:55:10 -01:00
Julius Härtl 2e48b3d9b9
Use vue app for public page as well
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-10-23 22:12:29 +02:00
Julius Härtl 4f842b8876
Fix account controller
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-10-23 22:12:28 +02:00
Julius Härtl 35cc358808
Add basic endpoint for account data
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-10-23 22:12:28 +02: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 f05f47807e cleaning stuff
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-10-02 12:21:55 +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
Jan-Christoph Borchardt 41f6d90ae7
Starting Nextcloud Social
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-09-05 13:00:10 +02:00
John Molakvoæ (skjnldsv) a3c2036509
Vue example app
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-08-26 11:35:53 +02:00