Wykres commitów

887 Commity (master)

Autor SHA1 Wiadomość Data
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
Robin Appelman ce1484f1b0 preserve some of the whitespace from html tags
without the "html whitespace" a hashtag posted after a url will be seen as part of the link by linkify, and then mangled by the hashtagmangler and break the url.

additionally this keeps the appearance of the post closer to the original

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-09-18 19:27:44 +02:00
Robin Appelman 952ffb94a6 render profile page for ostatus follow url
when initiating a follow from a remote mastadon instance, the user gets directed to 'apps/social/ostatus/follow/?uri=' which is currently broken.

this changes it to render the regular profile page for that link, allowing the user to follow the profile.

I'm not sure what the previous behavior was before things got broken

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-09-18 19:25:13 +02: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 cf8a326c2d avatar on post
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-09-02 12:07:57 -01:00
Jonas Sulzer ff9224e4ad
👌 IMPROVE: use vue Content components and transmit serverData over initialState
- use vue components `Content` and `AppContent` with it's respective styling
  to be independent from server styling
- use OCP\IInitialStateService and @nextcloud/initial-state to transmit the serverData
  instead of using a hidden span element and jsonEncode/Decode
  this is needed to use the `Content` component, so the vue instance can be mounted to
  #content directly (otherwise server styling for #content interfers with the vue styling)
- also improves some general styling (mostly widths and margins/paddings)

Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2020-09-02 10:05:22 +02:00
Maxence Lange 875203b75a adding a numeric id to actors and stream for some 3rdclient
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-09-02 01:59:06 -01:00
Maxence Lange 8e7cf73e85 more endpoints
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-09-01 13:14:19 -01:00
Robin Appelman 0ce3da28d7 query instead of create Application in background jobs 2020-08-28 17:04:21 +02: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 f1c3b696a7
Merge pull request #949 from nextcloud/nickvergessen-patch-1
Update language handling in notifier
2020-08-24 08:03:52 -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
Julius Härtl 71918f1a0e
Only add index if does not exist yet
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-17 08:46:55 +02:00
Maxence Lange 29c3a32ee6 cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-08-03 12:51:14 -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 445ad15878 uninstall before purge
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-07-30 19:13:40 -01:00
Maxence Lange 39280310b2 Merge remote-tracking branch 'origin/master'
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-07-30 19:12:28 -01:00
Maxence Lange f4d09d9f6d get actor from userId
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-07-30 19:12:06 -01:00
Maxence Lange 7862780eaf details on fail
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-07-27 20:02:09 -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
Joas Schilling 9a264ace7a
Update Notifier.php 2020-07-23 21:25:03 +02: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
Julius Härtl 3af6dcb1ca
Use strong comparison
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-06-25 16:10:39 +02: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 3db58dcda5 migration
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-06-23 11:11:49 -01:00
Maxence Lange b3d146116e fixing hashtags
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-06-22 16:55:46 -01:00
Maxence Lange 0888efd78a fix route on non-token
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-06-18 20:55:54 -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
Ruben Barkow 920466e356
Fix Primary index name on "oc_social_a2_cache_documts" is too long
also fixes social_a2_request_queue and social_a2_stream_action name length
new names: social_a2_cache_docum, social_a2_req_queue and social_a2_stream_act

closes #850

Signed-off-by: Ruben Barkow <github@r.z11.de>
2020-03-19 09:09:59 +01:00
Maxence Lange 8f4f5cb7a6 better migration
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-10-11 09:43:18 -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 80c44ad773 returns 404
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-10-05 15:58:47 -01:00
Maxence Lange dc2141c6de accepting request on actor id
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-10-05 15:57:31 -01:00
Maxence Lange a9c9f6dd45 small fix
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-10-03 11:34:29 -01:00
Maxence Lange d786434128
Merge branch 'master' into feature/noid/returns-viewer-link-on-actor 2019-10-03 11:22:55 -01:00
Maxence Lange 34446aa117 composer
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-10-03 11:13:39 -01:00
Maxence Lange 1b6b79927b remove old code
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-10-03 10:54:03 -01:00
Maxence Lange 1130d7ffbd migrate data to a specific table
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-10-03 10:54:03 -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 55abe1ab21 add viewerLink during import of Person
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-10-03 10:14:12 -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 c0d71b7e09
Merge pull request #774 from StCyr/bugfix/773/search_with_#
FIX: Removes heading '#' from the search terms as search won't work
2019-10-02 15:11:46 -01:00
Maxence Lange 85d07abebe cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-10-02 13:57:29 -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 9a554f72be filter DM
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-30 18:39:44 +02:00
Maxence Lange 741a49f09b fixing and cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-30 18:28:59 +02:00
Maxence Lange dd57e9adec cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-30 12:40:25 +02: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 554364e493 clean
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-30 12:19:07 +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 7f02c662f6 migration to ExtendedQueryBuilder
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-29 13:44:06 +02:00
Maxence Lange 453d03f038
Merge pull request #761 from nextcloud/bugfix/noid/viewer-rights-on-singlepost
fix viewer rights
2019-09-29 13:37:20 +02:00
Maxence Lange 231590a415 small fix in migration
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-28 15:05:34 +02:00
Maxence Lange 17608769e0 fix viewer rights
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-27 20:47:05 +02:00
Maxence Lange 4776346318
Merge pull request #760 from nextcloud/feature/noid/sql-optimization-2
sql optimization on stream_action
2019-09-27 15:26:58 +02:00
Maxence Lange ae9e03a2b1 save as int instead of bool
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-27 15:13:51 +02:00
Maxence Lange f3ce5967c9 add viewer check on single post
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-27 15:03:25 +02:00
Maxence Lange e32f4fa234 rewrite sql for 'timeline liked'
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-27 07:53:05 +02:00
Maxence Lange 9d5343f0ea switch to unique_index
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-27 07:29:21 +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
Cyrille Bollu 7964820ef3 FIX: Updated 3 old references to TABLE_STREAMS
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-09-25 14:56:53 +02:00
Maxence Lange 06d12a24dd fixing
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-25 14:37:32 +02:00
Cyrille Bollu 7a92cf1574 Single post timeline can be displayed to non logged in users.
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-09-25 14:11:10 +02:00
Maxence Lange 445b52b049 first migration to ExtendedQueryBuilder
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-25 14:09:01 +02:00
Maxence Lange 2ea24d7785 start migration to a better QueryBuilder.
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-25 14:07:24 +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 7b2834acc9 display single note
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 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