mediagoblin.git
13 years agoadded support for changing the password, issue #643
Jakob Kramer [Sat, 19 Nov 2011 21:17:21 +0000 (22:17 +0100)]
added support for changing the password, issue #643

13 years agoChange button style a bit
Jef van Schendel [Sat, 19 Nov 2011 23:28:19 +0000 (00:28 +0100)]
Change button style a bit

13 years agoChange form structure and add relevant CSS rules
Jef van Schendel [Sat, 19 Nov 2011 22:46:42 +0000 (23:46 +0100)]
Change form structure and add relevant CSS rules

13 years agoAdded back the title block
Christopher Allan Webber [Sat, 19 Nov 2011 20:06:48 +0000 (14:06 -0600)]
Added back the title block

13 years agoMerge remote branch 'remotes/inconexo/613_custom_title'
Christopher Allan Webber [Sat, 19 Nov 2011 20:04:56 +0000 (14:04 -0600)]
Merge remote branch 'remotes/inconexo/613_custom_title'

13 years agoAdded Pablo Santos to the AUTHORS file
Christopher Allan Webber [Sat, 19 Nov 2011 20:03:01 +0000 (14:03 -0600)]
Added Pablo Santos to the AUTHORS file

13 years agoAllow user to set whether comments are ascending or descending
Christopher Allan Webber [Sat, 19 Nov 2011 20:01:38 +0000 (14:01 -0600)]
Allow user to set whether comments are ascending or descending

13 years agoMerge remote branch 'remotes/inconexo/441_comment_order'
Christopher Allan Webber [Sat, 19 Nov 2011 19:54:49 +0000 (13:54 -0600)]
Merge remote branch 'remotes/inconexo/441_comment_order'

13 years agoAdded Corey Farwell to the list of contributors
Christopher Allan Webber [Sat, 19 Nov 2011 19:42:30 +0000 (13:42 -0600)]
Added Corey Farwell to the list of contributors

13 years agoincorrect path in nginx config
Corey Farwell [Sat, 19 Nov 2011 18:43:31 +0000 (10:43 -0800)]
incorrect path in nginx config

13 years agomedia_home: order comments by ascending date.
Pablo J. Urbano Santos [Sat, 19 Nov 2011 18:15:41 +0000 (19:15 +0100)]
media_home: order comments by ascending date.

13 years agoAdded parameter ascending to MediaEntry::get_comments, if true, comments
Pablo J. Urbano Santos [Sat, 19 Nov 2011 18:11:42 +0000 (19:11 +0100)]
Added parameter ascending to MediaEntry::get_comments, if true, comments
will be ordered ascending, otherwise descending

13 years agoAllow instance owners to customize html titles of page:
Pablo J. Urbano Santos [Sat, 19 Nov 2011 16:07:41 +0000 (17:07 +0100)]
Allow instance owners to customize html titles of page:
Added html_title config option.
Made base.html template use html_title option as page title.

13 years agoAdd app_config and global_config to the template environment
Christopher Allan Webber [Sat, 19 Nov 2011 14:33:29 +0000 (08:33 -0600)]
Add app_config and global_config to the template environment

13 years agoAdding app_config and global_config to the template environment
Christopher Allan Webber [Sat, 19 Nov 2011 14:31:37 +0000 (08:31 -0600)]
Adding app_config and global_config to the template environment

13 years agoMerge branch 'master' of gitorious.org:mediagoblin/mediagoblin
Christopher Allan Webber [Fri, 18 Nov 2011 15:34:09 +0000 (09:34 -0600)]
Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin

Conflicts:
mediagoblin/templates/mediagoblin/user_pages/user.html

13 years agoAccidentally had user['profile'] where it shoulda been user['bio']
Christopher Allan Webber [Wed, 16 Nov 2011 23:53:46 +0000 (17:53 -0600)]
Accidentally had user['profile'] where it shoulda been user['bio']

13 years agoDot-Notation: x._id = ObjectId() doesn't seem to work properly
Elrond [Mon, 14 Nov 2011 16:11:37 +0000 (17:11 +0100)]
Dot-Notation: x._id = ObjectId() doesn't seem to work properly

