harshad389
9ef849eb27
@tempnam in ExportService.php #4304 ( #4489 )
...
* @tempnam in ExportService.php #4304
* Update CREDITS.md
Change Name in alphabetic order
Co-authored-by: Harshad <harshad@topsoinfosolutions.com>
2 years ago
Alexandre Alapetite
509c8cae63
Dynamic OPML ( #4407 )
...
* Dynamic OPML draft
#fix https://github.com/FreshRSS/FreshRSS/issues/4191
* Export dynamic OPML
http://opml.org/spec2.opml#1629043127000
* Restart with simpler approach
* Minor revert
* Export dynamic OPML also for single feeds
* Special category type for importing dynamic OPML
* Parameter for excludeMutedFeeds
* Details
* More draft
* i18n
* Fix update
* Draft manual import working
* Working manual refresh
* Draft automatic update
* Working Web refresh + fixes
* Import/export dynamic OPML settings
* Annoying numerous lines in SQL logs
* Fix minor JavaScript error
* Fix auto adding new columns
* Add require
* Add missing 🗲
* Missing space
* Disable adding new feeds to dynamic categories
* Link from import
* i18n typo
* Improve theme icon function
* Fix pink-dark
2 years ago
Alexandre Alapetite
da0a333b94
Refactor OPML export categories ( #4356 )
...
* Refactor OPML export categories
Simplify code to comply with types hints.
And renamed a property to plural.
* Link to OPML namespace
2 years ago
Alexandre Alapetite
4a87206f28
OPML export/import of some proprietary FreshRSS attributes ( #4342 )
...
* OPML export/import of some proprietary FreshRSS attributes
#fix https://github.com/FreshRSS/FreshRSS/issues/4077
And one of the TODOs of https://github.com/FreshRSS/FreshRSS/pull/4220
XPath options, CSS Selector, and action filters
* Bump library patch version
* OPML namespace + documentation
* Add example
2 years ago
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
3 years ago
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
3 years ago
Thomas Renes
916df412f5
Fix various typos and spelling errors in documentation, comments and code. ( #4134 )
3 years ago
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
3 years ago
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
3 years ago
Luc SANCHEZ
7b15ffc838
Rename variable ( #3867 )
...
Variable is more explicite now $ok to $isOkStatus
3 years ago
Alexandre Alapetite
de40f3ad56
Fix TT-RSS import ( #3553 )
4 years ago
Alexandre Alapetite
4a87f34bcf
API implement OPML import/export ( #3424 )
...
#fix https://github.com/FreshRSS/FreshRSS/issues/3421
4 years ago
Marien Fressinaud
15505a0377
tec: Refactor the export feature ( #3045 )
...
Even if the issue #3035 seemed pretty simple at a first glance, it was
more complicated than I expected. Because we send CSP headers AFTER
running the controller actions, it means we can't "echo" any content
from the controller. It's in fact a good practice, but it was easier at
the time we developed the feature.
To fix that, the only thing I had to do was to move the `print()` and
`readfile()` function into the view. The problem was that we needed to
output the content from the CLI too. Then, things became more
complicated. I decided to extract the export-related methods in a
`FreshRSS_Export_Service` class, in order to use it from both the
controller and the CLI. It was an opportunity to refactor the whole
feature in order to make it a bit more linear and easy to read.
Reference: https://github.com/FreshRSS/FreshRSS/issues/3035
4 years ago