Commit Graph

5252 Commits

Author SHA1 Message Date
maTh
5e3f2a4ad5 Fix: swage extension config button (#4551)
* add configure class to the slide-opener link

* better cog color

* cog color of extension configure
2022-08-29 08:38:19 +02:00
Aidi Tan
ef84343576 Fix #4231 (#4541)
Actually, there are two issues to be fixed:
1. Since `div.flux_content` has been changed to `article.flux_content`
   in HTML, we should address that in JS too. Or, to take one step
   further, select it using `.flux_content` directly.
2. For the article already at the first position, its `prev_article`
   would select `#new-article` whose css attribute `display` is `none`
   in most cases, which breaks the new position calculation.
2022-08-27 11:11:41 +02:00
Alexandre Alapetite
03f5a42640 Fix MariaDB case sensitivity (#4537)
* Fix MariaDB case sensitivity
#fix https://github.com/FreshRSS/FreshRSS/issues/4535
Collation regression from https://github.com/FreshRSS/FreshRSS/pull/4505

* faster

* Minor syntax

* Minor parentheses
2022-08-25 23:16:24 +02:00
maTh
2b1aa7eede Fix: Ansum theme cleaning (#4538)
* icons

* login screen

* fix login screen input in .stick

* <legend> in the same height like input

* simplefy the search bar button

* header height improved

* improve the config menu button

* navigation bar: border radius

* navigation bar: btn hover improved to darker grey, when not within .stick

* delete unused code ul.nav

* delete outcommented code + translate EN-> FR

* fix syntax

* fixed and RTL

* RTL
2022-08-25 22:05:54 +02:00
Bartosz Taudul
d815dd8dbe Update PL translation. (#4536) 2022-08-25 19:35:34 +02:00
maTh
7ff6344854 fix (#4533) 2022-08-24 23:28:48 +02:00
maTh
34b07a729d add archive.ph (#4530) 2022-08-23 21:38:13 +02:00
maTh
e866fead6c fix: Theme Swage - Text overflow in dropdown menu (#4531)
* fix

* fix
2022-08-23 21:36:06 +02:00
Frans de Jonge
3fe36e7c8c Update Dutch translation (#4529) 2022-08-23 08:42:43 +02:00
Alexandre Alapetite
ef40e0659b More changelog 2022-08-22 23:53:29 +02:00
Matt Sephton
23bf530639 lire app (#4523)
* Update README.md

Add lire, sort alphabetically

* Mix conflict

* English

* GReader

* Duplicate line Reeder

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2022-08-22 23:18:50 +02:00
Tibor Repček
1b813cfbe3 Slovak translation (#4524)
* Slovak translation

* Fix IGNORE

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2022-08-22 23:18:24 +02:00
maTh
bba3306500 i18n German (#4525) 2022-08-22 23:17:54 +02:00
Tibor Repček
51bd9be82f Slovak translation (#4520)
* Slovak translationi

* articles_header_footer

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2022-08-22 16:02:16 +02:00
Alexandre Alapetite
866ee41d2f i18n en-US (#4519) 2022-08-22 12:12:59 +02:00
Alexandre Alapetite
20338b1f2e Update credits 2022-08-21 23:20:43 +02:00
Alexandre Alapetite
1f6eed14da Delayed changelog (#4457)
* Delayed changelog
More coming later

* Some more

* Up-to-date

* A bit more
2022-08-21 22:50:05 +02:00
maTh
4214954ea1 Improved: error page (#4465)
* error page: true HTML page

* error page: http500 erorr

* error page: add CSP header

* 'log.txt' replaced by LOG_FILENAME

* use ADMIN_LOG

* log.txt => LOG_FILENAME

* error message: add <title>

* Docs created

* delete: documentation on error message page

* line break added

* added: new line at the end

* typo fixed

* Update lib/lib_rss.php

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

* Update lib/lib_rss.php

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

* Minz HTTP 500

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2022-08-21 22:44:03 +02:00
Luc SANCHEZ
85991d1c5c Use keyword "static" (#4436)
static closure
2022-08-21 22:41:31 +02:00
Alexandre Alapetite
0ec3874620 Fix PHP 7.0 warning (#4514)
Regression from https://github.com/FreshRSS/FreshRSS/pull/4202
> Warning: Declaration of FreshRSS_EntryDAOSQLite::markRead($ids, $is_read = true) should be compatible with FreshRSS_EntryDAO::markRead($ids, bool $is_read = true) in /var/www/FreshRSS/app/Models/EntryDAOSQLite.php on line 3
2022-08-20 19:44:25 +02:00
Roman D
0ec65788f9 Implemented advanced feed settings to allow cookies and HTTP redirects. (#4470)
* Implemented advanced feed settings to allow cookies and HTTP redirects.

* i18n fr

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2022-08-20 12:06:24 +02:00
maTh
8f475523f5 fixed (#4512) 2022-08-19 11:09:32 +02:00
Aidi Tan
a3a0b2f97a Update i18n/zh-cn (#4509)
* Update i18n/zh-cn

* Update i18n/zh-cn

* Update CREDITS.md

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2022-08-18 15:08:22 +02:00
Alexandre Alapetite
1603c10bba XPath ability to define the UID manually (#4507)
* XPath ability to define the UID manually

* Fix error in i18n
2022-08-18 12:10:55 +02:00
Alexandre Alapetite
4f111c5b30 Easier full-text search possibility (#4505)
* Easier full-text search possibility
Contributes to https://github.com/FreshRSS/FreshRSS/issues/1331
Avoid concats in searches to make text indexes easier to build

* Fix tests

* Documentation
2022-08-18 12:06:31 +02:00
Alexandre Alapetite
2acf3a4dd8 CssXPath-StarSelector (#4506)
* CssXPath-StarSelector
Add support for selectors such as `a[href*="example"]`
https://developer.mozilla.org/docs/Web/CSS/Attribute_selectors
Translated to `.//a[contains(@href,"example")]`

Upstream PR: https://github.com/PhpGt/CssXPath/pull/181

* Upstream merged
2022-08-18 11:14:40 +02:00
maTh
ea0d924985 Swage theme cleanup (#4493)
* some general.prompt styles now in template.css

* login button

* same layout for login and register form

* improve input and select

* legend with dark background instead grey

* fix config icon z-index

* remove unused code

* improve .prompt

* set header also on login and register page

* fix: show passwort button

* improve login button on login and register screen

* dropdown menu: smaller line height

* improve layout sidebar closer

* remove double code

* swage.css

* fix nits

* fix nits

* nits nits nits

* nits are all around us....

* better position of config button

* show header in mobile view + beauty the login button

* CSS files

* style the about FreshRSS link

* delete unused import.svg

* fix config sidebar padding

* fix position of user query button in mobile view

* improve config button in user query dropdown

* fix global view overlay

* fix close button aside bar in reader view

* generated CSS files

* Update swage.scss

* fix nav_menu icon color of unread and favorite

* improve search bar positioning in mobile view

* read-all dropdown menu opens to left side in mobile view

* restyle the new-article banner

* improve big read button

* make the header fixed while scrolling

* fix search input while scrolling

* improve config icons layout in .box

* fix scrollbar:hover in template.css

* improve article footer dropdowns

* swage.css

* Update main.js

* Update main.js

* fix (S)CSS

* config navigation improved

* left feed navigation: hover color added

* CSS files

* Update swage.scss

* New Article banner improved margin

* textarea: removed grey background

* remove unnecessary line

* Revert new-article banner layout

* Remove :hover in slider

* fix select height in sharing config

* Fix scrollbar for slider with white background

* fix: slider close button with theme color

* fixed scrollbar CSS
2022-08-18 11:13:56 +02:00
Alexandre Alapetite
e27eb1ca91 Basic support for negative searches with parentheses (#4503)
* Basic support for negative searches with parentheses
* `!((author:Alice intitle:hello) OR (author:Bob intitle:world))`
* `(author:Alice intitle:hello) !(author:Bob intitle:world)`
* `!(S:1 OR S:2)`

* Minor documentation / comment

* Remove syslog debug line
2022-08-16 10:56:07 +02:00
papaschloss
8587efa621 Article css filtering (#4501)
* Update feedController.php

* Update subscriptionController.php

* Update DatabaseDAO.php

* Update Entry.php

* Update Feed.php

* Update FeedDAO.php

* Update install.sql.mysql.php

* Update install.sql.pgsql.php

* Update install.sql.sqlite.php

* Update sub.php

* Update opml.phtml

* Update ImportService.php

* Update update.phtml

* Update feed.js

* Update install.sql.mysql.php

* Update install.sql.pgsql.php

* Update install.sql.sqlite.php

* Update sub.php

* Update sub.php

* Update sub.php

* Update sub.php

* Update sub.php

* Update sub.php

* Update sub.php

* Update sub.php

* Update sub.php

* Update sub.php

* Update sub.php

* Update sub.php

* Update sub.php

* Update sub.php

* Update sub.php

* Update sub.php

* Update sub.php

* Update FeedDAO.php

* Update feedController.php

* Update subscriptionController.php

* Update Entry.php

* Update Feed.php

* Update feedController.php

* Update subscriptionController.php

* Update ImportService.php

* Update opml.phtml

* Update update.phtml

* Update update.phtml

* Update update.phtml

* Update DatabaseDAO.php

* Update app/Models/Entry.php

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

* Update app/i18n/fr/sub.php

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

* Update p/scripts/feed.js

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

* Update app/Controllers/feedController.php

* make fix-all

* Update documentation

* css_path_filter help message

* i18n en-us ignore

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2022-08-15 21:01:18 +02:00
Alexandre Alapetite
839fddaba9 Fix very long tree-folder-items (#4502)
#fix https://github.com/FreshRSS/FreshRSS/issues/4217
2022-08-15 20:10:08 +02:00
maTh
36a615beeb Set standard CSS for login register form (#4504)
* set default to template.css

* adark theme

* ansum theme

* template.css

* adark theme

* BlueLagoon theme

* dark theme

* flat theme

* mapco theme

* Nord theme

* Origine prompt

* Origine Compact theme

* Pafat theme

* Screwdriver theme

* swage theme

* Update template.rtl.css
2022-08-15 20:09:10 +02:00
Alexandre Alapetite
96e0efa6f0 Get content by parsing: fix base for protocol-relative URLs (#4500)
* Get content by parsing: fix base for protocol-relative URLs

* Guess missing URL scheme for base

* Light refactoring
2022-08-12 13:06:04 +02:00
maTh
aaf15fba7d Update aside_feed.phtml (#4498) 2022-08-11 00:10:41 +02:00
Alexandre Alapetite
09aeeeb325 Refactor updateContext into its own FreshRSS_Context class (#4496)
So that it is both cleaner and easier to call from other controllers and extensions
2022-08-10 09:37:11 +02:00
Alexandre Alapetite
e86c10e2f5 Composer require php extensions (#4497)
#fix https://github.com/FreshRSS/FreshRSS/discussions/4494
2022-08-10 09:36:54 +02:00
Alexandre Alapetite
82ac1d1e67 Refactor entry-to-GReader API format (#4490)
* Refactor entry to GReader API format
Some code was copied in two locations and not completely uniform.
Cleaning of related variables and functions (e.g. better types for entries and categories as objects vs. as IDs).
Usecase: I need to call the same GReader-compatible serialization from an extension

* Fixed some edge cases

* Keep summary instead of content
`summary` and `content` seems to be used interchangeably in the Google Reader API. We have been using `summary` for our client API and  `content` in our export/import, so stick to that.
2022-08-08 12:04:02 +02:00
Alexandre Alapetite
240afa7d4d CLI add missing extension hook freshrss_user_maintenance (#4495) 2022-08-08 11:39:21 +02:00
maTh
0cb9f59622 Fix: Mapco theme cleaning (#4491)
* translated the comments FR -> EN

* delete useless extra styles for login header (template.css)

* <select> in the same height like <input>

* simplefy the search bar button

* improve the config menu button

* improve the layout of the login/register prompt

* navigation bar: border radius

* navigation bar: btn hover improved to darker grey, when not within .stick

* header height improved

* delete unused code ul.nav

* delete outcommented code

* translate comments FR -> EN

* improve login form layout

* icons: do not use it as background-image

* mapco.css

* fixes the nuts

* more nuts

* improve mobile login form

* delete unused view-normal.svg

* compress the svg icons
2022-08-06 22:40:43 +02:00
maTh
a111f50c69 fix (#4492) 2022-08-06 22:35:27 +02:00
harshad389
9ef849eb27 @tempnam in ExportService.php #4304 (#4489)
* @tempnam in ExportService.php #4304

* Update CREDITS.md

Change Name in alphabetic order

Co-authored-by: Harshad <harshad@topsoinfosolutions.com>
2022-08-05 15:11:58 +02:00
Alexandre Alapetite
3b6ff67515 Add link to CHATONS list of FreshRSS instances (#4483) 2022-08-05 15:11:01 +02:00
Alexandre Alapetite
6af7854de3 CLI allow empty DB prefix (#4488)
Allow an empty `--db-prefix` parameter (i.e. optional) in CLI to have no DB prefix
2022-08-05 15:10:41 +02:00
Alexandre Alapetite
8bb11bd4f8 Fix URLs in slider (#4479)
#fix https://github.com/FreshRSS/FreshRSS/issues/4473
Due to https://github.com/FreshRSS/FreshRSS/pull/4416
2022-08-02 09:15:02 +02:00
maTh
c5ff838730 Update main.js (#4471) 2022-07-31 13:26:03 +02:00
maTh
11d1f653d2 themes improvements (#4472) 2022-07-31 13:21:47 +02:00
maTh
5177a17c9f sidebar and subscription management (#4474) 2022-07-31 13:20:48 +02:00
Alexandre Alapetite
18b8e91e3f Fix rare read call bug (#4456)
https://github.com/FreshRSS/FreshRSS/pull/4052#issuecomment-992341442
Bug from https://github.com/FreshRSS/FreshRSS/pull/1995
2022-07-28 14:24:20 +02:00
maTh
71ff543783 delete the link style given by default (#4459) 2022-07-27 18:53:49 +02:00
maTh
a534fc79c4 Fix: logs page=0 error (#4460)
* add docs of function param()

* page < 0 is impossible now

* show prev/next only, when there is a prev/next page

* set always page params

* Revert "page < 0 is impossible now"

This reverts commit fdb920ee50.

* Update logs_pagination.phtml
2022-07-27 18:52:30 +02:00
maTh
c596099890 Fix the subscription tool form (#4466) 2022-07-27 18:27:11 +02:00