mediagoblin.git
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 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 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 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

13 years agoAdds license/copyright header.
Will Kahn-Greene [Wed, 13 Apr 2011 02:35:48 +0000 (22:35 -0400)]
Adds license/copyright header.

13 years agoFixes docs.
Will Kahn-Greene [Tue, 12 Apr 2011 23:56:04 +0000 (19:56 -0400)]
Fixes docs.

* fixes some typos
* tweaks some language issues that occured because I took Chris'
  stuff out of the context of the original READMEish structure
* ditches installation for deploymenthowto and hackinghowto

13 years agoAdding a file for testing of CIA bot
Matt Lee [Mon, 11 Apr 2011 19:18:41 +0000 (15:18 -0400)]
Adding a file for testing of CIA bot

13 years agoStarted the workflow document. Currently just mockups. Soon: more techy info.
Christopher Allan Webber [Mon, 11 Apr 2011 13:39:23 +0000 (08:39 -0500)]
Started the workflow document.  Currently just mockups.  Soon: more techy info.

13 years agoget_file() implementation for BasicFileStorage
Christopher Allan Webber [Sun, 10 Apr 2011 22:03:23 +0000 (17:03 -0500)]
get_file() implementation for BasicFileStorage

13 years agoTest BasicFileStorage.get_unique_filepath()
Christopher Allan Webber [Sun, 10 Apr 2011 21:51:25 +0000 (16:51 -0500)]
Test BasicFileStorage.get_unique_filepath()

13 years agoWe should import uuid, because we use it!
Christopher Allan Webber [Sun, 10 Apr 2011 21:50:52 +0000 (16:50 -0500)]
We should import uuid, because we use it!

13 years agoget_unique_filepath not get_unique_filename!
Christopher Allan Webber [Sun, 10 Apr 2011 21:44:47 +0000 (16:44 -0500)]
get_unique_filepath not get_unique_filename!

13 years agoUnit tests for BasicFileStorage.file_exists()
Christopher Allan Webber [Sun, 10 Apr 2011 21:23:55 +0000 (16:23 -0500)]
Unit tests for BasicFileStorage.file_exists()

13 years agoStarted BasicFileStorage tests. test_basic_storage__resolve_filepath() done.
Christopher Allan Webber [Sun, 10 Apr 2011 20:50:32 +0000 (15:50 -0500)]
Started BasicFileStorage tests.  test_basic_storage__resolve_filepath() done.

Also switched to using assert_raises, which is only sane!

13 years agoMerge branch 'master' of gitorious.org:mediagoblin/mediagoblin
Christopher Allan Webber [Sun, 10 Apr 2011 20:04:21 +0000 (15:04 -0500)]
Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin

13 years agoAdded the url_for_file stub to the interface
Christopher Allan Webber [Sun, 10 Apr 2011 20:01:00 +0000 (15:01 -0500)]
Added the url_for_file stub to the interface

13 years agoI don't think we need _create_dirs_for_filepath.
Christopher Allan Webber [Sun, 10 Apr 2011 19:57:23 +0000 (14:57 -0500)]
I don't think we need _create_dirs_for_filepath.

13 years agoPut down structure of BasicFileStorage, and the ._resolve_filepath() method
Christopher Allan Webber [Sun, 10 Apr 2011 18:38:01 +0000 (13:38 -0500)]
Put down structure of BasicFileStorage, and the ._resolve_filepath() method

13 years agoFleshes out documentation.
Will Kahn-Greene [Sat, 9 Apr 2011 22:43:26 +0000 (18:43 -0400)]
Fleshes out documentation.

  use, what their function is, and urls for library documentation
* adds a forward chapter which talks about the documentation
* adds an installation stub
* adds a software stack chapter that covers what libraries are in
* adds a design decisions chapter which covers why we chose the
  libraries and architecture

13 years agoMore documentation on all the core storage API methods
Christopher Allan Webber [Sat, 9 Apr 2011 19:26:41 +0000 (14:26 -0500)]
More documentation on all the core storage API methods

13 years agou'string', but of course ;)
Christopher Allan Webber [Sat, 9 Apr 2011 19:08:07 +0000 (14:08 -0500)]
u'string', but of course ;)

13 years agoActually, we can implement get_unique_filename, which should be the
Christopher Allan Webber [Sat, 9 Apr 2011 19:05:44 +0000 (14:05 -0500)]
Actually, we can implement get_unique_filename, which should be the
same across all storage API implementations

