2226 Commits

Author SHA1 Message Date
LotusEcho
2b28f95b31 Changed a <p/> to </p> in user.html. Removed the <p></p> wrappers in profile.html which was included in user.html. 2012-09-24 20:31:20 +02:00
Christopher Allan Webber
f2bcd91d20 Committing extracted and compiled translations 2012-09-24 11:42:17 -05:00
Christopher Allan Webber
e49a17c097 Committing present MediaGoblin translations before pushing extracted messages 2012-09-24 11:41:43 -05:00
Christopher Allan Webber
315ac0a2d3 Correcting a couple of spelling errors. Thanks elesa, for finding them! 2012-09-24 11:40:47 -05:00
Joar Wandborg
4f8508f664 Removed logging entry from sniff_handler
The logging entry caused the submit page to crash if you tried to upload
an SVG with a non-ascii filename.
2012-09-22 14:19:51 +02:00
Joar Wandborg
5ee1ab2abb Fixed typos visisble, appplication 2012-09-22 12:03:32 +02:00
Christopher Allan Webber
d2eb7440d2 Committing extracted and compiled translations 2012-09-21 15:38:14 -05:00
Joar Wandborg
6b8c66d44c Added name kwarg to Column(Enum(...)) in OAuth models 2012-09-21 13:20:56 +02:00
Joar Wandborg
0e21b2342f Added flask-wtf html5 fields to extlib 2012-09-21 13:16:24 +02:00
Joar Wandborg
88a9662be4 Added client registration caps to OAuth plugin
THE MIGRATIONS SUPPLIED WITH THIS COMMIT WILL DROP AND RE-CREATE YOUR
oauth__tokens AND oauth__codes TABLES. ALL YOUR OAUTH CODES AND TOKENS
WILL BE LOST.

- Fixed pylint issues in db/sql/migrations.
- Added __repr__ to the User model.
- Added _disable_cors option to json_response.
- Added crude error handling to the api.tools.api_auth decorator
- Updated the OAuth README.
- Added client registration, client overview, connection overview,
  client authorization views and templates.
