Commit Graph

16 Commits

Author SHA1 Message Date
zegkljan
19fc8e0322 DB migration, proposals.
* DB schema is migrated.
* Added mechanism for proposing app improvements.
2022-08-13 02:20:34 +02:00
zegkljan
e6fef137e7 Upgraded go & alpine, fix db checkpointing.
* Go version set to 1.19 in go.mod.
* Alpine upgraded to 3.16 in Dockerfile.
* DB restart checkpoint is forced manually after 15 mins of inactivity.
* DB truncate checkpoint is forced manually at exit.
2022-08-09 10:50:49 +02:00
zegkljan
7506421848 thumbnail content type
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
* content type of thumbnail is separated from the full photo content type
* remove git from build dependencies in Dockerfile
2022-02-20 01:09:54 +01:00
zegkljan
1cf44e3bfc build info
All checks were successful
continuous-integration/drone/push Build is passing
* API endpoint
* dockerfile adds commit hash and build time during build
2022-02-20 00:20:19 +01:00
zegkljan
7deb7e3f39 refining photo handling
All checks were successful
continuous-integration/drone/push Build is passing
* photo metedata provided with downloaded data
* data download recognizes application/json and application/zip accepted types and serves bare json and zip with photos respectively
* thumbnail handling and storage
2022-02-19 23:38:58 +01:00
zegkljan
7b4eb8d5d2 deadline of features
* features can have a deadline
* features with non-null deadline < now are deleted upon request for data
2022-02-13 02:40:28 +01:00
zegkljan
3615deb985 remote DB reset 2022-02-12 11:34:29 +01:00
zegkljan
e2aa0d1aea Dockerfile, settable port
* added Dockerfile
* server listenting port is configurable via CLI argument
2022-02-11 08:02:27 +01:00
zegkljan
a5500ec685 log update size 2022-02-06 22:10:49 +01:00
zegkljan
08a203e4a6 dual offline/online, map info
* Server provides map info with zoom, default center and paths to both downloadable pack and tile url template.
2022-02-05 17:56:13 +01:00
zegkljan
caeb5c9198 owner ID not null
* Feature owner ID is never null.
* For 'extra geometry', system user ID=0 is used.
2022-02-03 09:22:11 +01:00
zegkljan
7471c89143 db reinitialization flag 2022-01-30 10:37:35 +01:00
zegkljan
b512bc0d2f remove description and category, introduce properties
* fatures no longer have distinct description and category fields
* features now have a json field 'properties'
2022-01-30 10:31:41 +01:00
zegkljan
5deff38890 refactoring, support for storing feature photos
* errors put into separate package
* added table to store feature photos
* added API endpoints for serving photos
* POST /data extended to accept photos using a multipart/form-data body
2022-01-30 01:34:38 +01:00
zegkljan
395b17d1be data update
* foreign keys always enabled on each connection
* implemented data update (create, update, delete)
2022-01-29 00:48:32 +01:00
zegkljan
38318ca654 basic server
* basic untested implementation of server
* updating data not implemented yet
2022-01-28 00:29:06 +01:00