1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-11-05 07:20:13 +01:00
Commit Graph

75 Commits

Author SHA1 Message Date
Sébastien Thuret
adfdc8c9e5
decrease counter if the user wait after the slowdown notice 2021-11-05 14:56:04 +01:00
Mufeed Ali
3af4ce16e1
Require API key for submitting suggestions
Also removes limiter exemption
2021-10-31 11:23:25 +05:30
Mufeed Ali
915b912c29
Expose require_api_key_origin in frontend settings
This is useful for applications that want to know beforehand if an API
key is necessary before accessing the running instance.
2021-10-30 21:01:50 +05:30
Piero Toffanin
f3029d65d5 Remove api_key param from download url 2021-10-26 17:28:59 -04:00
Piero Toffanin
c778aa9960 Remove access check for download endpoint 2021-10-26 17:27:33 -04:00
Piero Toffanin
a82b851a3d Fix API key logic, add some error handling 2021-10-26 17:13:51 -04:00
Piero Toffanin
93b711aa74 Update spec version 2021-10-26 16:06:12 -04:00
Piero Toffanin
9d95e07d82 Style fix 2021-10-26 16:04:50 -04:00
Piero Toffanin
a1244b9e3e Path traversal check 2021-10-26 15:41:14 -04:00
Piero Toffanin
d12c81b773 Add VERSION 2021-10-26 15:32:06 -04:00
Sébastien Thuret
aac45a60ab
remove scheduler if files translation is disabled 2021-10-25 17:12:09 +02:00
Sébastien Thuret
909deccd3f
disable routes 2021-10-25 17:09:23 +02:00
Sébastien Thuret
9e272cb80c
remove uuid and fix downloaded filename 2021-10-25 12:05:39 +02:00
Sébastien Thuret
c5f47f0917
add scheduler to remove files after 30 minutes instead of after download 2021-10-25 11:46:49 +02:00
Sébastien Thuret
5f2d0435f2
change tmp dir 2021-10-25 11:06:39 +02:00
Sébastien Thuret
8d5a418bee
format 2021-10-25 10:56:17 +02:00
Sébastien Thuret
bcbaf52777
format 2021-10-25 10:52:55 +02:00
Sébastien Thuret
6a304df2e8
add download link & auto download translated file 2021-10-25 10:50:55 +02:00
Sébastien Thuret
73ebb96171
fix 2021-10-24 19:14:09 +02:00
Sébastien Thuret
4f0d19dbc4
download work 2021-10-24 18:44:35 +02:00
Sébastien Thuret
f0d6c92db7
create download_file route 2021-10-24 18:38:35 +02:00
Sébastien Thuret
0b14600199
Add file translation 2021-10-24 18:27:37 +02:00
Sébastien Thuret
ae5d67d966
Show supported file format and add it to settings 2021-10-24 16:57:45 +02:00
Sébastien Thuret
7b3d9f286e
Added version number for assets that may change 2021-10-09 18:25:28 +02:00
Piero Toffanin
9960baa9c8 Swagger docs definition 2021-10-09 10:04:16 -04:00
Sébastien Thuret
0ff3ca65fb
Disable suggestions by default 2021-10-09 15:45:58 +02:00
Sébastien Thuret
0561deb1b4
Save suggestions in a database 2021-10-09 11:44:07 +02:00
Sébastien Thuret
b8f41c8d94
Adding a notification after sending 2021-10-09 11:25:56 +02:00
Piero Toffanin
b73e146baf Fix HTML translation formatting, automatically detect HTML in translation UI 2021-09-24 11:30:19 -04:00
Piero Toffanin
a41f5671b0 Add HTML note in README, tweak swagger def 2021-09-11 16:02:10 -04:00
Sébastien Thuret
0a7c8ebae9 Add html translation 2021-09-11 15:08:57 +02:00
Piero Toffanin
6e05a04ff9 Revert "ReqKey check"
This reverts commit 5c3cf0a392.
2021-09-08 16:24:50 -04:00
Piero Toffanin
5c3cf0a392 ReqKey check 2021-09-08 16:14:39 -04:00
Piero Toffanin
94f4f74892 Better X-Forwarded-For logic 2021-09-08 21:41:12 +02:00
PalmerAL
c29cecbb63 improve auto-detect for batch requests with multiple languages 2021-08-02 00:06:56 -05:00
Piero Toffanin
cdff45efe6 Fix limits 2021-07-04 12:36:13 -04:00
Piero Toffanin
ca1049f0d3 Merge main 2021-06-03 10:39:41 -04:00
Piero Toffanin
df78ec93ef Fix daily limits for API key holders 2021-06-03 10:36:25 -04:00
YOGESHWARAN R
32061eed7b
Fixed all pep8 errors
Removed unused imports, variables
2021-05-18 09:21:33 +05:30
YOGESHWARAN R
202db95f52
Linted with black 2021-05-18 09:11:02 +05:30
Piero Toffanin
24c77ede19 Programmatic api keys access 2021-05-17 11:41:15 -04:00
Piero Toffanin
1ac27aeb82 Flood protection 2021-05-16 11:50:22 -04:00
Piero Toffanin
4c5d828300 Daily request limit 2021-05-16 10:57:19 -04:00
Piero Toffanin
800774f557 Remove --offline flag 2021-05-16 10:42:58 -04:00
jdu9
ae76d7efb4 Add LibreJS support 2021-03-31 17:57:02 +02:00
Philippe-Cholet
abeee7e385 Add option --load-only language codes
The user will not have to install language packages from "argos-translate" that he/she has no use for.
2021-03-28 16:19:19 +02:00
mammo0
25fb3b3c21 added transliteration before actual translation
-> e.g. if the source language is Russian, argostranslate expects a
cyrillic text
2021-03-11 14:42:29 +01:00
mammo0
d4cb859c8d removed langdetect dependency 2021-03-11 14:42:29 +01:00
mammo0
51980f6ff5 use polyglot for detecting the language 2021-03-11 14:42:29 +01:00
Piero Toffanin
b8818ff14e updated argos, validate input JSON dict 2021-03-07 17:23:25 -05:00