5203 Commits

Author SHA1 Message Date
Romain Porte
879f899952 Replaced /bin/celeryd by /bin/celery in lazycelery
On a fresh clone the celeryd executable is not present. This is because
of the celery version migration to celery 4.x. As per celery's
documentation at http://docs.celeryproject.org/en/latest/whatsnew-4.0.html,
celeryd is no longer shipped in this version.
2017-11-11 16:04:26 +03:00
Andrew Browning
807f96d5c4 Fix location of host-meta.xml file [#5543] 2017-10-31 11:55:52 -04:00
Andrew Browning
d3943a2bc0 Fix trivial spelling error in test comment 2017-10-23 00:05:37 -04:00
Simen Heggestøyl
2ad4630c03 Port batchaddmedia command to Python 3 2017-10-16 18:25:40 +03:00
Simen Heggestøyl
480aa3a204 Make admin panel headers readable in Airy theme
The admin panel headers are white by default, making them almost
unreadable on the light background used in the Airy theme. Make the
headers dark, like text elsewhere in the theme.
2017-10-16 18:24:17 +03:00
Simen Heggestøyl
4727ee109e Handle collection in batchaddmedia command
Make the batchaddmedia command look for a 'collection-slug' column, that
for each row may specify the slug of a collection that the media should
be added to. This matches the '--collection-slug' argument of the
addmedia command.
2017-10-16 18:22:30 +03:00
Simen Heggestøyl
3eadd6705e Support Unicode characters in configuration values
Prior to this commit, using a Unicode character in a configuration
string would result in a `UnicodeDecodeError` being raised. Supporting
Unicode characters is especially useful in user-facing configuration
strings, such as `html_title`.
2017-10-16 18:21:28 +03:00
Simen Heggestøyl
ceab88e3bd Remove dead code in batchaddmedia.py
Remove an unused import and an unused local variable from
batchaddmedia.py.
2017-10-16 18:20:30 +03:00
Andrew Browning
0af3ba7fc1 Update batchaddmedia csv description docs [5458]
Commit c0ea2bad changed the expected location column header of csv files
used by the batchaddmedia command from 'media:location' to 'location'.
This change updates the docs to match.
2017-10-08 16:26:46 -04:00
Andrew Browning
b121d89cc5 Fix #5460 - Log IP address for failed login
This patch logs the remote address when a login attempt fails.
2017-09-20 01:48:17 -04:00
Andrew Browning
eee3e41bcf Fix #5517 - Change docs to clone repo using https 2017-09-20 01:39:46 -04:00
Andrew Browning
66dbc22e73 Add unit test for #5524
Add a unit test to verify that the change introduced in 07c535c no
longer resulst in a zero divide error when gps data contains no divisor.

This commit includes a test image created by Andrew Browning. Andrew
Browning dedicates this image to the public domain under the CC0 license.
2017-09-20 01:02:10 -04:00
Andrew Browning
07c535c876 Fix #5524 Zero division error in exif.py
This patch implements the safe_gps_ratio_divide function for gps
direction and altitude values to prevent a zero divide error on
malformed GPS data.
2017-09-20 00:22:19 -04:00
Vijeth Aradhya
0eeb2adad7 Merge branch 'multiple-qualities-frontend' into 'transcoding_progress'
Minor changes

See merge request !3
2017-08-29 06:06:23 +00:00
vijeth-aradhya
f1cdf74202 Change complimentary_task to complementary_tas
Closes #11
2017-08-29 11:26:12 +05:30
vijeth-aradhya
7fb50b7a21 Remove self.entry in VideoTranscoder 2017-08-27 23:12:46 +05:30
vijeth-aradhya
e86e08ae74 Show default resolution progress in processing panel 2017-08-22 13:35:44 +05:30
vijeth-aradhya
b89e12a23e Add main_transcoding_progress to ProgressCallback 2017-08-22 13:34:53 +05:30
vijeth-aradhya
beb9121c0d Add main_transcoding_progress column migration
This field is required to store the progress of the default
resolution of the media. So, we now store the total progress of transcoding
the video in 'transcoding_progress' and progress of transcoding the default
resolution in 'main_transcoding_progress'.
2017-08-22 13:22:23 +05:30
vijeth-aradhya
bccc79391a Add videojs-resolution-switcher to gitignore 2017-08-22 00:15:21 +05:30
vijeth-aradhya
170cd28f9e Create a seperate test for get_all_media 2017-08-17 17:57:29 +05:30
vijeth-aradhya
283043f14d Add test for get_all_media()
Check for it's returned values.
2017-08-16 21:52:22 +05:30
ayleph
763eae89d9 Fix #5514 - Add to Collection causes server error
Re-arrange code to check whether a collection has been selected prior
to checking whether an item already exists in the selected collection.
This fixes a regression introduced in 0f3bf8d.
2017-08-15 02:39:00 -04:00
Andrew Browning
5487c3b0d9 Properly escape asterisk in *buntu 2017-08-15 02:29:54 -04:00
ayleph
2f2b4cbacb Fix #5513 - Can't delete blog post drafts
Modify the @get_media_entry_by_id decorator to return media regardless
of processing state. Separately modify all view functions that use the
@get_media_entry_by_id decorator to require that the media be in the
processed state, other than for the media_confirm_delete view. This
allows blog post drafts to be deleted without returning a 404. Further,
it adds the ability to delete unprocessed media in the future, which
would be a nice addition to the user processing panel.
2017-08-15 01:43:58 -04:00
vijeth-aradhya
7c5c0cfcb6 Change webm to webm_video in media_size check
Closes #8
2017-08-14 19:37:37 +05:30
Vijeth Aradhya
2bb617fa9e Merge branch 'master' into 'multiple-qualities-frontend'
Add multiple video qualities feature

See merge request !2
2017-08-14 12:08:36 +00:00
vijeth-aradhya
91a7b1226c Small changes to fixing transcode percentage
Related to #6
2017-08-11 19:40:41 +05:30
vijeth-aradhya
40f7e8d191 Change entry.title to entry.id in logging
Related to #5
2017-08-10 19:55:16 +05:30
vijeth-aradhya
3456abe901 Fix percentage reporting
Report transcoding_progress as the overall percent of all resolutions.
Modify Logging.

Closes #6
2017-08-10 19:55:00 +05:30
vijeth-aradhya
a0fa4b4bb2 Add unicode to accomodate title of MediaEntry
Related to #5
2017-08-08 22:09:08 +05:30
vijeth-aradhya
36c1e7dc2f Replace print statements to logging
Closes #5
2017-08-05 17:26:34 +05:30
vijeth-aradhya
87b6b431e3 Add previous mg css to video player 2017-07-31 22:08:28 +05:30
vijeth-aradhya
9dea49e663 Modify video.html to add video-resolution-switcher plugin 2017-07-23 10:12:07 +05:30
vijeth-aradhya
b57a682cd4 Add change-video-resolution.js to start video-resolution-switcher plugin 2017-07-23 10:10:06 +05:30
vijeth-aradhya
ca469bb08b Add video-resolution-switcher (video.js plugin) v0.4.2 2017-07-23 10:06:18 +05:30
vijeth-aradhya
d66d08d17c Change video.js version to v5.20.1 2017-07-23 10:03:45 +05:30
vijeth-aradhya
72fc6a05c1 Revert "Modify video template to accomodate multiple resolutions"
This reverts commit f6ba0e561bfb62991d70a4c002edf142d9d7540c.
2017-07-23 10:01:07 +05:30
vijeth-aradhya
f19e3f7ea5 Revert "Add change-video-resolution.js to start the plugin"
This reverts commit e44c4569c7f7ac4b0b1c8470f38f7f1d09dd00f8.
2017-07-23 10:01:04 +05:30
vijeth-aradhya
b58fda105d Revert "Modify video-js link folder and change version"
This reverts commit 0e49df65fea13b15c5566f2ee44842feaeaaccd0.
2017-07-23 10:01:00 +05:30
vijeth-aradhya
cb7ec2bd1c Revert "Add video-resolution-switcher (v0.4.2) plugin"
This reverts commit 19d7c450706df1aae74003fcfcfa03d17ebd6f54.
2017-07-23 10:00:48 +05:30
vijeth-aradhya
19d7c45070 Add video-resolution-switcher (v0.4.2) plugin 2017-07-18 09:46:37 +05:30
vijeth-aradhya
0e49df65fe Modify video-js link folder and change version 2017-07-18 09:44:06 +05:30
vijeth-aradhya
e44c4569c7 Add change-video-resolution.js to start the plugin 2017-07-16 21:18:05 +05:30
vijeth-aradhya
f6ba0e561b Modify video template to accomodate multiple resolutions
Add required JS/CSS plugin files.
Add JS file to fire up the plugin.
Modify video tag accordingly.
2017-07-16 21:16:25 +05:30
vijeth-aradhya
809ebf4536 Add get_all_media() in MediaEntryMixin
Returns all available qualties of a media with it's dimensions and
resolution label.
2017-07-16 20:43:08 +05:30
vijeth-aradhya
ae7ebecdbb Add property to media_fetch_order
Due to configurable resolution settings, this change is necessary to set the
default resolution and the others.
2017-07-03 18:46:42 +05:30
vijeth-aradhya
fe40b02e7d Fix test_accepted_resolutions
Add {'webm': (640, 640)}
2017-06-27 01:04:55 +05:30
Boris Bobrov
1f8c877d74 Merge branch 'master' of git.sv.gnu.org:/srv/git/mediagoblin 2017-06-26 21:32:56 +03:00
vijeth-aradhya
bd0b36be79 Implement copy_original and _keep_best
_keep_best is changed to keep_best now, and is added in processing_cleanup.
webm is added to ACCEPTED_RESOLUTIONS.
2017-06-25 21:22:30 +05:30