For whatever reason, this does not work as expected:
entry._id = ObjectId()
Need to go this way:
entry['_id'] = ObjectId()

13 years agoDot-Notation for "_id"
Elrond [Sun, 13 Nov 2011 18:25:06 +0000 (19:25 +0100)]
Dot-Notation for "_id"

Note: Migrations can't use "Dot Notation"!

Migrations run on pymongo, not mongokit.
So they can't use the "Dot Notation".
This isn't really a big issue, as migrations are anyway
quite mongo specific.

13 years agoEnable mongokit's "Dot notation"
Elrond [Mon, 14 Nov 2011 13:21:06 +0000 (14:21 +0100)]
Enable mongokit's "Dot notation"

mongokit documents can allow to use x.FIELD instead of
x["FIELD"].
First it looks a lot more pythonic.
Second it might allow us an easier migration path towards
an sqlalchemy database backend.

Docs: http://namlook.github.com/mongokit/tutorial.html#dot-notation

13 years agoexport: Handle Unicode titles better in logging
Elrond [Tue, 15 Nov 2011 10:21:15 +0000 (11:21 +0100)]
export: Handle Unicode titles better in logging

log("ascii %s" % unicode_string) tries to convert unicode
to ascii, which might fail.

Better use log(u"unicode format %s" % unicode_string) and
let the logging framework handle the conversion. This works
much better and the exceptions still happening aren't
stopping the main app.

Also remove one useless import.

13 years agoOnly show "post a comment" link if comments already exist
Christopher Allan Webber [Mon, 14 Nov 2011 02:39:42 +0000 (20:39 -0600)]
Only show "post a comment" link if comments already exist

The purpose of the link is to help you jump past comments to the
comment box, and so...

Even with this new conditional, I'm not entirely sure I like that link ;)

13 years agoMerge remote-tracking branch 'remotes/nyergler/pep8-ification'
Christopher Allan Webber [Mon, 14 Nov 2011 02:23:26 +0000 (20:23 -0600)]
Merge remote-tracking branch 'remotes/nyergler/pep8-ification'

Conflicts:
mediagoblin/db/migrations.py
mediagoblin/db/models.py
mediagoblin/user_pages/views.py
mediagoblin/util.py

13 years agoImproving <title> on tag page *and* adjusting translation for RTL reasons
Christopher Allan Webber [Sun, 13 Nov 2011 20:48:51 +0000 (14:48 -0600)]
Improving <title> on tag page *and* adjusting translation for RTL reasons

Basically moving the variable inside the translation to give
translators more flexibility

13 years agoEnhanced title on the user's main media gallery
Christopher Allan Webber [Sun, 13 Nov 2011 20:42:03 +0000 (14:42 -0600)]
Enhanced title on the user's main media gallery

13 years agoIf the gallery view makes sure we have a user anyway, do we need this check?
Christopher Allan Webber [Sun, 13 Nov 2011 20:40:11 +0000 (14:40 -0600)]
If the gallery view makes sure we have a user anyway, do we need this check?

Seems like the classic annoying "SHOULD NEVER HAPPEN" else: statement :)

13 years agoEnhanced title for user profile page
Christopher Allan Webber [Sun, 13 Nov 2011 20:38:40 +0000 (14:38 -0600)]
Enhanced title for user profile page

13 years agoImproved title block on media page
Christopher Allan Webber [Sun, 13 Nov 2011 20:34:22 +0000 (14:34 -0600)]
Improved title block on media page

13 years agoMerge remote-tracking branch 'remotes/nyergler/issue-653-csrf-exception'
Christopher Allan Webber [Sun, 13 Nov 2011 20:20:16 +0000 (14:20 -0600)]
Merge remote-tracking branch 'remotes/nyergler/issue-653-csrf-exception'

13 years agoIssue 653: This time for sure!
Nathan Yergler [Sun, 13 Nov 2011 20:07:09 +0000 (12:07 -0800)]
Issue 653: This time for sure!

13 years agoIssue 653: Handle the case where request.vary is None
Nathan Yergler [Sun, 13 Nov 2011 19:59:24 +0000 (11:59 -0800)]
Issue 653: Handle the case where request.vary is None

