Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rework plugin infrastructure to nix side-effects | Will Kahn-Greene | 2012-07-17 | 7 | -171/+126 |
| | | | | | | | | | | | | | This reworks the plugin infrastructure so as to remove module-loading side-effects which were making things a pain in the ass to test. With the new system, there's no auto-registering meta class. Instead plugins do whatever they want and then specify a hooks dict that maps hook names to callables for the things they're tying into. The most common one (and the only one we've implemented so far) is "setup". This also simplifies the sampleplugin a little by moving the code to __init__.py. | ||||
* | Overhaul flatpages | Will Kahn-Greene | 2012-07-16 | 3 | -93/+108 |
| | | | | | | | | * move contents of main.py to __init__.py * update documentation in README * change the key/value configuration specification * added a recipe for passing values from the url to the template * removed some unused code | ||||
* | Fix template | Will Kahn-Greene | 2012-07-16 | 1 | -1/+1 |
| | |||||
* | Finish flatpagesplugin; add plugin docs | Will Kahn-Greene | 2012-07-16 | 8 | -64/+231 |
| | |||||
* | Flatpages first pass | Will Kahn-Greene | 2012-07-16 | 7 | -23/+190 |
| | | | | | | | | | | This fixes the template loader so that it can load plugin templates. This adds code for registering template paths so that plugins can add their own templates. This adds the base code for the flatpagesfile plugin. It doesn't serve pages, yet, but it's pretty close. | ||||
* | Moving extrahead.html -> extra_head.html because it's easier to read | Christopher Allan Webber | 2012-07-14 | 2 | -1/+1 |
| | |||||
* | Small fix to themedata_for_theme_dir utility about sections | Christopher Allan Webber | 2012-07-14 | 1 | -1/+1 |
| | | | | | If we can't find the theme section, we should use a dictionary instead of None in this section of code. | ||||
* | Allow for an "extrahead" template where themers can include extra css, js, etc | Christopher Allan Webber | 2012-07-14 | 2 | -0/+22 |
| | |||||
* | Store licensing info as well | Christopher Allan Webber | 2012-07-14 | 1 | -1/+2 |
| | |||||
* | Setup the scaffolding for theme installing, but it doesn't work yet | Christopher Allan Webber | 2012-07-14 | 1 | -2/+4 |
| | |||||
* | Break the asset linking code off into a reusable function | Christopher Allan Webber | 2012-07-14 | 1 | -30/+50 |
| | | | | In the future, the install command should be able to use that as well. | ||||
* | Moving the "dependency injection printer tools" over to tools/common.py | Christopher Allan Webber | 2012-07-14 | 3 | -20/+39 |
| | |||||
* | asset linking command now works | Christopher Allan Webber | 2012-07-14 | 1 | -7/+26 |
| | |||||
* | Start of the `./bin/gmg theme assetlink` command. | Christopher Allan Webber | 2012-07-14 | 2 | -0/+87 |
| | | | | Mostly works but doesn't handle all the places it could break. | ||||
* | Make the theme_linked_assets_dir config option point to the right place by ↵ | Christopher Allan Webber | 2012-07-14 | 1 | -1/+1 |
| | | | | | | default Should be in user_dev... | ||||
* | Making the register_themes() tool also return the current theme | Christopher Allan Webber | 2012-07-14 | 2 | -9/+12 |
| | | | | | This will reduce the amount of work reproducing this behavior when pulling together the theme registry elsewhere. | ||||
* | Serve and setup the mediagoblin "linked theme" assets directory | Christopher Allan Webber | 2012-07-14 | 1 | -0/+1 |
| | |||||
* | Add the theme domain to the application's staticdirector | Christopher Allan Webber | 2012-07-14 | 2 | -4/+9 |
| | |||||
* | Update staticdirect stuff so it can handle "domains" of staticdirection | Christopher Allan Webber | 2012-07-14 | 3 | -24/+38 |
| | |||||
* | Kill MultiRemoteStaticDirect... nobody was really using it anyway | Christopher Allan Webber | 2012-07-14 | 2 | -27/+4 |
| | | | | | Since we're adding the new "domain" staticdirect system we should clean this up. | ||||
* | Moving staticdirect to tools/ | Christopher Allan Webber | 2012-07-14 | 2 | -1/+1 |
| | |||||
* | Themes are now registered and can have their templates loaded properly | Christopher Allan Webber | 2012-07-14 | 3 | -6/+32 |
| | |||||
* | Early version of theme registry code | Christopher Allan Webber | 2012-07-14 | 2 | -0/+83 |
| | |||||
* | removed _make_safe in favor of functools.wraps | Jakob Kramer | 2012-07-12 | 2 | -19/+18 |
| | |||||
* | Processing panel improvements | Joar Wandborg | 2012-07-11 | 6 | -2/+198 |
| | | | | | - Added admin processing panel - Minor fixes on the user processing panel template | ||||
* | Panel improvements | Joar Wandborg | 2012-07-11 | 10 | -27/+101 |
| | | | | | | | | | | - Added progress meter for video and audio media types. - Changed the __repr__ method of a MediaEntry to display a bit more useful explanation. - Added a new MediaEntry.state, 'processing', which means that the task is running the processor on the item currently. - Fixed some PEP8 issues in user_pages/views.py - Fixed the ATOM TAG URI to show the correct year. | ||||
* | Minor improvements to the processing panel | Joar Wandborg | 2012-07-10 | 4 | -8/+33 |
| | | | | | | - It is now possible to actually see what's processing, due to a bug fix where __getitem__ was called on the db model. - Removed DEPRECATED message from the docstring, it wasn't true. | ||||
* | Merge branch 'master' into 201207-testfixes | Brett Smith | 2012-07-08 | 9 | -40/+99 |
|\ | |||||
| * | made the download links consistent | Jakob Kramer | 2012-07-07 | 4 | -11/+31 |
| | | |||||
| * | put attachments into sidebar | Jakob Kramer | 2012-07-07 | 1 | -22/+26 |
| | | | | | | | | also added {% trans %} tags | ||||
| * | Decoding EXIF strings as UTF-8 with replace in the ifd_tag_to_dict | Joar Wandborg | 2012-07-07 | 1 | -1/+14 |
| | | | | | | | | method. | ||||
| * | Removed .ogg extension from audio MEDIA_MANAGER. | Joar Wandborg | 2012-07-06 | 1 | -1/+1 |
| | | | | | | | | | | | | | | There is some historical controversy about the .ogg extension and what you should expect from it. It's better to let the audio and video plugins take the sniffing-based route to find out what it really seems to be. | ||||
| * | Switching the syntax of this exception-raise | Christopher Allan Webber | 2012-07-06 | 1 | -2/+1 |
| | | | | | | | | | | | | | | It's nicer to raise exceptions like raise Exception("foo") than raise Exception, "foo" | ||||
| * | Removing _jointhat()... not really needed. | Christopher Allan Webber | 2012-07-06 | 1 | -14/+2 |
| | | |||||
| * | one more noSuchFiles->no_such_files | Christopher Allan Webber | 2012-07-06 | 1 | -1/+1 |
| | | |||||
| * | Merge remote-tracking branch 'refs/remotes/merge-requests/37' | Christopher Allan Webber | 2012-07-06 | 2 | -5/+40 |
| |\ | |||||
| | * | changing NoSuchFiles for no_such_files | Jorge Araya Navarro | 2012-07-05 | 1 | -4/+4 |
| | | | |||||
| | * | fixing bug #255 as Joar and CWebber ask me to do :) | Jorge Araya Navarro | 2012-06-28 | 3 | -11/+41 |
| | | | |||||
| | * | Bug 255 fixed | Jorge Araya Navarro | 2012-06-22 | 1 | -1/+6 |
| | | | |||||
* | | | Drop our scoped session sooner to prevent SQLAlchemy re-binding warnings. | Brett Smith | 2012-07-08 | 1 | -3/+3 |
| | | | |||||
* | | | Don't rely on app_config if common.TESTS_ENABLED. | Brett Smith | 2012-07-08 | 1 | -3/+4 |
| | | | | | | | | | | | | | | | app_config will be None in this case, so all of these subscripts will fail. | ||||
* | | | Make filestorage available to code that only imports storage. | Brett Smith | 2012-07-08 | 1 | -0/+2 |
| | | | | | | | | | | | | The storage-related tests were relying on this, if nothing else. | ||||
* | | | Prevent SQLAlchemy non-Unicode warnings from this test. | Brett Smith | 2012-07-08 | 1 | -8/+8 |
| | | | |||||
* | | | Prevent SQLAlchemy non-Unicode warnings in this test. | Brett Smith | 2012-07-08 | 1 | -4/+4 |
| | | | |||||
* | | | More Unicode titles to prevent non-Unicode SQLAlchemy warnings. | Brett Smith | 2012-07-08 | 1 | -2/+6 |
| | | | |||||
* | | | Fix docstring typo. | Brett Smith | 2012-07-08 | 1 | -1/+1 |
| | | | |||||
* | | | Prevent non-Unicode SQLAlchemy warnings in most submission tests. | Brett Smith | 2012-07-08 | 7 | -32/+32 |
| | | | | | | | | | | | | This commit makes test_submission mostly warning-clean. | ||||
* | | | Level exits are Unicode too. | Brett Smith | 2012-07-04 | 1 | -3/+3 |
| | | | |||||
* | | | Make sure MigrationManagers always get Unicode names. | Brett Smith | 2012-07-04 | 2 | -5/+5 |
|/ / | | | | | | | | | If we fail to do this, SQLAlchemy complains that we're binding a non-Unicode value to a Unicode column. | ||||
* | | Added some security checks to attachment upload, it's still not | Joar Wandborg | 2012-06-24 | 1 | -2/+29 |
| | | | | | | | | waterproof. |