Wykres commitów

887 Commity (master)

Autor SHA1 Wiadomość Data
Maxence Lange 00f57cf75e
Merge pull request #752 from nextcloud/bugfix/737/optimize-stream
SQL optimization (part 1)
2019-09-24 13:34:48 +02:00
Maxence Lange 3b8064aee1 fix
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-24 12:07:54 +02:00
Maxence Lange 3ee1aba67d cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-23 10:34:16 +02:00
Maxence Lange 24a53b5cfe empty actor
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-23 10:10:59 +02:00
Maxence Lange 961da41c47 timeline home sql optimization
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-23 12:34:21 +02:00
Maxence Lange d14392dea8 generate actor_id_prim
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-17 20:16:27 +02:00
Maxence Lange 033fc41aba add social to contacts menu
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-17 16:15:55 +02:00
Maxence Lange eefa99f287 check social address during local actor
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-17 13:30:06 +02:00
Maxence Lange f24442a1fb fixing/cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-17 12:23:43 +02:00
Maxence Lange a2cd51b560 new table and migration of recipients
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-16 20:34:55 +02:00
Maxence Lange fc496e1ab7 +subtype
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-16 17:29:10 +02:00
Maxence Lange 9084c5ac55 import subtype
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-16 17:08:07 +02:00
Maxence Lange 10e07ce1cb fix url generation on local host
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-16 14:24:40 +02:00
Maxence Lange bbc89060d0 block PushService
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-16 12:44:48 +02:00
Maxence Lange fff61b27f5 avoid duplicate
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-10 09:15:21 +02:00
Maxence Lange c6a7ffe6d3 display details on the current installation during social:check:install
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-09 10:20:36 -01:00
Maxence Lange 433d5dd3db
Merge pull request #657 from StCyr/stCyr_uploadPostAttachments
upload post attachments
2019-08-29 10:50:14 -01:00
Maxence Lange 1662d691ff compat php70
fix #704
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-08-26 11:24:23 -01:00
Maxence Lange 8eff40a221 compat php70
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-08-26 11:21:15 -01:00
Maxence Lange 00d88d8ab9 cache uploaded images
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-08-26 09:45:13 +02:00
Maxence Lange a3c441652a
Merge pull request #696 from StCyr/master
2 fix of this today
2019-08-23 13:09:39 -01:00
Cyrille Bollu 7dcdfbcecf Initialise $result in function checkInstallationStatus
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-08-23 16:03:49 +02:00
Maxence Lange cd04709735 some fixes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-08-23 13:03:43 -01:00
Cyrille Bollu 8fe06456c0 fixes declaration of function checkRequestSignatureUsingPublicKey
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-08-23 16:02:22 +02:00
Maxence Lange dab2b22415 details result
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
fix

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
fix

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-08-22 20:49:27 -01:00
Maxence Lange dbd85cff3b remove invalid follows/streams on check
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-08-22 18:35:47 -01:00
Maxence Lange 48e013cb98 some renaming
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-08-22 18:35:47 -01:00
Maxence Lange 5990c58c9c remove follows on deleted account
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-08-22 18:35:47 -01:00
Maxence Lange 3292520f2d some renaming
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-08-22 18:34:38 -01:00
Maxence Lange bf09c86a80 Merge remote-tracking branch 'origin/master'
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-08-22 13:16:53 -01:00
Maxence Lange 20e00ac1ef composer
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-08-22 13:16:36 -01:00
Maxence Lange 704a964bd5
Merge branch 'master' into feature/noid/push 2019-08-22 12:46:49 -01:00
Maxence Lange edd21b7bbf limit to 18
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-08-22 11:39:41 -01:00
Maxence Lange 1efbd581ec renaming to Nextcloud Push
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-08-22 11:04:25 -01:00
Maxence Lange 135bb96694 update if on the right timeline
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-08-15 12:56:29 -01:00
Maxence Lange 3b2942f3ee gotObject -> hasObject
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-08-15 10:36:37 -01:00
Maxence Lange 487a8da2b3 refresh publickey on signature issue
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-08-12 17:44:44 -01:00
Maxence Lange 1f5df84796 generating events
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-08-12 17:37:21 -01:00
Maxence Lange b1c864e17a streamdetails & pushservice
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-08-12 10:00:40 -01:00
Maxence Lange 708fef7c66 renaming NoteService -> StreamService
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-08-12 09:57:25 -01:00
Maxence Lange 8b7ecde8ef returns limited results
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-08-01 12:04:38 -01:00
Cyrille Bollu 23d1f5cc48 Fixes the new tags/search route
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-08-01 12:02:53 +02:00
Maxence Lange aa5233f526 new route tags/search
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-30 18:42:42 -01:00
Cyrille Bollu b7208710f2 Adds 's.hashtags' to the list of fields to be selected by function
StreamRequestBuilder::getStreamSelectSql()

Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-07-29 15:03:47 +02:00
Maxence Lange e7243a6c92 0.2.101
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-28 21:29:51 -01:00
Maxence Lange e2fd1c7a7e fixing an issue during import from remote instance
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-26 14:10:48 -01:00
Maxence Lange f668e6e818 fixing
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-22 16:21:40 -01:00
Maxence Lange 7c921c40f6 cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-22 16:12:20 -01:00
Maxence Lange 994126d110 Merge remote-tracking branch 'origin/master'
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-22 09:42:17 -01:00
Maxence Lange 26587824a5 missing def
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-22 09:41:15 -01:00
Cyrille Bollu 2911135d64 Fixes a typo in LikeService's delete function that prevents the unlike
function from working properly

