3244 Commits

Author SHA1 Message Date
Aditi
ab7b83dbc8 Merge branch 'master' of git://gitorious.org/mediagoblin/mediagoblin
Merge branch 'master' of git://gitorious.org/mediagoblin/mediagoblin
2013-07-24 10:32:20 +05:30
Christopher Allan Webber
b889f97156 Move the "cd mediagoblin" to the right line. Thanks usrnix!
This commit sponsored by Kenneth Dombrowski.  Thanks!
2013-07-23 20:24:30 -05:00
Aditi
06aca6af73 Write template for blog_dashboard. 2013-07-22 19:15:06 +05:30
Aditi
bdc3dfde65 Format url for blog_dashboard view. 2013-07-22 19:12:54 +05:30
Aditi
5cb38a2886 Write blog_dashboard view. 2013-07-22 19:11:33 +05:30
Aditi
f6cee302e4 Fix attribute error by writing request.user.is_admin. 2013-07-22 19:10:36 +05:30
Aditi
6353362546 Change class name to BlogPostData(camelcase) and add blog id attribute to the class. 2013-07-22 07:04:29 +05:30
Aditi
391f4456a2 Create may_edit_blogpost function. 2013-07-22 07:01:28 +05:30
Aditi
5230b41895 Remove form action url. 2013-07-21 18:03:48 +05:30
Aditi
511ce0d6c7 Fix media type. 2013-07-21 17:21:01 +05:30
Aditi
783b50057b Make changes in blogpost_edit view. 2013-07-21 17:19:57 +05:30
Aditi
e058cdce91 Create view for blogpost_edit. 2013-07-21 11:24:44 +05:30
Aditi
aebc179da2 Remove unused import. 2013-07-21 11:22:46 +05:30
Aditi
26de7c2267 Change in blogpost create Url. 2013-07-20 11:35:46 +05:30
Aditi
bafaa93d8c Remove BlogPost model and Add attribute for blog id in BlogPostData. 2013-07-20 11:28:10 +05:30
Aditi
00993a68e5 Add temporary template for blogpost create/edit view. 2013-07-20 11:25:32 +05:30
Aditi
9505f1a395 Add BlogPostMediaManager and setup_plugin. 2013-07-20 11:23:12 +05:30
Aditi
145a173851 Indent properly. 2013-07-20 11:01:52 +05:30
Aditi
0574d30d9a temperory url change for creating a new blog. 2013-07-19 19:33:49 +05:30
Aditi
fa5a13f8f3 Wrote blogpost_create view. 2013-07-19 19:29:13 +05:30
Aditi
03e2a0f806 Add blog media_type plugin to plugin section. 2013-07-19 16:58:35 +05:30
Aditi
b1e234365c Change view and urls for blog edit/create page. 2013-07-19 16:55:42 +05:30
Aditi
e0e02e98bc Replace hardcoded URL by variable for the same. 2013-07-19 16:52:35 +05:30
Aditi
8ab67da4ae Add class BlogMixin. 2013-07-19 16:47:27 +05:30
Aditi
4261c85f04 Create file for utility function and add function. 2013-07-19 16:40:21 +05:30
Aditi
af8f995f38 Add view for blog edit and create page. 2013-07-19 16:37:22 +05:30
Aditi
52b5d5a0f4 Add config_spec for blog plugin specification. 2013-07-16 16:11:36 +05:30
Aditi
c80186a98f Change the field name in BlogEditForm. 2013-07-16 12:28:05 +05:30
Aditi
2b2df22d2a Create Blog and BlogPostData models. 2013-07-16 12:08:03 +05:30
Aditi
67d303ffa9 merge with remote master branch of cweb. 2013-07-16 06:48:33 +05:30
Christopher Allan Webber
64ad0beea8 Fixing docs: git submodule update, not git submodule fetch!
This commit sponsored by Charles Combs.  Thank you!
2013-07-14 21:05:01 -05:00
Christopher Allan Webber
df206ab633 Skip the openid tests if the openid module is not installed.
This commit sponsored by Brandon Smith.  Thank you!
2013-07-14 11:23:52 -05:00
Christopher Allan Webber
2d0028e932 Documenting the media_manager fetching hook
This commit sponsored by Christian Corrodi.  Thank you!
2013-07-12 17:13:48 -05:00
Christopher Allan Webber
6403bc928b Switching the hook 'get_media_manager' to a more "directed" tuple-hook
By switching this to a tuple that includes the media type in the key
itself, this requires iteration and execution of functions that
"check" that they are the right type.

