2387 Commits

Author SHA1 Message Date
Christopher Allan Webber
46583ff4e6 Merge remote-tracking branch 'refs/remotes/merge-requests/37' 2012-07-06 08:52:35 -05:00
Jorge Araya Navarro
6d539afda6 changing NoSuchFiles for no_such_files 2012-07-05 22:07:44 -06:00
Brett Smith
c7dfd4fba6 Level exits are Unicode too. 2012-07-04 11:09:36 -04:00
Brett Smith
a00ac32045 Make sure MigrationManagers always get Unicode names.
If we fail to do this, SQLAlchemy complains that we're binding a
non-Unicode value to a Unicode column.
2012-07-04 10:54:44 -04:00
Christopher Allan Webber
f2e3a6a01c Explicitly state that we need a webob version >= 1.1 also. 2012-07-01 10:41:37 -05:00
Christopher Allan Webber
6f8714fea4 Changing mediagoblin theme font files over to be symlinks to extlib 2012-07-01 10:34:29 -05:00
Christopher Allan Webber
dc4d1d8808 Clarifying that all original documentation theme files are CC0'ed. 2012-07-01 10:29:37 -05:00
Jorge Araya Navarro
fb2fbe2c0a fixing bug #255 as Joar and CWebber ask me to do :) 2012-06-28 22:13:26 -06:00
Joar Wandborg
825b136227 Added some security checks to attachment upload, it's still not
waterproof.
2012-06-24 21:29:07 +02:00
Joar Wandborg
c72d661bed Fixed EXIF longitude bug
- Negative or 'W' longitudes were not accounted for.
- pyflakes fixes.
2012-06-23 17:21:22 +02:00
Jorge Araya Navarro
ddaf070ad7 Bug 255 fixed 2012-06-22 15:15:57 -06:00
Elrond
b105540141 First migration fix: commit after each migration.
sqlite doesn't like complex changes (alter table) to happen
inside a transaction that has already done other things.
And really, each migration should say "I'm done" and commit
its changes.

This is not the full story, but it's the core of it.

Specifially the migration framework should probably do a
rollback "just in case" after each migration.
2012-06-14 21:57:24 +02:00
Joar Wandborg
4ba4e27b44 Pull instance name from config in the notification email. 2012-06-11 16:19:59 +02:00
Christopher Allan Webber
2a376ae77f Now require sqlalchemy >= 0.7.0 2012-06-11 07:30:42 -05:00
Joar Wandborg
c4869eff40 FIXED SQL MIGRATION #2 2012-06-10 18:31:49 +02:00
Joar Wandborg
38c6d44123 Added SQL migrations for email notifications 2012-06-10 18:26:21 +02:00
Joar Wandborg
00722c9908 Fixed some comment notification code for compliance with SQL
* Pulled instance name in notification email from config
2012-06-10 18:18:26 +02:00
Joar Wandborg
879ff4bde6 Merge remote-tracking branch 'is_derek/bug405_email_notifications_for_comments' into notifications-merge
Conflicts:
	mediagoblin/db/mongo/migrations.py
2012-06-10 15:53:46 +02:00
Will Kahn-Greene
a855e92a98 Fix problems from pyflakes output 2012-06-03 15:53:34 -04:00
Christopher Allan Webber
349f5b19f7 Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin 2012-06-02 23:12:45 -05:00
Will Kahn-Greene
0e60e7e81b Add link to wiki on front page; fix about
Adds a summary and a link to the wiki for contributors to the front page.

The "what is mediagoblin" section in the about chapter talkd about what
it was, but it was buried--this slightly unburies it.
2012-06-02 22:03:03 -04:00
Christopher Allan Webber
791cc619b5 Committing extracted and compiled translations 2012-06-01 16:33:16 -05:00
Christopher Allan Webber
84ccc5137d Committing present MediaGoblin translations before pushing extracted messages 2012-06-01 16:32:41 -05:00
Joar Wandborg
84336a46b1 Added links to community-provied init scripts 2012-05-28 01:08:38 +02:00
Will Kahn-Greene
469f10e4a7 Add plugin writer's quickstart guide 2012-05-23 21:16:18 -04:00
Will Kahn-Greene
4f94f29da9 Add build date to docs
Makes it easier to spot when the docs aren't rebuilding correctly.
2012-05-23 20:35:53 -04:00
Will Kahn-Greene
2530ef7a1f Split docs into siteadmin and pluginwriter guides
* create initial bits for plugin writer's guide
* move siteadmin stuff to site administrator's guide
* rework index.rst to support multiple guides
* tweak some text
* move files into subdirectories

