1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-11-15 04:00:11 +01:00
Commit Graph

45 Commits

Author SHA1 Message Date
Piero Toffanin
9bc342a9ae Cleanup 2023-11-15 14:47:44 -05:00
Piero Toffanin
f3bf89375f Dynamic limit costs 2023-11-15 14:34:20 -05:00
Piero Toffanin
57c7f63cce
Merge pull request #537 from pierotofy/hourly
Add hourly req limit option
2023-11-10 15:00:49 -05:00
Piero Toffanin
4903ab757c Add --hourly-req-limit 2023-11-10 14:56:52 -05:00
Piero Toffanin
8427f86275 Minor refactor 2023-11-08 21:58:59 -05:00
Piero Toffanin
dc194db0dd Refactor translate_file endpoint 2023-11-08 21:55:55 -05:00
Piero Toffanin
cbe1c5db71 Fix auto batch translation 2023-11-08 21:49:56 -05:00
Piero Toffanin
02ea8ae011 Switch linguars for langdetect 2023-10-30 20:39:30 -04:00
Piero Toffanin
2972292fc5 Fix string index out of range fault 2023-10-30 13:09:39 -04:00
P.J. Finlay
bc10febe9b Don't require API key for suggestions
Remove the access check when a user submits
a suggestion. This allows submitting translation
suggestions without an API key or secret.

https://github.com/LibreTranslate/LibreTranslate/issues/490
2023-10-01 08:07:55 -05:00
Piero Toffanin
bc4bf7cadb
Merge branch 'main' into add_update_option 2023-09-29 21:30:45 -04:00
Robert George
94f63cedda
Use package.version for model version comparison
Change `--install-models` to `--force-update-models`
2023-09-29 15:31:33 -07:00
Robert George
cb11dfc6b1
Allow json submission to /suggest 2023-09-29 13:49:52 -07:00
Robert George
78713d8017
Added option to update models rather than reinstall 2023-09-29 13:43:59 -07:00
Vincent Emonet
1c0fb597fb Fixed some ruff warnings: requests without timeout and naming not complying with PEP 2023-07-09 12:38:03 +02:00
Vincent Emonet
bf18dcbcf9 run ruff formatting 2023-07-09 12:29:11 +02:00
Seth Falco
4f6145e275
fix: don't update url after character-limit 2023-07-08 13:32:17 +01:00
Piero Toffanin
fdb317c559 Don't force ASCII output 2023-05-29 16:47:32 -04:00
misuzu
0f8952fd10 Fix compatibility with flask-babel v3+
Babel.locale_selector was removed in 3.0.0
2023-04-27 19:43:39 +03:00
Piero Toffanin
6a231d974b Testing, fixes 2023-03-09 23:07:12 -05:00
Piero Toffanin
ab27dcbaf3 Add shared storage option 2023-03-09 22:00:27 -05:00
Piero Toffanin
e00f3af7db Shared storage implementation 2023-03-09 16:09:04 -05:00
Piero Toffanin
b59b82cfb0 Fix last-modified header response 2023-03-09 14:05:09 -05:00
Piero Toffanin
f2792e5001 Add require-api-key-secret 2023-03-09 13:59:25 -05:00
Piero Toffanin
11ec67663d Fix require-api-key-origin logic 2023-03-07 09:16:55 -05:00
Piero Toffanin
87e1bf3f72 Add space 2023-02-06 00:39:06 +01:00
Piero Toffanin
8ace1bddf9 Fix metrics endpoint in non-gunicorn processes 2023-02-06 00:37:23 +01:00
Piero Toffanin
94ab47c81d Accept a regex for require api key origin 2023-01-23 16:15:23 -05:00
Piero Toffanin
9fe372f58f Match target translation to site's locale 2023-01-15 12:07:51 -05:00
Piero Toffanin
f1f0753cd4 Fix content type for app.js 2023-01-10 10:02:12 -05:00
Piero Toffanin
58350d868c Language selector working 2023-01-06 11:50:51 -05:00
Piero Toffanin
754ac65b9e Locale selector UI works 2023-01-06 10:27:39 -05:00
Piero Toffanin
bfbe848c01 LT_LOCALE_LINK_TEMPLATE support 2023-01-05 14:36:50 -05:00
Piero Toffanin
b26a3931a2 Translate swagger 2023-01-05 14:07:39 -05:00
Piero Toffanin
edd3d6931d Tagged all strings 2023-01-05 13:12:35 -05:00
Piero Toffanin
19c3c04ca6 Translated index.html 2023-01-04 17:54:07 -05:00
Piero Toffanin
3cbbd8ae16 Auto self-translation 2023-01-04 15:36:26 -05:00
Piero Toffanin
50c9b62595 PoC translation working 2023-01-04 12:40:00 -05:00
Piero Toffanin
05900ff556 Translation scripts 2023-01-04 12:15:18 -05:00
Piero Toffanin
84487585eb Fix #376 could not build url for endpoint 2023-01-03 07:57:29 -05:00
Piero Toffanin
e74cdd4db3 Fix limiter initialization 2023-01-01 13:18:00 -05:00
reynoldsnlp
14b4f28a1a fix app.js with url_prefix 2022-12-31 15:15:51 -07:00
reynoldsnlp
c5cc233aaf Fix API Docs link 2022-12-31 14:44:25 -07:00
reynoldsnlp
638d664cff allow --url-prefix 2022-12-30 21:23:50 -07:00
reynoldsnlp
a23a9fbd75 app->libretranslate; mv tests/ inside libretranslate/ 2022-12-29 16:44:53 -07:00