Skip to content

Commit

Permalink
Merge pull request afup#1359 from stakovicz/remove-mailings-lists
Browse files Browse the repository at this point in the history
Suppression mailings lists
  • Loading branch information
stakovicz authored Nov 23, 2023
2 parents ef474d6 + 1c356bb commit c51de10
Show file tree
Hide file tree
Showing 22 changed files with 71 additions and 968 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@
"lien": path('member_techletter'),
"is_active": current == "techletter",
},
{
"nom": "Listes de diffusion",
"lien": path('my_groups'),
"is_active": current == "mygroups",
},
{
"nom": "Assemblée générale",
"lien": path('member_general_meeting'),
Expand Down
12 changes: 0 additions & 12 deletions app/Resources/views/site/member/index.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -105,18 +105,6 @@
</div>
</div>
</div>
<div class="col-md-6 col-sm-12">
<div class="member-index-item">
{% set href = path('my_groups') %}
<a href="{{ href }}">
<i class="fa fa-envelope"></i>
</a>
<span class="member-index-item--title">Listes de diffusion</span>
<div class="member-index-item--link">
<a class="button-inverted button__medium" href="{{ href }}">Gérer mes abonnements</a>
</div>
</div>
</div>
</div>

<div class="container">
Expand Down
7 changes: 0 additions & 7 deletions app/config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -380,13 +380,6 @@ ting:
default:
connection: main
database: '%database_name%'
groups:
namespace : AppBundle\Groups\Model\Repository
directory : "@AppBundle/Groups/Model/Repository"
options:
default:
connection: main
database: '%database_name%'
throttling:
namespace : AppBundle\Security\ActionThrottling
directory : "@AppBundle/Security/ActionThrottling"
Expand Down
2 changes: 0 additions & 2 deletions app/config/parameters.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ parameters:
meetup_api_consumer_key: ""
meetup_api_consumer_secret: ""

google_groups_api_key: ""

techno_watch_calendar_url: "https://docs.google.com/spreadsheets/d/2cUeAk86Ov7BLYyn0Ad9ge3ecbsdboeQH64wIU9a9Zzp/export?format=csv"
techno_watch_calendar_key: "9Yt0feebMyMrUWx"

Expand Down
2 changes: 0 additions & 2 deletions app/config/parameters.yml.dist-docker
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ parameters:
meetup_api_consumer_key: ""
meetup_api_consumer_secret: ""

google_groups_api_key: ""

techno_watch_calendar_url: "https://docs.google.com/spreadsheets/d/2cUeAk86Ov7BLYyn0Ad9ge3ecbsdboeQH64wIU9a9Zzp/export?format=csv"
techno_watch_calendar_key: "9Yt0feebMyMrUWx"

Expand Down
4 changes: 0 additions & 4 deletions app/config/routing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ blog:
resource: "routing/blog.yml"
prefix: /blog

groups:
resource: "routing/groups.yml"
prefix: /admin/groups

cms_page:
resource: "routing/cms_page.yml"
prefix: /p
Expand Down
3 changes: 0 additions & 3 deletions app/config/routing/groups.yml

This file was deleted.

26 changes: 0 additions & 26 deletions app/config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -451,11 +451,6 @@ services:
factory: ["@ting", get]
arguments: [AppBundle\Event\Model\Repository\TicketSpecialPriceRepository]

AppBundle\Groups\Model\Repository\MailingListRepository:
class: AppBundle\Groups\Model\Repository\MailingListRepository
factory: ["@ting", get]
arguments: [AppBundle\Groups\Model\Repository\MailingListRepository]

AppBundle\Site\Model\Repository\RubriqueRepository:
class: AppBundle\Site\Model\Repository\RubriqueRepository
factory: ["@ting", get]
Expand Down Expand Up @@ -597,27 +592,6 @@ services:
AppBundle\Event\JsonLd:
autowire: true

Google_Client:
class: Google_Client
calls:
- ["setAuthConfig", ["%google_groups_api_key%"]]
- ["setScopes", [[!php/const Google_Service_Directory::ADMIN_DIRECTORY_GROUP, !php/const Google_Service_Directory::ADMIN_DIRECTORY_GROUP_READONLY]]]
- ["setSubject", ['[email protected]']]

Google_Service_Directory:
class: Google_Service_Directory
arguments: ["@Google_Client"]

AppBundle\Groups\GroupRepository:
autowire: true

AppBundle\Association\Listener\MembersGroupsListener:
arguments:
$logger: "@logger"
autowire: true
tags:
- { name: kernel.event_listener, event: member.new, method: onNewMemberEvent }

AppBundle\Offices\OfficeFinder:
arguments: ['@Geocoder\Provider\GoogleMaps']

Expand Down
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
"sabre/vobject": "^4.1",
"erusev/parsedown": "^1.6",
"dms/meetup-api-client": "^2.3",
"google/apiclient": "^2.0",
"robmorgan/phinx": "^0.9.2",
"presta/sitemap-bundle": "^1.5",
"setasign/fpdf": "1.53",
Expand Down
Loading

0 comments on commit c51de10

Please sign in to comment.