Skip to content
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

Adds ip-traceable listener #233

Closed
wants to merge 7 commits into from
Closed

Conversation

alterphp
Copy link

Adds support for IpTraceable Gedmo extension

@dev-ish
Copy link

dev-ish commented Mar 31, 2014

+1

@@ -49,6 +50,9 @@ public function load(array $configs, ContainerBuilder $container)
} elseif ('blameable' === $ext) {
$useBlameable = true;
}
Copy link

Choose a reason for hiding this comment

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

This closing curly brace is to much.

Copy link
Author

Choose a reason for hiding this comment

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

Thanks for notice. This is fixed. 👍

@lopsided
Copy link

lopsided commented Apr 1, 2014

+1

@alterphp
Copy link
Author

@stof Any opinion about this PR ?

*
* @author Pierre-Charles Bertineau <pc.bertineau@alterphp.com>
*/
class BlameListener implements EventSubscriberInterface
Copy link

Choose a reason for hiding this comment

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

Should be IpTraceListener according to your configuration (and file name), right?

@winzou
Copy link

winzou commented Apr 22, 2014

👍 but it needs some cleaning, see comments.

*/
public function onKernelRequest(GetResponseEvent $event)
{
$ip = $event->request->getClientIp();
Copy link

Choose a reason for hiding this comment

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

You can skip this event if the current request isn't a master request.

Copy link
Author

Choose a reason for hiding this comment

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

done

@fotomerchant
Copy link

+1

3 similar comments
@dirkluijk
Copy link

+1

@al3d
Copy link

al3d commented May 16, 2014

+1

@oscargala
Copy link

+1

@alterphp
Copy link
Author

@stof Can you review this PR ?

@dante2008
Copy link

👍

@alterphp
Copy link
Author

Hello @stof

I know you're working on many other projects, I heard about on php-cs-fixer and symfony... But can you review this one please ?

@alterphp
Copy link
Author

Hey @stof : any review ?

@Axinet
Copy link

Axinet commented Jan 15, 2015

+1

@alterphp
Copy link
Author

UP

@lemoinem
Copy link

lemoinem commented May 5, 2015

👍 Please merge this ASAP...

@jrmyio
Copy link

jrmyio commented Jun 16, 2015

+1

1 similar comment
@jillro
Copy link

jillro commented Jun 22, 2015

+1

@@ -24,6 +25,11 @@
<argument type="service" id="annotation_reader" />
</call>
</service>
<service id="stof_doctrine_extensions.listener.ip_traceable" class="%stof_doctrine_extensions.listener.ip_traceable.class%" public="false">
Copy link
Owner

Choose a reason for hiding this comment

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

please do not add a parameter for the service class. This is discouraged in Symfony now

@alterphp
Copy link
Author

alterphp commented Mar 1, 2016

@stof I made some updates in order to enhance Symfony compliance as you told me (even if it breaks bundle uniformity). Please tell me...

@Pierstoval
Copy link

I'm still 👍 on this feature, now the implementation seems perfect I think it really can be merged 👍

@speedy001
Copy link

+1

@alfonmga
Copy link

Why this has not been merged yet? any reason?

@lemoinem
Copy link

@alfonsomga Because this bundle doesn't seem to be maintained anymore...
You should take a look to https://github.com/KnpLabs/DoctrineBehaviors which offers replacements to several features of Gedmo, with a better architecture most of the time, and actual maintenance.

If you have some time, there are several projects put forward to improve the new library.

@troymccabe
Copy link

Hey @stof,

Any chance you could take a peek & hopefully merge this PR? Been a while :/

Thanks!

@ybert
Copy link

ybert commented Oct 17, 2016

Hey @stof ,
Can you merge this PR? It could be very helpfull for us.
If you think that you will not maintain this bundle, can you give us an alternative?

Thank you for your time.

@scaytrase
Copy link

KnpLabs looks more maintained, but there are not ip_traceable too

@mikysan
Copy link

mikysan commented Apr 28, 2017

+1

2 similar comments
@ceesvanegmond
Copy link

👍

@Guibzs
Copy link

Guibzs commented Sep 2, 2017

+1

@Nek-
Copy link

Nek- commented Dec 18, 2017

@alterphp this need a rebase

@stof are you ok with this now?

@alterphp
Copy link
Author

Nearly 2 years since my last commit... I hope you don't mind if I wait for @stof confirmation before doing anything...

@kyeno
Copy link

kyeno commented Apr 23, 2018

...and I stumbled upon this in April 2018, still not merged. Come on...

@emnsen
Copy link

emnsen commented Aug 16, 2018

why it can not be merged ?

@Nek-
Copy link

Nek- commented Aug 19, 2018

It's pretty obvious that stof has no time to maintain this repository more than just "compatiblity with new Sf versions and security fixes".

So if somebody is not happy with that, you can probably enter in discussion in order to fork the repository and maintain it. For example under friendofsymfony organization. Feel free to send some mails to take the temperature of people on the topic.

In any case more talk here is just spam for maintainer(s).

@tourze
Copy link

tourze commented Mar 20, 2022

Any update?

@11k
Copy link

11k commented Oct 11, 2022

I put this Gist together to help anyone looking to integrate IpTraceable in a Symfony 5.4 app.

@stof
Copy link
Owner

stof commented Jul 7, 2023

Replaced by #453 as the config of the bundle changed too much in the meantime.

@stof stof closed this Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet