Hypolite Petovan
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
Michael
e558a83783
Improved Emoji detection
2023-10-13 21:55:15 +00:00
Michael
d1eb1ec0f4
Use "IntlChar" for the emoji detection
2023-10-12 21:23:08 +00:00
Michael
19529e2aa1
Merge remote-tracking branch 'upstream/2023.09-rc' into smilies
2023-10-12 20:49:20 +00:00
Michael
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
Michael
407f46c043
Exit when the class doen't exists
2023-10-11 20:41:40 +00:00
Michael
d658908abe
Deactivate the check
2023-10-11 20:28:10 +00:00
Michael
38c599d681
Merge remote-tracking branch 'upstream/2023.09-rc' into language-detection
2023-10-11 20:20:02 +00:00
Michael
42919a2be3
Deactivated check
2023-10-11 19:43:42 +00:00
Michael
a6bbbd738f
Added check for IntlChar module
2023-10-11 19:20:51 +00:00
Michael
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
Hypolite Petovan
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
Hypolite Petovan
eb583330df
Remove obsolete Factory\Api\Mastodon\Error->logError method and related dependencies
2023-10-11 09:44:03 -04:00
Hypolite Petovan
0a91484fa0
Move jsonError out of Factory\Api\Mastodon\Error->InternalError
2023-10-11 09:44:03 -04:00
Hypolite Petovan
696c56b6be
Move jsonError out of Factory\Api\Mastodon\Error->Forbidden
2023-10-11 09:44:03 -04:00
Hypolite Petovan
6a2ca1a6b6
Move jsonError out of Factory\Api\Mastodon\Error->Unauthorized
2023-10-11 09:44:03 -04:00
Hypolite Petovan
7486ebdc10
Move jsonError out of Factory\Api\Mastodon\Error->UnprocessableEntity
2023-10-11 09:44:03 -04:00
Hypolite Petovan
7f846f153d
Move jsonError out of Factory\Api\Mastodon\Error->RecordNotFound
2023-10-11 09:44:02 -04:00
Hypolite Petovan
9e71610711
Make BaseApi->checkAllowedScope into an object method
...
- It isn't called from static contexts anymore
2023-10-11 09:43:57 -04:00
Hypolite Petovan
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
Hypolite Petovan
1723aa0697
Merge pull request #13525 from annando/api-pictures
...
Fix images in the API
2023-10-10 09:16:31 -04:00
Hypolite Petovan
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
Hypolite Petovan
b4afb5fa5b
Add callstack to log messages to better troubleshoot warning messages
2023-10-09 20:21:01 +02:00
Hypolite Petovan
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
Michael
cd9fc0ddec
Fix images in the API
2023-10-08 19:49:18 +00:00
Hypolite Petovan
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
Hypolite Petovan
1506068f7c
Add callstack to log messages to better troubleshoot warning messages
2023-10-08 08:37:41 -04:00
Hypolite Petovan
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
Michael
0c82974986
Check more fields for the language
2023-10-08 06:44:37 +00:00
Hypolite Petovan
e22df99abd
Set allocated max width for inline images we have dimensions of
2023-10-07 17:13:36 -04:00
Hypolite Petovan
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
Hypolite Petovan
182a3a4663
Fix wrong template variable name when using content/image/single_with_height_allocation.tpl
2023-10-07 06:07:07 -04:00
Hypolite Petovan
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
Hypolite Petovan
8ac6d0ef04
Merge pull request #13507 from xundeenergie/finalize-mention-buttons
...
Finalize mention buttons
2023-10-07 05:23:19 -04: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
Jakobus Schürz
2636b19171
add blanks, suggested from codereview
2023-10-07 11:06:51 +02: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
Hypolite Petovan
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
Michael
b5df3cb104
Unneeded constructors removed
2023-10-06 21:08:33 +00:00
Michael
3f6480c127
Clean channel confusion
2023-10-06 11:38:29 +00:00
Michael
22e0bb58d9
Channel class confusion solved
2023-10-06 08:20:17 +00:00
Michael
ed24d06e0c
Now there are user defined channels
2023-10-05 19:10:20 +00:00
Michael
bc3bdf3cb0
Merge remote-tracking branch 'upstream/2023.09-rc' into user-defined-channels
2023-10-05 18:19:38 +00:00
Michael
174fa49b23
Fix: The calculation of unseen circles can now be deactivated again
2023-10-05 17:06:21 +00:00
Michael
fbded95f65
Merge remote-tracking branch 'upstream/2023.09-rc' into user-defined-channels
2023-10-05 13:15:45 +00:00
Michael
aae5f006f9
Remove unneeded functions
2023-10-05 09:25:23 +00:00
Michael
6a86eeda10
Timeline classes are split into multiple classes
2023-10-05 05:36:12 +00:00
Michael
5d6e02bef3
Some more changes after review
2023-10-05 03:17:55 +00:00
Michael
73e9190ce7
Changes after review
2023-10-05 03:16:44 +00:00
Tobias Diekershoff
eb50618fe8
set version for 2023.09-rc
2023-10-04 20:40:08 +02:00
Michael
b8208974a4
Merge remote-tracking branch 'upstream/develop' into user-defined-channels
2023-10-04 09:40:32 +00:00
Tobias Diekershoff
2911895cdb
Merge pull request #13476 from MrPetovan/bug/13467-image-reliable-dimensions
...
Redux horizontal masonry, height allocation feature with ensured dimensions
2023-10-04 08:16:09 +02:00
Michael Vogel
e81d775791
Merge pull request #13493 from MrPetovan/bug/13353-instancev2-source_url
...
Add support for source_url in Mastodon\InstanceV2
2023-10-04 07:59:11 +02:00
Hypolite Petovan
705b2d4c41
Add support for source_url in Mastodon\InstanceV2
2023-10-03 20:55:15 -04:00
Hypolite Petovan
1df5003643
Restore support for Mastodon profile short-form URLs
...
- Running these URLs through WebFinger first allows to retrieve the canonical ActivityPub profile URL
2023-10-03 20:46:17 -04:00
Hypolite Petovan
163a85c78f
Add new horizontal masonry and image height allocation
...
- Move image templates to content/image sub-folder
2023-10-03 19:58:52 -04:00
Hypolite Petovan
e01040a2e8
Remove $_SERVER superglobal dependency from Profile::addVisitorCookieForHTTPSigner
2023-10-03 19:58:52 -04:00
Hypolite Petovan
6d009a3e0f
Add chunk method to BaseCollection
...
- Add test for BaseCollection->chunk
2023-10-03 19:58:52 -04:00
Hypolite Petovan
3333d4af88
Change parameter to PostMedias in Item::makeImageGrid
...
- Add dimension rescaling when updating the preview URL
2023-10-03 19:58:51 -04:00
Hypolite Petovan
5004471770
Move size to pixels conversion in its own method in Util\Proxy
2023-10-03 19:58:51 -04:00
Hypolite Petovan
4462ad6bf0
Replace split attachment code with PostMedia objects
2023-10-03 19:58:51 -04:00
Hypolite Petovan
1052f6fde0
Add DDD classes for post media entities
2023-10-03 19:58:50 -04:00
Hypolite Petovan
86cba639fc
Add implementation of the Content-Type header value from the MIME type RFC
...
- Add tests for the new classes
2023-10-03 19:58:50 -04:00
Hypolite Petovan
8640afc82e
Merge pull request #13484 from xundeenergie/better-navigation
...
[frio] Better navigation
2023-10-03 17:13:42 -04:00
Jakobus Schürz
b42373d834
improve button-icon for groups in hovercard
2023-10-03 09:00:11 +02:00
Jakobus Schürz
9cbad559a1
add self for unfollowed contact
2023-10-03 06:03:32 +02:00
Hypolite Petovan
cf5beafec0
Move self key to $profile tamplate variable in hovercard.tpl template
...
- Simplify network and mention menu items by checking for group in Model\Contact::photoMenu
2023-10-02 21:34:49 -04:00
Michael
008c8dbf36
More languages / use profile text as fallback
2023-10-02 20:37:16 +00:00
Jakobus Schürz
05f2cf9202
fix code because of review
2023-10-02 12:00:23 +02:00
Jakobus Schürz
2ee28e2db2
fix Typo
2023-10-01 23:07:51 +02:00
Jakobus Schürz
f8a1b7ea56
Merge branch 'showgroup-button' into better-navigation
2023-10-01 22:59:27 +02:00
Jakobus Schürz
0183d33261
Merge branch 'add-mention-button' into better-navigation
2023-10-01 22:55:20 +02:00
Jakobus Schürz (admin)
4b161b0d65
set variables for correct mentioning
2023-10-01 22:37:34 +02:00
Jakobus Schürz (admin)
17d7432f0e
set ! and @ on mentioning in hover-card
2023-10-01 14:59:37 +02:00
Jakobus Schürz (admin)
405161998e
changes to fit to showgroup-button branch
2023-10-01 14:33:08 +02:00
Jakobus Schürz (admin)
78e9ee651f
show "view group" in hovercard
...
but only on group-contacts.
rename all *forum to *group in code
2023-10-01 14:25:23 +02:00
Jakobus Schürz (admin)
9dfe39b83d
set label in hovercard for mentionings
2023-10-01 14:03:03 +02:00
Jakobus Schürz (admin)
ed9d20b291
Change label of mention-button
...
* "Mention" on users profile
* "Post to group" on group/forums profile
2023-10-01 12:53:06 +02:00
Jakobus Schürz (admin)
e6a4467557
add "Show Forum" Button to Profile
2023-10-01 12:34:56 +02:00
Michael
34521c228b
Merge remote-tracking branch 'upstream/develop' into user-defined-channels
2023-10-01 08:23:05 +00:00
Michael
0840086a0a
Renamed hook
2023-10-01 04:10:24 +00:00
Michael
afb6913a2f
Timelines are now an object instead of an array
2023-09-30 18:51:35 +00:00
Michael
e7d65f2d12
Merge remote-tracking branch 'upstream/develop' into user-defined-channels
2023-09-30 18:44:12 +00:00
Michael
e84a7e8c2a
Additional languages / new hook for additional language detection
2023-09-30 15:51:53 +00:00
Hannes Heute
9d86ef767a
Add Google-Extended to default robots.txt
2023-09-29 16:27:31 +02:00
Michael
b54005c540
Changed parameter name
2023-09-29 04:50:36 +00:00