mediagoblin.git
11 years agoNew elements added for the styling of blog post listing view.
Aditi [Mon, 5 Aug 2013 11:59:12 +0000 (17:29 +0530)]
New elements added for the styling of blog post listing view.

11 years agoAdd safe pipe for proper rendering of cleaned html.
Aditi [Mon, 5 Aug 2013 11:56:55 +0000 (17:26 +0530)]
Add safe pipe for proper rendering of cleaned html.

11 years agomedia template for blog to get blogpost.html template from it.
Aditi [Mon, 5 Aug 2013 11:35:43 +0000 (17:05 +0530)]
media template for blog to get blogpost.html template from it.

11 years agoMerge branch 'master' of git://gitorious.org/mediagoblin/mediagoblin
Aditi [Sun, 4 Aug 2013 16:31:21 +0000 (22:01 +0530)]
Merge branch 'master' of git://gitorious.org/mediagoblin/mediagoblin

11 years agoWrite temporary template for blog_post_listing view.
Aditi [Sun, 4 Aug 2013 16:23:48 +0000 (21:53 +0530)]
Write temporary template for blog_post_listing view.

11 years agoAdd icon for the blogpost.
Aditi [Sun, 4 Aug 2013 16:07:13 +0000 (21:37 +0530)]
Add icon for the blogpost.

11 years agoAdd tinymce code.
Aditi [Sun, 4 Aug 2013 15:11:38 +0000 (20:41 +0530)]
Add tinymce code.

11 years agotypo fix in foundations branch
Rodney Ewing [Fri, 2 Aug 2013 14:31:09 +0000 (07:31 -0700)]
typo fix in foundations branch

11 years agoMerge remote-tracking branch 'tilly-q/ticket-679'
Rodney Ewing [Fri, 2 Aug 2013 14:28:35 +0000 (07:28 -0700)]
Merge remote-tracking branch 'tilly-q/ticket-679'

11 years agoI added a few more unitests in this commit. It now confirms that even after mi-
tilly-Q [Thu, 1 Aug 2013 00:50:38 +0000 (20:50 -0400)]
I added a few more unitests in this commit. It now confirms that even after mi-
-gration, there is only one of each Foundation object.

11 years agoMerge branch 'ticket-679' of gitorious.org:~npigeon/mediagoblin/npigeons-mediagoblin
tilly-Q [Thu, 1 Aug 2013 00:49:07 +0000 (20:49 -0400)]
Merge branch 'ticket-679' of gitorious.org:~npigeon/mediagoblin/npigeons-mediagoblin

11 years agoIn this commit I added a few unittests to account for Foundations. There were
tilly-Q [Tue, 30 Jul 2013 23:42:26 +0000 (19:42 -0400)]
In this commit I added a few unittests to account for Foundations. There were
only a few tests I had to add to mediagoblin/tests/test_sql_migrations.py beca-
-use the foundation creation only happens at database initialization.

11 years agoMerge commit 'refs/merge-requests/55' of git://gitorious.org/mediagoblin/mediagoblin...
Rodney Ewing [Wed, 31 Jul 2013 22:27:22 +0000 (15:27 -0700)]
Merge commit 'refs/merge-requests/55' of git://gitorious.org/mediagoblin/mediagoblin into 55

Conflicts:
docs/source/siteadmin/relnotes.rst

11 years agominor styling updates to docs
Rodney Ewing [Wed, 31 Jul 2013 22:16:52 +0000 (15:16 -0700)]
minor styling updates to docs

11 years agoMerge commit 'refs/merge-requests/59' of git://gitorious.org/mediagoblin/mediagoblin...
Rodney Ewing [Wed, 31 Jul 2013 22:07:44 +0000 (15:07 -0700)]
Merge commit 'refs/merge-requests/59' of git://gitorious.org/mediagoblin/mediagoblin into merge-requests/59

11 years agoMerge branch 'master' of git://gitorious.org/mediagoblin/mediagoblin
Aditi [Wed, 31 Jul 2013 13:45:20 +0000 (19:15 +0530)]
Merge branch 'master' of git://gitorious.org/mediagoblin/mediagoblin

11 years agoUpdate version on tinymce.
Aditi [Wed, 31 Jul 2013 10:44:26 +0000 (16:14 +0530)]
Update version on tinymce.

11 years agoChange field name to description.
Aditi [Wed, 31 Jul 2013 09:08:00 +0000 (14:38 +0530)]
Change field name to description.

11 years agoAdd elements for blog system.
Aditi [Wed, 31 Jul 2013 09:07:00 +0000 (14:37 +0530)]
Add elements for blog system.

