mediagoblin.git
13 years agomediagoblin.util.send_email now supports both list() and string() in the 'to_addrs...
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>
13 years agoFixed bug in models.py:User that caused all users created by the same python process...
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>
13 years agoMerge branch 'master' of http://git.gitorious.org/mediagoblin/mediagoblin
Joar Wandborg [Fri, 6 May 2011 08:37:08 +0000 (10:37 +0200)]
Merge branch 'master' of git.gitorious.org/mediagoblin/mediagoblin

13 years agoAdds design decision for the name
Will Kahn-Greene [Thu, 5 May 2011 22:22:27 +0000 (18:22 -0400)]
Adds design decision for the name

13 years agoMerge branch 'master' of http://git.gitorious.org/mediagoblin/mediagoblin
Joar Wandborg [Wed, 4 May 2011 20:31:08 +0000 (22:31 +0200)]
Merge branch 'master' of git.gitorious.org/mediagoblin/mediagoblin

13 years agoA simple, maybe obvious, docstring for util.send_email()
Christopher Allan Webber [Wed, 4 May 2011 13:11:37 +0000 (08:11 -0500)]
A simple, maybe obvious, docstring for util.send_email()

13 years agosend_email tool and email sending tests
Christopher Allan Webber [Wed, 4 May 2011 13:00:08 +0000 (08:00 -0500)]
send_email tool and email sending tests

13 years agoMerge branch 'master' of http://git.gitorious.org/mediagoblin/mediagoblin
Joar Wandborg [Wed, 4 May 2011 09:50:39 +0000 (11:50 +0200)]
Merge branch 'master' of git.gitorious.org/mediagoblin/mediagoblin

13 years agoForce imports of stuff like mediagoblin.process_media which has tasks we need
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

13 years agoRequire PIL
Christopher Allan Webber [Wed, 4 May 2011 02:45:24 +0000 (21:45 -0500)]
Require PIL

13 years agoAdd a rudimentary media processing function.
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 :)

13 years agoMerge branch 'master' of http://git.gitorious.org/mediagoblin/mediagoblin
Joar Wandborg [Tue, 3 May 2011 18:04:55 +0000 (20:04 +0200)]
Merge branch 'master' of git.gitorious.org/mediagoblin/mediagoblin

13 years agoAdded server-log.txt to .gitignore
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>
13 years agoAdded functionality to support user email verification, email = TBD, verification...
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>
13 years agoLots of documentation changes
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

13 years agoAdd the base.css and reference it so other people can start working on it :)
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 :)

13 years agoFixes dead references in docs.
Will Kahn-Greene [Mon, 2 May 2011 16:20:53 +0000 (12:20 -0400)]
Fixes dead references in docs.

13 years agoRegister the models when using from_celery
Christopher Allan Webber [Mon, 2 May 2011 00:41:22 +0000 (19:41 -0500)]
Register the models when using from_celery

13 years agoMerge branch 'master' into celerysubmit
Christopher Allan Webber [Sun, 1 May 2011 23:22:58 +0000 (18:22 -0500)]
Merge branch 'master' into celerysubmit

13 years agoRequire sphinx & jinja2 for good measure :)
Christopher Allan Webber [Sun, 1 May 2011 23:22:27 +0000 (18:22 -0500)]
Require sphinx & jinja2 for good measure :)

13 years agoInclude dependent scripts... maybe we'll change this later
Christopher Allan Webber [Sun, 1 May 2011 15:17:39 +0000 (10:17 -0500)]
Include dependent scripts... maybe we'll change this later

13 years agoNow we have something useful: mediagoblin.celery_setup.from_celery
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

13 years agoSecond round of tests for setup_celery_from_config(), with some database information
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

13 years agotests for setup_celery_from_config()
Christopher Allan Webber [Sun, 1 May 2011 02:54:05 +0000 (21:54 -0500)]
tests for setup_celery_from_config()

13 years agoA few more corrections to make setup_celery_from_config() work right
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

13 years agoChanges beardomatic things to codebase things
Will Kahn-Greene [Sat, 30 Apr 2011 18:42:14 +0000 (14:42 -0400)]
Changes beardomatic things to codebase things

13 years agoImport based on the DEFAULT_SETTINGS_MODULE in setup_celery_from_config
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

13 years agoAdds section on git
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

13 years agoChanging the wording around the django-like components statement
Christopher Allan Webber [Sat, 30 Apr 2011 14:31:03 +0000 (09:31 -0500)]
Changing the wording around the django-like components statement

13 years agoClarified that copyright assignment is encouraged, but not mandatory.
Christopher Allan Webber [Sat, 30 Apr 2011 14:26:03 +0000 (09:26 -0500)]
Clarified that copyright assignment is encouraged, but not mandatory.

13 years agoMerge branch 'master' into celerysubmit
Christopher Allan Webber [Sat, 30 Apr 2011 13:27:15 +0000 (08:27 -0500)]
Merge branch 'master' into celerysubmit

