33 Commits

Author SHA1 Message Date
Joar Wandborg
0151060a5b Added thingiview.js symlink, fixes webgl view 2013-03-10 23:09:52 +01:00
Christopher Allan Webber
8db7eed3bc Removing html5shiv for not complying with its own licenses and racism
Issues of racism seem to have been resolved and removed from upstream,
but make having this as a dependency somewhat uncomfortable:
  https://github.com/aFarkas/html5shiv/issues/91

Regardless, at the time of writing the project doesn't comply with its
own license... it states to be dual licensed under MIT and GPLv2 but
distributes neither of these licenses with its source.
2013-02-26 17:50:11 -06:00
Christopher Allan Webber
d1d535602c Merge remote-tracking branch 'refs/remotes/origin/533-new-dropdown'
Conflicts:
	mediagoblin/templates/mediagoblin/base.html
	mediagoblin/templates/mediagoblin/root.html
2013-01-17 11:47:29 -06:00
Sebastian Spaeth
565d01a09a Bump bundled video.js to v3.2.3 (#512)
There is nothing inherently wrong with the currently bundled version,
but the last one was uploaded in March 2012 and there have been
upstream releases since. So bump to the latest available release 3.2.3.

Might help with the reported issue 512 of an unresponsive video player.

Do note that the Flash fallback option is removed. If we decide
this should be added it is easy to add it back.

We still use our own customized theme.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2012-12-25 19:16:03 +01:00
Jef van Schendel
75a086dafa Add header_dropdown.js 2012-12-04 21:12:00 +01:00
Christopher Allan Webber
78d932e792 Moving thingiview.js into extlib/ 2012-12-03 14:57:52 -06:00
Aeva Ntsc
171dcbe3a8 disabled auto rotate 2012-12-03 14:40:47 -06:00
Aeva Ntsc
2b19fd5135 Added the thingiview.js library. 2012-12-03 14:40:47 -06:00
Aeva Ntsc
47cd2f66b6 Added the thingiview.js library. 2012-12-03 14:40:47 -06:00
Sebastian Spaeth
fd79d33a87 Pop up OpenStreetMap license on demand (#410)
Only a short blurb "see map license" in the small map which will
pop up the full license text via jquery when clicked.
Adapt the license text as recommended by OpenStreetMap
http://www.openstreetmap.org/copyright and link there.

The disadvantage is that this only works when Javascript is enabled,
but as the map only works when Javascript is enabled in the first place,
this should not be too much of a limitation.

TODO: Our esteemed web designer needs to have a look at the desired color
style for this. Right now, I simply placed it in the message_warning
class. This might want fine-tuning.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2012-11-16 12:59:23 +01:00
Jef van Schendel
294979824c Replace dropdown in top right with regular links 2012-10-21 21:49:39 +02:00
Aaron Williamson
a0fdc00fab Added new files for collections 2012-09-18 18:10:36 +02:00
Joar Wandborg
1d83cf8a81 Added html5slider to support range inputs in Firefox 2012-04-18 12:06:10 +02:00
Joar Wandborg
196a518132 Media processing, transcoding, display fixes
- Added configurable options
  - Video
    - vp8_quality
    - vp8_threads
    - vorbis_quality
  - Audio
    - spectrogram_fft_size
  - ASCII
    - thumbnail_font
- Cleaned up ascii.asciitoimage
- Cleaned up video.transcoders
- Changed default video quality settings to better quality
- Changed default audio spectrogram solution to the double.
- Added a hacky notice for Firefox users instead of the broken range
  input.
2012-04-09 16:28:46 +02:00
Jef van Schendel
98853c63fd JS: fix first part of #422; make items in drop-down acutally work 2012-04-01 18:06:49 +02:00
Jef van Schendel
d297d8e834 Add dropdown to header 2012-04-01 16:02:23 +02:00
Joar Wandborg
97e40b5285 Seeking works in firefox
- Added support for indicating multiple buffered
  ranges (Firefox)
- Added volume slider (Chromium)
- Replaced stop button with faux pause button
- Added 'ended' event handler
2012-03-29 16:06:36 +02:00
Joar Wandborg
deea3f6661 Merge remote-tracking branch 'joar/audio+sniffing'
Conflicts:
	mediagoblin/media_types/image/processing.py
	mediagoblin/media_types/video/__init__.py
	mediagoblin/media_types/video/processing.py
	mediagoblin/tests/test_submission.py
2012-03-27 12:05:09 +02:00
Jef van Schendel
ebb24e4fd1 Add comment in JavaScript file about duplicating the password field 2012-03-26 20:23:49 +02:00
Jakob Kramer
952b97d5a0 set username default server-side 2012-03-25 21:51:09 +02:00
Jakob Kramer
6c49799deb Fill username automatically in (Forget Password)
Fill the username automatically in the "Forget Password" form
if the user already entered his username on the login page
2012-03-24 17:39:52 +01:00
Jakob Kramer
e8be1d7af5 Allow arrow keys in input fields and textareas
If you pressed an arrow key in a textarea before, the next/previous media
was opened.
2012-03-24 14:49:43 +01:00
Joar Wandborg
a9d84d4cb7 Faster sniffing
- Sniffing now goes through the old extension-based filter before
  doing it the bitsniffing way.
- Refractored get_media_type_and_manager(filename).
- Removed ogg extension from video accepted extensions, audio
  will take care of that.
- Added custom audio player, still WIP,but working.
- Added test for sniffing. This only tests for the
  mediagoblin.media_types.image type, as that is the only
  one enabled from start.
2012-03-22 01:27:19 +01:00
Sacha De'Angeli
560e22e7d2 adding the video.js wrapper 2012-03-12 19:44:55 -05:00
Jef van Schendel
1213b8260a Stop failing if there is no previous/next to go to 2012-03-05 19:27:26 +01:00
Jef van Schendel
643278243c Add left and right arrow keys navigation (add new JS file, link it from media.html; add new navigation_right class to right button) 2012-02-14 16:59:31 +01:00
Christopher Allan Webber
cf29e8a824 It's 2012 all up in here 2012-02-02 09:44:13 -06:00
Joar Wandborg
9542a2ba07 JavaScript fixes - AGPL headers, etc
- Added AGPL header to comment_show.js, show_password.js
  and geolocation-map.js
- Removed console.log from geolocation-map.js
2012-01-28 01:31:56 +01:00
Joar Wandborg
836df45dbe Added code for leaflet geolocation map 2012-01-25 23:42:04 +01:00
Jef van Schendel
7945cd21ba * Rename mediagoblin_header, mediagoblin_body, mediagoblin_footer, mediagoblin_header_right, mediagoblin_logo
* Add html5shiv for older browsers
* Small size fix (940px instead of 960pgx)
2012-01-05 23:36:16 +01:00
Jef van Schendel
ada0642e5a Seperate jQuery bit that was still in media.html 2012-01-01 22:58:32 +01:00
Jef van Schendel
550d48d040 Forgot to include the newly created JS file 2011-12-29 22:56:42 +01:00
Jef van Schendel
92417fc535 First push with jQuery library 2011-12-02 21:17:55 +01:00