Skip to content

Commit 41094a6

Browse files
authored
chore: remove /admin page (#2516)
1 parent 2fa6501 commit 41094a6

File tree

15 files changed

+1
-855
lines changed

15 files changed

+1
-855
lines changed

.dialyzer_ignore.exs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
{"lib/dotcom_web/controllers/schedule/timetable_controller.ex", :no_return},
3939
{"lib/dotcom_web/controllers/search_controller.ex", :unknown_type},
4040
{"lib/dotcom_web/controllers/transit_near_me_controller.ex", :pattern_match},
41-
{"lib/dotcom_web/controllers/trip_plan/feedback.ex", :unmatched_return},
4241
{"lib/dotcom_web/router.ex", :unused_fun},
4342
{"lib/dotcom_web/stats.ex", :unmatched_return},
4443
{"lib/dotcom_web/views/bus_stop_change_view.ex", :unknown_type},

config/dev.exs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import Config
22

33
config :dotcom, :cache, Dotcom.Cache.Multilevel
4-
config :dotcom, :trip_plan_feedback_cache, Dotcom.Cache.TripPlanFeedback.Cache
54

65
config :kino_live_component,
76
css_path: "http://localhost:8090/app.css",

config/prod.exs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import Config
22

33
config :dotcom, :cache, Dotcom.Cache.Multilevel
4-
config :dotcom, :trip_plan_feedback_cache, Dotcom.Cache.TripPlanFeedback.Cache
54

65
# configured separately so that we can have the health check not require
76
# SSL

config/runtime.exs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,6 @@ config :dotcom, Dotcom.Cache.Multilevel,
9494
{Dotcom.Cache.Multilevel.Publisher, stats: true, telemetry: true}
9595
]
9696

97-
config :dotcom, Dotcom.Cache.TripPlanFeedback.Cache, redis_config
98-
9997
if config_env() == :test do
10098
config :dotcom, DotcomWeb.Router,
10199
basic_auth: [

config/test.exs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ config :dotcom, :redix_pub_sub, Dotcom.Redix.PubSub.Mock
3838
config :dotcom, :otp_module, OpenTripPlannerClient.Mock
3939
config :dotcom, :req_module, Req.Mock
4040

41-
config :dotcom, :trip_plan_feedback_cache, Dotcom.Cache.TestCache
42-
4341
# Let test requests get routed through the :secure pipeline
4442
config :dotcom, :secure_pipeline,
4543
force_ssl: [

lib/dotcom/application.ex

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ defmodule Dotcom.Application do
3535
{Dotcom.Telemetry, []},
3636
{Dotcom.Cache.Telemetry, []},
3737
{DotcomWeb.Telemetry, []},
38-
{Req.Telemetry, []},
39-
# We don't need to run this cache because we are using the local cache for tests
40-
{Dotcom.Cache.TripPlanFeedback.Cache, []}
38+
{Req.Telemetry, []}
4139
]
4240
else
4341
[]

lib/dotcom/cache/trip_plan_feedback/cache.ex

Lines changed: 0 additions & 5 deletions
This file was deleted.

lib/dotcom/cache/trip_plan_feedback/key_generator.ex

Lines changed: 0 additions & 31 deletions
This file was deleted.

lib/dotcom_web/controllers/trip_plan/feedback.ex

Lines changed: 0 additions & 33 deletions
This file was deleted.

lib/dotcom_web/controllers/trip_plan/feedback_csv.ex

Lines changed: 0 additions & 166 deletions
This file was deleted.

0 commit comments

Comments
 (0)