Wykres commitów

362 Commity (9263ff099a6112911f593a16de4e91f3668605d3)

Autor SHA1 Wiadomość Data
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