| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\ |
|
| |
| |
| |
| |
| | |
Scripts and stylesheets for the geolocation map are now
switched on/off with the geolocation map itself.
|
| |
| |
| |
| |
| |
| |
| | |
- Added <p> around license part to separate it properly
from other sidebar content
- Moved exif part to mediagoblin/utils/exif.html
- Moved geolocation map to mediagoblin/utils/geolocation_map.html
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
- Moved exif functions from mediagoblin.media_types.image.processing
to mediagoblin.tools.exif
- Moved EXIF.py link from mediagoblin.media_types to mediagoblin.tools.extlib
- Refractored and updated EXIF exctraction and presentation
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Images are now rotated based on EXIF image orientation
(in case the image isn't flipped on X or Y axis or
correctly oriented, then we do nothing)
- *Always* create a medium.jpg in image.processing, for
the sake of rotation of display image
- Extract EXIF and GPS tags from images and insert them
into media_data
- Geolocation map display added to media.html
- EXIF display added, then removed. It is not in this
revision, although some of it is (the "EXIF" h4
header). Need to make it presentable, filtering out
purely robotical tags, perhaps.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
The upcoming SQL database will allow having media without a
slug again. This might especially be useful for API
support, where the uploaded image (media) does not have
*any* information to generate a slug from.
This code change mostly allows the sql backend to have no
slug in its model and improves some parts to properly
handle that.
It specifically does not have any web frontend support to
edit/create MediaEntries with no slug.
|
|
|
|
| |
translation tags to license template.
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
If one isn't logged in and views the profile of a user
without media, one gets a problem, because request.user is
None and has no _id attribute.
Fix this.
|
| |
| |
| |
| | |
indentation so they are the same.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
1. reset.css was moved to /css/extlib/ some time ago.
So update the staticdirect link to it.
2. We don't have video-js.css (any more?). Drop link to it.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
mediagoblin_header_right, mediagoblin_logo
* Add html5shiv for older browsers
* Small size fix (940px instead of 960pgx)
|
| | |
|
| |\ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Removed <p> margin-top
* Vertically align logo so Add-media button does not fall off
* Remove last 960.gs traces (grid_X/container_X) and add custom classes/sizes to css
* Add clear class
* Update form_box and add form_box_xl for bigger forms
* Switch all pages that use forms to new classes
* Remove padding from notification messages so they take full width
* Other tiny fixes I forgot about
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The show password js depends on the password field to have
an id of "password". So give it a proper id.
Also fixed the label generation for the case of field.name
and field.id being different.
|
| | | |
|
| | | |
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
References to undefined variables in templates were
silently ignored/converted to None/empty strings. This
makes coding lazy stuff easy, but it makes catching typos
harder.
(It would have catched one of the SQL things earlier!)
But on the other hand it might make the current templates
error out everywhere. In fact, early testing has shown two
instances, that errored out. Those are fixed with this
commit too.
If this turns out to make things more complex and useless
than actually solving any problems, it can easily be
dropped again.
|
| |/ / |
|
| | |
| | |
| | |
| | | |
ticket #690
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Added ASCII media processing
* Added ASCII media display
* Added ASCII media type
Rebased from Joar Wandborg's ascii art branch (squashed to remove the
commits borrowing code of dubious license)
Fixed a bug in file submission error handling:
- Moved file-extension condition out of loop (what did it do there?)
- Updated file submission tests
- Changed error handling in file submission, should now report more
than absolutely necessary.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
margins, fixed Chrome width bug, wrapped checkbox in label element
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
sqlalchemy gives autoloading (hopefully caching) link to
other objects as properties. So turn get_uploader on the
current mongo based stuff into a property to ease
transition.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Replace
urlgen('ID', user=media.get_uploader().username, media=media.*)
by
media.url_for_self(urlgen)
in a few places.
It's just a lot nicer!
|
| | |
| | |
| | |
| | |
| | |
| | | |
"There doesn't seem to be any media here yet..." is now
translated also here (it's already in the list from another
place).
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
1) MediaComment's author method conflicts with the author
field. So rename it to get_author.
2) Turn it from a normal function into a python property.
That means you call it by ".get_author" not by
".get_author()". This is exactly what sqlalchemy gives
us free of charge.
|
| | | |
|
| | |
| | |
| | |
| | | |
just the inherent properties of the <video> tag (and some css for style)
|
| |\ \
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* remotes/joar/webfinger:
Added references to docstring in mediagoblin.webfinger
Removed mediagoblin.tools.feed which was accidentally included
Polishing the webfinger implementation
webfinger fully compliant with webfinger.org! Still *preliminary* solution.
Changed some thngs to be compatible with webfinger.org, still *very preliminary*
Added *very preliminary* support for webfinger
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Changed quotes in the templates from " to '
- Changed all link generation to use request.urlgen
- Moved xrd links data generation from template to view
- Added parsing of the account URI using urlparse
|
| | | |
|