Commit Graph

5026 Commits

Author SHA1 Message Date
Alexandre Alapetite
4e2dff4591 Add spell checking with typos (#4138)
* Add spell checking with typos
Implement https://github.com/FreshRSS/FreshRSS/pull/4134#issuecomment-1008027558

* GitHub Actions attempt

* Quiet wget

* Makefile
2022-01-09 18:21:40 +01:00
Alexandre Alapetite
9dbbe924c5 Remove GitHub Action latest-tag (#4135)
Did not work, maybe due to bad configuration.
I am doing it manually for now.
Another option welcome
2022-01-08 21:59:10 +01:00
Alexandre Alapetite
1acd3ab09b Use typographic quotes (#4133)
* Use typographic quotes

* A few fixes

* Fix

* Fix not saved

* Implement feedback

* Detail

* Revert spoken English fixes
Left for a future dedicated discussion

* More reverts

* Final reverts

* Final minor
2022-01-08 21:58:55 +01:00
Thomas Renes
916df412f5 Fix various typos and spelling errors in documentation, comments and code. (#4134) 2022-01-08 16:25:17 +01:00
Alexis Degrugillier
127b7f0a3a Change i18n process (#4131)
Before, the ignore info were stored in a different file which was a bit cumbersome
for new comers. Now, this info is stored directly in the translation file as a
comment.

Before, there was no way of telling translators that a previously translated string
was in need of a new translation. Now, the dirty information is there to convey that
info.
2022-01-08 14:00:26 +01:00
Luc SANCHEZ
ed19445f74 Optimise Minz_ModelPdo::class (#4119)
* - Fix typo,
- remove unnecessary null in property,
- remove unused property,
- add phpDoc,
- add ext PDO in composer.json,
- use strict comparison,
- indentation

* Translate

* Update lib/Minz/ModelPdo.php

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

* The code is more explicite

* Fix phpstan

* Fix phpstan expect one

* Fix phpstan

* Return in back...

* make fix-all

* Fix exception and more types

* Fix more types

* Remove ext- in composer.json

Co-authored-by: Luc SANCHEZ <l.sanchez-ext@ubitransport.com>
Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2022-01-07 10:05:09 +01:00
maTh
f8c5df28ab delete the no-mobile css class (#4128) 2022-01-07 00:35:58 +01:00
Alexandre Alapetite
8e398d24f1 Fix several PHP8.1 warnings (#4123)
* Fix several PHP8.1 warnings
Taking advantage of https://github.com/FreshRSS/FreshRSS/pull/4121

* Couple oh type hints missing

* Compatibility PHP 7

* Fix variadic PHPDocs syntax
2022-01-06 22:39:35 +01:00
Frans de Jonge
d339b6dd45 [CI] PHPCS: check for opening brace on same line (#4122)
* [CI] PHPCS: check for opening brace on same line

* make fix-all

* Minor comments

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2022-01-05 00:52:24 +01:00
Alexandre Alapetite
a6ea90e58b Docker :newest Alpine PHP 8.1 (#4121)
* Docker :newest Alpine PHP 8.1
Update our `:newest` development image to use PHP 8.1 in alpine:edge

* Increase memory for tests
2022-01-04 22:33:31 +01:00
Alexandre Alapetite
1335a0e3cf PHPStan level 5 (#4110)
* Fix most PHPDocs errors
Contributes to https://github.com/FreshRSS/FreshRSS/issues/4103
https://phpstan.org/writing-php-code/phpdoc-types

* Avoid func_get_args
Use variadic syntax instead https://php.net/manual/functions.arguments#functions.variable-arg-list
And avoid dynamic functions names when possible to more easily identify calls and unused functions.
Contributes to https://github.com/FreshRSS/FreshRSS/issues/4103

* PHPStan level 3

* PHPStand level 4

* Update default to PHPStan level 4

* Towards level 5

* Fix level 4 regression

* Towards level 5

* Pass PHPStan level 5

* Towards level 6

* Remove erronenous regression from changelog
https://github.com/FreshRSS/FreshRSS/pull/4116
2022-01-04 13:59:09 +01:00
Alexandre Alapetite
0988b0c2be Start 1.19.2-dev 2022-01-02 19:16:39 +01:00
Alexandre Alapetite
6fa5672800 Release 1.19.1 1.19.1 2022-01-02 18:57:48 +01:00
Alexandre Alapetite
a19b4534f9 Fix regression user init (#4116)
#fix https://github.com/FreshRSS/FreshRSS/issues/4115
2022-01-02 18:19:40 +01:00
Alexandre Alapetite
ba0e690235 SimplePie 1.5.8 manual upgrade (#4113)
Follow-up of https://github.com/FreshRSS/FreshRSS/pull/4011
Instead of https://github.com/FreshRSS/FreshRSS/pull/4102
* bea5de77af
* 5aab77e105
* 76be63e72e
2022-01-02 18:11:42 +01:00
Alexandre Alapetite
0bb3e5ef12 Changelog fix minor Docker Alpine versions 2022-01-02 15:56:06 +01:00
Alexandre Alapetite
a791388ce4 Avoid func_get_args (#4108)
Use variadic syntax instead https://php.net/manual/functions.arguments#functions.variable-arg-list
And avoid dynamic functions names when possible to more easily identify calls and unused functions.
Contributes to https://github.com/FreshRSS/FreshRSS/issues/4103
2022-01-01 13:54:36 +01:00
Alexandre Alapetite
3f6aa42b81 Fix most PHPDocs errors (#4107)
Contributes to https://github.com/FreshRSS/FreshRSS/issues/4103
https://phpstan.org/writing-php-code/phpdoc-types
2022-01-01 11:26:56 +01:00
Alexandre Alapetite
77e9877316 Add PHPStan (#4021)
* Add PHPStan
#fix https://github.com/FreshRSS/FreshRSS/issues/4016
https://phpstan.org/

```sh
composer run-script phpstan
```

* More fixes

* Fix global variables

* Add .phtml

* Fix merge
https://github.com/FreshRSS/FreshRSS/pull/4090

* Fix more warnings

* Fix view errors and enable in CI

* ReturnTypeWillChange

* Dynamic view type

* Fix Minz static/self bug
2021-12-31 17:00:51 +01:00
maTh
09c84fb3bc Improved: install.php code quality (#4099)
* delete unused $user_default_config

* move inner named function

* moved $auth_type

* improve readability

* phpcs fixes
2021-12-31 13:50:32 +01:00
maTh
0e683ee5d2 fixed themes Origine and Origine compact (#4059)
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2021-12-31 13:20:20 +01:00
maTh
a29f161e44 fixed: Left navigation with long category names (#4055)
* fixed CSS

* fixed themes Ansum and Mapco

* fixed syntax
2021-12-31 13:19:16 +01:00
maTh
5cac8cce74 Improve: Aside slider: close slider when click on the outside of slider (#4061)
* CSS + PHTML

* give some grey background

* fixed whitespace

* fixed RTL

* close area just for mobile view
2021-12-31 13:17:38 +01:00
maTh
f27b25d9a6 fix (#4065) 2021-12-31 13:16:35 +01:00
maTh
dc70b74ef4 CSS (#4067) 2021-12-31 13:15:55 +01:00
maTh
9fc98317f9 Fix: Thumbnails alt text overflow (#4085)
* CSS fix

* Fix RTL CSS

* fix CSS (order)
2021-12-31 13:15:19 +01:00
Offerel
f905ad772e Check data URI (#4098)
* Check data URI
2021-12-31 13:14:15 +01:00
Alexandre Alapetite
f13ef3b102 Fix article filter (#4092)
#fix https://github.com/FreshRSS/FreshRSS/issues/4057
Several search filters where missing for the automatic article actions
2021-12-31 13:13:03 +01:00
Alexandre Alapetite
8fc43d5a56 Fix extensions_enabled (#4090)
#fix https://github.com/FreshRSS/FreshRSS/issues/4088
2021-12-31 13:12:42 +01:00
Alexandre Alapetite
fb15a2d804 Search on article IDs (#4058)
* Search on article IDs
Partial implementation of https://github.com/FreshRSS/FreshRSS/issues/4053
2021-12-31 13:10:41 +01:00
Alexandre Alapetite
afb3035bc6 Start 1.19.1-dev 2021-12-31 13:08:49 +01:00
Alexandre Alapetite
890405b2a0 Release FreshRSS 1.19.0
https://github.com/FreshRSS/FreshRSS/issues/4093
1.19.0
2021-12-31 12:49:43 +01:00
maTh
01d8afa942 Update CREDITS.md (#4094) 2021-12-29 19:27:37 +01:00
Alexandre Alapetite
dd4a15542f Update credits 2021-12-29 14:06:10 +01:00
Alexandre Alapetite
dae64c2374 Changelog 1.19.0 2021-12-29 13:18:57 +01:00
Alexandre Alapetite
2c6df28896 Partial changelog 2021-12-28 17:00:44 +01:00
maTh
25954de759 Fix: loading wheel (#4082)
* fix anoym. user

* fix global view

* Update app/views/helpers/pagination.phtml

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

* Update global_view.js

Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
2021-12-28 11:52:03 +01:00
Virgil Chen
9e901d0eed fix: incorrect translations (#4084) 2021-12-27 12:24:58 +01:00
maTh
078dc65cbc Improved manual: User Management/User registration (#4083)
* Draft 1 of Default User page

* Draft1 of User Management page

* Update 01_Index.md

* Update 12_User_management.md

* fix failing pipeline

* Apply suggestions from code review

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

Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
2021-12-26 12:47:17 +01:00
Alexandre Alapetite
20c8382c25 Fix invalid user (#4081)
#fix https://github.com/FreshRSS/FreshRSS/issues/4080
Initialise the default user to be able to display the error page
2021-12-24 18:44:34 +01:00
4xfu
3340235540 Correct cron example (#4079)
The old example was inaccurate. crontab on Debian does not support a user name, but files in /etc/cron.d and /etc/crontab do (see https://manpages.debian.org/bullseye/cron/crontab.5.en.html)

According to https://manpages.debian.org/bullseye/cron/cron.8.en.html : In general, the system administrator should not use /etc/cron.d/, but use the standard system crontab /etc/crontab so I propose to append the line to this file
2021-12-23 12:26:34 +01:00
maTh
7a81865e41 Update UserMailer.php (#4076) 2021-12-21 23:44:53 +01:00
maTh
46cb8644c4 Fix: Compressed & Cached JS files (#4075)
* Update .htaccess

* Explicit MIME type for .js
https://developer.mozilla.org/en-US/docs/Learn/Server-side/Configuring_server_MIME_types
https://www.iana.org/assignments/media-types/media-types.xhtml

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2021-12-21 23:43:59 +01:00
maTh
ed8703e674 Improved: Manual: username+pw for demo login (#4072)
* added: username+pw for demo login

* fix white spaces
2021-12-20 20:48:01 +01:00
Alexandre Alapetite
816f4178dc Docker fix missing .htaccess (#4074)
Related to https://github.com/FreshRSS/FreshRSS/issues/4073
In our Docker configuration, `.htaccess` files are included only once at startup. The one for themes was missing.
2021-12-20 20:46:41 +01:00
Felix Bühler
1ac3effce5 fever: fix warning of unset array key (#4056) 2021-12-12 13:03:18 +01:00
happymacarts
f0ca1288d2 Update 02_First_steps.md (#4049)
spelling correction of "available"
2021-12-10 11:48:50 +01:00
maTh
6b046873da fix global view template (#4043) 2021-12-09 08:57:21 +01:00
maTh
343c7bf3cb fix normal and reader view (#4040) 2021-12-07 23:20:58 +01:00
maTh
1d624d041f Fix: global view does not show "no articles to show" alert (#4042)
* fix

* phpcs fixed

* fix JS
2021-12-07 23:19:58 +01:00