Michael
e95c678141
Improve display of quoted posts
2023-07-09 14:15:01 +00:00
Michael
0da2391c49
Fix warnings because of missing field
2023-06-23 21:27:34 +00:00
Michael
968c935bf7
Changes variable names / fetch the alias / improved group handling
2023-06-23 21:05:45 +00:00
Michael
4c3f2441f7
Display the contact alias if the URL is no HTTP link
2023-06-18 16:49:38 +00:00
Michael
6d911a8f39
Better support for "audience" / simplified Lemmy processing
2023-06-15 22:04:28 +00:00
Michael
dfaa4b89c7
Support for contact uri that aren't HTTP URLs
2023-06-05 04:34:06 +00:00
Hypolite Petovan
3385147f25
Replace "forum" by "group" in the rest of the code
2023-06-02 13:52:41 -04:00
Hypolite Petovan
4f7740264e
Replace "group" with "circle" in the rest of the code
...
- Remaining mentions already mean "forum"
2023-05-27 22:01:45 -04:00
Michael
5b23c1c67f
Support for Bluesky reshares in the core
2023-05-24 05:55:36 +00:00
Michael
bf4d19eed3
Changes after code review
2023-05-03 21:14:35 +00:00
Michael
b4b9a6a34a
Add Fancybox to the core
2023-05-03 20:59:28 +00:00
Michael
349fa08ece
Fix warning: Undefined array key "post"
2023-05-02 09:21:11 +00:00
Michael
8ab7e6552b
Improved fetching of attached activities
2023-05-01 13:05:59 +00:00
Michael
ae6c354232
"audience" is set for forum posts / followers posts are directed to the followers collection
2023-04-28 05:13:23 +00:00
Michael
78b969cb19
Store "audience" and "attributedTo" data
2023-04-14 17:21:20 +00:00
Michael
cd3f2f63d6
Replace the Diaspora signature upon update
2023-04-12 05:48:38 +00:00
Hypolite Petovan
e7628af15f
Ward against nonexistant item in Item::prepareBody
...
- Address https://github.com/friendica/friendica/issues/12486#issuecomment-1492984392
2023-04-03 00:05:40 -04:00
Hypolite Petovan
c673c478ee
Ward against missing plink in createSharedBlockByArray
...
- Address https://github.com/friendica/friendica/issues/12486#issuecomment-1492984224
- Add logging to troubleshoot the issue
2023-04-03 00:03:49 -04:00
Josh Soref
2230098458
spelling: unannounce
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
f6bd4f5d79
spelling: refers
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
be49a3a2b5
spelling: protocol
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
57f4b5fc0a
spelling: notify
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:15 -04:00
Josh Soref
044bc8ddac
spelling: formatter
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref
6c27117444
spelling: diaspora
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Michael
8a55ce2415
Set different permissions for comments via API
2023-03-24 20:39:11 +00:00
Michael
9c8ae42c04
Delete the attached HTML media on content updates
2023-03-20 14:19:51 +00:00
Hank Grabowski
4366737eb8
Fix posting/editing empty text image posts through Mastodon API
2023-03-18 23:06:13 -04:00
Hank Grabowski
261975afe9
Delete previous post version's link attachments before posting the one from the current update.
2023-03-18 21:35:38 -04:00
Michael
5f6503a73f
Editing/removing of attached pictures is now possible via web
2023-02-27 07:47:31 +00:00
Michael
08ba9e4183
Fix emoji activities
2023-02-21 21:07:41 +00:00
Michael Vogel
7560939d75
Merge pull request #12820 from MrPetovan/bug/fatal-errors
...
Remove reference to remove field in event table
2023-02-20 16:37:45 +01:00
Hypolite Petovan
0dbee1c4d2
Remove reference to remove field in event table
...
- Address https://anonsys.net/display/bf69967c-1663-f368-5a52-cdd110992529
2023-02-20 08:26:23 -05:00
Philipp Holzer
f0c29edcde
Adapt BaseURL calls to new UriInterface
2023-02-18 21:12:21 +01:00
Michael
9f7747a360
We can now store emoji reactions from Misskey
2023-02-15 05:13:40 +00:00
Michael
4d4e34dc64
Issue 12764: Fix photo permissions when posting via web
2023-02-07 14:18:01 +00:00
Michael
999cdc7db9
Avoid more local links and bad http requests
2023-01-28 14:57:04 +00:00
Michael
f542211189
Mode depending control for the behaviour with blocked contacts
2023-01-12 06:25:55 +00:00
Michael
20a2cec0b0
Moved permission assigning / simplified block check
2023-01-10 05:59:25 +00:00
Michael
840f25cc5c
Improve ignoring of messages
2023-01-09 16:23:39 +00:00
Michael
cd3dbad2a8
Fix some warnings on item creation
2023-01-09 15:55:35 +00:00
Michael Vogel
c1f9c1aaa5
Apply suggestions from code review
...
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-01-08 23:13:31 +01:00
Michael
50e43c530e
Posts from contacts can now be collapsed
2023-01-08 17:40:05 +00:00
Michael
9a1a406c03
Preview of attached links work again
2023-01-04 21:52:02 +00:00
Michael
d1a951f0ac
Post processing centralized
2023-01-04 06:52:40 +00:00
Michael
0d56f156f7
Code cleanup for mod/item.php
2023-01-04 05:44:52 +00:00
Hypolite Petovan
1874a32728
Happy New Year 2023!
2023-01-01 09:36:24 -05:00
Michael
e0a5e32f8e
Avoid undefined variable "$rendered"
2022-12-31 16:47:33 +00:00
Michael
4eceb2d26f
Merge remote-tracking branch 'upstream/develop' into move-delivery
2022-12-30 21:40:09 +00:00
Michael
9115ec5f0d
Adjust class references to the new location
2022-12-30 21:20:28 +00:00
Hypolite Petovan
12df6297d7
Remove attachment tags before checking for end of body images
2022-12-30 02:10:11 -05:00
Michael
ed520a3f39
Fix image grid in shared Friendica posts
2022-12-17 22:07:14 +00:00
Michael
2e6ab0e312
Fix: Images must not be removed on preview
2022-12-17 05:48:09 +00:00
Hypolite Petovan
590f92ba42
Merge pull request #12434 from MarekBenjamin/issue_make_balancing_optional
...
Removed balancing of image grid
2022-12-15 15:49:20 -05:00
Marek Bachmann
91cc6d5a94
Add unbalanced imagegrid generation
2022-12-15 21:29:14 +01:00
Hypolite Petovan
8a6da56738
Remove obsolete <div class="clear"></div>
from body-attach div
2022-12-14 22:35:12 -05:00
Hypolite Petovan
d9361f2b81
Improve code standards in Model\Item
2022-12-13 09:33:01 -05:00
Marek Bachmann
290b14a000
Fixed image grid when exactly ONE portrait and ONE landscape is attached
2022-12-13 00:39:39 +01:00
MarekBenjamin
e4702ed464
Merge branch 'friendica:2022.12-rc' into new_image_presentation
2022-12-11 22:25:47 +01:00
Hypolite Petovan
baf2f7565a
Merge pull request #12390 from annando/fixes
...
Only reshare the author's posts on `MIRROR_NATIVE_RESHARE`
2022-12-11 15:05:47 -05:00
Michael
2f3f41ed9c
Merge remote-tracking branch 'origin/2022.12-rc' into fixes
2022-12-11 19:00:59 +00:00
Marek Bachmann
eb1cfd09a9
added more sophisticated column balancing logic for portraits and landscapes
2022-12-11 18:25:19 +01:00
Marek Bachmann
58cc270da8
fixed bug in portrait iteration
...
shortened var names
added some comments
2022-12-11 17:09:28 +01:00
Michael Vogel
884a265c5a
Some small fixes
2022-12-11 11:21:02 +01:00
MarekBenjamin
1454f3bc2a
Merge branch 'friendica:2022.12-rc' into new_image_presentation
2022-12-10 23:59:51 +01:00
Marek Bachmann
fe2c4f7c4b
Restored $s = $hook_data['html']; call which was removed on error
2022-12-10 23:47:37 +01:00
Marek Bachmann
412ba461e7
Removed unused imports
2022-12-10 23:45:42 +01:00
Marek Bachmann
2eb170bdbd
Added some logic for image grid column balancing
2022-12-10 23:37:03 +01:00
Marek Bachmann
cc048bca38
remove old code
2022-12-10 22:58:43 +01:00
Marek Bachmann
d786f225ee
Added image grid generation to addVisualAttachments
2022-12-10 22:54:50 +01:00
Michael
1a1e452fae
Issue 11875: Fetch post on activity
2022-12-10 21:48:00 +00:00
MarekBenjamin
c7811576cc
Merge branch 'friendica:2022.12-rc' into new_image_presentation
2022-12-10 22:17:26 +01:00
Hypolite Petovan
fc246424a9
Provide default host value to hash() in Model\Item::guidFromUri
...
- Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1338133783
2022-12-10 11:38:37 -05:00
MarekBenjamin
75d857c595
Merge branch 'friendica:2022.12-rc' into new_image_presentation
2022-12-08 20:40:58 +01:00
Marek Bachmann
d270a98e86
Image grid logic
2022-12-08 20:39:51 +01:00
Michael
741469a5c5
Add images in a loop (preparation for a galery)
2022-12-08 07:16:25 +00:00
Michael
7d51fa47d5
Issue 12345: No link preview on DFRN posts
2022-12-08 05:49:25 +00:00
Marek Bachmann
d590df9a72
set character encoding to utf-8 for parsing rendered-html
2022-12-07 18:50:16 +01:00
Marek Bachmann
99e20d1b00
Temporary hack to remove images after last text line by DOM inspection
2022-12-07 13:22:28 +01:00
Michael
498a957009
The appearanxe of the link preview is now configurable
2022-12-07 07:02:04 +00:00
Marek Bachmann
9778b60e64
cleaned up my git mess :-/ anyways, should work now
2022-12-06 01:14:15 +01:00
Marek Bachmann
2205ef0574
Merge remote-tracking branch 'origin/new_image_presentation' into new_image_presentation
...
# Conflicts:
# src/Model/Item.php
2022-12-06 01:02:04 +01:00
Marek Bachmann
458f22d303
Support more than 2 images
2022-12-06 00:59:48 +01:00
Marek Bachmann
7fb0f018df
First draft for using a image grid to display attached images.
2022-12-06 00:59:47 +01:00
Marek Bachmann
8145454707
Revert "Merge branch 'develop' into new_image_presentation"
...
This reverts commit 76f4ba7685
, reversing
changes made to 733543505b
.
2022-12-06 00:48:28 +01:00
Marek Bachmann
fbd4b54656
Support more than 2 images
2022-12-05 04:23:34 +01:00
Marek Bachmann
6753eeab8b
First draft for using a image grid to display attached images.
2022-12-05 03:27:51 +01:00
Michael
edc6851f0e
Issue 12302: Remote self is working again
2022-12-03 07:15:29 +00:00
Michael
a01cdccb05
Check that an auto reshare is only done on the expected contact
2022-11-30 09:28:27 +00:00
Hypolite Petovan
25e1412174
Remove related notifications when marking an item for deletion
2022-11-26 21:48:26 -05:00
Michael
a6ff817f47
Update added
2022-11-23 21:47:47 +00:00
Michael
8bbf3f3699
"MIRROR_FORWARDED" is no more
2022-11-23 21:10:57 +00:00
Michael
352b7a0ac3
"MIRROR_FORWARDED" is removed
2022-11-23 14:00:34 +00:00
Michael
25992b063a
Merge remote-tracking branch 'upstream/develop' into no-api-post
2022-11-23 06:28:24 +00:00
Michael
f600f68907
No more automated posts via mod/item.php
2022-11-23 06:27:40 +00:00
Hank Grabowski
548fd3201d
The two endpoints for unfavoriting/liking (and related things) was failing because it wasn't using the correct uuid in item.php in processing the action.
2022-11-21 16:49:20 -05:00
Hypolite Petovan
6f93ee7e49
Fix various PHP 8 deprecations
2022-11-19 19:15:47 -05:00
Michael
348156dbcf
Simplify the check
2022-11-15 19:55:03 +00:00
Michael
eca52627c1
This fixes duplicated media in quoted posts
2022-11-15 19:48:43 +00:00
Michael
9506bf6989
Avoid duplicate media elements
2022-11-13 23:38:48 +00:00
Michael
246021fdfa
Store the source of incoming posts
2022-11-08 11:53:09 -05:00
Michael
664071a0b1
Quoted reshares containing quoted reshares should now look fine
2022-11-07 20:44:20 -05:00
Hypolite Petovan
3e33ec0c0f
Suppress InvalidArgument exceptions handling URLs in Model\Item::containsLink
2022-11-05 20:18:14 -04:00
Michael
4dd2d7ebab
Transmit the quoted part in the source
2022-11-05 16:25:04 +00:00
Michael
eae1383f48
Merge remote-tracking branch 'upstream/develop' into quote
2022-10-30 11:38:17 +00:00
Michael
b402a760a8
Symplified code
2022-10-30 10:02:12 +00:00
Michael
f569ccbbc2
Code is simplyfied
2022-10-29 22:55:39 +00:00
Michael
3c169b534e
Improved handling of native quotes
2022-10-29 22:11:39 +00:00
Hypolite Petovan
a2adb1cd93
Remove unused argument from L10n->tt() call in Model/Item.php
2022-10-28 13:45:09 -04:00
René Wagner
b99e7a9e92
fix exception when adding an poll option without votes
2022-10-28 18:51:35 +02:00
Hypolite Petovan
f418687a71
Merge pull request #12070 from annando/share
...
Some more improvements for posts with shares
2022-10-27 08:19:23 -04:00
Michael
deccea0228
More functions moved to content class
2022-10-27 05:44:44 +00:00
Michael
c65fff6f93
Some more improvements for posts with shares
2022-10-26 17:00:55 +00: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
Michael
1a0b63659b
Merge remote-tracking branch 'upstream/develop' into share-rework
2022-10-25 08:31:01 +00:00
Michael
f54a886a5e
The "share" handling is improved
2022-10-25 06:37:23 +00:00
Philipp Holzer
b4ffb0bde0
UserSession class [4] - Refactor src/Model/ files
2022-10-20 22:14:50 +02:00
Michael
ee1acba9eb
old boot.php functions replaced in /src
2022-10-19 07:56:25 -04:00
Roland Häder
26e0469de7
Merge branch 'develop' into rewrite/gravity-constants
2022-10-18 16:34:40 +02:00
Michael
018858934b
The priority is now a class constant
2022-10-17 05:49:55 +00:00
Michael
f8f0dfa91a
Detect linked posts and add them as quote
2022-10-16 21:37:05 +00:00
Michael
8e1af9277a
Improve quite generation
2022-10-15 13:00:52 +00: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
Michael
3e868416c7
Check for post existence
2022-10-14 22:02:25 +00:00
Michael
aeb4645ba6
New field "quote-uri-id" for quoted posts
2022-10-10 22:39:30 +00:00
Michael
0d3aa681b4
The quote functionality is simplified
2022-10-09 21:16:36 +00:00
Michael
4a37c978c2
Issue 11969: Simplified share
2022-10-08 09:36:35 +00:00
Michael
21bd2a8396
More whitespace
2022-10-07 07:57:20 +00:00
Michael
ef934db614
Moved the share interpretation
2022-10-07 07:41:03 +00:00
Michael
d7a9745ffd
Simplified share element
2022-10-07 05:51:36 +00:00
Michael
48182a95fb
Improve quote share ("message_id" added)
2022-10-06 21:50:20 +00:00
Michael
2def5e9f02
Issue 11876: Fix local message distribution
2022-09-27 15:58:16 +00:00
Michael
36668dfdb1
Merge remote-tracking branch 'upstream/2022.09-rc' into duplicates
2022-09-21 03:46:25 +00:00
Michael Vogel
6ba2c4bb01
Added documentation
2022-09-19 12:49:37 +02:00
Michael Vogel
3650feb256
"Count" parameter added
2022-09-19 12:46:28 +02:00
Michael Vogel
f08b08e0d8
Allow to reject specific languages on receiving posts via the relay
2022-09-19 12:36:12 +02:00
Michael
79b64cc44f
Detect and remove contact duplicates
2022-09-16 05:00:06 +00:00
Michael
ec8377a8c7
Issue 11893: Postupdate to fix wrong parents
2022-09-06 20:00:06 +00:00
Michael
4304aa9eec
Improved language detection
2022-09-04 07:32:46 +00:00
Michael
757a5c2de9
Loglevels are adjusted
2022-08-30 19:45:30 +00:00
Michael
3a840aa22d
Some more warnings and erors are fixed
2022-08-28 19:27:21 +00:00
Michael
2173fb38e0
Issue 11853/11867: Fix reshare of public posts
2022-08-27 21:22:49 +00:00
Michael
a0eaff8fd5
Fix issue 11865
2022-08-27 11:43:46 +00:00
Michael
2a0ca80630
The contact-id of a wall posting is always the owner contact
2022-08-22 07:54:48 +00:00
Michael
51331ced9b
Improved function to fetch the contact id
2022-08-18 10:13:46 +00:00
Michael
a4f1df68e4
Improved contact-id detection
2022-08-18 07:48:39 +00:00
Michael
531085890a
Fetch the parent only - thread parents only on reshares
2022-08-17 19:39:20 +00:00
Michael
6070221364
Improved checks in "storeForUserByUriId" to reduce recursion depth
2022-08-17 05:28:24 +00:00
Michael
4d617c9c48
This cache key doesn't exist anymore
2022-08-15 18:46:10 +00:00
Michael
5c5ae00370
Improved performance when updating contacts
2022-08-13 09:01:48 +00:00
Philipp
a145712f04
Merge pull request #11837 from MrPetovan/task/remove-poke
...
Remove poke feature
2022-08-11 18:17:11 +02:00