Alexandre Alapetite
1fe66ad020
Implement Web scraping "HTML + XPath" ( #4220 )
...
* More PHP type hints for Fever
Follow-up of https://github.com/FreshRSS/FreshRSS/pull/4201
Related to https://github.com/FreshRSS/FreshRSS/issues/4200
* Detail
* Draft
* Progress
* More draft
* Fix thumbnail PHP type hint
https://github.com/FreshRSS/FreshRSS/issues/4215
* More types
* A bit more
* Refactor FreshRSS_Entry::fromArray
* Progress
* Starts to work
* Categories
* Fonctional
* Layout update
* Fix relative URLs
* Cache system
* Forgotten files
* Remove a debug line
* Automatic form validation of XPath expressions
* data-leave-validation
* Fix reload action
* Simpler examples
* Fix column type for PostgreSQL
* Enforce HTTP encoding
* Readme
* Fix get full content
* target="_blank"
* gitignore
* htmlspecialchars_utf8
* Implement HTML <base>
And fix/revert `xml:base` support in SimplePie e49c578817
* SimplePie upstream PR merged
https://github.com/simplepie/simplepie/pull/723
2022-02-28 20:22:43 +01:00
maTh
926ce8ff5f
Improved: icons in same color ( #4212 )
...
* delete white plus icon
* delete unused icons
* Themes
* Update flat.css
* minimized XML of SVG icons
* RTL CSS fix
* Update ansum.css
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2022-02-21 19:21:12 +01:00
maTh
d9e3186471
Fix: menu item overflow ( #4218 )
...
* fix item width
* better hover background
* fixed template.css
2022-02-12 01:38:40 +01:00
maTh
133e0d61db
Improved: Focus and show password buttons ( #4205 )
...
* CSS + JS
* fixed the quotes
2022-02-07 13:43:37 +01:00
Alexandre Alapetite
7c2da31418
More PHP type hints for Fever ( #4202 )
...
* More PHP type hints for Fever
Follow-up of https://github.com/FreshRSS/FreshRSS/pull/4201
Related to https://github.com/FreshRSS/FreshRSS/issues/4200
2022-02-07 00:56:45 +01:00
maTh
dfee46792f
Improved: "Pagination" + load more button ( #4125 )
...
* Frontend changes done
* Load more should work now also without JS
* Update template.rtl.css
* improved the themes' CSS
* Update template.rtl.css
* fix CI
* CSS prop. order fixed
* Rename pagination.phtml to stream-footer.phtml
* use the new template name
* rename key of i18n
* fixed CI, that does not like the white space
* rename pagination variable
* Update indexController.php
2022-02-06 17:29:56 +01:00
Alexandre Alapetite
1c5cf71859
Fix Fever 32 bit ID issue + more PHP type hints ( #4201 )
...
* Fix Fever 32 bit ID issue + more PHP type hints
#fix https://github.com/FreshRSS/FreshRSS/issues/4200
Follow up and fix regression from https://github.com/FreshRSS/FreshRSS/pull/4110
* More PHP type hints with PHPStan
* Fix pull problem
* Avoid more nulls
2022-02-06 14:31:36 +01:00
maTh
ba1259bb21
Improvement: config registration form settings ( #3932 )
...
* wip
* wip
* i18n en-us
* phpcs fixes
* wip i18n
* wip i18n
* i18n ignore en-us
* delete registration.help
* i18n de
* JS Syntax fixed for config.js
* JavaScript lint fixes config.js
* fix typo in i18n/de
* improve the JS
* improve HTML
* phpcs fixes
* update main.js from edge
* fix i18n comments
* Update app/i18n/fr/admin.php
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2022-02-05 13:50:33 +01:00
maTh
9224668285
Improve subscription list drag and drop ( #3953 )
...
* it works
* more beautiful
* optimize JS
* CSS - optimized for dark theme
* delete not used form
* phpcs
* optimize
* more optimization
* fixed javaScript syntax
* better css class name
* template.css RTL
* fix failed test for RTL
* fix broken CSS Syntax
* fixed failed test
* fixed: empty lines in RTL CSS
* again a fixed CSS test....
* fixed test
* less magic numbers
2022-02-05 13:13:26 +01:00
maTh
4d5f3a20c0
Improve: new article banner ( #4037 )
...
* fix Origine theme padding
* Fix all themes
* Update swage.scss
2022-02-05 10:58:57 +01:00
maTh
dc27baa7d6
Improved: unread articles counter ( #4166 )
...
* Update template.css
* CSS base template
* CSS themes
* white spaces fixed
* Update ansum.rtl.css
* fix themes
* fix css
* fix scss
* theme swage
* Theme Screwdriver
* theme BlueLagoon fine tuning
* theme Parfat tuneing
* Fix merge bugs
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2022-02-05 00:02:06 +01:00
maTh
3938492b8a
Normal view: improve feed filter link ( #4006 )
...
* padding+greyscal favicon while hovering+underline
* improve underline + improve mouse title
* fixed RTL
* CSS for more places of feed filter
* add title in content feed filter
2022-02-04 16:32:02 +01:00
maTh
f8cad8c959
Improve showing notification banner ( #4023 )
...
* bad notification show double time of good notification
* stop timer, when mouse is over the notification
* after leaving the mouse hover close the notification in 1 second
* onlick to eddEventListener
* code fix
* fixed code
* more code fixes
* set default in template.css
* theme alternative dark
* theme ansum
* theme Blue lagoon
* theme dark
* theme flat
* theme Origine compact
* theme Origine
* theme Pafat
* theme Screwdriver
* theme Swage
* fixed RTL error
* fix css code
* mouseleave = 3sec.
2022-02-04 16:27:42 +01:00
maTh
827cec6d13
Improved: Browser notification: unread message ( #4193 )
...
* notification
* i18n (english string)
* i18n: en-us + de
* Update gen.php
* i18n: PL + RU
* Update app/i18n/fr/gen.php
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2022-02-04 15:54:31 +01:00
Alexandre Alapetite
5a891dc0e4
Update dev dependencies stylelint SASS ( #4173 )
...
* Update dev dependencies stylelint SASS
Major update for stylelint with breaking changes
https://stylelint.io/migration-guide/to-14/
Applied automatic SASS migration to current syntax
https://sass-lang.com/documentation/cli/migrator#migrations
And a few manual fixes such as:
https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/dollar-variable-no-missing-interpolation/README.md
Other dev dependencies are minor updates.
* RTLCSS
* Fix color-hex-length bug
* Implement make bin/composer
* Update git hash
2022-02-04 15:41:51 +01:00
Alexandre Alapetite
88b934da8b
Fix root redirection ( #4167 )
...
* Fix root redirection
#fix https://github.com/FreshRSS/FreshRSS/issues/4126
* Smarter
2022-02-04 15:41:20 +01:00
maTh
0ddbc103a1
fix theme Origine ( #4188 )
2022-01-31 23:08:27 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
maTh
c25dace809
fix CSS ( #4041 )
2021-12-07 23:17:34 +01:00
maTh
5050b20cca
Fix: search in mobile view ( #4025 )
...
* bring back the search in the nav bar
* fix the search input height
* line-heigt improved
2021-12-05 21:36:16 +01:00
Frans de Jonge
ba48733f17
Add preventDefault to keydown event handler ( #4013 )
...
* Add preventDefault to keydown event handler
Fixes #3946 .
* review
* silence technically correct but missing the picture check
Co-authored-by: Frans de Jonge <frans@clevercast.com >
2021-12-03 00:58:40 +01:00
Alexandre Alapetite
00dbde68fb
Fix some PHPstan errors ( #4019 )
...
Fix some wrong variables found by https://github.com/FreshRSS/FreshRSS/issues/4016
2021-12-02 23:30:13 +01:00
maTh
f6db32bdfb
delete overflow-y ( #4005 )
2021-11-30 22:28:55 +01:00
maTh
42162c04a0
Fix #4002 : transparent config menu ( #4003 )
...
* Update template.css
* Update template.rtl.css
2021-11-29 19:59:13 +01:00
maTh
83110b1c49
typo fix ( #3998 )
2021-11-27 12:23:52 +01:00
maTh
a5410f6d37
Fix issue with mark-all-as-read-button in anonym. mode ( #3944 )
...
* fix
* Update p/scripts/main.js
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2021-11-15 22:03:26 +01:00
maTh
f12637d2b2
Fix js errors ( #3980 )
...
* fixed missed popup
* fix missed document.getElementById('loginButton')
* make fix-all
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2021-11-14 23:24:47 +01:00
maTh
1ae5a5af14
Improve mobile view: access to the config menu ( #3881 )
...
* wip
* improve the header
* Fix theme "Adark"
* fixed theme: Ansum
* Fixed theme: BlueLagoon
* fixed Ansum after PR comment of Frenzie
* Fixed theme: Dark
* fixed theme: Flat
* fixed theme: Mapco
* fixed theme: Origine compact
* fixed theme: Pafat
* fixed theme: Screwdriver
* fixed theme: Swage
* hide the close button in wide view
* fixed base/template RTL
* fixed SCSS of theme Swage
* stylelint fix
* fixed theme Swage
* make fix-all
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2021-11-12 08:57:36 +01:00
maTh
079b7b961f
Improve install routine: database password input with "show password" button ( #3962 )
...
* wip
* CSS better btn
* CSS: RTL
* button is better than a
* improved CSS for button
2021-11-11 20:01:28 +01:00