13 years agoIssue 653: Don't throw exception if response has no vary header.
Nathan Yergler [Sun, 13 Nov 2011 19:41:43 +0000 (11:41 -0800)]
Issue 653: Don't throw exception if response has no vary header.

13 years agoMark two strings for translation
Elrond [Sun, 13 Nov 2011 18:51:11 +0000 (19:51 +0100)]
Mark two strings for translation

13 years agoFinal step for non-force-conversion to jpeg
Christopher Allan Webber [Sat, 12 Nov 2011 21:12:39 +0000 (15:12 -0600)]
Final step for non-force-conversion to jpeg

13 years agoDon't force-convert resized images to JPEG.
Christopher Allan Webber [Sat, 12 Nov 2011 19:35:41 +0000 (13:35 -0600)]
Don't force-convert resized images to JPEG.

That's just not nice for those of us who like transparency!

13 years agoProbably should have MANIFEST.in checked in, for doing python sdists
Christopher Allan Webber [Sat, 12 Nov 2011 14:10:46 +0000 (08:10 -0600)]
Probably should have MANIFEST.in checked in, for doing python sdists

13 years ago640: Configuration files should mention their _local versions
Elrond [Sat, 12 Nov 2011 13:26:35 +0000 (14:26 +0100)]
640: Configuration files should mention their _local versions

Thanks go to Aleksej Serdjukov for bringing this up and
providing the patch in the bug!

13 years agoMerge branch 'idea/check_mgoblin_static'
Elrond [Sat, 12 Nov 2011 12:39:50 +0000 (13:39 +0100)]
Merge branch 'idea/check_mgoblin_static'

* idea/check_mgoblin_static:
  Move TestingMiddleware to tests/tools.py
  Some docs for the TestingMiddleware
  591: Let Testing Middleware check for staticdirect() usage

13 years agoMove TestingMiddleware to tests/tools.py
Elrond [Sat, 12 Nov 2011 12:21:41 +0000 (13:21 +0100)]
Move TestingMiddleware to tests/tools.py

This middleware isn't needed outside of the tests, so let's
just put it there.

13 years agoSome docs for the TestingMiddleware
Elrond [Sun, 30 Oct 2011 19:51:55 +0000 (20:51 +0100)]
Some docs for the TestingMiddleware

To make the TestingMiddleware actually more useful in the
future, start to document it.

13 years agoMerge branch 'master' of gitorious.org:mediagoblin/mediagoblin
Christopher Allan Webber [Fri, 4 Nov 2011 13:23:48 +0000 (08:23 -0500)]
Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin

13 years agoUpdating translations
Christopher Allan Webber [Fri, 4 Nov 2011 13:23:28 +0000 (08:23 -0500)]
Updating translations

13 years agoTiny padding change to vertically center navigation button arrows
Jef van Schendel [Fri, 4 Nov 2011 01:34:00 +0000 (02:34 +0100)]
Tiny padding change to vertically center navigation button arrows

13 years agoSmall style changes to navigation buttons
Jef van Schendel [Fri, 4 Nov 2011 01:30:07 +0000 (02:30 +0100)]
Small style changes to navigation buttons

13 years agoOn second thought, let's use this title for forgot_password.html
Jef van Schendel [Fri, 4 Nov 2011 01:20:26 +0000 (02:20 +0100)]
On second thought, let's use this title for forgot_password.html

13 years agoText edits and rearrangements to login.html
Jef van Schendel [Fri, 4 Nov 2011 01:19:35 +0000 (02:19 +0100)]
Text edits and rearrangements to login.html

13 years agoAdd translation brackety things to forgot-password page, I forgot those
Jef van Schendel [Fri, 4 Nov 2011 01:15:52 +0000 (02:15 +0100)]
Add translation brackety things to forgot-password page, I forgot those

13 years agoText changes to forgot-paddword page
Jef van Schendel [Fri, 4 Nov 2011 01:14:19 +0000 (02:14 +0100)]
Text changes to forgot-paddword page

13 years agoText changes to front page, as described in ticket #637
Jef van Schendel [Fri, 4 Nov 2011 01:06:33 +0000 (02:06 +0100)]
Text changes to front page, as described in ticket #637

