3432 Commits

Author SHA1 Message Date
Rodney Ewing
54ef2c408b moved authentication_disabled to config_spec 2013-06-15 12:32:20 -07:00
Christopher Allan Webber
33db9af22c Adding new contributors to this release 2013-06-15 11:44:00 -05:00
Alon Levy
376dcbb493 media-types.rst: clarify the pdf media type requirements
Explain that it works fine without libreoffice, just with reduced
functionality.

Signed-off-by: Alon Levy <alevy@redhat.com>
2013-06-12 21:56:25 -05:00
Rodney Ewing
5101c469d7 changed no_auth to authentication_disabled in config 2013-06-11 14:30:38 -07:00
Joar Wandborg
0c7fa7556c New notifications, fixed
- Remove notification-gem if notifications are null
- Move comment-susbscription next to add-comment button
- Add copyright header to notifications.js
2013-06-09 22:23:20 +02:00
Joar Wandborg
2d7b6bdef9 New notifications
- Added request.notifications
- Email configuration fixes
  - Set config_spec default SMTP port to `0` and switch to SSL/non-SSL
    default if `port == 0`
  - Added email_smtp_use_ssl configuration setting
- Added migrations for notification tables
- Added __repr__ to MediaComment(Mixin)
- Added MediaComment.get_entry => MediaEntry
- Added CommentSubscription, CommentNotification, Notification,
  ProcessingNotification tables
- Added notifications.task to celery init
- Fixed a bug in the video transcoder where pygst would hijack the
  --help argument.
- Added notifications
  - views
    - silence
    - subscribe
  - routes
  - utility methods
  - celery task
- Added half-hearted .active comment CSS style
- Added quick JS to show header_dropdown
- Added fragment template to show notifications in header_dropdown
- Added fragment template to show subscribe/unsubscribe buttons on
  media/comment pages
- Updated celery setup tests with notifications.task
- Tried to fix test_misc tests that I broke
- Added notification tests
- Added and extended tests.tools fixtures
- Integrated new notifications into media_home, media_post_comment views
- Bumped SQLAlchemy dependency to >= 0.8.0 since we need polymorphic for
  the notifications to work
2013-06-09 21:18:37 +02:00
Christopher Allan Webber
25aad338d4 Added some test-writing docs for plugins, but not sure if they're good. ;)
This commit sponsored by Joe Lee.  Thank you!
2013-06-07 11:45:07 -05:00
Christopher Allan Webber
c139d49d83 ./bin/gmg dbupdate, not ./bin/dbupdate
Thanks to Tsyesica for catching this :)
2013-06-06 17:56:00 -05:00
Joar Wandborg
3c48bb39b7 CloudFiles: Default to SSL URIs 2013-06-07 00:28:17 +02:00
Rodney Ewing
dd8ef449e4 cleanup 2013-06-04 16:50:06 -07:00
Rodney Ewing
8ce8faaf5d fixed a bug that was deleting the messages 2013-06-04 11:30:56 -07:00
Rodney Ewing
1bce0c15ba minor changes from aaronw's review 2013-06-04 07:58:17 -07:00
Rodney Ewing
e784d10d2e Merge remote-tracking branch 'upstream/master' into basic_auth 2013-06-03 16:20:19 -07:00
Christopher Allan Webber
ee4687752f Make sure that the pytest revision is at least at 2.3. 2013-06-03 13:29:04 -05:00
Rodney Ewing
9a899af02b Merge remote-tracking branch 'upstream/master' into basic_auth 2013-05-30 16:31:15 -07:00
Christopher Allan Webber
0e4d6221fa Commenting out the max-height restriction on thumbnails. 2013-05-30 10:23:50 -05:00
Christopher Allan Webber
ea49f37821 Explained more clearly why it's okay for interface classes to be keys.
This commit sponsored by Nick Glynn.  Thank you!
2013-05-29 18:10:09 -05:00
Christopher Allan Webber
9d881aeeb4 Provide a tip on how to do interfaces via our plugin API.
Uses a frogputer science approach to frobbing as an example (which is
total nonsense, but fun).

