Commit graph

377 commits

Author SHA1 Message Date
Marco Bonetti
7a782d03a7 MANIFEST.in is a mistery 2018-08-07 08:40:55 +02:00
Marco Bonetti
0e77a93552 Adds a test for Azure translation 2018-08-07 08:28:21 +02:00
Marco Bonetti
e3dd1f9b91 Replace the (no longer working) Microsoft translation API with the new Azure Translator API (Fixes #200 and #201, thank you @svdvonde) 2018-08-07 08:05:03 +02:00
Marco Bonetti
3b3d63eecd Removed a few references to microsofttranslator and fixed the translation path 2018-08-06 22:47:27 +02:00
Sam Van den Vonder
8c7efe32df change unicode characters in comment text that error'd python 2.7 tests 2018-08-06 22:14:24 +02:00
Sam Van den Vonder
69f2b62adf Change discontinued Microsoft Translator API to the new Azure API 2018-08-06 21:47:24 +02:00
Marco Bonetti
0102739091 Release 0.8.2: test against Django 2.1 final 2018-08-06 15:16:50 +02:00
Marco Bonetti
d2dd3831ca project descrition 2018-05-18 10:57:13 +02:00
Marco Bonetti
acfac22a6a Test against Django 2.1a 2018-05-18 09:40:19 +02:00
Marco Bonetti
03ee5142b0 Load static instead of admin_static (deprecated in Django 2.1) 2018-05-18 09:39:48 +02:00
Marco Bonetti
0a6dfaeb32 changelog, preparing for 0.8.2 2018-03-01 14:03:13 +01:00
Yavor Atov
6375cb4109 Avoid UnicodeEncodeError when quering strings
In Python 2 if you query for text with unicode symbols,
an UnicodeEncodeError is raised.
It's because urlencode is called on unicode string.
urlencode should be called on encode strings in Python 2.
The fix is to use Django's force_bytes unility function
to pass encoded string (bytestring in Python 3) to urlencode.
2018-03-01 14:12:50 +02:00
Marco Bonetti
e5ef0029c8
Merge pull request #196 from sobolevn/patch-1
Updates README.rst with svg badge
2018-02-09 14:15:55 +01:00
Nikita Sobolev
2ebd173034
Updates README.rst 2018-02-09 16:01:52 +03:00
Marco Bonetti
ba91431587 version bump to 0.8.1 2018-01-10 21:23:49 +01:00
Jon Baldivieso
a701097073 Allow searching of plural strings (source & translation). Closes #186. 2018-01-10 12:03:01 -08:00
Jon Baldivieso
20c7ff4a07 If there's no search query, don't show "None" in search box! 2018-01-10 12:02:17 -08:00
Jon Baldivieso
372d665386 HTML encode ampersands in query string urls in template 2018-01-10 12:01:37 -08:00
Marco Bonetti
e4e7e3dc45 include .pep8 2018-01-10 16:09:18 +01:00
Marco Bonetti
a43d369387 Check PEP8 while running tests
Use polib >= 1.1.0
Rosetta version bump and changelog
2018-01-10 12:44:24 +01:00
Jon Baldivieso
d797b76a10 Rewrite urls to be RESTful & views to be class-based & less cache-heavy
Previously, state was extensively persisted in the cache. This
large-scale rewrite uses the cache only to persist changes to the
catalog file when it is read-only. State is now conveyed through the url
structure and through query string arguments.

The primary downside to this new approach is that there's no explicit
way of purging a cached catalog from memory, or refreshing it from
what's on disk. The user is forced (untransparently!) to wait until
the cached file falls out of the cache (untransparently!), which
is currently 24 hours after the last save (or after if the session
ends). Addressing this would require some design considerations,
and probably some new text that would require its own translation.
2018-01-09 10:45:37 -08:00
Marco Bonetti
1ae24a13a1 0.7.14 final 2017-12-02 18:21:17 +01:00
Marco Bonetti
ff283491aa test against Django 2.0b1 2017-10-23 11:23:53 +02:00
Marco Bonetti
0bd2f6e3dc Tests passing on Django 2.0a1 2017-09-23 21:16:16 +02:00
Marco Bonetti
d6fe378676 version bump 2017-09-23 08:19:21 +02:00
Marco Bonetti
d1930b75a0 updated docs 2017-09-23 08:18:30 +02:00
Adam Uhlíř
78c56b5cba Update installation.rst 2017-08-10 16:56:05 +02:00
Marco Bonetti
30b12a9fda explicitly enable warnings in the test runner 2017-04-07 10:13:53 +02:00
Marco Bonetti
de8bc76013 Release 0.7.13 2017-04-05 09:57:08 +02:00
Marco Bonetti
b88fd69f63 fixes Travis yml 2017-03-23 15:46:26 +01:00
Marco Bonetti
39974d5a3c test against django 1.11rc1 2017-03-23 15:43:09 +01:00
Marco Bonetti
56a62f415d changelog 2017-03-10 11:22:30 +01:00
Marco Bonetti
80492e45c6 Template cleaunp, fixes #181 2017-03-10 11:19:20 +01:00
Marco Bonetti
e5485991fb use python 3.6 now 2017-02-21 12:15:06 +01:00
Marco Bonetti
46475e156c test against django 1.11b1 2017-02-21 12:02:26 +01:00
Marco Bonetti
67285f2174 use AdminSite.index_template instead of overriding the default AdminSite 2016-12-13 11:26:09 +01:00
Slava Kyrachevsky
cc74135ff2 updated docs 2016-12-13 11:04:49 +02:00
Slava Kyrachevsky
84acecc54d rename settings variable 2016-12-13 10:54:54 +02:00
Slava Kyrachevsky
69a305927e Rosetta at admin panel 2016-12-13 10:48:14 +02:00
Marco Bonetti
d89248e53f version bump 2016-12-11 12:51:25 +01:00
Marco Bonetti
8a35c2e210 Merge pull request #174 from torchingloom/develop
Update views.py
2016-12-11 12:48:16 +01:00
Alexey Baranov
33d27e83e3 Update views.py
search in comment too
2016-11-22 17:07:40 +03:00
Marco Bonetti
052133fe17 travis config for django 1.10 2016-08-02 00:09:34 +02:00
Marco Bonetti
c385ce3584 0.7.12 release 2016-08-02 00:06:12 +02:00
Marco Bonetti
ba44f3bf6b Test against Django 1.10b1 and dropped support for goslate and the Google translate API 2016-06-24 12:24:29 +02:00
Marco Bonetti
b9427a0a74 updted changelog, preparing for 0.7.12 2016-05-21 15:44:58 +02:00
Marco Bonetti
4168a07bdc Merge pull request #169 from dnaranjo89/patch-1
Clean ROSETTA_CACHE_NAME initialization
2016-05-21 15:43:05 +02:00
Marco Bonetti
cd1dee08f4 Merge pull request #170 from dnaranjo89/patch-2
Fixup comment
2016-05-21 15:40:09 +02:00
Marco Bonetti
b254811faf Merge pull request #171 from nealtodd/int_percent_translated
Remove 2dp float formatting of integer percent translated
2016-05-21 15:38:46 +02:00
Marco Bonetti
a2d1a74a78 Merge pull request #168 from nealtodd/bugfix_fix_nls
Fix IndexError in fix_nls when translation is just a carriage return
2016-05-21 15:36:34 +02:00