| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | support dbus loop frontend for geldschieberbot | Florian Fischer | 2025-11-06 | 1 | -1/+1 |
| | | |||||
| * | export the minimize command from the geldschieberbotminimize | Florian Fischer | 2025-11-06 | 1 | -0/+28 |
| | | |||||
| * | skip test_montly if current day is not present in previous months | Florian Fischer | 2024-10-31 | 1 | -2/+12 |
| | | |||||
| * | make Geldschieberbot a context manager | Florian Fischer | 2023-09-18 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | 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. | ||||
| * | 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 |
| | | |||||
| * | switch from WTFPL to GPL3 or later | Florian Fischer | 2023-08-11 | 1 | -0/+16 |
| | | |||||
| * | add doc strings and use more meaningful variable names | Florian Fischer | 2023-08-11 | 1 | -9/+16 |
| | | |||||
| * | extract message sending from the Geldschieberbot class | Florian Fischer | 2023-08-11 | 1 | -10/+9 |
| | | | | | | | | | | | 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. | ||||
| * | remove global variables using the environment | Florian Fischer | 2023-08-11 | 1 | -5/+35 |
| | | | | | | | | | | | | | 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 | 1 | -0/+12 |
| | | |||||
| * | introduce dataclasses for the passed data | Florian Fischer | 2023-08-10 | 1 | -12/+32 |
| | | | | | | | 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 |
| | | |||||
| * | add new sum alias 'balance' | Florian Fischer | 2022-09-04 | 1 | -2/+10 |
| | | |||||
| * | geldschieberbot: support transaction with multiple recipients | Florian Fischer | 2022-07-26 | 1 | -2/+65 |
| | | | | | | | | | | | | | | | 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. | ||||
| * | 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 | 1 | -1/+1 |
| | | |||||
| * | 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 | 1 | -0/+24 |
| | | | | | Move tanken code into Gelschieberbot to simply expand aliases in drives. | ||||
| * | add alias support | Florian Fischer | 2022-07-06 | 1 | -0/+96 |
| | | | | | | | | 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. | ||||
| * | test: use f-strings | Florian Fischer | 2022-07-04 | 1 | -52/+38 |
| | | |||||
| * | test: sanely name test state files | Florian Fischer | 2022-07-04 | 1 | -25/+25 |
| | | |||||
| * | fixup! test: add explicit encoding to open | Florian Fischer | 2022-07-04 | 1 | -1/+1 |
| | | |||||
| * | test: add explicit encoding to open | Florian Fischer | 2022-07-04 | 1 | -3/+3 |
| | | |||||
| * | test.py: make format | Florian Fischer | 2022-04-19 | 1 | -0/+18 |
| | | |||||
| * | test.py: don't use subprocess.run(check=True) | Florian Fischer | 2021-11-18 | 1 | -2/+8 |
| | | | | | | Using check=True will cause subprocess.run to raise an exception and our own failure handling code like printing what happend will not run. | ||||
| * | [test] explicitly pass check=True to subprocess.run | Florian Fischer | 2021-09-09 | 1 | -0/+1 |
| | | |||||
| * | [test] remove useless f-strings | Florian Fischer | 2021-09-09 | 1 | -4/+4 |
| | | |||||
| * | make format | Florian Fischer | 2021-09-09 | 1 | -1/+4 |
| | | |||||
| * | add thanks command easteregg | Florian Fischer | 2021-09-09 | 1 | -0/+12 |
| | | |||||
| * | add seperate full-sum command and print only the senders sum per default | Florian Fischer | 2021-07-01 | 1 | -0/+15 |
| | | |||||
| * | [cars] add remove command | Florian Fischer | 2021-04-18 | 1 | -1/+17 |
| | | |||||
| * | remove duplicate test methods | Florian Fischer | 2021-03-29 | 1 | -44/+0 |
| | | |||||
| * | run yapf | Florian Fischer | 2021-03-29 | 1 | -96/+147 |
| | | |||||
| * | support !split person amount | Florian Fischer | 2021-03-25 | 1 | -4/+10 |
| | | |||||
| * | fix change recording for transfer cmd | Florian Fischer | 2021-03-24 | 1 | -0/+14 |
| | | |||||
| * | s/Transfere/Transfer | Florian Fischer | 2021-03-24 | 1 | -8/+8 |
| | | |||||
| * | allow sum cmd for cars | Florian Fischer | 2020-10-17 | 1 | -0/+13 |
| | | |||||
| * | support rewinding specific changes | Florian Fischer | 2020-09-14 | 1 | -0/+37 |
| | | |||||
| * | indent change parts in list-changes | Florian Fischer | 2020-09-14 | 1 | -10/+10 |
| | | |||||
| * | add list-changes command | Florian Fischer | 2020-09-14 | 1 | -0/+79 |
| | | |||||
| * | prohibit pure numerical names | Florian Fischer | 2020-08-25 | 1 | -0/+17 |
| | | |||||
| * | prevent crashes when money should be transfered to the issuer | Florian Fischer | 2020-04-28 | 1 | -0/+18 |
| | | |||||
| * | add tests | Florian Fischer | 2020-03-15 | 1 | -0/+903 |
