Commit Graph

  • a5b1da352a Merge pull request 'Fix and simplify rate calculation' (#15) from w2/photovoter_backend:rate-calculation-fix into main main w2 2021-12-22 21:08:37 +0000
  • 8a378923af fix: rate calculation, #14 #15 rrr-marble 2021-12-21 04:11:06 +0300
  • 4b5a20a109 Merge pull request 'Transform coordinates to decimal format' (#11) from w2/photovoter_backend:decimal-coordinates into main g 2021-12-21 20:23:37 +0000
  • b601b106b4 ref: change coordinates db datatype #11 rrr-marble 2021-12-21 01:47:32 +0300
  • be6a1f4eb7 del: redundant db columns in update requests rrr-marble 2021-12-21 01:31:19 +0300
  • 2816355886 del: redundant db columns rrr-marble 2021-12-21 01:27:34 +0300
  • 6bd14777a3 add: take into account reference cardinal direction rrr-marble 2021-12-20 12:52:28 +0300
  • d18786b000 add: transform coordinates to decimal form rrr-marble 2021-12-19 23:17:34 +0300
  • 9dfacfd6c2 Merge pull request 'Rotate and resize images on upload' (#10) from w2/photovoter_backend:image-processing into main w2 2021-12-19 20:41:47 +0000
  • 415b3f50a2 add: resize image so shorter side<=1000px #10 rrr-marble 2021-12-19 21:22:48 +0300
  • c70415ede2 fix: image flips after stripping orientation exif rrr-marble 2021-12-19 21:19:25 +0300
  • 2f967b584f Merge pull request 'upload endpoint' (#5) from w2/photovoter_backend:upload into main w2 2021-12-19 20:05:03 +0000
  • 9620458977 fix: normalize global rel paths for win compat #5 rrr-marble 2021-12-19 18:20:07 +0300
  • 3e7ef81102 msc: report abs db path on creation rrr-marble 2021-12-19 04:15:15 +0300
  • b78c53441d add: skip adding images with invalid exif to db rrr-marble 2021-12-19 04:13:36 +0300
  • a1cd63eca0 fix: switch to epoch seconds to allow for win path rrr-marble 2021-12-19 02:51:45 +0300
  • 576b23b2c9 fix: add 202 status code to upload_pictures() rrr-marble 2021-09-27 05:34:05 +0300
  • 3e35188739 msc: upload_pictures() docs rrr-marble 2021-09-27 05:33:16 +0300
  • 4b0b6ab9cc ref: extract upload credentials into config rrr-marble 2021-09-27 05:01:00 +0300
  • 54a7010e76 add: process uploaded photo rrr-marble 2021-09-27 04:52:37 +0300
  • 250f09153d ref: use explicit paths instead of chdir rrr-marble 2021-09-26 22:32:52 +0300
  • 822e512a01 ref: extract globals into common config.py rrr-marble 2021-09-24 02:47:48 +0300
  • ffc3ce75cc ref: pass cmdline params into fn explicitly rrr-marble 2021-09-24 02:17:58 +0300
  • b86efb2154 ref: pass global params into fn explicitly rrr-marble 2021-09-24 01:17:23 +0300
  • 36cd3297af add: accept and extract zip photo archives rrr-marble 2021-09-23 21:31:18 +0300
  • 7df1ff3503 add: upload_pictures() prototype rrr-marble 2021-09-23 04:23:23 +0300
  • ca4cac9c02 Merge pull request 'photo_points' (#6) from photo_points into main w2 2021-12-18 20:17:24 +0000
  • 6a9d70f139 Merge pull request 'photo_points' (#4) from w2/photovoter_backend:photo_points into photo_points #6 g 2021-12-14 10:44:32 +0000
  • 2daae1f37e add: impl photo_points() #4 rrr-marble 2021-09-23 01:24:53 +0300
  • 29d6ec65b3 fix: typo rrr-marble 2021-09-22 23:08:48 +0300
  • 085a3b11c0 Sketch endpoint "photo_points" gtitov 2021-09-15 23:33:47 +0300
  • 1ba4ac1bd6 Add .gitignore gtitov 2021-09-15 23:27:00 +0300
  • cd16206d5d Add CORS gtitov 2021-09-15 23:26:44 +0300
  • fd4e607fe4 Slight changes in usage gtitov 2021-09-15 23:26:21 +0300
  • 218eb0e394 add: meaningful error responses rrr-marble 2021-07-02 17:59:40 +0300
  • de0b9cf8d3 add: save session initialization time rrr-marble 2021-07-02 15:57:32 +0300
  • f8ef88d442 fix: missing import, typo rrr-marble 2021-07-02 15:46:53 +0300
  • 6e0940aaf2 add: create sessions and marks tables in new db rrr-marble 2021-07-02 15:45:50 +0300
  • 400a9e3c98 ref: db.commit() uniformly in try blocks rrr-marble 2021-07-02 15:40:36 +0300
  • 3001b78921 fix: cookies are str now rrr-marble 2021-07-02 15:35:47 +0300
  • 20278eeee7 ref: try 3 times before giving up on new session rrr-marble 2021-07-02 15:33:22 +0300
  • a846ef6647 add: unique session generation rrr-marble 2021-07-02 15:29:13 +0300
  • 854514532a add: img rating fn rrr-marble 2021-07-02 14:19:40 +0300
  • 588a1f2ee4 add: validate session before rating rrr-marble 2021-07-02 13:50:29 +0300
  • fa617571e5 add: next img picker impl rrr-marble 2021-07-02 13:26:39 +0300
  • e69d68e4f6 add: next img picker prototype rrr-marble 2021-07-02 13:17:20 +0300
  • 1d2cc753d5 add: validate session before supplying an img rrr-marble 2021-07-02 12:54:27 +0300
  • 691ad3ff5e add: enter processed imgs into database rrr-marble 2021-07-02 10:11:35 +0300
  • f0dc16927f add: document which fn use globals rrr-marble 2021-07-02 10:02:14 +0300
  • a84bea8611 add: processed counter for img importer rrr-marble 2021-07-02 09:58:46 +0300
  • a6160fa32a msc: remove superfluous prints if db exists rrr-marble 2021-07-02 09:46:05 +0300
  • a5e3b9759c msc: change default paths rrr-marble 2021-07-02 09:43:59 +0300
  • 50a548fcc2 add: database existence check rrr-marble 2021-07-02 09:36:22 +0300
  • 622a58984e add: yield the db info for each img processed rrr-marble 2021-07-01 22:20:45 +0300
  • cbf5362588 add: save the originals too rrr-marble 2021-07-01 22:14:28 +0300
  • fc81b97891 add: resize imgs with imagemagick rrr-marble 2021-07-01 21:55:17 +0300
  • 0330e1bc5b add: get all the imgs from cmd provided dir rrr-marble 2021-07-01 21:30:33 +0300
  • d3c3c5f1e4 add: photo importer util, prototype rrr-marble 2021-07-01 20:55:30 +0300
  • f7a0efdafb add: basic description to api calls rrr-marble 2021-07-01 15:19:19 +0300
  • ba9c2997ad add: fastapi and uvicorn reqs rrr-marble 2021-07-01 15:06:22 +0300
  • 66798f135e initial commit rrr-marble 2021-07-01 14:57:17 +0300