Commit Graph

367 Commits

Author SHA1 Message Date
Michael c65fff6f93 Some more improvements for posts with shares 2022-10-26 17:00:55 +00:00
Michael 1a0b63659b Merge remote-tracking branch 'upstream/develop' into share-rework 2022-10-25 08:31:01 +00:00
Michael f54a886a5e The "share" handling is improved 2022-10-25 06:37:23 +00:00
Roland Häder 54b89365bb
Fixed:
- Added missing `()` to `getRemoteUserId` which is a method, and not a property
- `Undefined property: Friendica\Core\Session\Model\UserSession::$getRemoteUserId in /var/www/.../htdocs/mod/display.php on line 192`
2022-10-24 18:29:28 +02:00
Philipp 8dda6144a9
Remove unnecessary "use" 2022-10-20 21:06:06 +02:00
Philipp bfe68702db
UserSession class [2] - Refactor mod/ files 2022-10-20 21:02:49 +02:00
Michael 5874de4743 old boot.functions replaced in /mod 2022-10-19 04:14:42 +00:00
Roland Häder da66730e4f
Rewrite:
- moved constants GRAVITY_* from boot.php to Friendica\Model\Item
- also rewrote some array initialization:

From:
````
<?php
$arr = [];
$arr['foo'] = "FOO";
````

To:
````
<?php
$arr['foo'] = "FOO";
````
- added a few type-hints
2022-10-15 00:44:06 +02:00
Michael 757a5c2de9 Loglevels are adjusted 2022-08-30 19:45:30 +00:00
Roland Häder ba33c95e97
Fixes:
"Argument 1 passed to Friendica\Content\Text\BBCode::toPlaintext() must be of the type string, null given, called in /var/www/.../htdocs/mod/display.php on line 305"
2022-07-03 14:45:12 +02:00
Michael d665b78ea8 Fix forced updates on the display page 2022-06-07 17:34:19 +00:00
Michael 069c1d0b35 Only update when new content arrives 2022-06-06 10:41:07 +00:00
Michael 0aee9a054a Fix: Like/Dislike/Reshare actions should now be visible 2022-06-03 17:40:06 +00:00
Michael 36b80eb704 We should now always fetch the user posts 2022-05-31 17:49:08 +00:00
Michael f4e680c97e Fix: Activities should be be able again on displayed posts 2022-05-31 17:00:21 +00:00
Hypolite Petovan a924716131 Use the top-level author theme if they're a local user in mod/display 2022-05-28 21:53:57 -04:00
Michael 4a22034be6 Unified output via the "httpExit" function 2022-04-10 08:31:55 +00:00
Michael a3ba3fb383 Simplify author contact fetching 2022-02-12 10:46:17 +00:00
Philipp 322b7c856c
Merge pull request #11129 from urbalazs/copyright-2022
Update copyright
2022-01-02 09:45:35 +01:00
Balázs Úr e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
Michael 33f080d118 Remove obsolete network guessing function 2021-12-07 07:28:55 +00:00
Hypolite Petovan e7d87d3524 Suppress notice messages related to the VCard::getHTML call in mod/display
- Address https://soc.schuerz.at/display/4edd2508-6661-a8d1-f168-b2a245440386
2021-12-02 09:45:32 -05:00
Hypolite Petovan a53add06f2 Fix wrong call to module in mod/display 2021-12-02 09:44:56 -05:00
Philipp 645e4edc63
Revert "Revert "Replace Module::init() with Constructors""
This reverts commit 89d6c89b67.
2021-11-19 20:18:48 +01:00
Hypolite Petovan 89d6c89b67
Revert "Replace Module::init() with Constructors" 2021-11-19 07:23:23 -05:00
Philipp ce578a7745
Replace Module::init() with Constructors 2021-11-17 22:14:33 +01:00
Philipp 489cd0884a
Make BaseModule methods dynamic 2021-11-14 23:49:06 +01:00
Michael f6faae5bb1 Replace deprecated log calls 2021-10-20 18:53:52 +00:00
Michael 8e0ef04b3f Issue 10837: Display the public item when the personal one does not exist 2021-10-06 19:51:10 +00:00
Hypolite Petovan 7a2d5f6a8e Move notification to the new paradigm 2021-10-02 18:15:45 -04:00
Hypolite Petovan 47acb6a278 Move notify to the new paradigm
- Remove unused frion notify template
- Update API test
2021-10-02 18:15:42 -04:00
Michael Vogel 6a444d8e13
Update mod/display.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-10-01 16:28:33 +02:00
Michael d8447469b6 Prefer the local user when displaying items 2021-10-01 05:26:13 +00:00
Michael 0ad904c185 The conversation functionality moved to a class 2021-09-23 21:18:36 +00:00
Michael 473adaf463 Mark, file and starring does now work for all items 2021-08-12 05:28:47 +00:00
Michael 15b93b4459 "getUserNickname" is now "getLoggedInUserNickname" 2021-08-09 19:48:39 +00:00
Michael b8fa75b2dd Changed function name 2021-08-09 15:29:07 +00:00
Michael 9f01052dd2 Removed some more unused "use" 2021-08-08 20:03:28 +00:00
Michael 28090bd793 Get rid of App->user completely 2021-08-08 19:30:21 +00:00
Michael fc283ab928 Remove direct calls to App->user 2021-08-08 10:14:56 +00:00
Michael 0c0abd9238 Replaced argv/argc with replacement functions 2021-07-25 13:08:22 +00:00
Michael Vogel 1793513f46
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-07-25 07:04:48 +02:00
Michael 8f46064430 Using getter/setter functions 2021-07-24 20:34:07 +00:00
Michael 30aad250df App->contact is now removed 2021-07-24 11:49:11 +00:00
Michael f60d60e997 Profile fetching simplyfied 2021-07-24 10:33:58 +00:00
Michael 2502a9192d Many more app-variables removed 2021-07-24 10:09:39 +00:00
Michael Vogel f6e5a14805
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-07-23 15:26:21 +02:00
Michael afe3c8954c Simplified functionality to load the profile in the sidebar 2021-07-23 12:39:37 +00:00
Michael 90588ddb8e Avoid proxyfying images that are removed or replaced later 2021-07-05 07:00:35 +00:00
Michael 3f0937dd42 API: Show activity notifications 2021-06-01 05:51:03 +00:00