aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin
Commit message (Collapse)AuthorAgeFilesLines
* Adding a docstring to fixture_media_entryChristopher Allan Webber2013-06-221-0/+8
| | | | | | | It's not complete, but it makes clearer how to avoid errors with fake_upload :) This commit sponsored by Harper Sanford. Thank you!
* Fix the data integrity bug in test_misc.Christopher Allan Webber2013-06-221-2/+2
| | | | | | | | | | | | 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!
* Padding on the header-dropdown areaChristopher Allan Webber2013-06-221-0/+1
| | | | | This helps make it a bit clearer that things are "contained inside" the header dropdown area.
* Merge remote-tracking branch 'refs/remotes/joar/notifications'Christopher Allan Webber2013-06-2227-29/+910
|\ | | | | | | | | Conflicts: mediagoblin/db/migrations.py
| * New notifications, fixedJoar Wandborg2013-06-094-5/+25
| | | | | | | | | | | | - Remove notification-gem if notifications are null - Move comment-susbscription next to add-comment button - Add copyright header to notifications.js
| * New notificationsJoar Wandborg2013-06-0927-28/+890
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | Fix by Rodney Ewing so render_http_exception works with newer Werkzeug versions.Christopher Allan Webber2013-06-221-1/+1
| |
* | Removing the "enter your password to change your email" bit.Christopher Allan Webber2013-06-214-76/+23
| | | | | | | | | | | | | | 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!
* | Merge remote-tracking branch 'refs/remotes/rodney757-github/mail'Christopher Allan Webber2013-06-2113-115/+370
|\ \
| * | cleanup after mergeRodney Ewing2013-05-291-0/+1
| | |
| * | modified verification emails to use itsdangerous tokensRodney Ewing2013-05-297-84/+105
| | |
| * | send_verification_email was moved to auth/toolsRodney Ewing2013-05-291-1/+2
| | |
| * | form is already validated, no need to validate againRodney Ewing2013-05-291-6/+2
| | |
| * | Merge remote-tracking branch 'upstream/master' into change_emailRodney Ewing2013-05-2867-5258/+7656
| |\ \ | | | | | | | | | | | | | | | | Conflicts: mediagoblin/auth/lib.py
| * | | added error handling on bad token, fixed route, and added testsRodney Ewing2013-05-243-7/+120
| | | |
| * | | added support for user to change email addressRodney Ewing2013-05-246-27/+150
| | | |
* | | | Indenting some stuff in pdf.html and wrapping width and height parameters in ↵Christopher Allan Webber2013-06-201-13/+15
| | | | | | | | | | | | | | | | quotes
* | | | pdf: remove two unused files (we use pdf.js in an iframe, no need for our ↵Alon Levy2013-06-212-5063/+0
| | | | | | | | | | | | | | | | | | | | | | | | own bastard copy) Signed-off-by: Alon Levy <alevy@redhat.com>
* | | | What is models_v0.py? An explaination!Christopher Allan Webber2013-06-201-0/+23
| | | | | | | | | | | | | | | | This commit sponsored by Alex Hannan-Joyner. Thanks!
* | | | Now in dev mode on 0.4.1Christopher Allan Webber2013-06-171-1/+1
| | | |
* | | | MediaGoblin v0.4.0!Christopher Allan Webber2013-06-161-1/+1
| | | |
* | | | Committing extracted and compiled translationsChristopher Allan Webber2013-06-1614-39/+39
| | | |
* | | | Committing present MediaGoblin translations before pushing extracted messagesChristopher Allan Webber2013-06-1613-271/+2781
| |_|/ |/| |
* | | CloudFiles: Default to SSL URIsJoar Wandborg2013-06-071-1/+1
| | |
* | | Commenting out the max-height restriction on thumbnails.Christopher Allan Webber2013-05-301-3/+6
| | |
* | | The pdf.js iframe view is awesome so I'm making it the default. So there! ;)Christopher Allan Webber2013-05-281-1/+1
| | | | | | | | | | | | This commit sponsored by Jay Turley. Thank you!
* | | Fixing bug where non-image types might break if ↵Christopher Allan Webber2013-05-282-13/+19
| |/ |/| | | | | | | | | | | | | | | | | 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!
* | added a register_user functionRodney Ewing2013-05-282-33/+53
| | | | | | | | | | cherry picked from rodney757 and fixed for out of order picking.
* | created a check_login_simple functionRodney Ewing2013-05-285-33/+34
| | | | | | | | | | | | cherry-picked from rodney757, fixed few conflicts due to out of order cherry-picking. Thanks to rodney757 for making my idea even better.
* | moved email_debug_message to gmg/tools/mailRodney Ewing2013-05-272-13/+15
| |
* | moved send_verification_email to auth/toolsRodney Ewing2013-05-273-39/+41
| |
* | removed unused importRodney Ewing2013-05-271-1/+0
| |
* | Committing extracted and compiled translationsChristopher Allan Webber2013-05-2757-5127/+7482
| |
* | Extract footer into bits/base_footer.html.Elrond2013-05-262-10/+29
|/
* moved normalize_user_or_email_field to auth/tools.py from auth/forms.pyRodney Ewing2013-05-232-27/+51
|
* Cleaned up EXIF viewJoar Wandborg2013-05-233-57/+53
| | | | | | The last update made the assumption that EXIF metadata is in some way consistent between camera models, images, manufacturers. This update takes into account that nothing is certain whenever EXIF is involved.
* Full unit test for the plugin assetlink command.Christopher Allan Webber2013-05-231-1/+73
| | | | | | | | | | Tests: - if the link doesn't exist yet - if the link already exists - if it is a symlink to something else - if it exists but is not a symlink This commit sponsored by Lon Koenig. Thank you!
* Cleaning a bit: os.path.sep.join -> os.path.joinChristopher Allan Webber2013-05-231-2/+2
|
* docstring update: link theme... and plugins!Christopher Allan Webber2013-05-231-1/+1
|
* Generalize "gmg theme assetlink" -> "gmg assetlink" and cover both theme and ↵Christopher Allan Webber2013-05-232-52/+29
| | | | | | | | | plugins We've moved the module... probably I'll re-add theme just to give a warning that this is deprecated. This commit sponsored by Kevin Williams. Thank you!
* test_plugin_staticdirect now works and passes.Christopher Allan Webber2013-05-232-1/+35
| | | | This commit sponsored by Samuel Vale. Thank you!
* Simple "staticstuff" plugin for writing unit tests on plugin static asset ↵Christopher Allan Webber2013-05-234-0/+94
| | | | | | | | | | | | | | | | linking. It doesn't do much... it just has a static directory with a "bunnify" CSS file and has a unit test that returns a json encoded set of a staticdirect with both this plugin enabled and also with (theoretically) a file distributed with MediaGoblin (it isn't really, but in our case that doesn't matter.) Also set up the static_setup hook / PluginStatic object for this plugin; testing that with `./bin/gmg theme assetlink` seemed to work. (And argh, need to update that command name, I know.) This commit sponsored by Bradley Kuhn. Thanks bkuhn!
* Various fixes to plugin assetlinking command.Christopher Allan Webber2013-05-232-7/+7
| | | | | | | Actually trying to run the command helps figure out what needs to be fixed :) This commit sponsored by Justin Nichol. Thank you!
* Moving test_user_dev->user_dev in plugin app configs & adding plugin static ↵Christopher Allan Webber2013-05-235-26/+25
| | | | | | | | | | | | | | | | serving The test_user_dev (as opposed to user_dev) was a legacy before we had each application running in its own directory (as they now do in pytest). Move that name to just user_dev... this is more consistent with the rest of our naming and will make writing these config files easier. (If we want to test that changing these still works, that should be a separate unit test with special config files.) Additionally, add plugin static serving to the common test paste config file. This commit sponsored by Juan Jose Marin Martinez. Thank you!
* Work towards getting plugin static linking/serving to workChristopher Allan Webber2013-05-233-8/+68
| | | | | | | | | - add link_plugin_assets. For now, incorrectly running from ./bin/gmg theme assetlink... uh, will fix ;) - Update paste and config_spec.ini configs to handle the locations and serving of the plugins' static resources This commit sponsored by Marko Dimjašević. Thank you!
* Start of ability to have plugins provide static resources!Christopher Allan Webber2013-05-232-0/+45
| | | | | | | | | | Note I have not tested any of this yet ;) But we're already on our way: - We've got docs - The hook is there Lots to do still though. But, progress! :) This commit sponsored by Laura Arjona Reina. Thanks larjona!
* Move "bits" templates with dashes in them to underscoresChristopher Allan Webber2013-05-224-3/+3
| | | | | | Moved all references and also added a note to our release notes. This commit sponsored by Juan Rodriguez. Thank you!
* Moved frontpage "welcome" stuff into its own bits file.Christopher Allan Webber2013-05-222-17/+37
| | | | | | This should make it easier to override just that part of the page. This commit sponsored by David Rylander. Thank you!
* Piwigo minor fix in categories_getList.Mats Sjöberg2013-05-211-3/+3
|
* Piwigo: some sanity checks before adding to collection as per Elrond's ↵Mats Sjöberg2013-05-211-1/+2
| | | | suggestions.