Commit graph

197 commits

Author SHA1 Message Date
Tobias Diekershoff 7789ea2507
Merge pull request #10228 from MrPetovan/bug/warnings
[PHP 8] Fix undefined template variables
2021-05-11 06:10:29 +02:00
Hypolite Petovan 10e5630988 Don't assume $a->contact is populated in Object\Post::getCommentBox
- Address https://github.com/friendica/friendica/issues/10167#issuecomment-837238584
- This might reveal some side-effect
2021-05-10 22:03:51 -04:00
Hypolite Petovan 9ef9fc7c14 Skip URL-less mention terms in Object\Post::getDefaultText
- Address https://github.com/friendica/friendica/issues/10167#issuecomment-830859710
- Added logging to troubleshoot deeper issue
2021-05-10 21:50:42 -04:00
Hypolite Petovan 2c6bf754d5 Fix undefined variables in wall_thread.tpl
- Remove unused "num_comments_text" template variable
- Remove unused "item.postops" template variable mention
2021-05-10 18:59:09 -04:00
Hypolite Petovan 98c2ca34f5 Remove block/ignore links from contact/item action menus for self 2021-05-04 08:45:27 -04:00
Balázs Úr 054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
Michael 5bbcb8bdf4 ActivityPub: Delete Comments 2021-03-24 22:22:14 +00:00
Michael 2bbfbd57b0 Only offer "ignore thread" when there is a need for this 2021-02-28 11:20:02 +00:00
Michael 312c01a517 Several speed improvements (magiclink, caching, indexes) 2021-02-17 18:59:19 +00:00
Michael 890d1057d2 No implicit mention for top level Diaspora comments 2021-02-16 07:20:41 +00:00
Michael c1d99d6c4c Most user-item traces removed 2021-01-31 23:37:34 +00:00
Michael ef0400fc19 "uri-id" instead of "uri" or "id" 2021-01-27 10:01:42 +00:00
Hypolite Petovan 6b0df74ed7 Add blocking author from an item context feature 2021-01-23 05:30:03 -05:00
Michael b892db0cf3 All item selects are now done by the post class 2021-01-19 07:23:01 +00:00
Hypolite Petovan e68f7444ed
Improve class alias naming in Object\Post 2021-01-16 08:12:41 -05:00
Michael 2fa692bcce New post class in the rest of the classes 2021-01-16 04:16:09 +00:00
Hypolite Petovan c8604895c4 [frio] Add share dropdown to mobile post view
- This should prevent accidental taps from resharing content unwittingly
2021-01-07 10:13:40 -05:00
Hypolite Petovan 8b3ab4e6bb Refactor builtin_activity_puller() and format_like()
- Simplify output array
- Rename format_like() to format_activity()
- Remove duplicate parameters in format_activity()
2020-11-21 11:08:44 -05:00
Michael Vogel 4f6bf9e518
Update src/Object/Post.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2020-10-12 03:58:56 +02:00
Michael a173bf8eab Diaspora: Native reshares only work with toplevel posts 2020-10-11 21:45:49 +00:00
Michael dbdc8c91f6 Diaspora announce / Renaming share buttons 2020-10-11 19:58:28 +00:00
Michael 7c5aa0bbf1 "announce" is activated for Twitter as well 2020-10-11 12:27:19 +00:00
Michael d3e19bc880 Support for real reshares 2020-10-11 08:49:47 +00:00
Michael b6b28b1541 Display the languages in the post 2020-10-04 18:52:28 +00:00
Michael 6c7bce86fe Avoid fatal error on the community page 2020-09-20 17:37:09 +00:00
Hypolite Petovan 76d6962129 Remove superfluous variable in item template variables 2020-09-13 20:01:54 -04:00
Hypolite Petovan 3fa3e78844 Normalize item like/dislike template variable name 2020-09-13 20:01:54 -04:00
Hypolite Petovan 8d5eb61ea3 Normalize item comment template variable name 2020-09-13 20:01:54 -04:00
Hypolite Petovan 65b796ed1f Normalize item_photo_menu template variable name 2020-09-13 20:01:53 -04:00
Hypolite Petovan 2bfd53bf09 Normalize item body template variable name 2020-09-13 20:01:53 -04:00
Hypolite Petovan 9ff228812f Normalize item location template variable name 2020-09-13 20:01:51 -04:00
Hypolite Petovan 4065f71382 Fix qcomment addon
- Initialize $qcomment template variable everywhere it is expected
- Remove addon Javascript from core head template
2020-09-09 16:49:03 -04:00
Michael 206caaf51a Reshared data now is a link 2020-09-09 04:49:42 +00:00
Michael 42dcd6646e Issue 9135: Display only reshared posts at the top 2020-09-08 22:06:10 +00:00
Michael 0e4d3fe9e5 Display a symbol when a post had been reshared 2020-08-23 13:26:23 +00:00
Michael dd82f150ca Rework of the network page 2020-08-13 20:07:13 +00:00
Michael 71b6226909 Some more avatar function replacements 2020-07-28 19:30:55 +00:00
Michael fc0312451d Changed parameter order for getByURL 2020-07-15 17:06:48 +00:00
Michael d9c6a46ffe Replaced "getDetailsByURL" with "getByURL/getByURLForUser" 2020-07-15 04:42:04 +00:00
Michael Vogel 235f4eaa89
Merge pull request #8697 from MrPetovan/task/8691-like-links-one-way
Make like links one way
2020-05-29 15:33:24 +02:00
Hypolite Petovan e20d5ff0b5 Fix the event feature disabling logic in Object\Post
- Conditions on item network and dislike feature presence were mixed which could have led to unexpected behaviors
2020-05-27 08:41:12 -04:00
Michael 973abb6196 Replace "id = parent" checks with "gravity" checks 2020-05-27 12:19:06 +00:00
Michael 3b2ae5c4a9 function names changed 2020-05-01 06:01:22 +00:00
Michael 5df5e9521b The tag table is now really used 2020-04-26 15:24:58 +00:00
Michael d63e903d9f Changed template for direction 2020-03-03 21:29:51 +00:00
Michael 72c198990e Merge remote-tracking branch 'upstream/develop' into private 2020-03-02 15:05:00 +00:00
Michael ca1b92bb34 Support unlisted public posts 2020-03-02 07:57:23 +00:00
Hypolite Petovan 452d7e6404 Remove unused conversation response code
- Remove get_responses()
- Remove get_response_button_text()
- Remove title key from $conv_responses array
- Address https://github.com/friendica/friendica/issues/8000#issuecomment-589263329
2020-02-22 20:41:12 -05:00
Hypolite Petovan 637e38e535 User hide_dislike user setting to hide dislike button and conversation responses 2020-02-20 05:37:07 -05:00
Michael efddd248f7 "remote_follow" is now "remote_comment" 2020-02-18 17:31:02 +00:00