Commit graph

3536 commits

Author SHA1 Message Date
Michael 7c7ebd9b86 Issue 13731: Fix error concerning invalid user 2023-12-17 09:56:00 +00:00
Michael 303c9fb23f Added server detection for "threads" 2023-12-15 11:19:11 +00:00
Michael 0a4f0d616a Allow longer avatar URLs / the system outbox is now handled 2023-12-15 10:39:41 +00:00
Michael 1cd729531d Sorting changed to "created" 2023-12-14 06:18:17 +00:00
Michael f81192b4c3 Fix uddate issues and improve speed when displaying contact posts 2023-12-14 04:58:43 +00:00
Michael 14266a1ca4 Only use posts with wanted languages for subscribed tags 2023-12-11 22:07:01 +00:00
Hypolite Petovan 35e3e912df Add support for string in $nodeinfo['protocols']
- Address https://github.com/friendica/friendica/issues/13157#issuecomment-1848404671
2023-12-09 21:36:57 -05:00
Michael a120debac6 Fix for exception when there are "null" replies 2023-12-07 09:59:39 +00:00
Michael f5337904e4 Improved distribution of non public messages 2023-11-30 05:51:38 +00:00
Michael 1ca7118027 Improve performance on the contact relation queries 2023-11-28 10:00:11 +00:00
Michael 077c9ff0c9 Improved control about the contact/server updates 2023-11-27 19:00:12 +00:00
Michael 3f971f6dec Fix exceptions in the channel check 2023-11-25 16:17:26 +00:00
Michael 4a5014eab5 Function is renamed 2023-11-25 15:14:06 +00:00
Michael b3d7dfb9a5 Issue 8542: User option to display the event list/birthday notification 2023-11-25 14:57:24 +00:00
Hypolite Petovan 5c3227ac4c
Merge pull request #13663 from annando/issue-13607
Issue 13607: Use privacy setting for "remote self"
2023-11-24 21:19:52 -05:00
Hank Grabowski f3f0859e0b Fix if not allowed blocked servers then server-blocked condition is false not true 2023-11-24 17:19:04 -05:00
Michael 4277b0c3aa Issue 13607: Use privacy setting for "remote self" 2023-11-24 08:35:49 +00:00
Michael ffbab95c20 Channels can now be based on the "network" feed as well 2023-11-21 23:13:26 +00:00
Michael ba3dacdbde Simplify gserver entry creation for non native networks 2023-11-19 19:11:45 +00:00
Michael 43f9be367f Check for user defined channel matches before storing them 2023-11-15 16:19:05 +00:00
Michael 58a8ce0420 Store "null" when no language couldn't be detected 2023-11-10 08:30:37 +00:00
Michael dbda317c6d The transmitted language is now stored 2023-11-09 21:31:34 +00:00
Michael 5afa4fa838 Improved relay post processing 2023-11-09 06:43:03 +00:00
Hypolite Petovan 89e105afbe
Merge pull request #13613 from annando/permissions
Ensure to always have stored the receivers
2023-11-06 04:13:18 -08:00
Michael b58cabdc41 Ensure to always have stored the receivers 2023-11-06 09:57:23 +00:00
Hypolite Petovan da9baf2be8 Use public contact ID in Model\Profile::getVCardHtml instead of potentially self-contact ID
- This prevented contact conversation link from working
2023-11-05 19:34:36 -05:00
Hypolite Petovan 58e5f0d9c5
Merge pull request #13611 from annando/languages
Use the post language for the language detection / config for quality
2023-11-05 16:23:57 -08:00
Michael f5091110c2 Use the "abandon days" for the user language detection 2023-11-05 21:04:29 +00:00
Michael 9e47cde90c Sort the user languages 2023-11-05 20:38:49 +00:00
Michael 5ae0331993 Use the post language for the language detection / config for quality 2023-11-05 19:18:10 +00:00
Hypolite Petovan e75a87a581 Fix computation of the private flag for shared event items 2023-11-05 09:11:08 -05:00
Michael 1dd48e4a8b Frio: The activity buttons now have got counters 2023-11-04 12:57:54 +00:00
Michael 7c0b5be70f Accept relay posts based on the selected user languages 2023-11-03 22:54:29 +00:00
Michael a7ab14b3b3 Use "toISO6391" instead of "substr" 2023-11-03 05:32:57 +00:00
Michael 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
Tobias Diekershoff 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
Michael 404e937872 Improve distribution of non public messages 2023-10-31 13:08:24 +00:00
Michael 20b095c7c5 Block tags, not hide wall for community accounts 2023-10-31 07:53:06 +00:00
Michael 7371070cde Issue 13511: Ensure stattic community user settings 2023-10-29 19:43:44 +00:00
Michael 8e05c282b1 Post permissions are now copied from the thread parent 2023-10-29 08:49:24 +00:00
Raroun c664907dbf Updated User.php 2023-10-27 11:12:59 +02:00
Michael a1947d2bb1 Improved asynchronous message procession 2023-10-25 20:16:36 +00:00
Michael e4a37f344e Individual callstacks are removed from the logger 2023-10-18 19:55:15 +00:00
Michael 1c67be8db0 Improve the performance of API timeline calls 2023-10-18 08:11:36 +00:00
Hypolite Petovan 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
Hypolite Petovan 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
Hypolite Petovan 1f7b6a63bb Throw exception when user has delegates in User::remove 2023-10-14 14:15:41 -04:00
Michael aeba70f2a6 Language description updated 2023-10-12 05:19:57 +00:00
Michael 407f46c043 Exit when the class doen't exists 2023-10-11 20:41:40 +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
Michael cd9fc0ddec Fix images in the API 2023-10-08 19:49:18 +00: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 8ac6d0ef04
Merge pull request #13507 from xundeenergie/finalize-mention-buttons
Finalize mention buttons
2023-10-07 05:23:19 -04:00
Jakobus Schürz 2636b19171 add blanks, suggested from codereview 2023-10-07 11:06:51 +02:00
Jakobus Schürz c6af5266cd add mention-/showgroup button also to profile/vcard.tpl
update translations
2023-10-07 01:28:23 +02: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 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
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 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 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 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
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 e84a7e8c2a Additional languages / new hook for additional language detection 2023-09-30 15:51:53 +00:00
Michael 5e1c292927 Configuration for the maximum number of post engagement entries 2023-09-26 16:00:06 +00:00
Michael 82684cd6cd Changes after review 2023-09-26 05:05:51 +00:00
Michael 84b38beb9a Improved link removal 2023-09-25 22:05:53 +00:00
Michael b2758f2cdd Merge remote-tracking branch 'upstream/develop' into user-defined-channels 2023-09-25 19:39:53 +00:00
Hypolite Petovan 56fb9be0f7 Revert "Merge pull request #13463 from MrPetovan/task/imagegrid-improvement"
This reverts commit dd7bea4bd1, reversing
changes made to ce16cd12ec.
2023-09-24 16:24:28 -04:00
Tobias Diekershoff dd7bea4bd1
Merge pull request #13463 from MrPetovan/task/imagegrid-improvement
Rework image grid to horizontal masonry, allocate space for images to load
2023-09-24 12:59:10 +02:00
Hypolite Petovan 06818a96c3 Add height allocation support for single images smaller than the available width 2023-09-24 06:47:18 -04:00
Michael 1dbc9bd472 Avoid quoting the own post 2023-09-24 10:18:50 +00:00
Hypolite Petovan c4657c4661 Add support for allocated height for inline images 2023-09-23 22:43:31 -04:00
Hypolite Petovan 86141eb363 Add height allocation to single post attached images
- Force single images to expand to the total width of the post
2023-09-23 22:20:17 -04:00
Hypolite Petovan fad760f46a Add icon placeholder for images in image grid 2023-09-23 22:20:16 -04:00
Hypolite Petovan 3cc469c0b7 Rework image grid into a horizontal masonry
- The new server-based horizontal masonry enables tightly packed image grids even with images of varying aspect ratios
- Additionally, the space an image takes is now allocated before it's loaded, reducing content shifting
2023-09-23 22:20:16 -04:00
Michael 9f23bee6e4 User defined channels can now base on circles/channels 2023-09-24 00:45:07 +00:00
Hypolite Petovan c822baa9c6 Restore attendance icons in event posts
- Co-authored by @mexon
2023-09-23 17:51:03 -04:00
Michael 7c6d872964 Only add images 2023-09-22 20:12:10 +00:00
Michael aa429be4d9 Remove links from search text 2023-09-22 19:09:23 +00:00
Michael a8a9f93e09 Special search keywords added 2023-09-22 10:28:00 +00:00
Michael c66e841c38 Add author to the search content / fix sidebar link to channels 2023-09-22 05:16:46 +00:00
Michael 508d84b2b7 Use full text search 2023-09-21 23:27:05 +00:00
Michael Vogel 6d0a4da888
Update src/Model/Post/Engagement.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-09-18 03:00:42 +02:00
Michael b00c2070d7 Use channels for non public content 2023-09-17 19:28:38 +00:00
Michael ae3925bba5 Visibility is frequency 2023-09-17 17:42:15 +00:00
Michael aa6eb7fcf1 Visiblity is now frequency 2023-09-16 04:20:38 +00:00
Michael 229e7dcee5 Channel visibility rules can now be set for each contact 2023-09-12 10:55:33 +00:00
Michael 5d457f99e7 Inverse logic 2023-09-08 15:15:38 +00:00
Michael 7e73283949 The query condition for active users are unified 2023-09-08 15:01:51 +00:00
Michael c1895e7f85 Fixes the score calculation concerning the relation-cid / cid interaction 2023-09-07 12:34:46 +00:00
Michael 595508a91f New functions for the language library 2023-09-03 17:44:44 +00:00
Michael c5ef0cfe20 New function to change language codes for the library 2023-09-03 16:42:17 +00:00
Michael 8b26d488ad Language selector added, "channel" is now "channels" 2023-09-03 12:54:25 +00:00
Michael 7fd1f1424a Improved language detection 2023-09-03 08:44:17 +00:00
Michael e68f781f9d The language is now stored as well 2023-09-03 04:20:09 +00:00
Michael cfc639ffe4 Code standards 2023-09-02 15:55:50 +00:00
Michael 30d10c60d2 Channels for audio, video and images 2023-09-02 15:52:53 +00:00
Michael fdaff43039 Use the owner, not the author 2023-09-02 14:19:52 +00:00
Michael 15fc205d04 Fix Code Standards 2023-09-02 10:21:23 +00:00
Michael 837c2dd24a Use group posts for channels 2023-09-02 06:38:05 +00:00
Michael e186395198 Update function / rearrange tab order 2023-09-02 05:22:44 +00:00
Michael f2d8650d36 Fix date time format calculation 2023-09-01 23:47:29 +00:00
Michael 59a822ee87 Configuration is now stored in the "channel" section 2023-09-01 22:28:25 +00:00
Michael 5c166be3fc Channels are a new way to see different content 2023-09-01 21:56:59 +00:00
Michael 35995633ae Calculate the interaction score 2023-08-30 19:17:42 +00:00
Michael 24d2d0481a Merge remote-tracking branch 'upstream/develop' into baseurl 2023-08-28 15:24:20 +00:00
Michael 86b6be0668 Fix indentation 2023-08-28 14:14:07 +00:00
Michael ff6d14a022 Merge remote-tracking branch 'upstream/develop' into subscription 2023-08-28 04:15:37 +00:00
Michael 38d09084a3 Improve the fetching of the contact's baseurl 2023-08-28 04:09:49 +00:00
Michael f842e7b813 Store and display the subscribed tags 2023-08-28 04:05:52 +00: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 6ecc9c4cba Implement ignored server block in conversations
- Add server ignore status in contact profile page
- Add new reason in DisplayNotFound exception page
2023-08-20 14:27:43 -04:00
Hypolite Petovan e31d90eadb Replace references to profile.name by user.username 2023-08-20 13:59:07 -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
Hypolite Petovan 5d7985dcff Move default header image credits to static/defaults.config.php 2023-08-17 07:28:32 -04:00
Hypolite Petovan 1b7075aebb
Merge pull request #13338 from annando/resize-to-size
New function to resize an image to not exceed a given file size
2023-08-10 23:20:11 +02:00
Hypolite Petovan 1d556b78c1
Merge pull request #13336 from annando/moderator
Preparations for a moderator role
2023-08-10 23:17:43 +02:00
Hypolite Petovan 3cda8b65cd
Merge pull request #13335 from annando/no-twitter
The twitter addon is no import connector anymore
2023-08-10 23:16:07 +02:00
Michael 794378ed29 New function to resize an image to not exceed a given file size 2023-08-10 21:12:35 +00:00
Michael 0a45bdd3b7 Preparations for a moderator role 2023-08-10 21:06:08 +00:00
Michael 97aecc8fc1 The twitter addon is no import connector anymore 2023-08-09 20:29:45 +00:00
Hypolite Petovan eff605b1f3 Prevent post mirroring by blocked users 2023-08-02 21:53:10 +02:00
Hypolite Petovan 33b8680dfd [Database 1524] Fix contact-user.remote_self field type from boolean to integer
- Move MIRROR_* constants to LocalRelationship entity
- Convert boolean LocalRelationship->isRemoteSelf field to integer LocalRelationship->remoteSelf
2023-08-02 21:53:10 +02:00
Hypolite Petovan ecfbf317ae Fix reference to username field in Contact::updateSelfFromUserID
- Profile isn't updated with the display name in the account settings
2023-08-02 16:58:14 +02:00
Michael 639d160c24 Improvements for relais like relay.fedi.buzz 2023-07-30 17:46:37 +00:00
Hypolite Petovan e468870e87 Fix item.private value in Model\Event::getItemArrayForId
- The $event array doesn't have a `private` key because the event table doesn't have a `private` field.
2023-07-25 22:48:37 +02:00
Hypolite Petovan 7e8a44c15b Remove duplicate fields in Model\Event::getItemArrayForId
- Fix formatting in Model\Event
2023-07-25 22:47:27 +02:00
Hypolite Petovan 592e829347 Fix wrong field name in Model\Mail 2023-07-25 22:44:03 +02:00
Michael 7538f6a346 Issue 13289: Ensure to not respect deactivated connector networks 2023-07-22 10:49:42 +00:00