mediagoblin.git
12 years agomoved forgot pass to basic_auth plugin
Rodney Ewing [Tue, 9 Jul 2013 00:00:37 +0000 (17:00 -0700)]
moved forgot pass to basic_auth plugin

12 years agoMerge branch 'auth_docs'
Rodney Ewing [Fri, 16 Aug 2013 17:24:41 +0000 (10:24 -0700)]
Merge branch 'auth_docs'

Conflicts:
docs/source/index.rst

12 years agofix persona tests by using a correct query
Rodney Ewing [Fri, 16 Aug 2013 00:36:56 +0000 (17:36 -0700)]
fix persona tests by using a correct query

12 years agoRemoving PyPump as we aren't using it yet and there's a dependency conflict ;|
Christopher Allan Webber [Thu, 15 Aug 2013 23:29:35 +0000 (18:29 -0500)]
Removing PyPump as we aren't using it yet and there's a dependency conflict ;|

12 years agoskip test if python-ldap is not installed
Rodney Ewing [Wed, 10 Jul 2013 21:10:48 +0000 (14:10 -0700)]
skip test if python-ldap is not installed

12 years agoadded tests for ldap plugin
Rodney Ewing [Tue, 9 Jul 2013 23:33:38 +0000 (16:33 -0700)]
added tests for ldap plugin

12 years agocatch a keyerror
Rodney Ewing [Tue, 9 Jul 2013 20:44:26 +0000 (13:44 -0700)]
catch a keyerror

12 years agotypo in docs
Rodney Ewing [Tue, 9 Jul 2013 20:40:42 +0000 (13:40 -0700)]
typo in docs

12 years agoadded docs for ldap plugin
Rodney Ewing [Tue, 9 Jul 2013 20:23:13 +0000 (13:23 -0700)]
added docs for ldap plugin

12 years agouse pluginapi.get_config
Rodney Ewing [Tue, 9 Jul 2013 18:48:36 +0000 (11:48 -0700)]
use pluginapi.get_config

12 years agoremoved unused import
Rodney Ewing [Tue, 9 Jul 2013 18:24:51 +0000 (11:24 -0700)]
removed unused import

12 years agoadded a create_account hook
Rodney Ewing [Tue, 9 Jul 2013 18:20:57 +0000 (11:20 -0700)]
added a create_account hook

12 years agoonly create a user if the register_form is from the ldap plugin
Rodney Ewing [Tue, 9 Jul 2013 17:49:00 +0000 (10:49 -0700)]
only create a user if the register_form is from the ldap plugin

12 years ago- fixed typo with unbinding code
Rodney Ewing [Tue, 9 Jul 2013 17:44:44 +0000 (10:44 -0700)]
- fixed typo with unbinding code
- added the ability to get the user's email from the ldap server upon registration

12 years ago- changed host and port to just a server uri
Rodney Ewing [Tue, 9 Jul 2013 16:37:23 +0000 (09:37 -0700)]
- changed host and port to just a server uri
- added an option to connect with TLS
- unbind after when done

12 years agoldap uses it own views
Rodney Ewing [Mon, 8 Jul 2013 23:36:38 +0000 (16:36 -0700)]
ldap uses it own views

12 years agostarting ldap plugin
Rodney Ewing [Mon, 1 Jul 2013 18:46:57 +0000 (11:46 -0700)]
starting ldap plugin

12 years agoMerge branch 'persona_resquash'
Christopher Allan Webber [Thu, 15 Aug 2013 22:07:14 +0000 (17:07 -0500)]
Merge branch 'persona_resquash'

12 years agoRemoving the whitespace betwetween action= and its value
Christopher Allan Webber [Thu, 15 Aug 2013 20:17:02 +0000 (15:17 -0500)]
Removing the whitespace betwetween action= and its value

12 years agoMerge remote-tracking branch 'refs/remotes/tsyesika/master'
Christopher Allan Webber [Thu, 15 Aug 2013 15:34:20 +0000 (10:34 -0500)]
Merge remote-tracking branch 'refs/remotes/tsyesika/master'

New oauth tools!  Heck yeah!

12 years agoFix notifications, which I broke.
Christopher Allan Webber [Wed, 14 Aug 2013 20:57:58 +0000 (15:57 -0500)]
Fix notifications, which I broke.

This commit sponsored by Denver Gingerich.  Thank you!

12 years agoAvoiding the celery warnings that we seem to be confusing people lately.
Christopher Allan Webber [Wed, 14 Aug 2013 20:08:49 +0000 (15:08 -0500)]
Avoiding the celery warnings that we seem to be confusing people lately.

