Commit graph

770 commits

Author SHA1 Message Date
Sébastien Thuret
55b05992b5
fix function name 2022-04-04 08:26:58 +02:00
P.J. Finlay
8495211ac9
Merge pull request #239 from LibreTranslate/PJ-Finlay-patch-5
Add PHP bindings
2022-04-03 17:18:37 -05:00
P.J. Finlay
57707cb2a7
Add PHP bindings
https://community.libretranslate.com/t/php-class-for-libretranslate/195
2022-04-03 17:18:01 -05:00
Sébastien Thuret
97ff47bc2b
add translate test (test if it work & models are downloaded) 2022-04-03 20:41:59 +02:00
Sébastien Thuret
99c6ceba43
upgrade pytest 2022-04-03 19:50:11 +02:00
Sébastien Thuret
e3a3db5996
remove python 3.6 2022-04-03 19:49:49 +02:00
Dingedi
7da51e8680
Merge pull request #238 from dingedi/focus-textarea
Focus textarea after delete text
2022-04-03 18:21:51 +02:00
Dingedi
5b45b9a53b
Focus textarea after delete text 2022-04-03 18:08:10 +02:00
Sébastien Thuret
d7377d174b
/languages should be only available for GET 2022-04-03 13:17:13 +02:00
Dingedi
2bbf17b835
fix 2022-04-03 12:24:39 +02:00
Dingedi
8c7badff47
run pytest in verbose mode 2022-04-03 11:13:15 +02:00
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