Commit Graph

17 Commits

Author SHA1 Message Date
eedc1d5679 enables piping to bump cli
- sys.stdin is queried for data
  if no message is passed to the
  cli directly
- sys stdin content is then passed
  as the title of a message to the
  senders
2022-01-17 15:09:47 +01:00
1825e3109c updates alert function for cli
- alert correctly collects title from server
- alert now posts any new incomming messages
  to the commandline in form of a dict
2022-01-17 15:00:47 +01:00
bfd30324e1 senders can now be added and removed via cli
- --reset flag (default false) can now be set
  to remove all senders
- multiple senders can be added now
2022-01-17 11:44:43 +01:00
750f79f03a adds minimal cli for qr code and pushing
- cli generated using typer package,
  which is added to the setup.py
- if optional argument to bump is not
  passed, the current secret is visualized
- if there is an argument, it is pushed
  as a message to the current sender
- adds setup.py command line script which
  adds a call to the bump.cli:main function
  passing the cli parameters along
- updates package version to 0.1.3

- Squashed commits:
  - commit e120815378
  - commit 3a47ee56bf
  - commit aeca052cbc
  - commit 2294650daa
2022-01-16 22:31:36 +01:00
570a64f450 improves random word generation
- only words matching a-zA-Z are used,
  which removes some situations where
  the generated code was not readable
  by the android application
- words are now under 10 characters long
- function flow improved for readability
2022-01-16 13:41:04 +01:00
1e7301d919 updates setup with new requirements 2022-01-15 14:27:37 +01:00
c8ce01277b adds required setup packages 2022-01-15 14:12:51 +01:00
b18854d3a5 updates setup.py package requirements 2022-01-14 22:24:23 +01:00
bdf5c9fb4f adds pip setup script, updates gitignore
- pip setup.py is provided to allow installs via pip
  this includes a brief package description and install
  dependencies
- bump is now moved to a subfolder bump with __init__
  as this is a package setup requirement
- gitignore now ignores any tar'ed files and any
  pycaches
2022-01-14 22:17:01 +01:00
4c6ca75fa8 qr code now ascii, makes functions private 2022-01-12 19:21:05 +01:00
a84ed4851d adds call to delete sender from server 2022-01-03 13:09:11 +01:00
d59b600ef3 adds title to push 2022-01-03 12:28:35 +01:00
7f3ffbc906 adds firebase handler, extracts set functions 2021-12-30 16:10:49 +01:00
3d3633592a updates list for new rest result
- list is now a json object which contains
  "messages" which is a JSON Array list
2021-12-17 16:22:04 +01:00
be09c04987 adds alert for new messages
- messages are checked from the server every second
  and compared with the local log. Any message within
  the last 2 minutes which were pushed onto the server
  are shown as a notification.
2021-12-10 18:29:03 +01:00
36d5bd42ff fixes handling json list output 2021-12-10 17:59:52 +01:00
424812432c adds all initial communication functionality
- adds rest server wraper
- adds secret generation
- adds secret visualization
2021-12-10 17:46:53 +01:00