Commit Graph

62 Commits

Author SHA1 Message Date
9f0b6881dd Asure not too many queries are run 2020-05-21 20:09:03 +02:00
c17b558d14 Ability to generate unique fields in factories 2020-05-21 20:09:03 +02:00
c6f2bacf0f Useful conditions can be put in lambdas
and an extra test to asure transcoding with upload is possible
2020-05-21 19:41:57 +02:00
2e1c7e7165 Raise NotImplementedError when unknown model is passed 2020-05-21 19:41:57 +02:00
019adcba56 Uploads are already 'lazily' executed 2020-05-21 19:41:57 +02:00
8c4ec83993 Use lambda for dependencies
so they won't be created when dependency is already provided
2020-05-21 19:41:57 +02:00
29fb109b6f Helper function to improve code 2020-05-21 19:41:57 +02:00
8e6a36212d Use SimpleTestCase for unit tests 2020-05-21 17:42:41 +02:00
61c178d222 Clean temporary files by default 2020-05-21 17:42:41 +02:00
40490d6086 Better upload handling in temporary dirs 2020-05-21 17:42:41 +02:00
e1aff0c7a1 Test get_short_name_of_transcoding_type() 2020-05-21 17:42:41 +02:00
63ce1078e4 test models.get_quality_by_name() 2020-05-21 17:42:41 +02:00
2cbd8bf49d Added unit module 2020-05-21 17:42:41 +02:00
1141f6d4a6 CreateTranscodingTestCase
test constraints on model
2020-05-21 17:42:41 +02:00
8ace8d3312 test_video_uploads_shows_correctly 2020-05-21 17:42:41 +02:00
f8a3151672 Better video tag test 2020-05-21 17:42:41 +02:00
9b732c55d7 test_video_show_correct_default_quality quality selectors 2020-05-21 17:42:41 +02:00
a58618c920 test_video_shows_correct_quality_for_parameter 2020-05-21 17:42:41 +02:00
046dc94c77 test_video_show_correct_default_quality 2020-05-21 17:42:41 +02:00
56c7e24969 Usefull basic view test for video 2020-05-21 17:42:41 +02:00
b54ef76881 Stub video page view test 2020-05-21 17:42:41 +02:00
9492e8445b Stub index view test 2020-05-21 17:42:41 +02:00
aa4025d138 Names for url components
so they can be used with reverse()
2020-05-21 17:42:41 +02:00
de2d58356b Do not generate uneccessary objects 2020-05-21 17:42:41 +02:00
146df2d3b1 test_can_overwrite_kwargs 2020-05-21 17:42:37 +02:00
eb90bca467 Atempt to create model factories 2020-05-21 17:42:24 +02:00
5c89842b92 Some basic model tests 2020-05-21 17:42:17 +02:00
8f3acfef9b Test stub 2020-05-21 17:42:04 +02:00
a92e874371 Merge branch 'bump-project'
Work of last month to get this project running for the first release.
2020-05-21 17:19:21 +02:00
88de77b261 Convert remaining space indentings to tabs 2020-05-21 16:55:33 +02:00
04c96bcb53 Remove testviews 2020-05-20 14:12:04 +02:00
24edb7717a Ability to use a base URL
usefull to prefix the application URL on deployment
2020-05-20 14:12:04 +02:00
c6da876620 Fix URLs for else the admin wont work 2020-05-20 14:12:04 +02:00
1ee58f1b66 Reorganized settings
ability to override with localsettings
2020-05-20 14:12:04 +02:00
7daff47d5c No prefixing slash in URLs 2020-05-20 14:12:04 +02:00
8d80745469 Add Jinja2 to requirements.txt 2020-05-20 14:12:04 +02:00
b8221ba261 Custom table names
better in my opinion. especially if we once decide to rename
the django app
2020-05-20 14:12:04 +02:00
fc7af4fa78 Simple index page 2020-05-20 14:12:04 +02:00
be747db93f Ability to specify default quality for video 2020-05-20 14:12:04 +02:00
1634bf33c2 Useful video list view in admin 2020-05-20 14:12:04 +02:00
8f57e6c0cf Highlight current quality 2020-05-20 14:12:04 +02:00
8140a77e61 Fix defaultdict problem 2020-05-20 14:12:04 +02:00
4bff78d0ac Fix uploads serving 2020-05-20 14:12:04 +02:00
3a06e4ec9f Implement video view page 2020-05-20 14:12:04 +02:00
f5be1b5156 Added poster and og_image 2020-05-20 14:12:04 +02:00
427bf3ac82 Add get_short_name_of_transcoding_type() 2020-05-20 14:12:04 +02:00
fcabf013e0 Added transcoding types 2020-05-20 14:12:04 +02:00
2b5785444f Added better upload model 2020-05-20 14:12:04 +02:00
c2a9783c3c Licence and Readme 2020-05-10 22:16:28 +02:00
297a16a0b3 dirs for file storage 2020-05-04 20:27:14 +02:00