| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | bump pipenv to python3.13HEADsimple-dbus-mainmain | Florian Fischer | 2025-11-07 | 4 | -131/+132 |
| | | |||||
| * | use docker image containing all build requirements for pygobject | Florian Fischer | 2025-11-06 | 1 | -1/+1 |
| | | |||||
| * | bump python version, install used imports and ignore types for pydbus | Florian Fischer | 2025-11-06 | 4 | -207/+140 |
| | | |||||
| * | support dbus loop frontend for geldschieberbot | Florian Fischer | 2025-11-06 | 2 | -18/+75 |
| | | |||||
| * | export the plot command | Florian Fischer | 2025-11-06 | 1 | -0/+23 |
| | | |||||
| * | export the minimize command from the geldschieberbotminimize | Florian Fischer | 2025-11-06 | 3 | -0/+87 |
| | | |||||
| * | add simple script generating graphviz from a balance | Florian Fischer | 2025-11-06 | 1 | -0/+39 |
| | | |||||
| * | fix cycle generation | Florian Fischer | 2025-11-06 | 1 | -16/+38 |
| | | | | | | | The current cycle generation did not consider permutations of a combination of vertices. Make all Functions return Iterators to reduce the needed memory size. | ||||
| * | add helper code for future minimize feature | Florian Fischer | 2025-11-05 | 2 | -2/+178 |
| | | |||||
| * | skip test_montly if current day is not present in previous months | Florian Fischer | 2024-10-31 | 1 | -2/+12 |
| | | |||||
| * | partially revert 2f2b51e40c7027d80bf4a6741f2063e2c224f938 | Florian Fischer | 2023-09-18 | 1 | -1/+2 |
| | | | | | | Load the state when constructing the bot to ensure a usable object is returned by __init__. | ||||
| * | make Geldschieberbot a context manager | Florian Fischer | 2023-09-18 | 3 | -24/+26 |
| | | | | | | | | | | | | | | | | | Previosuly there was the problem that the state was saved when the bot object was destructed. When there was an unhandled exception it was possible for the builtins to be cleanedup before the bot's destructor was executed resulting in yet another exception because the open builtin was no longer available. This is no longer possible when the bot is used as a context manager python guarantees that the __exit__ code is executed before leaving the with block. This allows us prevent the state from beeing saved when there was an exception to prevent invalid states. | ||||
| * | convert the sender to a name in the messages of scheduled commands | Florian Fischer | 2023-09-18 | 1 | -3/+4 |
| | | |||||
| * | fix wrong arguments to MessageContext when running scheduled cmds | Florian Fischer | 2023-08-29 | 1 | -1/+1 |
| | | | | | Fixes: 26831dca32c471415b1afa470ac8dbfd1fd348a6 | ||||
| * | test: fix call to run the bot in single shot mode | Florian Fischer | 2023-08-12 | 1 | -1/+1 |
| | | |||||
| * | test: remove old environment variables | Florian Fischer | 2023-08-12 | 1 | -3/+0 |
| | | |||||
| * | extract reading and sending messages into separate script | Florian Fischer | 2023-08-11 | 3 | -81/+106 |
| | | |||||
| * | add simple gitlab CI using my python development docker image | Florian Fischer | 2023-08-11 | 1 | -0/+29 |
| | | |||||
| * | switch from WTFPL to GPL3 or later | Florian Fischer | 2023-08-11 | 6 | -2/+740 |
| | | |||||
| * | add doc strings and use more meaningful variable names | Florian Fischer | 2023-08-11 | 1 | -9/+16 |
| | | |||||
| * | remove change model todo | Florian Fischer | 2023-08-11 | 1 | -1/+0 |
| | | | | | Done since 26831dca32c471415b1afa470ac8dbfd1fd348a6. | ||||
| * | remove alias todo | Florian Fischer | 2023-08-11 | 1 | -1/+0 |
| | | | | | Done since 2fe86be4e3b999ec4941284274b586dd0f2fecb7. | ||||
| * | extract the models and utility function into separate source files | Florian Fischer | 2023-08-11 | 3 | -88/+101 |
| | | |||||
| * | add GSB_USER variable back because it is used in run.sh | Florian Fischer | 2023-08-11 | 1 | -1/+3 |
| | | |||||
| * | extract message sending from the Geldschieberbot class | Florian Fischer | 2023-08-11 | 2 | -62/+83 |
| | | | | | | | | | | | This makes the class more flexible and allows for different means of sending the replies back by executing a subprocess or using dbus/jsonrpc. Also remove the never used group send command. Make the Geldschieberbot constructor parameters mandatory and let the caller handle the configuration. | ||||
| * | improve the sample config | Florian Fischer | 2023-08-11 | 1 | -8/+8 |
| | | | | | | | | Remove the not used GSB_USER variable. Add an example for the send command using signal-cli. Change the legacy STATE_PATH variable to the single state file variable GSB_STATE_FILE. | ||||
| * | remove global variables using the environment | Florian Fischer | 2023-08-11 | 2 | -23/+69 |
| | | | | | | | | | | | | | Previously the geldschieberbot module used global variables retrieved from the environment for its configuration. This is not very flexible and can lead to problems when using the module from other python code. Therefore make all configuration Geldschieberbot specific and pass the values to the constructor. If no values are provided fallback to the environment. This change is fully backwards compatible. | ||||
| * | ignore old obscure changes in the state file | Florian Fischer | 2023-08-10 | 3 | -8/+25 |
| | | |||||
| * | update environment | Florian Fischer | 2023-08-10 | 3 | -182/+206 |
| | | |||||
| * | introduce dataclasses for the passed data | Florian Fischer | 2023-08-10 | 5 | -343/+477 |
| | | | | | | | Refactor all implicit dictionaries into explicit data classes. This makes the code more explicit, easier to check for mypy and overall more maintainable. | ||||
| * | test: use more intuitive transfer command | Florian Fischer | 2023-08-10 | 1 | -5/+5 |
| | | |||||
| * | pipenv: install pytest and update environment | Florian Fischer | 2022-11-04 | 3 | -247/+190 |
| | | | | | Adapt the pylintrc file to the newer version of pylint. | ||||
| * | add missing test status | Florian Fischer | 2022-11-02 | 1 | -0/+1 |
| | | | | | Fixes: 60f7088 | ||||
| * | add new sum alias 'balance' | Florian Fischer | 2022-09-04 | 2 | -2/+11 |
| | | |||||
| * | geldschieberbot: support transaction with multiple recipients | Florian Fischer | 2022-07-26 | 2 | -21/+107 |
| | | | | | | | | | | | | | | | All recipients receive amount making transactionswith multiple receipients a shortcut for posting the same transaction with a changing recipient. !schieb 5 alice bob is equivalent to !schieb 5 alice !schieb 5 bob Aliases are supported as well. | ||||
| * | geldschieberbot: support choosing the entries in a summary | Florian Fischer | 2022-07-26 | 1 | -1/+4 |
| | | |||||
| * | test: add test for transactions with unknown recipient | Florian Fischer | 2022-07-26 | 1 | -0/+7 |
| | | |||||
| * | add option to quote cmd messages | Florian Fischer | 2022-07-25 | 2 | -12/+37 |
| | | |||||
| * | test: disable pylint style checks for test code | Florian Fischer | 2022-07-25 | 1 | -1/+2 |
| | | |||||
| * | support aliases in tanken command | Florian Fischer | 2022-07-06 | 3 | -66/+72 |
| | | | | | Move tanken code into Gelschieberbot to simply expand aliases in drives. | ||||
| * | add alias support | Florian Fischer | 2022-07-06 | 2 | -1/+175 |
| | | | | | | | | Aliases can be used where one or multiple persons names can be used. An alias is expanded to the list of users it represents. For commands implicitly including one user (e.g., 'split') the expansion of the implicit user can be prevented. | ||||
| * | remove else after return | Florian Fischer | 2022-07-06 | 1 | -2/+2 |
| | | |||||
| * | fix wording of car command help | Florian Fischer | 2022-07-06 | 1 | -1/+1 |
| | | |||||
| * | add type hint | Florian Fischer | 2022-07-06 | 1 | -1/+1 |
| | | |||||
| * | test: use f-strings | Florian Fischer | 2022-07-04 | 1 | -52/+38 |
| | | |||||
| * | test: sanely name test state files | Florian Fischer | 2022-07-04 | 5 | -28/+27 |
| | | |||||
| * | add python development tooling | Florian Fischer | 2022-07-04 | 5 | -0/+890 |
| | | |||||
| * | add TODO | Florian Fischer | 2022-07-04 | 1 | -0/+10 |
| | | |||||
| * | geldschieberbot: refactor bot into a class | Florian Fischer | 2022-07-04 | 1 | -744/+767 |
| | | | | | | | | | | | Geldschieberbot beeing a class gets rid of the mutable global variables for dry_run and record_changes. Misc cleanups: * Cleanup recording changes * Add doc-strings * Uppercase globals | ||||
| * | fixup! test: add explicit encoding to open | Florian Fischer | 2022-07-04 | 1 | -1/+1 |
| | | |||||
