Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split composite status into status and quality, add Unknown as valid quality #4221

Merged
merged 102 commits into from
Jun 3, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
c6c6453
Added ep_status and ep_quality to tv_episodes table
p0psicles May 19, 2018
be96bac
Replaced ep_status and ep_quality with status and quality.
p0psicles May 19, 2018
13ac681
Adapted Episode class to use separated status and quality.
p0psicles May 19, 2018
f2b6a13
-1 is also a valid status.
p0psicles May 19, 2018
d1fccb1
Refactored most of the composite statussus / quality into separate at…
p0psicles May 19, 2018
ce65654
Missed quality field in query
p0psicles May 19, 2018
7208c0d
-1 is not a valid default quality.
p0psicles May 19, 2018
d9c45af
Fixed default init of quality.
p0psicles May 19, 2018
c6c351f
Fix call to overview status.
p0psicles May 20, 2018
d38f701
Adapted the history table.
p0psicles May 20, 2018
dba2e97
Synced template changes.
p0psicles May 20, 2018
5d834c1
Fix trying to iterate int
medariox May 20, 2018
36c0c08
Update should_search. Requires 4 arguments now
medariox May 20, 2018
ffb764b
Fix schedule page
medariox May 20, 2018
c7c3cf3
Fix backlog overview
medariox May 20, 2018
f823350
Fix queries with references to Quality.STATUS.
p0psicles May 21, 2018
f132e66
Merge remote-tracking branch 'remotes/origin/develop' into feature/ad…
p0psicles May 21, 2018
8fac878
Fixed some typos.
p0psicles May 21, 2018
3383c5b
Reset quality UNKONWN to NONE.
p0psicles May 21, 2018
273434b
Fixed get_overview() calls.
p0psicles May 21, 2018
7e25812
Removed some more composite_status method calls.
p0psicles May 21, 2018
bb8a8c5
Fix snatchSelection page. Missed quality in select.
p0psicles May 22, 2018
3283493
Changed sql query DDL, to uppercase.
p0psicles May 22, 2018
d6cb232
Convert all status on each startup to status/quality.
p0psicles May 22, 2018
64aac18
Finish conversion of APIv1 funny code
medariox May 23, 2018
e9bc1a2
Remove last few split_composite_status
medariox May 23, 2018
cf631cf
Completely remove Quality.{status} from mako
medariox May 23, 2018
c61d582
Missed one quality compare in series
medariox May 23, 2018
8b990d6
Fix status check in subtitles
medariox May 23, 2018
602f05d
Reorder subtitles imports
medariox May 23, 2018
8a31599
Make UNKNOWN the lowest possible quality
medariox May 24, 2018
9fc29b0
Hide N/A from displayshow and backlog, fix quality comments
medariox May 24, 2018
b874a78
Make default quality explicit
medariox May 24, 2018
98aa5e6
Rename update_state to update_status_quality
medariox May 24, 2018
3fabd8d
Fix old statusPrefixes reference
medariox May 25, 2018
d514320
Update comment
medariox May 25, 2018
ca577f2
Add GROUP BY, to make the transition queries a little bit more effici…
p0psicles May 26, 2018
6aa5a94
Transform failed.db/history: old_status to status + quality fields
p0psicles May 26, 2018
0216f58
Fix bug in failed.db history migration.
p0psicles May 27, 2018
f71787f
Finish failed_db upgrade
medariox May 27, 2018
78e97d8
Small fix
medariox May 27, 2018
61ca57c
Remove unused functions
medariox May 27, 2018
087a8fd
Clear provider tables for cache.db, lint sql a bit, finish db upgrade
medariox May 28, 2018
bfb6d32
UNSET status should always have NA quality
medariox May 28, 2018
db10547
Merge branch 'develop' into feature/add-db-status-quality-fields
medariox May 28, 2018
2e19f7b
Fix APIv1 show.stats
medariox May 29, 2018
ada351f
Fix most tests
medariox May 29, 2018
6dc4fea
Fix remaining tests
medariox May 29, 2018
1eda022
flake8
medariox May 29, 2018
785eab8
Remove old Unknown Quality hacks
medariox May 29, 2018
0982157
Update tests and add cases
medariox May 29, 2018
5f88e72
Merge branch 'develop' into feature/add-db-status-quality-fields
medariox May 29, 2018
3fb5774
Fix SQL statement
medariox May 29, 2018
f9e3863
Put provider name in quotes. Thanks @sharkykh
medariox May 29, 2018
a3a7690
Add space in SQL query
medariox May 29, 2018
71265ea
Fix qualities not showing after a manual snatch
medariox May 30, 2018
a1621ee
Merge remote-tracking branch 'origin/feature/add-db-status-quality-fi…
medariox May 30, 2018
942eb30
Fix status compare. Thanks @sharkykh
medariox May 30, 2018
49ebf4a
Use explicit status/quality instead of integers
medariox May 31, 2018
3e3ec64
Improve log message and doc
medariox May 31, 2018
b4b27ca
Improve trakt_checker.py coding style
medariox May 31, 2018
cfdc8aa
Compare quality value instead of name
medariox May 31, 2018
aa18bfd
Removed extra space from SQL query
medariox May 31, 2018
144b51d
Fix doc in series, remove try_int and or
medariox May 31, 2018
8319223
Renamed logSubtitle to log_subtitle
medariox May 31, 2018
ac3bd58
Remove superfluous parenthesis and variable
medariox May 31, 2018
2c7f463
Fix APIv1 history call. Thanks @sharkykh
medariox May 31, 2018
c8d0057
Merge branch 'develop' into feature/add-db-status-quality-fields
medariox May 31, 2018
6733870
Move handling unknown qualities to ShiftQualities migration
sharkykh May 31, 2018
580f000
Remove fix_status_qualities sanity check
sharkykh May 31, 2018
2cc797d
Update <InitialSchema>s
sharkykh May 31, 2018
cfe6058
Update AddSeparatedStatusQualityFields migration
sharkykh May 31, 2018
0b3d593
Remove commented out convert_archived_to_compound sanity check
sharkykh May 31, 2018
97d2ff8
Fix for new databases
sharkykh May 31, 2018
1655afb
Fix typo
sharkykh May 31, 2018
f425ea1
Remove composite_status_quality from Quality class
sharkykh May 31, 2018
ee7e2fa
flake8
sharkykh May 31, 2018
6054803
Improve Unset status comment
medariox May 31, 2018
7bf46eb
Remove super-ugly --------------- option
medariox May 31, 2018
70a036d
Merge branch 'develop' into feature/add-db-status-quality-fields
medariox May 31, 2018
68779e6
Fix default status on failed.db history table schema
sharkykh Jun 1, 2018
a9a1f3a
Fix composite_status splitting
sharkykh Jun 1, 2018
5bcaec6
Merge branch 'develop' into feature/add-db-status-quality-fields
sharkykh Jun 1, 2018
7eb05f8
Update to_guessit_format code and explaination
sharkykh Jun 1, 2018
6e6b374
Update Quality.to_guessit docstring
sharkykh Jun 1, 2018
72c7912
Use status constants in SQL queries
sharkykh Jun 1, 2018
bfbe112
fix import order
sharkykh Jun 1, 2018
665c5e8
Fix inconsistency with "file name" column and episode number tooltip
sharkykh Jun 1, 2018
fe1c9e8
Update Series.refresh_dir
sharkykh Jun 2, 2018
25346d9
More inconsistencies in displayShow
sharkykh Jun 2, 2018
3ab82f7
Restore compact history functionality
sharkykh Jun 2, 2018
aa8b431
Remove redundant quality from CompactItem
sharkykh Jun 2, 2018
3f089ae
Should fix N/A quality in displayShow, thanks @medariox
sharkykh Jun 3, 2018
ed0da46
Remove superfluous check
medariox Jun 3, 2018
0087179
Merge branch 'develop' into feature/add-db-status-quality-fields
medariox Jun 3, 2018
6e27c39
Fix Overview referenced but not imported.
p0psicles Jun 3, 2018
ef10b06
Fix allowed_qualities referenced before assigned.
p0psicles Jun 3, 2018
2e1e7da
Cast whichStatus to int.
p0psicles Jun 3, 2018
b519468
Fix DB upgrade with older DBs, improve upgrade logging
medariox Jun 3, 2018
5835a9c
Merge remote-tracking branch 'origin/feature/add-db-status-quality-fi…
medariox Jun 3, 2018
2f39b87
Indent manage_episodeStatuses.mako
medariox Jun 3, 2018
ad44aef
Gulp sync
medariox Jun 3, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dredd/api-description.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1275,7 +1275,7 @@ definitions:
properties:
enabled:
type: boolean
dbFilename:
dbPath:
type: string
pythonVersion:
type: string
Expand Down
Loading