- Added error handling to the OAuthAuth Auth object.
- Added AuthorizationForm, ClientRegistrationForm in oauth/forms.
- Added migrations for OAuth, added client registration migration.
- Added OAuthClient, OAuthUserClient models.
- Added oauth/tools with require_client_auth decorator method.
2012-09-21 13:09:42 +02:00
Joar Wandborg
d4c066abf0 Fixed typo in OAuth README 2012-09-19 22:13:16 +02:00
Joar Wandborg
6ed236d5b5 Added security warning to OAuth README 2012-09-19 22:12:13 +02:00
Joar Wandborg
f26224d433 Fixed a horrible security issue in the OAuth plugin.
Also added some real triggering logic to the OAuthAuth Auth object.
2012-09-19 21:57:59 +02:00
Joar Wandborg
a7b8c214e9 Added some more helpful links to the OAuth docs
- OAuth v2.25 draft
- IRC channel
- OAuth plugin source code
2012-09-18 21:51:22 +02:00
Joar Wandborg
4427b1bea4 Fixed typo in OAuth docs, recieve => receive 2012-09-18 21:44:02 +02:00
Joar Wandborg
df3147b986 Added documentation for the OAuth plugin 2012-09-18 21:42:10 +02:00
Joar Wandborg
6d1e55b262 Style fixes 2012-09-18 18:19:26 +02:00
Aaron Williamson
c9ac6841c4 Fixed post-collect redirect to always take user to image collected. 2012-09-18 18:10:36 +02:00
Aaron Williamson
256f816f50 Fixed collection sidebar for media_home to user collection.url_for_self instead of incorrectly getting the session user 2012-09-18 18:10:36 +02:00
Aaron Williamson
cdb35b9717 Reference collection creator through already-existing collection_item's foreign key 2012-09-18 18:10:36 +02:00
Aaron Williamson
b5a64f7884 Removed unnecessary reference to may_edit_collection in edit views.py 2012-09-18 18:10:36 +02:00
Aaron Williamson
d8984df83f Added default for 'collected' column to migration 2012-09-18 18:10:36 +02:00
Aaron Williamson
8926c94978 Fixed migrations for Collection and CollectionItem tables 2012-09-18 18:10:36 +02:00
Aaron Williamson
29fdd3bb7c Added migrations for Collection and CollectionItem tables 2012-09-18 18:10:36 +02:00
Aaron Williamson
59fb87c944 Fixed collections migration to add 'collected' column to media_entries instead of 'collections' 2012-09-18 18:10:36 +02:00
Aaron Williamson
a0fdc00fab Added new files for collections 2012-09-18 18:10:36 +02:00
Aaron Williamson
be5be1154f Added basic collection functionality 2012-09-18 18:10:36 +02:00
Joar Wandborg
09e528acbb Fixed validation in API post_entry.
Added state to API get_entry_serializable
2012-09-17 23:54:27 +02:00
Joar Wandborg
c92aa0d0b2 API: Fixed media file URLs, limits
- Added default limit and limit arg to get_entries
- Fixed URL generation for BasicFileStorage files in API
2012-09-15 22:34:34 +02:00
Joar Wandborg
965b39a84f Added CORS headers to API json_response 2012-09-15 22:18:49 +02:00
Joar Wandborg
3a1993288f Fixed ?next=<url> argument for require_active_login
It now includes the full URI, including GET args, not just the path.
2012-09-15 21:07:24 +02:00
Joar Wandborg
30520c92cc Fixed tests
- Adapt tests to new global_config arg for run_dbupdate
- Account for [plugins] not being set in config
2012-09-15 17:54:34 +02:00
Joar Wandborg
999f91eb8a Fixed typo in API post_entry 2012-09-15 16:54:14 +02:00
Joar Wandborg
4504dbba9b Added post_entry at /api/submit 2012-09-15 16:51:29 +02:00
Joar Wandborg
85726f7360 Added fields to /api/entries, wrote docstrings for api.tools 2012-09-15 15:54:22 +02:00
Joar Wandborg
42c837523e Added /api/entries view 2012-09-15 15:25:26 +02:00
Joar Wandborg
a062149e90 Created API plugin, moved api_auth to the API plugin 2012-09-13 20:59:00 +02:00
Joar Wandborg
f46e2a4db9 Add OAuth models, plugin DB migrations, api_auth 2012-09-13 20:38:59 +02:00
warp
bc875dc7cc Fix for issue #491, invert latitude when neccesary. 2012-08-27 15:55:43 +02:00
Will Kahn-Greene
47cdc020a1 Change version to 0.3.2.dev 2012-08-22 18:12:18 -04:00
Will Kahn-Greene
1608292973 Update version to 0.3.1 final 2012-08-22 18:06:41 -04:00
Will Kahn-Greene
9454f6c856 Fix docs so they pull version from _version.py 2012-08-22 18:04:50 -04:00
Christopher Allan Webber
b9705b16a1 Committing extracted and compiled translations 2012-08-22 16:54:53 -05:00
Christopher Allan Webber
a250a7cb65 Committing present MediaGoblin translations before pushing extracted messages 2012-08-22 16:54:27 -05:00
Will Kahn-Greene
9e579cde81 Fix relnotes for 0.3.1. 2012-08-22 17:47:15 -04:00
Christopher Allan Webber
0346518e35 Release notes for 0.3.1 2012-08-21 15:37:16 -05:00
Christopher Allan Webber
c15017240a Using Aleksejrs' improved text for the theming config description 2012-08-21 09:01:05 -05:00
Christopher Allan Webber
a53aa60500 Reminding people they need to run gmg assetlink and that there's a default theme 2012-08-21 08:40:47 -05:00
Christopher Allan Webber
0d896a8d2a Give a small amount of info on how to set the theme. 2012-08-21 08:36:55 -05:00
Will Kahn-Greene
3a438f5e84 Docs tweaks
This fixes some minor issues in the documentation.
2012-08-20 12:35:35 -04:00