4299 Commits

Author SHA1 Message Date
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
Berker Peksag
88a5739d36 Remove paste.server dependency from tests. 2014-07-18 12:39:13 +03:00
Berker Peksag
c9cbc7e8a7 Add tox.ini. 2014-07-18 11:05:11 +03: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
Berker Peksag
9459fa3ced Fix tests on Python 3. 2014-07-14 05:49:38 +03: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
Berker Peksag
19baab1b03 Remove Paste#http, Paste#urlmap and Paste#static dependencies.
Changes:

* Paste#http -> Gunicorn
* Paste#urlmap and Paste#static -> werkzeug.wsgi.SharedDataMiddleware
2014-06-29 04:23:50 +03:00
Berker Peksag
f9d93c0e9a Fix print statements. 2014-06-29 04:13:23 +03:00
Berker Peksag
e2cb0f86fe Remove sqlalchemy-migrate imports from the codebase. Do not touch tests yet. 2014-06-27 03:17:12 +03:00
Berker Peksag
e6aab20dc7 Use new-style class. 2014-06-25 21:10:37 +03: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
Loïc Le Ninan
8c7ba963af #303 : enhancement : add a command to delete users 2014-06-11 16:42:26 -05:00
Rodrigo Rodrigues da Silva
8db3277cd7 Put block mediagoblin_sidebar back in user_pages/media.html. Fixes issue #906. 2014-06-11 11:37:03 -05:00
Christopher Allan Webber
713dde5b9d Adding comments in the migration explaining a bit what's going on.
This commit sponsored by Philip Horger.  Thank you!
2014-06-11 11:09:28 -05:00
Christopher Allan Webber
987a63514f Explicitly set the column names to "user" and "privilege" 2014-06-11 11:01:17 -05:00
Christopher Allan Webber
c56a88b43e Switch "user_id" to "privilege" and "privilege_id" to "user".
This builds on the previous code Natalie wrote, but makes some changes:
 - More direct alterations for non-sqlite code
 - In both cases, I've made it so that we switched the field names from
   privilege_id and user_id to user and privilege respectively.  This
   way we can do the name swap, but in one case it's "easy": just
   changing the name.  (In the sqlite case it's still tricky though.)
2014-06-10 18:02:34 -05:00
Christopher Allan Webber
70bceff85f Merge remote-tracking branch 'refs/remotes/tilly-q/ticket-874' into mergetest
Conflicts:
	mediagoblin/db/migrations.py
2014-06-10 16:48:45 -05:00
Christopher Allan Webber
1ec440b446 Adding Rodrigo to AUTHORS 2014-06-10 11:51:12 -05:00
Rodrigo Rodrigues da Silva
33ee70f9b0 Adding a template hook to the dropdown header 2014-06-10 11:49:41 -05:00
Berker Peksag
ef3badb3b4 Use new-style classes. The old-style classes are deprecated in Python 3. 2014-06-08 08:20:17 +03:00
Berker Peksag
bda76c420d Use six.iteritems() in tools/exif.py. 2014-06-08 08:19:32 +03:00
Berker Peksag
03d4be0e39 Fix an usage of file(). 2014-06-08 08:19:04 +03:00