Wykres commitów

815 Commity (ab347790a8fb92c5e1fe87ff3b8d00989fd0386d)

Autor SHA1 Wiadomość Data
Carl Schwan fb266f056d Implement UI
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-21 14:53:49 +01:00
Carl Schwan 092fe8c506
Merge pull request #1520 from nextcloud/enh/noid/rootUrl-nodeinfo
nodeinfo rootUrl
2022-11-21 13:00:21 +01:00
Carl Schwan eea6d411e7
Merge pull request #1530 from nextcloud/eng/noid/remove-chunk
remove 'chunk'
2022-11-21 10:26:49 +01:00
Carl Schwan 1adf04fcc1 Fix cs
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-21 10:22:42 +01:00
Maxence Lange 256f70388a command returns int
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-11-20 11:31:31 -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 9cb3b7e886 remove 'chunk'
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-11-18 10:05:32 -01:00
Maxence Lange cbb54b6dfa confirmation popup
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-11-08 10:40:20 -01:00
Maxence Lange a23c032b01 nodeinfo rootUrl
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-11-08 10:20:54 -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 91158956b7
Merge pull request #1508 from nextcloud/enh/noid/well-known-services
manage multiple well-known services
2022-11-03 12:45:56 -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
Maxence Lange 06218acd52 manage multiple well-known services
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-11-03 11:06:53 -01:00
Maxence Lange 715b4c59e4 fix publicKey
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-11-02 22:34:45 -01:00
Maxence Lange d3de0bfac4 returns 404 on missing Actor
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-11-02 18:57:13 -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 60f7ce31bb Link to internal profile page
This makes it possible to follow the user

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-27 15:47:35 +02:00
Carl Schwan c75af8deed Fix required return value
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-27 15:46:41 +02:00
Carl Schwan 22216186d9 Implement getting list of followers
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-27 15:22:21 +02:00
Carl Schwan e3e60b44ff Fix static analysis
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-27 13:56:08 +02:00
Carl Schwan b751689289 Follow up dashboard dark theme
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-14 16:32:07 +02:00
Carl Schwan c683f9135a Port to new Dashboard api
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-14 16:10:36 +02:00
Julien Veyssier 0915e4e101
add dashboard widget, only handling internal 'Follow' subtypes for the moment
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-14 14:46:44 +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 cb07ab075e Fix composer cs
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-14 12:43:45 +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 fff26baedf
Embedd timeline in profile page
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-13 15:51:00 +02:00
Carl Schwan cb25fb1b4e
Fix composer cs
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-12 20:49:46 +02:00
Carl Schwan 184de87c86
Update nc vue components to v7
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-12 17:18:06 +02:00
Max 8405a1193a
fix: coding standards
Prevent CI failures like https://github.com/nextcloud/social/runs/7711238464?check_suite_focus=true

Signed-off-by: Max <max@nextcloud.com>
2022-08-07 20:19:42 +02:00
Max bd17e38756
fix: php-cs
Signed-off-by: Max <max@nextcloud.com>
2022-08-07 11:00:30 +02:00
Carl Schwan ed0ee34eac
Merge pull request #1446 from nextcloud/fix/init-ap
Fix init AP class
2022-07-12 14:10:44 +02:00
Carl Schwan 1a4021a5bd Fix init AP class
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-12 14:07:49 +02:00
Carl Schwan cc38526f97 Fix networking issues
Otherwise webfinger requests are not executed correctly

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-12 13:55:15 +02:00
Carl Schwan 5a36e2474e Improve upload UI
- Remove a dependency
- Cleanup the code
- Improve the usability
- Allow to add a description to an image

The backend is unfortunately not yet working but that need some DB work
blocked by another pull requests

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-11 18:20:55 +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 191683733d
Merge pull request #1415 from nextcloud/cleanup/OC-servercontainer
Port away from private OC::$server->get
2022-05-12 10:52:30 +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 9c8a5f62ae Replace Emoji picker by the new one
This old one completely ddosed my machine because it generated thousands
of requests to fetch the images/emojis

This also port some things to the nc vue components as a side effect.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-11 23:08:20 +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 293f028a19
Merge pull request #1330 from stefan123t/master
fix #1129 empty only existing tables in emptyAll()
2022-05-09 13:03:00 +02:00
Carl Schwan 8bc648a972 Fix JrdResponse not containing template
For now this is modified JrdResponse from
https://github.com/nextcloud/server/pull/26178

