Christopher Allan Webber [Thu, 12 May 2011 14:18:53 +0000 (09:18 -0500)]
Add the jinja2 extension to the jinja loader
Christopher Allan Webber [Thu, 12 May 2011 12:17:02 +0000 (07:17 -0500)]
Fixing tyop in README... thanks Daniel Neel!
Also clarifying that our public alpha may be in October, which is what
we've said elsewhere.
Christopher Allan Webber [Thu, 12 May 2011 12:15:11 +0000 (07:15 -0500)]
Right, we don't need the exported HTML either.
Christopher Allan Webber [Thu, 12 May 2011 12:14:15 +0000 (07:14 -0500)]
I don't believe we need READMEish.org anymore.
Sebastian Spaeth [Sun, 8 May 2011 23:08:46 +0000 (01:08 +0200)]
Enforce using local dateutil with buildout
Natty has a too old system dateutil, but buildout will put the system
modules in the search path first. By adding the dateutil spec to the
'egg' requirement, we put the dateutil inclusion of the local egg first
and natty compiles (buildouts) fine.
Part of http://bugs.foocorp.net/issues/308
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Christopher Allan Webber [Wed, 11 May 2011 15:26:15 +0000 (10:26 -0500)]
URLs should end in trailing slashes, or slash redirection doesn't work
Christopher Allan Webber [Tue, 10 May 2011 21:35:34 +0000 (16:35 -0500)]
Removing this horrifying submission test stuff from way back when
Christopher Allan Webber [Tue, 10 May 2011 21:25:04 +0000 (16:25 -0500)]
404 appropriately here
Christopher Allan Webber [Tue, 10 May 2011 21:24:51 +0000 (16:24 -0500)]
Indenting these templates because I'm pedantic about tag sections
having their content indented :)
Sebastian Spaeth [Sun, 8 May 2011 18:35:54 +0000 (20:35 +0200)]
Implement simple media detail page
This patch creates a "homepage" for each media. The URL is
/u/<username>/m/<objID>.
On it we display the media and some details. It is ugly and lacking some
stuff but it works. The only thing left to do is to throw an 404 error
if the <username> and the media uploader don't correspond.
- Also create a user "home page" while at it. It is merely a place
holder for now though.
- Link from the entries on the homepage, to the media pages, so we
actually find them.
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Christopher Allan Webber [Mon, 9 May 2011 01:20:19 +0000 (20:20 -0500)]
Merge remote branch 'spaetz/fix_description'
Sebastian Spaeth [Sun, 8 May 2011 22:23:12 +0000 (00:23 +0200)]
Fix description submission in form handling
When we submitted an image the description would remain empty. THis was
because of some weird typo in form handling. Get an attribute with
.get('description') and not with .get(['description']). With this patch,
descriptions actually go into the database.
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Christopher Allan Webber [Sun, 8 May 2011 15:07:39 +0000 (10:07 -0500)]
Asbool the email debug mode option
Sebastian Spaeth [Sun, 8 May 2011 13:46:35 +0000 (15:46 +0200)]
Don't escape the verification URL
In the verification email we would output the URL using HTML encoded
text, so that e.g. & -> &. We don't want that and we know the URL
won't contain user contributed content, so it is safe to turn off HTML
encoding here.
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Christopher Allan Webber [Sun, 8 May 2011 12:16:50 +0000 (07:16 -0500)]
Only convert db port if it's there and use asint to do it (better errors if failing)
Christopher Allan Webber [Sun, 8 May 2011 12:11:57 +0000 (07:11 -0500)]
Merge remote branch 'refs/remotes/spaetz/master'
Christopher Allan Webber [Sun, 8 May 2011 12:07:08 +0000 (07:07 -0500)]
mgoblin_section.get, not app_config.get (doh)
My name's Chris Webber and I ignore pyflakes warnings.
Sebastian Spaeth [Sun, 8 May 2011 09:12:38 +0000 (11:12 +0200)]
app.py: Need to pass in port number as 'int'
When we configured an explicite db_port in mediagoblin.ini, paster would
crash claiming that the port number must be an int. Given that we don't
have a "get_conf_int()" function or something similar (yet?), simply
convert the port number to int before passing it to the mongo Connection
instance.
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Christopher Allan Webber [Sun, 8 May 2011 03:45:30 +0000 (22:45 -0500)]
Removing unused sys import from setup.py
Christopher Allan Webber [Sun, 8 May 2011 03:45:06 +0000 (22:45 -0500)]
Added an email debug mode which, by default, is enabled
Christopher Allan Webber [Sun, 8 May 2011 03:44:37 +0000 (22:44 -0500)]
[to_email] rather than list(to_email) which makes a nasty series like ['e','m','a','i','l']
Christopher Allan Webber [Sun, 8 May 2011 01:05:28 +0000 (20:05 -0500)]
Merge remote branch 'refs/remotes/jwandborg/master'
Joar Wandborg [Sun, 8 May 2011 00:03:11 +0000 (02:03 +0200)]
Updated default sender address
Signed-off-by: Joar Wandborg <git@wandborg.com>
Joar Wandborg [Sun, 8 May 2011 00:01:26 +0000 (02:01 +0200)]
Added verification email template
Signed-off-by: Joar Wandborg <git@wandborg.com>
Joar Wandborg [Sat, 7 May 2011 23:58:58 +0000 (01:58 +0200)]
Removed unused variable
Signed-off-by: Joar Wandborg <git@wandborg.com>
Joar Wandborg [Sat, 7 May 2011 22:55:57 +0000 (00:55 +0200)]
Made changes according to bugs.foocorp.net/issues/271#note-7
Signed-off-by: Joar Wandborg <git@wandborg.com>
Christopher Allan Webber [Sat, 7 May 2011 18:58:36 +0000 (13:58 -0500)]
Reversing buildout and virtualenv instructions because I think
virtualenv is easier if you don't know how this stuff works, and it
works.
Joar Wandborg [Sat, 7 May 2011 16:07:04 +0000 (18:07 +0200)]
Merge branch 'master' of git.gitorious.org/mediagoblin/mediagoblin
Will Kahn-Greene [Sat, 7 May 2011 13:57:58 +0000 (09:57 -0400)]
Removes the git requirement--that's redundant
Will Kahn-Greene [Sat, 7 May 2011 13:57:37 +0000 (09:57 -0400)]
Wraps the virtualenv wrapper line
Will Kahn-Greene [Sat, 7 May 2011 13:56:39 +0000 (09:56 -0400)]
Tweaks the "if mongodb isn't working" troubleshooting section
Christopher Allan Webber [Sat, 7 May 2011 13:54:53 +0000 (08:54 -0500)]
Be sure to read the install instructions!
Will Kahn-Greene [Sat, 7 May 2011 13:42:01 +0000 (09:42 -0400)]
Fixes headers in hacking howto docs
Will Kahn-Greene [Sat, 7 May 2011 12:49:36 +0000 (08:49 -0400)]
Overhauls hacking howto
* reworks virtualenv section to be way better
* reworks buildout section to mirror virtualenv section
* reworks other sections that depend on which development environment
building method you chose
Joar Wandborg [Sat, 7 May 2011 11:46:30 +0000 (13:46 +0200)]
Merge branch 'master' of git.gitorious.org/mediagoblin/mediagoblin
Will Kahn-Greene [Sat, 7 May 2011 02:06:36 +0000 (22:06 -0400)]
First pass at adding virtualenv instructions.
Will Kahn-Greene [Sat, 7 May 2011 01:54:10 +0000 (21:54 -0400)]
Fixes a link in the docs
Joar Wandborg [Sat, 7 May 2011 01:11:36 +0000 (03:11 +0200)]
Merge branch 'master' of git.gitorious.org/mediagoblin/mediagoblin
Joar Wandborg [Sat, 7 May 2011 01:08:09 +0000 (03:08 +0200)]
Added functionality to send out verification email upon successful registration
Signed-off-by: Joar Wandborg <git@wandborg.com>
Joar Wandborg [Sat, 7 May 2011 00:30:35 +0000 (02:30 +0200)]
Changed the method used to generate uuids for verification_key, this one works, thanks paroneayea
Signed-off-by: Joar Wandborg <git@wandborg.com>
Joar Wandborg [Fri, 6 May 2011 22:57:39 +0000 (00:57 +0200)]
mediagoblin.util.send_email now supports both list() and string() in the 'to_addrs' parameter
Signed-off-by: Joar Wandborg <git@wandborg.com>
Joar Wandborg [Fri, 6 May 2011 22:55:32 +0000 (00:55 +0200)]
Fixed bug in models.py:User that caused all users created by the same python process to have the same verification_key value
Signed-off-by: Joar Wandborg <git@wandborg.com>
Christopher Allan Webber [Fri, 6 May 2011 15:06:57 +0000 (10:06 -0500)]
Instructions on running celeryd
Christopher Allan Webber [Fri, 6 May 2011 15:01:26 +0000 (10:01 -0500)]
Actually display submitted stuff on the mainpage. Crappy, but working!
Christopher Allan Webber [Fri, 6 May 2011 15:01:11 +0000 (10:01 -0500)]
Erk, we didn't save the state right before
Christopher Allan Webber [Fri, 6 May 2011 14:37:24 +0000 (09:37 -0500)]
Process media! Successfully!
Christopher Allan Webber [Fri, 6 May 2011 12:44:54 +0000 (07:44 -0500)]
A completely evil environment destroying script.
Christopher Allan Webber [Fri, 6 May 2011 11:56:26 +0000 (06:56 -0500)]
It doesn't necessarily have to be bash.
Christopher Allan Webber [Fri, 6 May 2011 11:55:20 +0000 (06:55 -0500)]
Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin
Christopher Allan Webber [Fri, 6 May 2011 11:54:57 +0000 (06:54 -0500)]
Made a link to the script wiping tool feature request ticket
Christopher Allan Webber [Fri, 6 May 2011 11:51:07 +0000 (06:51 -0500)]
Moving wiping to a clean slate beneath running server/ test suite
Joar Wandborg [Fri, 6 May 2011 08:37:08 +0000 (10:37 +0200)]
Merge branch 'master' of git.gitorious.org/mediagoblin/mediagoblin
Will Kahn-Greene [Thu, 5 May 2011 22:22:27 +0000 (18:22 -0400)]
Adds design decision for the name
Joar Wandborg [Wed, 4 May 2011 20:31:08 +0000 (22:31 +0200)]
Merge branch 'master' of git.gitorious.org/mediagoblin/mediagoblin
Christopher Allan Webber [Wed, 4 May 2011 13:11:37 +0000 (08:11 -0500)]
A simple, maybe obvious, docstring for util.send_email()
Christopher Allan Webber [Wed, 4 May 2011 13:00:08 +0000 (08:00 -0500)]
send_email tool and email sending tests
Joar Wandborg [Wed, 4 May 2011 09:50:39 +0000 (11:50 +0200)]
Merge branch 'master' of git.gitorious.org/mediagoblin/mediagoblin
Christopher Allan Webber [Wed, 4 May 2011 02:48:02 +0000 (21:48 -0500)]
Force imports of stuff like mediagoblin.process_media which has tasks we need
Christopher Allan Webber [Wed, 4 May 2011 02:45:24 +0000 (21:45 -0500)]
Require PIL
Christopher Allan Webber [Wed, 4 May 2011 02:45:13 +0000 (21:45 -0500)]
Add a rudimentary media processing function.
Haven't completely checked it for workingness, and not the final form
this will take :)
Joar Wandborg [Tue, 3 May 2011 18:04:55 +0000 (20:04 +0200)]
Merge branch 'master' of git.gitorious.org/mediagoblin/mediagoblin
Joar Wandborg [Tue, 3 May 2011 18:03:54 +0000 (20:03 +0200)]
Added server-log.txt to .gitignore
Signed-off-by: Joar Wandborg <git@wandborg.com>
Joar Wandborg [Tue, 3 May 2011 17:49:39 +0000 (19:49 +0200)]
Added functionality to support user email verification, email = TBD, verification = done.
Signed-off-by: Joar Wandborg <git@wandborg.com>
Will Kahn-Greene [Tue, 3 May 2011 16:07:01 +0000 (12:07 -0400)]
Lots of documentation changes
* added a YouCanHelp directive to replace FIXMEs and encourage contributors
to help out
* moved some bits around between the hacking howto and the codebase documents
* expanded on the stub nature of the theming howto
* tweaked some other text
Christopher Allan Webber [Tue, 3 May 2011 14:49:56 +0000 (09:49 -0500)]
Add the base.css and reference it so other people can start working on it :)
Will Kahn-Greene [Mon, 2 May 2011 16:20:53 +0000 (12:20 -0400)]
Fixes dead references in docs.
Christopher Allan Webber [Mon, 2 May 2011 00:41:22 +0000 (19:41 -0500)]
Register the models when using from_celery
Christopher Allan Webber [Sun, 1 May 2011 23:22:58 +0000 (18:22 -0500)]
Merge branch 'master' into celerysubmit
Christopher Allan Webber [Sun, 1 May 2011 23:22:27 +0000 (18:22 -0500)]
Require sphinx & jinja2 for good measure :)
Christopher Allan Webber [Sun, 1 May 2011 15:17:39 +0000 (10:17 -0500)]
Include dependent scripts... maybe we'll change this later
Christopher Allan Webber [Sun, 1 May 2011 15:17:04 +0000 (10:17 -0500)]
Now we have something useful: mediagoblin.celery_setup.from_celery
auto-configures a celery config module from your paste config
Christopher Allan Webber [Sun, 1 May 2011 14:01:20 +0000 (09:01 -0500)]
Second round of tests for setup_celery_from_config(), with some database information
Christopher Allan Webber [Sun, 1 May 2011 02:54:05 +0000 (21:54 -0500)]
tests for setup_celery_from_config()
Christopher Allan Webber [Sun, 1 May 2011 02:53:39 +0000 (21:53 -0500)]
A few more corrections to make setup_celery_from_config() work right
Will Kahn-Greene [Sat, 30 Apr 2011 18:42:14 +0000 (14:42 -0400)]
Changes beardomatic things to codebase things
Christopher Allan Webber [Sat, 30 Apr 2011 16:32:33 +0000 (11:32 -0500)]
Import based on the DEFAULT_SETTINGS_MODULE in setup_celery_from_config
Will Kahn-Greene [Sat, 30 Apr 2011 15:17:35 +0000 (11:17 -0400)]
Adds section on git
* instructions for contributing patches
* learning git
* learning other utilities
Christopher Allan Webber [Sat, 30 Apr 2011 14:31:03 +0000 (09:31 -0500)]
Changing the wording around the django-like components statement
Christopher Allan Webber [Sat, 30 Apr 2011 14:26:03 +0000 (09:26 -0500)]
Clarified that copyright assignment is encouraged, but not mandatory.
Christopher Allan Webber [Sat, 30 Apr 2011 13:27:15 +0000 (08:27 -0500)]
Merge branch 'master' into celerysubmit
Will Kahn-Greene [Sat, 30 Apr 2011 12:57:08 +0000 (08:57 -0400)]
Adds initial root page
This adds an initial root page that's ugly as sin, but makes it easier
to test what exists so far (e.g. register, login, submit pictures).
Will Kahn-Greene [Sat, 30 Apr 2011 12:41:39 +0000 (08:41 -0400)]
Adds a README
Will Kahn-Greene [Thu, 28 Apr 2011 20:27:09 +0000 (16:27 -0400)]
Adds placeholder file so _static exists.
Will Kahn-Greene [Thu, 28 Apr 2011 14:58:16 +0000 (10:58 -0400)]
Adds "Send encouragement" section
Will Kahn-Greene [Thu, 28 Apr 2011 14:38:37 +0000 (10:38 -0400)]
Moves "run your own instance" to the future section
Chris correctly pointed out that you can't quite run your own instance,
yet. But that's the goal!
Will Kahn-Greene [Thu, 28 Apr 2011 02:42:17 +0000 (22:42 -0400)]
Reworked contributing docs based on Asheesh's thoughts
I chatted with Asheesh on IRC today and asked him to look over the
contributer howto. He had a lot of thoughts and I factored most/all
of them in. It's much better now.
Matt Lee [Wed, 27 Apr 2011 14:55:35 +0000 (10:55 -0400)]
Updated copyright
Christopher Allan Webber [Tue, 26 Apr 2011 20:46:56 +0000 (15:46 -0500)]
HTTPFound more accurate than HTTPMovedPermanently.
(Just observed this in cc.engine, making observation here also while I'm at it :))
Christopher Allan Webber [Mon, 25 Apr 2011 01:57:38 +0000 (20:57 -0500)]
Actually call setup_celery_from_config when launching from paste.
Also changed **kw to **app_config, which is more useful of a variable
name.
Christopher Allan Webber [Mon, 25 Apr 2011 01:55:02 +0000 (20:55 -0500)]
Commit dummy_settings_module, of course.
Will Kahn-Greene [Mon, 25 Apr 2011 01:53:57 +0000 (21:53 -0400)]
Fixes traceback on registration
values must be unicode.
Will Kahn-Greene [Mon, 25 Apr 2011 01:29:50 +0000 (21:29 -0400)]
Fixes mdashes and other minor things.
Will Kahn-Greene [Mon, 25 Apr 2011 01:29:39 +0000 (21:29 -0400)]
Changes version to 0.0.1.
Will Kahn-Greene [Mon, 25 Apr 2011 01:19:00 +0000 (21:19 -0400)]
Adds Matt to docs contributors list
Christopher Allan Webber [Sun, 24 Apr 2011 23:47:23 +0000 (18:47 -0500)]
setup_celery_from_config tool. Haven't tried if it works, but looks right...
Will Kahn-Greene [Sun, 24 Apr 2011 23:46:48 +0000 (19:46 -0400)]
Heavy documentation updates
* Nixed codedocs and software stack chapters in favor of a chapter on
Beardomatic!
* Switched workflow to vision and added an additional caveat at the top
Will Kahn-Greene [Sun, 24 Apr 2011 22:55:07 +0000 (18:55 -0400)]
Minor tweaks to design decisions text
Will Kahn-Greene [Sun, 24 Apr 2011 22:50:48 +0000 (18:50 -0400)]
Updates to hacking howto
* adds "what's where" section which isn't wildly interesting right now
but it's somewhat interesting
* adds "wiping environment" section
Christopher Allan Webber [Sun, 24 Apr 2011 19:48:55 +0000 (14:48 -0500)]
Make certain bits of info accessable as global variables from anywhere
Christopher Allan Webber [Sun, 24 Apr 2011 15:04:53 +0000 (10:04 -0500)]
Time to require celery!