Commit graph

28841 commits

Author SHA1 Message Date
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
Michael 8485c8c357 The post-media table now works with the "attach" field as well 2020-10-31 13:26:08 +00:00
Hypolite Petovan e5c145e73c
Merge pull request #9475 from annando/network-order
Fix order on network page
2020-10-30 18:33:00 -04:00
Michael db8be13bbf Fix order on network page 2020-10-30 22:13:14 +00:00
Hypolite Petovan 5b0003fd0f
Merge pull request #9474 from annando/faster-expire
Improve expiry query
2020-10-30 17:54:22 -04:00
Michael 5956de645d Improve expiry query 2020-10-30 20:26:16 +00:00
Hypolite Petovan f91ab57543
Merge pull request #9472 from annando/item-lock
Avoiding database lock
2020-10-30 14:57:37 -04:00
Michael da370c44ba Added lock for contacts, improved logging 2020-10-30 17:26:12 +00:00