Let's hope that we can switch to the OCP one in NC 25

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-21 14:25:54 +02:00
Carl Schwan c3acc08f41 Add more ci jobs
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-15 19:39:11 +02:00
Carl Schwan 39f7243857 Fix not being able to post new messages
The flag for json_encode was wrongly positioned due to some issue with
the paranteses.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-15 19:20:00 +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
stefan123t 17666a5f74 fix #1129 empty only existing tables in emptyAll() 2021-11-23 07:58:29 +01: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 45a1f2138c
Merge pull request #1138 from mnd/activitystream-vocabulary
Support all Actor types from Activity Vocabulary
2020-12-02 22:28:07 -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 3722af564b Support all Actor types from Activity Vocabulary
Support all types from https://www.w3.org/TR/2017/REC-activitystreams-vocabulary-20170523/

Signed-off-by: Nikolai Merinov <nikolai.merinov@member.fsf.org>
2020-11-23 01:52:04 -05: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
Robin Appelman d045973449 add reblog content to mastadon api
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-21 17:55:00 +02:00
Robin Appelman dc5d89fe5c expose isLocal trough api
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-19 18:50:26 +02:00
Robin Appelman dd9ed2f972 set reblogged and favorited in mastadon api
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-19 18:25:06 +02:00
Robin Appelman cd86386bff use the correct value for `account.acct`
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-19 18:25:06 +02:00
Robin Appelman f8e55b158c allow setting min and max id in timeline request
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-19 18:25:06 +02:00
Robin Appelman 173b768038 preserve html in content
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-19 18:25:06 +02:00
Maxence Lange 9d2e5c5d74 delete id_prim pkey is needed
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-10-16 15:29:42 -01:00
Robin Appelman 2fb4f95f39 fix unfollow
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-14 13:23:32 +02:00
Maxence Lange 25cb4f5b8f
Merge pull request #1072 from nextcloud/search-nc20
Search for nc20
2020-10-14 09:16:59 -01:00
Maxence Lange 9edfc83a8f cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-10-13 23:51:41 +02:00
Maxence Lange de67f15f6d display avatar
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-10-13 16:51:56 -01: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 e6a6fe7b77
Merge pull request #1054 from nextcloud/self-profile-show-all
show all activity when viewing your own profile, not just public acti…
2020-10-11 23:35:14 -01:00
Maxence Lange 931c1d8ba8 using hasViewer()
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-10-11 23:34:31 -01:00
Maxence Lange 5de193fc22
Merge pull request #1052 from nextcloud/vendor-dir
use default composer vendor directory
2020-10-11 15:13:47 -01:00
Maxence Lange b131dbe093 fix url being unique
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-10-11 10:48:41 -01:00
Robin Appelman 1f7b24d0f2 show all activity when viewing your own profile, not just public activity
some more fine grained checks should be added later but this at least prevents 'you haven't tooted yet' from showing when you have tooted

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-09 16:13:08 +02:00
Robin Appelman 67a719890e use default composer vendor directory
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-09 15:10:46 +02:00
Robin Appelman 6b11aa717c
Merge pull request #243 from nextcloud/tests/cypress
Add cypress testing
2020-10-08 12:06:48 +00:00
Robin Appelman b9d2648f0a fix well-known autoloader paths
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-02 17:21:46 +02:00
Robin Appelman f77cf749c0 remove duplicate primary key
since autoincrement automatically becomes the primary key on most(?) databases, we can't set another one

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-01 17:32:23 +02:00
Robin Appelman 6d75921856 fix migration by allowing null values for 'nid'
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-09-24 16:59:44 +02:00
Maxence Lange 67e4dcf8a0 comment until WellKnownNManager is available
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-09-24 11:39:18 -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 261b7c7003
Merge pull request #1027 from nextcloud/ostatus-follow
render profile page for ostatus follow url
2020-09-22 21:15:07 -01:00
Maxence Lange cb601b9b18
Merge pull request #1028 from nextcloud/html-whitespace
preserve some of the whitespace from html tags
2020-09-21 15:03:48 -01:00
Maxence Lange 88cd3e9259
Merge pull request #985 from nextcloud/feature/noid/compat-with-clients
[wip] Oauth for 3rdparty clients
2020-09-21 14:47:31 -01:00
Maxence Lange e57fcd2a36 improved auto_increment
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-09-21 14:46:35 -01:00
Maxence Lange f5bd9ca6f0 cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-09-21 09:54:03 -01:00