13 years agoSeveral small changes (reordering/restyling) for media descriptions and comments
Jef van Schendel [Fri, 4 Nov 2011 00:54:41 +0000 (01:54 +0100)]
Several small changes (reordering/restyling) for media descriptions and comments

13 years agoCorrecting the mediagoblin static/media aliases in the deployment guide
Christopher Allan Webber [Thu, 3 Nov 2011 22:10:39 +0000 (17:10 -0500)]
Correcting the mediagoblin static/media aliases in the deployment guide

13 years agoA correct but compact set of instructions for fastcgi on nginx
Christopher Allan Webber [Thu, 3 Nov 2011 15:59:47 +0000 (10:59 -0500)]
A correct but compact set of instructions for fastcgi on nginx

13 years agoIndentation was off by one ;)
Christopher Allan Webber [Thu, 3 Nov 2011 15:27:39 +0000 (10:27 -0500)]
Indentation was off by one ;)

13 years agoWe left out a critical fastcgi variable from the nginx config
Christopher Allan Webber [Thu, 3 Nov 2011 15:23:53 +0000 (10:23 -0500)]
We left out a critical fastcgi variable from the nginx config

13 years agoRecommendation to install flup!
Christopher Allan Webber [Thu, 3 Nov 2011 14:41:48 +0000 (09:41 -0500)]
Recommendation to install flup!

13 years ago0.1.0, also in the docs file! ;)
Christopher Allan Webber [Wed, 2 Nov 2011 14:09:35 +0000 (09:09 -0500)]
0.1.0, also in the docs file! ;)

13 years ago0.1.0!
Christopher Allan Webber [Wed, 2 Nov 2011 14:08:45 +0000 (09:08 -0500)]
0.1.0!

13 years agoRemoved the bloof print debugging
Christopher Allan Webber [Wed, 2 Nov 2011 13:55:02 +0000 (08:55 -0500)]
Removed the bloof print debugging

13 years agoMake sure you can't force comments on entries that don't exist.
Christopher Allan Webber [Wed, 2 Nov 2011 13:53:33 +0000 (08:53 -0500)]
Make sure you can't force comments on entries that don't exist.

See: http://bugs.foocorp.net/issues/621

13 years agoUpdated logo from Thorsten Wilms!
Christopher Allan Webber [Wed, 2 Nov 2011 04:55:19 +0000 (23:55 -0500)]
Updated logo from Thorsten Wilms!

13 years agoUpdated translations
Christopher Allan Webber [Wed, 2 Nov 2011 04:15:37 +0000 (23:15 -0500)]
Updated translations

13 years agoMerge remote branch 'remotes/j1mc/master'
Christopher Allan Webber [Tue, 1 Nov 2011 04:42:12 +0000 (23:42 -0500)]
Merge remote branch 'remotes/j1mc/master'

13 years agoAdded configuration to the index
Christopher Allan Webber [Tue, 1 Nov 2011 03:42:30 +0000 (22:42 -0500)]
Added configuration to the index

13 years agoA cop-out section for all other config changes
Christopher Allan Webber [Tue, 1 Nov 2011 03:40:39 +0000 (22:40 -0500)]
A cop-out section for all other config changes

13 years agoEnabling email notifications documentation!
Christopher Allan Webber [Tue, 1 Nov 2011 03:26:47 +0000 (22:26 -0500)]
Enabling email notifications documentation!

13 years agodocs - tweaked configuration.rst for style.
Jim Campbell [Tue, 1 Nov 2011 03:20:00 +0000 (22:20 -0500)]
docs - tweaked configuration.rst for style.

13 years agoMaking docs changes per Jim's suggestions.
Christopher Allan Webber [Tue, 1 Nov 2011 03:08:30 +0000 (22:08 -0500)]
Making docs changes per Jim's suggestions.

13 years agoAdded the "making local copies" section to configuration.rst
Christopher Allan Webber [Tue, 1 Nov 2011 03:07:12 +0000 (22:07 -0500)]
Added the "making local copies" section to configuration.rst

13 years agoFirst section of configuring mediagoblin
Christopher Allan Webber [Tue, 1 Nov 2011 02:58:21 +0000 (21:58 -0500)]
First section of configuring mediagoblin

