Wykres commitów

409 Commity (master)

Autor SHA1 Wiadomość Data
Maxence Lange 3bce7b4dd1 -TNCRequest
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-11-23 10:08:21 -01:00
Maxence Lange b32fa07f9c status creation from mastodon client
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-11-21 15:48:58 -01:00
Maxence Lange b1a8d2b52a
Merge pull request #1531 from nextcloud/enh/noid/timelineoptions-on-direct
new direct timeline
2022-11-21 14:52:12 -01:00
Maxence Lange 1d0543b473 new direct timeline
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-11-18 19:13:09 -01:00
Maxence Lange 7da94393dc stabilize database
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-11-18 14:31:53 -01:00
Maxence Lange 15ff9b6dcb
Merge pull request #1516 from nextcloud/fix/noid/auto-accept-internal-followers
fix following internal account
2022-11-05 21:34:35 -01:00
Maxence Lange 4c0330e99b fix following internal account
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-11-05 12:21:40 -01:00
Maxence Lange a9d73b77b4 fix min_id
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-11-04 12:46:32 -01:00
Maxence Lange 62a8215325 cleaning code
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-11-03 13:23:07 -01:00
Maxence Lange 4aa75cfd76
Merge pull request #1510 from nextcloud/clean/noid/remove-old-call-to-public-services
remove old services
2022-11-03 12:46:11 -01:00
Maxence Lange 31ae058033 remove old services
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-11-03 11:33:18 -01:00
Maxence Lange 05e41274a0 cs:fix
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-11-03 11:13:41 -01:00
Carl Schwan 21604e11d7 Fix psalm
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-02 12:49:17 +01:00
Carl Schwan 1e4a9f2cab Fix more bugs
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-28 10:39:18 +02:00
Carl Schwan 2afd3fdfaa Use vue-richtext to render link preview
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-14 14:11:42 +02:00
Carl Schwan e037394a50 Make uploading files work
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-14 12:37:18 +02:00
Carl Schwan 9061a6812e Embeed tools lib
And fix method signature for 25

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-20 09:41:40 +02:00
Carl Schwan d868df186b
Merge pull request #1179 from mnd/peertube-interoperability-fix
Allow to follow to PeerTube 3.0.0 users
2022-05-12 11:06:10 +02:00
Carl Schwan f176b3ce1a Create instance if it doesn't exist
Currently mostly with dummy data, we need to expose these options to the
admin

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-12 10:54:16 +02:00
Carl Schwan 2e0bef515e Create instance if it doesn't exist
Currently mostly with dummy data, we need to expose these options to the
admin

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-12 09:36:59 +02:00
Carl Schwan 637924a13f Port away from private OC::$server->get
And fix a few psalm issues

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-11 18:22:54 +02:00
Carl Schwan 46df90a0fb Add psalm static analysis
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-15 17:40:33 +02:00
Carl Schwan 9e20993c4d Php cs:fix
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-15 13:35:51 +02:00
Carl Schwan be80ca5d0f Update to php 7.4 type hinting
Using rector

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-15 13:02:31 +02:00
Carl Schwan b4006e7ac2 Make wellknow work with new infra
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-14 21:44:44 +02:00
Carl Schwan de8879f856 Make social app compatible with 24
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-14 15:56:20 +02:00
Maxence Lange 250be300bd minimum elements for headers
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-03-18 18:34:07 -01:00
Maxence Lange bbe59a942a check content-length and digest
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-03-18 18:10:48 -01:00
Nikolai Merinov e577395e40 Allow to follow to PeerTube 3.0.0 users
Solved three issues:
* lib/Service/ConfigService.php: With "Accept: application/json" PeerTube
  returns user page in HTML format. Replace header with
  "Accept: application/ld+json".
* lib/Service/CurlService.php: Do not broke "$host" variable if host-meta
  resultion failed.
* lib/Service/SignatureService.php: POST to https://framatube.org/accounts/fsf/inbox
  ends with error "(request-target) was not a signed header". Added
  (request-target) to signature.

