Skip to content

Commit

Permalink
Merge pull request #3368 from CachetHQ/drop-feeds
Browse files Browse the repository at this point in the history
Drop support for RSS & Atom feeds
  • Loading branch information
jbrooksuk committed Dec 27, 2018
2 parents 0893985 + b96c36f commit 3763a86
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 310 deletions.
124 changes: 0 additions & 124 deletions app/Http/Controllers/FeedController.php

This file was deleted.

53 changes: 0 additions & 53 deletions app/Http/Routes/FeedRoutes.php

This file was deleted.

1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
"nexmo/client": "^1.5",
"pragmarx/google2fa": "^0.7.1",
"predis/predis": "^1.1",
"roumen/feed": "^2.10",
"twig/twig": "^1.35"
},
"require-dev": {
Expand Down
1 change: 0 additions & 1 deletion config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@
Laravolt\Avatar\ServiceProvider::class,
McCool\LaravelAutoPresenter\AutoPresenterServiceProvider::class,
PragmaRX\Google2FA\Vendor\Laravel\ServiceProvider::class,
Roumen\Feed\FeedServiceProvider::class,

/*
* Application Service Providers...
Expand Down
3 changes: 0 additions & 3 deletions resources/views/layout/master.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
<meta name="env" content="{{ app('env') }}">
<meta name="token" content="{{ csrf_token() }}">

<link rel="alternate" type="application/atom+xml" href="{{ cachet_route('feed.atom') }}" title="{{ $siteTitle }} - Atom Feed">
<link rel="alternate" type="application/rss+xml" href="{{ cachet_route('feed.rss') }}" title="{{ $siteTitle }} - RSS Feed">

<!-- Mobile friendliness -->
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
Expand Down
6 changes: 0 additions & 6 deletions resources/views/partials/footer.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@
<a class="btn btn-link" href="{{ cachet_route('auth.logout') }}">{{ trans('dashboard.logout') }}</a>
</li>
@endif
<li>
<a class="btn btn-link" href="{{ cachet_route('feed.rss') }}">{{ trans('cachet.rss-feed') }}</a>
</li>
<li>
<a class="btn btn-link" href="{{ cachet_route('feed.atom') }}">{{ trans('cachet.atom-feed') }}</a>
</li>
@if($enableSubscribers)
<li>
<a class="btn btn-success btn-outline" href="{{ cachet_route('subscribe') }}">{{ trans('cachet.subscriber.button') }}</a>
Expand Down
29 changes: 0 additions & 29 deletions resources/views/vendor/feed/atom.blade.php

This file was deleted.

89 changes: 0 additions & 89 deletions resources/views/vendor/feed/rss.blade.php

This file was deleted.

4 changes: 0 additions & 4 deletions tests/Foundation/Providers/RouteServiceProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,6 @@ public function testWhenAlwaysAuthenticateIsEnabledAllNormalRoutesAreAuthenticat
'core::get:schedule',
'core::get:metric',
'core::get:component_shield',
'core::get:feed.atom',
'core::get:feed.rss',
'core::get:subscribe',
'core::post:subscribe',
'core::get:subscribe.manage',
Expand All @@ -151,8 +149,6 @@ public function testWhenAlwaysAuthenticateIsDisabledAllNormalRoutesAreUnauthenti
'core::get:schedule',
'core::get:metric',
'core::get:component_shield',
'core::get:feed.atom',
'core::get:feed.rss',
'core::get:subscribe',
'core::post:subscribe',
'core::get:subscribe.manage',
Expand Down

0 comments on commit 3763a86

Please sign in to comment.