Basically, it's shuffling around the notifications stuff.

This commit sponsored by Günter Kraft.  Thank you!

12 years agoThis has been an update to clean out the code a little bit. The primary change
tilly-Q [Tue, 13 Aug 2013 22:38:00 +0000 (18:38 -0400)]
This has been an update to clean out the code a little bit. The primary change
I made was I added the method has_privilege (which takes a variable amount of
unicode privilege names as an argument) to the User model. This method allowed
for much cleaner checks as to whether or not a user has a privilege. Other-
wise, I also made it impossible for moderators to punish admins. I created a
new url path and three new pages for Users to look at filed reports and the
code of conduct for the mg instance.

=== Made reports on admins not resolvable by moderators:
--\   mediagoblin/moderation/views.py
--\   mediagoblin/templates/mediagoblin/moderation/report.html

=== Created new files for the new pages:
--\   mediagoblin/meta/__init__.py
--\   mediagoblin/meta/routing.py
--\   mediagoblin/meta/views.py
--\   mediagoblin/templates/mediagoblin/meta/code_of_conduct.html
--\   mediagoblin/templates/mediagoblin/meta/reports_details.html
--\   mediagoblin/templates/mediagoblin/meta/reports_panel.html
--\   mediagoblin/routing.py
--\   mediagoblin/static/css/base.css

=== Replaced vestigial methods of checking a user's privilege with the more
====== effective method has_privilege(u'privilege_name'):
--\   mediagoblin/db/models.py
--|   Added in the has_privilege method to the User class

--\   mediagoblin/db/migrations.py
--\   mediagoblin/db/models.py
--\   mediagoblin/decorators.py
--\   mediagoblin/edit/lib.py
--\   mediagoblin/edit/views.py
--\   mediagoblin/gmg_commands/users.py
--\   mediagoblin/moderation/views.py
--\   mediagoblin/templates/mediagoblin/base.html
--\   mediagoblin/templates/mediagoblin/user_pages/collection.html
--\   mediagoblin/templates/mediagoblin/user_pages/media.html
--\   mediagoblin/templates/mediagoblin/user_pages/user.html
--\   mediagoblin/templates/mediagoblin/utils/collection_gallery.html
--\   mediagoblin/user_pages/views.py

=== Minor UI changes
--\   mediagoblin/templates/mediagoblin/moderation/report_panel.html
--\   mediagoblin/templates/mediagoblin/moderation/user.html

=== Other Bugs:
--\   mediagoblin/tools/response.py
--\   mediagoblin/db/migrations.py

12 years agoFix import errors when running tests
Jessica Tallon [Tue, 13 Aug 2013 09:45:09 +0000 (10:45 +0100)]
Fix import errors when running tests

12 years agoChange path for tinymce.
Aditi [Sat, 10 Aug 2013 10:48:30 +0000 (16:18 +0530)]
Change path for tinymce.

12 years agoChange button names to Save and Blog.
Aditi [Sat, 10 Aug 2013 10:47:09 +0000 (16:17 +0530)]
Change button names to Save and Blog.

12 years agoCreate symbolic link for tinymce.
Aditi [Sat, 10 Aug 2013 10:44:04 +0000 (16:14 +0530)]
Create symbolic link for tinymce.

12 years agoRemove extlib/tinymce submodule.
Aditi [Sat, 10 Aug 2013 02:20:21 +0000 (07:50 +0530)]
Remove extlib/tinymce submodule.

12 years agochange dropdown button to <a> from <div> so that it is tabbable
Rodney Ewing [Fri, 9 Aug 2013 18:38:55 +0000 (11:38 -0700)]
change dropdown button to <a> from <div> so that it is tabbable

12 years agoMerge branch 'master' of git://gitorious.org/mediagoblin/mediagoblin
Aditi [Fri, 9 Aug 2013 11:08:55 +0000 (16:38 +0530)]
Merge branch 'master' of git://gitorious.org/mediagoblin/mediagoblin

12 years agoAdd delete error for failed type.
Aditi [Fri, 9 Aug 2013 09:35:20 +0000 (15:05 +0530)]
Add delete error for failed type.

12 years agoReplace edit blogpost url from default media_edit url to blogpost edit url.
Aditi [Fri, 9 Aug 2013 09:15:06 +0000 (14:45 +0530)]
Replace edit blogpost url from default media_edit url to blogpost edit url.

12 years agoWrite function get_blog_by_blogpost
Aditi [Fri, 9 Aug 2013 09:13:05 +0000 (14:43 +0530)]
Write function get_blog_by_blogpost

