Commit Graph

463 Commits

Author SHA1 Message Date
geogolem 7d394dcff2 empty string case should not be only for the contains case 2017-03-02 15:21:39 -05:00
geogolem ff11388009 needed to pass the filterType, received the filterType and handle
the filterType
2017-03-02 15:14:43 -05:00
geogolem 392d63fe57 MovieIndexPage Stability + MovieEditor fix (#925)
* this fixes some issues where the table
was rendering with incorrect data
prior to it being updated....

it also has the FullCollection fetched when necessary..

this will make the movie Index be accurate even after deleting files
or when returning from the movieEditor..

The footer has been improved and since
FullMovieCollection is now kept up to date the footer changes
as the user performs operations and it shows all the time with proper info
even after deletions or changes made in the movieEditor.

Prior to this it was necessary to totally refresh the page..

switching between movie editor and movie index would give unpredicatable results.

these issues have been fixed

* this is a much better solution...

still testing, but likel ready to be merged

* removing comments

* fix the movieEditor -- client side paging in movieEditor

* major code cleanup, and a slightly better implementation
no need to use FullMovieCollection..

just use moviesCollection.fullCollection when in client mode

* display a message when saving is done

perhaps eventually we can have a spinning status indicator on the
save button.. but that is not necessary right away

* some minor adjustments

* remove parseInt for tmdbId

* fix bugs

* remove some alerts

* accidentally changes this on last commit

* use the same FullMovieList everywhere

* add back alert when save is done
2017-02-28 19:46:00 -05:00
Devin Buhl f9f67873ad small changes 2017-02-25 23:16:18 -05:00
geogolem 1c6a32b684 List sync with removal (#656) 2017-02-25 16:38:52 -05:00
Leonardo Galli ca164c2a24 Fix missing showing downloaded instead. 2017-02-25 00:04:53 +01:00
Leonardo Galli f07f2e77f6 Paging for movies :) (#861)
* First steps.

* Not really sure what I am doing here.

* Pretty hacky, but it works :)

* First filter works now.

* Fix all filters.

* Fix some filters.

* PageSize saving now works.

* Fixed items being added when a refresh movie is done.

* Downloaded sort not working.

* Sorting by downloaded status now works.

Extremely hacky, but ¯\_(ツ)_/¯

* Fixed issue where users were stuck when filtering.

* Sorting via that button works now.

* Removed temp thingy.
2017-02-24 19:52:40 +01:00
geogolem bab7bd20cd the Search All Missing button (#860)
was searching all missing and monitored only
though the dialog that popped up was informing the user it was
going to search for x movies, where x corresponded to the number
of movies filtered on the page.

I changed this button, so now it will search all the items as they are
filtered on the page.

For example, if you want to search all missing (regardless of
monitor/unmonitor) click the all filter and click the button.

If you want to search only monitored/missing, click the monitored button
and then click the search all button...

this included the old functionality, but allows the user alot more
flexibility...

i also added the all filter, and refactored the code,
so that builds the expression for the LINQ.. since this needed to be
used in two places.. just implement it once and use it in both places..

I tested this out... and stepped through with debugger.. i also did a
quick test of everything else. Im confident that the featureset
implemented and bugs fixed by this commit are OK... Im not 100% that
other parts of radarr dont use the same MissingMovieSearch routines..
but i dont think so...
2017-02-24 03:22:55 -05:00
geogolem 9d29776e8e some minor cleanup + changed filter on wanted/missing (#845) 2017-02-23 06:33:54 -05:00
geogolem 140a220340 Min availability (#816)
* availability specification to prevent downloading titles before their
release

* pull inCinamas status out of js handlebars and set it in SkyHook

* minor code improvement

* add incinemas to footer

* typo

* another typo

* release date handling

* still print cinema date out for announced titles

* revert a minor change from before since its unnecessary

* early implementation of minimumAvailability --> when does radarr
consider a movie "available" should be specified by user
default to "Physical release?"

this isn't functional yet, but it has a skeleton + comments. I dont
know how to have the minimumavailability attribute default to something
or to have it actually populate the Movieinfo object
could use some help with that

* adding another comment for another location that might need to be
updated to handle minimumAvailability

* the implementation is now function;
however, i still need to specify default values for minimumAvailability

* missed these changes in the previous commit

* fix rounded corners on new field in editmovie dialog

* add minimum availability specification to the addMovie page

* minor adjustment from last commit

* handle the case where minimumavailability has never yet been set
nullstring.. if its never been set, default to Released (Physical/Web)
represented by integer value  3

* minAvailability specification on NetImport lists

* add support for min availability to the movie editor

* use enum MovieStatusType values directly

makes for cleaner code

* need to fix up the migration forgot in last commit

* cleaning up code, proper case

* erroneous code added in this feature needed to be removed

* update "Wanted" page to take into account minimumAvailability

* implement preDB minimumAvailability as default.. behaves same as
Physical/Web a few comments with TODO for when preDB is implemented

* minor adjustment

* remove some unused code (leave commented for now)

* improve code for minimumavailability and add option for
availabilitydelay (but doesnt do anything yet)

* improve isAvailable method

* clean up and fix helper info on indexer configuration page

* add buttons in Wanted/Missing view
2017-02-23 00:03:48 -05:00
Tim Turner 89e5001bad Patch/bulk import tests (#833)
* Ensure duplicates are not imported

* Clean up some unnecessary code

* Added some fancy tests for bulk import.
2017-02-22 11:21:05 +01:00
Tim Turner 056fb154a8 Patch/bulk import qol (#785)
* Filter out existing movies upon import
* Update collection based on what is imported
* Ensure root folders are loaded before collectionview

TODO:
* Ensure grid region exists
* Return information about what wasn't imported
* Filter collection based on duplicates
2017-02-21 15:31:31 -05:00
Devin Buhl a68dd6d2f7 Patch/onedr0p (#757)
* Fix double ? in log

* Rename Download Station to TorrentDownloadStation

* Rename Trakt, TMDb, and set Enable sync default to false

* Added omgwtfnzbs Newznab prefix

* Update Media info for Windows/macOS to 0.7.92.1
2017-02-15 17:37:23 -05:00
Leonardo Galli 07ff6558d1 Hopefully fixes a lot of null reference bugs in BulkImport 2017-02-11 23:25:27 +01:00
Leonardo Galli 4e8089dd42 Cutoff tab actually working now. 2017-02-10 17:30:35 +01:00
Devin Buhl 75436bcce4 Pass at seeing if this works on linux now (#692) 2017-02-10 03:17:28 -05:00
Devin Buhl f477c46406 Wanted & Missing (#687)
* Remove Season Pass, Update Header name, remove useless function

* Cutoff Tab now works
2017-02-10 00:15:41 -05:00
Devin Buhl df691488a9 Fixed MovieMissingModule failed while processing [MovieDownloadedEvent] 2017-02-09 16:52:35 -05:00
Leonardo Galli 35b384439f Bulk Import. (#583)
* First pass at bulk import.

* First pass at paging implementation for bulk import.

* Another pass at UI for bulk import

WHY WON'T THE ROWS SELECT?!?!

* Paging mostly done. UI needs to show loading still.

* Fix for selection

* fixes.

* Add caching to bulk import

* Tried to fix paging.

* Fix has next

* Fix link error.

* Pageable now works almost perfectly.

Collection now works really nicely when paged. Also movies from different pages can be added no problemo.

* /bulk-import: ProfileCell

Various other QoL changes

* Profile selection works now

Still kinda hacky

* Default monitored to true.

* Add Monitor Cell

Update styling, added path tooltip as well

* Update model when changing tmdbId

Ensure monitor status doesn't change as well

* Added spinner feedback for tmdbid cell.

* /bulk-import: Add page-size selector
2017-02-07 19:09:36 -05:00
Leonardo Galli 721773ef68 Fixed issue where quality weight was mapped wrongly. Fixes #597 2017-02-05 20:00:41 +01:00
Tim Turner e185ba0191 Don't display mapped movies in import list
When importing existing movies, don't list those which already exist in the collection.
2017-01-31 15:11:33 -05:00
Devin Buhl f9844c284a Merge pull request #487 from mitchellcash/port_validation
Fixed: Proper port validation for download clients and connections
2017-01-28 17:32:49 -05:00
Devin Buhl b6e4f53597 Make NetImport sync interval work (needs some testing) 2017-01-28 14:59:21 -05:00
Leonardo Galli 4abbf55ee4 Merge Develop into Net-Import 2017-01-28 20:32:57 +01:00
Leonardo Galli 5e9a79afe8 Quality of an existing movie file can now be edited. 2017-01-28 17:35:51 +01:00
Mark McDowall b76c54ceac Fixed: Proper port validation for download clients and connections 2017-01-28 09:26:47 +10:00
Leonardo Galli cbc70a8ff3 Added option to specify preferred words in quality profile. (#462)
* UI Done

* Should theoretically work.

* Preferred tags works now correctly :)
2017-01-27 20:01:28 +01:00
Leonardo Galli dd8af0ad8c Manual Import works now!
Also fixed a few bugs.
2017-01-27 19:36:25 +01:00
Leonardo Galli 44b4e71c05 Manual importing almost done. Needs fixing for mapping movies. 2017-01-26 14:21:35 +01:00
schumi2004 d132f55830 fix new rss-sync threshold 2017-01-25 10:52:29 +01:00
Leonardo Galli 032bc2d5c4 Add basic ui of manual import. 2017-01-23 20:51:33 +01:00
Leonardo Galli 80e53f209d Movies can now be added monitored or unmonitored. 2017-01-23 15:31:09 +01:00
Leonardo Galli 82f29cdc70 Add Ability to set RootFolderPath for Net Import List
Fixed other things. Finished command to automatically add a movie.
2017-01-23 15:21:49 +01:00
Leonardo Galli 12e74aa38b Change Forms Auth Cookie. Fixes #285 2017-01-22 18:18:15 +01:00
Leonardo Galli 94eccc6c14 Rethought about where certain things are stored.
Profiles are now a component of the NetImportDefinition.
2017-01-22 17:02:20 +01:00
Leonardo Galli 9fffcfaea3 Fix stuff regarding the ordering of Fields. 2017-01-22 15:08:25 +01:00
Leonardo Galli dd553b9439 WIP UI Update for adding lists. 2017-01-21 22:13:55 +01:00
Leonardo Galli 451f2d30e4 Merged branch develop into feature/net-import 2017-01-21 21:28:44 +01:00
Leonardo Galli 463d85e479 Basis of UI Update. 2017-01-21 21:28:14 +01:00
Leonardo Galli 2c52795822 Add base for netimport api. Still nothing on the UI side. 2017-01-21 21:09:02 +01:00
Leonardo Galli 40ca469339 Update MovieModule 2017-01-20 00:00:12 +01:00
Tim Turner 53cbfa803b Fix MediaCoversUpdatedEvent broadcast
Cleans exception when updating media covers expects a series Id.
2017-01-19 16:45:29 -05:00
Leonardo Galli f72b042d5d Blacklisting works now. 2017-01-19 17:43:23 +01:00
Vlad Ilies 4aec0e8fc6 fixed build 2017-01-18 21:09:00 +02:00
Vlad Ilies da2d075aa8 basic implementation of the wanted tab (#31)
* top buttons don't yet work

* new missing module for movies

*  find missing movies method to movie service

* new movie status cell with text

* adapted UI missing collection and layout
2017-01-18 20:53:17 +02:00
Devin Buhl c48fe9de12 Revert "Sonarr/sqlite updates" 2017-01-18 13:17:35 -05:00
Keivan Beigi d9e2b22e74 Upgraded System.Data.SQLite to 1.0.104.0 2017-01-17 18:45:23 -05:00
Tim Turner ae0df2aef0 Disambiguate Movie from Episode Renaming
Fixes #84
2017-01-16 17:12:27 -05:00
Leonardo Galli 967d3fd5c0 Add Calendar Tab back. Fixes #32 2017-01-16 22:40:59 +01:00
Vlad Ilies 30d2b41fbb Added movie studio to movie details page (#262)
* modified Movie model

* db migration

* ui template modification
2017-01-16 20:57:43 +02:00