Commit Graph

7003 Commits

Author SHA1 Message Date
Alexandre Alapetite
f5bf654b1e Resume 1.21.0-dev 2022-12-09 23:10:15 +01:00
Alexandre Alapetite
27b71ffa99 Revert PHP version 1.20.2 2022-12-08 11:36:40 +01:00
Alexandre Alapetite
c82bd3b173 cherry-pick security 2022-12-08 11:34:46 +01:00
Alexandre Alapetite
62afc060a8 Security fix in ext.php (#4928)
Details later.
Due to https://github.com/FreshRSS/FreshRSS/pull/3433 (1.18.0)
2022-12-08 11:33:08 +01:00
Alexandre Alapetite
b835c426d4 Apache TraceEnable Off (#4863)
I have just received an e-mail with a security concern.
Although most likely an obsolete concern (old browsers with Java applets), and the Apache team saying that there is no problem, let's disable the TRACE method by default in our Docker images until we hear anybody actually wanting this feature.
https://httpd.apache.org/docs/current/mod/core.html#traceenable
https://owasp.org/www-community/attacks/Cross_Site_Tracing
2022-12-08 11:32:52 +01:00
Alexandre Alapetite
45fb0d6803 Security release FreshRSS 1.20.2 2022-12-08 10:51:08 +01:00
Alexandre Alapetite
ed578f224c Security fix in ext.php (#4928)
Details later.
Due to https://github.com/FreshRSS/FreshRSS/pull/3433 (1.18.0)
2022-12-08 10:25:57 +01:00
maTh
a501cc88e7 fix: Text overflow in article summary (#4923) 2022-12-07 14:46:53 +01:00
maTh
60ffdb0580 Fix: Swage theme (#4922)
* fix link color

* fix nav menu alignment
2022-12-07 14:42:58 +01:00
Alexandre Alapetite
543fa4e76c Docker uniform timezone behaviour (#4905)
* Docker Alpine timezone for :newest and :oldest
Follow-up of https://github.com/FreshRSS/FreshRSS/pull/4903
Forgot the development images Newest and Oldest

* Uniform timezone behaviour

* shellcheck

* A bit more documentation
2022-11-30 20:45:40 +01:00
maTh
f41a574a9f article header: alignment of favicon/tags (#4910) 2022-11-30 20:45:11 +01:00
maTh
be17cc6144 Improved: Pafat theme with vars (#4909)
* font color grey and white

* background-color wip

* font-color

* border-color

* active category marker

* several fixes

* fix header and flux left border

* RTL CSS

* fix .flux.current

* fix reader view

* fix link:hover color

* RTL CSS
2022-11-30 20:43:33 +01:00
Alexandre Alapetite
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
Alexandre Alapetite
60d626030d Docker Alpine time zone (#4903)
Allow setting the timezone with a `TZ` environment variable in our Alpine-based Docker images just like for our Debian-based Doker images.
See https://github.com/FreshRSS/FreshRSS/discussions/4898#discussioncomment-4245991
2022-11-28 18:02:33 +01:00
maTh
b71806268c delete .nav-list .empty/.error (#4899) 2022-11-27 11:25:38 +01:00
maTh
c05e931d5e Deleted: bookmark.svg (#4897)
* delete bookmark.svg

* optimize Pafat theme
2022-11-26 11:31:30 +01:00
Hippolyte Thomas
999e88c662 fix: Broken link in CONTRIBUTING.md (#4896) 2022-11-25 21:59:26 +01:00
Alexandre Alapetite
50f293c346 Update mime type font/woff (#4894)
* Update mime type font/woff
https://www.rfc-editor.org/rfc/rfc8081
`application/font-woff*` is deprecated for `font/woff*`

* Order
2022-11-24 13:58:54 +01:00
maTh
48c8ee574d fix: Current Flux in Origine theme (#4893) 2022-11-23 23:06:32 +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
Alexandre Alapetite
be79c5a8e7 Docker Alpine 3.17 (#4886)
* Docker Alpine 3.17
Update alternative Docker image to Alpine 3.17 with PHP 8.1.12 (and still Apache 2.4.54)
https://alpinelinux.org/posts/Alpine-3.17.0-released.html

* Fix developer access rights
Put developer in www-data group
2022-11-23 22:40:41 +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
maTh
c9f5012f10 Fix: nord theme mobile (#4892)
* fix

* fixed: background color of theme slider properties

* fixed: padding in mobile view + merge mobile view code

* fix favicon position in mobile view
2022-11-23 22:35:20 +01:00
maTh
4869ae0fec fix: line-height of label list (#4890) 2022-11-23 22:29:27 +01:00
maTh
1184c20467 fixed: background hover colour (#4889) 2022-11-23 22:22:01 +01:00
maTh
18a4ade32f Improved: Minz Framework. Byebye Internet Explorer and its Conditional comments (#4651)
* Update View.php

* Update lib/Minz/View.php

* Update lib/Minz/View.php

* Update lib/Minz/View.php

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

* Update lib/Minz/View.php

* Update lib/Minz/View.php

* Update lib/Minz/View.php

* Update lib/Minz/View.php

* Update lib/Minz/View.php

* Update lib/Minz/View.php

* Update lib/Minz/View.php

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
2022-11-22 08:18:52 +01:00
Nicolas Frandeboeuf
88ef6174c0 Fix regression on header size due to padding (#4865)
* Fix regression on header size due to padding (causing window vertical scrollbar)

* fix

* fix

* one more fix/improvement

Co-authored-by: mathContao <math-home@web.de>
2022-11-22 08:16:57 +01:00
Miika Launiainen
10c5a9326e Dark pink: Fixes for the theme (#4881)
* Added custom color for the background-color-hover

* Updated thumbnail
2022-11-22 08:15:50 +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
maTh
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
Alexandre Alapetite
be57be5ab2 Add Codespaces badge (#4867)
Follow-up of https://github.com/FreshRSS/FreshRSS/pull/4860 , https://github.com/FreshRSS/FreshRSS/pull/4859
Discussion https://github.com/FreshRSS/FreshRSS/discussions/4861

With slight rework of some elements of the readme around
2022-11-20 14:47:27 +01:00
maTh
278e07f7bd fix: over flowing table that destroy the layout (#4872) 2022-11-20 14:46:39 +01:00
maTh
e7aa062858 Improved: Origine Compact theme (#4873) 2022-11-20 14:41:31 +01:00
maTh
52d26d6da1 fix: Swage theme (#4875) 2022-11-20 14:40:05 +01:00
maTh
47883d3086 fix: Article hover that changes the background (#4874) 2022-11-20 14:35:02 +01:00
maTh
0ad8e6b418 fix: Reader view on mobile screen (#4868) 2022-11-17 19:45:57 +01:00
Alexandre Alapetite
e1b2f6ae13 Apache TraceEnable Off (#4863)
I have just received an e-mail with a security concern.
Although most likely an obsolete concern (old browsers with Java applets), and the Apache team saying that there is no problem, let's disable the TRACE method by default in our Docker images until we hear anybody actually wanting this feature.
https://httpd.apache.org/docs/current/mod/core.html#traceenable
https://owasp.org/www-community/attacks/Cross_Site_Tracing
2022-11-16 23:27:45 +01:00
Alexandre Alapetite
3bcceb1338 Fix Development Containers / GitHub Codespaces (#4860) 2022-11-16 16:26:06 +01:00
Alexandre Alapetite
c5b741d98f Experiment Development Containers / GitHub Codespaces (#4859)
* Experiment Development Containers / GitHub Codespaces
https://containers.dev/
https://github.com/features/codespaces

* Fix tests
2022-11-16 13:23:51 +01:00
Axel Leroy
a0e3fac47e Use the correct font file for Lato in bold (#4850)
Co-authored-by: Axel Leroy <axeleroy@noreply.github.com>
Co-authored-by: maTh <math-home@web.de>
2022-11-15 18:52:20 +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
maTh
07c94061a9 Improved: Centralized CSS for notifications (#4800)
* wip. all themes

* fixes
2022-11-14 20:22:01 +01:00
Alexandre Alapetite
937ef98e4e Hotfix i18n
https://github.com/FreshRSS/FreshRSS/pull/4680
2022-11-14 15:26:00 +01:00
Luc 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 SANCHEZ
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
570503b7f1 Require PHP 7.2+ (#4848)
Drop PHP 7.0- as planned https://github.com/FreshRSS/FreshRSS/discussions/3321#discussioncomment-835704
2022-11-14 15:02:44 +01:00
maTh
acf459429b implement CSS variable --frss-padding-top-bottom (#4794) 2022-11-14 15:00:56 +01:00