4428 Commits

Author SHA1 Message Date
Christopher Allan Webber
33cdeef94f Might as well make the Transifex->Pootle switch official on a scripts level
This commit sponsored by Ben Sturmfels.  Thank you!
2015-02-14 15:39:49 -06:00
Christopher Allan Webber
de7e19f0ab Move compiling translations into its own script 2015-02-14 15:38:39 -06:00
Asheesh Laroia
1a7d401c32 Remove html5slider Javascript helper
This helper was originally added as a "polyfill"
(backward-compatibility shim) for Firefox version 23 and older, so
that <input type="range"> that audio.js uses could render nicely in
those versions of Firefox.

Chromium did not need this shim, and Firefox 23 (released on Aug 6,
2013) added support for this. Therefore, let us remove this
dependency. By current metrics at caniuse.com
<http://caniuse.com/#feat=input-range>, 88.14% of web users support
this attribute. Opera Mini and old versions of Internet Explorer (6-8)
are the only holdouts.

Note also that the html5slider.js is uninterested in adding this to
the npm package manager (or any package manager) repository
<https://github.com/fryn/html5slider/issues/5>, meaning that keeping
it in the mediagoblin extlib section would mean manual
maintenance/updating by the GNU MediaGoblin team.

This commit also removes GMG's use of the shim.
2015-02-13 15:55:16 -06:00
Christopher Allan Webber
d7404e7a4f no reason to say LGPL where AGPL applies in COPYING 2015-02-05 11:55:06 -06:00
Jessica Tallon
63d6953774 Fix #1052 - Make activity cascade delete work when deleting a user 2015-01-27 13:31:29 +00:00
Jessica Tallon
a02de38f91 Let parser handle typing for deletuser command 2015-01-20 12:24:13 +00:00
Boris Bobrov
deb8f9c513 fixed wrong git mv in Pootle transition script 2015-01-19 15:34:46 -06:00
Christopher Allan Webber
c300e40bc1 Committing extracted and compiled translations 2015-01-18 16:03:38 -06:00
Christopher Allan Webber
820e4294a6 Compile .po files to the LC_MESSAGES subdir
This ought to make both python's gettext and pootle happy :P
2015-01-18 16:02:44 -06:00
Christopher Allan Webber
dfea462c8e Exclude the LC_MESSAGES stuff (and master pulling) 2015-01-18 14:03:11 -06:00
Christopher Allan Webber
53f91d1991 Moving translation files over for Pootle move. 2015-01-16 16:06:42 -06:00
Boris Bobrov
042b3ba4b4 Exclude index dir from sync with Pootle
Pootle creates some dir with index file. It has nothing to do with our
files, so it should be excluded in the rsync call.
2015-01-16 15:20:32 -06:00
Christopher Allan Webber
26217cbe0d Update the pootle translation updating script to compile the right files
Made similar changes in the Transifex script, so ported those over.

Also, the script did not seem to be running the compile step as it
wasn't finding the files (different file structure), but it is doing
fine now.
2015-01-16 15:20:32 -06:00
Boris Bobrov
94e90c77d0 Added facilities for Pootle.
Previously we used Transifex as a web-tool for translations. Some time
ago Transifex went proprietary and we decided to move to Pootle.

Old script for updating translations was renamed and a new one was
added. Also a script for making the layout more Pootle-friendly was
added.

To accomplish the transition first run the old script:
./devtools/update_translations_transifex.sh

Then run the layout changing script:
./devtools/move_translations_for_pootle.sh

Commit and push. After that use the new
./devtools/update_translations_pootle.sh
to update the translations.

Closes bug: #913
2015-01-16 15:20:32 -06:00
Christopher Allan Webber
5d8e56ffc2 Committing extracted and compiled translations 2015-01-16 15:15:20 -06:00
Berker Peksag
2757e76cf7 Silenced a Sphinx warning.
docs/source/siteadmin/relnotes.rst:72: WARNING: Title underline too short.
2015-01-09 23:25:59 +02:00
Berker Peksag
c87825b692 Added an "htmlview" target to open docs after building them.
This is helpful if you build and test documentation updates in
your development env.

