Commit graph

17062 commits

Author SHA1 Message Date
Pierre Rudloff
da6a7b1fce Typo 2017-12-23 01:32:47 +01:00
Pierre Rudloff
70ab9dc9be Undefined variable 2017-12-23 01:31:29 +01:00
Pierre Rudloff
521d4b09b6 Unused argument 2017-12-23 01:27:17 +01:00
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
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
4dcf14f62e Query was simplified 2017-12-21 18:49:27 +00:00
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
fba40b8761 Removed unneeded code 2017-12-21 08:58:36 +00:00
23178a17a7 Only locally used methods should always be private 2017-12-21 07:27:20 +00:00
8c2d455b98 Better english 2017-12-21 04:53:57 +00:00
008c97c570 Split the name in the hcard 2017-12-20 21:15:13 +00:00
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
f7272be4a8 Reshares are now working 2017-12-20 18:18:25 +00:00
cdce9b48ab Added documentation 2017-12-20 10:34:42 +00:00
343f22e02f Updating after post does now work 2017-12-20 10:16:25 +00:00
fa8a09d977 Comments to public posts no get through 2017-12-19 23:12:37 +00:00
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
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
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
bfb15f2b33 Workaround for servers that react strange 2017-12-19 09:57:24 +00:00
409b349011 forgotten $ 2017-12-19 09:18:45 +00:00
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
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
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