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>
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!
Christopher Allan Webber [Sat, 23 Apr 2011 19:13:33 +0000 (14:13 -0500)]
Properly require files when users submit
Christopher Allan Webber [Sat, 23 Apr 2011 18:29:15 +0000 (13:29 -0500)]
Submission of image works :)
/me pours some sparkling grape juice
Christopher Allan Webber [Sat, 23 Apr 2011 18:15:09 +0000 (13:15 -0500)]
Enclose queue_file writing in with statement so that it's closed correctly.
Christopher Allan Webber [Sat, 23 Apr 2011 18:06:27 +0000 (13:06 -0500)]
A stupid success view.
Christopher Allan Webber [Sat, 23 Apr 2011 17:56:32 +0000 (12:56 -0500)]
Adding the hidden next field to the login page so we actually do redirect
Christopher Allan Webber [Sat, 23 Apr 2011 17:56:01 +0000 (12:56 -0500)]
submit_start written in a way that, by golly, you'd think maybe it'd work
Christopher Allan Webber [Sat, 23 Apr 2011 17:54:11 +0000 (12:54 -0500)]
Probably better to request.POST.get?
Christopher Allan Webber [Sat, 23 Apr 2011 16:30:20 +0000 (11:30 -0500)]
we should check for request.user['status'] not request.user['session'], clearly.
Christopher Allan Webber [Sat, 23 Apr 2011 15:51:55 +0000 (10:51 -0500)]
making state for MediaEntry objects, also adding attributes:
- media_files
- attachment_files
- queue_files
- thumbnail_file
Christopher Allan Webber [Sat, 23 Apr 2011 14:03:25 +0000 (09:03 -0500)]
Adding a space for custom validators, though we haven't used it yet :)
Christopher Allan Webber [Sat, 23 Apr 2011 13:52:23 +0000 (08:52 -0500)]
Give User a status, also add uploader user field to MediaEntry
Christopher Allan Webber [Sat, 23 Apr 2011 13:46:02 +0000 (08:46 -0500)]
Provide a next= url when we require logging in
Will Kahn-Greene [Sat, 23 Apr 2011 02:08:49 +0000 (22:08 -0400)]
Fixes CC0 language
CC0 is a waiver and not a license, so this fixes all the language
accordingly.
Will Kahn-Greene [Sat, 23 Apr 2011 02:02:55 +0000 (22:02 -0400)]
Updates contributing howto
* lots of changes to the contributing howto from Matt, Greg, Will, and
Chris
* adds references between the contributing howto and other chapters
* adds a design decision regarding copyright assignment
Will Kahn-Greene [Wed, 20 Apr 2011 02:42:08 +0000 (22:42 -0400)]
License/copyright changes
* changes COPYING to explain licensing for all of GNU MediaGoblin
* adds design decision regarding why we picked the licensing we did
* adds CC0 and AGPLv3 texts
* removes licensing bits from hacking howto--we should put that somewhere
else
Christopher Allan Webber [Wed, 20 Apr 2011 00:16:56 +0000 (19:16 -0500)]
util.setup_user_in_request must be called last
Christopher Allan Webber [Wed, 20 Apr 2011 00:11:38 +0000 (19:11 -0500)]
Use request.app.db, not request.db
Christopher Allan Webber [Wed, 20 Apr 2011 00:05:58 +0000 (19:05 -0500)]
Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin
Christopher Allan Webber [Wed, 20 Apr 2011 00:05:46 +0000 (19:05 -0500)]
Start of the submit view, but not much there quite yet.
Christopher Allan Webber [Wed, 20 Apr 2011 00:04:22 +0000 (19:04 -0500)]
New requires_active_login decorator!
Will Kahn-Greene [Tue, 19 Apr 2011 16:37:20 +0000 (12:37 -0400)]
Hackinghowto tweaks
* adjusts some whitespace and formatting
* tweaks language and section breakdown
Christopher Allan Webber [Sun, 17 Apr 2011 21:45:36 +0000 (16:45 -0500)]
Makes most sense for [server:main] to be at bottom
Christopher Allan Webber [Sun, 17 Apr 2011 21:36:01 +0000 (16:36 -0500)]
Move the request.app stuff to the same area
Christopher Allan Webber [Sun, 17 Apr 2011 21:30:51 +0000 (16:30 -0500)]
Add the staticdirector stuff to the mediagoblin wsgi app.
Christopher Allan Webber [Sun, 17 Apr 2011 19:05:56 +0000 (14:05 -0500)]
How to run the server
Christopher Allan Webber [Sun, 17 Apr 2011 19:04:07 +0000 (14:04 -0500)]
Updated hackinghowto.rst with info on how to use the new buildout
stuff.
Christopher Allan Webber [Sun, 17 Apr 2011 18:44:10 +0000 (13:44 -0500)]
Buildout script which creates user_dev directory and necessary
subdirectories for the user.
Christopher Allan Webber [Sun, 17 Apr 2011 17:45:38 +0000 (12:45 -0500)]
Merge branch 'master' into buildout
Christopher Allan Webber [Sun, 17 Apr 2011 17:44:39 +0000 (12:44 -0500)]
Base MediaGoblin paste deploy config file.
Should do what's necessary, work out of the box, be deployable.
Christopher Allan Webber [Sun, 17 Apr 2011 17:42:48 +0000 (12:42 -0500)]
Buildout'ifying things.
- added buildout's bootstrap.py
- added buildout.cfg
- adjustments to .gitignore.
Christopher Allan Webber [Sun, 17 Apr 2011 15:36:46 +0000 (10:36 -0500)]
Actually set up the storage systems
Christopher Allan Webber [Sun, 17 Apr 2011 15:26:52 +0000 (10:26 -0500)]
Reorganization of storage.py.
Ordering: Errors, Storage interface / implementation, utils.
Christopher Allan Webber [Sun, 17 Apr 2011 15:24:36 +0000 (10:24 -0500)]
storage.storage_system_from_paste_config() utility, w/ tests
Christopher Allan Webber [Sun, 17 Apr 2011 14:43:03 +0000 (09:43 -0500)]
Moved app.load_controller -> util.import_component and added tests.
Christopher Allan Webber [Sun, 17 Apr 2011 14:30:10 +0000 (09:30 -0500)]
documentation for get_jinja_env
Christopher Allan Webber [Sun, 17 Apr 2011 14:18:12 +0000 (09:18 -0500)]
Encourage storage systems to passively accept extraneous keyword
arguments w/ **kwargs.
Also did that for BasicFileStorage.
Christopher Allan Webber [Sat, 16 Apr 2011 17:47:15 +0000 (12:47 -0500)]
Test for BasicFileStorage.file_url()
Christopher Allan Webber [Sat, 16 Apr 2011 17:46:58 +0000 (12:46 -0500)]
Import urlparse! Duh. I should remember to turn flymake-mode on.
Christopher Allan Webber [Sat, 16 Apr 2011 16:03:32 +0000 (11:03 -0500)]
Tests for BasicFileStorage.delete_file()
Christopher Allan Webber [Sat, 16 Apr 2011 16:00:53 +0000 (11:00 -0500)]
Tests for BasicFileStorage.get_file()
Christopher Allan Webber [Sat, 16 Apr 2011 15:59:23 +0000 (10:59 -0500)]
"if not os.path.exists(directory)", not "if not os.path.exists('directory')"
Christopher Allan Webber [Sat, 16 Apr 2011 15:27:03 +0000 (10:27 -0500)]
when running get_unique_filepath, clean_listy_filepath from the get-go
Christopher Allan Webber [Sat, 16 Apr 2011 14:36:36 +0000 (09:36 -0500)]
Added delete_file, url_for_file methods to BasicFileStorage
Christopher Allan Webber [Fri, 15 Apr 2011 13:15:13 +0000 (08:15 -0500)]
Ignore the docs/_build directory.
Will Kahn-Greene [Fri, 15 Apr 2011 02:28:02 +0000 (22:28 -0400)]
Overhauls TOC of manual
This work is based on discussion and etherpadding (is that a verb) on
April 14th between Deb, Greg, Karen, Will, and Chris.
It was an epic collaborative sprint.
Will Kahn-Greene [Wed, 13 Apr 2011 14:21:06 +0000 (10:21 -0400)]
Adds license/copyright headers to jinja2 templates.
Will Kahn-Greene [Wed, 13 Apr 2011 14:13:35 +0000 (10:13 -0400)]
Clarifies licensing for the project.