Commit Graph

17106 Commits

Author SHA1 Message Date
Hypolite Petovan 98c2cdb49a
Merge pull request #4111 from annando/comment-public
Preparation for being able to comment every public item
2017-12-21 17:18:14 -05:00
Michael 4dcf14f62e Query was simplified 2017-12-21 18:49:27 +00:00
Michael cfa42552bc Standards 2017-12-21 18:46:35 +00:00
Hypolite Petovan 369f6f205d
Merge pull request #4114 from annando/as-private-as-possible
Only locally used methods should always be private
2017-12-21 08:16:10 -05:00
Hypolite Petovan a539810b21
Merge pull request #4113 from annando/split-profile-name
Split the first name and last name for Diaspora
2017-12-21 07:59:04 -05:00
Michael fba40b8761 Removed unneeded code 2017-12-21 08:58:36 +00:00
Michael 23178a17a7 Only locally used methods should always be private 2017-12-21 07:27:20 +00:00
Michael 8c2d455b98 Better english 2017-12-21 04:53:57 +00:00
Michael 008c97c570 Split the name in the hcard 2017-12-20 21:15:13 +00:00
Michael fb88d78862 Split the first name and last name so that they fit into the length restrictions of Diaspora 2017-12-20 20:31:25 +00:00
Michael f7272be4a8 Reshares are now working 2017-12-20 18:18:25 +00:00
Michael cdce9b48ab Added documentation 2017-12-20 10:34:42 +00:00
Michael 343f22e02f Updating after post does now work 2017-12-20 10:16:25 +00:00
Michael fa8a09d977 Comments to public posts no get through 2017-12-19 23:12:37 +00:00
Michael f9307c4665 Oops 2017-12-19 17:38:33 +00:00
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
Michael b457ed6876 Preparation for being able to comment every public item 2017-12-19 17:15:56 +00: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