Commit graph

17040 commits

Author SHA1 Message Date
Michael Vogel
6ac45d97c4
Merge pull request #4110 from Rudloff/feature/saved_searches_api
Implement saved_searches/list API
2017-12-19 18:26:28 +01:00
Pierre Rudloff
890cda11ed Only use "@throws" in phpdoc if the function explicitely throws an exception 2017-12-19 14:52:46 +01:00
Pierre Rudloff
e44da4a498 Close DB connection in api_saved_searches_list 2017-12-19 14:42:13 +01:00
Pierre Rudloff
30cb37cda5 Implement saved_searches/list API 2017-12-19 14:22:38 +01:00
Hypolite Petovan
6f7f839c67
Merge pull request #4109 from Rudloff/patch-2
Update api.md
2017-12-19 08:16:19 -05:00
Pierre Rudloff
c9d1d6803d
Update api.md
search/tweets is implemented
2017-12-19 14:01:03 +01:00
Hypolite Petovan
57d888f3e7
Merge pull request #4106 from annando/registered-users
We now fetch the number of registered users
2017-12-19 07:31:21 -05:00
Michael
b935a2b6d9 Woraround for bad mastodon links 2017-12-19 11:54:02 +00:00
Hypolite Petovan
759329ee56
Merge pull request #4108 from Rudloff/feature/markdownlint
Lint doc/api.md
2017-12-19 06:34:20 -05:00
Pierre Rudloff
cf063b2045 Lint doc/api.md 2017-12-19 12:18:38 +01:00
Hypolite Petovan
256bf2e888
Merge pull request #4104 from Rudloff/feature/incoming_api
Implement friendships/incoming and users/lookup APIs
2017-12-19 05:39:23 -05:00
Pierre Rudloff
a817a1a070 Throw NotFoundException if results are empty in api_users_lookup 2017-12-19 11:37:55 +01:00
Hypolite Petovan
394e94cbc1
Merge pull request #4103 from Rudloff/feature/profile_colors
Add support for profile_*_color in API
2017-12-19 05:35:36 -05:00
Pierre Rudloff
27646cc4ad Code standards in api_get_user 2017-12-19 11:33:59 +01:00
Michael
bfb15f2b33 Workaround for servers that react strange 2017-12-19 09:57:24 +00:00
Michael
409b349011 forgotten $ 2017-12-19 09:18:45 +00:00
Michael
2b50f001b9 Added statistics 2017-12-19 07:39:21 +00:00
Michael Vogel
1f78868d6d
Merge pull request #4107 from MrPetovan/bug/3954-fix-double-login
Fix double login
2017-12-19 08:01:05 +01:00
Michael
ddc25583be Updated database calls 2017-12-19 06:47:39 +00:00
Hypolite Petovan
b6f60c45aa Fix double login issue
- Removed session existence check in killme
- Changed returned value in session_write for empty data
2017-12-18 23:43:15 -05:00
Pierre Rudloff
35c4a7940a Use dba::select() instead of dba::p() in api_get_user 2017-12-19 01:31:32 +01:00
Michael
dab83c8b40 We now fetch the number of registered users 2017-12-18 23:58:18 +00:00
Pierre Rudloff
e11190b4cf Implement friendships/incoming and users/lookup APIs 2017-12-18 23:51:03 +01:00
Pierre Rudloff
3e9bc61bbf Add support for profile_*_color in API 2017-12-18 21:57:30 +01:00
Hypolite Petovan
7a6706b0f7
Merge pull request #4097 from Rudloff/feature/search_api
Implement search API (fixes #929)
2017-12-18 09:28:33 -05:00
Hypolite Petovan
86922c4821
Merge pull request #4101 from Rudloff/feature/block_api
Implement the blocks/list API
2017-12-18 09:27:35 -05:00
Pierre Rudloff
02733c66f3 Use LIKE instead of REGEXP in api_search 2017-12-18 15:23:15 +01:00
Pierre Rudloff
3e4af13772 Implement the blocks/list API 2017-12-18 15:20:42 +01:00
Pierre Rudloff
5899d821ef Remove useless intval() in api_search 2017-12-18 14:36:06 +01:00
Hypolite Petovan
eec2289619
Merge pull request #4100 from Rudloff/feature/composer
Fix license info in composer.json
2017-12-18 08:33:02 -05:00
Pierre Rudloff
31d63d929d Use dba::inArray() instead of dba::fetch() in api_search 2017-12-18 14:28:04 +01:00
Pierre Rudloff
39a3a5a65a Fix license info in composer.json 2017-12-18 14:24:49 +01:00
Hypolite Petovan
4e91ced137
Merge pull request #4099 from annando/always-force
OnePoll: We now force an update check all the time
2017-12-18 08:10:08 -05:00
Pierre Rudloff
ee8468affe Improve api_search()
Use dba::p() instead of q()
Move exception to the beginning
Remove useless GROUP BY
Remove useless protect_sprintf()
2017-12-18 14:00:10 +01:00
Michael
52a799574d OnePoll: We now force an update check all the time 2017-12-18 12:51:29 +00:00
Michael Vogel
415e43066a
Merge pull request #4098 from Rudloff/patch-1
Update Developers-Intro.md
2017-12-18 13:20:42 +01:00
Pierre Rudloff
bd427c40f1
Update Developers-Intro.md
GitHub does not display titles correctly if there isn't a space after `#`.
2017-12-18 13:09:03 +01:00
Pierre Rudloff
4a5d988d8c Implement search API (fixes #929) 2017-12-18 13:05:27 +01:00
Michael Vogel
ea4995a6a8
Merge pull request #4096 from annando/fix-pr-4095
Fix for PR 4095
2017-12-18 10:24:11 +01:00
Michael
bd66eefe68 Fix for PR 4095 2017-12-18 09:21:47 +00:00
Michael Vogel
fa11959919
Merge pull request #4095 from MrPetovan/task/fix-phpstan-errors
Fix phpstan errors
2017-12-18 07:28:23 +01:00
Hypolite Petovan
98daf58cda Fix undefined variable in Protocol\OStatus 2017-12-17 16:32:35 -05:00
Hypolite Petovan
872190dcb0 Fix missing variable in Worker\Directory
- Remove fixed comment in PortableContact
2017-12-17 16:25:32 -05:00
Hypolite Petovan
b8e41906a4 Remove unused variable in Protocol\PortableContact 2017-12-17 16:22:58 -05:00
Hypolite Petovan
df02238659 Centralize owner data fetch 2017-12-17 16:22:39 -05:00
Hypolite Petovan
e37cf8fea2 Fix missing owner in Protocol/Diaspora 2017-12-17 16:10:44 -05:00
Hypolite Petovan
a8b3a2624b Fix Protocol\Diaspora missing user variable 2017-12-17 16:08:22 -05:00
Hypolite Petovan
ba7bb04287 Updated composer classmaps 2017-12-17 15:38:03 -05:00
Hypolite Petovan
5926cd534a Add FIXME for unrecoverable missing variables 2017-12-17 15:35:38 -05:00
Hypolite Petovan
a6a2c578f9 Add new common Image::scale() method
- Fix undefined variable $type
2017-12-17 15:35:07 -05:00