Signed-off-by: Cyrille Bollu <cyrille@bollu.be>
2019-07-22 12:08:56 +02:00
Maxence Lange e376768c34
Merge pull request #643 from StCyr/stCyr_fix640
St cyr fix640
2019-07-21 17:49:15 -01:00
Maxence Lange 0b84625c92
Merge pull request #626 from StCyr/stCyr_showAttachments
show post attachments
2019-07-21 09:57:56 -01:00
Maxence Lange 92ba1df113 returns stream actions on liked timeline
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-20 18:21:26 -01:00
Maxence Lange 2f54495805 send header on documentGet
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-20 17:19:59 -01:00
Maxence Lange fff29cd492 smaller resize + lint errors
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-20 15:34:02 -01:00
Maxence Lange b90ddcda03 /local/v1/post?id=Signed-off-by: Maxence Lange <maxence@artificial-owl.com> 2019-07-19 12:53:28 -01:00
Maxence Lange d985dc87e2 limit to liked post
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-19 10:53:38 -01:00
Cyrille Bollu db7b4b3075 Updates the getCacheDocumentsSelectSql function to also return
the 'resized_copy' field.

Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-07-19 13:18:56 +02:00
Maxence Lange e1abbf1987 adding liked stream
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-19 09:59:15 -01:00
Maxence Lange 749865a620 ./occ social:reset --uninstall
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-18 21:02:58 -01:00
Cyrille Bollu 83738c0fe7 Adds a test on the toArray field in ACore's isPUblic function.
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-07-18 10:01:02 +02:00
Maxence Lange f41c7efdbe 2 sizes available
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-17 20:34:28 -01:00
Maxence Lange 31a5b21a6e resize attachments
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
cleaning

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-15 18:04:27 -01:00
Cyrille Bollu d025569f5e Fixes the PostAttachment component: It now works.
Note: This requires adding NoCSRFRequired in NavigationController'
  documentGet() function. It doesn't seem to raise any risk though.