13 years agoConfiguring MediaGoblin, a loose sketch of documentation.
Christopher Allan Webber [Mon, 31 Oct 2011 04:29:06 +0000 (23:29 -0500)]
Configuring MediaGoblin, a loose sketch of documentation.

13 years agodocs: editing/tweaking deployment documentation
tycho garen [Mon, 31 Oct 2011 04:21:30 +0000 (00:21 -0400)]
docs: editing/tweaking deployment documentation

13 years agoAdded notes on a more permanent mediagoblin process.
Christopher Allan Webber [Sun, 30 Oct 2011 23:59:07 +0000 (18:59 -0500)]
Added notes on a more permanent mediagoblin process.

13 years agoMake sure we run fcgi in forked mode... mediagoblin is not currently thread safe!
Christopher Allan Webber [Sun, 30 Oct 2011 23:37:32 +0000 (18:37 -0500)]
Make sure we run fcgi in forked mode... mediagoblin is not currently thread safe!

13 years agoNo reason to include commented-out things.
Christopher Allan Webber [Sun, 30 Oct 2011 21:59:15 +0000 (16:59 -0500)]
No reason to include commented-out things.

13 years agoRecommend that users use a non-privelaged user (thanks Elrond for the text)
Christopher Allan Webber [Sun, 30 Oct 2011 21:47:39 +0000 (16:47 -0500)]
Recommend that users use a non-privelaged user (thanks Elrond for the text)

13 years agoLet's comply with the Filesystem Hierarchy Standard
Christopher Allan Webber [Sun, 30 Oct 2011 21:43:12 +0000 (16:43 -0500)]
Let's comply with the Filesystem Hierarchy Standard

... and make elrond and tychoish happy :)

13 years agoIf I"m telling people to use fastcgi, we should probably use fastcgi ;)
Christopher Allan Webber [Sun, 30 Oct 2011 21:22:35 +0000 (16:22 -0500)]
If I"m telling people to use fastcgi, we should probably use fastcgi ;)

13 years agoHook mediagoblin up to nginx
Christopher Allan Webber [Sun, 30 Oct 2011 21:07:48 +0000 (16:07 -0500)]
Hook mediagoblin up to nginx

13 years agoMore easy options for deploying without having to modify paste.ini...
Christopher Allan Webber [Sun, 30 Oct 2011 18:58:54 +0000 (13:58 -0500)]
More easy options for deploying without having to modify paste.ini...

13 years agoAdded a lot more details to deploying.rst
Christopher Allan Webber [Sun, 30 Oct 2011 16:55:41 +0000 (11:55 -0500)]
Added a lot more details to deploying.rst

13 years agoAdded a "broadcast" server config and a bit of helpful commenting (I hope!)
Christopher Allan Webber [Sun, 30 Oct 2011 16:51:40 +0000 (11:51 -0500)]
Added a "broadcast" server config and a bit of helpful commenting (I hope!)

13 years ago[620] Allow for multiple mediagoblin configs to be set in config.ini, use first
Christopher Allan Webber [Sat, 29 Oct 2011 22:04:19 +0000 (17:04 -0500)]
[620] Allow for multiple mediagoblin configs to be set in config.ini, use first

This way we can copy paste.ini into paste_local.ini but not have to
update it to find mediagoblin_local.ini.

13 years agoDefault to mediagoblin_local.ini if available in ./bin/gmg commands
Christopher Allan Webber [Sat, 29 Oct 2011 21:24:52 +0000 (16:24 -0500)]
Default to mediagoblin_local.ini if available in ./bin/gmg commands

13 years agoMerge remote branch 'remotes/elrond/misc/lazyserver_paste_local'
Jef van Schendel [Sat, 29 Oct 2011 21:13:39 +0000 (16:13 -0500)]
Merge remote branch 'remotes/elrond/misc/lazyserver_paste_local'

13 years agoSmall style changes: decrease button text size, change navigation button background...
Jef van Schendel [Sat, 29 Oct 2011 19:27:14 +0000 (14:27 -0500)]
Small style changes: decrease button text size, change navigation button background color

