Commit graph

281 commits

Author SHA1 Message Date
Michael
e0d992f452 Display the total emoji activity 2023-11-20 21:45:02 +00:00
Michael
00395118f9 Don't show dislike if unwanted / views use the correct icon now / colours adjusted 2023-11-09 18:22:25 +00:00
Michael
f5f18518da Frio: Improved display of disabled activities 2023-11-07 21:25:00 +00:00
Michael
6de1676337 Simplify code 2023-11-04 21:37:47 +00:00
Michael
21cb18fb4b Fixed spelling 2023-11-04 14:12:09 +00:00
Michael
1972762500 Quote share counter added 2023-11-04 14:08:12 +00:00
Michael
1dd48e4a8b Frio: The activity buttons now have got counters 2023-11-04 12:57:54 +00:00
xundeenergie
c7f1c30f89
Update src/Object/Post.php
Rename from 'parent unknown' to 'Unkknown parent"

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-10-11 20:33:49 +02:00
Jakobus Schürz
9526daa5b7 change isreplyto to inreplyto 2023-10-11 17:02:24 +02:00
xundeenergie
035c9dbfa7
Update src/Object/Post.php
Sugfestion accepted

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-10-11 15:55:02 +02:00
Jakobus Schürz
4b2e920957 show "parent unknown" when parent not federated
in some cases (visibility is private of parent comment), there is no
parent federated to my instance, and then the comment "hangs around"
with no information, why there is no parent.

For normal users this can be confusing, why all exept "this" comment
have parents.

So i added a simple text instead of link to parent with a "title" field
with a small explanation, why parent is not viewable.

translations done
2023-10-09 20:10:02 +02:00
Jakobus Schürz
622cdeaad6 make reply-to link depending on screen-width
* on small/smartphone-screens show "reply to" link above the posting and
  an eventual "shared by" link in a second line.
* on middle/tablet-screens show "reply-to" and "shared-by" link in one
  line above the posting, divided by a dot.
* on large screens show reply-to-link next to the time/date-link when
  posting was posted.

the first to positions are better for users with thick fingers on
smartphones. (like me)

Change "in reply to" to "is reply to". Sounds better.
2023-10-09 01:47:47 +02:00
Hypolite Petovan
ee0f8cd3c9
Merge pull request #13510 from annando/fix-thread-parent
Fix for the display of the thread parent
2023-10-07 05:22:40 -04:00
Michael
30587f09b5 Fix for the display of the thread parent 2023-10-07 08:51:47 +00:00
Hypolite Petovan
af3151d4db Fix typo in "in reply to" base translation string 2023-10-07 02:31:56 -04:00
Jakobus Schürz
fc3dad8cea fix missing blank; translations 2023-10-07 00:10:15 +02:00
Jakobus Schürz
f1f92ccc29 use scrollToItem instead of own function
rename isanswerto and "Is answer to" to isreplyto and "is reply to"
2023-10-07 00:09:38 +02:00
Jakobus Schürz
4796bafafe add link to parent of comment 2023-10-07 00:09:06 +02:00
Hypolite Petovan
15d24a77c7 Replace author name by server host in Ignore Server labels 2023-08-25 09:30:51 -04:00
Hypolite Petovan
f2c1ecd19b Replace reference to post plink by author base URL
- This is more reliably used to show the Ignore Author Server link
2023-08-25 09:30:23 -04:00
Hypolite Petovan
4c6334ea13 [frio] Add Mute Author Server button to post actions 2023-08-20 14:27:09 -04:00
Tobias Diekershoff
1359b171af
Merge pull request #13268 from MrPetovan/task/normalize-item-action-label
Normalize item action label key name
2023-07-10 10:01:50 +02:00
Hypolite Petovan
37131a6785 Normalize item action label key name
- Remove unused $item.return reference in asynchronous item action URLs
2023-07-09 21:00:36 -04:00
Hypolite Petovan
c312d11dab Add Report Create module
WIP
2023-07-09 18:32:43 -04:00
Michael
8a50101eea Merge remote-tracking branch 'upstream/develop' into lemmy 2023-06-18 17:38:39 +00:00
Michael
4c3f2441f7 Display the contact alias if the URL is no HTTP link 2023-06-18 16:49:38 +00:00
anubis2814
db3604b479
Update Post.php
made code neater
2023-06-15 14:04:34 -04:00
Anubis2814
1f06089e5e Added content warning button 2023-06-15 12:55:54 -04:00
Hypolite Petovan
3385147f25 Replace "forum" by "group" in the rest of the code 2023-06-02 13:52:41 -04:00
Michael
5b23c1c67f Support for Bluesky reshares in the core 2023-05-24 05:55:36 +00:00
Michael
1744f6b2c3 Add menu entry to directly collapse posts 2023-05-20 12:24:19 +00:00
Michael
45c1d74750 The Emojipicker is added to Frio for new posts 2023-05-04 10:54:29 +00:00
Michael
d1d1685e24 Only share from federated posts 2023-04-22 10:40:58 +00:00
Michael
608b5a37a4 Activities are now displayed as Emojis 2023-02-18 06:56:03 +00:00
Michael
840f25cc5c Improve ignoring of messages 2023-01-09 16:23:39 +00:00
Hypolite Petovan
1874a32728 Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Michael
3288efb323 Fix fatal errors because of unknown function/variable names 2022-11-28 21:22:21 +00:00
Philipp
00883c9dcb
Move mod/editpost.php to src\Module\Post\Edit 2022-11-15 22:32:46 +01:00
Hypolite Petovan
4a626ef101 Create new Contact\Redir module class
- Move /redir route to /contact/redir
2022-11-08 20:12:23 -05:00
Philipp
f13c91b320
Move mod/cal.php and mod/events.php to Module 2022-11-07 19:52:24 +01:00
Roland Häder
03e09627e4
Used $this->isThreaded() instead as suggested by @MrPetovan 2022-10-26 17:59:07 +02:00
Roland Häder
3c50d5b70f
Changes:
- made code more readable
2022-10-26 01:31:34 +02:00
Roland Häder
2f1336339f
Changes:
- added missing type-hints
- added missing documentation
- changed double-quotes to single
- Setters do ALWAYS return void
2022-10-26 01:29:01 +02:00
Philipp
b3f9cef94a
UserSession class [3] - Refactor src/ files excluding Module/Model 2022-10-21 19:35:32 +02:00
Michael
11944dda32 old boot.php functions replaced in various places 2022-10-19 07:44:08 -04:00
Philipp
7ac86e49d1
Move Core\Session::get() to DI::session()->get() 2022-10-18 21:10:37 +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
Roland Häder
83cbe586ac
Changes
- renamed Item::visibleActivity() to Item::isVisibleActivity() as this returns
  a boolean value
- added some type-hints
- added some documentation
2022-06-30 14:18:13 +02:00
Roland Häder
fd8f4269ff
Reformatted code 2022-06-23 17:30:17 +02:00
Roland Häder
d8ff966d21
Throw IAE again (should never become visible) 2022-06-23 17:30:13 +02:00