silkaj issueshttps://git.duniter.org/clients/python/silkaj/-/issues2021-04-07T16:12:09+02:00https://git.duniter.org/clients/python/silkaj/-/issues/315Display pending certifications in wot command2021-04-07T16:12:09+02:00MoulDisplay pending certifications in wot commandFrom `wot/requirements/<pubkey>`.
[Need found here](https://forum.duniter.org/t/g1-potentiellement-bloquee-fofo-rulemembershipenoughcerts/7204)From `wot/requirements/<pubkey>`.
[Need found here](https://forum.duniter.org/t/g1-potentiellement-bloquee-fofo-rulemembershipenoughcerts/7204)Backloghttps://git.duniter.org/clients/python/silkaj/-/issues/314Display option to display the generated document before sending it2022-06-05T15:28:04+02:00MoulDisplay option to display the generated document before sending itImplement `--display/-d` option for the five send-documents commands. Implement it as a general option that would be used by the five commands: `tx`, `cert`, `membership`, `identity`, and `revocation`.
It would display the generated doc...Implement `--display/-d` option for the five send-documents commands. Implement it as a general option that would be used by the five commands: `tx`, `cert`, `membership`, `identity`, and `revocation`.
It would display the generated document, and would ask to send it or not. Afterwards, a confirmation prompt ask to send it after a visual check have been performed.
This would allow to be sure we are sending the correct document and it can also be used for debugging and testing purposes.
### Tasks
- [x] By-pass prompts?: license approval, send doc confirmation. No, since it would allow to send a document by by-passing them.
- [x] Merge table summary and document display confirmations when this option is passed
- [x] Global option over command-specific options? Would not duplicate five decorators on the five send-documents commands.
- [x] Display the document with and without the signature in case the `key` is not defined
- [x] In case the document have been signed (`key` provided), suggest to send the document after displaying it
#### Commands
- [x] `cert`
- [x] #88: `membership`
- [ ] #380: `tx`
- [ ] #89: `revocation`
- [ ] #90: `identity`BacklogMoulMoulhttps://git.duniter.org/clients/python/silkaj/-/issues/305Allow to store then send transactions documents in an offline mode2022-03-29T11:23:39+02:00MoulAllow to store then send transactions documents in an offline mode> Original idea from [this forum post](https://forum.duniter.org/t/definir-un-format-securise-pour-les-trousseaux-de-cles-g1/6904/110?u=moul)
This would store what could be generated of the tx.
Once home with an Internet connexion, comp...> Original idea from [this forum post](https://forum.duniter.org/t/definir-un-format-securise-pour-les-trousseaux-de-cles-g1/6904/110?u=moul)
This would store what could be generated of the tx.
Once home with an Internet connexion, complete the transaction documents (with fields from the network and the signature) and send them.Backloghttps://git.duniter.org/clients/python/silkaj/-/issues/304When creating an authfile, prevent or advice to create an encrypted authfile ...2023-07-10T22:08:50+02:00MoulWhen creating an authfile, prevent or advice to create an encrypted authfile in case of an identity or if there is lots of money on the walletSince Silkaj discover that the pubkey:
- corresponds to an identity (not member, but could become one)
- locks a certain amount of units 1 k?
…advice or prevent creating a non encrypted authfile.
Use EWIF or [DUWIF](https://forum.dunite...Since Silkaj discover that the pubkey:
- corresponds to an identity (not member, but could become one)
- locks a certain amount of units 1 k?
…advice or prevent creating a non encrypted authfile.
Use EWIF or [DUWIF](https://forum.duniter.org/t/definir-un-format-securise-pour-les-trousseaux-de-cles-g1/6904).Backloghttps://git.duniter.org/clients/python/silkaj/-/issues/303Mutually exclusion options tests on tx are not properly defined2021-04-07T15:56:02+02:00MoulMutually exclusion options tests on tx are not properly definedThe tests checking the CLI `tx` on mutually exclusion options (`amount(s)(UD)/allSources`) is not properly done. On !108, when we changed the options’ name from `amount(UD)` to `amounts(UD)`, we were not able see a broken feature (mutual...The tests checking the CLI `tx` on mutually exclusion options (`amount(s)(UD)/allSources`) is not properly done. On !108, when we changed the options’ name from `amount(UD)` to `amounts(UD)`, we were not able see a broken feature (mutual exclusions)
The feature is tested by checking that it is failing on the missing `--output/recipients` option. And, it looks like this is the first error to occur much before the mutual exclusion check.
To test this propely, we would need to pass `-r` option as well, then we should find a way to check/bypass the Scrypt authentication inputs.Backloghttps://git.duniter.org/clients/python/silkaj/-/issues/289Warn when transfering money to recipient without activity2022-11-02T18:20:02+01:00MoulWarn when transfering money to recipient without activityIdea from [this post on the forum](https://forum.duniter.org/t/securisation-des-virements-validation-de-la-clef-publique-de-destination/6901/18?u=moul).
- [ ] Check if there is any transaction activity
- [ ] Check identity, certificatio...Idea from [this post on the forum](https://forum.duniter.org/t/securisation-des-virements-validation-de-la-clef-publique-de-destination/6901/18?u=moul).
- [ ] Check if there is any transaction activity
- [ ] Check identity, certifications? Seems useless
This would prevent to send money to non active pubkeys. A prompt could ask to force sending to this non-active pubkeys.Backloghttps://git.duniter.org/clients/python/silkaj/-/issues/283Common code between verify and blocks2023-10-21T09:01:48+02:00MoulCommon code between verify and blocks> Following #262
### Tasks
- [ ] common function to gather a range of blocks specifying `from_`, and `to`.
- [ ] common test on this function gathering blocks on a range by chunks
- [ ] two modes for `blocks` explorer:
- current: spec...> Following #262
### Tasks
- [ ] common function to gather a range of blocks specifying `from_`, and `to`.
- [ ] common test on this function gathering blocks on a range by chunks
- [ ] two modes for `blocks` explorer:
- current: specify number of blocks from head, 0 default to current window
- [ ] Same as verify: a range of blocks: blocks number `from` an `to`.
- [ ] How to specify/filter the two modes: `--range`, `--from-head`/`--head` (this one would be the default).
This could be a method into a class that would inherit the `@click.command` decorator. Would that work?
---
### Later
- [ ] command `blocks` with sub-commands `explorer`, `verify`, …: is this possible with Click?Backloghttps://git.duniter.org/clients/python/silkaj/-/issues/280Rewrite release.sh with Fish shell2021-05-21T16:56:24+02:00MoulRewrite release.sh with Fish shell- [ ] Migrate from bash to fish shell
- [x] !175: Delete outdated functions- [ ] Migrate from bash to fish shell
- [x] !175: Delete outdated functionsBackloghttps://git.duniter.org/clients/python/silkaj/-/issues/279Document that the changelog should be updated before a release2022-06-25T11:29:20+02:00MoulDocument that the changelog should be updated before a release- [ ] [Document](https://git.duniter.org/clients/python/silkaj/blob/06580c735b512117522a86e638be601ba11a6c6c/CONTRIBUTING.md#version-update): the title could be changed to `release
- the changelog change should be in a separate commit ...- [ ] [Document](https://git.duniter.org/clients/python/silkaj/blob/06580c735b512117522a86e638be601ba11a6c6c/CONTRIBUTING.md#version-update): the title could be changed to `release
- the changelog change should be in a separate commit in order to be able to cherry-pick it on the `dev` branch
- [ ] [Add a check in `release.sh` not to forget to update the changelog](https://git.duniter.org/clients/python/silkaj/-/merge_requests/122/diffs?commit_id=fc49585738ad0f1e4732a2f25ee26c5c13af5daf)Backloghttps://git.duniter.org/clients/python/silkaj/-/issues/277Store releases announcements into this git repository2024-03-11T22:36:40+01:00MoulStore releases announcements into this git repositoryCould be into this repository, but in the website repository it would make more sense. As we have to store images, and this could be displayed on a blog, changelog page.
- [v0.11.{1,2}](https://forum.duniter.org/t/silkaj-v0-11-0-release/...Could be into this repository, but in the website repository it would make more sense. As we have to store images, and this could be displayed on a blog, changelog page.
- [v0.11.{1,2}](https://forum.duniter.org/t/silkaj-v0-11-0-release/10087/3)
- [v0.8.1](https://forum.duniter.org/t/silkaj-v0-8-0-release/7686/7)
- !145+
- [Silkaj v0.7.x releases: DuniterPy](https://forum.duniter.org/t/silkaj-v0-7-x-releases-duniterpy/6099)
- [Silkaj v0.6.x releases: Let’s install](https://forum.duniter.org/t/silkaj-v0-6-x-releases-let-s-install/4858)
- [Silkaj v0.5.0 release: Let’s certify!](https://forum.duniter.org/t/silkaj-v0-5-0-release-let-s-certify/4712)
- [Silkaj v0.4.0 release](https://forum.duniter.org/t/silkaj-v0-4-0-release/4071)
- [Silkaj v0.3.0 release: Let's send money!](https://forum.duniter.org/t/silkaj-v0-3-0-release-lets-send-money/2404)
- [No announcement for the v0.2.0: just a changelog, the announcement was done in the v0.3.0 looks like](https://git.duniter.org/clients/python/silkaj/-/releases)
- [Silkaj: new CLI Duniter client](https://forum.duniter.org/t/silkaj-new-cli-duniter-client/1278)
## Todos
- [ ] Import them, including images
- [ ] Proofreads them
- [ ] Fix milestones hard-coded urls, missing `/-/milestone/#`, use i.e. %"0.20.0" instead0.20.0https://git.duniter.org/clients/python/silkaj/-/issues/271Document the authentication formats2023-05-31T12:44:41+02:00MoulDocument the authentication formats> Original idea from @librelois: https://forum.duniter.org/t/duniter-scuttlebot-comment-partager-les-clefs-de-chiffrage-des-crypto-applications/6775/6?u=moul
Document somewhere the authentication formats generated and used by Silkaj.
T...> Original idea from @librelois: https://forum.duniter.org/t/duniter-scuttlebot-comment-partager-les-clefs-de-chiffrage-des-crypto-applications/6775/6?u=moul
Document somewhere the authentication formats generated and used by Silkaj.
This could be a common documentation shared by the Python software.
This document could be stored into DuniterPy, and Silkaj documentation could have a link to it and also copy it into its documentation (website).
This also differ of current authentication generator and reading (0.7.3) and the futures coming with #173.Backloghttps://git.duniter.org/clients/python/silkaj/-/issues/266Create issue templates2021-03-15T17:29:55+01:00MoulCreate issue templates## Issue templates examples
- [Geary](https://gitlab.gnome.org/GNOME/geary/tree/mainline/.gitlab/issue_templates)
- [Poetry](https://github.com/python-poetry/poetry/tree/master/.github)
### Bug report fields
- [ ] You have search if you...## Issue templates examples
- [Geary](https://gitlab.gnome.org/GNOME/geary/tree/mainline/.gitlab/issue_templates)
- [Poetry](https://github.com/python-poetry/poetry/tree/master/.github)
### Bug report fields
- [ ] You have search if your issue is not already addressed?
- Installation mean: `Debian`, `pip`, `poetry`
- Silkaj version:
- Python/pip versions:
- OS:
- …
## MR template
- Can it also be done for MR?Backloghttps://git.duniter.org/clients/python/silkaj/-/issues/265Introduce a translation i18n system: gettext2022-10-31T10:47:46+01:00MoulIntroduce a translation i18n system: gettextCheck [Babel](https://babel.pocoo.org/en/latest/)
I am confident [`gettext`](https://docs.python.org/3/library/gettext.html) is the lib to go with, because:
- it is a standard library (into Python)
- [YunoHost project is thinking about...Check [Babel](https://babel.pocoo.org/en/latest/)
I am confident [`gettext`](https://docs.python.org/3/library/gettext.html) is the lib to go with, because:
- it is a standard library (into Python)
- [YunoHost project is thinking about migrating to `gettext`](https://github.com/YunoHost/issues/issues/788) with multiple advantages over their `m18n` solution.
---
- [toturial](https://www.mattlayman.com/blog/2015/i18n/)
- [Python documentation about i18n](https://docs.python.org/3/library/i18n.html)
---
### Some readings
- [A complete guide to i18n in Python](https://www.mattlayman.com/blog/2015/i18n/)
- [`gettext` module](https://docs.python.org/3/library/gettext.html)
- [`i18n` module](https://docs.python.org/3/library/i18n.html)Backloghttps://git.duniter.org/clients/python/silkaj/-/issues/258Implement CSV, JSON, YAML, XML, SQL output formats2021-04-22T12:04:16+02:00matograineImplement CSV, JSON, YAML, XML, SQL output formatsCreate `--format=<format>` options, to get the result as script-readable into following formats:
- [ ] `csv`
- [ ] `json`
- [ ] `yaml`
- [ ] `xml`
- [ ] `sql`
### Commands
- [ ] `history`
- [ ] `wot`
- …Create `--format=<format>` options, to get the result as script-readable into following formats:
- [ ] `csv`
- [ ] `json`
- [ ] `yaml`
- [ ] `xml`
- [ ] `sql`
### Commands
- [ ] `history`
- [ ] `wot`
- …Backloghttps://git.duniter.org/clients/python/silkaj/-/issues/254Document commit message format2023-04-10T11:44:30+02:00MoulDocument commit message format- [Git : comment nommer ses branches et ses commits ?](https://www.codeheroes.fr/2020/06/29/git-comment-nommer-ses-branches-et-ses-commits/)
>[type] #XXXX: [cmd_name]: short description:
>
>- detailed description
>- explaining the impor...- [Git : comment nommer ses branches et ses commits ?](https://www.codeheroes.fr/2020/06/29/git-comment-nommer-ses-branches-et-ses-commits/)
>[type] #XXXX: [cmd_name]: short description:
>
>- detailed description
>- explaining the important changes made
- `XXXX`: ticket number
- `[cmd_name]`: optional, to get the context of a change
## types
- code change:
- runtime:
- `fix`: bug fix
- `mod`: modification of existing code without significant improvement
- `enh`: enhancement: improvement of existing code
- `feat`: new feature
- `test`: tests writing, change, and modification
- `fmt`: Black formatting
- `lint`: Linting, `pylint`
- `type`: `mypy`
- CI/CD `.gitlab-ci.yml`:
- `ci`: continuous integration
- `cd`: continuous delivery
- `doc`: documentation, `README.md` `AUTHORS.md` ″CHANGELOG.md` change
- `dep`: dependency introduction, update, management.
- …
---
- GitLab V12.7: [Configure default commit message for applied Suggestions ](https://about.gitlab.com/releases/2020/01/22/gitlab-12-7-released/#configure-default-commit-message-for-applied-suggestionss)Backloghttps://git.duniter.org/clients/python/silkaj/-/issues/246Have a look at PBR − Python Build Reasonableness2021-03-08T20:20:32+01:00MoulHave a look at PBR − Python Build Reasonableness- https://docs.openstack.org/pbr/latest/- https://docs.openstack.org/pbr/latest/Backloghttps://git.duniter.org/clients/python/silkaj/-/issues/230Non interactive / quiet mode2021-04-07T16:15:16+02:00FredNon interactive / quiet modeIn order to use silkaj in an automatic bash environement, it would be nice to have a "non interactive / quiet" mode for silkaj verbosity. Just sending ok or error levels.
In that mode, Parameters would be set as cmd line sysargs or envir...In order to use silkaj in an automatic bash environement, it would be nice to have a "non interactive / quiet" mode for silkaj verbosity. Just sending ok or error levels.
In that mode, Parameters would be set as cmd line sysargs or environement variables export...
Would be a nice feature for G1sms easier interaction ;)Backloghttps://git.duniter.org/clients/python/silkaj/-/issues/222Write a test for wot.identities_from_pubkeys()2022-06-26T22:35:48+02:00MoulWrite a test for wot.identities_from_pubkeys()> Linked to #219
> Blocked by #223> Linked to #219
> Blocked by #223Backloghttps://git.duniter.org/clients/python/silkaj/-/issues/220Give a try to distribute compile build with Nuikta2020-02-12T14:00:37+01:00MoulGive a try to distribute compile build with Nuikta> Might fix #80
- https://nuitka.net/
---
Would be great if it can be distributed on other platform (macOS, Windows…)> Might fix #80
- https://nuitka.net/
---
Would be great if it can be distributed on other platform (macOS, Windows…)Backloghttps://git.duniter.org/clients/python/silkaj/-/issues/219Use `id_from_pubkeys()` in `blocks` and `net` commands2022-06-26T22:35:49+02:00MoulUse `id_from_pubkeys()` in `blocks` and `net` commandsUse `id_from_pubkeys()` in `blocks` and `net` commands.
This function will most likely become useless when migrating to GVA usage.Use `id_from_pubkeys()` in `blocks` and `net` commands.
This function will most likely become useless when migrating to GVA usage.Backlog