friendica.git/.git
3 years agoMerge pull request #9522 from MrPetovan/bug/ap-blocked-followers
Michael Vogel [Wed, 11 Nov 2020 14:28:04 +0000 (15:28 +0100)]
Merge pull request #9522 from MrPetovan/bug/ap-blocked-followers

Prevent ActivityPub message transmission to blocked followers

3 years agoFilter blocked contacts out from Protocol\ActivityPub\Transmitter::getContacts
Hypolite Petovan [Wed, 11 Nov 2020 14:18:51 +0000 (09:18 -0500)]
Filter blocked contacts out from Protocol\ActivityPub\Transmitter::getContacts

3 years agoMerge pull request #9523 from MrPetovan/bug/notices
Michael Vogel [Wed, 11 Nov 2020 14:16:58 +0000 (15:16 +0100)]
Merge pull request #9523 from MrPetovan/bug/notices

Suppress notice when network page is empty

3 years agoSuppress notice when network page is empty
Hypolite Petovan [Wed, 11 Nov 2020 08:05:12 +0000 (03:05 -0500)]
Suppress notice when network page is empty

3 years agoPrevent ActivityPub message transmission to blocked followers
Hypolite Petovan [Wed, 11 Nov 2020 07:48:22 +0000 (02:48 -0500)]
Prevent ActivityPub message transmission to blocked followers

3 years agoMerge pull request #9521 from annando/issue-9520
Hypolite Petovan [Tue, 10 Nov 2020 20:07:01 +0000 (15:07 -0500)]
Merge pull request #9521 from annando/issue-9520

Issue 9520: Fix resharer hovercard

3 years agoIssue 9520: Fix resharer hovercard
Michael [Tue, 10 Nov 2020 19:43:12 +0000 (19:43 +0000)]
Issue 9520: Fix resharer hovercard

3 years agoMerge pull request #9519 from annando/fix-contact-import
Hypolite Petovan [Tue, 10 Nov 2020 15:28:35 +0000 (10:28 -0500)]
Merge pull request #9519 from annando/fix-contact-import

Fix contact import with Frio

3 years agoFix contact import with Frio
Michael [Tue, 10 Nov 2020 06:37:27 +0000 (06:37 +0000)]
Fix contact import with Frio

3 years agoMerge pull request #9512 from MrPetovan/bug/9501-admin-users-fixes
Michael Vogel [Tue, 10 Nov 2020 06:07:59 +0000 (07:07 +0100)]
Merge pull request #9512 from MrPetovan/bug/9501-admin-users-fixes

[frio] Improve admin user list display

3 years agoMerge pull request #9517 from annando/no-duplicated
Hypolite Petovan [Mon, 9 Nov 2020 21:00:52 +0000 (16:00 -0500)]
Merge pull request #9517 from annando/no-duplicated

Improve duplicate check

3 years agoImprove duplicate check
Michael [Mon, 9 Nov 2020 20:29:42 +0000 (20:29 +0000)]
Improve duplicate check

3 years agoMerge pull request #9509 from MrPetovan/task/5616-clear-notifications-display
Michael Vogel [Mon, 9 Nov 2020 20:01:36 +0000 (21:01 +0100)]
Merge pull request #9509 from MrPetovan/task/5616-clear-notifications-display

Set thread notifications as seen in mod/display

3 years agoOnly set the current notify as seen when user enabled detailed notifications
Hypolite Petovan [Mon, 9 Nov 2020 16:41:21 +0000 (11:41 -0500)]
Only set the current notify as seen when user enabled detailed notifications

3 years ago[frio] Improve admin user list display
Hypolite Petovan [Mon, 9 Nov 2020 03:03:35 +0000 (22:03 -0500)]
[frio] Improve admin user list display

3 years agoImprove admin user field is_deletable to check user.account_removed
Hypolite Petovan [Mon, 9 Nov 2020 03:02:15 +0000 (22:02 -0500)]
Improve admin user field is_deletable to check user.account_removed

3 years agoUpdate source translation file after adding strings
Hypolite Petovan [Mon, 9 Nov 2020 14:47:36 +0000 (09:47 -0500)]
Update source translation file after adding strings

3 years agoGroup registration requests in a single line for users without detailed_notif
Hypolite Petovan [Mon, 9 Nov 2020 14:33:59 +0000 (09:33 -0500)]
Group registration requests in a single line for users without detailed_notif

3 years agoSet thread notifications as seen in mod/display
Hypolite Petovan [Sun, 8 Nov 2020 21:59:57 +0000 (16:59 -0500)]
Set thread notifications as seen in mod/display

