99 Commits

Author SHA1 Message Date
Piero Toffanin
a28d2bc1fc Add --translation-cache 2025-12-22 13:18:16 -05:00
Piero Toffanin
cd76ff43ca Dont record invalid API keys in measure metrics 2025-12-21 01:56:08 -05:00
Piero Toffanin
33566af3fb Include flood reporting when API key is not valid to counter brute force attempts 2025-12-21 01:44:40 -05:00
Piero Toffanin
52549d1212 Ignore pytorch complaints 2025-12-08 18:29:57 -05:00
Piero Toffanin
fce08218b4 Remove sessions 2025-12-04 12:30:02 -05:00
Piero Toffanin
cf01bbf76a Add gunicorn to docker setup 2025-12-04 00:22:41 -05:00
Piero Toffanin
817d8e939e Fix cache lookup in remote database 2025-11-04 00:03:03 -05:00
Piero Toffanin
97e29cc7d5 Change limiter strategy to fixed window 2025-11-03 23:32:18 -05:00
Emmanuel Ferdman
cdae94515a
Add /health endpoint for service health checks
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
2025-10-12 16:22:10 +03:00
Piero Toffanin
b9610d0015 Remove Google Analytics 2025-09-23 13:18:59 -04:00
Piero Toffanin
f0da36801f Fix docs links with URL prefix 2025-07-28 00:04:54 -04:00
Sandro Jäckel
9e01786704
Show url_prefix in spec 2025-07-28 01:15:25 +02:00
Sandro Jäckel
5486497da7
Fix swagger UI serving 2025-07-28 01:15:25 +02:00
Sandro Jäckel
3f9a991b52
Use werkzeug middleware for prefix to fix the path of static files
Closes #601
2025-07-27 05:05:57 +02:00
Sandro Jäckel
7715d5f717
Save files without trailing whitespace 2025-07-27 04:32:40 +02:00
Piero Toffanin
ee32eea614
Merge pull request #823 from pierotofy/swaggerup
Improve swagger definitions
2025-07-09 16:26:17 -04:00
Piero Toffanin
b9b0c9e599 Improve swagger definition 2025-07-09 16:16:12 -04:00
Piero Toffanin
8b55f92b11 Updated /translate definition 2025-07-09 11:22:46 -04:00
Piero Toffanin
a0bb9a069c Improve swagger def 2025-07-09 10:59:13 -04:00
Piero Toffanin
c963594971 Simplify frontend title 2025-06-15 12:29:39 +02:00
DL6ER
44326591df
Show custom frontend title also above textareas when defined and != LibreTranslate (the default value)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-06-15 11:58:18 +02:00
DL6ER
769a447f8f
Add user-customizable <title> if not web_version
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-06-15 11:30:56 +02:00
Piero Toffanin
2b3f51a28b
Merge pull request #812 from DL6ER/new/lt_hide_api
Add --hide-api to hide the API request/response fields from the web interface
2025-06-14 21:33:01 +02:00
DL6ER
0dce604a7c
Add --hide-api to hide the API request/response fields from the web interface
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-06-14 19:35:06 +02:00
DL6ER
3913f8ea98
Add new option --frontend-language
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-06-14 19:00:36 +02:00
Piero Toffanin
6ac429fb54 Update under attack response 2025-04-20 00:37:04 -04:00
Piero Toffanin
411b50178e Improvement to under attack mode 2025-04-18 15:52:27 -04:00
Piero Toffanin
bdb9b6a224 Under attack mode 2025-04-18 14:41:12 -04:00
Piero Toffanin
e4eb96482f Fingerprint only if key missing 2025-04-18 12:28:12 -04:00
Piero Toffanin
d8f9121009 Tweak fingerprint 2025-04-18 12:22:56 -04:00
Piero Toffanin
f2268fe4d9 Add fingerprinting mechanism 2025-04-18 12:21:16 -04:00
Piero Toffanin
29c9f39e8f Fix ISO code aliasing in /translate 2025-04-08 11:58:20 -04:00
Piero Toffanin
4e86bfa991 Support for ISO 639-1 - 15924 codes 2025-04-07 23:28:34 -04:00
Piero Toffanin
6d43dfc504 Limiter func key with api key 2025-03-28 12:28:08 -04:00
Piero Toffanin
5d73e00664 Detect emoji translation requests 2025-03-20 11:11:21 -04:00
Piero Toffanin
e9e58e6b3f Fix lang selector sort 2025-02-28 12:20:38 -05:00
Piero Toffanin
6f293f6013 Fix 400 error msg 2024-10-28 16:12:59 -04:00
Piero Toffanin
039f878f7f Bump argos-translate-files, fix src_lang initialization, checks 2024-10-28 16:10:27 -04:00
Ng Ky
db9f92a1c3 Add support for "auto" when translating files 2024-10-27 20:35:11 +08:00
Piero Toffanin
46bc256d5b Check cookies 2024-09-30 12:42:02 -04:00
Piero Toffanin
1f7aac9c89 Strengthen client side security 2024-09-30 11:59:00 -04:00
Piero Toffanin
c827d442ec Encode secret 2024-07-16 15:58:20 -04:00
Piero Toffanin
8e85c04558 Use moving window strategy for limiter 2024-07-16 15:33:51 -04:00
Piero Toffanin
7b75dad479 Use fixed window elastic expiry strategy for limiter 2024-07-16 15:11:41 -04:00
Piero Toffanin
8bbda1949d Filter empty strings 2024-06-03 13:20:48 -04:00
Piero Toffanin
df3680c280 Fix alternatives unique comparison 2024-06-03 13:11:42 -04:00
Piero Toffanin
86d15118ca Fix indendation 2024-06-03 12:55:35 -04:00
Piero Toffanin
ba8b8d97a1 Feat: support for alternative translations 2024-06-03 12:42:32 -04:00
Zach DeCook
94f87cdac1 Documentataion: /detect returns an integer 0-100, not a float 2024-03-26 09:24:16 -04:00
Piero Toffanin
b522a0f763 Add --req-time-cost 2024-02-05 15:03:27 -05:00