13 years agoRemoving this extra padding after form_field_box.
Christopher Allan Webber [Sat, 29 Oct 2011 19:13:19 +0000 (14:13 -0500)]
Removing this extra padding after form_field_box.

Maybe I'm wrong to do this, but it does seem excessive to me.

I should talk to Jef about it probably :)

13 years agoRemoving comment_form link which doesn't do anything?
Christopher Allan Webber [Sat, 29 Oct 2011 19:11:45 +0000 (14:11 -0500)]
Removing comment_form link which doesn't do anything?

13 years agoUnclosed anchor tags in the tags! Fixed :)
Christopher Allan Webber [Thu, 27 Oct 2011 18:53:32 +0000 (13:53 -0500)]
Unclosed anchor tags in the tags!  Fixed :)

13 years agoOnly show the "post a comment" link if there's a logged in user
Christopher Allan Webber [Thu, 27 Oct 2011 18:13:19 +0000 (13:13 -0500)]
Only show the "post a comment" link if there's a logged in user

13 years agoRenamed "Temporary button holder" to "actions"
Christopher Allan Webber [Thu, 27 Oct 2011 15:52:18 +0000 (10:52 -0500)]
Renamed "Temporary button holder" to "actions"

13 years agoRemoved suggestion that the user run ./bin/buildout
Christopher Allan Webber [Wed, 26 Oct 2011 16:24:39 +0000 (11:24 -0500)]
Removed suggestion that the user run ./bin/buildout

13 years agoAdded an extra warning about wipealldata being pretty inflexible.
Christopher Allan Webber [Wed, 26 Oct 2011 16:21:25 +0000 (11:21 -0500)]
Added an extra warning about wipealldata being pretty inflexible.

13 years agolazyserver.sh: Try paste_local.ini before paste.ini
Elrond [Sun, 23 Oct 2011 21:54:00 +0000 (23:54 +0200)]
lazyserver.sh: Try paste_local.ini before paste.ini

If users have a paste_local.ini, use that one instead of
the shipped paste.ini.
That way local changes will not interfere with the main
shipped config.

Also improve the help string (./lazyserver.sh -h) a bit.

13 years agoflup, not flerp!
Christopher Allan Webber [Sun, 23 Oct 2011 21:12:10 +0000 (16:12 -0500)]
flup, not flerp!

13 years agoMerge remote branch 'remotes/elrond/misc/add_db_field'
Christopher Allan Webber [Sun, 23 Oct 2011 20:38:38 +0000 (15:38 -0500)]
Merge remote branch 'remotes/elrond/misc/add_db_field'

13 years agoMerge remote branch 'remotes/elrond/refactor/gmg_cf_option'
Christopher Allan Webber [Sun, 23 Oct 2011 20:22:18 +0000 (15:22 -0500)]
Merge remote branch 'remotes/elrond/refactor/gmg_cf_option'

13 years agoAdd a flup server option to the default paste.ini to make deployment a bit easier.
Christopher Allan Webber [Sun, 23 Oct 2011 20:21:15 +0000 (15:21 -0500)]
Add a flup server option to the default paste.ini to make deployment a bit easier.

13 years agoShould be Lato-Regular.ttf not Lato-Regular.woff (why was it even working?)
Christopher Allan Webber [Sun, 23 Oct 2011 19:59:58 +0000 (14:59 -0500)]
Should be Lato-Regular.ttf not Lato-Regular.woff (why was it even working?)

13 years agoMake gmg's -cf option a global option
Elrond [Sun, 23 Oct 2011 19:33:52 +0000 (21:33 +0200)]
Make gmg's -cf option a global option

All gmg's subcommands used to have a -cf option to set the
config file. Instead make this a gmg global option.
This means:
  bin/gmg migrate -cf mediagoblin_2.ini
gets
  bin/gmg -cf mediagoblin_2.ini migrate

13 years agoRefactor gmg's cf option into a function
Elrond [Sun, 23 Oct 2011 10:47:25 +0000 (12:47 +0200)]
Refactor gmg's cf option into a function

Many (all?) gmg subcommands take a -cf option to change the
used config file. This options used to be created in each
subcommand's parse_setup. Add a helper function and use it
around.