11 years agoAdd Draft feature and add view blog_post_listing.
Aditi [Wed, 31 Jul 2013 09:03:56 +0000 (14:33 +0530)]
Add Draft feature and add view blog_post_listing.

11 years agoAdd Url for blog post listing.
Aditi [Wed, 31 Jul 2013 08:40:50 +0000 (14:10 +0530)]
Add Url for blog post listing.

11 years agoFix size and selector for tinymce.
Aditi [Wed, 31 Jul 2013 08:39:47 +0000 (14:09 +0530)]
Fix size and selector for tinymce.

11 years agoIntegrate tinymce, Draft status.
Aditi [Wed, 31 Jul 2013 08:38:12 +0000 (14:08 +0530)]
Integrate tinymce, Draft status.

11 years agoChange div class for wider firm fields.
Aditi [Wed, 31 Jul 2013 08:36:31 +0000 (14:06 +0530)]
Change div class for wider firm fields.

11 years agoAdd blog post state field to blog dashboard.
Aditi [Wed, 31 Jul 2013 08:34:16 +0000 (14:04 +0530)]
Add blog post state field to blog dashboard.

11 years agoStarting to write unit tests...
tilly-Q [Tue, 30 Jul 2013 23:06:26 +0000 (19:06 -0400)]
Starting to write unit tests...

11 years agoRemove ID of the blog post.
Aditi [Tue, 30 Jul 2013 13:31:17 +0000 (19:01 +0530)]
Remove ID of the blog post.

11 years agoReverse order of blog posts on blog dashboard.
Aditi [Tue, 30 Jul 2013 13:28:17 +0000 (18:58 +0530)]
Reverse order of blog posts on blog dashboard.

11 years agoManually render form fields for the integration of tinymce.
Aditi [Tue, 30 Jul 2013 13:19:55 +0000 (18:49 +0530)]
Manually render form fields for the integration of tinymce.

11 years agoAdd tinymce in head for description field of blog, blogpost edit and create templates.
Aditi [Tue, 30 Jul 2013 13:18:41 +0000 (18:48 +0530)]
Add tinymce in head for description field of blog, blogpost edit and create templates.

11 years agoChange blogpost_create redirect url.
Aditi [Tue, 30 Jul 2013 10:26:57 +0000 (15:56 +0530)]
Change blogpost_create redirect url.

11 years agoAdd temporary blogpost display template.
Aditi [Tue, 30 Jul 2013 10:02:21 +0000 (15:32 +0530)]
Add temporary blogpost display template.

11 years agoAdd feature: redirect to 404 error if blog or blog post slug do not exist.
Aditi [Tue, 30 Jul 2013 09:56:11 +0000 (15:26 +0530)]
Add feature: redirect to 404 error if blog or blog post slug do not exist.

11 years agoWhy isn't .ogg in this list? A comment explains... it's detected by sniffing!
Christopher Allan Webber [Mon, 29 Jul 2013 21:50:29 +0000 (16:50 -0500)]
Why isn't .ogg in this list?  A comment explains... it's detected by sniffing!

This commit sponsored by Tom Marble.  Thanks Tom!

11 years agoI actually had to do a bit more work than I thought, because I needed to account
tilly-Q [Mon, 29 Jul 2013 21:15:29 +0000 (17:15 -0400)]
I actually had to do a bit more work than I thought, because I needed to account
for plugins. In this commit I changed the MigrationManager and DatabaseData ob-
jects to account for FOUNDATIONS in any plugin's (or main program's) models.py
file.

11 years agoThis was a very simple ticket actually. I created a list called FOUNDATIONS in
tilly-Q [Mon, 29 Jul 2013 20:36:06 +0000 (16:36 -0400)]
This was a very simple ticket actually. I created a list called FOUNDATIONS in
mediagoblin/db/models.py. This list holds all of the information about rows that
should be created at database initialization. Read the documentation near the
FOUNDATIONS list to understand the proper format for this list.

All of the work is done through a new method on MigrationManager in
mediagoblin/db/migrations_tools.py. This method, `populate_table_foundations`
parses the FOUNDATIONS list and creates the foundations based on the data incl-
uded. This only ever happens when the database is initialized. Migrations to
releases with new Foundations should be very easy just using the basic
database functionality.

11 years agobabel 1.0 doesn't have a localedata.list() method, so updated setup.py.
Rodney Ewing [Mon, 29 Jul 2013 18:25:34 +0000 (11:25 -0700)]
babel 1.0 doesn't have a localedata.list() method, so updated setup.py.

