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
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
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
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
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
Christopher Allan Webber
ee4687752f
Make sure that the pytest revision is at least at 2.3.
2013-06-03 13:29:04 -05: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
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
Elrond
199685831d
Extract footer into bits/base_footer.html.
2013-05-26 13:29:02 +02:00
Rodney Ewing
377db0e7ff
added error handling on bad token, fixed route, and added tests
2013-05-24 18:16:12 -07:00
Rodney Ewing
89e1563f68
added support for user to change email address
2013-05-24 18:16:12 -07:00