- Only for users without detailed notifications

3 years agoMerge pull request #9513 from MrPetovan/task/9508-mastodon-handled-mentions
Michael Vogel [Mon, 9 Nov 2020 06:45:27 +0000 (07:45 +0100)]
Merge pull request #9513 from MrPetovan/task/9508-mastodon-handled-mentions

[AP] Use contact.alias if it exists instead of contact.url for mention links

3 years ago[AP] Use contact.alias if it exists instead of contact.url for mention links
Hypolite Petovan [Mon, 9 Nov 2020 04:32:02 +0000 (23:32 -0500)]
[AP] Use contact.alias if it exists instead of contact.url for mention links

- Make mentions links handled by Mastodon for logged in users

3 years agoSimplify code in Content\Text\BBCode::convert
Hypolite Petovan [Mon, 9 Nov 2020 04:25:46 +0000 (23:25 -0500)]
Simplify code in Content\Text\BBCode::convert

- Use performWithEscapedTags instead of custom solution

3 years agoMerge pull request #9511 from MrPetovan/bug/9501-admin-users-fixes
Michael Vogel [Mon, 9 Nov 2020 02:39:49 +0000 (03:39 +0100)]
Merge pull request #9511 from MrPetovan/bug/9501-admin-users-fixes

Fix redirect/form paths in Module\Admin\Users\Index|Active

3 years agoFix redirect/form paths in Module\Admin\Users\Index|Active
Hypolite Petovan [Mon, 9 Nov 2020 01:09:10 +0000 (20:09 -0500)]
Fix redirect/form paths in Module\Admin\Users\Index|Active

3 years agoMerge pull request #9507 from MrPetovan/bug/9480-never-mention-yourself
Michael Vogel [Sun, 8 Nov 2020 21:37:07 +0000 (22:37 +0100)]
Merge pull request #9507 from MrPetovan/bug/9480-never-mention-yourself

Never mention yourself

3 years agoNormalize mention formatting for AP
Hypolite Petovan [Sun, 8 Nov 2020 19:21:20 +0000 (14:21 -0500)]
Normalize mention formatting for AP

3 years agoNever mention yourself in AP messages
Hypolite Petovan [Sun, 8 Nov 2020 19:21:08 +0000 (14:21 -0500)]
Never mention yourself in AP messages

3 years agoMerge pull request #9506 from annando/test-mysql-no-pdo
Hypolite Petovan [Sun, 8 Nov 2020 18:55:53 +0000 (13:55 -0500)]
Merge pull request #9506 from annando/test-mysql-no-pdo

Only disable PDO in tests for versions lower than 7.3

3 years agoMerge pull request #9501 from MrPetovan/bug/9496-rework-admin-users
Michael Vogel [Sun, 8 Nov 2020 18:42:40 +0000 (19:42 +0100)]
Merge pull request #9501 from MrPetovan/bug/9496-rework-admin-users

Split admin/users into 6 separate modules

3 years agoUpdate the target URL for pending registration notifications
Hypolite Petovan [Sun, 8 Nov 2020 17:02:58 +0000 (12:02 -0500)]
Update the target URL for pending registration notifications

