Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/edge' into edge
Browse files Browse the repository at this point in the history
  • Loading branch information
math-GH committed Aug 28, 2024
2 parents b29fd80 + cb35591 commit 10d5140
Show file tree
Hide file tree
Showing 8 changed files with 183 additions and 35 deletions.
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,20 @@
See also [the FreshRSS releases](https://github.com/FreshRSS/FreshRSS/releases).


## 2024-XX-XX FreshRSS 1.24.3-dev
## 2024-0X-XX FreshRSS 1.24.3-dev

* Bug fixing
* Fix mark-as-read from user query [#6738](https://github.com/FreshRSS/FreshRSS/pull/6738)
* Fix regression for shortcut to move between categories [#6741](https://github.com/FreshRSS/FreshRSS/pull/6741)
* Fix UI regression in Mapco/Ansum themes [#6740](https://github.com/FreshRSS/FreshRSS/pull/6740)
* Security
* OpenID Connect better definition of session parameters [#6730](https://github.com/FreshRSS/FreshRSS/pull/6730)
* Compatibility
* Last version supporting PHP 7.4
* Misc.
* Use charset for JSON requests from the UI [#6710](https://github.com/FreshRSS/FreshRSS/pull/6710)
* Use `.html` extension for the local cache of full content pages instead of `.spc` [#6724](https://github.com/FreshRSS/FreshRSS/pull/6724)
* Update dev dependencies [#6739](https://github.com/FreshRSS/FreshRSS/pull/6739)


## 2024-08-23 FreshRSS 1.24.2
Expand Down Expand Up @@ -45,7 +52,6 @@ See also [the FreshRSS releases](https://github.com/FreshRSS/FreshRSS/releases).
* CLI
* Add quiet option to `cli/db-backup.php` [#6593](https://github.com/FreshRSS/FreshRSS/pull/6593)
* Compatibility
* Last version supporting PHP 7.4
* Initial support for PHP 8.4+ [#6615](https://github.com/FreshRSS/FreshRSS/pull/6615)
* With upstream contributions [php/php-src#14873](https://github.com/php/php-src/issues/14873), [PhpGt/CssXPath#227](https://github.com/PhpGt/CssXPath/pull/227)
* Fix SQLite on FreeBSD due to DQS [#6701](https://github.com/FreshRSS/FreshRSS/pull/6701), [#6702](https://github.com/FreshRSS/FreshRSS/pull/6702)
Expand Down
10 changes: 5 additions & 5 deletions p/scripts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ function prev_category() {
do cat = cat.previousElementSibling;
while (cat && getComputedStyle(cat).display === 'none');
if (cat) {
delayedClick(cat.querySelector('a.title'));
delayedClick(cat.querySelector('a.tree-folder-title'));
}
} else {
last_category();
Expand All @@ -619,7 +619,7 @@ function next_category() {
do cat = cat.nextElementSibling;
while (cat && getComputedStyle(cat).display === 'none');
if (cat) {
delayedClick(cat.querySelector('a.title'));
delayedClick(cat.querySelector('a.tree-folder-title'));
}
} else {
first_category();
Expand All @@ -633,20 +633,20 @@ function next_unread_category() {
do cat = cat.nextElementSibling;
while (cat && cat.getAttribute('data-unread') <= 0);
if (cat) {
delayedClick(cat.querySelector('a.title'));
delayedClick(cat.querySelector('a.tree-folder-title'));
}
} else {
first_category();
}
}

function first_category() {
const a = document.querySelector('#aside_feed .category:not([data-unread="0"]) a.title');
const a = document.querySelector('#aside_feed .category:not([data-unread="0"]) a.tree-folder-title');
delayedClick(a);
}

function last_category() {
const links = document.querySelectorAll('#aside_feed .category:not([data-unread="0"]) a.title');
const links = document.querySelectorAll('#aside_feed .category:not([data-unread="0"]) a.tree-folder-title');
if (links && links.length > 0) {
delayedClick(links[links.length - 1]);
}
Expand Down
39 changes: 35 additions & 4 deletions p/themes/Ansum/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,30 @@
box-shadow: inset -1px -11px 8px #0003;

.tree-folder-title {
padding: 1rem;
padding: 0.75rem 1rem;
background: variables.$sid-bg;
position: relative;
font-size: 0.85rem;
letter-spacing: 1px;
font-weight: 700;
text-transform: uppercase;

button.dropdown-toggle {
margin: -0.75rem 0.25rem -0.75rem -1rem;
padding: 0.75rem 0 0.75rem 1rem;

&:hover {
.icon {
filter: brightness(1.7) !important;
transition: 0.1s linear;
}
}
}

.icon {
margin-right: 0.5rem;
}

.title {
background: inherit;
color: variables.$sid-font-color;
Expand All @@ -47,8 +63,6 @@
background: variables.$sid-bg-alt;

.item {
padding: 0 1rem;
line-height: 2.5rem;
font-size: 1rem;
font-weight: 400;

Expand Down Expand Up @@ -77,6 +91,12 @@
a {
text-decoration: none;
color: variables.$sid-font-color;

&.dropdown-toggle {
.icon {
margin-right: 0.25rem;
}
}
}
}
}
Expand Down Expand Up @@ -121,12 +141,23 @@
text-align: center;
background: variables.$sid-bg;
border-right: 1px solid variables.$sid-sep;

.tree-folder-title:hover button.dropdown-toggle .icon {
filter: none;
}
}

&.aside_feed .tree {
margin: 10px 0 50px;
}

a:hover {
.icon {
filter: brightness(1.7);
transition: 0.1s linear;
}
}

}


Expand Down Expand Up @@ -198,7 +229,7 @@
}

.aside.aside_feed .category .title:not([data-unread="0"])::after {
margin: 1rem 0 0 0;
margin: 0.75rem 0 0 0;
background-color: variables.$sid-pills;
}

Expand Down
31 changes: 26 additions & 5 deletions p/themes/Ansum/ansum.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 24 additions & 5 deletions p/themes/Ansum/ansum.rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -464,14 +464,25 @@ th {
box-shadow: inset 1px -11px 8px rgba(0, 0, 0, 0.2);
}
.tree .tree-folder .tree-folder-title {
padding: 1rem;
padding: 0.75rem 1rem;
background: #fbf9f6;
position: relative;
font-size: 0.85rem;
letter-spacing: 1px;
font-weight: 700;
text-transform: uppercase;
}
.tree .tree-folder .tree-folder-title button.dropdown-toggle {
margin: -0.75rem -1rem -0.75rem 0.25rem;
padding: 0.75rem 1rem 0.75rem 0;
}
.tree .tree-folder .tree-folder-title button.dropdown-toggle:hover .icon {
filter: brightness(1.7) !important;
transition: 0.1s linear;
}
.tree .tree-folder .tree-folder-title .icon {
margin-left: 0.5rem;
}
.tree .tree-folder .tree-folder-title .title {
background: inherit;
color: #363330;
Expand All @@ -487,8 +498,6 @@ th {
background: #f7f2ea;
}
.tree .tree-folder .tree-folder-items .item {
padding: 0 1rem;
line-height: 2.5rem;
font-size: 1rem;
font-weight: 400;
transition: all 0.15s ease-in-out;
Expand All @@ -512,6 +521,9 @@ th {
text-decoration: none;
color: #363330;
}
.tree .tree-folder .tree-folder-items .item a.dropdown-toggle .icon {
margin-left: 0.25rem;
}

/*=== Buttons */
.stick input, .stick .btn,
Expand Down Expand Up @@ -559,9 +571,16 @@ th {
background: #fbf9f6;
border-left: 1px solid #f0e7da;
}
.aside.aside_feed .tree-folder-title:hover button.dropdown-toggle .icon {
filter: none;
}
.aside.aside_feed .tree {
margin: 10px 0 50px;
}
.aside a:hover .icon {
filter: brightness(1.7);
transition: 0.1s linear;
}

/* Sidebar des pages de configuration */
/*=== Navigation */
Expand Down Expand Up @@ -618,7 +637,7 @@ th {
}

.aside.aside_feed .category .title:not([data-unread="0"])::after {
margin: 1rem 0 0 0;
margin: 0.75rem 0 0 0;
background-color: rgba(35, 35, 0, 0.15);
}

Expand Down Expand Up @@ -1323,4 +1342,4 @@ body.register {
a, button.as-link {
outline: none;
color: #ca7227;
}
}
Loading

0 comments on commit 10d5140

Please sign in to comment.