This commit sponsored by Greg Grossmeier.  Thanks buddy! :)
2013-07-12 17:04:08 -05:00
Rodney Ewing
91bee92e8e documenting the new media_type plugins and available hooks 2013-07-12 14:35:43 -07:00
Christopher Allan Webber
5305fee13b Merge branch 'rodney757-media_plugins'
Conflicts:
	mediagoblin.ini
	mediagoblin/tests/test_mgoblin_app.ini
2013-07-12 16:24:36 -05:00
Christopher Allan Webber
4259ad5bf1 Fix the last bit preventing all the unit tests from passing in media types->plugins
The last commit was also small, so Jeff Moe gets... two!  Two sponsored commits!
Ah ah ah. </count_voice>
2013-07-12 15:52:20 -05:00
Christopher Allan Webber
60eeb45664 Switch the import of the image media manager over to the new class
This helps resolve one of the remaining issues with the tests for the
media type pluginification.

This commit sponsored by Jeffrey Moe.  Thanks Jeff!  Lulzbot rocks!
2013-07-12 14:53:10 -05:00
Christopher Allan Webber
003ea47499 Changing the information spat out while printing from media types->plugins
Previously it called even plugins media types.  Ha!

This commit sponsored by Jon Merkley.  Thank you!
2013-07-12 14:16:47 -05:00
Rodney Ewing
ac08a9acaf Patch by Strum. Remove redundent tool-tips from Stl media_type 2013-07-12 09:51:42 -07:00
Rodney Ewing
7bfb3ae829 Patch by pythonsnake. Make mediagoblin.ini comments more helpful. 2013-07-12 09:32:50 -07:00
Rodney Ewing
0f231966b3 make change_pass page autofocus 2013-07-11 16:33:33 -07:00
Rodney Ewing
643f07af06 forgot to render errors 2013-07-11 16:29:16 -07:00
Rodney Ewing
a937ea9efd change to class instead of id to work with firefox 2013-07-11 16:29:16 -07:00
Rodney Ewing
f7998c3326 fix for boolean fields 2013-07-11 16:29:16 -07:00
Rodney Ewing
0ec7ce4ec6 updated to new render_divs macro 2013-07-11 14:56:40 -07:00
Jakob Kramer
ef57b0622c save “stay_logged_in” in the session
Since sessions are rebuilt, e.g. when you try to post a blank
comment and therefore receive an error message, the session will
be overwritten without the old max_age.
2013-07-11 14:56:40 -07:00
Jakob Kramer
527b7e3b57 add login option: stay_logged_in
As proposed in issue #354; it adds an attribute max_age
to mediagoblin.tools.session.Session  that is passed to
response.set_cookie;  max_age is set to 30  days if the
checkbox is selected
2013-07-11 14:56:40 -07:00
Rodney Ewing
a4dcb1f46a Patch submitted by mrb.
Fix to link to the pubsub hub for atom_feed 'by tag'.

Added 'rel': 'alternate' and 'type': 'text/html' to 'atomlinks'
2013-07-11 14:35:44 -07:00
Rodney Ewing
44082b12d8 Patch by Strum. Ticket #451 - Convert all mongokit style .find, .find_one, .one calls over to SQLAlchemy queries 2013-07-11 14:17:50 -07:00