Signed-off-by: Cyrille Bollu <cyrille@bollu.be>
2019-07-15 14:40:21 +02:00
Maxence Lange f7a737c89d no strict mode
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-13 10:44:22 -01:00
Maxence Lange b8f3525600 update cache in stream
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-11 22:43:51 -01:00
Maxence Lange 623facfb04
Merge pull request #627 from nextcloud/enhancement/noid/fix-social-url
rewrite url/id system
2019-07-11 20:35:52 -01:00
Maxence Lange dd08794131 cleaning source
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-11 20:33:10 -01:00
Maxence Lange c64f502718 cleaner signature process
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-11 18:55:00 -01:00
Maxence Lange 7fccfc2325 fixing some conversion
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-11 18:26:34 -01:00
Maxence Lange a7f7c0368d rewrite of the url/host config
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-11 14:20:09 -01:00
Maxence Lange 310c218232 code cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-11 14:00:05 -01:00
Maxence Lange a77f5967e9 bypass $as
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-11 13:44:57 -01:00
Maxence Lange 5e1ed83bd8 like is not limited to Public
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-10 15:22:35 -01:00
Cyrille Bollu 1481a51e16 - Should fix the issue that post couldn't be unliked
- Fixes a typo in a comment

Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-07-10 17:40:12 +02:00
Maxence Lange c16f477e73 fixing headers
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-09 18:54:51 -01:00
Maxence Lange 502d94316b fixing
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-09 10:39:52 -01:00
Maxence Lange 6f549f0b64 compat pleroma
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-09 10:39:52 -01:00
Maxence Lange 57291f5b1d like/unlike post
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
post like

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
better managing between save/delete

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
delete undoAction

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-08 13:42:16 -01:00
Maxence Lange 8d0970ccf7 managing accounts with ./occ
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-04 16:33:27 -01:00
Maxence Lange 40b5a67f2c fixing
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-04 16:33:27 -01:00
Maxence Lange 2afeee24ad get readable/json timeline using ./occ command
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-04 16:33:27 -01:00
Maxence Lange dce161e62e manage notification on unboost/unlike
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-03 14:46:09 -01:00
Maxence Lange 46a0bad6a7 add actor
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-01 09:26:04 -01:00
Maxence Lange 882a6f5793 likes -> actions
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-06-29 19:35:41 -01:00
Maxence Lange 06a2eb7629 notifications on like
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-06-28 18:36:24 -01:00
Maxence Lange 3343f6e9e4 notification on boost
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-06-28 09:47:44 -01:00
Maxence Lange afdba7c0bb remove old Notifications
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-06-27 15:38:11 -01:00
Maxence Lange 250c7392a0 account instead of actor
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-06-27 14:28:57 -01:00
Maxence Lange 419d2a3cd2 add actor in detail
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-06-27 13:19:38 -01:00
Maxence Lange 6d820876ab new notification timeline
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-06-26 07:08:13 -01:00
Maxence Lange 6b8e1618ea Cleaner stream
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-06-25 14:15:23 -01:00
Maxence Lange 9411cf6046 Service as Actor
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-06-24 23:04:05 -01:00
Maxence Lange e499140035 fix
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-06-22 00:45:11 -01:00
Maxence Lange ee7c0a613e 0.2.5
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-06-22 00:12:12 -01:00
Maxence Lange e6842a5b6c 0.2.5
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-06-21 23:43:44 -01:00
Maxence Lange 35389b47af update account on retreive
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-06-21 11:00:14 -01:00
Maxence Lange ede7d0d732 enable host-meta locally
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-06-21 10:59:53 -01:00
Maxence Lange 50fb954e66 request on host-meta
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-06-21 10:59:53 -01:00
Maxence Lange 177e0a0330 fixing local/federated timeline
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-06-21 10:21:35 -01:00
Maxence Lange e85bb3495c fixing signature check
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-06-21 10:21:15 -01:00
Maxence Lange a1221cacf6 new announce system
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
gotActor->hasActor

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
cleaning

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
retrieve Person if missing

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
fix async

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
avoid async duplicate

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
fixing

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-06-20 22:59:40 -01:00
Maxence Lange fb97521fcb fix migration on pgsql
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
-logger

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
add details field

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-06-18 10:54:26 -01:00
Maxence Lange 6a690e64d4 hard coded table names
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-06-17 16:25:39 -01:00
Maxence Lange 37dd4f763e more loggin
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-06-12 16:34:56 -01:00
Maxence Lange db5ff4e09b revert routes changes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-06-02 19:53:41 -01:00
Maxence Lange 42d077ea99
Merge pull request #551 from nextcloud/fixing-routes
fixing routes
2019-06-02 11:11:36 -01:00
Maxence Lange 5d8521797a
Merge pull request #563 from nextcloud/bugfix/558/pgsql-migration
avoid empty boolean value
2019-06-02 11:10:10 -01:00
Maxence Lange 3ebd8b8bd0 cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-06-02 11:08:15 -01:00
Maxence Lange d5f8f423af cleaning.
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-06-02 10:43:18 -01:00
Maxence Lange 73321dc5b1 switching cc to text
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-06-02 10:38:13 -01:00
Maxence Lange 4f54b0cae5 avoid empty boolean value
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-06-02 09:23:04 -01:00
Maxence Lange b13ade6938 catch duplicate
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-31 02:01:42 -01:00
Maxence Lange a68c35e01f multiple datetime fields
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-31 01:46:46 -01:00
Maxence Lange a8e1ddc279 in case creation is empty
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-31 01:28:29 -01:00
Maxence Lange f77883eb92 fixing routes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-30 17:06:48 -01:00
Maxence Lange b53e5209ab limit incoming/outgoing requests
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-30 14:04:15 -01:00
Maxence Lange 3afc2e9bfd disable webfinger on full lock
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-30 12:42:44 -01:00
Maxence Lange 4a4dc5ea6d adding command to manage access rights
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-30 12:42:20 -01:00
Maxence Lange b8d1546be7
Merge pull request #546 from nextcloud/boosts
display boosted posts with an according indication
2019-05-29 22:44:02 -01:00
Maxence Lange 2dca0728e9 cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-29 21:40:51 -01:00
Maxence Lange dad67f6de0 Action on Cached Items
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-29 19:56:42 -01:00
Maxence Lange a5d06e253a imports
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-29 16:56:09 -01:00
Maxence Lange 8b9845787b do not import SocialAppNotification from outside.
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-29 16:47:29 -01:00
Maxence Lange 13a03ee457 parse as Note if asked
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-29 16:47:09 -01:00
Maxence Lange 37f4d17815 default values in action
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
cached version of the post contains action.values

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
fixing default values

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-29 13:15:18 -01:00
Maxence Lange 169b4927e5 db fixes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-27 16:56:06 -01:00
Maxence Lange 4878aa05e9 also, try port 80 if 443 is not available
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-27 09:22:35 -01:00
Maxence Lange e72748fa0d allow self-signed certificate
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-27 09:19:54 -01:00
Maxence Lange 8b2f3a0def issue with type on count
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-27 01:51:15 -01:00
Maxence Lange 1570dabe4d more logs
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-26 23:14:07 -01:00
Maxence Lange 1937326498 more logs
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-23 09:05:23 -01:00
Maxence Lange ae4ba193b8 add creation time on SocialAppNotification
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-18 00:07:09 -01:00
Maxence Lange a9e46125cc limit count to public post
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-18 00:03:23 -01:00
Maxence Lange ecdf7e6cf6 +filterHiddenOnTimeline()
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-17 16:33:21 -01:00
Maxence Lange cd4878ab02 small bugfixes during the follow process
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-17 13:33:35 -01:00
Maxence Lange 77af4db6b4 allow non-https
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-17 13:20:02 -01:00
Maxence Lange ec822a440b cleaning code
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-17 09:19:45 -01:00
Maxence Lange d16537b403 Notes -> Stream
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-16 16:46:06 -01:00
Maxence Lange 4ab6b9cf6e create missing id_prim
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-08 09:04:54 -01:00
Maxence Lange 7deb98642a Refresh on the SQL migrations
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-08 08:02:34 -01:00
Maxence Lange 92a9ad6d54 add actor_info on getNoteById()
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-06 20:31:27 -01:00
Maxence Lange 0c27796d25 saveActivity() out of request();
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-06 18:45:20 -01:00
Maxence Lange 109680149a +limitToType
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-06 18:45:09 -01:00
Maxence Lange 88a0d72740 fixing
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-06 18:44:12 -01:00
Maxence Lange 8174167e48 cleaning and renaming
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-06 13:32:31 -01:00
Maxence Lange 76997d0cd5 cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-06 08:33:45 -01:00
Maxence Lange 9854c65e0a cleaning/merging to master
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-06 07:29:07 -01:00
Maxence Lange 51b936e482 generate SocialAppNotification in stream database on new follower
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-03 20:56:47 -01:00
Maxence Lange 9541426701 fix phpdoc
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-03 20:54:14 -01:00
Maxence Lange 27a4785650 managing Notifications in the notification steam
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-03 20:54:14 -01:00
Maxence Lange 8d533988b8 cleaning code
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-03 16:31:15 -01:00
Maxence Lange 2d3bf90430 fixing some token issues
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-03 16:31:15 -01:00
Maxence Lange 9b0fcf7d70 fixing some token issues
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-03 16:31:15 -01:00
Maxence Lange 055aa5865a init viewer on federated stream
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-03 16:31:15 -01:00
Maxence Lange 0f416c588b add action field to everyone stream
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-03 16:31:15 -01:00
Maxence Lange e70f67cea9 small fixes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-03 16:31:15 -01:00
Maxence Lange 9038dc4fb4 small fixes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-03 16:31:15 -01:00
Maxence Lange 51c2df3e7b missing use
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-03 16:31:15 -01:00
Maxence Lange 2fb50cbefb fix token creation
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-03 16:31:15 -01:00
Maxence Lange 47b2268021 generate token and cache content
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-03 16:31:15 -01:00
Maxence Lange 0f714cfda1 cleaning Actions
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-03 16:31:15 -01:00
Maxence Lange a39d223535 fixing boost
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-03 16:31:15 -01:00
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 d25e5a680a store actor of the Announce
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-03 16:30:39 -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
Rik Meijer 0a9bd1fd61
Update DeleteInterface.php
Fix warning
2019-04-10 16:27:52 +02:00
Maxence Lange 26c2ec4081
Merge pull request #352 from nextcloud/feature/noid/attachments
Incoming Attachments.
2019-03-14 04:59:47 +01:00
Maxence Lange dd2346d4a4
Merge pull request #453 from nextcloud/bugfix/noid/create-hashed-primary-keys
creating a new field id_prim, set as primary and fill it
2019-03-11 17:07:56 +01:00
Maxence Lange ac656dacce duplicate call
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-03-11 10:52:18 -01:00
Maxence Lange 39cd9704b8 force large field to 1000
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-03-06 11:57:30 -01:00
Maxence Lange 25de17dc5d use hash(), set PrimaryKey after the hashing
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-03-05 20:23:28 -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 f74702f440 fitting migrations with new master
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-03-05 14:47:04 -01:00
Maxence Lange a6ad99eed1
Merge branch 'master' into feature/noid/attachments 2019-03-05 14:11:16 -01:00
Maxence Lange 12d86ac5d2 generate id_prim on new insert
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-03-05 11:28:14 -01:00
Maxence Lange e6e8c270a4 creating a new field id_prim, set as primary and fill it
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-03-05 11:12:40 -01:00
Maxence Lange 88f7a56aad
Merge pull request #439 from nextcloud/bugfix/438/enlarge-some-fields
Enlarge some fields
2019-03-05 08:16:11 -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 d8824c1324 varchar(2000) -> varchar(1000)
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-28 09:12:33 -01:00
Maxence Lange e30dafa100 varchar(2000) -> varchar(1000)
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-28 08:45:50 -01:00
Maxence Lange d72c20ba9b enlarge some fields
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-26 09:35:57 -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 3c1def1d1c fixing route/controller
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-22 23:17:33 -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 6c93bd45e7
Merge branch 'master' into bugfix/noid/delete-notes-on-actor-delete 2019-02-20 19:56:06 -01:00
Julius Härtl bc542a613f
Implement following a remote from the public pages
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-02-20 20:58:32 +01:00
Julius Härtl 5f0fa2cbc1
Implement frontend for ostatus popup
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-02-20 20:58:32 +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 df1ad48a8d
get actor info from uri
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-20 20:55:35 +01:00
Maxence Lange 0257466aa1
fixing tag
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-20 20:55:35 +01:00
Maxence Lange e3db064299
generate route
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-20 20:55:32 +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
Maxence Lange 147e2800fa Delete on Actor delete also Note from this Actor
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-11 10:01:06 -01:00
Maxence Lange 11303d6c35 fixing typo
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-07 16:59:10 -01:00
Maxence Lange b4e9d51c6a missing object_id field
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-06 08:27:48 -01:00
Julius Härtl 25dd9afe85 Limit search results to 25 for now
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-02-05 15:25:20 -01:00
Maxence Lange 20b8e0a51a remove '#' from remote Notes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 15:25:20 -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 5ddf8ee7c2 removing tag for debug purpose
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
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 47fa5d08f3 save hashtags and get from database
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 15:10:24 -01:00
Maxence Lange cb7583c68c validate tags (mention and hashtags) on incoming request
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 f5da0c0e7e tags -> hashtags
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 15:10:24 -01:00
Maxence Lange a5427a35a9 add table 'server_tags', and field 'tags' in table 'server_notes'
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 15:10:24 -01:00
Maxence Lange d195dc5878
removing CSRF tag from streamNotifications
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 16:21:03 +01:00
Maxence Lange cca75bcb09
object returned in the stream
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 16:21:03 +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 e830a82a45
Note and Announce should extends Model/Stream
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 16:21:03 +01:00
Maxence Lange e6dbb363fd
activityId is saved in db for streamable objects
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 16:21:02 +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 7c94576585
Stream object
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 16:21:02 +01:00
Maxence Lange e77f2f30cf
Model and Interface: Announce
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 16:20:59 +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 ee81f3717c varchar(255) -> varchar(2000)
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-30 15:41:06 -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 ed6833d7af rewrite and return attachments
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-19 11:14:38 -01:00
Maxence Lange c28bcae44d migrations
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-19 11:14:38 -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 898993a67d set primary
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
Maxence Lange 5236dd4ae8 Image and document interfaces
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-19 11:14:38 -01:00
Maxence Lange 059711f28a add attachment and parent_id field
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-19 11:14:38 -01:00
Maxence Lange 75feeaf24e add attachment and parent_id
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-19 11:14:38 -01:00
Maxence Lange c22724c0bb enlarge some field in db
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-19 11:14:38 -01:00
Julius Härtl 4fdacb38dc
Merge pull request #335 from nextcloud/bugfix/330/add-context-on-actor
add w3 @context in actor
2019-01-19 12:50:20 +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
Emerson Kfuri 1713559ec9 Update CacheActorsRequest.php
Signed-off-by: emersonkfuri <emersonkfuri@gmail.com>
2019-01-17 15:49:39 -02: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
Emerson Kfuri b353704548 Update CacheActorsRequest.php
Signed-off-by: Emerson Kfuri <emersonkfuri@gmail.com>
2019-01-17 00:42:50 -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 5890714307 add w3 @context in actor
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-15 09:35:06 -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 9a8a736a49 check address of the account
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-09 15:09:09 +00:00
Maxence Lange 42f482fa34
Merge pull request #304 from nextcloud/bugfix/noid/compat-friendica
Compat friendica
2019-01-04 10:37:59 -01:00
Maxence Lange 89cd8fa88c only valid base64
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-04 10:14:30 -01:00
Maxence Lange 721a060b48 add nonce to hash
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-04 09:34:57 -01:00
Maxence Lange dc3bbe9652 set nonce
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-04 09:32:50 -01:00
Maxence Lange a7e1c93361 enlarge size of public key
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-04 09:32:14 -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
Julius Härtl f54b346bd0
Merge pull request #274 from nextcloud/feature/219/update-actor
Using signature date as 'creation' date
2019-01-03 11:55:34 +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
Julius Härtl 6afde12932
Move follow/unfollow to store and rework account store handling
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-01-03 10:01:03 +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 43fc850c18 limit update to id
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
Julius Härtl df289d46f4
Merge pull request #279 from nextcloud/bugfix/269/getinsecureserverhost
switch to getInsecureServerHost
2019-01-02 16:53:35 +01:00
Julius Härtl 9be2302834
Merge pull request #280 from nextcloud/bugfix/noid/delete-on-object-id
get item by Id and delete it
2019-01-02 16:51:49 +01:00
Julius Härtl 17e0e078b8
Merge pull request #281 from nextcloud/bugfix/noid/ending-slash-in-webfinger
removing trail slash in the id of the Person
2019-01-02 16:24:42 +01:00
Julius Härtl 6d4e8ff281
Merge pull request #284 from nextcloud/cleaning-291218
unused import
2019-01-02 16:23:45 +01:00
Maxence Lange 93938bbaa4 compare from a list
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-31 09:34:53 -01:00
Maxence Lange 59d1b578a9 unused import
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-29 13:21:52 -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 c236a70c09 removing trail slash in the id of the Person
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-27 10:30:36 -01:00
Maxence Lange 918d595193 get item by Id and delete it
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-27 10:04:03 -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 1570d9cd3d content of note is validated only when imported from database
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-21 12:50:03 -01:00
Jan-Christoph Borchardt 588be2e4ff
Merge pull request #261 from nextcloud/bugfix/noid/nocsrfcheck
adding NoCSRFRequired to globalActorAvatar
2018-12-21 14:18:07 +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 dee7a6db7c
Merge pull request #217 from nextcloud/bugfix/207/revert-and-switch-to-text
varchar->text
2018-12-21 10:50:32 -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 20f01a24ef adding NoCSRFRequired to globalActorAvatar
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-21 09:41:02 -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 5e0cb1f92d changing field in 4 steps
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-20 21:35:13 -01:00
Jan-Christoph Borchardt d334d117f7
Merge pull request #252 from nextcloud/bugfix/233/add-reset-command
./occ social:reset
2018-12-20 21:57:13 +01:00
Jan-Christoph Borchardt 2b43a077ce
Merge pull request #251 from nextcloud/clean/moving-signing-header
signed header generation moved to SignatureService
2018-12-20 21:55:45 +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 87629329f4 ./occ social:reset
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-20 12:20:52 -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
Roeland Jago Douma b9f44777af
@NoSubAdminRequired is not needed
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-20 13:05:08 +01:00
Maxence Lange a8fea82b23
Merge pull request #244 from nextcloud/cleanup/public-pages
Public page frontend fixes
2018-12-20 10:53:50 -01:00
Julius Härtl e7e4ba2d60
Remove setCompleteDetails that is not required
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-20 11:50:59 +01:00
Julius Härtl a951c01aff
Fix details for public viewers
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-20 11:34:44 +01:00
Julius Härtl 4253672fc1
Rework frontend controllers for page rendering
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-20 11:07:49 +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 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