1956 Commits

Author SHA1 Message Date
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
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
Christopher Allan Webber
7a690a5ae5 Updated flatpages example in plugins.rst to reflect reality & point to flatpages docs 2012-08-20 08:54:09 -05:00
Christopher Allan Webber
9022f358a7 Committing extracted and compiled translations 2012-08-19 14:22:45 -05:00
Christopher Allan Webber
57474c070d Committing present MediaGoblin translations before pushing extracted messages 2012-08-19 14:21:46 -05:00
Christopher Allan Webber
a066e8bb54 Merge remote-tracking branch 'refs/remotes/merge-requests/42' 2012-08-19 12:18:18 -05:00
Christopher Allan Webber
944b92dc2f Merge remote-tracking branch 'refs/remotes/merge-requests/40' 2012-08-19 12:14:39 -05:00
Aleksej
fafef8df2e add titles to two pages and fix a typo in docs 2012-08-18 23:31:27 +04:00
Aleksej
b3b42bbe7b use YYYY-MM-DD HH:MM 24-hour format on panels 2012-08-13 22:19:23 +04:00
Aleksej
daecdea906 added title tags to various pages and marked a string translatable 2012-08-13 20:28:48 +04:00
Aleksej
9d3e56d500 replaced os.path.split()[0] with os.path.dirname() and corrected a couple of comments 2012-08-13 16:07:58 +04:00
Christopher Allan Webber
5257f5f554 Duplication of rstrip unnecessary in link_assets function
Thanks for catching AVRS!
2012-08-12 12:49:14 -04:00
Joar Wandborg
549000d991 Audio support now creates OGG instead of WAV
While creating the spectrogram, and alternative version of the audio
file has been needed. Before this, it has been a WAV format file, the
issue with WAV is that it takes a lot of space. Starting with this it
will be an OGG file.

Rejoice :)
2012-08-12 01:57:00 +02:00
Joar Wandborg
089508d07b Changed <pre> margin to confirm with <p> margins 2012-08-08 00:22:52 +02:00
Jakob Kramer
cf29edcd74 allow pre+code tags in rendered HTML 2012-08-07 22:19:10 +02:00
Jakob Kramer
c042801650 renamed MARKDOWN_INSTANCE to UNSAFE_...
as proposed by Elrond.

Conflicts:
	mediagoblin/tools/text.py

Signed-off-by: Joar Wandborg <git@wandborg.com>
2012-08-07 18:48:57 +02:00