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
7 changes: 5 additions & 2 deletions .github/workflows/ci-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,11 @@ jobs:

- name: Headers checks
run: |
cd galette-core/galette/plugins/plugin-activities
../../vendor/bin/docheader --docheader=../../../.docheader check lib ./*.php
cd galette-core
./bin/console galette:headers:check \
--project-name="Galette Activities plugin" \
--start-year="2024" \
--directory="galette/plugins/plugin-activities"

unit-tests:
runs-on: ubuntu-latest
Expand Down
19 changes: 3 additions & 16 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 (https://galette.eu).
*
* 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 Activities plugin (https://galette.eu).
* SPDX-FileCopyrightText: Copyright © 2024-2026 The Galette Team
* SPDX-License-Identifier: GPL-3.0-or-later
*/

declare(strict_types=1);
Expand Down
19 changes: 3 additions & 16 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 (https://galette.eu).
*
* 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 Activities plugin (https://galette.eu).
* SPDX-FileCopyrightText: Copyright © 2024-2026 The Galette Team
* SPDX-License-Identifier: GPL-3.0-or-later
*/

declare(strict_types=1);
Expand Down
19 changes: 3 additions & 16 deletions _routes.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 (https://galette.eu).
*
* 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 Activities plugin (https://galette.eu).
* SPDX-FileCopyrightText: Copyright © 2024-2026 The Galette Team
* SPDX-License-Identifier: GPL-3.0-or-later
*/

declare(strict_types=1);
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 Activities plugin (https://galette.eu).
* SPDX-FileCopyrightText: Copyright © 2024-2026 The Galette Team
* SPDX-License-Identifier: GPL-3.0-or-later
*/

import os, sys, argparse, re, git, http.client, subprocess
import urlgrabber.progress, tarfile, shutil, gitdb, time, fnmatch
from datetime import datetime
Expand Down
6 changes: 6 additions & 0 deletions bin/twig-cache
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
#!/bin/php
<?php

/**
* This file is part of Galette Activities plugin (https://galette.eu).
* SPDX-FileCopyrightText: Copyright © 2024-2026 The Galette Team
* SPDX-License-Identifier: GPL-3.0-or-later
*/

use Twig\Cache\CacheInterface;
use Twig\Cache\FilesystemCache;
use Twig\Environment;
Expand Down
19 changes: 3 additions & 16 deletions lib/GaletteActivities/Controllers/Crud/ActivitiesController.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 (https://galette.eu).
*
* 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 Activities plugin (https://galette.eu).
* SPDX-FileCopyrightText: Copyright © 2024-2026 The Galette Team
* SPDX-License-Identifier: GPL-3.0-or-later
*/

declare(strict_types=1);
Expand Down
19 changes: 3 additions & 16 deletions lib/GaletteActivities/Controllers/Crud/SubscriptionsController.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 (https://galette.eu).
*
* 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 Activities plugin (https://galette.eu).
* SPDX-FileCopyrightText: Copyright © 2024-2026 The Galette Team
* SPDX-License-Identifier: GPL-3.0-or-later
*/

declare(strict_types=1);
Expand Down
19 changes: 3 additions & 16 deletions lib/GaletteActivities/Entity/Activity.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 (https://galette.eu).
*
* 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 Activities plugin (https://galette.eu).
* SPDX-FileCopyrightText: Copyright © 2024-2026 The Galette Team
* SPDX-License-Identifier: GPL-3.0-or-later
*/

declare(strict_types=1);
Expand Down
19 changes: 3 additions & 16 deletions lib/GaletteActivities/Entity/Subscription.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 (https://galette.eu).
*
* 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 Activities plugin (https://galette.eu).
* SPDX-FileCopyrightText: Copyright © 2024-2026 The Galette Team
* SPDX-License-Identifier: GPL-3.0-or-later
*/

declare(strict_types=1);
Expand Down
19 changes: 3 additions & 16 deletions lib/GaletteActivities/Filters/ActivitiesList.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 (https://galette.eu).
*
* 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 Activities plugin (https://galette.eu).
* SPDX-FileCopyrightText: Copyright © 2024-2026 The Galette Team
* SPDX-License-Identifier: GPL-3.0-or-later
*/

declare(strict_types=1);
Expand Down
19 changes: 3 additions & 16 deletions lib/GaletteActivities/Filters/SubscriptionsList.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 (https://galette.eu).
*
* 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 Activities plugin (https://galette.eu).
* SPDX-FileCopyrightText: Copyright © 2024-2026 The Galette Team
* SPDX-License-Identifier: GPL-3.0-or-later
*/

declare(strict_types=1);
Expand Down
19 changes: 3 additions & 16 deletions lib/GaletteActivities/PluginGaletteActivities.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 (https://galette.eu).
*
* 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 Activities plugin (https://galette.eu).
* SPDX-FileCopyrightText: Copyright © 2024-2026 The Galette Team
* SPDX-License-Identifier: GPL-3.0-or-later
*/

declare(strict_types=1);
Expand Down
19 changes: 3 additions & 16 deletions lib/GaletteActivities/Repository/Activities.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 (https://galette.eu).
*
* 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 Activities plugin (https://galette.eu).
* SPDX-FileCopyrightText: Copyright © 2024-2026 The Galette Team
* SPDX-License-Identifier: GPL-3.0-or-later
*/

declare(strict_types=1);
Expand Down
19 changes: 3 additions & 16 deletions lib/GaletteActivities/Repository/Subscriptions.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 (https://galette.eu).
*
* 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 Activities plugin (https://galette.eu).
* SPDX-FileCopyrightText: Copyright © 2024-2026 The Galette Team
* SPDX-License-Identifier: GPL-3.0-or-later
*/

declare(strict_types=1);
Expand Down
6 changes: 6 additions & 0 deletions scripts/mysql.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
--
-- This file is part of Galette Activities plugin (https://galette.eu).
-- SPDX-FileCopyrightText: Copyright © 2024-2026 The Galette Team
-- SPDX-License-Identifier: GPL-3.0-or-later
--

SET FOREIGN_KEY_CHECKS=0;

--
Expand Down
4 changes: 3 additions & 1 deletion scripts/pgsql.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
--
-- Table structure for table `galette_activities_activities`
-- This file is part of Galette Activities plugin (https://galette.eu).
-- SPDX-FileCopyrightText: Copyright © 2024-2026 The Galette Team
-- SPDX-License-Identifier: GPL-3.0-or-later
--

DROP SEQUENCE IF EXISTS galette_activities_activities_id_seq;
Expand Down
24 changes: 5 additions & 19 deletions templates/default/activities.html.twig
Original file line number Diff line number Diff line change
@@ -1,23 +1,9 @@
{#
/**
* Copyright © 2003-2024 The Galette Team
*
* This file is part of Galette (https://galette.eu).
*
* 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 Activities plugin (https://galette.eu).
# SPDX-FileCopyrightText: Copyright © 2024-2026 The Galette Team
# SPDX-License-Identifier: GPL-3.0-or-later
#}

{% extends 'elements/list.html.twig' %}
{% import "macros.twig" as macros %}

Expand Down
Loading
Loading