diff --git a/examples/README.md b/examples/README.md new file mode 100644 index 0000000..452d8d9 --- /dev/null +++ b/examples/README.md @@ -0,0 +1,8 @@ +# Examples + +Run the examples. Make sure to pass both the file you wish to run, as well as `common.go` to include the convenience functions. + +```bash +go run photo.go common.go # Run the photo example +go run login.go common.go # Run the login example +``` \ No newline at end of file diff --git a/sample-app/photoprism/storage/cache/sessions.json b/sample-app/photoprism/storage/cache/sessions.json index b4b24c4..20f90b1 100644 --- a/sample-app/photoprism/storage/cache/sessions.json +++ b/sample-app/photoprism/storage/cache/sessions.json @@ -304,6 +304,11 @@ "tokens": null, "expiration": 1613511978587026969 }, + "ad22f8f82dab51c0c116613cf0c1535bde9afa5b0d6910d9": { + "user": "uqnzie01i1nypnt9", + "tokens": null, + "expiration": 1613529105851594272 + }, "b12bcc8e03f51a00b17584596a213e41f3cddb5b4b14a29a": { "user": "uqnzie01i1nypnt9", "tokens": null, @@ -364,6 +369,11 @@ "tokens": null, "expiration": 1613511459136720858 }, + "e8f29a4ea45aff82722b11d21754fc4adcb63d2671545e0c": { + "user": "uqnzie01i1nypnt9", + "tokens": null, + "expiration": 1613529106728579350 + }, "e90c5207fefb6712f0a261708de68ca5639dfc60a4dfe6f6": { "user": "uqnzie01i1nypnt9", "tokens": null, diff --git a/sample-app/photoprism/storage/index.db b/sample-app/photoprism/storage/index.db index ad31375..637c104 100644 Binary files a/sample-app/photoprism/storage/index.db and b/sample-app/photoprism/storage/index.db differ diff --git a/sample-app/photoprism/storage/sidecar/2021/02/20210204_031706_5B740007.yml b/sample-app/photoprism/storage/sidecar/2021/02/20210204_031706_5B740007.yml index df53f69..9f3f50d 100755 --- a/sample-app/photoprism/storage/sidecar/2021/02/20210204_031706_5B740007.yml +++ b/sample-app/photoprism/storage/sidecar/2021/02/20210204_031706_5B740007.yml @@ -3,7 +3,7 @@ UID: pqnzigq351j2fqgn Type: image Title: A really great photo! TitleSrc: manual -Description: 'Sample App Description: 2021-02-09 16:14:30.809303693 -0800 PST m=+5.845330665' +Description: 'Sample App Description: 2021-02-09 18:31:45.858137005 -0800 PST m=+0.909401243' DescriptionSrc: manual OriginalName: IMG_3044 Year: -1 @@ -14,5 +14,5 @@ Details: Keywords: green, mean, tambourine KeywordsSrc: manual CreatedAt: 2021-02-04T03:17:14.613092062Z -UpdatedAt: 2021-02-10T02:21:59.491263544Z -EditedAt: 2021-02-10T02:21:59Z +UpdatedAt: 2021-02-10T02:31:45.860968569Z +EditedAt: 2021-02-10T02:31:46Z diff --git a/test/README.md b/test/README.md new file mode 100644 index 0000000..76bbba7 --- /dev/null +++ b/test/README.md @@ -0,0 +1,7 @@ +# Local Integration Tests + +To run the tests + +```bash +sudo -E go test . -v +``` \ No newline at end of file