This commit sponsored by Ryan Kelln.  Thank you!
2013-05-29 17:21:15 -05:00
Christopher Allan Webber
4001909574 Actually use the right underlining for the wtforms hooks section 2013-05-29 16:12:24 -05:00
Christopher Allan Webber
baf2c1c96e Additional hook tips! Documentation on how to modify a wtforms form.
This commit sponsored by Gian-Maria Daffré.  Thank you!
2013-05-29 15:57:58 -05:00
Christopher Allan Webber
8ae5d20f19 Where do you find hooks? How do you add them? An explaination!
This commit about talking to community members sponsored by
community member Aeva Palecek.  Thanks!
2013-05-29 15:35:37 -05:00
Rodney Ewing
69b888c22c cleanup after merge 2013-05-29 13:23:26 -07:00
Rodney Ewing
342f06f7bd modified verification emails to use itsdangerous tokens 2013-05-29 13:23:26 -07:00
Rodney Ewing
a90b350f71 send_verification_email was moved to auth/tools 2013-05-29 13:19:36 -07:00
Rodney Ewing
f670f48ddd form is already validated, no need to validate again 2013-05-29 13:13:50 -07:00
Christopher Allan Webber
b21220e931 Actually link to the release notes when we say "see the release notes".
This commit sponsored by Brian Kemp.  Thank you!
2013-05-29 14:13:12 -05:00
Christopher Allan Webber
d861ffc9ad Link to the plugin api stuff and the database plugin sections from the quickstart.
This commit sponsored by Nathan Stephenson.  Thank you!
2013-05-29 14:10:07 -05:00
Christopher Allan Webber
d28c5066e8 The pdf.js iframe view is awesome so I'm making it the default. So there! ;)
This commit sponsored by Jay Turley.  Thank you!
2013-05-28 16:36:27 -05:00
Christopher Allan Webber
ab4cbb103e Fixing bug where non-image types might break if app_config['original_date_visible'] is true
Not all media managers have the .get_original_date attribute, so of
course break.  This is fixed by making a new space where individual
media types can define this if they like.

This commit sponsored by Matthieu Dupont de Dinechin.  Thank you!
2013-05-28 16:35:14 -05:00
Rodney Ewing
8087f56b07 Merge remote-tracking branch 'upstream/master' into change_email
Conflicts:
	mediagoblin/auth/lib.py
2013-05-28 10:46:46 -07:00
Rodney Ewing
d1c9ef47c4 removed extra argument from check_login_simple in login view 2013-05-28 09:56:16 -07:00
Rodney Ewing
d90f44d2a4 cleanup 2013-05-28 09:28:59 -07:00
Rodney Ewing
bd7fe0c252 Merge remote-tracking branch 'upstream/master' into basic_auth
Conflicts:
	mediagoblin/auth/tools.py
	mediagoblin/auth/views.py
	mediagoblin/plugins/basic_auth/tools.py
2013-05-28 09:20:35 -07:00
Rodney Ewing
b85d9e9567 cleanup 2013-05-28 09:05:05 -07:00
Rodney Ewing
0578d8b31b Conflicts:
mediagoblin/auth/tools.py
	mediagoblin/auth/views.py
	mediagoblin/plugins/basic_auth/tools.py
2013-05-27 19:34:49 -07:00
Rodney Ewing
f9e032212d added a register_user function
cherry picked from rodney757 and fixed for out of order
picking.
2013-05-28 01:22:19 +02:00
Rodney Ewing
75fc93686d created a check_login_simple function
cherry-picked from rodney757, fixed few conflicts due to
out of order cherry-picking. Thanks to rodney757 for making
my idea even better.
2013-05-28 00:11:36 +02:00
Rodney Ewing
02b6892c29 moved email_debug_message to gmg/tools/mail 2013-05-27 23:33:18 +02:00
Rodney Ewing
97aebda7de moved send_verification_email to auth/tools 2013-05-27 23:29:39 +02:00
Rodney Ewing
41258916f2 removed unused import 2013-05-27 23:23:34 +02:00
Christopher Allan Webber
cff285b1cb Committing extracted and compiled translations 2013-05-27 13:55:06 -05:00
Rodney Ewing
b1e02e0a70 modified get_user function to take kwargs instead of username 2013-05-27 11:14:08 -07:00
Rodney Ewing
f81206df31 no need for user might be email kwarg in check_login_simple 2013-05-27 10:38:43 -07:00
Rodney Ewing
0ccc722ddc Merge branch 'pre-auth' into basic_auth
Conflicts:
	mediagoblin/auth/tools.py
	mediagoblin/auth/views.py
	mediagoblin/plugins/basic_auth/tools.py
2013-05-27 09:04:53 -07:00
Rodney Ewing
f855efff87 moved fp_verification_email to auth/tools 2013-05-27 08:58:09 -07:00
Rodney Ewing
117a27a3aa created a check_login_simple function 2013-05-27 08:58:09 -07:00
Rodney Ewing
68cc79eb4a added a register_user function 2013-05-27 08:58:09 -07:00
Rodney Ewing
81907fa0aa moved email_debug_message to gmg/tools/mail 2013-05-27 08:58:09 -07:00
Rodney Ewing
c6e46c6bd9 moved send_verification_email to auth/tools 2013-05-27 08:58:09 -07:00
Rodney Ewing
d7d5ce803d removed unused import 2013-05-27 08:58:09 -07:00