Skip to content

Add a function to prepare URL for logging#715

Closed
aledeg wants to merge 1 commit intodevfrom
log-credentials
Closed

Add a function to prepare URL for logging#715
aledeg wants to merge 1 commit intodevfrom
log-credentials

Conversation

@aledeg
Copy link
Member

@aledeg aledeg commented Nov 27, 2014

Please review my code to check if the fix is correct. I think that will covers our use cases. I am not very comfortable to have a modified version of SimplePie in the project. I know that it supports plugins, maybe we should look that way to make it easier for us if we need to update the library.

See #711

Please review my code to check if the fix is correct. I think that will covers our use cases. I am not very comfortable to have a modified version of SimplePie in the project. I know that it supports plugins, maybe we should look that way to make it easier for us if we need to update the library.
@Alkarex
Copy link
Member

Alkarex commented Nov 27, 2014

There are other places in FreshRSS with a similar mechanism of adding/removing credentials. It could be a good idea to use the same function(s) everywhere. For instance:

Regarding SimplePie, there are already many changes that I have done, not only the logging. Most of those changes/corrections/improvements could not have been done through plug-ins.

I am submitting pull requests to SimplePie by order of priority and likelihood of being accepted:
https://github.com/simplepie/simplepie/pulls?q=is%3Apr+author%3AAlkarex

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do not make the SimplePie library depend on a function defined in FreshRSS.
The other way around would be acceptable though.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As you know all the changes introduced to SimplePie. Maybe it would be easier and faster if you take care of it.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I will try to do that soon.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should I delete the branch or you want to reuse something I wrote?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just keep it for the time being. I will do some copy-paste and use it to see the line numbers.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK

@Alkarex Alkarex assigned Alkarex and unassigned Alkarex Nov 27, 2014
@aledeg aledeg closed this Nov 28, 2014
marienfressinaud added a commit that referenced this pull request Jan 29, 2015
Use @aledeg old function instead

See #715
See #711
@marienfressinaud marienfressinaud deleted the log-credentials branch February 18, 2015 15:18
Alkarex added a commit to Alkarex/FreshRSS that referenced this pull request Mar 22, 2015
@Alkarex
Copy link
Member

Alkarex commented Mar 22, 2015

Please see #815
I have moved the cleaning function to SimplePie (since it has to be used there too).

Alkarex added a commit to Alkarex/FreshRSS that referenced this pull request Mar 23, 2015
Can simplify the regex (faster because anchored) for cleaning URLs based
on the fact that we only have to deal with HTTP or HTTPS
FreshRSS#715
@Alkarex Alkarex added this to the 1.1.1 milestone May 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants