Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Sort-of fixes so the header does not collapse anymore. Header needs redesigning. | Jef van Schendel | 2012-03-07 | 1 | -1/+11 | |
| | ||||||
* | Header doesn't need a height | Jef van Schendel | 2012-03-07 | 1 | -1/+0 | |
| | ||||||
* | Actually decrease thumbnail size instead of just their containers | Jef van Schendel | 2012-03-07 | 1 | -0/+4 | |
| | ||||||
* | Translate less html. | Elrond | 2012-03-06 | 1 | -4/+6 | |
| | | | | | | Instead of translating <p ...>TEXT</p> just mark TEXT for translation. That way formatting changes can be done without affecting the translations. | |||||
* | Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin | Jef van Schendel | 2012-03-06 | 4 | -7/+46 | |
|\ | ||||||
| * | Generic check_media_slug_used db utility. | Elrond | 2012-03-05 | 4 | -8/+25 | |
| | | | | | | | | | | | | | | | | In two cases (generating a new slug and editing the slug) it is nice to know in advance (before the db gets angry) that the slug is used/free. So created a db utility function to check for this on mongo and sql: check_media_slug_used() | |||||
| * | SQL: Tool to cleanup unused tag slugs. | Elrond | 2012-03-05 | 1 | -0/+22 | |
| | | | | | | | | | | | | | | | | The current SQL layout/sqlalchemy strucuture can't detect whether a slug isn't needed any more and delete it. So provide a tool function to cleanup unused slugs. It's currently not hooked to any gmg function! | |||||
* | | Revert thumbnail gallery change: switch back to tables | Jef van Schendel | 2012-03-06 | 2 | -18/+23 | |
| | | ||||||
* | | Fix merge conflict in prev_next.html | Jef van Schendel | 2012-03-06 | 13 | -163/+194 | |
|\ \ | |/ |/| | ||||||
| * | Edit css rule to allow users to zoom | Jef van Schendel | 2012-03-05 | 1 | -1/+1 | |
| | | ||||||
| * | Add sidebar again | Jef van Schendel | 2012-03-04 | 2 | -27/+23 | |
| | | ||||||
| * | Merge branch 'newlayout' into newlayout-stage | Jef van Schendel | 2012-03-04 | 12 | -183/+218 | |
| |\ | ||||||
| | * | Forgot to add these layout changes. Everything should work now. | Jef van Schendel | 2012-02-21 | 8 | -149/+168 | |
| | | | ||||||
| | * | Resolve merge conflicts | Jef van Schendel | 2012-02-21 | 35 | -198/+1683 | |
| | |\ | ||||||
| | * | | Responsive thumbnail gallery time | Jef van Schendel | 2012-02-18 | 1 | -1/+17 | |
| | | | | ||||||
| | * | | Enlarge navigation buttons when mobile | Jef van Schendel | 2012-02-15 | 1 | -0/+1 | |
| | | | | ||||||
| | * | | Change button style in edit.html | Jef van Schendel | 2012-02-15 | 1 | -1/+1 | |
| | | | | ||||||
| | * | | Simplify and fix button styles; add larger button styles for mobile | Jef van Schendel | 2012-02-15 | 1 | -13/+6 | |
| | | | | ||||||
| | * | | Removed cancel_link class; slight changes to button_form style | Jef van Schendel | 2012-02-15 | 2 | -23/+8 | |
| | | | | ||||||
| | * | | Center small images by default | Jef van Schendel | 2012-02-14 | 1 | -1/+4 | |
| | | | | ||||||
| | * | | Add clear div to correct floating divs | Jef van Schendel | 2012-02-14 | 1 | -0/+1 | |
| | | | | ||||||
| | * | | Remove form background images; replace them with regular border styles | Jef van Schendel | 2012-02-14 | 3 | -4/+3 | |
| | | | | ||||||
* | | | | Stop failing if there is no previous/next to go to | Jef van Schendel | 2012-03-05 | 1 | -2/+6 | |
| | | | | ||||||
* | | | | Merge branch 'keyboard_nav' | Jef van Schendel | 2012-03-05 | 3 | -2/+33 | |
|\ \ \ \ | ||||||
| * | | | | Add left and right arrow keys navigation (add new JS file, link it from ↵ | Jef van Schendel | 2012-02-14 | 3 | -2/+33 | |
| | | | | | | | | | | | | | | | | | | | | media.html; add new navigation_right class to right button) | |||||
* | | | | | Added the sql_switch.py script to .gitignore | Joar Wandborg | 2012-03-05 | 1 | -1/+5 | |
| | | | | | ||||||
* | | | | | Implement atomic_update for SQL. | Elrond | 2012-03-04 | 2 | -1/+15 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On sqlalchemy most updates are atomic enough for most use cases. Anyway, here is an atomic_update that is compatible to the mongo version. | |||||
* | | | | | Create atomic_update db utility function | Elrond | 2012-03-04 | 3 | -10/+22 | |
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In some cases (notably the mark_entry_failed function) it is useful to have atomic update functionality on the db. On mongo this requires special syntax. So created an atomic_update function for mongo and started to use it in mark_entry_failed. | |||||
* | | | | Merge branch 'media_data_start' | Elrond | 2012-03-03 | 5 | -5/+31 | |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * media_data_start: And media_data_init() for sql as a dummy Create a fake MediaEntry.media_data for sql Video media_data: Change layout in the mongo world | |||||
| * | | | | And media_data_init() for sql as a dummy | Elrond | 2012-03-03 | 1 | -0/+4 | |
| | | | | | | | | | | | | | | | | | | | | Needs to be implemented. | |||||
| * | | | | Create a fake MediaEntry.media_data for sql | Elrond | 2012-03-03 | 1 | -0/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So that the SQL backend is more useable, let the MediaEntry have a faked media_data. It's extremely fake: The returned dict is always a new one. So any stored info is even lost! | |||||
| * | | | | Video media_data: Change layout in the mongo world | Elrond | 2012-03-01 | 4 | -5/+22 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the media_data for video from entry.media_data["video"] to use entry.media_data directly. Also start a bare MediaEntry.media_data_init(**kwargs) method for setting up the media_data and possibly initialising it with kwargs. | |||||
* | | | | | Go go mediagoblin favico symmetry | Christopher Allan Webber | 2012-03-01 | 2 | -0/+0 | |
|/ / / / | ||||||
* | | | | SQL: Improve video media_data table | Elrond | 2012-03-01 | 2 | -5/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | 1. Make the foreignkey the primary_key. 2. Add width/height, as those are currently in use for the media_data | |||||
* | | | | Cleanup Session after each request. | Elrond | 2012-02-28 | 2 | -0/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's good practice to cleanup the SQL session after each request so that the next request gets a fresh one. It's an application decision whether one wants a just-in-case ROLLBACK or COMMIT. There are two ideas behind it, really. I have decided for ROLLBACK. The idea is "if you forget to commit your changes yourself, there's something broken. Maybe you got an exception?". | |||||
* | | | | Attachment support in the SQL backend | Elrond | 2012-02-28 | 4 | -4/+38 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | attachments working with the sql backend. - SQL Schema for attachment files, ordering attachments by their name, not by the submission order (as earlier). - Dot-Notation for attachments, where missing. - convert existing attachments over from mongo -> sql | |||||
* | | | | Fix tests given recent celery "case" change | Christopher Allan Webber | 2012-02-28 | 7 | -16/+16 | |
| | | | | ||||||
* | | | | Accidentally overwrote the celery/__init__.py, fixed this and removed the ↵ | Luke Slater | 2012-02-28 | 1 | -1/+55 | |
| | | | | | | | | | | | | | | | | upper correctly | |||||
* | | | | Changed celery config keys to upper case and removed upper casing of keys ↵ | Luke Slater | 2012-02-28 | 2 | -96/+41 | |
| | | | | | | | | | | | | | | | | when initialising the config as per issue #214 | |||||
* | | | | Let mark_entry_failed log unknown exceptions | Elrond | 2012-02-27 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I don't know exactly why, but an exception during processing hasn't found its way up. The entry was marked as failed and that was it. So I decided to add a _log.warn to the part of mark_entry_failed that handles general exceptions. | |||||
* | | | | Merge remote-tracking branch 'cwebber/celerysql' | Elrond | 2012-02-27 | 6 | -68/+23 | |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cwebber/celerysql: Adjust unit tests to match new celery/kombu sqlalchemy setup "database" is not the sqlalchemy kombu transport... should be "sqlalchemy" Celery and kombu databases should also be .gitignore'd kombu-sqlalchemy a requirement in order for kombu sqlalchemy transport to work Move mediagoblin dbs out of user_dev for race condition directory-creation reasons. Give kombu its own db. Responding to Elrond "sqlite will lock all the time!" :) Apparently an absolute path is three slashes after sqlite:. Thx elrond. Should be all that's needed to switch celery/kombu settings to sqlalchemy | |||||
| * | | | | Adjust unit tests to match new celery/kombu sqlalchemy setup | Christopher Allan Webber | 2012-02-26 | 2 | -48/+9 | |
| | | | | | ||||||
| * | | | | "database" is not the sqlalchemy kombu transport... should be "sqlalchemy" | Christopher Allan Webber | 2012-02-26 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | Celery and kombu databases should also be .gitignore'd | Christopher Allan Webber | 2012-02-26 | 1 | -0/+2 | |
| | | | | | ||||||
| * | | | | kombu-sqlalchemy a requirement in order for kombu sqlalchemy transport to work | Christopher Allan Webber | 2012-02-26 | 1 | -0/+1 | |
| | | | | | ||||||
| * | | | | Move mediagoblin dbs out of user_dev for race condition directory-creation ↵ | Christopher Allan Webber | 2012-02-26 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | reasons. | |||||
| * | | | | Give kombu its own db. Responding to Elrond "sqlite will lock all the time!" :) | Christopher Allan Webber | 2012-02-26 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | Apparently an absolute path is three slashes after sqlite:. Thx elrond. | Christopher Allan Webber | 2012-02-26 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | sqlite:///////////////////////////////////whaaaaaa.db | |||||
| * | | | | Should be all that's needed to switch celery/kombu settings to sqlalchemy | Christopher Allan Webber | 2012-02-25 | 2 | -20/+11 | |
| | | | | | ||||||
* | | | | | Committing extracted and compiled translations | Christopher Allan Webber | 2012-02-26 | 3 | -23/+23 | |
| | | | | |