aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * Trim word parts on database insertMiquel Sabaté Solà2025-10-272-4/+6
| | | | | | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
| * Ensure a non-NULL value for words.succeededMiquel Sabaté Solà2025-10-272-5/+6
| | | | | | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
| * Provide initial implementation for word inflectionMiquel Sabaté Solà2025-10-2710-60/+860
| | | | | | | | | | | | | | | | | | | | Word inflection for nouns, adjectives has been added so it can be initially be used in commands like 'words show'. Word categories which have no inflections (e.g. adverbs, conjunctions, et al) are skipped. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* | Update dependenciesMiquel Sabaté Solà2025-10-271-226/+103
| | | | | | | | | | | | | | | | | | As pointed out by dependabot, some of the dependencies I was using were old and subject to potential vulnerabilities. Not that there was any security risk since this application is still work-in-progress, but it's anyways fine to just update everything. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
* | github: remove dependabotMiquel Sabaté Solà2025-10-271-6/+0
|/ | | | | | | It's god awful to get PRs from Dependabot. I'd rather just get notified about its reports and act accordingly in a more suitable way. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
* Add the -f/--flag flag to the 'practice' commandMiquel Sabaté Solà2025-07-302-21/+110
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Add exercises to the practice commandMiquel Sabaté Solà2025-07-295-13/+259
| | | | | | | | The '-e/--exercises' has also been introduced to instruct the 'practice' command to only go for exercises, and the '-k/--kind' flag allows the user to further filter which kind of exercise to practice. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Add the exercises commandMiquel Sabaté Solà2025-07-295-2/+440
| | | | | | | Subcommands have been added to it which are similar to the ones on words on purpose. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Add weight to wordsMiquel Sabaté Solà2025-07-293-14/+57
| | | | | | | This allows for the user to give more importance to some words than others, as that will be taken into account when running `practice`. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Rename from run to practiceMiquel Sabaté Solà2025-07-291-37/+35
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Implement the edit subcommand for wordsMiquel Sabaté Solà2025-07-292-139/+358
| | | | | | | This implied replacing the Guess struct for a full Word, so the same code for word creation could be re-used. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* words: Move away the selection of a wordMiquel Sabaté Solà2025-07-251-16/+37
| | | | | | | | This is in preparation to the implementation of the new 'edit' and 'show' subcommands for 'word', which will also need to operate on exactly one word. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Update dependenciesMiquel Sabaté Solà2025-07-251-39/+135
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* github: Add workflows for CI executionMiquel Sabaté Solà2025-07-254-0/+62
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Apply suggestions from clippyMiquel Sabaté Solà2025-07-256-112/+116
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Implement creation of wordsMiquel Sabaté Solà2025-07-254-22/+467
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Add steps into wordsMiquel Sabaté Solà2025-06-132-6/+19
| | | | | | | | This is a way to make more granular the accounting of successful runs, so we don't give a word for done until we have run it successfully at least MAX_STEPS times in a row. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Implement the run commandMiquel Sabaté Solà2025-06-125-19/+430
| | | | | | | | This does not accept yet some flags that might be convenient for more advanced uses of it, nor it asks to inflect the word or stuff like that. For now it's as simple as "give me the meaning of...". Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Add license filesMiquel Sabaté Solà2025-06-033-0/+858
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Initial commitMiquel Sabaté Solà2025-06-0312-0/+1051
Basic commands have been added, but most of the features for this project are still work in progress. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>