Christopher Allan Webber [Fri, 4 Nov 2011 13:23:28 +0000 (08:23 -0500)]
Updating translations
Christopher Allan Webber [Thu, 3 Nov 2011 22:10:39 +0000 (17:10 -0500)]
Correcting the mediagoblin static/media aliases in the deployment guide
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
Christopher Allan Webber [Thu, 3 Nov 2011 15:27:39 +0000 (10:27 -0500)]
Indentation was off by one ;)
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
Christopher Allan Webber [Thu, 3 Nov 2011 14:41:48 +0000 (09:41 -0500)]
Recommendation to install flup!
Christopher Allan Webber [Wed, 2 Nov 2011 14:09:35 +0000 (09:09 -0500)]
0.1.0, also in the docs file! ;)
Christopher Allan Webber [Wed, 2 Nov 2011 14:08:45 +0000 (09:08 -0500)]
0.1.0!
Christopher Allan Webber [Wed, 2 Nov 2011 13:55:02 +0000 (08:55 -0500)]
Removed the bloof print debugging
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
Christopher Allan Webber [Wed, 2 Nov 2011 04:55:19 +0000 (23:55 -0500)]
Updated logo from Thorsten Wilms!
Christopher Allan Webber [Wed, 2 Nov 2011 04:15:37 +0000 (23:15 -0500)]
Updated translations
Christopher Allan Webber [Tue, 1 Nov 2011 04:42:12 +0000 (23:42 -0500)]
Merge remote branch 'remotes/j1mc/master'
Christopher Allan Webber [Tue, 1 Nov 2011 03:42:30 +0000 (22:42 -0500)]
Added configuration to the index
Christopher Allan Webber [Tue, 1 Nov 2011 03:40:39 +0000 (22:40 -0500)]
A cop-out section for all other config changes
Christopher Allan Webber [Tue, 1 Nov 2011 03:26:47 +0000 (22:26 -0500)]
Enabling email notifications documentation!
Jim Campbell [Tue, 1 Nov 2011 03:20:00 +0000 (22:20 -0500)]
docs - tweaked configuration.rst for style.
Christopher Allan Webber [Tue, 1 Nov 2011 03:08:30 +0000 (22:08 -0500)]
Making docs changes per Jim's suggestions.
Christopher Allan Webber [Tue, 1 Nov 2011 03:07:12 +0000 (22:07 -0500)]
Added the "making local copies" section to configuration.rst
Christopher Allan Webber [Tue, 1 Nov 2011 02:58:21 +0000 (21:58 -0500)]
First section of configuring mediagoblin
Christopher Allan Webber [Mon, 31 Oct 2011 04:29:06 +0000 (23:29 -0500)]
Configuring MediaGoblin, a loose sketch of documentation.
tycho garen [Mon, 31 Oct 2011 04:21:30 +0000 (00:21 -0400)]
docs: editing/tweaking deployment documentation
Christopher Allan Webber [Sun, 30 Oct 2011 23:59:07 +0000 (18:59 -0500)]
Added notes on a more permanent mediagoblin process.
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!
Christopher Allan Webber [Sun, 30 Oct 2011 21:59:15 +0000 (16:59 -0500)]
No reason to include commented-out things.
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)
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 :)
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 ;)
Christopher Allan Webber [Sun, 30 Oct 2011 21:07:48 +0000 (16:07 -0500)]
Hook mediagoblin up to nginx
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...
Christopher Allan Webber [Sun, 30 Oct 2011 16:55:41 +0000 (11:55 -0500)]
Added a lot more details to deploying.rst
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!)
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.
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
Jef van Schendel [Sat, 29 Oct 2011 21:13:39 +0000 (16:13 -0500)]
Merge remote branch 'remotes/elrond/misc/lazyserver_paste_local'
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
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 :)
Christopher Allan Webber [Sat, 29 Oct 2011 19:11:45 +0000 (14:11 -0500)]
Removing comment_form link which doesn't do anything?
Christopher Allan Webber [Thu, 27 Oct 2011 18:53:32 +0000 (13:53 -0500)]
Unclosed anchor tags in the tags! Fixed :)
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
Christopher Allan Webber [Thu, 27 Oct 2011 15:52:18 +0000 (10:52 -0500)]
Renamed "Temporary button holder" to "actions"
Christopher Allan Webber [Wed, 26 Oct 2011 16:24:39 +0000 (11:24 -0500)]
Removed suggestion that the user run ./bin/buildout
Christopher Allan Webber [Wed, 26 Oct 2011 16:21:25 +0000 (11:21 -0500)]
Added an extra warning about wipealldata being pretty inflexible.
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.
Christopher Allan Webber [Sun, 23 Oct 2011 21:12:10 +0000 (16:12 -0500)]
flup, not flerp!
Christopher Allan Webber [Sun, 23 Oct 2011 20:38:38 +0000 (15:38 -0500)]
Merge remote branch 'remotes/elrond/misc/add_db_field'
Christopher Allan Webber [Sun, 23 Oct 2011 20:22:18 +0000 (15:22 -0500)]
Merge remote branch 'remotes/elrond/refactor/gmg_cf_option'
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.
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?)
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
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.
Elrond [Fri, 21 Oct 2011 22:21:25 +0000 (00:21 +0200)]
Change unit tests to use add_table_field
One of the test migrations adds a field. So rewrite it to
use the new add_table_field helper function. This is a
good test for it.
Elrond [Mon, 10 Oct 2011 20:08:46 +0000 (22:08 +0200)]
Factor out a add_table_field function
Migrations often just add a new field to some
table/collection. So just have a nice helper function for
this!
Christopher Allan Webber [Tue, 18 Oct 2011 22:50:24 +0000 (17:50 -0500)]
Require an older version of WebOb as a stopgap fix for Issue #622
Hopefully they'll release a new version with my patch soon!
Christopher Allan Webber [Sat, 15 Oct 2011 22:44:22 +0000 (17:44 -0500)]
Now that we're encouraging in-package virtualenv use, we should update
.gitignore. Done! ;)
Elrond [Sat, 15 Oct 2011 22:25:59 +0000 (00:25 +0200)]
Hotfix: Renaming cookie broke unit tests
The name of the cookie was hardcoded in the unit tests and
while renaming the cookie this part was missed.
So now read the cookie_name from the config in the test.
This also tests for the config item existing!
Christopher Allan Webber [Sat, 15 Oct 2011 21:57:45 +0000 (16:57 -0500)]
Support for older webobs and newer webobs both in accept language mess :)
Christopher Allan Webber [Sat, 15 Oct 2011 21:46:04 +0000 (16:46 -0500)]
Fixes issue662, MediaGoblin was broken by recent WebOb release.
From WebOb release notes:
"Accept.best_matches() is gone; use list(request.accept) or
request.accept.best_match(..) instead (applies to all Accept-*
headers) or similar with request.accept_language."
... seems that's what borked it...
Christopher Allan Webber [Sat, 15 Oct 2011 16:07:13 +0000 (11:07 -0500)]
Merge remote branch 'remotes/elrond/misc/i592_use_full_path'
Christopher Allan Webber [Sat, 15 Oct 2011 15:28:37 +0000 (10:28 -0500)]
Merge remote branch 'remotes/elrond/idea/csrf_improvement'
Elrond [Sat, 15 Oct 2011 12:59:52 +0000 (14:59 +0200)]
Merge remote branch 'aaronw/bug601_blank_comments'
* aaronw/bug601_blank_comments:
Make Comment posted! translatable.
Update english translation file.
Added a check to prevent blank messages from being posted.
Conflicts:
mediagoblin/i18n/en/LC_MESSAGES/mediagoblin.po
Elrond [Sat, 15 Oct 2011 12:15:36 +0000 (14:15 +0200)]
Merge remote branch 'aaronw/bug608_checkbox_labels'
* aaronw/bug608_checkbox_labels:
No need to translate label name.
Add label tag to fix translation issue.
Update english translation file.
Checkbox label is being translated in the form definition -- translating it in the template is redundant and breaks <label> functionality.
Conflicts:
mediagoblin/i18n/en/LC_MESSAGES/mediagoblin.po
Elrond [Sat, 15 Oct 2011 11:31:43 +0000 (13:31 +0200)]
Improve indentation a bit
Only change: Indentation, nothing else!
Elrond [Sat, 15 Oct 2011 11:54:58 +0000 (13:54 +0200)]
Merge remote branch 'aaronw/feature469_comment_form_under_comments'
* aaronw/feature469_comment_form_under_comments:
Put the trans tag in the right place.
Move comment form below comments.
Aaron Williamson [Fri, 14 Oct 2011 23:33:48 +0000 (19:33 -0400)]
Put the trans tag in the right place.
Elrond [Mon, 3 Oct 2011 22:12:03 +0000 (00:12 +0200)]
Some mostly cosmetic changes to CSRF
* remove max_age - A session cookie is better, because it's
a session thing, really.
* Call the cookie mediagoblin_csrftoken, much clearer.
* Use the SCRIPT_NAME for the path of the cookie, so that
the cookie is sent back to the right place only.
Alternatively the path= parameter could be removed, so
that it defaults to '/'.
* call the randomness function only once, instead of twice.
64 bits should be enough. If really more bits are needed,
increase the number.
* Just give the number as cookie. No point in md5 and
hexdigest in my view (those functions just make another
representation).
* getrandbits gets a bit count directly, simpler API
Will Kahn-Greene [Thu, 6 Oct 2011 03:08:53 +0000 (23:08 -0400)]
Overhauls docs
* Removes a bunch of content that doesn't need to be in the suer manual
anymore.
* Fixes issues so it's more readable in source form.
* Adds help chapter.
* Moves links out of paragraphs to reduce line length.
* Cleans up some language.
* Fixes some links.
Christopher Allan Webber [Thu, 6 Oct 2011 01:57:02 +0000 (20:57 -0500)]
Fixing 404s, related to recent util refactoring.
Aaron Williamson [Tue, 4 Oct 2011 20:32:41 +0000 (16:32 -0400)]
Make Comment posted! translatable.
Aaron Williamson [Tue, 4 Oct 2011 20:12:43 +0000 (16:12 -0400)]
No need to translate label name.
Aaron Williamson [Tue, 4 Oct 2011 20:11:47 +0000 (16:11 -0400)]
Add label tag to fix translation issue.
Aaron Williamson [Tue, 4 Oct 2011 01:32:36 +0000 (21:32 -0400)]
Move comment form below comments.
Aaron Williamson [Tue, 4 Oct 2011 01:06:28 +0000 (21:06 -0400)]
Update english translation file.
Aaron Williamson [Tue, 4 Oct 2011 01:05:23 +0000 (21:05 -0400)]
Update english translation file.
Aaron Williamson [Tue, 4 Oct 2011 01:03:36 +0000 (21:03 -0400)]
Added a check to prevent blank messages from being posted.
Aaron Williamson [Tue, 4 Oct 2011 00:47:39 +0000 (20:47 -0400)]
Checkbox label is being translated in the form definition -- translating it in the template is redundant and breaks <label> functionality.
Elrond [Mon, 3 Oct 2011 12:01:13 +0000 (14:01 +0200)]
i592: Use full path in various places
When running mediagoblin in a sub path on a web server,
most things inside mediagoblin need the "inside path", but
when generating URLs for the webbrowser, full paths are
needed.
urlgen and routes already do that.
Some (mostly pagination and login) need the URL of the
current page. They used request.path_info. But this is the
"inside" path, not the full.
So now there is request.full_path and its used in various
places.
Christopher Allan Webber [Sun, 2 Oct 2011 02:31:14 +0000 (21:31 -0500)]
Adding csrf token fields to the forgot password calls
Christopher Allan Webber [Sun, 2 Oct 2011 02:30:41 +0000 (21:30 -0500)]
Fixing indentation in start.html
Christopher Allan Webber [Sun, 2 Oct 2011 02:27:36 +0000 (21:27 -0500)]
Merge remote branch 'remotes/aaronw/bug444_fix_utils_py_redux'
Conflicts:
mediagoblin/util.py
Christopher Allan Webber [Sun, 2 Oct 2011 01:54:24 +0000 (20:54 -0500)]
Merge remote branch 'remotes/jwandborg/storage_split_fix'
Christopher Allan Webber [Sun, 2 Oct 2011 01:45:43 +0000 (20:45 -0500)]
Merge remote branch 'remotes/nyergler/569-application-middleware'
Christopher Allan Webber [Sun, 2 Oct 2011 01:38:07 +0000 (20:38 -0500)]
Merge remote branch 'remotes/elrond/misc/f602_client_cache_improvement'
Aaron Williamson [Sat, 1 Oct 2011 22:09:49 +0000 (18:09 -0400)]
Merge branch 'mediagoblin-upstream' into bug444_fix_utils_py_redux
Aaron Williamson [Sat, 1 Oct 2011 22:05:44 +0000 (18:05 -0400)]
Finished splitting util.py into separate files.
Aaron Williamson [Sat, 1 Oct 2011 22:05:17 +0000 (18:05 -0400)]
Finished splitting util.py into separate files.
Nathan Yergler [Sat, 1 Oct 2011 21:24:49 +0000 (14:24 -0700)]
#361: Removing additional secret key, per CW's request.
Nathan Yergler [Sat, 1 Oct 2011 21:21:02 +0000 (14:21 -0700)]
#361 Unit tests for CSRF Middleware
Nathan Yergler [Sat, 1 Oct 2011 20:13:14 +0000 (13:13 -0700)]
#361: Don't test for CSRF token if we're running unit tests.
Nathan Yergler [Sat, 1 Oct 2011 19:48:43 +0000 (12:48 -0700)]
PEP8-ification.
Nathan Yergler [Sat, 1 Oct 2011 19:08:58 +0000 (12:08 -0700)]
Merge remote-tracking branch 'refs/remotes/upstream/master' into 569-application-middleware
Conflicts:
mediagoblin/templates/mediagoblin/user_pages/media_confirm_delete.html
Aaron Williamson [Sat, 1 Oct 2011 13:32:43 +0000 (09:32 -0400)]
Merge branch 'mediagoblin-upstream' into bug444_fix_utils_py_redux
Aaron Williamson [Sat, 1 Oct 2011 13:31:42 +0000 (09:31 -0400)]
Moved common, translation, template, and url code out of util.py and into tools/[file].py
Elrond [Fri, 30 Sep 2011 20:27:47 +0000 (22:27 +0200)]
Give debug message in email debug mode
If the server is running in email debug mode (current
default), users have often asked where the mail is. So tell
them in the web browser that their mail is on the console.
Elrond [Thu, 29 Sep 2011 18:15:53 +0000 (20:15 +0200)]
When using paste's static content server to serve media
entries and other files the client should have some idea on
how long it can cache those files locally before asking
again for them.
The old setting was: Don't allow the client to cache.
New setting:
1 week for the media entries (they don't change, ever)
1 day for css/logos, etc. They change on an update, so
people might want to see the new design soon.
Christopher Allan Webber [Wed, 28 Sep 2011 22:33:03 +0000 (17:33 -0500)]
Merge remote branch 'remotes/elrond/misc/use_staticdirect'
Christopher Allan Webber [Mon, 26 Sep 2011 01:31:00 +0000 (20:31 -0500)]
Updating translations
Christopher Allan Webber [Mon, 26 Sep 2011 01:26:06 +0000 (20:26 -0500)]
Stripping out whitespace on these translation blocks.
{% trans -%}
;o
{%- endtrans %}
Joar Wandborg [Thu, 15 Sep 2011 11:19:25 +0000 (13:19 +0200)]
mountstorage - Changed typo in import
Elrond [Wed, 14 Sep 2011 17:52:47 +0000 (19:52 +0200)]
Templates: Use request.staticdirect instead of /mgoblin_static
Any reference to static, shipped content should use
request.staticdirect instead of the default path.
Especially if hosting mediagoblin via fastcgi, the paths
might need changing.