mediagoblin.git
14 years agoTweaks the "if mongodb isn't working" troubleshooting section
Will Kahn-Greene [Sat, 7 May 2011 13:56:39 +0000 (09:56 -0400)]
Tweaks the "if mongodb isn't working" troubleshooting section

14 years agoBe sure to read the install instructions!
Christopher Allan Webber [Sat, 7 May 2011 13:54:53 +0000 (08:54 -0500)]
Be sure to read the install instructions!

14 years agoFixes headers in hacking howto docs
Will Kahn-Greene [Sat, 7 May 2011 13:42:01 +0000 (09:42 -0400)]
Fixes headers in hacking howto docs

14 years agoOverhauls hacking howto
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

14 years agoFirst pass at adding virtualenv instructions.
Will Kahn-Greene [Sat, 7 May 2011 02:06:36 +0000 (22:06 -0400)]
First pass at adding virtualenv instructions.

14 years agoFixes a link in the docs
Will Kahn-Greene [Sat, 7 May 2011 01:54:10 +0000 (21:54 -0400)]
Fixes a link in the docs

14 years agoInstructions on running celeryd
Christopher Allan Webber [Fri, 6 May 2011 15:06:57 +0000 (10:06 -0500)]
Instructions on running celeryd

14 years agoActually display submitted stuff on the mainpage. Crappy, but working!
Christopher Allan Webber [Fri, 6 May 2011 15:01:26 +0000 (10:01 -0500)]
Actually display submitted stuff on the mainpage.  Crappy, but working!

14 years agoErk, we didn't save the state right before
Christopher Allan Webber [Fri, 6 May 2011 15:01:11 +0000 (10:01 -0500)]
Erk, we didn't save the state right before

14 years agoProcess media! Successfully!
Christopher Allan Webber [Fri, 6 May 2011 14:37:24 +0000 (09:37 -0500)]
Process media!  Successfully!

14 years agoA completely evil environment destroying script.
Christopher Allan Webber [Fri, 6 May 2011 12:44:54 +0000 (07:44 -0500)]
A completely evil environment destroying script.

14 years agoIt doesn't necessarily have to be bash.
Christopher Allan Webber [Fri, 6 May 2011 11:56:26 +0000 (06:56 -0500)]
It doesn't necessarily have to be bash.

14 years agoMerge branch 'master' of gitorious.org:mediagoblin/mediagoblin
Christopher Allan Webber [Fri, 6 May 2011 11:55:20 +0000 (06:55 -0500)]
Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin

14 years agoMade a link to the script wiping tool feature request ticket
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

14 years agoMoving wiping to a clean slate beneath running server/ test suite
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

14 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

14 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()

14 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

14 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

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

14 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 :)

14 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

14 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 :)

14 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.

14 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

14 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

14 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 :)

14 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

14 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

14 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

14 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()

14 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

14 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

14 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

14 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

14 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

14 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.

14 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

14 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).

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

14 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.

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

14 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!

14 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.

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

14 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 :))

14 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.

14 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.

14 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.

14 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.

14 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.

14 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

14 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...

14 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

14 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

14 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

14 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

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

14 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

14 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

14 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.

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

14 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

14 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

14 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?

14 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.

14 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

14 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 :)

14 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

14 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

14 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.

14 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

14 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

14 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

14 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

14 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

14 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.

14 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!

14 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

14 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

14 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

14 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.

14 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

14 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.

14 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.

14 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

14 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.

14 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.

14 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

14 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.

14 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

14 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.

14 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

14 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.

14 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()

14 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.

14 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()

14 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()

14 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')"

14 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