Copied from CPython's and Django's Doc/Makefile.
2015-01-09 23:05:04 +02:00
Jessica Tallon
b63b564e2e Minor fixes to API documentation: typos and dates, etc. 2015-01-09 15:15:29 +00:00
Jessica Tallon
2a702d0180 Update and reorganise API documentation 2015-01-09 14:02:49 +00:00
Jessica Tallon
2663394688 Add upper limit to count GET param for inbox and feed 2015-01-06 12:06:12 +00:00
Jessica Tallon
90b78c4a28 Clean up documentation and add documentation on activities 2014-12-30 16:01:20 +01:00
Jessica Tallon
7eac1e6d6b Fix 1e0c938 by allowing target to be translatable in Activity.content 2014-12-22 11:48:01 +00:00
Jessica Tallon
1e0c938c63 Allow Activity.content to be fully translatable 2014-12-22 11:00:44 +00:00
Jessica Tallon
ce1344f40b Fix #1066 - Fix OAuth issue when using GET params 2014-12-18 08:53:05 +00:00
Jessica Tallon
95dbed2d72 Fix #1078 - Stop 500 error when GET request on inbox 2014-12-16 12:15:13 +00:00
Jessica Tallon
9e715bb07f Fix #1077 - Fix updating comment via API and add test 2014-12-16 12:05:18 +00:00
Jessica Tallon
9a51bf1ebc Fix #1064 - Add major and minor feed for outbox/feed 2014-12-15 18:04:50 +00:00
Jessica Tallon
4dec1cd695 Fix #1069 - Add deleting images and comments via delete activities 2014-12-15 11:18:30 +00:00
Christopher Allan Webber
57024f34a3 Committing extracted and compiled translations 2014-12-14 15:02:50 -06:00
Christopher Allan Webber
7a917e291a Recommend cloning the stable branch instead of master from now on
This commit sponsored by Karen Rustad.  You're awesome, Karen!
2014-12-14 12:56:33 -06:00
Christopher Allan Webber
e2a4e048c9 Committing extracted and compiled translations 2014-12-13 10:04:10 -06:00
Christopher Allan Webber
1439e4965f Fix the output file to the correct one in the new i18n compile loop 2014-12-13 10:04:10 -06:00
Christopher Allan Webber
f5a829fabf Just spacing things out to look a bit cleaner. 2014-12-13 10:04:10 -06:00
Christopher Allan Webber
8471c5b4d2 Submitting workaround to skip compiling Lojban. Sniff :(
We'll eventually support Lojban again.  This issue fixes #1071, but
leaves #1070 open.
2014-12-13 10:04:10 -06:00
Christopher Allan Webber
8441e87d75 Committing present MediaGoblin translations before pushing extracted messages 2014-12-13 10:04:10 -06:00
Jessica Tallon
c7c26b1740 Fix #1056 - Add flag to accept URLs without a trailing slash 2014-12-12 14:33:15 +00:00
Jessica Tallon
058964bce7 Fix #1055 - API feed should be sorted in order of newest first 2014-12-11 16:35:10 +00:00
Jessica Tallon
4a09d5956a Fix #1053 - Add height and width attributes and MetadataProcess task
Added "height" and "width" attributes to "image" and "fullImage"
    in the API where possible. The height and width of images wasn't
    being stored anywhere so I've created a task to add or update
    the metadata on images and also started adding those to new images
    when they're submitted in the InitialProcessor.
2014-12-11 11:52:34 +00:00
Jessica Tallon
f2698759cd Fix #1026 - Add inbox feed with major, minor and direct endpoints 2014-12-09 20:42:43 +00:00
jpope777
8017abec70 Fix #1058 - Verifier page could be clearer 2014-12-08 11:46:56 -06:00
Jessica Tallon
060a7a7b3d Fix #1057 - unquote redirection URL on successful OAuth authorization 2014-12-08 17:00:33 +00:00
Jessica Tallon
3588522606 Fix #1054 - Add missing attributes to Activity.serialize 2014-12-08 14:46:48 +00:00
Jessica Tallon
a5c09c50c0 Fix OAuth length problems in clients by removing that constraint 2014-12-08 13:44:33 +00:00
Jessica Tallon
8d8fdfd1b8 Partial fix #1048 - Don't require as long nonce 2014-12-05 17:22:55 +00:00
Jessica Tallon
5b7e6bb8c2 Fix #1049 - name renamed to displayName for Location 2014-12-05 14:04:18 +00:00
Christopher Allan Webber
7b808c1fad There's absolutely no reason for a Session().commit object mirrored onto Session() :)
Thanks for catching, Elrond :)
2014-12-03 15:40:58 -06:00
Christopher Allan Webber
8379046d4a Use request.db to do a query to support a global-free view :) 2014-12-03 15:40:58 -06:00
Christopher Allan Webber
ddabf20f25 Make all mixin methods ignore mg_globals and use self._app instead
This commit sponsored by Daniel Lang.  Thank you!
2014-12-03 15:40:58 -06:00
Christopher Allan Webber
7c563e91bf Attach the MediaGoblinApp to the engine, and provide a way for models to access
This allows SQLAlchemy models to gain access to app-level configuration
without the need for global variables.

This commit sponsored by Peter Hogg.  Thank you, Peter!
2014-12-03 15:40:58 -06:00
Christopher Allan Webber
5e5ea4a3e9 Use request.app.auth instead of mg_globals 2014-12-03 15:40:57 -06:00