made "import crypto" fully qualified

11 years agoAdd Blog Edit button.
Aditi [Mon, 29 Jul 2013 12:30:02 +0000 (18:00 +0530)]
Add Blog Edit button.

11 years agoMerge branch 'master' of git://gitorious.org/mediagoblin/mediagoblin
Aditi [Mon, 29 Jul 2013 08:01:35 +0000 (13:31 +0530)]
Merge branch 'master' of git://gitorious.org/mediagoblin/mediagoblin

Merge branch 'master' of git://gitorious.org/mediagoblin/mediagoblin

11 years agoFix error in blog edit view.
Aditi [Mon, 29 Jul 2013 07:57:30 +0000 (13:27 +0530)]
Fix error in blog edit view.

11 years agoChange Redirect url to blog dashboard in blog_edit view.
Aditi [Mon, 29 Jul 2013 05:38:03 +0000 (11:08 +0530)]
Change Redirect url to blog dashboard in blog_edit view.

11 years agoMore up to date README
Christopher Allan Webber [Thu, 25 Jul 2013 19:05:50 +0000 (14:05 -0500)]
More up to date README

11 years agoRemove action url from form action.
Aditi [Thu, 25 Jul 2013 09:34:05 +0000 (15:04 +0530)]
Remove action url from form action.

11 years agoFix blog extraction for get and post both type of requests.
Aditi [Thu, 25 Jul 2013 09:30:31 +0000 (15:00 +0530)]
Fix blog extraction for get and post both type of requests.

11 years agoChange edit url to a button for each blog post.
Aditi [Thu, 25 Jul 2013 07:51:35 +0000 (13:21 +0530)]
Change edit url to a button for each blog post.

11 years agoAdd edit url for each blog post.
Aditi [Thu, 25 Jul 2013 07:47:44 +0000 (13:17 +0530)]
Add edit url for each blog post.

11 years agoAdd 'Add Blog Post' button on blog dashboard.
Aditi [Wed, 24 Jul 2013 10:04:51 +0000 (15:34 +0530)]
Add 'Add Blog Post' button on blog dashboard.

11 years agoMerge branch 'master' of git://gitorious.org/mediagoblin/mediagoblin
Aditi [Wed, 24 Jul 2013 05:02:20 +0000 (10:32 +0530)]
Merge branch 'master' of git://gitorious.org/mediagoblin/mediagoblin

Merge branch 'master' of git://gitorious.org/mediagoblin/mediagoblin

11 years agoMove the "cd mediagoblin" to the right line. Thanks usrnix!
Christopher Allan Webber [Wed, 24 Jul 2013 01:24:30 +0000 (20:24 -0500)]
Move the "cd mediagoblin" to the right line.  Thanks usrnix!

This commit sponsored by Kenneth Dombrowski.  Thanks!

11 years agoWrite template for blog_dashboard.
Aditi [Mon, 22 Jul 2013 13:45:06 +0000 (19:15 +0530)]
Write template for blog_dashboard.

11 years agoFormat url for blog_dashboard view.
Aditi [Mon, 22 Jul 2013 13:42:54 +0000 (19:12 +0530)]
Format url for blog_dashboard view.

11 years agoWrite blog_dashboard view.
Aditi [Mon, 22 Jul 2013 13:41:33 +0000 (19:11 +0530)]
Write blog_dashboard view.

11 years agoFix attribute error by writing request.user.is_admin.
Aditi [Mon, 22 Jul 2013 13:40:36 +0000 (19:10 +0530)]
Fix attribute error by writing request.user.is_admin.

11 years agoChange class name to BlogPostData(camelcase) and add blog id attribute to the class.
Aditi [Mon, 22 Jul 2013 01:34:29 +0000 (07:04 +0530)]
Change class name to BlogPostData(camelcase) and add blog id attribute to the class.

11 years agoCreate may_edit_blogpost function.
Aditi [Mon, 22 Jul 2013 01:31:28 +0000 (07:01 +0530)]
Create may_edit_blogpost function.

11 years agoRemove form action url.
Aditi [Sun, 21 Jul 2013 12:33:48 +0000 (18:03 +0530)]
Remove form action url.

11 years agoFix media type.
Aditi [Sun, 21 Jul 2013 11:51:01 +0000 (17:21 +0530)]
Fix media type.

11 years agoMake changes in blogpost_edit view.
Aditi [Sun, 21 Jul 2013 11:49:57 +0000 (17:19 +0530)]
Make changes in blogpost_edit view.

