aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | * Remove 960.gs stylesheets, add Eric Meyer's reset.cssJef van Schendel2011-12-1810-817/+50
| | |
| | * First test lines for responsive designJef van Schendel2011-12-181-0/+17
| | |
| * | Always show 'Change account settings' linkJef van Schendel2012-01-051-7/+6
| | |
| * | Fix Unit Tests for new password changingElrond2012-01-051-8/+4
| | |
| * | Make show-password-js work for change password tooElrond2012-01-052-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Fix more StrictUndefined issuesElrond2012-01-051-2/+2
| | |
| * | Add change-account-settings link to user.htmlJef van Schendel2012-01-051-0/+5
| | |
| * | Merge branch 'master' of gitorious.org:mediagoblin/mediagoblinJef van Schendel2012-01-055-5/+10
| |\ \
| | * | f691: Use StrictUndefined for templates and fix some issuesElrond2012-01-043-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * | Import MigrationManager from mongo in mongo backend.Elrond2012-01-042-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Inside the mongo db backend, use the mongo MigrationManager. This is hopefully the last reference to the generic MigrationManager reference on db.util.
| * | | Create edit_account.htmlJef van Schendel2012-01-054-21/+92
| |/ /
| * | Add Markdown for submit page, edit page, profile edit page; thus fixing ↵Jef van Schendel2012-01-044-5/+16
| | | | | | | | | | | | ticket #690
| * | Dot-Notation for MediaEntry.queued_media_fileElrond2012-01-043-4/+4
| | |
| * | Dot-Notation for MediaEntry.stateElrond2012-01-042-3/+3
| | |
| * | Dot-Notation for MediaEntry.media_filesElrond2012-01-0410-16/+16
| | |
| * | sql convert: Use more library functionsElrond2012-01-011-11/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Use the new setup_connection_and_db_from_config in the sql backend. 2. Use sql and mongo specific functions wherever appropiate instead of the generic "db.X" one. This makes the converter more indepedent of the current backend choice.
| * | Seperate jQuery bit that was still in media.htmlJef van Schendel2012-01-012-11/+11
| | |
| * | Fix unit tests for new forget password flowElrond2012-01-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | After changing the password, the login page is now shown. It contains a message. (we can't test for that easily currently. There is a bug open on this problem.) At least for the login page being shown now.
| * | Remove fp_changed_success.html, use log in page + notification message insteadJef van Schendel2012-01-013-33/+6
| | |
| * | Remove fp_email_sent.html and refs to itJef van Schendel2012-01-012-32/+0
| | |
| * | Factor out check_db_migrations_currentElrond2012-01-014-22/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When initializing the database connection the current mongo based setup checked for new migrations and warned about them. This was mongo specific so factor'd it out into a more generic check_db_migrations_current function in the mongo backend. Also created a dummy one in the sql backend.
| * | Forgot this one. Also disable horizontal resize for the bio fieldJef van Schendel2012-01-011-1/+1
| | |
| * | Remove border-bottom from media_specsJef van Schendel2012-01-011-1/+0
| | |
| * | Disable horizontal resize for text areas.Jef van Schendel2012-01-011-1/+6
| | |
| * | Fixed submission error handling and broken testsJoar Wandborg2011-12-313-6/+12
| | | | | | | | | | | | | | | | | | - Fixed broken test_auth test - Fixed error handling on submission, it now raises the exception if it is not explicitly relevant to file submission.
| * | Merge remote branch 'remotes/joar/tests'Elrond2011-12-311-17/+0
| |\ \ | | | | | | | | | | | | | | | | * remotes/joar/tests: Fixed broken confirm_password test
| | * | Fixed broken confirm_password testJoar Wandborg2011-12-301-17/+0
| | | |
| * | | ASCII media type support & fix a bug in file submission error handlingJoar Wandborg2011-12-3118-11/+7323
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| * | | Change forgotten password process: different redirect, added/changed messagesJef van Schendel2011-12-301-8/+16
| | | |
| * | | Fix #712: Comment counter always uses pluralJef van Schendel2011-12-301-40/+46
| | | |
| * | | Fix #715: On media submit page, "Separate" is misspelledJef van Schendel2011-12-302-2/+2
| |/ /
| * | Forgot to include the newly created JS fileJef van Schendel2011-12-291-0/+19
| | |
| * | Isolate JavaScript; add new show_password.js to forgot-password-page as wellJef van Schendel2011-12-293-28/+8
| | |
| * | Finished #485 and worked out bugs: password fields always update, added ↵Jef van Schendel2011-12-292-1/+10
| | | | | | | | | | | | margins, fixed Chrome width bug, wrapped checkbox in label element
| * | Add a .save method on the sql db objectsElrond2011-12-291-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | This is a shortcut to adding the object to a session (if needed) and giving a commit on the session. In reality, calling code should probably utilize the session on its own and call commit in an appropiate place.
| * | Support .get(fieldname) on sql db objectsElrond2011-12-291-0/+3
| | | | | | | | | | | | | | | | | | Some parts of the code like to call .get("somefield") on the db objects. It's easy to support this on sqlalchemy based objects, so lets do it.
| * | Fix "bin/gmg migrate" after mongo moveElrond2011-12-281-2/+2
| | | | | | | | | | | | | | | | | | | | | When moving most stuff from db to db/mongo, "gmg migrate" was left out. Fix it now!
| * | Show --log-file option in lazyserver help.Elrond2011-12-281-1/+1
| | |
| * | SQL Model: Add relationship propertiesElrond2011-12-281-0/+5
| | | | | | | | | | | | | | | | | | MediaEntry now has a get_uploader (property) loading the appropiate User object for the MediaEntry (and caches it). MediaComment has the same for author as get_author.
| * | SQL Model: Forgot MediaEntry.state fieldElrond2011-12-282-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | While creating the new SQL model, the "state" field of MediaEntry was left out. Currently using a plain unicode string for it. Maybe should use sqlalchemy.types.Enum?
| * | Implement _id proxy on sql objects (on User for now)Elrond2011-12-281-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | So that the old code can access the primary key still as "._id". Quite simple Python Descriptor thing. Very generic.
| * | Turn media.get_uploader into a propertyElrond2011-12-277-13/+14
| | | | | | | | | | | | | | | | | | | | | 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.
| * | Use media.url_for_self instead of calling urlgen directlyElrond2011-12-272-12/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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!
| * | Move verification key generation to viewElrond2011-12-272-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | Instead of creating the email verication key on the db model as a default for the field, create it in the registration view. Now all verification key generation is only in auth/views.py!
| * | Translate one stringElrond2011-12-251-1/+5
| | | | | | | | | | | | | | | | | | "There doesn't seem to be any media here yet..." is now translated also here (it's already in the list from another place).
| * | Replace media.get_uploader()._id by media.uploaderElrond2011-12-242-4/+4
| | | | | | | | | | | | | | | | | | media.get_uploader()._id loads a complete user object without actually needing it, because media.uploader already has the id!
| * | Improve .one() by using sqlalchemy's .one()Elrond2011-12-241-3/+1
| | |
| * | Add search level one() methodElrond2011-12-241-0/+13
| | | | | | | | | | | | And create a _fix_query_dict which converts '_id' to 'id'.
| * | Turn MediaComment's author() into get_author propertyElrond2011-12-232-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | added translation tags to html5 wwarningKaren Rustad2011-12-231-2/+6
| | |