Commit Graph

28848 Commits

Author SHA1 Message Date
Michael b8c647f65a Male the tests work again with PHP 7.2 2020-11-08 16:47:41 +00:00
Hypolite Petovan e7b344d5ff
Merge pull request #9502 from annando/video-fallback
Fix parser issues when a video is linked without a matching extension
2020-11-08 08:28:54 -05:00
Michael 498dda7999 Fix parser issues when a video is linked without a matching extension 2020-11-08 09:24:01 +00:00
Michael Vogel 55f26218af
Merge pull request #9500 from MrPetovan/bug/9326-owner-view-blocked
[dbstructure 1373] Replace contact.blocked with user.blocked in owner-view
2020-11-08 08:45:12 +01:00
Hypolite Petovan ff6ab4caa3
Merge pull request #9497 from annando/attach-field
The "attach" field is replaced by the "post-media" table
2020-11-08 02:42:53 -05:00
Hypolite Petovan 254b5ae07a [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
2020-11-08 02:35:55 -05:00
Michael 15b71edbd6 Test database error 2020-11-08 07:29:13 +00:00
Michael 23a68803a1 Remove PDO test 2020-11-07 15:25:43 +00:00
Michael efc2969450 Test if the tests work better without PDO 2020-11-07 14:53:50 +00:00
Michael 9b95722fba Removed unneded parentheses 2020-11-07 12:45:04 +00:00
Michael eb8caaa5e7 Restore the connection check 2020-11-07 11:44:39 +00:00
Michael 1e52c430e6 Fix assertion messages 2020-11-07 11:26:56 +00:00
Michael 335a122c81 The tests had been split 2020-11-07 11:02:23 +00:00
Michael dadd73ba31 Syntax error fixed 2020-11-07 10:46:08 +00:00
Michael 2ba0d884a0 Added mode tests 2020-11-07 10:45:38 +00:00
Michael 8906615b2c Test if PDO doesn't work on the tests 2020-11-07 10:27:22 +00:00
Michael 84924d1c05 Test the tes 2020-11-07 10:12:31 +00:00
Michael d6a1a836f1 Simplified connection test 2020-11-07 09:58:20 +00:00
Michael 8baac61212 Test connection 2020-11-07 09:37:57 +00:00
Michael 9d804f655e Database text no checks for database driver 2020-11-07 09:02:21 +00:00
Michael 3a5cdecb62 New function to fetch the database driver 2020-11-07 09:02:02 +00:00
Michael 43749c3069 The "attach" field is now deprecated 2020-11-07 08:22:59 +00:00
Michael d383f49f1e The "[attach]" field is replaced by the "post-media" table 2020-11-06 04:14:29 +00:00
Michael Vogel 6d9e170502
Merge pull request #9494 from MrPetovan/bug/9491-model-id-0
Allow models extending BaseModel to have an id equal to 0
2020-11-05 23:28:47 +01:00
Hypolite Petovan bb99b0bebe Allow models extending BaseModel to have an id equal to 0 2020-11-05 10:03:40 -05:00
Hypolite Petovan c9c3d022bd
Merge pull request #9492 from annando/fix-fatal
Handle fatal error when attachment url is null
2020-11-04 09:56:53 -05:00
Hypolite Petovan 4e65b54b60
Merge pull request #9490 from annando/forum-fix
Fix: Posts sent to forums had been rejected
2020-11-04 09:56:20 -05:00
Michael 49fee4096a Handle fatal error when attachment url is null 2020-11-04 13:14:33 +00:00
Michael 29ec0bb98d Replaced debug log 2020-11-04 13:05:07 +00:00
Hypolite Petovan d47d45e83f
Merge pull request #9489 from annando/fatal
Fix fatal error
2020-11-04 07:24:51 -05:00
Michael e5704eb05a Fix: Posts sent to forums had been rejected 2020-11-04 08:57:21 +00:00
Michael Vogel bf50f80399 Fix fatal error "Argument 2 passed to Friendica\Model\Post\Media::getAttachElement() must be of the type int, string given" 2020-11-04 07:58:04 +01:00
Hypolite Petovan 52ea22505d
Merge pull request #9488 from annando/profile-query
The profile page does now shows reshared items
2020-11-03 15:49:52 -05:00
Michael 65b07aead4 Indention, documentation 2020-11-03 20:30:59 +00:00
Michael 4965d6aa54 The profile page does now shows reshared items 2020-11-03 19:24:47 +00:00
Michael Vogel 8fa62cbbbd
Merge pull request #9487 from MrPetovan/bug/9432-network-infinite-load-ajax
Fix infinite content ajax call parameters
2020-11-03 19:47:02 +01:00
Hypolite Petovan 481925c353 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
2020-11-02 20:07:26 -05:00
Michael Vogel 5029b992ad
Merge pull request #9485 from MrPetovan/bug/fatal-errors
Ensure we provide a mediaType string to Post\Media::getAttachElement
2020-11-02 16:27:52 +01:00
Hypolite Petovan 1e1d7a4411 Ensure we provide a mediaType string to Post\Media::getAttachElement
- Address https://github.com/friendica/friendica/issues/9250#issuecomment-720101289
2020-11-02 00:23:08 -05:00
Hypolite Petovan 4226ef4e3e
Merge pull request #9482 from annando/api-reblog
API: Support for reshared items
2020-11-01 09:19:04 -05:00
Michael ba4685dfb1 API: Support for reshared items 2020-11-01 11:01:57 +00:00
Hypolite Petovan 9802bfd9fc
Merge pull request #9481 from annando/api-accounts
API: accounts and trends
2020-10-31 20:05:48 -04:00
Michael 96cfe65795 Added documentation 2020-10-31 23:42:42 +00:00
Michael c030275815 API: accounts and trends 2020-10-31 22:32:26 +00:00
Hypolite Petovan 0e60520a36
Merge pull request #9477 from annando/media-attach
Use the raw body if not null
2020-10-31 17:13:03 -04:00
Hypolite Petovan 7feb8aae5e
Merge pull request #9476 from annando/media-attach
The post-media table now works with the "attach" field as well
2020-10-31 12:37:50 -04:00
Michael 752f5b09d7 Use the raw body if not null 2020-10-31 16:32:41 +00:00
Michael e6030e5f82 API: Media attachments are now supported 2020-10-31 16:10:27 +00:00
Michael 42d246ef73 API: Media attachments are now supported 2020-10-31 16:09:27 +00:00
Michael 6b12ef14f5 Fixed spelling 2020-10-31 14:09:44 +00:00