Merge pull request #2621 from tidusjar/develop

Develop
This commit is contained in:
Jamie 2018-10-25 20:39:25 +01:00 committed by GitHub
commit 4f87f75432
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 49 additions and 17 deletions

View file

@ -6,6 +6,34 @@
## v3.0.3919 (2018-10-18) ## v3.0.3919 (2018-10-18)
### **Fixes**
- New translations en.json (French) [Jamie]
- New translations en.json (French) [Jamie]
- New translations en.json (French) [Jamie]
- New translations en.json (Dutch) [Jamie]
- Fixed the issue with mobile notifications. [Jamie]
- Fixed #2514. [Jamie]
## v3.0.3923 (2018-10-19)
### **New Features**
- Update CHANGELOG.md. [Jamie]
### **Fixes**
- Fixed #2601. [Jamie]
## v3.0.3919 (2018-10-17)
### **New Features** ### **New Features**
- Added automation tests for the voting feature. [TidusJar] - Added automation tests for the voting feature. [TidusJar]

View file

@ -11,12 +11,12 @@ namespace Ombi.Core.Rule.Rules.Search
{ {
public class CouchPotatoCacheRule : BaseSearchRule, IRules<SearchViewModel> public class CouchPotatoCacheRule : BaseSearchRule, IRules<SearchViewModel>
{ {
public CouchPotatoCacheRule(IRepository<CouchPotatoCache> ctx) public CouchPotatoCacheRule(IExternalRepository<CouchPotatoCache> ctx)
{ {
_ctx = ctx; _ctx = ctx;
} }
private readonly IRepository<CouchPotatoCache> _ctx; private readonly IExternalRepository<CouchPotatoCache> _ctx;
public async Task<RuleResult> Execute(SearchViewModel obj) public async Task<RuleResult> Execute(SearchViewModel obj)
{ {

View file

@ -10,12 +10,12 @@ namespace Ombi.Core.Rule.Rules.Search
{ {
public class LidarrAlbumCacheRule : SpecificRule, ISpecificRule<object> public class LidarrAlbumCacheRule : SpecificRule, ISpecificRule<object>
{ {
public LidarrAlbumCacheRule(IRepository<LidarrAlbumCache> db) public LidarrAlbumCacheRule(IExternalRepository<LidarrAlbumCache> db)
{ {
_db = db; _db = db;
} }
private readonly IRepository<LidarrAlbumCache> _db; private readonly IExternalRepository<LidarrAlbumCache> _db;
public Task<RuleResult> Execute(object objec) public Task<RuleResult> Execute(object objec)
{ {

View file

@ -10,12 +10,12 @@ namespace Ombi.Core.Rule.Rules.Search
{ {
public class LidarrArtistCacheRule : SpecificRule, ISpecificRule<object> public class LidarrArtistCacheRule : SpecificRule, ISpecificRule<object>
{ {
public LidarrArtistCacheRule(IRepository<LidarrArtistCache> db) public LidarrArtistCacheRule(IExternalRepository<LidarrArtistCache> db)
{ {
_db = db; _db = db;
} }
private readonly IRepository<LidarrArtistCache> _db; private readonly IExternalRepository<LidarrArtistCache> _db;
public Task<RuleResult> Execute(object objec) public Task<RuleResult> Execute(object objec)
{ {

View file

@ -9,12 +9,12 @@ namespace Ombi.Core.Rule.Rules.Search
{ {
public class RadarrCacheRule : BaseSearchRule, IRules<SearchViewModel> public class RadarrCacheRule : BaseSearchRule, IRules<SearchViewModel>
{ {
public RadarrCacheRule(IRepository<RadarrCache> db) public RadarrCacheRule(IExternalRepository<RadarrCache> db)
{ {
_db = db; _db = db;
} }
private readonly IRepository<RadarrCache> _db; private readonly IExternalRepository<RadarrCache> _db;
public Task<RuleResult> Execute(SearchViewModel obj) public Task<RuleResult> Execute(SearchViewModel obj)
{ {

View file

@ -207,7 +207,11 @@ namespace Ombi
var jobSetup = app.ApplicationServices.GetService<IJobSetup>(); var jobSetup = app.ApplicationServices.GetService<IJobSetup>();
jobSetup.Setup(); jobSetup.Setup();
ctx.Seed(); ctx.Seed();
var settingsctx = serviceProvider.GetService<ISettingsContext>();
var externalctx = serviceProvider.GetService<IExternalContext>();
settingsctx.Seed();
externalctx.Seed();
var provider = new FileExtensionContentTypeProvider { Mappings = { [".map"] = "application/octet-stream" } }; var provider = new FileExtensionContentTypeProvider { Mappings = { [".map"] = "application/octet-stream" } };
app.UseStaticFiles(new StaticFileOptions() app.UseStaticFiles(new StaticFileOptions()

View file

@ -29,7 +29,7 @@
} }
}, },
"PasswordReset": { "PasswordReset": {
"EmailAddressPlaceholder": "Adresse e-mail", "EmailAddressPlaceholder": "Courriel",
"ResetPasswordButton": "Réinitialiser le mot de passe" "ResetPasswordButton": "Réinitialiser le mot de passe"
}, },
"LandingPage": { "LandingPage": {
@ -79,7 +79,7 @@
"UpcomingMovies": "Films à venir", "UpcomingMovies": "Films à venir",
"TopRatedMovies": "Films les mieux notés", "TopRatedMovies": "Films les mieux notés",
"NowPlayingMovies": "Films à l'affiche", "NowPlayingMovies": "Films à l'affiche",
"HomePage": "Site du film", "HomePage": "Accueil",
"Trailer": "Bande-annonce" "Trailer": "Bande-annonce"
}, },
"TvShows": { "TvShows": {

View file

@ -65,7 +65,7 @@
"Paragraph": "Wil je iets kijken dat momenteel niet beschikbaar is? Geen probleem, zoek het hieronder op en vraag het aan!", "Paragraph": "Wil je iets kijken dat momenteel niet beschikbaar is? Geen probleem, zoek het hieronder op en vraag het aan!",
"MoviesTab": "Films", "MoviesTab": "Films",
"TvTab": "TV Series", "TvTab": "TV Series",
"MusicTab": "Music", "MusicTab": "Muziek",
"Suggestions": "Suggesties", "Suggestions": "Suggesties",
"NoResults": "Sorry, we hebben geen resultaten gevonden!", "NoResults": "Sorry, we hebben geen resultaten gevonden!",
"DigitalDate": "Digital Release: {{date}}", "DigitalDate": "Digital Release: {{date}}",
@ -103,7 +103,7 @@
"Paragraph": "Hieronder zie je jouw en alle andere verzoeken, evenals hun download en goedkeuring status.", "Paragraph": "Hieronder zie je jouw en alle andere verzoeken, evenals hun download en goedkeuring status.",
"MoviesTab": "Films", "MoviesTab": "Films",
"TvTab": "TV Series", "TvTab": "TV Series",
"MusicTab": "Music", "MusicTab": "Muziek",
"RequestedBy": "Verzocht Door:", "RequestedBy": "Verzocht Door:",
"Status": "Status:", "Status": "Status:",
"RequestStatus": "Aanvraagstatus:", "RequestStatus": "Aanvraagstatus:",
@ -129,8 +129,8 @@
"Filter": "Filter", "Filter": "Filter",
"Sort": "Sort", "Sort": "Sort",
"SeasonNumberHeading": "Seizoen: {seasonNumber}", "SeasonNumberHeading": "Seizoen: {seasonNumber}",
"SortTitleAsc": "Title ▲", "SortTitleAsc": "Titel ▲",
"SortTitleDesc": "Title ▼", "SortTitleDesc": "Titel ▼",
"SortRequestDateAsc": "Request Date ▲", "SortRequestDateAsc": "Request Date ▲",
"SortRequestDateDesc": "Request Date ▼", "SortRequestDateDesc": "Request Date ▼",
"SortStatusAsc": "Status ▲", "SortStatusAsc": "Status ▲",
@ -174,8 +174,8 @@
"MovieRemaining": "Movies: {{remaining}}/{{total}} remaining", "MovieRemaining": "Movies: {{remaining}}/{{total}} remaining",
"MusicRemaining": "Music: {{remaining}}/{{total}} remaining", "MusicRemaining": "Music: {{remaining}}/{{total}} remaining",
"TvDue": "TV: {{date}}", "TvDue": "TV: {{date}}",
"MovieDue": "Movie: {{date}}", "MovieDue": "Film: {{date}}",
"MusicDue": "Music: {{date}}" "MusicDue": "Muziek: {{date}}"
}, },
"Votes": { "Votes": {
"CompletedVotesTab": "Voted", "CompletedVotesTab": "Voted",