3262 Commits

Author SHA1 Message Date
Rodney Ewing
b1a763f61e typo in image supported_filetypes 2013-07-02 09:00:57 -07:00
Rodney Ewing
2293081231 converted ascii media_type to plugin 2013-07-02 09:00:50 -07:00
Rodney Ewing
e699197258 fixed some typos and enabled media_type plugins in tests 2013-07-02 08:06:39 -07:00
Rodney Ewing
2d9a452c3a removed sniff_handler from Imange Media Manager class 2013-07-02 07:22:02 -07:00
Rodney Ewing
90b7b6e878 removed CompatMediaManager() since all core media_types are classes 2013-07-02 07:22:02 -07:00
Rodney Ewing
58a947578c modified gmg to use plugin media_types and converted image media_type to new plugin style 2013-07-02 07:21:44 -07:00
Aditi
7d00fa8c3c Add '/' at the end of each url. 2013-07-02 07:34:05 +05:30
Aditi
c5b7f89711 Merge branch 'master' of git://gitorious.org/mediagoblin/mediagoblin
"Merge with cweb/master."
2013-06-30 19:49:53 +05:30
Aditi
c8a2637637 Add template for blog edit and create page. 2013-06-30 09:33:04 +05:30
Aditi
6e947ab943 Add user in template dictonary as it is in the url field. 2013-06-30 09:31:29 +05:30
Aditi
cf46184aa1 Add views for creating and editing a blog 2013-06-28 22:58:07 +05:30
Aditi
af05d34a21 Register blog urls with mediagoblin 2013-06-28 22:56:46 +05:30
Aditi
de37d85c7d Register blog create url in routing.py 2013-06-28 22:22:28 +05:30
Christopher Allan Webber
e9f3306627 More clarifications on what ./bin/gmg dbupdate does on each run.
This commit sponsored by Jessica Howard.  Thanks, sistah!
2013-06-28 11:51:40 -05:00
Aditi
4daf5ddbc6 Add forms for editing and creating forms 2013-06-28 22:21:27 +05:30
Christopher Allan Webber
4436fbcd01 Some documentation on how to write database migrations.
This commit sponsored by Andrei Cristian Petcu.  Thanks!
2013-06-28 10:27:06 -05:00
Emily O'Leary
6db23bd9b6 Updated comments for run_all_migrations and config_spec.ini. 2013-06-27 17:05:25 -04:00
Aditi
f79d00dc86 Add url mapping for blog-admin, blog-collection-admin, blog edit/create, blog post edit/create views. 2013-06-27 10:36:21 +05:30
Aditi
9b6f25b887 Add BlogPostEditForm for editing and creating a blog post entry. 2013-06-26 23:53:27 +05:30
Aditi
65630db19b Add basic files models, views, forms, routing, __init__ to for a new media_type blog. 2013-06-26 23:43:26 +05:30
Aditi
0ff6db861a Created filr structure for blog as a plugin(option 1). 2013-06-26 23:27:45 +05:30
Aditi
054ef9a76a Merge branch 'master' of git://gitorious.org/mediagoblin/mediagoblin 2013-06-26 22:13:23 +05:30
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
Aditi
2719d546a5 Merge remote-tracking branch 'cweb/master' 2013-06-21 23:09:22 +05:30
Aditi Mittal
1a6f065419 Initial commit 2013-06-21 08:55:46 -07: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