Commit Graph

7003 Commits

Author SHA1 Message Date
maTh
513f7aaa16 Fixed: <label> (#4189)
* fixed: empty/wrong for attribute

* label to div, because no for attribute possible

* useless label deleted
2022-01-31 23:55:27 +01:00
maTh
0ddbc103a1 fix theme Origine (#4188) 2022-01-31 23:08:27 +01:00
Alexandre Alapetite
66912420a1 i18n CLI compat PHP 7.0 (#4184)
Minor syntax change to pass the linting in PHP 7.0
2022-01-31 14:22:50 +01:00
Alexandre Alapetite
47e242aa77 Fix ctype_alnum (#4182)
* Fix ctype_alnum
#fix https://github.com/FreshRSS/FreshRSS/issues/4180
Ensure `ctype_alnum()` gets a string

* Changelog
2022-01-30 15:53:17 +01:00
Alexandre Alapetite
24afafb74d Clean temp files MigratorTest (#4177)
The automated tests used to generate several temporary files not deleted...
2022-01-29 23:08:09 +01:00
Alexandre Alapetite
8808fb4545 Fix keep state after favourites tags (#4178)
* Fix keep state after favourites tags
#fix https://github.com/FreshRSS/FreshRSS/issues/4124 regression

* Optimisation
2022-01-29 14:19:16 +01:00
Alexandre Alapetite
2e805f8c0b Credits 2022-01-29 13:51:03 +01:00
Alexandre Alapetite
a568e11142 Changelog 2022-01-29 13:43:41 +01:00
maTh
cf433d4d79 Fixed: wrong dropdown triangle of labels category (#4174)
* Update aside_feed.phtml

* Solution could be so simple
2022-01-27 00:43:46 +01:00
maTh
9012db0155 Fix: dropdown menu triangle in mobile view (#4169)
* central triangle styles moved to template.css

* Update template.rtl.css

* fix: triangle in config menu in mobile view

* improve dark theme in mobile view
2022-01-24 09:24:20 +01:00
xnaas
7ab4f89f54 Fixup #3991 (#3992)
* fixup #3991

* add xnaas to CREDITS.md

* Update docs/en/users/03_Main_view.md

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

* fix typo

* Update docs/en/users/03_Main_view.md

The lines were combined into one line and `'` was replaced with `’` for contracted words.

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

Co-authored-by: maTh <math-home@web.de>
Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2022-01-21 16:41:17 +01:00
Adam Stephens
60b856b2d1 christophehenry/freshrss-android moved to gitlab (#4165) 2022-01-19 21:55:24 +01:00
berumuron
bc5271b0eb fix: Ignore non-PHP files in migrations/ folder (#4163)
Some NAS create folders named `@eaDir` in the FreshRSS tree, including
the `migrations/` folder. This broke the migration system which expected
only valid PHP files to be present in this folder. Now, it ignores
non-PHP files.

Reference: https://github.com/FreshRSS/FreshRSS/issues/4044
2022-01-17 13:13:27 +01:00
marapavelka
a6b6f31e9e Improve Czech: Update conf.php (#4153)
* Update conf.php

Corrected errors and typos, unified terminology, added missing translations.

* Update conf.php

Corrected errors and typos, unified terminology, added missing translations. Removed TODO comments.

* Update feedback.php

Corrected errors and typos, unified terminology, added missing translations.
2022-01-16 22:03:33 +01:00
marapavelka
a8225f7244 Update gen.php (#4154)
Corrected errors and typos, unified terminology, added missing translations.
2022-01-16 22:03:11 +01:00
marapavelka
525f3b4c83 Update index.php (#4155)
Corrected errors and typos, unified terminology, added missing translations.
2022-01-16 22:02:39 +01:00
marapavelka
56f4bdf8c6 Update install.php (#4156)
Corrected errors and typos, unified terminology, added missing translations.
2022-01-16 22:02:22 +01:00
marapavelka
189b18bdea Update sub.php (#4157)
Corrected errors and typos, unified terminology, added missing translations.
2022-01-16 22:01:56 +01:00
marapavelka
48e92e2f53 Update user.php (#4158)
And the last one! Corrected errors and typos, unified terminology, added missing translations.
2022-01-16 22:01:44 +01:00
Frans de Jonge
a2fe354ccb [i18n] Fix "Add a RSS feed" typo (#4161)
* [i18n] Fix "Add a RSS feed" typo

* fix the typo also in i18n/en[-us]/index.php

* moar

* moar

Co-authored-by: mathContao <math-home@web.de>
2022-01-16 22:01:14 +01:00
marapavelka
12665cf27c Add marapavelka to credits (#4159)
Added myself for Czech translation update.
2022-01-16 09:38:29 +01:00
maTh
14da55e21e Fix SCSS differences to the final CSS (#4146)
* theme Ansum

* CI does not like the sourcemappingurl in RTL

* theme Mapco

* Update mapco.rtl.css

* Update mapco.rtl.css

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2022-01-15 18:38:34 +01:00
marapavelka
0c5eaa9d16 Update admin.php (#4151)
Editing and completing the translation
2022-01-15 18:36:54 +01:00
maTh
d2b6fe099a Improvement: menu icons (#4004)
* default icons

* icons Flat theme

* icons Swage theme

* icon gets bright when hover: Ansum theme

* icon gets bright when hover: Blue lagoon theme

* icon gets bright when hover: Origine/Origine Compact theme

* compressed SVG

* Better formated SVG/XML files

* Update bookmark-tag.svg
2022-01-12 23:04:59 +01:00
maTh
f94ec779e6 Improve dropdown menu mobile (#4141)
* Theme template.css

* theme adark

* theme ansum

* theme bluelagoon

* theme dark

* theme template.css RTL fix

* theme flat

* theme Origine

* theme Origine-compact

* theme Pafat

* theme Screwdriver

* theme Swage

* theme Mapco

* dropdown menu with thin scrollbar

* Fix CI foundings

* Fix RTL

* Fix CSS semicolons

* Fix CSS RTL

* Fix SCSS

* Update _mobile.scss
2022-01-11 23:53:40 +01:00
maTh
9cd9e9a093 fix error message force feed (#4145)
* CZ

* the other languages

* fix DE
2022-01-11 23:30:59 +01:00
Alexandre Alapetite
3502e50cb2 Fix PHP 7.4 signature warnings (#4140)
Revert some type hints creating warnings in PHP 7.4 (not in PHP 7.0 nor PHP 8.1)
2022-01-09 19:02:12 +01:00
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