Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/ci-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,12 @@ jobs:

- name: Headers checks
run: |
cd galette-core/galette/plugins/plugin-helloasso
../../vendor/bin/docheader --docheader=.docheader check lib ./*.php
cd galette-core
./bin/console galette:headers:check \
--project-name="Galette Helloasso plugin" \
--project-url="https://galette-community.github.io/plugin-helloasso" \
--start-year="2025" \
--directory="galette/plugins/plugin-helloasso"

unit-tests:
runs-on: ubuntu-latest
Expand Down
17 changes: 2 additions & 15 deletions _config.inc.php
Original file line number Diff line number Diff line change
@@ -1,22 +1,9 @@
<?php

/**
* Copyright © 2003-2026 The Galette Team
*
* This file is part of Galette Helloasso plugin (https://galette-community.github.io/plugin-helloasso).
*
* Galette is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Galette is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Galette. If not, see <http://www.gnu.org/licenses/>.
* SPDX-FileCopyrightText: Copyright © 2025-2026 The Galette Team
* SPDX-License-Identifier: GPL-3.0-or-later
*/

declare(strict_types=1);
Expand Down
17 changes: 2 additions & 15 deletions _define.php
Original file line number Diff line number Diff line change
@@ -1,22 +1,9 @@
<?php

/**
* Copyright © 2003-2026 The Galette Team
*
* This file is part of Galette Helloasso plugin (https://galette-community.github.io/plugin-helloasso).
*
* Galette is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Galette is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Galette. If not, see <http://www.gnu.org/licenses/>.
* SPDX-FileCopyrightText: Copyright © 2025-2026 The Galette Team
* SPDX-License-Identifier: GPL-3.0-or-later
*/

declare(strict_types=1);
Expand Down
26 changes: 7 additions & 19 deletions _routes.php
Original file line number Diff line number Diff line change
@@ -1,26 +1,14 @@
<?php

/**
* Copyright © 2003-2026 The Galette Team
*
* This file is part of Galette Helloasso plugin (https://galette-community.github.io/plugin-helloasso).
*
* Galette is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Galette is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Galette. If not, see <http://www.gnu.org/licenses/>.
* SPDX-FileCopyrightText: Copyright © 2025-2026 The Galette Team
* SPDX-License-Identifier: GPL-3.0-or-later
*/

declare(strict_types=1);

use Galette\Middleware\Authenticate;
use GaletteHelloasso\Controllers\HelloassoController;

//Constants and classes from plugin
Expand All @@ -29,12 +17,12 @@
$app->get(
'/preferences',
[HelloassoController::class, 'preferences']
)->setName('helloasso_preferences')->add($authenticate);
)->setName('helloasso_preferences')->add(Authenticate::class);

$app->post(
'/preferences',
[HelloassoController::class, 'storePreferences']
)->setName('store_helloasso_preferences')->add($authenticate);
)->setName('store_helloasso_preferences')->add(Authenticate::class);

$app->get(
'/form',
Expand All @@ -49,13 +37,13 @@
$app->get(
'/logs[/{option:order|reset|page}/{value}]',
[HelloassoController::class, 'logs']
)->setName('helloasso_history')->add($authenticate);
)->setName('helloasso_history')->add(Authenticate::class);

//history filtering
$app->post(
'/history/filter',
[HelloassoController::class, 'filter']
)->setName('filter_helloasso_history')->add($authenticate);
)->setName('filter_helloasso_history')->add(Authenticate::class);

