mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-03-09 09:56:40 -04:00
Merge branch 'FreshRSS/dev' into CLI-bugs
This commit is contained in:
@@ -9,10 +9,12 @@
|
||||
* CLI
|
||||
* New command `./cli/reconfigure.php` to update an existing installation [#1439](https://github.com/FreshRSS/FreshRSS/pull/1439)
|
||||
* UI
|
||||
* New theme *Origine-compact* [#1388](https://github.com/FreshRSS/FreshRSS/pull/1388)
|
||||
* Chrome parity with Firefox: auto-focus tab when clicking on notification [#1409](https://github.com/FreshRSS/FreshRSS/pull/1409)
|
||||
* Bug fixing
|
||||
* Fix PostgreSQL bugs with API and feed modifications [#1417](https://github.com/FreshRSS/FreshRSS/pull/1417)
|
||||
* Allow empty strings in CLI do-install [#1435](https://github.com/FreshRSS/FreshRSS/pull/1435)
|
||||
* Do not mark as read in anonymous mode [#1431](https://github.com/FreshRSS/FreshRSS/issues/1431)
|
||||
* Security
|
||||
* Sanitize feed Web site URL [#1434](https://github.com/FreshRSS/FreshRSS/issues/1434)
|
||||
* No version number for anonymous users [#1404](https://github.com/FreshRSS/FreshRSS/issues/1404)
|
||||
|
||||
@@ -3,6 +3,7 @@ $mark = FreshRSS_Context::$user_conf->mark_when;
|
||||
$s = FreshRSS_Context::$user_conf->shortcuts;
|
||||
echo htmlspecialchars(json_encode(array(
|
||||
'context' => array(
|
||||
'anonymous' => !FreshRSS_Auth::hasAccess(),
|
||||
'auto_remove_article' => !!FreshRSS_Context::isAutoRemoveAvailable(),
|
||||
'hide_posts' => !(FreshRSS_Context::$user_conf->display_posts || Minz_Request::actionName() === 'reader'),
|
||||
'display_order' => Minz_Request::param('order', FreshRSS_Context::$user_conf->sort_order),
|
||||
|
||||
@@ -117,6 +117,7 @@ function incUnreadsFeed(article, feed_id, nb) {
|
||||
var pending_entries = {};
|
||||
function mark_read(active, only_not_read) {
|
||||
if ((active.length === 0) || (!active.attr('id')) ||
|
||||
context.anonymous ||
|
||||
(only_not_read && !active.hasClass("not_read"))) {
|
||||
return false;
|
||||
}
|
||||
|
||||
BIN
p/themes/Origine-compact/loader.gif
Normal file
BIN
p/themes/Origine-compact/loader.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.1 KiB |
7
p/themes/Origine-compact/metadata.json
Normal file
7
p/themes/Origine-compact/metadata.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"name": "Origine-compact",
|
||||
"author": "Kevin Papst",
|
||||
"description": "A theme that tries to use the screen size more efficiently, based on Origine",
|
||||
"version": 0.1,
|
||||
"files": ["_template.css", "origine-compact.css"]
|
||||
}
|
||||
1091
p/themes/Origine-compact/origine-compact.css
Normal file
1091
p/themes/Origine-compact/origine-compact.css
Normal file
File diff suppressed because it is too large
Load Diff
BIN
p/themes/Origine-compact/thumbs/original.png
Normal file
BIN
p/themes/Origine-compact/thumbs/original.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 163 KiB |
Reference in New Issue
Block a user