13 years agoMost of the StorageInterface stubs in place and documented.
Christopher Allan Webber [Sat, 9 Apr 2011 19:02:54 +0000 (14:02 -0500)]
Most of the StorageInterface stubs in place and documented.

13 years agoRaise a specific error if a filename component can't be resolved into anything.
Christopher Allan Webber [Sat, 9 Apr 2011 16:45:38 +0000 (11:45 -0500)]
Raise a specific error if a filename component can't be resolved into anything.

13 years agofile storage filelist cleaning
Christopher Allan Webber [Sat, 9 Apr 2011 16:41:09 +0000 (11:41 -0500)]
file storage filelist cleaning

13 years agoInclude werkzeug. We'll need it for werkzeug.util.secure_filename at least.
Christopher Allan Webber [Sat, 9 Apr 2011 13:11:43 +0000 (08:11 -0500)]
Include werkzeug.  We'll need it for werkzeug.util.secure_filename at least.

13 years agoAdding staticdirect infrastructure from cc.engine
Christopher Allan Webber [Sat, 9 Apr 2011 13:08:23 +0000 (08:08 -0500)]
Adding staticdirect infrastructure from cc.engine

13 years agoAdds Sphinx docs infrastructure.
Will Kahn-Greene [Fri, 8 Apr 2011 00:11:06 +0000 (20:11 -0400)]
Adds Sphinx docs infrastructure.

13 years agoHerp derp GPL notice blocks should even be on routing.
Christopher Allan Webber [Sun, 3 Apr 2011 23:58:23 +0000 (18:58 -0500)]
Herp derp GPL notice blocks should even be on routing.

13 years agoSince we're searching by id, that try: except: was superfluous.
Christopher Allan Webber [Sun, 3 Apr 2011 23:56:48 +0000 (18:56 -0500)]
Since we're searching by id, that try: except: was superfluous.

13 years agoFunctioning request.user, and a functioning greeting for users :)
Christopher Allan Webber [Sun, 3 Apr 2011 23:55:55 +0000 (18:55 -0500)]
Functioning request.user, and a functioning greeting for users :)

13 years agoThis should allow for request.user and show users logged in
Christopher Allan Webber [Sun, 3 Apr 2011 23:40:01 +0000 (18:40 -0500)]
This should allow for request.user and show users logged in

... except it's not working?

13 years agoWe should always have a request.user object, even if None.
Christopher Allan Webber [Sun, 3 Apr 2011 23:35:52 +0000 (18:35 -0500)]
We should always have a request.user object, even if None.

13 years agoAdded setup_user_in_request
Christopher Allan Webber [Sun, 3 Apr 2011 23:34:05 +0000 (18:34 -0500)]
Added setup_user_in_request

13 years agoWe should use one instead of find_one to really make sure there's only
Christopher Allan Webber [Sun, 3 Apr 2011 23:32:29 +0000 (18:32 -0500)]
We should use one instead of find_one to really make sure there's only
one such user in the database

13 years agoAlso handle when there is no such user
Christopher Allan Webber [Sun, 3 Apr 2011 23:28:17 +0000 (18:28 -0500)]
Also handle when there is no such user

13 years agoWorking logout function
Christopher Allan Webber [Sun, 3 Apr 2011 23:23:40 +0000 (18:23 -0500)]
Working logout function

13 years agoLogins seem to work.
Christopher Allan Webber [Sun, 3 Apr 2011 22:05:30 +0000 (17:05 -0500)]
Logins seem to work.

13 years agoAdded a check_login command to User
Christopher Allan Webber [Sun, 3 Apr 2011 21:38:13 +0000 (16:38 -0500)]
Added a check_login command to User

13 years agoUse beaker from middleware, it's official.
Christopher Allan Webber [Sun, 3 Apr 2011 21:37:36 +0000 (16:37 -0500)]
Use beaker from middleware, it's official.

13 years agoClarified documentation on fake_login_attempt and restored bcrypt import
Christopher Allan Webber [Sun, 3 Apr 2011 21:37:15 +0000 (16:37 -0500)]
Clarified documentation on fake_login_attempt and restored bcrypt import

13 years agostarting to write login code
Christopher Allan Webber [Sun, 3 Apr 2011 21:32:01 +0000 (16:32 -0500)]
starting to write login code

13 years agoAdded a fake_login_attempt utility.
Christopher Allan Webber [Sun, 3 Apr 2011 20:31:16 +0000 (15:31 -0500)]
Added a fake_login_attempt utility.