Signed-off-by: Nikolai Merinov <nikolai.merinov@member.fsf.org>
2021-01-10 04:00:01 -05:00
Maxence Lange c9afc0c104
Merge pull request #1136 from mnd/support-unquoted-signature
Support unquoted fields in Signature header
2020-12-02 22:30:31 -01:00
Maxence Lange 279d43638c
Merge pull request #1090 from nextcloud/mastadon-api-fixes
Mastadon api fixes
2020-12-02 20:50:41 -01:00
Maxence Lange 6866088431 using TNC20Request
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-11-30 23:58:32 -01:00
Nikolai Merinov 7e5b4b2881 Support unquoted fields in Signature header
Signed-off-by: Nikolai Merinov <nikolai.merinov@member.fsf.org>
2020-11-22 11:20:20 -05:00
Robin Appelman 8c070ee248 add public timeline for mastodon api
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-22 15:01:37 +02:00
Maxence Lange b56d4fe24b cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-10-13 12:45:38 -01:00
Maxence Lange d3bd428737 search compat nc20
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-10-13 12:44:19 -01:00
Maxence Lange 6d9afed842 compat nc20
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-09-24 11:32:55 -01:00
Maxence Lange 888d993141 using IWebfingerManager
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-09-23 11:41:28 -01:00
Maxence Lange f5bd9ca6f0 cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-09-21 09:54:03 -01:00
Maxence Lange 638838cd50 single table/model for all exchange
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-09-18 10:55:47 -01:00
Maxence Lange c827dd3ef2 better navigation
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-09-03 17:49:55 -01:00
Maxence Lange 3cc446aa9d fixes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-09-03 00:57:07 -01:00
Maxence Lange 8e7cf73e85 more endpoints
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-09-01 13:14:19 -01:00
Maxence Lange 8965acea03 oauth, first throw
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-08-28 01:36:19 -01:00
Maxence Lange e986ca6a4f proof of concept
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-08-25 02:06:43 -01:00
Maxence Lange db9a804de0 fixes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-08-22 01:51:40 -01:00
Maxence Lange 0da568f56b fix mention based on content
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-08-22 01:41:38 -01:00
Maxence Lange f149363bff cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-08-01 09:43:41 -01:00
Maxence Lange 58f22f961d remote testing
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-08-01 00:12:01 -01:00
Maxence Lange 85780ffbbc first throw of chunked table
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-07-31 12:21:59 -01:00
Maxence Lange b91f94b32e filter displayed Post based on viewer
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-07-27 19:39:03 -01:00
Maxence Lange 3b782315b9 filters self-signed certs unless configured to
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-07-07 10:25:50 -01:00
Maxence Lange 856518cdae Notification and Migration
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-06-25 01:48:36 -01:00
Maxence Lange 1ebb155fcf fixes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-06-18 18:40:57 -01:00
Maxence Lange 745810e2b0 database & requests
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-06-17 12:41:58 -01:00
Maxence Lange 09a6aac937 new database
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-06-12 11:35:49 -01:00
Maxence Lange a2d94040fa better index of streams
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-10-08 18:52:36 -01:00
Maxence Lange 6ba6d86fa7 quick optimisation of the timeline tag
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-10-03 10:54:03 -01:00
Maxence Lange 729b10e5df count only 'Follow'
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-10-02 15:40:38 -01:00
Maxence Lange 059d68fc4d parse '#' in case of search on hashtag
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-10-02 13:57:01 -01:00
Maxence Lange dd1613463b hide DM on home timeline
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-30 12:39:33 +02:00
Maxence Lange fbe4ea9012 rewrite sql to use ExtendedQueryBuilder
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-29 17:41:47 +02:00
Maxence Lange d9700dc2da new sql structure + write requests
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-27 07:26:20 +02:00
Maxence Lange e0e26d9a49
Merge pull request #746 from nextcloud/bugfix/745/social-address-on-local-account
check social address during local actor
2019-09-26 12:32:49 +02:00
Maxence Lange 06d12a24dd fixing
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-25 14:37:32 +02:00
Maxence Lange ea34bc6e70 cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-25 14:07:24 +02:00
Maxence Lange 686f193c99 add pagination
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-25 14:06:47 +02:00
Maxence Lange b1c50f91f6 better queries parser, add endpoint for replies
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-25 14:06:47 +02:00
Maxence Lange b459819e4c
Merge pull request #741 from nextcloud/bugfix/727/fix-url-generation-on-local-host
fix url generation on local host
2019-09-24 13:58:02 +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 961da41c47 timeline home sql optimization
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-23 12:34:21 +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 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 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 3292520f2d some renaming
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-08-22 18:34:38 -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
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
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