Commit graph

88 commits

Author SHA1 Message Date
Hypolite Petovan
544ce206d7 [vier] Add mute author server link in photo menu 2023-08-20 14:27:43 -04:00
Philipp
9f18222a06
Unify "Capability" 2023-07-26 21:44:31 +02:00
Michael Vogel
f991b553ce
Update src/Content/Item.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-07-09 21:18:36 +02:00
Michael Vogel
4f62ab6168
Update src/Content/Item.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-07-09 21:18:27 +02:00
Michael
b9bb525fe9 New parameter to create a share block for display reasons 2023-07-09 14:31:47 +00:00
Michael
e95c678141 Improve display of quoted posts 2023-07-09 14:15:01 +00:00
Michael
8d5876d5f2 Set the group as owner for "group only" postings 2023-06-25 22:14:35 +00:00
Steffen K9
30ce6f1ed3
Fiy typo in author-alias
Added a missing `a` .
2023-06-24 12:38:14 +02:00
Michael
4c3f2441f7 Display the contact alias if the URL is no HTTP link 2023-06-18 16:49:38 +00:00
Hypolite Petovan
3385147f25 Replace "forum" by "group" in the rest of the code 2023-06-02 13:52:41 -04:00
Hypolite Petovan
4f7740264e Replace "group" with "circle" in the rest of the code
- Remaining mentions already mean "forum"
2023-05-27 22:01:45 -04:00
Hypolite Petovan
ff80e46eb0 Fix magic links in contact photo menu
- They were using a URL format obsolete for years
2023-05-17 19:53:22 -04:00
Hypolite Petovan
e29e802b7c Fix link to user category in label
- Improve documentation of Content\Item->determineCategoriesTerms
2023-04-27 22:50:43 -04:00
Josh Soref
3d21742fbb spelling: everything
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref
a20cb0fe98 spelling: encapsulated
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Michael
8a55ce2415 Set different permissions for comments via API 2023-03-24 20:39:11 +00:00
Michael
699be97ea1 Reformatted code 2023-03-06 06:15:30 +00:00
Michael
aea3ed4548 Code is reformatted 2023-03-05 21:46:45 +00:00
Michael
eafe54f2dd The function "getAttachedData" has been removed 2023-03-05 21:22:22 +00:00
Philipp
f0c29edcde
Adapt BaseURL calls to new UriInterface 2023-02-18 21:12:21 +01:00
Michael
b46f18bdf9 Fix reply via API / fix missing variable 2023-01-25 10:16:24 +00:00
Hypolite Petovan
b4cbe4250e Remove Text\BBCode::scaleExternalImage
- Image size is a CSS concern, not a PHP one
2023-01-23 20:40:20 -05:00
Michael
cd3dbad2a8 Fix some warnings on item creation 2023-01-09 15:55:35 +00:00
Michael
50e43c530e Posts from contacts can now be collapsed 2023-01-08 17:40:05 +00:00
Michael Vogel
d5bc6d0006
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-01-07 19:54:13 +01:00
Michael
f5fd99f7ea Unbneeded strlen removed 2023-01-07 18:51:28 +00:00
Michael
9a1a406c03 Preview of attached links work again 2023-01-04 21:52:02 +00:00
Michael
d1a951f0ac Post processing centralized 2023-01-04 06:52:40 +00:00
Michael
0d56f156f7 Code cleanup for mod/item.php 2023-01-04 05:44:52 +00:00
Hypolite Petovan
1874a32728 Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Hypolite Petovan
77e87da441 Create /profile/{nickname}/photos route
- Create new Profile\Photos\Index module class
- Update most references of the legacy /photos/{nickname} route
2022-11-20 17:15:07 -05:00
Hypolite Petovan
4a626ef101 Create new Contact\Redir module class
- Move /redir route to /contact/redir
2022-11-08 20:12:23 -05:00
Michael
664071a0b1 Quoted reshares containing quoted reshares should now look fine 2022-11-07 20:44:20 -05:00
Michael
4dd2d7ebab Transmit the quoted part in the source 2022-11-05 16:25:04 +00:00
Philipp
87291e30a4
Found some more follow-links 2022-10-31 20:58:34 +01:00
Michael
f569ccbbc2 Code is simplyfied 2022-10-29 22:55:39 +00:00
Michael
3c169b534e Improved handling of native quotes 2022-10-29 22:11:39 +00:00
Michael
deccea0228 More functions moved to content class 2022-10-27 05:44:44 +00:00
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
Philipp
d76a2b6ad6
Move DI dependency for Content\Item class 2022-10-21 19:35:32 +02:00
Philipp
b3f9cef94a
UserSession class [3] - Refactor src/ files excluding Module/Model 2022-10-21 19:35:32 +02:00
Michael
ee1acba9eb old boot.php functions replaced in /src 2022-10-19 07:56:25 -04:00
Michael
ae82737445 Fix errors introduced by PR #11997 2022-10-18 18:32:20 +00:00
Roland Häder
26e0469de7
Merge branch 'develop' into rewrite/gravity-constants 2022-10-18 16:34:40 +02:00
Michael
f8f0dfa91a Detect linked posts and add them as quote 2022-10-16 21:37:05 +00:00
Michael
8e1af9277a Improve quite generation 2022-10-15 13:00:52 +00:00
Roland Häder
8f92d1cc8e
Changes:
- unified class import, we had these both:

````
use Friendica\Model\Item as ModelItem;
use Friendica\Object\Post as PostObject;
````

In first version the namespace was prefixing class name, in second suffixing it.
2022-10-15 00:44:07 +02: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