Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TAN-2538 Cleanup old initiatives code (Part 2) #9819

Open
wants to merge 60 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
6d66070
[TAN-2538] Remove seeding of initiatives
jinjagit Dec 17, 2024
3b450c9
[TAN-2538] Remove web_api/v1 controller + routes - see what breaks
jinjagit Dec 17, 2024
7952f55
[TAN-2538] Remove _status_changes_ & _statuses_ controllers & obviosu…
jinjagit Dec 17, 2024
14c692e
[TAN-2538] Fix test in rack_attack_spec
jinjagit Dec 17, 2024
2c6c10c
[TAN-2538] Fix test in followers_spec
jinjagit Dec 17, 2024
f59794f
[TAN-2538] Remove tests from internal_comments_spec
jinjagit Dec 17, 2024
72b13a2
[TAN-2538] Remove serializers & spec
jinjagit Dec 17, 2024
7b704a2
[TAN-2538] Fix tests + remove from machine_translations controller & …
jinjagit Dec 17, 2024
512c00b
[TAN-2538] Remove 8 initiative related policies & 4 related specs
jinjagit Dec 17, 2024
0c2edf7
[TAN-2538] Remove from CONSTANTIZER in imges & files controllers
jinjagit Dec 17, 2024
fb6058c
[TAN-2538] Remove from Folower FOLLOWABLE_TYPES + folllower_policy_sp…
jinjagit Dec 17, 2024
a0f51a4
[TAN-2538] Remove from UserCommentsController
jinjagit Dec 17, 2024
4b8420e
[TAN-2538] Comment out back/engines/commercial/admin_api/spec/graphql…
jinjagit Dec 17, 2024
0910e98
[TAN-2538] Remove stats_initiatives routes, controller & spec
jinjagit Dec 17, 2024
6660cd7
[TAN-2538] Remove test from avatars_spec
jinjagit Dec 17, 2024
24c653f
[TAN-2538] Remove SideFxInitiativesService + spec
jinjagit Dec 17, 2024
ebbbdba
[TAN-2538] Comment out problematic test in SideFxCommentService + add…
jinjagit Dec 17, 2024
6d9bcb4
[TAN-2538] Remove InitiativesFinder + spec
jinjagit Dec 17, 2024
af95d97
[TAN-1084] Remove initiatives from UserController#comments_count + cl…
jinjagit Dec 17, 2024
df14123
[TAN-1084] Remove comment_on_initiative_you_follow notification + spec
jinjagit Dec 17, 2024
fa6efd6
[TAN-1084] Remove notifications/status_change_on_initiative_you_follo…
jinjagit Dec 17, 2024
c921772
[TAN-1084] Remove side_fx_initiative_status_change_service + spec
jinjagit Dec 17, 2024
9100216
[TAN-1084] Remove notifications/official_feedback_on_initiative_you_f…
jinjagit Dec 17, 2024
95f5542
Merge branch 'master' into TAN-2538-BE-remove-initiatives-code-part-1
jinjagit Dec 17, 2024
cf688c9
[TAN-2538] Remove 3 deleted notification classes from NotificationSer…
jinjagit Dec 18, 2024
a9014e4
[TAN-2538] Remove test from notification service
jinjagit Dec 18, 2024
9df49f0
[TAN-2538] Remove status_change_on_initiative_you_follow mail code & …
jinjagit Dec 18, 2024
c05e9fd
[TAN-2538] Remove MJML for StatusChangeOnInitiativeYouFollow
jinjagit Dec 18, 2024
5586579
[TAN-2538] Fix footer spec
jinjagit Dec 18, 2024
cea1e4c
[TAN-2538] Remove OfficialFeedbackOnInitiativeYouFollow mail files & …
jinjagit Dec 18, 2024
5a4e470
[TAN-2538] Remove test from notification_spec
jinjagit Dec 18, 2024
d56f56e
[TAN-2538] Remove test from fact_participation_spec
jinjagit Dec 18, 2024
68c5c93
[TAN-2538] Remove comment_on_initiative_you_follow mail files & specs
jinjagit Dec 18, 2024
647aee6
[TAN-2538] Remove constant value & factory of removed campaign
jinjagit Dec 18, 2024
f16dbac
[TAN-2538] Remove OfficialFeedbackOnInitiativeYouFollow campaign file…
jinjagit Dec 18, 2024
4bd4c16
[TAN-2538] Remove OfficialFeedbackOnInitiativeYouFollow factory
jinjagit Dec 18, 2024
5b85c78
[TAN-2538] Remove OfficialFeedbackOnInitiativeYouFollow notification …
jinjagit Dec 18, 2024
f2f7f65
[TAN-2538] Fix campaigns_spec
jinjagit Dec 18, 2024
bfd31f3
[TAN-2538] Fix notifications_spec
jinjagit Dec 18, 2024
2514774
[TAN-2538] Improve tests in side_fx-comment_service_spec
jinjagit Dec 18, 2024
0eaad86
[TAN-2538] Remove InitiativeAssignedToYou notification & campaign fil…
jinjagit Dec 18, 2024
83a5c86
[TAN-2538] Remove InitiativeMarkedAsSpam notification & campaign file…
jinjagit Dec 18, 2024
776db91
[TAN-2538] Remove InitiativePublished campaign files & specs
jinjagit Dec 18, 2024
6e4eb31
[TAN-2538] Remove InitiativeResubmittedForReview notification & campa…
jinjagit Dec 18, 2024
533091f
[TAN-2538] Remove CosponsorOfYourInitiative notification & campaign f…
jinjagit Dec 18, 2024
d5b4e95
[TAN-2538] Remove InternalCommentOnInitiativeAssignedToYou notificati…
jinjagit Dec 18, 2024
acc9891
[TAN-2538] Remove InternalCommentOnInitiativeYouCommentedInternallyOn…
jinjagit Dec 18, 2024
3346e5e
[TAN-2538] Remove InternalCommentOnUnassignedInitiative notification …
jinjagit Dec 18, 2024
7548317
[TAN-2538] Remove InvitationToCosponsorInitiative notification & camp…
jinjagit Dec 18, 2024
b1b2848
[TAN-2538] Remove NewInitiativeForAdmin notification & campaign files…
jinjagit Dec 18, 2024
20d3915
[TAN-2538] Use idea factory in threshold_reached_for_admin factory
jinjagit Dec 18, 2024
5c5a65c
[TAN-2538] Comment out failing intitiative_spec test
jinjagit Dec 18, 2024
8b13bb6
[TAN-2538] Remove admin_api controller & spec
jinjagit Dec 18, 2024
92308a2
[TAN-2538] Remove initiatives from admin_api graphql query_type.rb
jinjagit Dec 18, 2024
25d46e3
[TAN-2538] Remove permissions + spec
jinjagit Dec 18, 2024
f872d6f
[TAN-2538] Remove action_descriptors_controller & spec
jinjagit Dec 18, 2024
8647285
[TAN-2538] Fix 2 permissions related tests
jinjagit Dec 18, 2024
2e90958
[TAN-2538] Delete a bunch of initiatives related campaigns translations
jinjagit Dec 18, 2024
7fa1703
[TAN-2538] Remove public_api controller, route + spec
jinjagit Dec 19, 2024
a40997f
[TAN-2538] Fix ThresholdReachedForAdminMailerPreview
jinjagit Dec 20, 2024
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
11 changes: 0 additions & 11 deletions back/app/controllers/web_api/v1/action_descriptors_controller.rb