11 years agoCreate view for blogpost_edit.
Aditi [Sun, 21 Jul 2013 05:54:44 +0000 (11:24 +0530)]
Create view for blogpost_edit.

11 years agoRemove unused import.
Aditi [Sun, 21 Jul 2013 05:52:46 +0000 (11:22 +0530)]
Remove unused import.

11 years agoChange in blogpost create Url.
Aditi [Sat, 20 Jul 2013 06:05:46 +0000 (11:35 +0530)]
Change in blogpost create Url.

11 years agoRemove BlogPost model and Add attribute for blog id in BlogPostData.
Aditi [Sat, 20 Jul 2013 05:58:10 +0000 (11:28 +0530)]
Remove BlogPost model and Add attribute for blog id in BlogPostData.

11 years agoAdd temporary template for blogpost create/edit view.
Aditi [Sat, 20 Jul 2013 05:55:32 +0000 (11:25 +0530)]
Add temporary template for blogpost create/edit view.

11 years agoAdd BlogPostMediaManager and setup_plugin.
Aditi [Sat, 20 Jul 2013 05:53:12 +0000 (11:23 +0530)]
Add BlogPostMediaManager and setup_plugin.

11 years agoIndent properly.
Aditi [Sat, 20 Jul 2013 05:31:52 +0000 (11:01 +0530)]
Indent properly.

11 years agotemperory url change for creating a new blog.
Aditi [Fri, 19 Jul 2013 14:03:49 +0000 (19:33 +0530)]
temperory url change for creating a new blog.

11 years agoWrote blogpost_create view.
Aditi [Fri, 19 Jul 2013 13:59:13 +0000 (19:29 +0530)]
Wrote blogpost_create view.

11 years agoAdd blog media_type plugin to plugin section.
Aditi [Fri, 19 Jul 2013 11:28:35 +0000 (16:58 +0530)]
Add blog media_type plugin to plugin section.

11 years agoChange view and urls for blog edit/create page.
Aditi [Fri, 19 Jul 2013 11:25:42 +0000 (16:55 +0530)]
Change view and urls for blog edit/create page.

11 years agoReplace hardcoded URL by variable for the same.
Aditi [Fri, 19 Jul 2013 11:22:35 +0000 (16:52 +0530)]
Replace hardcoded URL by variable for the same.

11 years agoAdd class BlogMixin.
Aditi [Fri, 19 Jul 2013 11:17:27 +0000 (16:47 +0530)]
Add class BlogMixin.

11 years agoCreate file for utility function and add function.
Aditi [Fri, 19 Jul 2013 11:10:21 +0000 (16:40 +0530)]
Create file for utility function and add function.

11 years agoAdd view for blog edit and create page.
Aditi [Fri, 19 Jul 2013 11:07:22 +0000 (16:37 +0530)]
Add view for blog edit and create page.

11 years agoAdd config_spec for blog plugin specification.
Aditi [Tue, 16 Jul 2013 10:41:36 +0000 (16:11 +0530)]
Add config_spec for blog plugin specification.

11 years agoChange the field name in BlogEditForm.
Aditi [Tue, 16 Jul 2013 06:58:05 +0000 (12:28 +0530)]
Change the field name in BlogEditForm.

11 years agoCreate Blog and BlogPostData models.
Aditi [Tue, 16 Jul 2013 06:38:03 +0000 (12:08 +0530)]
Create Blog and BlogPostData models.

11 years agomerge with remote master branch of cweb.
Aditi [Tue, 16 Jul 2013 01:18:33 +0000 (06:48 +0530)]
merge with remote master branch of cweb.

11 years agoFixing docs: git submodule update, not git submodule fetch!
Christopher Allan Webber [Mon, 15 Jul 2013 02:05:01 +0000 (21:05 -0500)]
Fixing docs: git submodule update, not git submodule fetch!

This commit sponsored by Charles Combs.  Thank you!

11 years agoSkip the openid tests if the openid module is not installed.
Christopher Allan Webber [Sun, 14 Jul 2013 16:23:52 +0000 (11:23 -0500)]
Skip the openid tests if the openid module is not installed.

This commit sponsored by Brandon Smith.  Thank you!

11 years agoDocumenting the media_manager fetching hook
Christopher Allan Webber [Fri, 12 Jul 2013 22:13:48 +0000 (17:13 -0500)]
Documenting the media_manager fetching hook

This commit sponsored by Christian Corrodi.  Thank you!

11 years agoSwitching the hook 'get_media_manager' to a more "directed" tuple-hook
Christopher Allan Webber [Fri, 12 Jul 2013 22:04:08 +0000 (17:04 -0500)]
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! :)

