1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-12-24 10:06:43 +02:00
Commit Graph

775 Commits

Author SHA1 Message Date
Piero Toffanin
714bc0fe8f
Merge pull request #182 from qgustavor/patch-1
Properly escape data in the request code
2021-12-09 09:37:03 -05:00
Gustavo Rodrigues
64ae20e932
Properly escape data in the request code
It was only escaping the first quote, all other quotes and other characters that require to be escaped (like line breaks) were not being escaped. JSON.stringify is a good function to handle this.
2021-12-09 10:31:48 -03:00
Piero Toffanin
94c27e3645 Merge branch 'main' of https://github.com/uav4geo/LibreTranslate into main 2021-12-06 22:15:35 +01:00
Piero Toffanin
0cb437083e Slower forgiveness 2021-12-06 22:15:16 +01:00
Piero Toffanin
fe5fbe9cd1
Update README.md 2021-12-04 00:36:46 -05:00
Piero Toffanin
8076183ae8
Merge pull request #180 from destined2fail1990/main
Update README.md
2021-11-28 00:13:21 -05:00
destined2fail1990
1ab1c13e1e
Update README.md
Added Skitzen.com as a API host
2021-11-27 18:15:22 -06:00
Piero Toffanin
66f62efcbb Tweak ban logic, update config description 2021-11-24 12:49:07 -05:00
Piero Toffanin
3a7527c418 Improve banned forgiveness logic 2021-11-24 12:41:12 -05:00
P.J. Finlay
cda2d3ed96
Merge pull request #177 from ChillerDragon/pr_zillyhuhn_instance
Add trans.zillyhuhn.com
2021-11-17 18:23:20 -06:00
Chiller Dragon
df806e2c5b
Add trans.zillyhuhn.com 2021-11-18 00:37:09 +01:00
Piero Toffanin
6163443d1b
Keep license 2021-11-09 10:14:14 -05:00
Piero Toffanin
264a19c423
Merge pull request #173 from thomas-mc-work/main
Reduce Docker image size
2021-11-09 10:13:38 -05:00
Thomas McWork
bdff7c3ff9
reduce Docker image size 2021-11-09 16:08:05 +01:00
Thomas McWork
30ea49e963
reduce Docker image size 2021-11-09 16:00:38 +01:00
Piero Toffanin
ffc0c1dcda
Merge pull request #165 from fushinari/key-support-frontend
Expose api_keys in frontend settings
2021-11-07 15:09:47 -05:00
Piero Toffanin
8b0e04c8d1
Merge pull request #169 from dingedi/main
decrease counter if the user wait after the slowdown notice
2021-11-05 11:40:16 -04:00
Sébastien Thuret
df0c64450a
remove debug print 2021-11-05 14:59:16 +01:00
Sébastien Thuret
adfdc8c9e5
decrease counter if the user wait after the slowdown notice 2021-11-05 14:56:04 +01:00
Piero Toffanin
ec382054db
Merge pull request #166 from dingedi/main
Upgrade to Argos Translate 1.5.3
2021-11-04 13:02:18 -04:00
Dingedi
a546b8be41
Upgrade to Argos Translate 1.5.3 2021-11-04 17:41:06 +01:00
Mufeed Ali
2375cea3ca
Expose api_keys in frontend settings
This is useful for applications that want to know beforehand if usage of
an API key is supported.
2021-11-03 20:26:04 +05:30
Piero Toffanin
922ba5de40
Merge pull request #164 from fushinari/suggest-req-key
Require API key for submitting suggestions
2021-10-31 12:19:37 -04:00
Mufeed Ali
29eca1fbd4
Forward API key in suggestions client event 2021-10-31 12:57:36 +05:30
Mufeed Ali
3af4ce16e1
Require API key for submitting suggestions
Also removes limiter exemption
2021-10-31 11:23:25 +05:30
Piero Toffanin
56e81856b2
Merge pull request #162 from fushinari/key-req-frontend
Expose require_api_key_origin in frontend settings
2021-10-30 14:36:56 -04:00
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
Dingedi
015e77fbf6
Merge pull request #160 from dingedi/main
Upgrade to argos-translate-files v1.0.4
2021-10-27 09:01:23 +02:00
Dingedi
1d3b4424a1
Update image to show new features 2021-10-27 09:00:10 +02:00
Dingedi
bbf46aaf5f
Upgrade to argos-translate-files v1.0.4 2021-10-27 08:40:19 +02:00
Dingedi
f7a38e2fdb
Upgrade to argos-translate-files v1.0.3 2021-10-27 08:33:08 +02:00
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
3af5db1db2 Merge branch 'main' of https://github.com/uav4geo/LibreTranslate 2021-10-26 17:13:57 -04:00
Piero Toffanin
a82b851a3d Fix API key logic, add some error handling 2021-10-26 17:13:51 -04:00
Piero Toffanin
7727d8ddc3
Merge pull request #157 from dingedi/main
[WIP] Add files translation
2021-10-26 16:06:59 -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
42c44a2ba1
fix 2021-10-25 17:24:03 +02:00
Sébastien Thuret
b3c089b246
Dont show switch type if files translation disabled 2021-10-25 17:20:57 +02: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
bbc1d61836
Add flag in readme 2021-10-25 17:09:15 +02:00
Dingedi
49f18277f7
Merge branch 'LibreTranslate:main' into main 2021-10-25 17:06:55 +02:00
Sébastien Thuret
5bb8ed7375
Add --disable-files-translation flag 2021-10-25 17:00:44 +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
738dba7476
fix 2021-10-25 11:46:23 +02:00