Skip to content
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

Merged

Commits on Oct 1, 2021

  1. 📝 Add badge to README.md

    Omochice committed Oct 1, 2021
    Configuration menu
    Copy the full SHA
    99cbd51 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2021

  1. 📝 change usage text

    Omochice committed Oct 4, 2021
    Configuration menu
    Copy the full SHA
    7f6c36e View commit details
    Browse the repository at this point in the history
  2. 💪 Delete stdin flag

    Omochice committed Oct 4, 2021
    Configuration menu
    Copy the full SHA
    cc47b73 View commit details
    Browse the repository at this point in the history
  3. 📝 Update README

    Omochice committed Oct 4, 2021
    Configuration menu
    Copy the full SHA
    2b3b3d7 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2021

  1. Configuration menu
    Copy the full SHA
    4c68191 View commit details
    Browse the repository at this point in the history
  2. 🥷 divide package

    Omochice committed Oct 5, 2021
    Configuration menu
    Copy the full SHA
    abb607b View commit details
    Browse the repository at this point in the history
  3. 🐛 fix test and ci

    Omochice committed Oct 5, 2021
    Configuration menu
    Copy the full SHA
    05e3e80 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2021

  1. 💪 Add test

    Omochice committed Oct 6, 2021
    Configuration menu
    Copy the full SHA
    2f009cc View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2022

  1. 🐛 Fix default config directory permission to 0755

    To avoid "permission denied"
    nikukyugamer committed Mar 12, 2022
    Configuration menu
    Copy the full SHA
    7cd58e1 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2022

  1. Merge pull request Omochice#9 from nikukyugamer/fix/initial-created-c…

    …onfig-dir_permission
    
    🐛 Fix default config directory permission to 0755
    Omochice authored Mar 15, 2022
    Configuration menu
    Copy the full SHA
    05af429 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2023

  1. Add renovate.json (Omochice#11)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Oct 14, 2023
    Configuration menu
    Copy the full SHA
    34b894b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d678911 View commit details
    Browse the repository at this point in the history
  3. 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>
    renovate[bot] authored Oct 14, 2023
    Configuration menu
    Copy the full SHA
    61df4e5 View commit details
    Browse the repository at this point in the history
  4. 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>
    renovate[bot] authored Oct 14, 2023
    Configuration menu
    Copy the full SHA
    eddfdc5 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2023

  1. chore(deps): update actions/checkout action to v4 (Omochice#16)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Oct 15, 2023
    Configuration menu
    Copy the full SHA
    3f96119 View commit details
    Browse the repository at this point in the history
  2. chore(deps): update actions/setup-go action to v4 (Omochice#17)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Oct 15, 2023
    Configuration menu
    Copy the full SHA
    c9827a0 View commit details
    Browse the repository at this point in the history
  3. chore(deps): update goreleaser/goreleaser-action action to v5 (Omochi…

    …ce#18)
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Oct 15, 2023
    Configuration menu
    Copy the full SHA
    fa26521 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2023

  1. build: update golang version

    Omochice committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    4facc0d View commit details
    Browse the repository at this point in the history
  2. ci: update ci

    Omochice committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    95c5647 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2023

  1. ci: fix go-version

    Omochice committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    a9df66b View commit details
    Browse the repository at this point in the history
  2. 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>
    renovate[bot] authored Oct 17, 2023
    Configuration menu
    Copy the full SHA
    2518457 View commit details
    Browse the repository at this point in the history
  3. chore: update .goreleaser

    Omochice committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    aedcf21 View commit details
    Browse the repository at this point in the history
  4. build: update go.sum

    Omochice committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    a3ad1ee View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2023

  1. Chore: small fixes

    Mostly English spelling and getting rid of deprecated Go functions.
    GwynethLlewelyn committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    1d66b44 View commit details
    Browse the repository at this point in the history
  2. chore: refactor code for returning error message

    The idea now is to rely more on `net/http` and less on our own internal table.
    GwynethLlewelyn committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    87357ee View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2023

  1. chore: major code refactoring

    This essentially separates the actual API call from the translator bits, so we can now work on the extra nifty features we need.
    GwynethLlewelyn committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    7eef4a2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    58f33f1 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2023

  1. Configuration menu
    Copy the full SHA
    8b58c63 View commit details
    Browse the repository at this point in the history
  2. 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!
    GwynethLlewelyn committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    0636257 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    944d39b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5e0cd38 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2023

  1. Configuration menu
    Copy the full SHA
    5e62c0d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fbdc54f View commit details
    Browse the repository at this point in the history
  3. 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.
    GwynethLlewelyn committed Nov 4, 2023
    Configuration menu
    Copy the full SHA
    5f89a11 View commit details
    Browse the repository at this point in the history
  4. 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)
    GwynethLlewelyn committed Nov 4, 2023
    Configuration menu
    Copy the full SHA
    c6e4252 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2023

  1. Configuration menu
    Copy the full SHA
    e61e3a4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9296235 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2023

  1. Configuration menu
    Copy the full SHA
    ad808a9 View commit details
    Browse the repository at this point in the history
  2. 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().
    GwynethLlewelyn committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    d607b66 View commit details
    Browse the repository at this point in the history
  3. 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)
    GwynethLlewelyn committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    980e070 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a430fc8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5ed3cb0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    43a488a View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2023

  1. Configuration menu
    Copy the full SHA
    ff8bfa5 View commit details
    Browse the repository at this point in the history
  2. add readline package

    GwynethLlewelyn committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    20a21fc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dc61118 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2024

  1. Update README.md

    Correction submitted by @coderabbitai
    
    Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
    GwynethLlewelyn and coderabbitai[bot] authored Apr 12, 2024
    Configuration menu
    Copy the full SHA
    b67dfe7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a667d2d View commit details
    Browse the repository at this point in the history
  3. 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
    GwynethLlewelyn committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    7d4cd82 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3216480 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a84af8d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    51db229 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    83552de View commit details
    Browse the repository at this point in the history
  8. 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…
    GwynethLlewelyn committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    2c2531f View commit details
    Browse the repository at this point in the history
  9. Merge branch 'GwynethLlewelyn-adding-XML-tag-support' of github.com:G…

    …wynethLlewelyn/deepl-translate-cli into GwynethLlewelyn-adding-XML-tag-support
    GwynethLlewelyn committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    9697d82 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    c755de4 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2024

  1. Configuration menu
    Copy the full SHA
    b8771ea View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bfc7478 View commit details
    Browse the repository at this point in the history
  3. Chore: add test for Exists; err.Error() is redundant

    … at least, when called with the text formatting functions derived from the `fmt` package.
    GwynethLlewelyn committed Apr 13, 2024
    Configuration menu
    Copy the full SHA
    004f431 View commit details
    Browse the repository at this point in the history
  4. Docs: add comment

    GwynethLlewelyn committed Apr 13, 2024
    Configuration menu
    Copy the full SHA
    48b7bd5 View commit details
    Browse the repository at this point in the history
  5. 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…
    GwynethLlewelyn committed Apr 13, 2024
    Configuration menu
    Copy the full SHA
    a439085 View commit details
    Browse the repository at this point in the history
  6. 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…)
    GwynethLlewelyn committed Apr 13, 2024
    Configuration menu
    Copy the full SHA
    94ebee2 View commit details
    Browse the repository at this point in the history
  7. Bug: missing )

    GwynethLlewelyn committed Apr 13, 2024
    Configuration menu
    Copy the full SHA
    10970bf View commit details
    Browse the repository at this point in the history
  8. Bug: fix a testing bug

    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 :)
    GwynethLlewelyn committed Apr 13, 2024
    Configuration menu
    Copy the full SHA
    04b8aeb View commit details
    Browse the repository at this point in the history
  9. Doc: fix stupid typo

    GwynethLlewelyn committed Apr 13, 2024
    Configuration menu
    Copy the full SHA
    e535d92 View commit details
    Browse the repository at this point in the history
  10. Docs: add comment made by @coderabbitai

    Future TODO — have `Languages()` optionally reply in structured formats.
    GwynethLlewelyn committed Apr 13, 2024
    Configuration menu
    Copy the full SHA
    8fd3387 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    36d8b1b View commit details
    Browse the repository at this point in the history