Skip to content

Commit

Permalink
[Fixes #24] Matomo 5 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
alcalyn committed Feb 28, 2024
1 parent ca61b29 commit 970ad4a
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 10 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## Changelog

### Version 5.0.0

- [Fixes #24] Matomo 5 compatibility

### Version 4.2.0

- [Fixes #7] Allow to restrict users signup by email domain
Expand Down
26 changes: 17 additions & 9 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Translation

[![État de la traduction](https://hosted.weblate.org/widgets/matomo/-/communityplugin-signup/multi-auto.svg)](https://hosted.weblate.org/engage/matomo/)
[![Translation current status](https://hosted.weblate.org/widgets/matomo/-/communityplugin-signup/multi-auto.svg)](https://hosted.weblate.org/engage/matomo/)

Translate this plugin :

Expand Down Expand Up @@ -47,24 +47,25 @@ cd matomo/
# Install dependencies
composer install

# Enable development mode (to avoid assets caching and enabling vue assets building)
php console development:enable
# Install frontend dependencies
npm install

# Run PHP local server
php -S 0.0.0.0:8000

# Automatically build vue assets
php console vue:build Signup --watch
```

Then go to <http://0.0.0.0:8000/index.php>
- Then go to <http://0.0.0.0:8000/index.php>
- Follow the installation procedure.

``` bash
# Enable development mode (to avoid assets caching and enabling vue assets building)
php console development:enable
```

All this part is also officially documented by Matomo:

<https://developer.matomo.org/guides/getting-started-part-1>

Then, follow the installation process.

### Clone Signup plugin

Once your Matomo instance is running, clone the Signup plugin inside `plugins/` folder.
Expand All @@ -79,3 +80,10 @@ cd Signup/
```

Now you should be able to enable the plugin in Matomo admin interface.

If you edit frontend assets (vue, js files...), run this commands to automatically recompile assets:

```bash
# Automatically build vue assets
php console vue:build Signup --watch
```
2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://github.com/alcalyn/matomo-plugin-signup",
"theme": false,
"require": {
"piwik": ">=5.0.0-rc4,<6.0.0-b1"
"piwik": ">=5.0.0,<6.0.0-b1"
},
"authors": [
{
Expand Down

0 comments on commit 970ad4a

Please sign in to comment.