Commit Graph

704 Commits

Author SHA1 Message Date
Michael 984a972e72 API: Access channels and groups via lists 2024-04-19 21:42:34 +00:00
Matthew Exon c5b8abcaf0 round scaled dimensions up to avoid zero size 2024-04-13 21:50:17 +02:00
Michael b40687081e The data for the language display is now fetched on demand 2024-04-05 10:29:27 +00:00
Michael 50b1de5959 Menu option to display the search text 2024-04-05 07:35:21 +00:00
Michael c041c65c1d Comstants for features 2024-03-24 14:48:23 +00:00
Michael 4b695e361c Automatically close the registration when the admin is inactive 2024-03-22 04:19:40 +00:00
Michael 7a0c5d141e Issue 13714: Support for "commentsEnabled" and "capabilities" 2024-03-21 17:11:20 +00:00
Michael ddc9f5f595 Image handling: separate between outout and input type, use Imagick on PNG 2024-02-25 08:52:52 +00:00
Michael Vogel d95c9d28a8
Issue 13922: "voted" must not be null (#13923) 2024-02-20 07:09:55 +01:00
Michael Vogel c6160a1c38
Fix API issues #13887, #13886, #13863, #13809, #13897 (#13911) 2024-02-18 15:52:30 +01:00
Hypolite Petovan 1956c2ecfd Avoid passing null bytes in regular expression in Object\Image
- Remove capturing expression for A|B in favor of bracket syntax in regular expression since matches aren't used.
- Regular expressions have their own character escape notation including backslashes that need to be escaped in a PHP string.
- Actually address https://github.com/friendica/friendica/issues/13761#issuecomment-1949930922
2024-02-17 22:27:37 -05:00
Michael Vogel 08fa51d0bb
Fix the handling of unhandled image types and of animations (#13904)
* Fix the handling of unhandled image types and of animations

* Avoid warnings
2024-02-17 15:46:48 +01:00
Michael 7d10518e94 Revert "Fix unhandled image detection"
This reverts commit 1069cfb570.
2024-02-17 10:50:09 +00:00
Michael 1069cfb570 Fix unhandled image detection 2024-02-17 10:46:48 +00:00
Michael Vogel 14e5b06029
Image handling reworked, new image formats added (#13900)
* Image handling reworked, new image formats added

* Updated messages.po

* The dot is now part of the file extension

* Added WebP in install documentation

* Handle unhandled mime types

* Fixed animated picture detected
2024-02-17 07:45:41 +01:00
Michael 83306949ac Possible fixes "libpng warning: Interlace handling should be turned on when using png_read_image" 2024-02-05 18:16:47 +00:00
Michael 89e7420237 Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Michael Vogel 8fc96477e7
Use the post-counts table to display content (#13781)
* Use the post-counts table to display content

* Use verb instead of vid

* Use verb

* Update counter on delete
2023-12-31 12:50:07 +01:00
Michael b8b1b7bb84 Revert interlace stuff 2023-11-28 14:57:11 +00:00
Michael c56b915dee Hopefully fix "Interlace handling should be turned on when using png_read_image" 2023-11-28 13:50:09 +00:00
Hypolite Petovan fb19176201 Remove DI dependency in Object\Api\Mastodon\Instance
- Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1826792949
2023-11-26 09:48:46 -05:00
Michael 4d7c5f5672 Fix tests 2023-11-25 15:03:42 +00:00
Michael 199ac64202 Issue 12530: Align the instance endpoint to the latest changes 2023-11-24 13:25:39 +00:00
Michael e0d992f452 Display the total emoji activity 2023-11-20 21:45:02 +00:00
gudzpoz 9bf7529dda Improve emoji federation and mastodon api compliance 2023-11-12 20:59:49 +08: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 705b2d4c41 Add support for source_url in Mastodon\InstanceV2 2023-10-03 20:55:15 -04:00
Michael ee8cf83722 More code simplification 2023-09-02 19:32:43 +00:00
Michael 68b9a9796c Simplified code 2023-09-02 19:28:54 +00:00
Michael 5c166be3fc Channels are a new way to see different content 2023-09-01 21:56:59 +00: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
Hypolite Petovan dad3404ac5 Replace remaining references to default banner image by api.mastodon_banner configuration value
- Ensure leading slash is present at every place the configuration value is used
2023-08-17 21:58:53 -04:00