4190 Commits

Author SHA1 Message Date
xray7224
62dc7d3e6c Add some more code to work better with image uploads 2014-07-22 23:13:15 +01:00
xray7224
d4a21d7e74 Add basic upload image capabilities 2014-07-22 23:13:15 +01:00
Jessica Tallon
c894b4246a Add basic comment support and flesh out some other endpoints 2014-07-22 23:13:15 +01:00
Jessica Tallon
c434fc31c9 Add static pump_io to API and fix problem where null appeared in profile 2014-07-22 23:13:14 +01:00
xray7224
d6dce0f7d8 Remove old webfinger support 2014-07-22 23:13:14 +01:00
xray7224
1829765537 Add .json url for host-meta and fix host-meta problem of not having 'links' 2014-07-22 23:13:14 +01:00
xray7224
a5682e8960 Support some webfinger API's and real profile and /api/user/<user>/ 2014-07-22 23:13:14 +01:00
xray7224
98596dd072 Support for the comments endpoint 2014-07-22 23:13:14 +01:00
xray7224
37f070b067 Fixes problem where full URL was being used inplace of host 2014-07-22 23:13:14 +01:00
xray7224
d461fbe5cb Use the the slug as the UUID instead of a newly generated UUID 2014-07-22 23:13:14 +01:00
Jessica Tallon
5b014a0866 Add image URL's (thumb & full) 2014-07-22 23:13:14 +01:00
Jessica Tallon
c8bd2542d7 Fixes where User id in API would return url rather than host 2014-07-22 23:13:14 +01:00
Jessica Tallon
a840d2a848 Adds comments for the MediaEntry api 2014-07-22 23:13:14 +01:00
Jessica Tallon
bdde87a4b3 Changes serialization to .serialize method on object - MediaEntry 2014-07-22 23:13:14 +01:00
Jessica Tallon
5a2056f738 Adds endpoint /api/image/<uuid> so that you can now view an image endpoint 2014-07-22 23:13:14 +01:00
Jessica Tallon
2b7b9de32e Make sure new media has a new uuid added on 2014-07-22 23:13:14 +01:00
Jessica Tallon
3015d31a79 Adds the federation routing 2014-07-22 23:13:13 +01:00
Jessica Tallon
e590179ab6 Adds migration on MediaEntry to add uuid 2014-07-22 23:13:13 +01:00
Jessica Tallon
d7b3805f2d Starts the user (profile) endpoint and lays groundwork for inbox and feed endpoint 2014-07-22 23:13:13 +01:00
Jessica Tallon
637b966ac2 Adds seralize on user 2014-07-22 23:13:13 +01:00
Jessica Tallon
59ff4790c9 Add JPope's sandy 70s speedboat theme 2014-07-20 09:51:04 +01:00
Jessica Tallon
043b108f54 Revert "Add JPope's sandy 70s speedboat theme"
The theme is in the wrong place. Elrond suggested in IRC
that actually it should go in mediagoblin/themes.

This reverts commit 58432bcb8cf1795b90bc08b1a9615c64d77e1e3a.
2014-07-20 09:28:30 +01:00
Jessica Tallon
58432bcb8c Add JPope's sandy 70s speedboat theme 2014-07-18 18:01:58 +01:00
Tryggvi Bjorgvinsson
09bed9a732 Use unicode for logging comments
The comment problems detailed in issue 791 are related to logging
of comments creation. The log tries to format unicode comments into
an ascii string (that is the unicode comment content).

This also creates problems with mark seen functionality since that
also logs the comments which breaks and you end up with a lot of
international comments in your message queue.

