Commit graph

29919 commits

Author SHA1 Message Date
Pierre Rudloff
b4cf27e767 api_format_data can also return an array 2017-12-23 01:25:43 +01:00
Pierre Rudloff
37aef32440 Remove unused variable 2017-12-23 01:23:28 +01:00
Pierre Rudloff
0691d83bbc Typo 2017-12-23 01:23:20 +01:00
Michael Vogel
a8529779c7
Merge pull request #4119 from Rudloff/patch-1
Update api.md
2017-12-23 00:13:18 +01:00
Michael
1fc3993990 Code cleaning 2017-12-22 23:10:32 +00:00
Michael
a309d3c733 Bugfix for the api call for remoteauth 2017-12-22 23:00:49 +00:00
Pierre Rudloff
e982d68370
Update api.md
account/update_profile_background_image was listed twice
2017-12-22 23:56:13 +01:00
Michael
3fdfc2e425 Hopefully this is now clearer 2017-12-22 21:31:32 +00:00
Michael
a614b17ed5 Grammar correction 2017-12-22 20:06:15 +00:00
Michael
00c6261dae Only include the update.php, when really needed 2017-12-22 14:56:40 +00:00
Michael
2e2a2b8040 Corrected wrong handling of the return value 2017-12-22 14:51:50 +00:00
Michael
1e7e83510a Old stuff had been removed from the update routine 2017-12-22 14:48:29 +00:00
Michael
2e022733f6 Standards 2017-12-21 22:54:58 +00:00
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