12 years agoDelete initial blog folder from plugin directory.
Aditi [Fri, 9 Aug 2013 05:37:09 +0000 (11:07 +0530)]
Delete initial blog folder from plugin directory.

12 years agoRevert "slugs are now generated during processing"
Rodney Ewing [Thu, 8 Aug 2013 22:49:51 +0000 (15:49 -0700)]
Revert "slugs are now generated during processing"

This reverts commit 9da4e8049f2de900f7aa12f2fed8c60d6749ff0b.

12 years agoRevert "Leave slug empty until we are sure media processing was successful."
Rodney Ewing [Thu, 8 Aug 2013 22:49:33 +0000 (15:49 -0700)]
Revert "Leave slug empty until we are sure media processing was successful."

This reverts commit f67611fb485b5a84cedc62b73beb1e551e8cb934.

For some reason, generating a slug here throws an integrity error during
a query when there is a duplicate slug.

12 years agoSwitching the MediaGoblin homepage image over to using the "official" gavroche style
Christopher Allan Webber [Thu, 8 Aug 2013 19:15:23 +0000 (14:15 -0500)]
Switching the MediaGoblin homepage image over to using the "official" gavroche style

12 years agoAdd ?next= when trying to add a comment when not logged in
Rodney Ewing [Thu, 8 Aug 2013 18:07:12 +0000 (11:07 -0700)]
Add ?next= when trying to add a comment when not logged in

12 years agoMake media_confirm_delete to work for failed media entries too.
Aditi [Thu, 8 Aug 2013 15:17:43 +0000 (20:47 +0530)]
Make media_confirm_delete to work for failed media entries too.

12 years agoRender 404 if not ajax request
Rodney Ewing [Thu, 8 Aug 2013 00:13:38 +0000 (17:13 -0700)]
Render 404 if not ajax request

12 years agochange interval to 1000ms
Rodney Ewing [Wed, 7 Aug 2013 23:58:06 +0000 (16:58 -0700)]
change interval to 1000ms

12 years agoChanged how the comment was encoded/read.
Emily O'Leary [Tue, 6 Aug 2013 22:22:51 +0000 (18:22 -0400)]
Changed how the comment was encoded/read.
Fixed CSRF + Post with comment preview.
Merged with latest master

12 years agoChanged the target of the markdown links for opening in a new tab as suggested by...
Emily O'Leary [Mon, 25 Mar 2013 18:13:09 +0000 (14:13 -0400)]
Changed the target of the markdown links for opening in a new tab as suggested by joar.

12 years agoAdded i18n to my javascript changes as per trac #417
Emily O'Leary [Mon, 25 Mar 2013 02:16:12 +0000 (22:16 -0400)]
Added i18n to my javascript changes as per trac #417

12 years agoAdded comment preview functionality to user pages. It works by passing the comment...
Emily O'Leary [Mon, 25 Mar 2013 01:42:42 +0000 (21:42 -0400)]
Added comment preview functionality to user pages. It works by passing the comment's value as a JSON string to a new handler that lives at /ajax/comment/preview. The query string is decoded, unquoted, and has its leading and trailing quotes removed to match the input that cleaned_markdown_conversion expects.

It does this in real time with a 500ms lag by using a timer. Initially I tried the onChange handler but you need to lose focus for that to process. The javascript timer is only invoked if the add comment button is pressed. A request is only sent if the comment box is not empty and the current value is not the same as the last value.

12 years agoslugs are now generated during processing
Rodney Ewing [Wed, 7 Aug 2013 23:19:57 +0000 (16:19 -0700)]
slugs are now generated during processing

12 years agoLeave slug empty until we are sure media processing was successful.
Rodney Ewing [Wed, 7 Aug 2013 23:15:27 +0000 (16:15 -0700)]
Leave slug empty until we are sure media processing was successful.

Patch submitted by LotusEcho

12 years ago * create config option for optional jinja2 extensions
Kenneth Dombrowski [Sat, 11 May 2013 21:30:43 +0000 (17:30 -0400)]
 * create config option for optional jinja2 extensions
 * add comments & clarify code for jinja2 extensions

Conflicts:
mediagoblin/config_spec.ini

12 years agoUse the workbench for video processing.
Rodney Ewing [Wed, 7 Aug 2013 22:31:40 +0000 (15:31 -0700)]
Use the workbench for video processing.
Patch submitted by Kushal

12 years agoautoplay is now by default False for videos.
Christopher Allan Webber [Wed, 7 Aug 2013 20:03:37 +0000 (15:03 -0500)]
autoplay is now by default False for videos.

