Commit Graph

14 Commits

Author SHA1 Message Date
7675e173d4 database returns title of messages 2022-01-17 15:33:59 +01:00
83975a0918 updates production services for server 2022-01-11 13:52:30 +01:00
8a391a7ad1 updates config for server 2022-01-10 23:59:26 +01:00
32c0dbd85a fixes text response test 2022-01-10 23:58:56 +01:00
d2fe15d3ae adds message title, adds sender delete
- message now contains a second string
  which is meant for unencrypted title
  information, which can be displayed
  without e2e encryption.
- senders can now be deleted
- the same sender / token connection is
  no longer added to the database
2022-01-03 13:07:33 +01:00
a1cccbf270 saved firebase tokens now used to push messages 2021-12-30 16:23:54 +01:00
60888fd63c adds senders to database and firebase connect
- senders, which now have a firebase token
  are added as their own table in the database
- firebase token api call added, which allows
  a user to connect a sender id to a firebase token
- firebase library not yet connected to the saved
  firebase tokens
2021-12-30 16:11:53 +01:00
745b0dc4f2 adds Firebase communication stump
- Firebase connection via Pigeon library
- sends bump to a single token at the moment
- encrypted test is sent as notification message
2021-12-30 13:06:26 +01:00
8262b61085 updates list rest api
- list no longer returns a json array
  but a json object, which contains a
  "messages" json array instead
2021-12-17 16:23:48 +01:00
5d50bb30e6 adds rest api connector
- routing setup with path to message_controller
- messages api to database updated to function
  similar to a stack system (push, pop, peek, ..)
- rest calls the same as database calls
- setup default controller showing text message
- parsing database output with Jason to client
- adds curl examples
2021-12-10 15:34:38 +01:00
3b1657e18a adds api calls for getting, setting, removing
- using Ecto queries, the api can now get newest
  message or get the last message
- delete all messages of a sender id
- add a message (auto adding a time stamp)
2021-12-10 12:46:34 +01:00
de81aaaef7 updates gitignore and adds Readme 2021-12-05 00:42:08 +01:00
4e607a7e45 adds phoenix boilerplate and database api
- message communication added
- database migration added
- initial commit
2021-12-05 00:36:13 +01:00
Raphael Maenle
dca07acc75 Initial commit 2021-12-05 00:35:32 +01:00