mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-22 21:22:40 +00:00
Fixes for bugs uncovered during client testing
This commit is contained in:
parent
05620602bf
commit
999f255203
2 changed files with 3 additions and 3 deletions
2
dist/nginx.conf
vendored
2
dist/nginx.conf
vendored
|
@ -45,6 +45,6 @@ server {
|
||||||
# Tiny Tiny RSS special-feed icons
|
# Tiny Tiny RSS special-feed icons
|
||||||
location /tt-rss/images/ {
|
location /tt-rss/images/ {
|
||||||
root /usr/share/arsse/www;
|
root /usr/share/arsse/www;
|
||||||
try_files $uri;
|
try_files $uri =404;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1188,7 +1188,7 @@ class API extends \JKingWeb\Arsse\REST\AbstractHandler {
|
||||||
'post_id' => $article['id'],
|
'post_id' => $article['id'],
|
||||||
]] : [], // TODO: We need to support multiple enclosures
|
]] : [], // TODO: We need to support multiple enclosures
|
||||||
'score' => 0, // score is not implemented as it is not modifiable from the TTRSS API
|
'score' => 0, // score is not implemented as it is not modifiable from the TTRSS API
|
||||||
'note' => strlen($article['note']) ? $article['note'] : null,
|
'note' => strlen((string) $article['note']) ? $article['note'] : null,
|
||||||
'lang' => "", // FIXME: picoFeed should be able to retrieve this information
|
'lang' => "", // FIXME: picoFeed should be able to retrieve this information
|
||||||
'content' => $article['content'],
|
'content' => $article['content'],
|
||||||
];
|
];
|
||||||
|
@ -1262,7 +1262,7 @@ class API extends \JKingWeb\Arsse\REST\AbstractHandler {
|
||||||
'feed_id' => $article['subscription'],
|
'feed_id' => $article['subscription'],
|
||||||
'feed_title' => $article['subscription_title'],
|
'feed_title' => $article['subscription_title'],
|
||||||
'score' => 0, // score is not implemented as it is not modifiable from the TTRSS API
|
'score' => 0, // score is not implemented as it is not modifiable from the TTRSS API
|
||||||
'note' => strlen($article['note']) ? $article['note'] : null,
|
'note' => strlen((string) $article['note']) ? $article['note'] : null,
|
||||||
'lang' => "", // FIXME: picoFeed should be able to retrieve this information
|
'lang' => "", // FIXME: picoFeed should be able to retrieve this information
|
||||||
'tags' => Arsse::$db->articleCategoriesGet(Arsse::$user->id, $article['id']),
|
'tags' => Arsse::$db->articleCategoriesGet(Arsse::$user->id, $article['id']),
|
||||||
'comments_count' => 0,
|
'comments_count' => 0,
|
||||||
|
|
Loading…
Reference in a new issue