-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for XML/HTML tags on the API calls and a myriad of other things #20
Support for XML/HTML tags on the API calls and a myriad of other things #20
Commits on Oct 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 99cbd51 - Browse repository at this point
Copy the full SHA 99cbd51View commit details
Commits on Oct 4, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 7f6c36e - Browse repository at this point
Copy the full SHA 7f6c36eView commit details -
Configuration menu - View commit details
-
Copy full SHA for cc47b73 - Browse repository at this point
Copy the full SHA cc47b73View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b3b3d7 - Browse repository at this point
Copy the full SHA 2b3b3d7View commit details
Commits on Oct 5, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 4c68191 - Browse repository at this point
Copy the full SHA 4c68191View commit details -
Configuration menu - View commit details
-
Copy full SHA for abb607b - Browse repository at this point
Copy the full SHA abb607bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 05e3e80 - Browse repository at this point
Copy the full SHA 05e3e80View commit details
Commits on Oct 6, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 2f009cc - Browse repository at this point
Copy the full SHA 2f009ccView commit details
Commits on Mar 12, 2022
-
🐛 Fix default config directory permission to 0755
To avoid "permission denied"
Configuration menu - View commit details
-
Copy full SHA for 7cd58e1 - Browse repository at this point
Copy the full SHA 7cd58e1View commit details
Commits on Mar 15, 2022
-
Merge pull request Omochice#9 from nikukyugamer/fix/initial-created-c…
…onfig-dir_permission 🐛 Fix default config directory permission to 0755
Configuration menu - View commit details
-
Copy full SHA for 05af429 - Browse repository at this point
Copy the full SHA 05af429View commit details
Commits on Oct 14, 2023
-
Add renovate.json (Omochice#11)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 34b894b - Browse repository at this point
Copy the full SHA 34b894bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d678911 - Browse repository at this point
Copy the full SHA d678911View commit details -
Update module github.com/mattn/go-isatty to v0.0.19 (Omochice#12)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 61df4e5 - Browse repository at this point
Copy the full SHA 61df4e5View commit details -
fix(deps): update module github.com/urfave/cli/v2 to v2.25.7 (Omochic…
…e#13) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for eddfdc5 - Browse repository at this point
Copy the full SHA eddfdc5View commit details
Commits on Oct 15, 2023
-
chore(deps): update actions/checkout action to v4 (Omochice#16)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 3f96119 - Browse repository at this point
Copy the full SHA 3f96119View commit details -
chore(deps): update actions/setup-go action to v4 (Omochice#17)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for c9827a0 - Browse repository at this point
Copy the full SHA c9827a0View commit details -
chore(deps): update goreleaser/goreleaser-action action to v5 (Omochi…
…ce#18) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for fa26521 - Browse repository at this point
Copy the full SHA fa26521View commit details
Commits on Oct 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4facc0d - Browse repository at this point
Copy the full SHA 4facc0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 95c5647 - Browse repository at this point
Copy the full SHA 95c5647View commit details
Commits on Oct 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a9df66b - Browse repository at this point
Copy the full SHA a9df66bView commit details -
fix(deps): update module github.com/mattn/go-isatty to v0.0.20 (Omoch…
…ice#19) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 2518457 - Browse repository at this point
Copy the full SHA 2518457View commit details -
Configuration menu - View commit details
-
Copy full SHA for aedcf21 - Browse repository at this point
Copy the full SHA aedcf21View commit details -
Configuration menu - View commit details
-
Copy full SHA for a3ad1ee - Browse repository at this point
Copy the full SHA a3ad1eeView commit details
Commits on Oct 31, 2023
-
Mostly English spelling and getting rid of deprecated Go functions.
Configuration menu - View commit details
-
Copy full SHA for 1d66b44 - Browse repository at this point
Copy the full SHA 1d66b44View commit details -
chore: refactor code for returning error message
The idea now is to rely more on `net/http` and less on our own internal table.
Configuration menu - View commit details
-
Copy full SHA for 87357ee - Browse repository at this point
Copy the full SHA 87357eeView commit details
Commits on Nov 1, 2023
-
This essentially separates the actual API call from the translator bits, so we can now work on the extra nifty features we need.
Configuration menu - View commit details
-
Copy full SHA for 7eef4a2 - Browse repository at this point
Copy the full SHA 7eef4a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 58f33f1 - Browse repository at this point
Copy the full SHA 58f33f1View commit details
Commits on Nov 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8b58c63 - Browse repository at this point
Copy the full SHA 8b58c63View commit details -
chore: refactor code to avoid object ambiguities
New code requires passing structs representing JSON objects, instead of relying on loose interface conversions which may fail. Stricter is better!
Configuration menu - View commit details
-
Copy full SHA for 0636257 - Browse repository at this point
Copy the full SHA 0636257View commit details -
Configuration menu - View commit details
-
Copy full SHA for 944d39b - Browse repository at this point
Copy the full SHA 944d39bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e0cd38 - Browse repository at this point
Copy the full SHA 5e0cd38View commit details
Commits on Nov 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5e62c0d - Browse repository at this point
Copy the full SHA 5e62c0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for fbdc54f - Browse repository at this point
Copy the full SHA fbdc54fView commit details -
fix: correctly display versions and build dates
Note: I don’t know where the “builtBy” parameter comes from; currently, it needs to be force-pushed at bildtime with a -X tag to the linker.
Configuration menu - View commit details
-
Copy full SHA for 5f89a11 - Browse repository at this point
Copy the full SHA 5f89a11View commit details -
chore: refactor more code, add option for glossary
This was mostly meant as an experiment which can later be copied & pasted for other very similar options. apiCall() gained a new parameter, the method (because some things in the API stupidly use GET and not POST)
Configuration menu - View commit details
-
Copy full SHA for c6e4252 - Browse repository at this point
Copy the full SHA c6e4252View commit details
Commits on Nov 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e61e3a4 - Browse repository at this point
Copy the full SHA e61e3a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9296235 - Browse repository at this point
Copy the full SHA 9296235View commit details
Commits on Nov 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ad808a9 - Browse repository at this point
Copy the full SHA ad808a9View commit details -
fix: revert changes: init must be done in main()
I’ve attempted to do all initialisation chores under the “Before:” for the main cli.App loop. However, this wasn’t retrieving the data properly. Moving everything back to where it was in main().
Configuration menu - View commit details
-
Copy full SHA for d607b66 - Browse repository at this point
Copy the full SHA d607b66View commit details -
feat: major refactoring, we’ll get rid of settings
In essence, we can use and reuse the DeepLClient type/object as the ‘de facto’ settings structure, we just need to find a way to read/save settings (possibly with cli-altsrv)
Configuration menu - View commit details
-
Copy full SHA for 980e070 - Browse repository at this point
Copy the full SHA 980e070View commit details -
Configuration menu - View commit details
-
Copy full SHA for a430fc8 - Browse repository at this point
Copy the full SHA a430fc8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ed3cb0 - Browse repository at this point
Copy the full SHA 5ed3cb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 43a488a - Browse repository at this point
Copy the full SHA 43a488aView commit details
Commits on Nov 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ff8bfa5 - Browse repository at this point
Copy the full SHA ff8bfa5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20a21fc - Browse repository at this point
Copy the full SHA 20a21fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for dc61118 - Browse repository at this point
Copy the full SHA dc61118View commit details
Commits on Apr 12, 2024
-
Correction submitted by @coderabbitai Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for b67dfe7 - Browse repository at this point
Copy the full SHA b67dfe7View commit details -
Configuration menu - View commit details
-
Copy full SHA for a667d2d - Browse repository at this point
Copy the full SHA a667d2dView commit details -
Bug: fix expected error text for DEEPL_TOKEN
I had changed the text in main.g0, but forgot to update it in main_test.go
Configuration menu - View commit details
-
Copy full SHA for 7d4cd82 - Browse repository at this point
Copy the full SHA 7d4cd82View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3216480 - Browse repository at this point
Copy the full SHA 3216480View commit details -
Configuration menu - View commit details
-
Copy full SHA for a84af8d - Browse repository at this point
Copy the full SHA a84af8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 51db229 - Browse repository at this point
Copy the full SHA 51db229View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83552de - Browse repository at this point
Copy the full SHA 83552deView commit details -
Bug: possible scoping issues with deeplToken (?)
Not confirmed. But… this way we can be sure that it gets properly initialised and not scooped up into the “wrong” place…
Configuration menu - View commit details
-
Copy full SHA for 2c2531f - Browse repository at this point
Copy the full SHA 2c2531fView commit details -
Merge branch 'GwynethLlewelyn-adding-XML-tag-support' of github.com:G…
…wynethLlewelyn/deepl-translate-cli into GwynethLlewelyn-adding-XML-tag-support
Configuration menu - View commit details
-
Copy full SHA for 9697d82 - Browse repository at this point
Copy the full SHA 9697d82View commit details -
Configuration menu - View commit details
-
Copy full SHA for c755de4 - Browse repository at this point
Copy the full SHA c755de4View commit details
Commits on Apr 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b8771ea - Browse repository at this point
Copy the full SHA b8771eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for bfc7478 - Browse repository at this point
Copy the full SHA bfc7478View commit details -
Chore: add test for Exists; err.Error() is redundant
… at least, when called with the text formatting functions derived from the `fmt` package.
Configuration menu - View commit details
-
Copy full SHA for 004f431 - Browse repository at this point
Copy the full SHA 004f431View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48b7bd5 - Browse repository at this point
Copy the full SHA 48b7bd5View commit details -
Fix: check for edge case of empty string
As suggested by @coderabbitai Also: return nil and not []string{}; we’re supposed to check for the `err` code, and nil is returned avoiding memory allocation of something that will never be used…
Configuration menu - View commit details
-
Copy full SHA for a439085 - Browse repository at this point
Copy the full SHA a439085View commit details -
Chore: use http.StatusXXX instead of numbers
It’s more idiomatic that way, even if not necessarily easier to read (everybody knows their HTTP error codes by heart, right? no? well, then perhaps it’s better to follow the usual practice of Go’s core developers…)
Configuration menu - View commit details
-
Copy full SHA for 94ebee2 - Browse repository at this point
Copy the full SHA 94ebee2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10970bf - Browse repository at this point
Copy the full SHA 10970bfView commit details -
The reason for it was that a potential JSON error was not being correctly caught; this was flagged by the test suite, and therefore I sort of fixed it. Now it correctly passes all tests it’s supposed to pass :)
Configuration menu - View commit details
-
Copy full SHA for 04b8aeb - Browse repository at this point
Copy the full SHA 04b8aebView commit details -
Configuration menu - View commit details
-
Copy full SHA for e535d92 - Browse repository at this point
Copy the full SHA e535d92View commit details -
Docs: add comment made by @coderabbitai
Future TODO — have `Languages()` optionally reply in structured formats.
Configuration menu - View commit details
-
Copy full SHA for 8fd3387 - Browse repository at this point
Copy the full SHA 8fd3387View commit details -
Configuration menu - View commit details
-
Copy full SHA for 36d8b1b - Browse repository at this point
Copy the full SHA 36d8b1bView commit details