13 years agoAdds initial root page
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).

13 years agoAdds a README
Will Kahn-Greene [Sat, 30 Apr 2011 12:41:39 +0000 (08:41 -0400)]
Adds a README

13 years agoAdds placeholder file so _static exists.
Will Kahn-Greene [Thu, 28 Apr 2011 20:27:09 +0000 (16:27 -0400)]
Adds placeholder file so _static exists.

13 years agoAdds "Send encouragement" section
Will Kahn-Greene [Thu, 28 Apr 2011 14:58:16 +0000 (10:58 -0400)]
Adds "Send encouragement" section

13 years agoMoves "run your own instance" to the future 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!

13 years agoReworked contributing docs based on Asheesh's thoughts
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.

13 years agoUpdated copyright
Matt Lee [Wed, 27 Apr 2011 14:55:35 +0000 (10:55 -0400)]
Updated copyright

13 years agoHTTPFound more accurate than HTTPMovedPermanently.
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 :))

13 years agoActually call setup_celery_from_config when launching from paste.
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.

13 years agoCommit dummy_settings_module, of course.
Christopher Allan Webber [Mon, 25 Apr 2011 01:55:02 +0000 (20:55 -0500)]
Commit dummy_settings_module, of course.

13 years agoFixes traceback on registration
Will Kahn-Greene [Mon, 25 Apr 2011 01:53:57 +0000 (21:53 -0400)]
Fixes traceback on registration

values must be unicode.

13 years agoFixes mdashes and other minor things.
Will Kahn-Greene [Mon, 25 Apr 2011 01:29:50 +0000 (21:29 -0400)]
Fixes mdashes and other minor things.

13 years agoChanges version to 0.0.1.
Will Kahn-Greene [Mon, 25 Apr 2011 01:29:39 +0000 (21:29 -0400)]
Changes version to 0.0.1.

13 years agoAdds Matt to docs contributors list
Will Kahn-Greene [Mon, 25 Apr 2011 01:19:00 +0000 (21:19 -0400)]
Adds Matt to docs contributors list

13 years agosetup_celery_from_config tool. Haven't tried if it works, but looks right...
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...

13 years agoHeavy documentation updates
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

13 years agoMinor tweaks to design decisions text
Will Kahn-Greene [Sun, 24 Apr 2011 22:55:07 +0000 (18:55 -0400)]
Minor tweaks to design decisions text

13 years agoUpdates to hacking howto
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

13 years agoMake certain bits of info accessable as global variables from anywhere
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

13 years agoTime to require celery!
Christopher Allan Webber [Sun, 24 Apr 2011 15:04:53 +0000 (10:04 -0500)]
Time to require celery!

13 years agoProperly require files when users submit
Christopher Allan Webber [Sat, 23 Apr 2011 19:13:33 +0000 (14:13 -0500)]
Properly require files when users submit

13 years agoSubmission of image works :)
Christopher Allan Webber [Sat, 23 Apr 2011 18:29:15 +0000 (13:29 -0500)]
Submission of image works :)

/me pours some sparkling grape juice

13 years agoEnclose queue_file writing in with statement so that it's closed correctly.
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.

13 years agoA stupid success view.
Christopher Allan Webber [Sat, 23 Apr 2011 18:06:27 +0000 (13:06 -0500)]
A stupid success view.

13 years agoAdding the hidden next field to the login page so we actually do redirect
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

13 years agosubmit_start written in a way that, by golly, you'd think maybe it'd work
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

13 years agoProbably better to request.POST.get?
Christopher Allan Webber [Sat, 23 Apr 2011 17:54:11 +0000 (12:54 -0500)]
Probably better to request.POST.get?

13 years agowe should check for request.user['status'] not request.user['session'], clearly.
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.

13 years agomaking state for MediaEntry objects, also adding attributes:
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

13 years agoAdding a space for custom validators, though we haven't used it yet :)
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 :)

13 years agoGive User a status, also add uploader user field to MediaEntry
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

13 years agoProvide a next= url when we require logging in
Christopher Allan Webber [Sat, 23 Apr 2011 13:46:02 +0000 (08:46 -0500)]
Provide a next= url when we require logging in

13 years agoFixes CC0 language
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.

13 years agoUpdates contributing howto
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

13 years agoLicense/copyright changes
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

13 years agoutil.setup_user_in_request must be called last
Christopher Allan Webber [Wed, 20 Apr 2011 00:16:56 +0000 (19:16 -0500)]
util.setup_user_in_request must be called last

13 years agoUse request.app.db, not request.db
Christopher Allan Webber [Wed, 20 Apr 2011 00:11:38 +0000 (19:11 -0500)]
Use request.app.db, not request.db

13 years agoMerge branch 'master' of gitorious.org:mediagoblin/mediagoblin
Christopher Allan Webber [Wed, 20 Apr 2011 00:05:58 +0000 (19:05 -0500)]
Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin

