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

809 Commits

Author SHA1 Message Date
Sébastien Thuret
0874dc062e
reorganization of tests (1 route per file), add some basic tests 2022-04-03 11:07:37 +02:00
Sébastien Thuret
00a6039289
Refactor & add the first test ! 2022-04-02 22:26:37 +02:00
Dingedi
9638b67f70
Remove python 3.6
Flask-Limiter 2.2 require >= python 3.7
2022-04-02 21:14:27 +02:00
Dingedi
70afa5e5e0
Run test for pull requests 2022-04-02 21:02:17 +02:00
Piero Toffanin
a2bea5e300
Fix install_models.py (2) 2022-04-01 10:06:03 -04:00
Piero Toffanin
8cc03572e5
Fix install_models.py 2022-04-01 10:01:15 -04:00
Piero Toffanin
39c6cd6e8a
Fix build 2022-03-31 23:06:25 -04:00
Piero Toffanin
7f5e4db46b
Merge pull request #235 from setokesan/include-models-in-docker
Added models include option in docker build
2022-03-31 10:52:26 -04:00
Piti Cookie
e828658332 Added models include option in docker build 2022-03-31 07:21:20 -07:00
Piero Toffanin
3a65bbce52
Merge pull request #234 from feliskio/main
Fix Docker build failing due to username casing
2022-03-30 12:21:23 -04:00
Felix Wotschofsky
db34db1688 Fix Docker build failing due to username casing 2022-03-30 15:29:51 +00:00
Piero Toffanin
c217c65358
Merge pull request #233 from feliskio/main
Improve container publishing workflow
2022-03-30 09:28:05 -04:00
Felix Wotschofsky
aee96f077b Improve container building workflow 2022-03-30 12:29:33 +00:00
Piero Toffanin
5da194905a
Add new language notes 2022-03-26 11:56:50 -04:00
Piero Toffanin
dba7fa5285
Removed jinja2 dep 2022-03-26 11:52:40 -04:00
Piero Toffanin
b9e96fc30f
Merge pull request #231 from dingedi/dingedi-patch-1
Set jinja2 version
2022-03-26 11:32:53 -04:00
Piero Toffanin
fa6d60c1e2
Merge branch 'main' into dingedi-patch-1 2022-03-26 11:28:42 -04:00
Piero Toffanin
c19823344c
Merge pull request #232 from dingedi/feature/upgrade-to-flask2
Upgrade to flask 2
2022-03-26 11:27:19 -04:00
Sébastien Thuret
a88841c174
upgrade-to-flask2 2022-03-26 09:02:54 +01:00
Dingedi
8b50afdc82
Set jinja2 version 2022-03-26 08:45:41 +01:00
Piero Toffanin
6b2ef99f78
Merge pull request #229 from K-Francis-H/translate-auto-show-langs
include language detected, confidence for /translate calls with auto detect
2022-03-25 10:37:54 -04:00
Kyle Harrity
2499c6c379 include language detected, confidence for /translate calls with auto detect 2022-03-25 02:19:56 -04:00
Piero Toffanin
cd45641452
Merge pull request #223 from ewrenge/fix-broken-link
Fix broken link on README
2022-03-09 19:26:26 -05:00
ewreurei
349d5f1e4a
Fix broken link on README 2022-03-10 05:11:33 +09:00
Piero Toffanin
bc67c21a41
Merge pull request #222 from LibreTranslate/PJ-Finlay-patch-4
Edit README documentation
2022-03-05 10:49:09 -05:00
P.J. Finlay
1219bbcd30
Edit README documentation
Mostly minor changes in phrasing
2022-03-05 07:54:55 -06:00
P.J. Finlay
fae16e7e67
Merge pull request #221 from LibreTranslate/PJ-Finlay-patch-3
Improve links in mobile app documentation
2022-03-05 07:30:50 -06:00
P.J. Finlay
f6fd24adcd
Improve links in mobile app documentation 2022-03-05 07:28:07 -06:00
Dingedi
bf36738552
Merge pull request #220 from TheFrenchGhosty/patch-1
Add the PussTheCat.org instance
2022-03-05 11:58:50 +01:00
TheFrenchGhosty
cdab73500b
Add the PussTheCat.org instance 2022-03-05 03:11:12 +01:00
Piero Toffanin
c3548bffe1 Memoize 2022-03-04 10:24:29 -05:00
Piero Toffanin
45649c3340
Merge pull request #219 from ZenulAbidin/detect_fix
Fix language detection error
2022-03-04 10:09:46 -05:00
Ali Sherief
e23b96f1da Fix language detection error
The root cause was load_installed_languages() of argostranslate
being called at the top of the file instead of inside a function,
this caused the list of installed languages to incorrectly be
returned as an empty list.
2022-03-04 08:23:11 +00:00
Piero Toffanin
bcf051b7ff
Update README.md 2022-02-25 11:43:17 -05:00
Piero Toffanin
3480fbde01
Update README.md 2022-02-25 11:42:21 -05:00
Piero Toffanin
ea332b11e6
Merge pull request #216 from fushinari/suggest-errors
suggestions: Abort when missing parameters
2022-02-20 12:26:55 -05:00
Mufeed Ali
9edcbe8bea
suggestions: Abort when missing parameters 2022-02-20 22:52:12 +05:30
Piero Toffanin
124e736685 Downgrade flask 2022-02-20 11:41:33 -05:00
Piero Toffanin
0d33e251c1 Pin itsdangerous 2022-02-20 11:40:34 -05:00
Piero Toffanin
b87305b375 Update flask 2022-02-20 11:35:43 -05:00
Piero Toffanin
a85b645550
Merge pull request #215 from fushinari/api-key-access
app: Fail when giving invalid API keys
2022-02-20 11:29:40 -05:00
Mufeed Ali
2ddb415bba
cleanup: Whitespaces and imports
- Remove unnecessary import
- Reorder imports
- Fix whitespace issues
2022-02-20 13:39:02 +05:30
Mufeed Ali
933c96914b
app: Fail when giving invalid API keys
When an API key is passed, fail in the case of an invalid API key even
if an API key is not required. This allows the user to know that the API
key is invalid. Otherwise, they work under the assumption that the API
key is correct, even though it is not.
2022-02-20 13:36:29 +05:30
Piero Toffanin
8962de8755
Add auto-detect example 2022-02-10 12:46:02 -05:00
Dingedi
a13a714b89
Merge pull request #211 from EsmailELBoBDev2/patch-1
added my instance :)
2022-02-10 16:01:55 +01:00
Esmail EL BoB
6932fed0b6
added my instance :) 2022-02-10 06:25:25 +00:00
Piero Toffanin
1df501db7f
Merge pull request #209 from dingedi/feature/keep-selected-langs-in-url
keep selected languages and text in url
2022-02-07 12:39:02 -05:00
Sébastien Thuret
54f5c5ed94
keep selected languages and text in url 2022-02-07 17:58:30 +01:00
Piero Toffanin
61a148d692
Use len 2022-02-07 11:22:08 -05:00
Piero Toffanin
0d122c5d53
Merge pull request #206 from dingedi/feature/set-default-language
set default language instead of raise error
2022-02-07 11:21:20 -05:00