Daniel Friesel
69f961a23c
disable import and checkin API endpoints in production mode
2019-12-19 19:20:06 +01:00
Daniel Friesel
c8695ecb1c
travel, import API: Verify that payload is a hash
2019-12-17 20:41:36 +01:00
Daniel Friesel
934a9ac21a
api/import: More helpful errors, fix "lax" support
2019-12-17 20:09:02 +01:00
Daniel Friesel
ae21896982
API: Add lax option
2019-12-17 20:01:39 +01:00
Daniel Friesel
7ae60f2ea4
Travel API: comment support
2019-12-14 23:46:36 +01:00
Daniel Friesel
46fc64de48
Add travel (checkin/checkout/undo) API
2019-12-14 21:53:23 +01:00
Daniel Friesel
5fe4174feb
Add API entry point for journey import
2019-12-14 20:46:02 +01:00
Daniel Friesel
2ddab75644
basic webhook support, onwards to betatesting
2019-05-06 16:59:48 +02:00
Daniel Friesel
af5c26bf8a
Do not error out when receiving UIDs > INT_MAX
2019-05-02 11:34:52 +02:00
Daniel Friesel
be1e5dda23
Public API documentation
2019-05-02 11:29:43 +02:00
Daniel Friesel
438319e63a
Bump API to v1
2019-04-24 07:34:41 +02:00
Daniel Friesel
e168d9cd39
Use one row per journey instead of split checkin/checkout entries
...
Whether a user is in transit or not is now determined by an entry in the
in_transit table instead of a dangling checkin.
All completed journeys are stored in the "journeys" table.
This does most of the work needed for automatic checkout. However, note that
the corresponding worker process is not implemented yet.
2019-04-23 18:08:07 +02:00
Daniel Friesel
2aece36803
Use Mojo::Pg for all remaining Controller and Helper logic
2019-04-22 12:11:22 +02:00
Daniel Friesel
32cc2f0f81
More refactoring
2019-03-22 16:56:49 +01:00
Daniel Friesel
21fe8a6990
Initiate transition to a Mojolicious MVC web application
2019-03-21 22:12:45 +01:00