Skip to content

Commit

Permalink
refactor: remove bookmarks feature
Browse files Browse the repository at this point in the history
since there are no longer ways to collect bookmarks and esi seems frozen for now, remove bookmark feature and its dependencies.

Closes eveseat/seat#695
  • Loading branch information
warlof committed Dec 12, 2020
1 parent fc82db8 commit 9632f05
Show file tree
Hide file tree
Showing 22 changed files with 0 additions and 414 deletions.
1 change: 0 additions & 1 deletion src/Acl/EsiRolesMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ class EsiRolesMap
'corporation.wallet_fifth_division',
'corporation.wallet_sixth_division',
'corporation.wallet_seventh_division',
'corporation.bookmark',
'corporation.contact',
'corporation.standing',
'corporation.killmail',
Expand Down
5 changes: 0 additions & 5 deletions src/Config/Permissions/character.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,6 @@
'description' => 'web::permissions.character_transaction_description',
'division' => 'financial',
],
'bookmark' => [
'label' => 'web::permissions.character_bookmark_label',
'description' => 'web::permissions.character_bookmark_description',
'division' => 'military',
],
'contact' => [
'label' => 'web::permissions.character_contact_label',
'description' => 'web::permissions.character_contact_description',
Expand Down
5 changes: 0 additions & 5 deletions src/Config/Permissions/corporation.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,6 @@
'description' => 'web::permissions.corporation_wallet_seventh_division_description',
'division' => 'financial',
],
'bookmark' => [
'label' => 'web::permissions.corporation_bookmark_label',
'description' => 'web::permissions.corporation_bookmark_description',
'division' => 'military',
],
'contact' => [
'label' => 'web::permissions.corporation_contact_label',
'description' => 'web::permissions.corporation_contact_description',
Expand Down
8 changes: 0 additions & 8 deletions src/Config/package.character.menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,6 @@
'highlight_view' => 'assets',
'route' => 'character.view.assets',
],
[
'name' => 'bookmarks',
'label' => 'web::seat.bookmark',
'plural' => true,
'permission' => 'character.bookmark',
'highlight_view' => 'bookmarks',
'route' => 'character.view.bookmarks',
],
[
'name' => 'calendar',
'label' => 'web::seat.calendar',
Expand Down
8 changes: 0 additions & 8 deletions src/Config/package.corporation.menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,6 @@
'highlight_view' => 'assets',
'route' => 'corporation.view.assets',
],
[
'name' => 'bookmark',
'label' => 'web::seat.bookmark',
'plural' => true,
'permission' => 'corporation.bookmark',
'highlight_view' => 'bookmarks',
'route' => 'corporation.view.bookmarks',
],
[
'name' => 'contacts',
'label' => 'web::seat.contacts',
Expand Down
4 changes: 0 additions & 4 deletions src/Config/web.jobnames.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@
'character' => [
'assets' => \Seat\Eveapi\Jobs\Assets\Character\Assets::class,
'blueprints' => \Seat\Eveapi\Jobs\Character\Blueprints::class,
'bookmarks' => [
\Seat\Eveapi\Jobs\Bookmarks\Character\Bookmarks::class,
\Seat\Eveapi\Jobs\Bookmarks\Character\Folders::class,
],
'calendar' => [
\Seat\Eveapi\Jobs\Calendar\Events::class,
\Seat\Eveapi\Jobs\Calendar\Detail::class,
Expand Down
48 changes: 0 additions & 48 deletions src/Http/Controllers/Character/BookmarksController.php

This file was deleted.

48 changes: 0 additions & 48 deletions src/Http/Controllers/Corporation/BookmarksController.php

This file was deleted.

53 changes: 0 additions & 53 deletions src/Http/DataTables/Character/Intel/BookmarkDataTable.php

This file was deleted.

84 changes: 0 additions & 84 deletions src/Http/DataTables/Common/Intel/AbstractBookmarkDataTable.php

This file was deleted.

42 changes: 0 additions & 42 deletions src/Http/DataTables/Corporation/Intel/BookmarkDataTable.php

This file was deleted.

5 changes: 0 additions & 5 deletions src/Http/Routes/Character/View.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,6 @@
->uses('AssetsController@getContainer')
->middleware('can:character.asset,character');

Route::get('/{character}/bookmarks')
->name('character.view.bookmarks')
->uses('BookmarksController@index')
->middleware('can:character.bookmark,character');

Route::get('/{character}/calendar')
->name('character.view.calendar')
->uses('CalendarController@index')
Expand Down
5 changes: 0 additions & 5 deletions src/Http/Routes/Corporation/View.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@
->uses('AssetsController@getContainer')
->middleware('can:corporation.asset,corporation');

Route::get('/{corporation}/bookmarks')
->name('corporation.view.bookmarks')
->uses('BookmarksController@index')
->middleware('can:corporation.bookmark,corporation');

Route::get('/{corporation}/contacts')
->name('corporation.view.contacts')
->uses('ContactsController@index')
Expand Down
4 changes: 0 additions & 4 deletions src/resources/lang/de/permissions.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@
// Character Scope
'character_asset_label' => 'Zugriff auf Charakter Besitz gewähren.',
'character_asset_description' => 'Zeigt alle Besitztümer eines Charakter an, sowie deren Orte.',
'character_bookmark_label' => 'Zugriff auf Charakter Lesezeichen (Bookmarks) gewähren.',
'character_bookmark_description' => 'Zeigt alle aktiven Lesezeichen (Bookmarks) eines Charakters an, inklusive Ordnerstruktur, Name, Ort und Notizen.',
'character_calendar_label' => 'Zugriff auf Charakter Kalenderereignisse gewähren.',
'character_calendar_description' => 'Zeigt alle Kalenderereignisse an die einem Character zur Verfügung stehen.',
'character_contact_label' => 'Zugriff auf Charakter Kontakte gewähren.',
Expand Down Expand Up @@ -103,8 +101,6 @@
'corporation_asset_sixth_division_description' => 'Gewährt Einsicht auf die sechste Abteilung eines Corp-Büros.',
'corporation_asset_seventh_division_label' => 'Zugriff Corp-Büro Abteilung 7 gewähren.',
'corporation_asset_seventh_division_description' => 'Gewährt Einsicht auf die siebte Abteilung eines Corp-Büros.',
'corporation_bookmark_label' => 'Zugriff auf Corp Lesezeichen (Bookmarks) gewähren.',
'corporation_bookmark_description' => 'Zeigt jedes Lesezeichen (Bookmark) welches für die Corp erstellt wurde.',
'corporation_contact_label' => 'Zugriff auf Corp Kontakte gewähren.',
'corporation_contact_description' => 'Zeigt die Kontaktliste einer Corp an, inklusive Name, Ansehen und links zu nützlichen Tools wie zKillboard.',
'corporation_contract_label' => 'Zugriff auf Corp Verträge gewähren.',
Expand Down
Loading

0 comments on commit 9632f05

Please sign in to comment.