This commit sponsored by Vasili Sviridov.  Thank you!

12 years agoMerge branch 'merge-pyconfigure'
Christopher Allan Webber [Wed, 7 Aug 2013 16:57:12 +0000 (11:57 -0500)]
Merge branch 'merge-pyconfigure'

Conflicts:
docs/source/siteadmin/deploying.rst

12 years agoMove templates to blog plugin from all mediagoblin/templates.
Aditi [Wed, 7 Aug 2013 15:17:42 +0000 (20:47 +0530)]
Move templates to blog plugin from all mediagoblin/templates.

12 years agoEliminate url mapping using mediagoblin/routing.py and have plugin type url mapping.
Aditi [Wed, 7 Aug 2013 15:05:11 +0000 (20:35 +0530)]
Eliminate url mapping using mediagoblin/routing.py and have plugin type url mapping.

12 years agoAdd url mapping to it, to have a complete media_type plugin.
Aditi [Wed, 7 Aug 2013 15:01:34 +0000 (20:31 +0530)]
Add url mapping to it, to have a complete media_type plugin.

12 years agoshow all blogposts.
Aditi [Wed, 7 Aug 2013 14:14:36 +0000 (19:44 +0530)]
show all blogposts.

12 years agoSpecify the status of blog post.
Aditi [Wed, 7 Aug 2013 12:30:55 +0000 (18:00 +0530)]
Specify the status of blog post.

12 years agoURL mapping blog post draft view.
Aditi [Wed, 7 Aug 2013 12:28:57 +0000 (17:58 +0530)]
URL mapping blog post draft view.

12 years agowrite a function to extract blog post state from create/edit form.
Aditi [Wed, 7 Aug 2013 12:28:01 +0000 (17:58 +0530)]
write a function to extract blog post state from create/edit form.

12 years agoCode for blog post view when it is in draft state.
Aditi [Wed, 7 Aug 2013 12:26:39 +0000 (17:56 +0530)]
Code for blog post view when it is in draft state.

12 years agoWrite template for draft view of a blog post.
Aditi [Wed, 7 Aug 2013 12:25:29 +0000 (17:55 +0530)]
Write template for draft view of a blog post.

12 years agoChange message when user tries to create multiple blogs.
Aditi [Wed, 7 Aug 2013 08:43:42 +0000 (14:13 +0530)]
Change message when user tries to create multiple blogs.

12 years agoDisplay date of creation of the blog post.
Aditi [Wed, 7 Aug 2013 08:40:36 +0000 (14:10 +0530)]
Display date of creation of the blog post.

12 years agobutton to start with blogging.
Aditi [Tue, 6 Aug 2013 14:50:23 +0000 (20:20 +0530)]
button to start with blogging.

12 years agoremove underline from the urls.
Aditi [Mon, 5 Aug 2013 22:18:00 +0000 (03:48 +0530)]
remove underline from the urls.

12 years agoConfigure tinymce with various plugins.
Aditi [Mon, 5 Aug 2013 22:12:14 +0000 (03:42 +0530)]
Configure tinymce with various plugins.

12 years agoChange font color.
Aditi [Mon, 5 Aug 2013 13:50:47 +0000 (19:20 +0530)]
Change font color.

12 years agoAdd new css elememts for blog post listing template.
Aditi [Mon, 5 Aug 2013 12:10:12 +0000 (17:40 +0530)]
Add new css elememts for blog post listing template.

12 years agoclean description of blog and blogposts.
Aditi [Mon, 5 Aug 2013 12:07:04 +0000 (17:37 +0530)]
clean description of blog and blogposts.

12 years agosafe pipelline for blog description.
Aditi [Mon, 5 Aug 2013 12:03:16 +0000 (17:33 +0530)]
safe pipelline for blog description.

12 years agoAdd url for delete blogpost button.
Aditi [Mon, 5 Aug 2013 12:01:08 +0000 (17:31 +0530)]
Add url for delete blogpost button.

12 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.

12 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.

12 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.

12 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

12 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.

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

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

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

12 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'

12 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.

12 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

12 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.

12 years agoThis commit was the work I did fixing errors that cropped up from the merge.
tilly-Q [Tue, 30 Jul 2013 21:09:01 +0000 (17:09 -0400)]
This commit was the work I did fixing errors that cropped up from the merge.
There were a few errors because of the switch from sqlalchemy 0.7 to 0.8 but I
cleared them up.

12 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

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

12 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

12 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

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

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

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

12 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.

12 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.

12 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.

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

12 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.

12 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.

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

12 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.

12 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.

12 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.