Hypolite Petovan
cb4950a3be
Replace duplicated authentication code in FKOAuth1 with Session::setAuthenticatedForUser
1 year ago
Philipp Holzer
d5dd12b8f8
Add Drone CI
- Add drone test environment
- Add drone config
- apt phpunit
- Fix api.php
- Fix item.php
- Fix DBStructure
- Check if caching is possible during tests
1 year ago
Michael
a7d23a1196
API Support "friendica_html"
1 year ago
Michael
ae3c9eceed
Support for posting multiple pictures via API
1 year ago
Hypolite Petovan
c3e3e83a52
Improve BBCode:toPlaintext
- Fix issue where matching literal square brackets were removed with their content
- Fix issue where content without line feeds between BBCode tags would end up compacted in plain text
- Update extr calls to BBCode::toPlaintext in api
1 year ago
Michael
1b7f96dac8
Partly reverted, real problem fixed
1 year ago
Michael
cb77b1af8c
API: We now transmit the text description there as well
1 year ago
Michael
5dc74513cc
Fix a notice when setting a picture description via API
1 year ago
Michael
b4c673a620
We now use a central function for fetching the postdata
1 year ago
Michael
223cb8f037
We can now set image descriptions via API
1 year ago
Hypolite Petovan
b684fffcb7
Replace last instance of Contact::select
1 year ago
Philipp Holzer
2f5928f43a
Refactoring Profile:: selectors
1 year ago
Philipp Holzer
46211de037
Fix DBA::fetch in API
1 year ago
Philipp Holzer
b7f1de1e64
Revert $term DB result check
1 year ago
Philipp Holzer
2a87464c97
Replace q() call with Profile::get() method
1 year ago
hlad
c8ee4cc49f
we work with utf8 string so we should use multibyte functions
1 year ago
Hypolite Petovan
cd257dc7e8
Enable app-specific password authentication for API login
1 year ago
Michael
23830dc45f
Preparation for quoted reshares on AP
1 year ago
Philipp Holzer
8f0aa0ca5a
bugfix: add missing group by parameters
1 year ago
Michael
6bb418c5a7
Use "received" instead of "created" when displaying posts in creation order
1 year ago
Hypolite Petovan
0e5b9514ef
[API] Convert user description to plain text
1 year ago
Hypolite Petovan
661aca0f88
[API] Ensures user_show includes a status the user actually authored
1 year ago
Hypolite Petovan
b5454547e9
Add query string to API "call not implemented" log message
1 year ago
Hypolite Petovan
6071fe81b4
Move Authentication::setAuthenticatedSessionForUser to Session::setAuthenticatedForUser
1 year ago
Hypolite Petovan
08ef4c23d7
Replace last references to removed HTTPException->httpcode property
1 year ago
Michael
d4b7e00837
Cleaning up transmitted fields (only needed for the root entry)
1 year ago
Michael
d778a29e04
Use all fields
1 year ago
Michael
9753ccab33
API: Reshares and Quotes should now work in any combination
1 year ago
Michael
3db9420ec7
Unify behaviour of friendica-author and friendica-owner
1 year ago
Michael
dd7406f285
API: Fix the displaying of reshared posts
1 year ago
Hypolite Petovan
ab7ec357cb
Remove type parameter from api_get_last_status function prototype
1 year ago
Hypolite Petovan
e60e7a56ac
Add author_user support to api_format_item
1 year ago
Hypolite Petovan
8d28f199a6
Test fix: Add expected author-network field to api_get_item() result
2 years ago
Hypolite Petovan
9693a7472e
Extract API status formatting from api_get_status()
- Rename api_get_status() to api_get_item()
- Ad new api_format_item() function for single item formatting
2 years ago
Hypolite Petovan
aa6192258e
Extract API status retrieval from api_status_show()
- Remove 'raw' type from api_status_show()
- Add new api_get_status() and api_get_last_status() functions
- Use api_get_last_status() in api_account_verify_credentials() and api_show_user()
2 years ago
Philipp Holzer
b2edb85588
Replace "q" calls
2 years ago
Michael
80a33763ea
Take the author from the author
1 year ago
Michael
b8b5b7b753
Issue 6537: Transmit the real author of a post in a dedicated field in the API
1 year ago
Philipp Holzer
04b7280f38
Take void return into account
2 years ago
Philipp Holzer
6986e6902b
check if user_info is an array before counting
2 years ago
Philipp Holzer
4c11255624
Hide silenced authors from public timeline
2 years ago
Roland Häder
9fa812b35d
Rewrites:
- converted single-line if() block to multi-line and with curly braces
- "imported" SPL classes to have unified code style
- always initialize your variables ... :-/
- added some empty lines/spaces for better readability
Signed-off-by: Roland Häder <roland@mxchange.org>
2 years ago
Philipp Holzer
5e5c39b0e1
Refactored DependencyFactory for Profiler
2 years ago
Philipp Holzer
5e6e1a8025
Introducing Profiler
2 years ago
Hypolite Petovan
cef6757c92
Replace REGISTER_* constants by Module\Register::* ones
2 years ago
Hypolite Petovan
592592525b
Various fixes in include/api
- Fix unused condition in api_status_show()
- Fix wrong operator orders in api_get_entitites()
- Fix wrong variable usage in api_account_update_profile_image()
2 years ago
Hypolite Petovan
ce177f22c8
Fix doc blocks and return value type
2 years ago
Hypolite Petovan
da7706ce61
Remove unused code in include/
- Remove unused variables
2 years ago
Hypolite Petovan
c5cb976b62
Update PHPDoc in include/
2 years ago
Hypolite Petovan
d1c6ec9718
Update namespaces declaration in include/
- Remove unused use statements
- Add required use statements
2 years ago