Will Kahn-Greene
34366952a2
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
2011-04-24 19:46:48 -04:00
Will Kahn-Greene
cafc7451cc
Minor tweaks to design decisions text
2011-04-24 18:55:07 -04:00
Will Kahn-Greene
5740a0d6aa
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
2011-04-24 18:50:48 -04:00
Christopher Allan Webber
6bcab715b8
Time to require celery!
2011-04-24 10:04:53 -05:00
Christopher Allan Webber
03afc828ce
Properly require files when users submit
2011-04-23 14:13:33 -05:00
Christopher Allan Webber
204392362f
Submission of image works :)
...
/me pours some sparkling grape juice
2011-04-23 13:29:15 -05:00
Christopher Allan Webber
e21e7bfeb4
Enclose queue_file writing in with statement so that it's closed correctly.
2011-04-23 13:15:09 -05:00
Christopher Allan Webber
2732c28676
A stupid success view.
2011-04-23 13:06:27 -05:00
Christopher Allan Webber
6e41c71c49
Adding the hidden next field to the login page so we actually do redirect
2011-04-23 12:56:32 -05:00
Christopher Allan Webber
f6f524bf59
submit_start written in a way that, by golly, you'd think maybe it'd work
2011-04-23 12:56:01 -05:00
Christopher Allan Webber
574d1511d6
Probably better to request.POST.get?
2011-04-23 12:54:11 -05:00
Christopher Allan Webber
e745ce10c9
we should check for request.user['status'] not request.user['session'], clearly.
2011-04-23 11:30:20 -05:00
Christopher Allan Webber
74ae6b112a
making state for MediaEntry objects, also adding attributes:
...
- media_files
- attachment_files
- queue_files
- thumbnail_file
2011-04-23 10:51:55 -05:00
Christopher Allan Webber
7bf3f5db0f
Adding a space for custom validators, though we haven't used it yet :)
2011-04-23 09:03:25 -05:00
Christopher Allan Webber
4d75522b91
Give User a status, also add uploader user field to MediaEntry
2011-04-23 08:52:23 -05:00
Christopher Allan Webber
7eba0306d8
Provide a next= url when we require logging in
2011-04-23 08:46:02 -05:00
Will Kahn-Greene
efb291d633
Fixes CC0 language
...
CC0 is a waiver and not a license, so this fixes all the language
accordingly.
2011-04-22 22:08:49 -04:00
Will Kahn-Greene
6a338d8e0e
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
2011-04-22 22:02:55 -04:00
Will Kahn-Greene
fad67707e1
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
2011-04-21 21:26:48 -04:00
Christopher Allan Webber
ddff7cce3e
util.setup_user_in_request must be called last
2011-04-19 19:16:56 -05:00
Christopher Allan Webber
6648c52ba8
Use request.app.db, not request.db
2011-04-19 19:11:38 -05:00
Christopher Allan Webber
9ec5910861
Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin
2011-04-19 19:05:58 -05:00
Christopher Allan Webber
e323a06851
Start of the submit view, but not much there quite yet.
2011-04-19 19:05:46 -05:00
Christopher Allan Webber
bb3eaf20ea
New requires_active_login decorator!
2011-04-19 19:04:22 -05:00
Will Kahn-Greene
c66d0f5c66
Hackinghowto tweaks
...
* adjusts some whitespace and formatting
* tweaks language and section breakdown
2011-04-19 12:48:55 -04:00
Christopher Allan Webber
54e219fed1
Makes most sense for [server:main] to be at bottom
2011-04-17 16:45:36 -05:00
Christopher Allan Webber
0dd6594596
Move the request.app stuff to the same area
2011-04-17 16:36:01 -05:00
Christopher Allan Webber
582c4d5fb2
Add the staticdirector stuff to the mediagoblin wsgi app.
2011-04-17 16:30:51 -05:00
Christopher Allan Webber
dae6add99e
How to run the server
2011-04-17 14:05:56 -05:00
Christopher Allan Webber
719f82bad3
Updated hackinghowto.rst with info on how to use the new buildout
...
stuff.
2011-04-17 14:04:07 -05:00
Christopher Allan Webber
df0953ce45
Buildout script which creates user_dev directory and necessary
...
subdirectories for the user.
2011-04-17 13:44:10 -05:00
Christopher Allan Webber
49461402d1
Merge branch 'master' into buildout
2011-04-17 12:45:38 -05:00
Christopher Allan Webber
3a69a5dcd6
Base MediaGoblin paste deploy config file.
...
Should do what's necessary, work out of the box, be deployable.
2011-04-17 12:44:39 -05:00
Christopher Allan Webber
af37cf47b0
Buildout'ifying things.
...
- added buildout's bootstrap.py
- added buildout.cfg
- adjustments to .gitignore.
2011-04-17 12:42:48 -05:00
Christopher Allan Webber
5afdd7a1de
Actually set up the storage systems
2011-04-17 10:36:46 -05:00
Christopher Allan Webber
d807b7252d
Reorganization of storage.py.
...
Ordering: Errors, Storage interface / implementation, utils.
2011-04-17 10:26:52 -05:00
Christopher Allan Webber
ffa2293549
storage.storage_system_from_paste_config() utility, w/ tests
2011-04-17 10:24:36 -05:00
Christopher Allan Webber
cb8ea0fe3f
Moved app.load_controller -> util.import_component and added tests.
2011-04-17 09:43:03 -05:00
Christopher Allan Webber
904f61c298
documentation for get_jinja_env
2011-04-17 09:30:10 -05:00
Christopher Allan Webber
5afb92275c
Encourage storage systems to passively accept extraneous keyword
...
arguments w/ **kwargs.
Also did that for BasicFileStorage.
2011-04-17 09:18:12 -05:00
Christopher Allan Webber
01da9e6a0e
Test for BasicFileStorage.file_url()
2011-04-16 12:47:15 -05:00
Christopher Allan Webber
f61a41b89d
Import urlparse! Duh. I should remember to turn flymake-mode on.
2011-04-16 12:46:58 -05:00
Christopher Allan Webber
d024806a0b
Tests for BasicFileStorage.delete_file()
2011-04-16 11:03:32 -05:00
Christopher Allan Webber
d2be0838a7
Tests for BasicFileStorage.get_file()
2011-04-16 11:00:53 -05:00
Christopher Allan Webber
d0e3a5341e
"if not os.path.exists(directory)", not "if not os.path.exists('directory')"
2011-04-16 10:59:23 -05:00
Christopher Allan Webber
b0bfb766d9
when running get_unique_filepath, clean_listy_filepath from the get-go
2011-04-16 10:27:03 -05:00
Christopher Allan Webber
b1bb050b27
Added delete_file, url_for_file methods to BasicFileStorage
2011-04-16 09:36:36 -05:00
Christopher Allan Webber
3c1a9d753c
Ignore the docs/_build directory.
2011-04-15 08:15:13 -05:00
Will Kahn-Greene
5a40e1ec5c
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.
2011-04-14 22:30:39 -04:00
Will Kahn-Greene
76c9ea6b5f
Adds license/copyright headers to jinja2 templates.
2011-04-13 10:21:06 -04:00