This commit makes both log messages unicode as well as the
representation of the comment.
2014-07-18 15:27:35 +01:00
Christopher Allan Webber
8c311def96 Explicitly *do not* handle NEF files via the video media type.
Gstreamer might think it's a good idea, but it isn't.
2014-07-17 15:04:03 -05:00
Jessica Tallon
892eed590f Fix #894 - index User.username field
This commit sponsored by Emily O'Leary.  Thank you!
2014-07-17 10:21:29 -05:00
Odin Hørthe Omdal
ffbf9c8b43 Implement Raw Image media type plugin 2014-07-16 14:29:58 -05:00
Christopher Allan Webber
e99431cc05 As Elrond points out, git submodule should come first!
This commit sponsored by Sebastien Hut.  Thanks Sebastien!
2014-07-12 08:59:55 -05:00
Christopher Allan Webber
1c0293898c Committing extracted and compiled translations 2014-07-10 12:33:32 -05:00
Christopher Allan Webber
e9f75d75a0 Committing present MediaGoblin translations before pushing extracted messages 2014-07-10 12:32:36 -05:00
Tryggvi Bjorgvinsson
71d31dda07 Tags can now be passed in for media entries submitted via the api plugin 2014-07-10 11:05:29 -05:00
Christopher Allan Webber
ccd4f984c2 Fix bad copy/paste in skip_transcoding code (Fix by Beuc, Brett Smith) 2014-07-10 10:58:38 -05:00
Christopher Allan Webber
2cd33c483c Moving the quotation.
This commit sponsored by Max Lupo.  Thanks Max!
2014-07-10 10:32:49 -05:00
Amirouche Boubekki
1dc126cbb0 runtests.sh was asking to install nose instead of pytest 2014-07-10 10:31:53 -05:00
tilly-Q
4285fc67b3 This was a very simple update. The gmg command adduser was generating an
unncessary error because we were searching for a non-unicode string value in a
Unicode column of the core__users table.
2014-07-10 10:28:34 -05:00
Christopher Allan Webber
4b24678a1f Adding WAI-ARIA attributes to the header dropdown (Fix by Aleksej Serdjukov)
This fixes issue #754

Thanks Aleksej!
2014-07-10 10:24:37 -05:00
Christopher Allan Webber
a433775536 Wrapping things to not exceed column 80 in test_ldap 2014-07-10 10:24:37 -05:00
Jessica Tallon
c5eb24b834 Allow crypto.random_string to take optional alphabet param 2014-07-08 21:32:31 +01:00
Christopher Allan Webber
27f9932731 Removing legacy mongo-related docstring 2014-06-23 13:45:00 -05:00
Christopher Allan Webber
b1fbf67ec4 Add a modify_request hook 2014-06-22 22:22:16 -05:00
Natalie Foust-Pilcher
446cece470 Used the codecs library to read the csv file in batchaddmedia as unicode. 2014-06-21 15:26:23 -04:00
Aleksej
daf47b3890 Issue #837: Moderation report page: offender's name linked to the reporter's profile. 2014-06-13 10:41:55 -05:00
Aleksej
88542a8c1f Issue 839: move attribution from some icons' alt into title. 2014-06-13 10:37:47 -05:00
Berker Peksag
9da03b739f Convert media_ids to int safely.
With this commit, "gmg deletemedia spam,12" will not raise
ValueError anymore.
2014-06-13 10:30:46 -05:00
Berker Peksag
25b1296ded Properly exit when "gmg deletemedia" succeed.
Also, fixed a typo: "to will be" -> "will be"
2014-06-13 10:30:46 -05:00
Christopher Allan Webber
05dbec8b94 Merge remote-tracking branch 'remotes/berker/remove-pkginfo' 2014-06-13 10:25:33 -05:00
Loïc Le Ninan
0742e11dff Fixes #899 : DeprecationWarning about Required going away in WTForms 3.0. Replaced Required with InputRequired. 2014-06-13 10:23:07 -05:00
Natalie Foust-Pilcher
b9d990ac6a Fixed another error created by my last fix 2014-06-12 14:48:15 -04:00
Natalie Foust-Pilcher
32ba7efcfc Fixed a fatal error causing mediagoblin to crash when certain types of media
were uploaded
2014-06-12 14:12:34 -04:00
Christopher Allan Webber
9f84506885 Adding Loïc Le Ninan to the contributor list 2014-06-11 17:06:11 -05:00