Commit Graph

1388 Commits

Author SHA1 Message Date
maTh
3b953d759b Improved: side navigation headlines (#6445)
* frss.css

* delete border-bottom from dark, origine, pafat

* margin/padding bottom deleted

* better CSS

* Nord theme: similar padding for feed navigation bar (#6429)
2024-05-11 23:42:34 +02:00
maTh
b4eca4ba03 Fixed: clickable link block (#6444)
* <span><a> => only <a>

* update frss.css

* update themes
2024-05-11 23:41:21 +02:00
maTh
d4ac7ea26b Delete date opacity while hovering (#6390)
* opacity 0.3 -> 0.5

* delete opacity while hovering
2024-04-30 09:44:47 +02:00
maTh
d656896a95 Fix date issue in mobile view (#6385)
* font-size: 0.7rem; in frss.css

* fix date issue in mobile view

* better CSS for date in header and footer

* RTL

* padding in mobile view
2024-04-26 13:11:38 +02:00
maTh
aac3b21a8b Fix: overflow expanding title in entry header (#6373)
* change HTML structure

* CSS
2024-04-25 08:45:59 +02:00
maTh
bf68205ae3 Improved: Reading view: author (#6289)
* move the margin from themes to frss.css + delete font-size

* same source code as normal view for author information
2024-04-15 23:14:34 +02:00
maTh
6901ff1e70 improved: Gap between header and first image (#6299) 2024-04-14 23:49:26 +02:00
maTh
2846fdba6f Fix Clipboard sharing (#6301) 2024-04-14 23:48:13 +02:00
Jacopo Galati
30f147410d fix selector for clipboard sharing option (#6277)
Clipboard sharing uses  <button> instead of <a>, so the selector does not find it
2024-04-11 08:48:32 +02:00
Frans de Jonge
d7f5ef3627 greader.php: only return 'OK' on greader.php without query parameters (#6238)
It'd be clearer if the API endpoint didn't return `OK` when adding the `Email` and `Passwd` parameters. Whether it should indeed return `OK` if they're correct is debatable.

In reply to <https://github.com/FreshRSS/FreshRSS/issues/5856#issuecomment-2019814077>.
2024-04-01 11:45:44 +02:00
maTh
c18987fae3 Improve/fix label management (#6212)
* add the slider

* the styles

* add the title

* improve the column layout
2024-04-01 11:43:22 +02:00
maTh
bb0fc2a54a Improve: Article footer clickable area of dropdowns (#6242) 2024-03-29 07:22:14 +01:00
maTh
75a17ff410 Fix: Clicking outside of article text area closes the article (#6241) 2024-03-29 00:13:46 +01:00
maTh
6bd6494ad4 fixed HTML: <fieldset> + <legend> (#6202)
* legend tags cleaned

* formgroup -> fieldset tag

* add bookmarklet class

* Update logs.phtml

* Update logs.phtml

* fixed log table text alignment
2024-03-17 22:49:12 +01:00
Alexandre Alapetite
d7bc70e3fb Revert "scroll-behavior: smooth; (#6206)"
This reverts commit 2feb97e9b9.
https://github.com/FreshRSS/FreshRSS/pull/6206#issuecomment-2001934192
2024-03-16 11:02:50 +01:00
maTh
2feb97e9b9 scroll-behavior: smooth; (#6206) 2024-03-15 10:43:52 +01:00
maTh
c0db581f2b Fix #5058 origine compact theme (#6197)
* basic fix

* theme's fix
2024-03-13 22:38:18 +01:00
Alexandre Alapetite
5e54d5bc58 Reduce API memory consumption (#6137)
`echo json_encode(...)` is very memory demanding for large responses, so optimised.
Contributes to https://github.com/FreshRSS/FreshRSS/issues/6136
https://github.com/FreshRSS/FreshRSS/pull/6013#discussion_r1506779881
2024-03-01 10:08:25 +01:00
maTh
5de794ee0f delete rss view shortcut (#6131) 2024-02-27 23:57:23 +01:00
Alexandre Alapetite
bdf899164b System option for number of feeds to refresh in parallel (#6124)
* System option for number of feeds to refresh in parallel
fix https://github.com/FreshRSS/FreshRSS/issues/6123

* Forgot refreshDynamicOpml
2024-02-26 09:01:49 +01:00
Alexandre Alapetite
39cc1c11ec New feature: shareable user query (#6052)
* New feature: shareable user query
Share the output of a user query by RSS / HTML / OPML with other people through unique URLs.
Replaces the global admin token, which was the only option (but unsafe) to share RSS outputs with other people.
Also add a new HTML output for people without an RSS reader.

fix https://github.com/FreshRSS/FreshRSS/issues/3066#issuecomment-648977890
fix https://github.com/FreshRSS/FreshRSS/issues/3178#issuecomment-769435504

* Remove unused method

* Fix token saving

* Implement HTML view

* Update i18n for master token

* Revert i18n get_favorite

* Fix missing i18n for user queries from before this PR

* Remove irrelevant tests

* Add link to RSS version

* Fix getGet

* Fix getState

* Fix getSearch

* Alternative getSearch

* Default getOrder

* Explicit default state

* Fix test

* Add OPML sharing

* Remove many redundant SQL queries from original implementation of user queries

* Fix article tags

* Use default user settings

* Prepare public search

* Fixes

* Allow user search on article tags

* Implement user search

* Revert filter bug

* Revert wrong SQL left outer join change

* Implement checkboxes

* Safe check of OPML

* Fix label

* Remove RSS button to favour new sharing method
That sharing button was using a global admin token

* First version of HTTP 304

* Disallow some recusrivity
fix https://github.com/FreshRSS/FreshRSS/issues/6086

* Draft of nav

* Minor httpConditional

* Add support for offset for pagination

* Fix offset pagination

* Fix explicit order ASC

* Add documentation

* Help links i18n

* Note about deprecated master token

* Typo

* Doc about format
2024-02-26 09:01:03 +01:00
maTh
4d95ef7164 Improve the padding of the notification banner (#6074) 2024-01-29 12:37:02 +01:00
Alexandre Alapetite
e240ee1caf API allow negative feed IDs (#6010)
For future features (e.g. save articles by URL, save a manual note, ...), it would be good to allow special feeds, and to use negative integers for that. The rest of FreshRSS seems to be already ready, and there was only the Google Reader API, which required positive integers for feed IDs.
I quickly tested apps such as News+, EasyRSS, Rreadrops, which seem fine with that, but help welcome to test compatibility more thoroughly.
2024-01-02 19:23:09 +01:00
maTh
6a43d06566 fix:remove duplicated lines that are given in frss.css (#5999) 2023-12-29 22:58:28 +01:00
Alexandre Alapetite
a80a5f48a1 Pass PHPStan level 8 (#5946)
* Pass PHPStan level 8
And prepare for PHPStan level 9 https://phpstan.org/user-guide/rule-levels

* Revert wrong replace in comment

* Fix PHPStan level 8

* Update PHPStan and other dev dependencies

* Remove obsolete comment

* noVariableVariables and towards bleedingEdge
https://github.com/phpstan/phpstan-strict-rules
https://phpstan.org/blog/what-is-bleeding-edge

* More bleedingEdge

* A bit more PHPStan level 9

* More PHPStan level 9

* Prepare for booleansInConditions
Ignore int and null

* Revert wrong line

* More fixes

* Fix keep_max_n_unread

* Stricter attribute functions

* Stricter callHooks and more PHPStan level 9

* More typing

* A tiny more
2023-12-18 17:59:16 +01:00
Kasimir Cash
ea6b8b7c6f Fix font priority for languages using Han characters (#5930)
* Remove chinese fonts from themes (#5670)

* Adds name to credits
2023-12-10 12:42:08 +01:00
Alexandre Alapetite
f0d4f2762d Rework keepmax (#5905)
* Rework keepmax
fix https://github.com/FreshRSS/FreshRSS/issues/5702
fix https://github.com/FreshRSS/FreshRSS/issues/5870

* More WIP

* Minor progress

* Progress

* Beta

* Improved debug message

* Revert noCommit

* Fix variable reset

* Remove debug syslogs
2023-12-03 19:52:02 +01:00
Luc SANCHEZ
30c7a61a9b Use strict_types (#5830)
* Little's optimisations and booleans in conditions

* Apply strict type

* Apply strict type

* Apply strict type

* Fix multiple bugs with PHP 8.2 and 8.3

* Many declares missing, more errors fixed

* Apply strict type

* Another approach

* Stronger typing for Minz_Session

* Fix case of SQLite

---------

Co-authored-by: Luc <sanchezluc+freshrss@gmail.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2023-11-16 22:43:00 +01:00
maTh
96515d02be Improved: Nord theme (#5885)
* fix font warnings in Firefox

* notification: margin + box-shadow

* notification line-height

* fix search input in dropdown menu

* clean code + add backdrop-filter for dropdown

* border radius of aside

* active menu item in bold

* colors of switches like on extension page

* color of error log entries

* fix global view overlay close area

* Select of sharing service

---------

Co-authored-by: math-gh <>
2023-11-16 13:11:28 +01:00
maTh
b3c0b4e979 h4,h5,h6 (#5886)
Co-authored-by: math-gh <>
2023-11-16 13:11:11 +01:00
Alexandre Alapetite
9eba8726ac API fix add feed with title (#5868)
fix https://github.com/FreshRSS/FreshRSS/issues/5866
2023-11-14 12:58:57 +01:00
FireFingers21
b1d568697a Fix newlines not always displaying properly in description (#5859)
* Fix newlines not displaying properly

* Add name to credits

* Restore enclosure-description class

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>

* Update app/Models/Entry.php

XHTML

---------

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2023-11-13 20:20:14 +01:00
Ben Passmore
b9939bdaac Added ability to mark articles as read on focus. (#5812)
* Added ability to mark entries as read on focus.

Feature proposed in issue #5723.

* make-fix-all + i18n fr

* Use batch to save resources and increase performance

* Use "keep_unread"

* typo

---------

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2023-11-09 11:12:04 +01:00
Alexandre Alapetite
44a7c54a5a Update WebSub documentation a bit (#5829)
* Update WebSub documentation a bit

* Marien prefers not to promote his hub too much :-)
2023-11-08 20:24:24 +01:00
Alexandre Alapetite
348028a290 New feature important feeds (#5782)
* New feature important feeds

* Fix PHPStan

* Initial style for important feeds + keep unread

* Change UI order

* Count important unread

* Never mark as read important feeds during scroll

* Fix i18n conf.iew.normal regression

* Fix reader view

* More fix reader view

* Create important.svg

* Fix title

* Fix counter

* Account for important during  mark-all-as-read

* Fix underline colour

* 📌

* Changelog

---------

Co-authored-by: math-gh <>
Co-authored-by: maTh <1645099+math-GH@users.noreply.github.com>
2023-11-08 20:23:54 +01:00
Frans de Jonge
ecf1585d74 init_posts(): load more posts on window resize (#5815)
* init_posts(): load more posts on window resize

Fixes:

1. Open FreshRSS in a shorter window
2. Resize to be much longer
3. Half the window remains empty

This is most obviously a problem on vertical monitors.

* Address comments

* blah blah

* typo
2023-11-04 17:49:48 +01:00
maTh
a4dc348c3d Improved: nord theme (#5810)
* new-article banner: line-height deleted

* mobile: config menu: no border-radius anymore

* mobile: form-group.group-name in bold and with :

* improve .flux

* fix dropdown

* cleanup duplicate code from frss.css

* mark as read button

* load more button

* more margin of alerts on mobile screens

* option + optgroup

* vars cleaned up

* better help text lines

---------

Co-authored-by: math-gh <>
2023-11-04 03:17:15 +01:00
Alexandre Alapetite
0795d47d82 Fix Apache IfVersion (#5804)
* Fix Apache IfVersion
fix https://github.com/FreshRSS/FreshRSS/issues/5803

* Minor changelog
2023-11-01 17:29:16 +01:00
maTh
3b408443be fix update page button (#5802)
Co-authored-by: math-gh <>
2023-11-01 14:17:33 +01:00
Alexandre Alapetite
0234f4e40b Document Apache 2.4+ (#5791)
And avoid crash in Apache 2.2 anyway
fix https://github.com/FreshRSS/FreshRSS/issues/5790
2023-10-31 12:27:32 +01:00
Alexandre Alapetite
9b3a867c35 Fix JS regression dropdown label (#5785)
#fix https://github.com/FreshRSS/FreshRSS/issues/5784
2023-10-30 22:23:25 +01:00
Alexandre Alapetite
06d0099504 Require PHP 7.4+ (#5720)
* Require PHP 7.4+
https://github.com/FreshRSS/FreshRSS/discussions/5474

* Update Docker oldest
Alpine 3.13 with PHP 7.4.26

* Add missing packets to Docker oldest

* Update to typed properties
https://php.net/migration74.new-features#migration74.new-features.core.typed-properties

* More types
2023-10-30 20:47:27 +01:00
maTh
98aa0b474e Fix UI inputs manage feed (#5765)
* fix input width

* fix feed edit path_entries_filter

---------

Co-authored-by: math-gh <>
2023-10-28 13:52:32 +02:00
maTh
58a46f0023 More improvements/fixes of Nord theme (#5754)
* fix favicon

* fix unread counter

* table border color

* fix/improve feed navigation

* drag-drop-marker

* hover nav_entries buttons

* fix tags icon

* border color for invalid input value

---------

Co-authored-by: math-gh <>
2023-10-27 22:57:27 +02:00
maTh
1db1035ec2 Fix origine dark mode (#5745)
* fix dark mode auto special code

* make error alert better readable

---------

Co-authored-by: math-gh <>
2023-10-25 20:52:04 +02:00
maTh
e1ad4fc733 Navigation buttons: Group icons (.group instead of .stick) (#5737)
* replace stick with group + update the themes

* Update nav_menu.phtml

---------

Co-authored-by: math-gh <>
2023-10-24 23:43:50 +02:00
maTh
41d7005c0e Improved: Theme nord more improvement (#5719)
* new article banner

* optimize side nav bar: close button, width, background

* fix dropdown menu little arrows

* active buttons dropdown menu

---------

Co-authored-by: math-gh <>
2023-10-23 22:35:40 +02:00
Alexandre Alapetite
430d467b5a Try Catch for window.Notification (#5690)
fix https://github.com/FreshRSS/FreshRSS/issues/5687
Exceptions might be thrown in some cases
https://developer.mozilla.org/docs/Web/API/Notification/Notification
2023-10-22 19:02:39 +02:00
maTh
3116fbdbc0 improved: Nord theme (#5689)
* fix border at the end of stream

* bigMarkAsRead button

* .nav_menu .btn

* transition faster

* improve the unread counter

* config menu headlines

* btn-attention

* dropdown menu

* fix pipeline

* improve variables

* slider border

* border inputs

* navigation hover

* fix pipeline

* .btn border + hover

* subsc. mgm. border

* menue more padding for the headline

* dropdown + vars

* scrollbar

* sticky buttons

* article + reader view

* fix pipeline

* fix dropdown-menu dropdown-header in header/footer of article

* fix display config page

* improve .box user queries

* improve .box user queries

* select

* fix .stick .btn

* kdb border

* hover icons

* vars optimized

* icons updated

* improve .stick

* notifications

* alerts improved

* fix pipeline

* theme-preview arrows

* improve alerts colors

* main feed navigation

* .content

* pagination

---------

Co-authored-by: math-gh <>
2023-10-20 12:36:46 +02:00
maTh
6f228453e4 margins in feed navigation bar (#5695)
Co-authored-by: math-gh <>
2023-10-09 20:26:16 +02:00