3 years ago[frio] Improve admin/users/* page display
Hypolite Petovan [Sun, 8 Nov 2020 07:29:54 +0000 (02:29 -0500)]
[frio] Improve admin/users/* page display

3 years agoSplit admin/users into 6 separate modules
Hypolite Petovan [Sun, 8 Nov 2020 07:28:33 +0000 (02:28 -0500)]
Split admin/users into 6 separate modules

- They now feature working pagination

3 years agoRemove unused code in Module\Register
Hypolite Petovan [Sun, 8 Nov 2020 07:27:44 +0000 (02:27 -0500)]
Remove unused code in Module\Register

3 years ago[frio] Add link to settings in account delegation page
Hypolite Petovan [Sun, 8 Nov 2020 07:26:52 +0000 (02:26 -0500)]
[frio] Add link to settings in account delegation page

3 years agoImprove accuracy of User::getList with type = blocked
Hypolite Petovan [Sun, 8 Nov 2020 07:26:12 +0000 (02:26 -0500)]
Improve accuracy of User::getList with type = blocked

- user.blocked is used for pending registrations as well

3 years agoOnly disable PDO for versions lower than 7.3
Michael [Sun, 8 Nov 2020 17:45:50 +0000 (17:45 +0000)]
Only disable PDO for versions lower than 7.3

3 years agoMerge pull request #9505 from annando/test-mysql-no-pdo
Hypolite Petovan [Sun, 8 Nov 2020 17:40:03 +0000 (12:40 -0500)]
Merge pull request #9505 from annando/test-mysql-no-pdo

Make the tests work again with PHP 7.2

3 years agoDisable PDO for the AppMode test as well
Michael [Sun, 8 Nov 2020 17:26:20 +0000 (17:26 +0000)]
Disable PDO for the AppMode test as well

3 years agoAnother test to disable PDO for tests
Michael [Sun, 8 Nov 2020 17:13:12 +0000 (17:13 +0000)]
Another test to disable PDO for tests

3 years agoMale the tests work again with PHP 7.2
Michael [Sun, 8 Nov 2020 16:47:41 +0000 (16:47 +0000)]
Male the tests work again with PHP 7.2

3 years agoMerge pull request #9502 from annando/video-fallback
Hypolite Petovan [Sun, 8 Nov 2020 13:28:54 +0000 (08:28 -0500)]
Merge pull request #9502 from annando/video-fallback

Fix parser issues when a video is linked without a matching extension

3 years agoFix parser issues when a video is linked without a matching extension
Michael [Sun, 8 Nov 2020 09:24:01 +0000 (09:24 +0000)]
Fix parser issues when a video is linked without a matching extension

3 years agoMerge pull request #9500 from MrPetovan/bug/9326-owner-view-blocked
Michael Vogel [Sun, 8 Nov 2020 07:45:12 +0000 (08:45 +0100)]
Merge pull request #9500 from MrPetovan/bug/9326-owner-view-blocked

[dbstructure 1373] Replace contact.blocked with user.blocked in owner-view

3 years agoMerge pull request #9497 from annando/attach-field
Hypolite Petovan [Sun, 8 Nov 2020 07:42:53 +0000 (02:42 -0500)]
Merge pull request #9497 from annando/attach-field

The "attach" field is replaced by the "post-media" table

3 years ago[dbstructure 1373] Replace contact.blocked with user.blocked in owner-view
Hypolite Petovan [Sun, 8 Nov 2020 07:23:28 +0000 (02:23 -0500)]
[dbstructure 1373] Replace contact.blocked with user.blocked in owner-view

- It was falsely reporting blocked users as unblocked since we don't block the public self contact

3 years agoTest database error
Michael [Sun, 8 Nov 2020 07:29:13 +0000 (07:29 +0000)]
Test database error

3 years agoRemove PDO test
Michael [Sat, 7 Nov 2020 15:25:43 +0000 (15:25 +0000)]
Remove PDO test

3 years agoTest if the tests work better without PDO
Michael [Sat, 7 Nov 2020 14:53:50 +0000 (14:53 +0000)]
Test if the tests work better without PDO

3 years agoRemoved unneded parentheses
Michael [Sat, 7 Nov 2020 12:45:04 +0000 (12:45 +0000)]
Removed unneded parentheses

3 years agoRestore the connection check
Michael [Sat, 7 Nov 2020 11:44:39 +0000 (11:44 +0000)]
Restore the connection check

3 years agoFix assertion messages
Michael [Sat, 7 Nov 2020 11:26:56 +0000 (11:26 +0000)]
Fix assertion messages

3 years agoThe tests had been split
Michael [Sat, 7 Nov 2020 11:02:23 +0000 (11:02 +0000)]
The tests had been split

3 years agoSyntax error fixed
Michael [Sat, 7 Nov 2020 10:46:08 +0000 (10:46 +0000)]
Syntax error fixed

3 years agoAdded mode tests
Michael [Sat, 7 Nov 2020 10:45:38 +0000 (10:45 +0000)]
Added mode tests

3 years agoTest if PDO doesn't work on the tests
Michael [Sat, 7 Nov 2020 10:27:22 +0000 (10:27 +0000)]
Test if PDO doesn't work on the tests

3 years agoTest the tes
Michael [Sat, 7 Nov 2020 10:12:31 +0000 (10:12 +0000)]
Test the tes

3 years agoSimplified connection test
Michael [Sat, 7 Nov 2020 09:58:20 +0000 (09:58 +0000)]
Simplified connection test

3 years agoTest connection
Michael [Sat, 7 Nov 2020 09:37:57 +0000 (09:37 +0000)]
Test  connection

3 years agoDatabase text no checks for database driver
Michael [Sat, 7 Nov 2020 09:02:21 +0000 (09:02 +0000)]
Database text no checks for database driver

3 years agoNew function to fetch the database driver
Michael [Sat, 7 Nov 2020 09:02:02 +0000 (09:02 +0000)]
New function to fetch the database driver

3 years agoThe "attach" field is now deprecated
Michael [Sat, 7 Nov 2020 08:22:59 +0000 (08:22 +0000)]
The "attach" field is now deprecated

3 years agoThe "[attach]" field is replaced by the "post-media" table
Michael [Fri, 6 Nov 2020 04:14:29 +0000 (04:14 +0000)]
The "[attach]" field is replaced by the "post-media" table

3 years agoMerge pull request #9494 from MrPetovan/bug/9491-model-id-0
Michael Vogel [Thu, 5 Nov 2020 22:28:47 +0000 (23:28 +0100)]
Merge pull request #9494 from MrPetovan/bug/9491-model-id-0

Allow models extending BaseModel to have an id equal to 0

3 years agoAllow models extending BaseModel to have an id equal to 0
Hypolite Petovan [Thu, 5 Nov 2020 15:03:40 +0000 (10:03 -0500)]
Allow models extending BaseModel to have an id equal to 0

3 years agoMerge pull request #9492 from annando/fix-fatal
Hypolite Petovan [Wed, 4 Nov 2020 14:56:53 +0000 (09:56 -0500)]
Merge pull request #9492 from annando/fix-fatal

Handle fatal error when attachment url is null

3 years agoMerge pull request #9490 from annando/forum-fix
Hypolite Petovan [Wed, 4 Nov 2020 14:56:20 +0000 (09:56 -0500)]
Merge pull request #9490 from annando/forum-fix

Fix: Posts sent to forums had been rejected

3 years agoHandle fatal error when attachment url is null
Michael [Wed, 4 Nov 2020 13:14:33 +0000 (13:14 +0000)]
Handle fatal error when attachment url is null

3 years agoReplaced debug log
Michael [Wed, 4 Nov 2020 13:05:07 +0000 (13:05 +0000)]
Replaced debug log

3 years agoMerge pull request #9489 from annando/fatal
Hypolite Petovan [Wed, 4 Nov 2020 12:24:51 +0000 (07:24 -0500)]
Merge pull request #9489 from annando/fatal

Fix fatal error

3 years agoFix: Posts sent to forums had been rejected
Michael [Wed, 4 Nov 2020 08:57:21 +0000 (08:57 +0000)]
Fix: Posts sent to forums had been rejected

3 years agoFix fatal error "Argument 2 passed to Friendica\Model\Post\Media::getAttachElement...
Michael Vogel [Wed, 4 Nov 2020 06:58:04 +0000 (07:58 +0100)]
Fix fatal error "Argument 2 passed to Friendica\Model\Post\Media::getAttachElement() must be of the type int, string given"

3 years agoMerge pull request #9488 from annando/profile-query
Hypolite Petovan [Tue, 3 Nov 2020 20:49:52 +0000 (15:49 -0500)]
Merge pull request #9488 from annando/profile-query

The profile page does now shows reshared items

3 years agoIndention, documentation
Michael [Tue, 3 Nov 2020 20:30:59 +0000 (20:30 +0000)]
Indention, documentation

3 years agoThe profile page does now shows reshared items
Michael [Tue, 3 Nov 2020 19:24:47 +0000 (19:24 +0000)]
The profile page does now shows reshared items

3 years agoMerge pull request #9487 from MrPetovan/bug/9432-network-infinite-load-ajax
Michael Vogel [Tue, 3 Nov 2020 18:47:02 +0000 (19:47 +0100)]
Merge pull request #9487 from MrPetovan/bug/9432-network-infinite-load-ajax

Fix infinite content ajax call parameters

3 years agoFix infinite content ajax call parameters
Hypolite Petovan [Tue, 3 Nov 2020 01:07:26 +0000 (20:07 -0500)]
Fix infinite content ajax call parameters

- Ajax request could end up in a 404 if the page URL didn't have at least a query string parameter

3 years agoMerge pull request #9485 from MrPetovan/bug/fatal-errors
Michael Vogel [Mon, 2 Nov 2020 15:27:52 +0000 (16:27 +0100)]
Merge pull request #9485 from MrPetovan/bug/fatal-errors

Ensure we provide a mediaType string to Post\Media::getAttachElement

3 years agoEnsure we provide a mediaType string to Post\Media::getAttachElement
Hypolite Petovan [Mon, 2 Nov 2020 05:23:08 +0000 (00:23 -0500)]
Ensure we provide a mediaType string to Post\Media::getAttachElement

- Address https://github.com/friendica/friendica/issues/9250#issuecomment-720101289

3 years agoMerge pull request #9482 from annando/api-reblog
Hypolite Petovan [Sun, 1 Nov 2020 14:19:04 +0000 (09:19 -0500)]
Merge pull request #9482 from annando/api-reblog

API: Support for reshared items

3 years agoAPI: Support for reshared items
Michael [Sun, 1 Nov 2020 11:01:57 +0000 (11:01 +0000)]
API: Support for reshared items

3 years agoMerge pull request #9481 from annando/api-accounts
Hypolite Petovan [Sun, 1 Nov 2020 00:05:48 +0000 (20:05 -0400)]
Merge pull request #9481 from annando/api-accounts

API: accounts and trends

3 years agoAdded documentation
Michael [Sat, 31 Oct 2020 23:42:42 +0000 (23:42 +0000)]
Added documentation

3 years agoAPI: accounts and trends
Michael [Sat, 31 Oct 2020 22:32:26 +0000 (22:32 +0000)]
API: accounts and trends

3 years agoMerge pull request #9477 from annando/media-attach
Hypolite Petovan [Sat, 31 Oct 2020 21:13:03 +0000 (17:13 -0400)]
Merge pull request #9477 from annando/media-attach

Use the raw body if not null

3 years agoMerge pull request #9476 from annando/media-attach
Hypolite Petovan [Sat, 31 Oct 2020 16:37:50 +0000 (12:37 -0400)]
Merge pull request #9476 from annando/media-attach

The post-media table now works with the "attach" field as well

3 years agoUse the raw body if not null
Michael [Sat, 31 Oct 2020 16:32:41 +0000 (16:32 +0000)]
Use the raw body if not null

3 years agoAPI: Media attachments are now supported
Michael [Sat, 31 Oct 2020 16:10:27 +0000 (16:10 +0000)]
API: Media attachments are now supported

3 years agoAPI: Media attachments are now supported
Michael [Sat, 31 Oct 2020 16:09:27 +0000 (16:09 +0000)]
API: Media attachments are now supported

3 years agoFixed spelling
Michael [Sat, 31 Oct 2020 14:09:44 +0000 (14:09 +0000)]
Fixed spelling

3 years agoThe post-media table now works with the "attach" field as well
Michael [Sat, 31 Oct 2020 13:26:08 +0000 (13:26 +0000)]
The post-media table now works with the "attach" field as well

3 years agoMerge pull request #9475 from annando/network-order
Hypolite Petovan [Fri, 30 Oct 2020 22:33:00 +0000 (18:33 -0400)]
Merge pull request #9475 from annando/network-order

Fix order on network page

3 years agoFix order on network page
Michael [Fri, 30 Oct 2020 22:13:14 +0000 (22:13 +0000)]
Fix order on network page

3 years agoMerge pull request #9474 from annando/faster-expire
Hypolite Petovan [Fri, 30 Oct 2020 21:54:22 +0000 (17:54 -0400)]
Merge pull request #9474 from annando/faster-expire

Improve expiry query

3 years agoImprove expiry query
Michael [Fri, 30 Oct 2020 20:26:16 +0000 (20:26 +0000)]
Improve expiry query

3 years agoMerge pull request #9472 from annando/item-lock
Hypolite Petovan [Fri, 30 Oct 2020 18:57:37 +0000 (14:57 -0400)]
Merge pull request #9472 from annando/item-lock

Avoiding database lock

3 years agoAdded lock for contacts, improved logging
Michael [Fri, 30 Oct 2020 17:26:12 +0000 (17:26 +0000)]
Added lock for contacts, improved logging

3 years agoMerge remote-tracking branch 'upstream/develop' into item-lock
Michael [Thu, 29 Oct 2020 21:07:24 +0000 (21:07 +0000)]
Merge remote-tracking branch 'upstream/develop' into item-lock

3 years agoMerge pull request #9468 from annando/notices
Hypolite Petovan [Thu, 29 Oct 2020 15:44:40 +0000 (11:44 -0400)]
Merge pull request #9468 from annando/notices

Fix notice "Undefined index: network" and warning "strpos(): Empty needle"

3 years agoFix notice "Undefined index: network" and warning "strpos(): Empty needle"
Michael [Thu, 29 Oct 2020 13:28:27 +0000 (13:28 +0000)]
Fix notice "Undefined index: network" and warning "strpos(): Empty needle"

3 years agoMerge pull request #9466 from annando/post-media
Hypolite Petovan [Thu, 29 Oct 2020 11:01:28 +0000 (07:01 -0400)]
Merge pull request #9466 from annando/post-media

New table for attached media links