11 years agodocumenting the new media_type plugins and available hooks
Rodney Ewing [Fri, 12 Jul 2013 18:57:16 +0000 (11:57 -0700)]
documenting the new media_type plugins and available hooks

11 years agoMerge branch 'rodney757-media_plugins'
Christopher Allan Webber [Fri, 12 Jul 2013 21:24:36 +0000 (16:24 -0500)]
Merge branch 'rodney757-media_plugins'

Conflicts:
mediagoblin.ini
mediagoblin/tests/test_mgoblin_app.ini

11 years agoFix the last bit preventing all the unit tests from passing in media types->plugins
Christopher Allan Webber [Fri, 12 Jul 2013 20:52:20 +0000 (15:52 -0500)]
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>

11 years agoSwitch the import of the image media manager over to the new class
Christopher Allan Webber [Fri, 12 Jul 2013 19:53:10 +0000 (14:53 -0500)]
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!

11 years agoChanging the information spat out while printing from media types->plugins
Christopher Allan Webber [Fri, 12 Jul 2013 19:16:47 +0000 (14:16 -0500)]
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!

11 years agoPatch by Strum. Remove redundent tool-tips from Stl media_type
Rodney Ewing [Fri, 12 Jul 2013 16:51:42 +0000 (09:51 -0700)]
Patch by Strum. Remove redundent tool-tips from Stl media_type

11 years agoPatch by pythonsnake. Make mediagoblin.ini comments more helpful.
Rodney Ewing [Fri, 12 Jul 2013 16:32:50 +0000 (09:32 -0700)]
Patch by pythonsnake. Make mediagoblin.ini comments more helpful.

11 years agomake change_pass page autofocus
Rodney Ewing [Thu, 11 Jul 2013 23:33:33 +0000 (16:33 -0700)]
make change_pass page autofocus

11 years agoforgot to render errors
Rodney Ewing [Thu, 11 Jul 2013 23:21:35 +0000 (16:21 -0700)]
forgot to render errors

11 years agochange to class instead of id to work with firefox
Rodney Ewing [Wed, 26 Jun 2013 15:45:59 +0000 (08:45 -0700)]
change to class instead of id to work with firefox

11 years agofix for boolean fields
Rodney Ewing [Wed, 26 Jun 2013 15:29:03 +0000 (08:29 -0700)]
fix for boolean fields

11 years agoupdated to new render_divs macro
Rodney Ewing [Tue, 25 Jun 2013 23:37:28 +0000 (16:37 -0700)]
updated to new render_divs macro

11 years agosave “stay_logged_in” in the session
Jakob Kramer [Wed, 22 May 2013 12:51:12 +0000 (14:51 +0200)]
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.

11 years agoadd login option: stay_logged_in
Jakob Kramer [Thu, 9 May 2013 22:40:13 +0000 (00:40 +0200)]
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

11 years agoPatch submitted by mrb.
Rodney Ewing [Thu, 11 Jul 2013 16:37:38 +0000 (09:37 -0700)]
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'

11 years agoPatch by Strum. Ticket #451 - Convert all mongokit style .find, .find_one, .one calls...
Rodney Ewing [Thu, 11 Jul 2013 21:17:50 +0000 (14:17 -0700)]
Patch by Strum. Ticket #451 - Convert all mongokit style .find, .find_one, .one calls over to SQLAlchemy queries

11 years agofixes the inability to upload non ascii filenames, werkzeug strips all non ascii...
dunkyp [Tue, 6 Nov 2012 17:47:48 +0000 (17:47 +0000)]
fixes the inability to upload non ascii filenames, werkzeug strips all non ascii chars and returns an empty string. This checks if the filename contains non asciis and if it does generates a uuid for filename. Also the request version of filename is used for generating alternative title for upload

cherry-picked from dunkyp. fixed conflicts and missing import.

11 years agoshould use media.slug_or_id incase a MediaEntry doesn't have a slug
Rodney Ewing [Thu, 11 Jul 2013 19:34:43 +0000 (12:34 -0700)]
should use media.slug_or_id incase a MediaEntry doesn't have a slug

11 years agoRevert "remove the list from response.vary. not sure why I was getting an error using...
Christopher Allan Webber [Wed, 10 Jul 2013 22:58:30 +0000 (17:58 -0500)]
Revert "remove the list from response.vary. not sure why I was getting an error using openid without it, but everything seems to be working fine now"

This reverts commit 05ceada051dad011bb9b3e1c93fb42b2d9875939.

It turns out the reason for this in the first place was werkzeug
backwards compatibility.