3310 Commits

Author SHA1 Message Date
Rodney Ewing
491f2007f5 typo 2013-06-26 07:39:17 -07:00
Rodney Ewing
889564a3c1 do the label thing only for boolean fields 2013-06-26 07:36:11 -07:00
Rodney Ewing
c345dcf875 made edit_account to autofocus on the first field 2013-06-26 06:45:36 -07:00
Emily O'Leary
4a698535bc Improved test runtime from 352 seconds to 59 seconds by implementing an in-memory sqlite DB and including an option to run migrations on this newly created database by adding a config option called run_migrations to the config_spec and passing it along in app.py to the setup_database function. 2013-06-25 20:57:50 -04:00
Rodney Ewing
1e21471a8a added feature to render_divs where if field.label == '' then it will render form.description the same a render_label 2013-06-25 16:28:45 -07:00
Christopher Allan Webber
15db183151 Explain about sqlite dropping the constraint and why we're adding it back manually. 2013-06-25 17:12:33 -05:00
Rodney Ewing
6174169786 cleanup after merge 2013-06-25 13:43:33 -07:00
Rodney Ewing
af4414a85f Merge remote-tracking branch 'upstream/master' into auth
Conflicts:
	mediagoblin/app.py
	mediagoblin/auth/forms.py
	mediagoblin/auth/tools.py
	mediagoblin/db/migrations.py
	mediagoblin/db/models.py
	mediagoblin/edit/views.py
	mediagoblin/plugins/basic_auth/tools.py
	mediagoblin/tests/test_edit.py
2013-06-25 13:37:21 -07:00
Rodney Ewing
5a1be074c0 typo 2013-06-25 13:22:56 -07:00
Christopher Allan Webber
7fa4e19fc4 Add a bit more docs to plugin configuration
This commit sponsored by Michael Rauch.  Thank you!
2013-06-25 13:25:25 -05:00
Christopher Allan Webber
c1b342ba95 Reverting "No more of this find_packages nonsense."
This reverts commit b75eb88fabdac4a9fdc863969ec9472110732607.
2013-06-24 09:10:48 -05:00
Christopher Allan Webber
c3de34d431 Adding a docstring to fixture_media_entry
It's not complete, but it makes clearer how to avoid errors with
fake_upload :)

This commit sponsored by Harper Sanford.  Thank you!
2013-06-22 17:40:12 -05:00
Christopher Allan Webber
56d1346789 Fix the data integrity bug in test_misc.
It turns out this has to do with some additions to the fixture adding
of media entries.  Since the new fake_upload field is True by default,
adding multiple entries that have media_files at once meant that
multiple additions of FileKeynames would be added at once if they were
not saved at the same time.  Tricky!

Thankfully, Elrond helped us figure this one out.  Thanks, Elrond :)

And thanks also to Aapo Rantalainen for sponsoring this commit!
2013-06-22 17:37:30 -05:00
Christopher Allan Webber
6331e927e4 Padding on the header-dropdown area
This helps make it a bit clearer that things are "contained inside"
the header dropdown area.
2013-06-22 16:19:58 -05:00
Christopher Allan Webber
257b8ab62a Merge remote-tracking branch 'refs/remotes/joar/notifications'
Conflicts:
	mediagoblin/db/migrations.py
2013-06-22 16:13:41 -05:00
Christopher Allan Webber
75ee3de301 Fix by Rodney Ewing so render_http_exception works with newer Werkzeug versions. 2013-06-22 12:25:31 -05:00
Christopher Allan Webber
f7698af1c1 Removing the "enter your password to change your email" bit.
A good idea, though it feels fairly clumsy in the form, and I think if
you're logged in you can already sabotage the user pretty well.

This commit sponsored by Sergey Matveev.  Thanks!
2013-06-21 17:24:33 -05:00
Rodney Ewing
e4deacd9c8 changes after cwebb's review 2013-06-21 14:14:40 -07:00
Christopher Allan Webber
c482f0149d Merge remote-tracking branch 'refs/remotes/rodney757-github/mail' 2013-06-21 15:50:36 -05:00
Christopher Allan Webber
92b22e7dea Indenting some stuff in pdf.html and wrapping width and height parameters in quotes 2013-06-20 18:14:14 -05:00
Alon Levy
0c6ae5ab08 pdf: remove two unused files (we use pdf.js in an iframe, no need for our own bastard copy)
Signed-off-by: Alon Levy <alevy@redhat.com>
2013-06-21 01:52:30 +03:00
Christopher Allan Webber
98454be7e9 What is models_v0.py? An explaination!
This commit sponsored by Alex Hannan-Joyner.  Thanks!
2013-06-20 12:08:20 -05:00
Christopher Allan Webber
838cde8175 Now in dev mode on 0.4.1 2013-06-17 22:50:31 -05:00
Christopher Allan Webber
1f973d93f4 MediaGoblin v0.4.0! 2013-06-16 20:32:28 -05:00
Christopher Allan Webber
f745220522 Committing extracted and compiled translations 2013-06-16 20:06:48 -05:00
Christopher Allan Webber
faf104ced8 Committing present MediaGoblin translations before pushing extracted messages 2013-06-16 20:06:32 -05:00
Christopher Allan Webber
51702d5b7d Documenting most of the the many new features in the release notes. 2013-06-16 19:39:03 -05:00
Christopher Allan Webber
384539b141 Added Laura Arjona to AUTHORS.
I'm not sure what all translators are there, but for sure Laura has
done a lot ;)
2013-06-15 18:49:32 -05:00
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