This file was deleted.

7 changes: 0 additions & 7 deletions back/app/controllers/web_api/v1/files_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,6 @@ class WebApi::V1::FilesController < ApplicationController
file_relationship: :idea_files,
container_id: :idea_id
},
'Initiative' => {
container_class: Initiative,
file_class: InitiativeFile,
policy_scope_class: InitiativeFilePolicy::Scope,
file_relationship: :initiative_files,
container_id: :initiative_id
},
'Project' => {
container_class: Project,
file_class: ProjectFile,
Expand Down
7 changes: 0 additions & 7 deletions back/app/controllers/web_api/v1/images_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,6 @@ class WebApi::V1::ImagesController < ApplicationController
image_relationship: :event_images,
container_id: :event_id
},
'Initiative' => {
container_class: Initiative,
image_class: InitiativeImage,
policy_scope_class: InitiativeImagePolicy::Scope,
image_relationship: :initiative_images,
container_id: :initiative_id
},
'Project' => {
container_class: Project,
image_class: ProjectImage,
Expand Down

This file was deleted.

22 changes: 0 additions & 22 deletions back/app/controllers/web_api/v1/initiative_statuses_controller.rb

This file was deleted.

244 changes: 0 additions & 244 deletions back/app/controllers/web_api/v1/initiatives_controller.rb

This file was deleted.

Loading