Conversation
Signed-off-by: Matt Friedman <maf675@gmail.com>
Signed-off-by: Matt Friedman <maf675@gmail.com>
Add Google Analytics privacy information
Support secure cookies
|
Sorry but this can't be merged, the history is quite mangled. Please reset to current master and Marge the upstream changes cleanly. (If you don't know how I can give some more pointers or do it later today myself) Then open a separate PR for your addition. Thanks |
Do you mean squash the commis ? |
ee796d4 to
511557f
Compare
08f6d2f to
6300548
Compare
1f4461a to
5c1cf99
Compare
|
@Cube707 Is this better now ? |
|
No your still recreating commit which already exists in this repo. You need to reset to this repos current master before merging upstream. I can writeup an example once I am done at work |
|
heres what you need to do:
Note that this doesn't yet include your modifications, those should be a separate PR |
|
your your new commit, separate it back into multiple commits, each one on topic. And than create new PRs for your additions. Here also don't mix concerns, a typos in the existing text are seperate from adding new stuff and can probably be merged much faster and without discussion, so they should be separate PRs. Also deleting stuff needs a good reason. You should also note that I will not merge changes to the pre-exisitng google-analytics code, for that you would need to open a PR upstream and I will sync my fork once the upstream accepted the merge. I can offer you to provide a feature branch and a pre-release version if you want it quickly in the matomo version. |
|
I'll do like that, thank you !
|
5c1cf99 to
6300548
Compare
|
@Cube707, you should be happier now. The work isn't fnished yet. Please, tell me if I'm on the wright path. |
|
This looks much better, I will review the details later |
Signed-off-by: Zorglube <630192+zorglube@users.noreply.github.com>
7e17487 to
b74f2c9
Compare
Ready for review. |
Cube707
left a comment
There was a problem hiding this comment.
There are changes to event/listener.php missing from the merge.
I also think we should keep the feature which adds a paragraph about the tracking-tool beeping used. I suggest merging the Google-Analytics text an then rewriting it to match matomo as a new commit
.github/workflows/tests.yml
Outdated
| name: Extension tests | ||
| uses: phpbb-extensions/test-framework/.github/workflows/tests.yml@3.3.x | ||
| with: | ||
| EXTNAME: phpbb/googleanalytics # Your extension vendor/package name |
There was a problem hiding this comment.
This needs to be the correct extension name
composer.json
Outdated
| "email": "mail@janwille.de", | ||
| "homepage": "https://janwille.de", | ||
| "role": "Extension Developer" | ||
| "role": "Upstream Extension Developer" |
There was a problem hiding this comment.
This is me 😄
It can stay as "Extension developer"
language/fr/matomoanalytics_acp.php
Outdated
| @@ -0,0 +1,50 @@ | |||
| <?php | |||
There was a problem hiding this comment.
Please don't add in your own addition into the merge, open a separate PR for new features
tests/event/listener_test.php
Outdated
| } | ||
|
|
||
| /** | ||
| /** |
There was a problem hiding this comment.
What changed here? Please don't commit whitespace changes
- Cube707#1 (comment) - Cube707#1 (comment) - Cube707#1 (comment) Signed-off-by: Zorglube <630192+zorglube@users.noreply.github.com>
- Cube707#1 (comment) - Cube707#1 (comment) - Cube707#1 (comment) - Cube707#1 (comment) Signed-off-by: Zorglube <630192+zorglube@users.noreply.github.com>
6199449 to
407b726
Compare
- Cube707#1 (review) Signed-off-by: Zorglube <630192+zorglube@users.noreply.github.com>
I'm note sure the correction for that part is good, you should pay attention on this one. |
- Cube707#1 (review) Signed-off-by: Zorglube <630192+zorglube@users.noreply.github.com>
ffb1769 to
67a60a2
Compare
- Cube707#1 (review) Signed-off-by: Zorglube <630192+zorglube@users.noreply.github.com>
67a60a2 to
51ea72e
Compare
| // | ||
|
|
||
| $lang = array_merge($lang, [ | ||
| 'PHPBB_ANALYTICS_PRIVACY_POLICY' => ' |
There was a problem hiding this comment.
Sorry @Cube707 I don't speak German enough, can you translate please ?
| */ | ||
| public function append_agreement() | ||
| { | ||
| if (!$this->config['googleanalytics_id'] |
There was a problem hiding this comment.
this needs to reference one of our config settings
| return; | ||
| } | ||
|
|
||
| $this->language->add_lang('googleanalytics_ucp', 'cube/matomoanalytics'); |
There was a problem hiding this comment.
this needs to reference the correct file
| // | ||
|
|
||
| $lang = array_merge($lang, [ | ||
| 'PHPBB_ANALYTICS_PRIVACY_POLICY' => ' |
| <br><br> | ||
| Thoses informations may be transfer to a third parties. To learn more about how the statistics informations are used, contact the website owner. | ||
| <br><br> | ||
| If you want to opt out of the statistics collection <div id="matomo-opt-out"></div><script src="%1$s/index.php?module=CoreAdminHome&action=optOutJS&div=matomo-opt-out></script>. |
There was a problem hiding this comment.
this link will not work, as it references the phpbb domain, which is mostlikely different from the matomo-url.
Hm, I will need to think about how to solve this
There was a problem hiding this comment.
I guess following the Matomo doc: https://developer.matomo.org/guides/tracking-optout this template should be customised using the parameter MATOMOANALYTICS_URL.
There was a problem hiding this comment.
matomo also has a secion about how to write a privacy notice which could be helpfull for this:
https://matomo.org/faq/how-to/how-to-write-a-gdpr-compliant-privacy-notice/
There was a problem hiding this comment.
I propose, first finish the update, then work on the GDPR notice. Is this ok for you ?
There was a problem hiding this comment.
not sure If we are missunderstanding each other or not, but I only meant we should reference it when transferring the message for matomo. A shorte paragraph about matomo usage is enough same as for google-ananlytics, I just meant we dont have to keep the wording so close to the upstream one and might be better of going more in the direction recommended by matomo
There was a problem hiding this comment.
I guess you're right, there's a misunderstanding somewhere.
I'll fork your code, follow my ideas, you'll be free to integrate if you like.
Just to make it clear, there absolutely no bad feelings in my words.
There was a problem hiding this comment.
I wanted to start a branch with some of the current progress, but didn't get to it
There was a problem hiding this comment.
I wanted to start a branch with some of the current progress, but didn't get to it
There was a problem hiding this comment.
I'll try to do so, do not hesitate to participate ;-)
Signed-off-by: Zorglube <630192+zorglube@users.noreply.github.com>
|
I thought about this a bit and decided to push back the discussion and only merge up to f1d39a3 for now. This splits up concenes a but, allows the CI to run properly on master and means we can take a bit more time to work out how to implement the howle privacy notice thing |
|
superseded by #5 |
|
@zorglube just created a release containing the french translation (and the spelling fixes) I also merged the upstream changes into the branch dev/privacy-information, but won't continue to work on it today. Next steps would be to migrate the If you want to add any of your work, feel free to commit them based on that and open a draft-PR, that way we can both work on it (if I open the PR, you won't have access...) |
Whoop Whoop !! \o/
I'll have a look ! |
Hello @Cube707
I'm working on the integration of Matomo on my PHPBB forum.
I found you plugin, and I thought it need an update based on th evolution of the origin : https://github.com/phpbb-extensions/googleanalytics
Hop my PR is good,
BR