-
-
Notifications
You must be signed in to change notification settings - Fork 756
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add RSS feeds #1166
Add RSS feeds #1166
Conversation
{% trans %}estimated reading time :{% endtrans %} < 1 min | ||
{%- endif %} | ||
|
||
{{ entry.content -}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
entry.content|raw
maybe?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To keep html content? Well I've encaplusated the content inside a CDATA to avoid problem.
But yes, I need to test with raw.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tryied, and I think it doesn't work.
will fix #1000
Since it's the primary key
They are god damn too long to execute because it launch external command (mostly related to doctrine). So I've added a PHPUnit @group (`command-doctrine`) so that we can avoid launching them on a regular basis, like that: `phpunit --exclude-group command-doctrine`
Mailjet seems to be laggy, hope that LeMonde will be more reliable in the future. @see https://travis-ci.org/wallabag/wallabag/jobs/56246231
We don't want Symfony to escape html content
By default, items in each feeds are limited to 50. User can change this value in the config page. This will fix #1000.
I've re-added the token system (I put it in a
Tools/Utils
class), which can also be regenerated (todo: make an ajax call).Url are like that:
http://wallabag.io/j0k3r/0jlmUxAVZqmc26P/unread.xml
I've added a ParamConverter to check if the username and the token in the url are good.
I've also added an
@Assert\Range
onitemPerPage
&rssLimit
to be sure it's a number. So the validation works on the form too. I've put a kind of random number as max value: 100.000.Regarding the
InstallCommand
tests, they are god damn too long to execute because it launch external commands (mostly related to doctrine).So I've added a PHPUnit @group (
command-doctrine
) so that we can avoid launching them on a regular basis, like that:And I've update travis to run PHPUnit like that for the moment. Launching
phpunit
will still work, but it's longer. The downside is that theInstallCommand
is less tested using--exclude-group