Commit Graph
2646 Commits
Author SHA1 Message Date
Alexandre Alapetite 8f9c4143fc Better enclosures (#4944)
* Better enclosures
#fix https://github.com/FreshRSS/FreshRSS/issues/4702
Improvement of https://github.com/FreshRSS/FreshRSS/pull/2898

* A few fixes

* Better enclosure titles

* Improve thumbnails

* Implement thumbnail for HTML+XPath

* Avoid duplicate enclosures
#fix https://github.com/FreshRSS/FreshRSS/issues/1668

* Fix regex

* Add basic support for media:credit
And use <figure> for enclosures

* Fix link encoding + simplify code

* Fix some SimplePie bugs
Encoding errors in enclosure links

* Remove debugging syslog

* Remove debugging syslog

* SimplePie fix multiple RSS2 enclosures
#fix https://github.com/FreshRSS/FreshRSS/issues/4974

* Improve thumbnails

* Performance with yield
Avoid generating all enclosures if not used

* API keep providing enclosures inside content
Clients are typically not showing the enclosures to the users (tested with News+, FeedMe, Readrops, Fluent Reader Lite)

* Lint

* Fix API output enclosure

* Fix API content strcut

* API tolerate enclosures without a type
2023-01-06 19:53:43 +01:00
maTh 92d1b0cda7 Keep view for search landing page (#4981) 2023-01-02 21:54:00 +01:00
Sadetdin EYILI 914bc62aef fix: favicon after editing feed url (#4975)
refactor: replace `$cat` variable by the `$values['category']` values
2022-12-31 15:57:37 +01:00
Alexandre AlapetiteandFrans de Jonge 6261dc9cf4 User-defined time zone (#4906)
* User-defined time zone
#fix https://github.com/FreshRSS/FreshRSS/issues/2754

* Update app/i18n/nl/conf.php

Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>

* Timezone when creating a new user

Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
2022-11-29 15:27:32 +01:00
maTh c05e931d5e Deleted: bookmark.svg (#4897)
* delete bookmark.svg

* optimize Pafat theme
2022-11-26 11:31:30 +01:00
Alexandre Alapetite aa07582419 Better restrict tag search (#4882)
* Better restrict tag search
#fix https://github.com/FreshRSS/FreshRSS/issues/4877
Search only on full tag names and not on parts of tag names

* Better whitespace handling
2022-11-23 22:41:00 +01:00
maTh ef5483490c Improved: config dropdown structure (#4891)
* phtml and frss.css

* theme Origine

* theme adark

* theme Ansum

* theme Mapco

* theme BlueLagoon

* theme dark

* theme flat

* theme nord

* theme Screwdriver

* theme swage

* fix

* fix

* RTL

* fix nord theme

* fix SourceMap lines
2022-11-23 22:40:23 +01:00
Alexandre Alapetite 4bf678f8e4 HTML+XPath allow content as HTML (#4878)
* HTML+XPath allow content as HTML
#fix https://github.com/FreshRSS/FreshRSS/issues/4869

* Wrong variable reuse

* Allow both HTML and expressions
2022-11-22 08:15:22 +01:00
maThandAlexandre Alapetite 9b674e7e93 Improved: show bigmarkasread button only, when there are unread articles (#4681)
* function toggle_bigMarkAsRead_button()

* nothing_to_load text outside of bigmarkasread button

* improved

* fix

* Update p/scripts/main.js

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

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2022-11-20 15:10:33 +01:00
Alexis Degrugillier 02b906549e Fix feed ordering (#4841)
Before, the feeds were not ordered every time there was a change in the category
feed list. This behavior was causing discrepancies in the displayed list.
Now, the feeds are ordered every time there is a change in the category feed list.

See #4790
2022-11-20 14:50:27 +01:00
Myuki 77c214c83c [i18n] Improve translation: zh-cn (#4856) 2022-11-20 14:48:27 +01:00
Zhiyuan Zheng ce5531b39a Add Chinese for custom date/time format (#4853)
* Translate item_timeFormat in Chinese

* Update sub.php

* Update sub.php
2022-11-15 16:06:00 +01:00
Alexandre Alapetite 42eeb402ad Fix type hints regressions (#4855)
Fix regressions from https://github.com/FreshRSS/FreshRSS/pull/4561

Example:

```
PHP Fatal error:  Uncaught TypeError: Argument 1 passed to checkToken() must be an instance of FreshRSS_UserConfiguration, instance of Minz_Configuration given, called in /var/www/FreshRSS/p/api/greader.php on line 1091 and defined in /var/www/FreshRSS/p/api/greader.php:223
Stack trace:
#0 /var/www/FreshRSS/p/api/greader.php(1091): checkToken()
#1 {main}
  thrown in /var/www/FreshRSS/p/api/greader.php on line 223
```

Improvement of https://github.com/FreshRSS/FreshRSS/pull/4110
2022-11-15 15:42:26 +01:00
Alexandre Alapetite 937ef98e4e Hotfix i18n
https://github.com/FreshRSS/FreshRSS/pull/4680
2022-11-14 15:26:00 +01:00
Luc SANCHEZandLuc SANCHEZ d9e1c1c2c3 Typing function checkToken (#4561)
* Typing function checkToken

* Typing function and rename

Co-authored-by: Luc SANCHEZ <luc.sanchez@zol.fr>
2022-11-14 15:07:23 +01:00
Luc SANCHEZandAlexandre Alapetite a44e2a0d0c Add visibility (#4232)
* Add visibility

* Tab use

* Update app/Models/Days.php

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2022-11-14 15:04:16 +01:00
Alexandre Alapetite 8864d514c8 NFS-friendly is_writable() checks (#4780)
#fix https://github.com/FreshRSS/FreshRSS/issues/4779
2022-11-14 14:57:45 +01:00
maThandAlexandre Alapetite 1f86aae415 fix: sharing service for mailto links for web mail services (#4680)
* fix

* Update main.js

* Update app/i18n/fr/gen.php

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2022-11-14 14:54:57 +01:00
maTh ea808bb7c7 fix: i18n string error (#4844) 2022-11-14 13:12:00 +01:00
maTh 5daacd483b Update update.phtml (#4830) 2022-11-07 21:39:35 +01:00
Alexandre Alapetite 2c0f3fad2d Avoid exception in searchById (#4822)
https://github.com/FreshRSS/FreshRSS/issues/4820
Not a root-cause fix though (cannot reproduce so far)
2022-11-07 08:35:33 +01:00
Alexandre Alapetite 5897487f2f Fix path_entries encoding (#4823)
* Fix path_entries encoding
#fix https://github.com/FreshRSS/FreshRSS/issues/4815

* Fix preview
2022-11-07 08:34:12 +01:00
maTh ca6c9345b2 fix: dyn. OPML icon (#4810)
* fix
2022-11-03 22:36:13 +01:00
Pyrox f16341aa26 Translated custom date/time labels in sub.php (#4803) 2022-11-01 16:10:27 +01:00
maTh 270828aa64 fixes jumping lines (#4782)
* fixes

* fix template

* fix frss.css

* fix Nord theme
2022-10-29 12:23:05 +02:00
Alexis Degrugillier 4ec602e8e3 Add default redirect when authenticating (#4778) 2022-10-26 13:53:21 +02:00
Alexis Degrugillier 9e27ab9200 Fix integration page (#4774)
Before, when adding a simple integration, the delete button was missing until
the configuration was saved. This behavior was introduced in #4269, but I think
that it was a regression.
Now, the delete button is back and everything is working as it should.

In the process, I've extracted templates in attributes and add them in template
tags. This way, it is easier to validate that the HTML code is valid.
2022-10-26 00:18:43 +02:00
maTh c5539009c9 fix (#4775) 2022-10-26 00:03:10 +02:00
45f6d84b69 Fixed: "tag" -> "label" (#4770)
* tag -> label (all english texts)

* tag -> label (German)

* marked as DIRTY

* Update app/i18n/nl/feedback.php

Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>

* Update app/i18n/nl/conf.php

Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
2022-10-25 00:23:01 +02:00
acbgbcaandmaTh edbf0fe7db Added bottom nav padding for iOS #4740 (#4741)
* Added bottom nav padding for iOS #4740

* Updated RTL css #4740

Co-authored-by: maTh <math-home@web.de>
2022-10-24 13:19:26 +02:00
Alwaysin cb1c2da8e6 Correct manage link on stats page (#4768)
Wasn't working before
2022-10-24 01:26:19 +02:00
maTh c191e0315e Fix 4712 (#4750)
* fix

* fix

* fix nord theme (a bit)

* fix
2022-10-23 20:56:25 +02:00
Alexandre Alapetite e96b6266b5 Fix curlopt options for HTML+XPath (#4759)
Improvement of https://github.com/FreshRSS/FreshRSS/pull/4220
2022-10-21 15:11:52 +02:00
Alexandre Alapetite 4d2175888b Fix i18n el: Ελληνικά (#4754) 2022-10-19 18:13:54 -04:00
Edgardo Ramírez 13e402cfda UPDATE: Spanish translations 🇪🇸🇲🇽 [i18n] (#4725)
* UPDATE: Spanish translations [i18n] #4656

* ADD: Spanish translations for conf, get and sub files.

* FIX: Typo in comment
2022-10-14 16:08:21 +02:00
Alexandre Alapetite 894bd928d9 make fix-all 2022-10-13 18:39:30 +02:00
acbgbca eb773c5f65 Added Linkding as a sharing method #4720 (#4721)
* Added Linkding as a sharing method #4720

* Fixed typo in docs #4720
2022-10-13 15:51:43 +02:00
Amrul IzwanandAlexandre Alapetite ca1764f492 Add id-🇮🇩 Translation (#4706)
* Add id-🇮🇩 Translation

* Update id Translation for admin.php

* make fix-all

* Bahasa Indonesia

* Fix typos config

* Update user.php

* make fix-all

* Typographic quotes

* make fix-all

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2022-10-13 15:50:26 +02:00
Konstantinos MegasandAlexandre Alapetite 859aa84c2d adds greek translation (#4718)
* adds greek translation

* update translation

* make fix-all

* Typographic quotes merge

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2022-10-13 10:30:42 +02:00
Gulnur BaimukhambetovaandAlexandre Alapetite a62fa0e208 Translate to Russian completed (#4719)
* Translate to Russian completed

* make fix-all

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2022-10-13 09:12:13 +02:00
Alexandre AlapetiteandFrans de Jonge 8333dd972b i18n typographic quotes (#4714)
* i18n typographic quotes

* Missing whitespace

* Update app/i18n/nl/conf.php

Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>

* Fix German-style typographic quotes

* Fix missing closing ”

* Fix Dutch quotes

* French typography

* <em>lazy load</em>

Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
2022-10-13 08:56:22 +02:00
Cilga Iscan TercanliandAlexandre Alapetite 4f830e0d71 Complete Turkish translation (#4715)
* Complete Turkish translation

* make fix-all

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2022-10-12 08:21:09 +02:00
Alexandre Alapetite 4881e126ee Fix encoding CSS filter (#4707)
#fix https://github.com/FreshRSS/FreshRSS/issues/4705
2022-10-11 00:47:31 +02:00
Alexandre Alapetite 648a876d77 Add support for custom XPath date/time format (#4703)
* Add support for custom XPath date/time format
#fix https://github.com/FreshRSS/FreshRSS/issues/4701
Improvement of https://github.com/FreshRSS/FreshRSS/pull/4220

* Format is not XPath

* Remove TODOs in en-GB
2022-10-09 15:43:30 +02:00
Alexandre Alapetite 72265c1eca Fix OPML import special (#4708)
#fix https://github.com/FreshRSS/FreshRSS/issues/4704
From https://github.com/FreshRSS/FreshRSS/pull/4407
2022-10-09 13:37:29 +02:00
Alexandre Alapetite e626fd249e Fix regression 4688 (#4700)
Minor regression from https://github.com/FreshRSS/FreshRSS/pull/4688
2022-10-07 12:59:31 +02:00
PyroxandAlexandre Alapetite 1e6bc7c21c Implemented italian translation (#4694)
* Translated admin.php

* Translated conf.php

* Translated feedback.php

* Translated gen.php

* Translated index.php

* Translated install.php

* Translated sub.php

* Translated user.php

* make fix-all

* fixed apostrophe

* fixed missing TODOs in sub.php

* A few more details

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2022-10-07 10:57:12 +02:00
MayandmathContao 2dbd11bd2a Updated Czech (CZ) 🇨🇿 [i18n] Translation (#4670)
* Update admin.php

Update missing translation on missing Czech strings

* Update conf.php

Updated missing Czech translation
Fixed typo on one row

* Update gen.php

Added missing Czech strings

* Update sub.php

Added missing Czech strings

* Update sub.php

* Update conf.php

Fix missing Czech translations

* Update admin.php

Decided to not use abbreviation

* Update sub.php

Update more missing czech translations

* Update CREDITS.md

Adding myself to Credits list

* Update sub.php

Fix translation

* Update sub.php

Updated Czech translate

Co-authored-by: mathContao <math-home@web.de>
2022-10-06 21:57:47 +02:00
89202922b1 Slider: Block Page for one scrollbar; Scrollbar width normal (#4692)
* Block page if slider is open; Hides the double page scrollbar

* Slider scrollbar default width

* Update frss.rtl.css

* Add user Cyb10101 to credits

* make fix-all

* make fix-all (second pass)

Co-authored-by: mathContao <math-home@web.de>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2022-10-05 23:40:59 +02:00
Alexandre Alapetite 82c4a54fea Compat PHP 8.1 strip_tags (#4688)
#fix https://github.com/FreshRSS/FreshRSS/issues/4687
2022-10-04 23:07:17 +02:00