$app->post(
'/webhook',
Expand Down
6 changes: 6 additions & 0 deletions bin/release
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#!/usr/bin/python

/**
* This file is part of Galette Helloasso plugin (https://galette-community.github.io/plugin-helloasso).
* SPDX-FileCopyrightText: Copyright © 2025-2026 The Galette Team
* SPDX-License-Identifier: GPL-3.0-or-later
*/

import os, sys, argparse, re, git, http.client, subprocess, glob
import urlgrabber.progress, tarfile, shutil, gitdb, time, fnmatch
from datetime import datetime
Expand Down
17 changes: 2 additions & 15 deletions lib/GaletteHelloasso/Controllers/HelloassoController.php
Original file line number Diff line number Diff line change
@@ -1,22 +1,9 @@
<?php

/**
* Copyright © 2003-2026 The Galette Team
*
* This file is part of Galette Helloasso plugin (https://galette-community.github.io/plugin-helloasso).
*
* Galette is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Galette is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Galette. If not, see <http://www.gnu.org/licenses/>.
* SPDX-FileCopyrightText: Copyright © 2025-2026 The Galette Team
* SPDX-License-Identifier: GPL-3.0-or-later
*/

declare(strict_types=1);
Expand Down
17 changes: 2 additions & 15 deletions lib/GaletteHelloasso/Helloasso.php
Original file line number Diff line number Diff line change
@@ -1,22 +1,9 @@
<?php

/**
* Copyright © 2003-2026 The Galette Team
*
* This file is part of Galette Helloasso plugin (https://galette-community.github.io/plugin-helloasso).
*
* Galette is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Galette is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Galette. If not, see <http://www.gnu.org/licenses/>.
* SPDX-FileCopyrightText: Copyright © 2025-2026 The Galette Team
* SPDX-License-Identifier: GPL-3.0-or-later
*/

declare(strict_types=1);
Expand Down
17 changes: 2 additions & 15 deletions lib/GaletteHelloasso/HelloassoHistory.php
Original file line number Diff line number Diff line change
@@ -1,22 +1,9 @@
<?php

/**
* Copyright © 2003-2026 The Galette Team
*
* This file is part of Galette Helloasso plugin (https://galette-community.github.io/plugin-helloasso).
*
* Galette is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Galette is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Galette. If not, see <http://www.gnu.org/licenses/>.
* SPDX-FileCopyrightText: Copyright © 2025-2026 The Galette Team
* SPDX-License-Identifier: GPL-3.0-or-later
*/

declare(strict_types=1);
Expand Down
17 changes: 2 additions & 15 deletions lib/GaletteHelloasso/PluginGaletteHelloasso.php
Original file line number Diff line number Diff line change
@@ -1,22 +1,9 @@
<?php

/**
* Copyright © 2003-2026 The Galette Team
*
* This file is part of Galette Helloasso plugin (https://galette-community.github.io/plugin-helloasso).
*
* Galette is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Galette is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Galette. If not, see <http://www.gnu.org/licenses/>.
* SPDX-FileCopyrightText: Copyright © 2025-2026 The Galette Team
* SPDX-License-Identifier: GPL-3.0-or-later
*/

declare(strict_types=1);
Expand Down
5 changes: 4 additions & 1 deletion scripts/mysql.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
--
-- Table structure for table `galette_helloasso_history`
-- This file is part of Galette Helloasso plugin (https://galette-community.github.io/plugin-helloasso).
-- SPDX-FileCopyrightText: Copyright © 2025-2026 The Galette Team
-- SPDX-License-Identifier: GPL-3.0-or-later
--

DROP TABLE IF EXISTS galette_helloasso_history;
CREATE TABLE galette_helloasso_history (
id_helloasso int(11) NOT NULL auto_increment,
Expand Down
5 changes: 4 additions & 1 deletion scripts/pgsql.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
--
-- Table structure for table galette_helloasso_history
-- This file is part of Galette Helloasso plugin (https://galette-community.github.io/plugin-helloasso).
-- SPDX-FileCopyrightText: Copyright © 2025-2026 The Galette Team
-- SPDX-License-Identifier: GPL-3.0-or-later
--

DROP SEQUENCE IF EXISTS galette_helloasso_history_id_seq;
CREATE SEQUENCE galette_helloasso_history_id_seq
START 1
Expand Down
24 changes: 5 additions & 19 deletions templates/default/headers.html.twig
Original file line number Diff line number Diff line change
@@ -1,21 +1,7 @@
{#
/**
* Copyright © 2003-2025 The Galette Team
*
* This file is part of Galette Helloasso plugin (https://galette-community.github.io/plugin-helloasso).
*
* Galette is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Galette is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Galette. If not, see <http://www.gnu.org/licenses/>.
*/
#}
# This file is part of Galette Helloasso plugin (https://galette-community.github.io/plugin-helloasso).
# SPDX-FileCopyrightText: Copyright © 2025-2026 The Galette Team
# SPDX-License-Identifier: GPL-3.0-or-later
#}

<link rel="stylesheet" type="text/css" href="{{ url_for("plugin_res", {"plugin": module_id, "path": "galette_helloasso.css"}) }}"/>
24 changes: 5 additions & 19 deletions templates/default/helloasso_error.html.twig
Original file line number Diff line number Diff line change
@@ -1,23 +1,9 @@
{#
/**
* Copyright © 2003-2025 The Galette Team
*
* This file is part of Galette Helloasso plugin (https://galette-community.github.io/plugin-helloasso).
*
* Galette is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Galette is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Galette. If not, see <http://www.gnu.org/licenses/>.
*/
#}
# This file is part of Galette Helloasso plugin (https://galette-community.github.io/plugin-helloasso).
# SPDX-FileCopyrightText: Copyright © 2025-2026 The Galette Team
# SPDX-License-Identifier: GPL-3.0-or-later
#}

{% extends not login.isLogged() ? "public_page.html.twig" : "page.html.twig" %}

{% block content %}
Expand Down
24 changes: 5 additions & 19 deletions templates/default/helloasso_form.html.twig
Original file line number Diff line number Diff line change
@@ -1,23 +1,9 @@
{#
/**
* Copyright © 2003-2025 The Galette Team
*
* This file is part of Galette Helloasso plugin (https://galette-community.github.io/plugin-helloasso).
*
* Galette is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Galette is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Galette. If not, see <http://www.gnu.org/licenses/>.
*/
#}
# This file is part of Galette Helloasso plugin (https://galette-community.github.io/plugin-helloasso).
# SPDX-FileCopyrightText: Copyright © 2025-2026 The Galette Team
# SPDX-License-Identifier: GPL-3.0-or-later
#}

{% extends not login.isLogged() ? "public_page.html.twig" : "page.html.twig" %}

{% block content %}
Expand Down
24 changes: 5 additions & 19 deletions templates/default/helloasso_history.html.twig
Original file line number Diff line number Diff line change
@@ -1,23 +1,9 @@
{#
/**
* Copyright © 2003-2025 The Galette Team
*
* This file is part of Galette Helloasso plugin (https://galette-community.github.io/plugin-helloasso).
*
* Galette is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Galette is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Galette. If not, see <http://www.gnu.org/licenses/>.
*/
#}
# This file is part of Galette Helloasso plugin (https://galette-community.github.io/plugin-helloasso).
# SPDX-FileCopyrightText: Copyright © 2025-2026 The Galette Team
# SPDX-License-Identifier: GPL-3.0-or-later
#}

{% extends 'elements/list.html.twig' %}

{% set filters = helloasso_history.filters %}
Expand Down
Loading