61 Commits (main)
 

Author SHA1 Message Date
w2 a5b1da352a Merge pull request 'Fix and simplify rate calculation' (#15) from w2/photovoter_backend:rate-calculation-fix into main
4 years ago
rrr-marble 8a378923af fix: rate calculation, #14
4 years ago
g 4b5a20a109 Merge pull request 'Transform coordinates to decimal format' (#11) from w2/photovoter_backend:decimal-coordinates into main
4 years ago
rrr-marble b601b106b4 ref: change coordinates db datatype
4 years ago
rrr-marble be6a1f4eb7 del: redundant db columns in update requests
4 years ago
rrr-marble 2816355886 del: redundant db columns
4 years ago
rrr-marble 6bd14777a3 add: take into account reference cardinal direction
4 years ago
rrr-marble d18786b000 add: transform coordinates to decimal form
4 years ago
w2 9dfacfd6c2 Merge pull request 'Rotate and resize images on upload' (#10) from w2/photovoter_backend:image-processing into main
4 years ago
rrr-marble 415b3f50a2 add: resize image so shorter side<=1000px
4 years ago
rrr-marble c70415ede2 fix: image flips after stripping orientation exif
4 years ago
w2 2f967b584f Merge pull request 'upload endpoint' (#5) from w2/photovoter_backend:upload into main
4 years ago
rrr-marble 9620458977 fix: normalize global rel paths for win compat
4 years ago
rrr-marble 3e7ef81102 msc: report abs db path on creation
4 years ago
rrr-marble b78c53441d add: skip adding images with invalid exif to db
4 years ago
rrr-marble a1cd63eca0 fix: switch to epoch seconds to allow for win path
4 years ago
rrr-marble 576b23b2c9 fix: add 202 status code to upload_pictures()
4 years ago
rrr-marble 3e35188739 msc: upload_pictures() docs
4 years ago
rrr-marble 4b0b6ab9cc ref: extract upload credentials into config
4 years ago
rrr-marble 54a7010e76 add: process uploaded photo
4 years ago
rrr-marble 250f09153d ref: use explicit paths instead of chdir
4 years ago
rrr-marble 822e512a01 ref: extract globals into common config.py
4 years ago
rrr-marble ffc3ce75cc ref: pass cmdline params into fn explicitly
4 years ago
rrr-marble b86efb2154 ref: pass global params into fn explicitly
4 years ago
rrr-marble 36cd3297af add: accept and extract zip photo archives
4 years ago
rrr-marble 7df1ff3503 add: upload_pictures() prototype
4 years ago
w2 ca4cac9c02 Merge pull request 'photo_points' (#6) from photo_points into main
4 years ago
g 6a9d70f139 Merge pull request 'photo_points' (#4) from w2/photovoter_backend:photo_points into photo_points
4 years ago
rrr-marble 2daae1f37e add: impl photo_points()
4 years ago
rrr-marble 29d6ec65b3 fix: typo
4 years ago
gtitov 085a3b11c0 Sketch endpoint "photo_points"
5 years ago
gtitov 1ba4ac1bd6 Add .gitignore
5 years ago
gtitov cd16206d5d Add CORS
5 years ago
gtitov fd4e607fe4 Slight changes in usage
5 years ago
rrr-marble 218eb0e394 add: meaningful error responses
5 years ago
rrr-marble de0b9cf8d3 add: save session initialization time
5 years ago
rrr-marble f8ef88d442 fix: missing import, typo
5 years ago
rrr-marble 6e0940aaf2 add: create sessions and marks tables in new db
5 years ago
rrr-marble 400a9e3c98 ref: db.commit() uniformly in try blocks
5 years ago
rrr-marble 3001b78921 fix: cookies are str now
5 years ago
rrr-marble 20278eeee7 ref: try 3 times before giving up on new session
5 years ago
rrr-marble a846ef6647 add: unique session generation
5 years ago
rrr-marble 854514532a add: img rating fn
5 years ago
rrr-marble 588a1f2ee4 add: validate session before rating
5 years ago
rrr-marble fa617571e5 add: next img picker impl
5 years ago
rrr-marble e69d68e4f6 add: next img picker prototype
5 years ago
rrr-marble 1d2cc753d5 add: validate session before supplying an img
5 years ago
rrr-marble 691ad3ff5e add: enter processed imgs into database
5 years ago
rrr-marble f0dc16927f add: document which fn use globals
5 years ago
rrr-marble a84bea8611 add: processed counter for img importer
5 years ago