Commit graph

11931 commits

Author SHA1 Message Date
Michael Vogel
1208163ba0
Update src/Core/L10n.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-11-03 15:43:22 +01:00
eaff54c4e3 Moves supported languages to the general part 2023-11-03 06:54:15 +00:00
a7ab14b3b3 Use "toISO6391" instead of "substr" 2023-11-03 05:32:57 +00:00
3f2b0b9422 Use ISO-639-1 for the language detection 2023-11-02 22:49:25 +00:00
Raroun
1ede164450
Merge branch 'friendica:2023.09-rc' into Leftovers-from-PR-#13339 2023-11-01 08:21:50 +01:00
Raroun
67a6bc3ea9
Update Site.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-11-01 07:30:34 +01:00
094b219581
Merge pull request #13586 from annando/defer-limit
Individual defer limits per worker task
2023-10-31 20:46:35 -07:00
58b119250a
Merge pull request #13589 from annando/community-presets
Block tags, not hide wall for community accounts
2023-10-31 19:18:57 +01:00
404e937872 Improve distribution of non public messages 2023-10-31 13:08:24 +00:00
20b095c7c5 Block tags, not hide wall for community accounts 2023-10-31 07:53:06 +00:00
7371070cde Issue 13511: Ensure stattic community user settings 2023-10-29 19:43:44 +00:00
b0978d0e37 Merge remote-tracking branch 'upstream/2023.09-rc' into defer-limit 2023-10-29 16:44:18 +00:00
308401b9e5 Convert "followers" path when copying receivers 2023-10-29 16:17:16 +00:00
9faad72ec0 Individual defer limits per worker task 2023-10-29 12:51:26 +00:00
8e05c282b1 Post permissions are now copied from the thread parent 2023-10-29 08:49:24 +00:00
30d2d93494 added missing apostrophe 2023-10-27 11:54:11 +02:00
4eea232581 Removed Full name from Notify.php 2023-10-27 11:26:54 +02:00
5b8f307d4c Removed Full name from Register.php 2023-10-27 11:23:07 +02:00
4e5041af13 Updated source string in Site.php 2023-10-27 11:18:09 +02:00
c664907dbf Updated User.php 2023-10-27 11:12:59 +02:00
999c56a284
Merge pull request #13580 from annando/fetch-async
Follow requests are always processable
2023-10-26 14:08:59 +02:00
7e22b7090e Follow requests are always processable 2023-10-26 06:46:23 +00:00
f5837b77d6
Merge pull request #13579 from annando/fetch-async
Improved asynchronous message procession
2023-10-26 08:38:29 +02:00
c7739ef9c4 Improved processing of leftover queued posts 2023-10-26 05:01:54 +00:00
35cf140cb2 Fix processing of featured collections 2023-10-26 04:49:41 +00:00
8ce516ae9f Duration added to logging 2023-10-26 03:41:35 +00:00
a1947d2bb1 Improved asynchronous message procession 2023-10-25 20:16:36 +00:00
7ebf4d51ca Fix redirections in two-factor authentication settings index page
- FoundException are used to redirect users
2023-10-24 20:26:34 -04:00
4a90394c38 Remove DI and superglobals dependency from two-factor settings modules 2023-10-24 19:44:53 -04:00
004e87c986 Another unneeded callstack call is removed 2023-10-18 20:21:02 +00:00
e4a37f344e Individual callstacks are removed from the logger 2023-10-18 19:55:15 +00:00
1c67be8db0 Improve the performance of API timeline calls 2023-10-18 08:11:36 +00:00
Wladimir Palant
b85a2709e8 Allow CORS requests to nodeinfo endpoints 2023-10-16 20:10:36 -04:00
bc4b036c76
Merge pull request #13533 from nupplaphil/feat/phpunit_upgrade
CI upgrade & Installer Check enabling
2023-10-15 17:39:58 -04:00
4de03b0c11 Exclude classes from logging 2023-10-15 19:45:32 +00:00
3ca277e2b2
Add intlChar Installer-Check 2023-10-15 15:49:00 +02:00
3f9783f288 Issue 13535: Handle Firefish chat messages 2023-10-15 03:34:37 +00:00
Michael Vogel
e99fcfddb5
Merge pull request #13541 from MrPetovan/bug/13534-image-blurred
Drop using the proxy large size for image preview
2023-10-14 23:40:18 +02:00
f19cd54195 Drop using the proxy large size for image preview
- It was causing blurry upscaling with portrait images that have a 640px size preview.
2023-10-14 16:05:01 -04:00
938b2bae23 Align proxy sizes to photo preview sizes
- PIXEL_SMALL goes from 300 to 320
- PIXEL_MEDIUM goes from 600 to 640
- Use Proxy pixel constants where we used hard-coded pixel values
2023-10-14 16:05:01 -04:00
fce82deabc Merge remote-tracking branch 'upstream/2023.09-rc' into channel-improvements 2023-10-14 19:06:35 +00:00
be394b573d Channels: Larger fields, better error handling 2023-10-14 18:39:35 +00:00
b29a68d467 Add exception when authentication returns different user id than logged in in Settings\RemoveMe 2023-10-14 14:15:42 -04:00
1f7b6a63bb Throw exception when user has delegates in User::remove 2023-10-14 14:15:41 -04:00
3a42849759 Add current user's hovercard to removeme page
- Extract Hovercard generation to Content\Widget
2023-10-14 14:15:41 -04:00
e6855d3125 Refactor Delegation modules
- Remove dependency on DI
- Group translation labels in template variables
- Reformat tempate code
2023-10-14 14:15:40 -04:00
Michael Vogel
c98a0a99a6
Merge pull request #13530 from MrPetovan/bug/json-error-factory-error
Move jsonError out of Factory\Api\Mastodon\Error
2023-10-14 19:35:49 +02:00
e558a83783 Improved Emoji detection 2023-10-13 21:55:15 +00:00
d1eb1ec0f4 Use "IntlChar" for the emoji detection 2023-10-12 21:23:08 +00:00
19529e2aa1 Merge remote-tracking branch 'upstream/2023.09-rc' into smilies 2023-10-12 20:49:20 +00:00
aeba70f2a6 Language description updated 2023-10-12 05:19:57 +00:00
Michael Vogel
47c15d330f
Update src/Core/Installer.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-10-11 22:58:14 +02:00
407f46c043 Exit when the class doen't exists 2023-10-11 20:41:40 +00:00
d658908abe Deactivate the check 2023-10-11 20:28:10 +00:00
38c599d681 Merge remote-tracking branch 'upstream/2023.09-rc' into language-detection 2023-10-11 20:20:02 +00:00
42919a2be3 Deactivated check 2023-10-11 19:43:42 +00:00
a6bbbd738f Added check for IntlChar module 2023-10-11 19:20:51 +00:00
f4591b2cc7 The language detection is now done in blocks 2023-10-11 18:38:14 +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
1b9ec3a214 Rename BaseApi->logErrorAndJsonExit to logAndJsonError to better match the functionality
- Also it's shorter and we're paying by the character
2023-10-11 09:44:03 -04:00
eb583330df Remove obsolete Factory\Api\Mastodon\Error->logError method and related dependencies 2023-10-11 09:44:03 -04:00
0a91484fa0 Move jsonError out of Factory\Api\Mastodon\Error->InternalError 2023-10-11 09:44:03 -04:00
696c56b6be Move jsonError out of Factory\Api\Mastodon\Error->Forbidden 2023-10-11 09:44:03 -04:00
6a2ca1a6b6 Move jsonError out of Factory\Api\Mastodon\Error->Unauthorized 2023-10-11 09:44:03 -04:00
7486ebdc10 Move jsonError out of Factory\Api\Mastodon\Error->UnprocessableEntity 2023-10-11 09:44:03 -04:00
7f846f153d Move jsonError out of Factory\Api\Mastodon\Error->RecordNotFound 2023-10-11 09:44:02 -04:00
9e71610711 Make BaseApi->checkAllowedScope into an object method
- It isn't called from static contexts anymore
2023-10-11 09:43:57 -04:00
f70a64891c Add Factory\Api\Mastodon\Error dependency to BaseApi
- Copy Factory\Api\Mastodon\Error->logError functionality to BaseApi
2023-10-11 09:43:54 -04:00
Jakobus Schürz
08b45a32a5 Merge branch '2023.09-rc' into flip-replyto-link 2023-10-11 02:07:47 +02:00
1723aa0697
Merge pull request #13525 from annando/api-pictures
Fix images in the API
2023-10-10 09:16:31 -04:00
2673c667b5 Add a couple of missing fields in Content\Item->localize
- Address "Undefined array key "author-alias"" in Content\Item->localize:323
2023-10-09 20:21:01 +02:00
b4afb5fa5b Add callstack to log messages to better troubleshoot warning messages 2023-10-09 20:21:01 +02:00
6736187be6 Normalize template variables in Widget\VCard
- Display new links in vier
- Address https://github.com/friendica/friendica/issues/13157#issuecomment-1751750581
2023-10-09 20:21:01 +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
cd9fc0ddec Fix images in the API 2023-10-08 19:49:18 +00:00
298973a7e3 Add a couple of missing fields in Content\Item->localize
- Address "Undefined array key "author-alias"" in Content\Item->localize:323
2023-10-08 08:55:48 -04:00
1506068f7c Add callstack to log messages to better troubleshoot warning messages 2023-10-08 08:37:41 -04:00
c31c264b0b Normalize template variables in Widget\VCard
- Display new links in vier
- Address https://github.com/friendica/friendica/issues/13157#issuecomment-1751750581
2023-10-08 08:37:40 -04:00
0c82974986 Check more fields for the language 2023-10-08 06:44:37 +00:00
e22df99abd Set allocated max width for inline images we have dimensions of 2023-10-07 17:13:36 -04:00
35e15a13fb Revert "Merge pull request #13512 from MrPetovan/bug/13506-allocated-width"
This reverts commit d1e6a16cde, reversing
changes made to 6c9d3d42d3.
2023-10-07 12:46:20 -04:00
182a3a4663 Fix wrong template variable name when using content/image/single_with_height_allocation.tpl 2023-10-07 06:07:07 -04:00
710f9eecb2 User Repository\UserDefinedChannel->selectByUid instead of Factory\UserDefinedChannel->getForUser
- Rename Repository\Channel to Repository\UserDefinedChannel
- Add new Collection\UserDefinedChannels class
- Move Factory\Timeline->createFromTableRow to Factory\UserDefinedChannel
2023-10-07 05:48:23 -04:00
8ac6d0ef04
Merge pull request #13507 from xundeenergie/finalize-mention-buttons
Finalize mention buttons
2023-10-07 05:23:19 -04:00
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
Jakobus Schürz
2636b19171 add blanks, suggested from codereview 2023-10-07 11:06:51 +02:00
30587f09b5 Fix for the display of the thread parent 2023-10-07 08:51:47 +00:00
af3151d4db Fix typo in "in reply to" base translation string 2023-10-07 02:31:56 -04:00
ec9345efa6
Merge pull request #13448 from annando/user-defined-channels
Channels can now be created by users
2023-10-07 02:09:19 -04:00
Jakobus Schürz
c6af5266cd add mention-/showgroup button also to profile/vcard.tpl
update translations
2023-10-07 01:28:23 +02:00
Jakobus Schürz
02b26f5969 put group-logic for "widget" to php-file 2023-10-07 01:23:29 +02: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
b5df3cb104 Unneeded constructors removed 2023-10-06 21:08:33 +00:00
3f6480c127 Clean channel confusion 2023-10-06 11:38:29 +00:00
22e0bb58d9 Channel class confusion solved 2023-10-06 08:20:17 +00:00