| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
site-packages changes
Now it should try using --system-site-packages and if that
fails (older version) it tries it without the argument.
|
|
|
|
|
|
|
|
| |
- Add default for User.email_verified
- Add default for MediaEntry.state
- Let PathTupleWithSlashes store [] as "NULL",
but not handling the reverse properly yet!
- Add _id alias field to MediaEntry and MediaComment
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Specifically, previously if there was nothing to git add, whole script would just die
|
|
|
|
|
|
|
|
|
|
|
| |
These changes allow all of the rest of the code to use tags
in sql as they were used on mongo. It's not efficient at
all, as changing tags usually means to remove all old tags
and adding all new.
The only problem here is: Old slugs for tags are not
removed, because they're shared across all MediaTags and
dropping orphans is not always easy.
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| | |
- Added AGPL header to comment_show.js, show_password.js
and geolocation-map.js
- Removed console.log from geolocation-map.js
|
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| | |
- Added EXIF tests
- Removed pdb from image processing "ifmain"
- Fixed comment typo in image processing
- Removed unused import in tools.exif
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
- 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.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If you want to play with the current state of sql, you need
a switch to turn it on. So here is the super secret
developer switch.
So you want to know where it is?
Here it is:
Create a file mediagoblin/db/sql_switch.py and put one line
in it: "use_sql = True" (or False to disable again). Right,
that's it. If you want to delete it, remember to delete the
*.pyc too.
Be careful not to "git add" it by accident!
|
| |
| |
| |
| | |
My bad!
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
The base class of all models "Base" should be in base.py.
|
| |
| |
| |
| | |
Again thanks to Clint Byrum!
|
| |
| |
| |
| |
| | |
virtualenv is working for everyone.
No need for the buildout stuff any more.
|
|/
|
|
|
|
|
|
|
|
| |
1) MANIFEST.in missed a bunch of things, especially
config_spec.ini.
2) You need to specify include_package_data=True in
setup.py to actually activate MANIFEST.in it seems.
Thanks go to Clint Byrum!
|
|
|
|
| |
Uses complete sqlalchemy syntax now.
|
|
|
|
|
| |
Using proper sqlalchemy syntax instead of the emulated
mongo one.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Make the license field in the forms optional and let them
properly be defaulted to "".
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Nearly all the sql files missed a copyright header.
So added it!
And while there fixed a few pep8 things.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A custom query class allows to add more methods on
queries (read: "cursors").
This custom query class especially adds a .sort with a
calling convention exactly like the mongo one.
Makes a lot of existing code happy!
|
| | |
|
| |
| |
| |
| | |
translation tags to license template.
|
|\| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
sql/fake.py contains some fake classes and functions to
calm the rest of the code base. Or provide super minimal
implementations.
Currently:
- ObjectId "class": It's a function mostly doing
int(first_arg) to convert string primary keys into
integer primary keys.
- InvalidId exception
- DESCENING "constant"
|