I verified that this still works with html and texinfo build targets.
There's still a lot of work to do, but this is a good start.
2012-05-23 20:21:03 -04:00
Christopher Allan Webber
758def22b8 Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin 2012-05-20 15:24:37 -05:00
Christopher Allan Webber
a8acb5a387 from_celery.setup_self() didn't pay attention to default_conf_file kwarg, fixed. 2012-05-20 15:17:49 -05:00
Jakob Kramer
b781c3c928 added support for original audio download; rename
Renamed `ogg' to `webm_audio' in core__file_keynames
2012-05-20 18:32:56 +02:00
Will Kahn-Greene
355fd6770d Update documentation for plugins 2012-05-16 21:04:52 -04:00
Will Kahn-Greene
29b6f91740 401. Plugin infrastructure
* implements installing, loading and setup for plugins
* codifies configuration
* has a sample plugin
* docs
* tests
2012-05-13 00:00:08 -04:00
Joar Wandborg
f10c3bb8e5 Added logging to meddleware.csrf 2012-05-13 00:45:58 +02:00
Christopher Allan Webber
61d0af2130 gandaro points out we should have all headers end with question marks for consistency
Done for about.rst
2012-05-06 15:28:13 -05:00
Christopher Allan Webber
c3dc1fb440 Apparently I can't correct typos right. MedaGoblin->MediaGoblin in docs 2012-05-06 15:27:19 -05:00
Christopher Allan Webber
518c5eb38b A couple of typos in docs... MedaGobilin->MediaGoblin 2012-05-05 12:16:13 -05:00
Will Kahn-Greene
a736a5d582 Update version to 0.3.1.dev 2012-05-02 07:02:15 -07:00
Will Kahn-Greene
44f3d3b19a Update version to 0.3.0 for release 2012-05-02 07:02:15 -07:00
greg
dce3792218 One character chage: "our" to "your" in the release notes as it makes more
sense, I believe.
2012-05-01 09:32:59 -07:00
Christopher Allan Webber
6e930791e9 0.3.0 *is* released! Reflect that in the release notes :) 2012-05-01 11:10:39 -05:00
Christopher Allan Webber
21a84362ea Also tell people to install python-psycopg2 if using postgres in docs 2012-04-30 22:12:07 -05:00
Christopher Allan Webber
084a619079 ./bin/gmg migrate -> ./bin/gmg dbupdate in the docs 2012-04-30 22:05:27 -05:00
Christopher Allan Webber
9716031483 Committing extracted and compiled translations 2012-04-30 10:48:49 -05:00
Christopher Allan Webber
fc8d2334e2 Committing present MediaGoblin translations before pushing extracted messages 2012-04-30 10:48:21 -05:00
Christopher Allan Webber
fe191ea48a Removing references to MongoDB in docs/ 2012-04-29 13:11:31 -05:00
Christopher Allan Webber
2eae6ae1ce No need to keep around mongodb migration tests. 2012-04-29 13:05:00 -05:00
Christopher Allan Webber
088644a80b Deprecate ./bin/gmg migrate.
Keeping it around just in case someone manually wants to migrate
before running the convert thing or... something.  Probably silly.
2012-04-29 12:08:44 -05:00
Christopher Allan Webber
63578ee395 Removing wipealldata command and deleting env_export/env_import for now.
None of these tools really work anymore in the SQL world, and possibly
aren't as necessary either.  In the meanwhile, just disabling them to
reduce confusion.
2012-04-29 11:45:48 -05:00
Christopher Allan Webber
9679ab6c1c Removing mongo and mongokit as dependencies. 2012-04-29 11:11:08 -05:00
Elrond
d2eab8868e Translate form validation error messages.
Okay, this is a long story.
There are two ways to translate validation error messages:

1) Let wtforms do it. You give wtforms a translation thingy
   and it calls it for the message to be translated. Good
   idea maybe. Except: The translation function is only
   called for the builtin messages of wtforms. It's not
   called for any handcrafted messages in the constructor.
   And we can't translate the message there! Because the
   message needs to be translated when the form is
   rendered, for each user's locale.

   This does not work for us.

2) Translate the message while it gets rendered.
   Luckily we render the message completely by hand. So we
   can just translate it there also!

   Simple, easy, works!

This all does not cover translating the builtin messages of
wtforms. They're currently not extracted in any way, so our
translators can't translate them.

But that's another issue!
2012-04-24 00:17:03 +02:00