13 years agoStart of the submit view, but not much there quite yet.
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.

13 years agoNew requires_active_login decorator!
Christopher Allan Webber [Wed, 20 Apr 2011 00:04:22 +0000 (19:04 -0500)]
New requires_active_login decorator!

13 years agoHackinghowto tweaks
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

13 years agoMakes most sense for [server:main] to be at bottom
Christopher Allan Webber [Sun, 17 Apr 2011 21:45:36 +0000 (16:45 -0500)]
Makes most sense for [server:main] to be at bottom

13 years agoMove the request.app stuff to the same area
Christopher Allan Webber [Sun, 17 Apr 2011 21:36:01 +0000 (16:36 -0500)]
Move the request.app stuff to the same area

13 years agoAdd the staticdirector stuff to the mediagoblin wsgi app.
Christopher Allan Webber [Sun, 17 Apr 2011 21:30:51 +0000 (16:30 -0500)]
Add the staticdirector stuff to the mediagoblin wsgi app.

13 years agoHow to run the server
Christopher Allan Webber [Sun, 17 Apr 2011 19:05:56 +0000 (14:05 -0500)]
How to run the server

13 years agoUpdated hackinghowto.rst with info on how to use the new buildout
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.

13 years agoBuildout script which creates user_dev directory and necessary
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.

13 years agoMerge branch 'master' into buildout
Christopher Allan Webber [Sun, 17 Apr 2011 17:45:38 +0000 (12:45 -0500)]
Merge branch 'master' into buildout

13 years agoBase MediaGoblin paste deploy config file.
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.

13 years agoBuildout'ifying things.
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.

13 years agoActually set up the storage systems
Christopher Allan Webber [Sun, 17 Apr 2011 15:36:46 +0000 (10:36 -0500)]
Actually set up the storage systems

13 years agoReorganization of storage.py.
Christopher Allan Webber [Sun, 17 Apr 2011 15:26:52 +0000 (10:26 -0500)]
Reorganization of storage.py.

Ordering: Errors, Storage interface / implementation, utils.

13 years agostorage.storage_system_from_paste_config() utility, w/ tests
Christopher Allan Webber [Sun, 17 Apr 2011 15:24:36 +0000 (10:24 -0500)]
storage.storage_system_from_paste_config() utility, w/ tests

13 years agoMoved app.load_controller -> util.import_component and added 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.

13 years agodocumentation for get_jinja_env
Christopher Allan Webber [Sun, 17 Apr 2011 14:30:10 +0000 (09:30 -0500)]
documentation for get_jinja_env

13 years agoEncourage storage systems to passively accept extraneous keyword
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.

13 years agoTest for BasicFileStorage.file_url()
Christopher Allan Webber [Sat, 16 Apr 2011 17:47:15 +0000 (12:47 -0500)]
Test for BasicFileStorage.file_url()

13 years agoImport urlparse! Duh. I should remember to turn flymake-mode on.
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.

13 years agoTests for BasicFileStorage.delete_file()
Christopher Allan Webber [Sat, 16 Apr 2011 16:03:32 +0000 (11:03 -0500)]
Tests for BasicFileStorage.delete_file()

13 years agoTests for BasicFileStorage.get_file()
Christopher Allan Webber [Sat, 16 Apr 2011 16:00:53 +0000 (11:00 -0500)]
Tests for BasicFileStorage.get_file()

13 years ago"if not os.path.exists(directory)", not "if not os.path.exists('directory')"
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')"

13 years agowhen running get_unique_filepath, clean_listy_filepath from the get-go
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

13 years agoAdded delete_file, url_for_file methods to BasicFileStorage
Christopher Allan Webber [Sat, 16 Apr 2011 14:36:36 +0000 (09:36 -0500)]
Added delete_file, url_for_file methods to BasicFileStorage

13 years agoIgnore the docs/_build directory.
Christopher Allan Webber [Fri, 15 Apr 2011 13:15:13 +0000 (08:15 -0500)]
Ignore the docs/_build directory.

13 years agoOverhauls TOC of manual
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.

13 years agoAdds license/copyright headers to jinja2 templates.
Will Kahn-Greene [Wed, 13 Apr 2011 14:21:06 +0000 (10:21 -0400)]
Adds license/copyright headers to jinja2 templates.

13 years agoClarifies licensing for the project.
Will Kahn-Greene [Wed, 13 Apr 2011 14:13:35 +0000 (10:13 -0400)]
Clarifies licensing for the project.

13 years agoChanges Mediagoblin -> MediaGoblin.
Will Kahn-Greene [Wed, 13 Apr 2011 14:04:30 +0000 (10:04 -0400)]
Changes Mediagoblin -> MediaGoblin.

13 years agoAdds documentation.
Will Kahn-Greene [Wed, 13 Apr 2011 02:36:19 +0000 (22:36 -0400)]
Adds documentation.

* wrote up some basic bits of a hacking howto
* added a better deployment howto stub