Commit graph

35049 commits

Author SHA1 Message Date
Hypolite Petovan
dea1a98a5d Fix various documentation issues/unused variables 2019-01-21 09:33:24 -05:00
Hypolite Petovan
8a0e4e12e1 Replace item_id by target_id in multimode delivery workers 2019-01-21 09:32:41 -05:00
Hypolite Petovan
4d26c9de03 Database Structure version 1292
- Add two fields to item-delivery-data table
2019-01-21 09:32:40 -05:00
Hypolite Petovan
1e6193a14e Refactor Worker/Notifier part 4
- Remove redundant $normal_mode flag
- Moved public message email recipient loop
- Simplify OStatus delivery
2019-01-21 09:31:57 -05:00
Hypolite Petovan
774609dd38 Refactor Worker/Notifier part 3
- Replace deprecated q() calls
2019-01-21 09:31:56 -05:00
Hypolite Petovan
d0228b9b97 Refactor Worker/Notifier part 2
- Move self-removal in a sub-method in Worker/Notifier
2019-01-21 09:27:06 -05:00
Hypolite Petovan
507c215c76 Refactor Worker/Notifier part 1
- Rename variables
- Remove orphan, duplicate and one-use intermediary variables
- Initialize potentially missing variables
- Replace obsolete Addon::callHooks call
- Simplify Notifier::activityPubDelivery() signature
2019-01-21 09:27:05 -05:00
root
061ad380f6 for testApiSearchWithExcludeReplies: q parameter is required. 2019-01-21 09:13:10 -05:00
root
dbd2e4cdf3 follow code standard 2019-01-21 09:13:10 -05:00
root
06ccba1c28 code style & use DBA::p 2019-01-21 09:13:09 -05:00
root
61afd5b3fb refs #6292
APIs show number of comments
- /api/statuses/*_timeline
- /api/search
- /api/favorites

/api/search enhacement
- support exclude_replies parameter
2019-01-21 09:13:09 -05:00
Jeroen De Meerleer
a5476a4405 Moved q(\n"UPDATE to q("UPDATE 2019-01-21 09:13:09 -05:00
Jeroen De Meerleer
82a7611488 Updated towards Michael Suggestions
They were just warnings anyway
2019-01-21 09:13:08 -05:00
Jeroen De Meerleer
c101b0cf08 Solved warnings
using php code sniffer
2019-01-21 09:13:08 -05:00
Jeroen De Meerleer
e157859dfb Updated update.php towards code style
using php code sniffer
2019-01-21 09:13:08 -05:00
Jeroen De Meerleer
09e44caf71 Seems I forgot about empty translated strings 2019-01-21 09:13:08 -05:00
Jeroen De Meerleer
c7d4838400 If no generic gender is found, proceed without update 2019-01-21 09:13:08 -05:00
Jeroen De Meerleer
5f1e2b2e49 Added missing use 2019-01-21 09:13:07 -05:00
Jeroen De Meerleer
f0d7244c2e Code standards 2019-01-21 09:13:07 -05:00
Jeroen De Meerleer
e6c00832da Push DB_UPDATE_VERSION 2019-01-21 09:13:07 -05:00
Jeroen De Meerleer
6a04ba4014 Some more code review 2019-01-21 09:12:38 -05:00
Jeroen De Meerleer
ff180fb0f1 Updated towards code review 2019-01-21 09:12:38 -05:00
fabrixxm
b2211d31b9 Fix StorageManager::move() 2019-01-21 09:12:37 -05:00
Jeroen De Meerleer
a224308d42 4 spaces to tab 2019-01-21 09:12:37 -05:00
Jeroen De Meerleer
0906c3532c Added post-update script
Please review first. I don't want to test changes that are not going pass the review.
2019-01-21 09:12:37 -05:00
root
ecb28f6e94 # should urlencode to %23 2019-01-21 09:12:36 -05:00
root
9c90cf7caf ApiTest #6274 #6275 2019-01-21 09:12:36 -05:00
root
6c2ace3cab update hashtag regular expression 2019-01-21 09:12:35 -05:00
root
8de263df8b #6275 - q support hashtag search 2019-01-21 09:12:35 -05:00
root
939364f9a0 API - /search #6274
- fixed: search result always return empty
- add hashtag search: friendica_tag params
- ApiTest & api.md updated
2019-01-21 09:12:35 -05:00
root
b43dd28b7a closes #6272 2019-01-21 09:12:33 -05:00
root
d331e4e6e3 API - /media/upload - add return value #6272
image.preview: string (url for small image)
2019-01-21 09:12:33 -05:00
fabrixxm
8addcf9844 Fix storage backend class names
This should be tested on all supported PHP versions
2019-01-21 09:12:32 -05:00
fabrixxm
204c5a4d99 Don't try to save form for "None" backend. 2019-01-21 09:12:32 -05:00
fabrixxm
3f03f3b4b7 Don't try to build form for "None" backend.
Fix #6266
2019-01-21 09:12:32 -05:00
Hypolite Petovan
578a391393 Add missing methods to Storage\SystemResource
Part of #6263
2019-01-21 09:12:31 -05:00
fabrixxm
bbbc15a5eb Method getPhoto of Photo model should return false on error
Instead of red circle image, which breaks proxy module
2019-01-21 09:12:31 -05:00
fabrixxm
4e38bc8a0d Use DBA::exists() in Photo::exists() 2019-01-21 09:12:31 -05:00
fabrixxm
f8d2f81d81 Fix docs 2019-01-21 09:12:30 -05:00
fabrixxm
ce31ccaade Add docs about storage backend 2019-01-21 09:12:30 -05:00
fabrixxm
2f935a1fbf Fix unregister storage backend 2019-01-21 09:12:30 -05:00
fabrixxm
f2b29f6591 Fix moving stored data 2019-01-21 09:12:30 -05:00
fabrixxm
55292c954b Remove resourceid parameter from Photo::exists() 2019-01-21 09:12:29 -05:00
fabrixxm
e7fbe04b11 Fix parse error 2019-01-21 09:12:29 -05:00
fabrixxm
8c75c26361 Use Model\Photo as much as possible
Most important is to use `Photo::delete()` to have backend
to remove data.
2019-01-21 09:12:28 -05:00
fabrixxm
d549787bc1 Remove empty line before code 2019-01-21 09:11:41 -05:00
fabrixxm
15a3fc05d3 Photo model: set edited and updated on update, fix exists(), docs 2019-01-21 09:11:40 -05:00
fabrixxm
36f30533b7 Code standards 2019-01-21 09:11:40 -05:00
fabrixxm
5fdc9097a2 Rewrite Proxy module 2019-01-21 09:11:40 -05:00
fabrixxm
a46cbfca3d Fix Module\Photo exit with error 2019-01-21 09:11:39 -05:00