Commit Graph
185 Commits
Author SHA1 Message Date
Niklas FondbergandGitHub 491ac6e64e AddProduct mutation (#59) 2021-10-05 10:03:13 +02:00
Niklas Fondberg 4e55166828 Add environmentName as ENV 2021-10-04 14:11:52 +02:00
Anders GustafssonandGitHub dc90d2e9b2 60 verify token is valid (#61) 2021-10-04 12:49:13 +02:00
Niklas FondbergandGitHub be39423354 Use correct bucket (#62) 2021-10-04 12:47:33 +02:00
Anders GustafssonandGitHub a270d0d523 57 basic auth dev only (#58) 2021-09-29 10:43:51 +02:00
Arwid ThornströmandGitHub e5aa1486e3 Set the knex.raw queries to use insert parameter (#56)
* Set the knex.raw queries to use insert parameter

* changed knex method to use whereIn istead of raw, added rewrite table names for all tables with - in the name.

* fixed minor bug with interiors insert
2021-09-27 16:09:19 +02:00
Niklas FondbergandGitHub 4fda9a8a73 Add product comments (#54) 2021-09-23 14:17:10 +02:00
Arwid ThornströmandGitHub 2bbb669032 51: added slash to interiors query uri (#53) 2021-09-22 15:08:09 +02:00
Anders GustafssonandGitHub 15c28b3d20 sanitize focus values (#52) 2021-09-22 12:25:23 +02:00
Niklas FondbergandGitHub 8845dd26d0 Generate new interiors on focus point changes and break Cloudfront cache (#50)
* gen-new-interiors-on-focus-changes

* Remove 1 hour cache

* Cachebreak CDN
2021-09-20 16:11:00 +02:00
Arwid ThornströmandGitHub ada116b787 HOTFIX: fixed room2 to room02 (#49)
* HOTFIX: fixed room2 to room02

* typescript
2021-09-20 12:33:41 +02:00
Arwid ThornströmandGitHub 613ec8aad0 47: refactor interiors mutation to handle uri (#48)
* 47: refactor interiors mutation to handle uri

* removed log
2021-09-17 15:40:50 +02:00
Anders GustafssonandGitHub 042a3ed0fa Merge pull request #46 from Photowall/148-add-mutations-for-categories 2021-09-17 08:31:30 +02:00
Niklas FondbergandGitHub 9059bc5d8d Add mutation to copy new s3 image as product image (#45) 2021-09-16 15:58:33 +02:00
Anders Gustafsson 2a2281ab5d 148 - Product category mutations 2021-09-16 11:04:23 +02:00
Arwid ThornströmandGitHub e52c7d4522 42: add product group interiors mutation (#44) 2021-09-16 09:42:06 +02:00
Niklas FondbergandGitHub c4915cb15f Add related mutations (#43) 2021-09-15 14:01:07 +02:00
Niklas FondbergandGitHub 0a786d6754 Add warn for proportions mutation for product (#40) 2021-09-13 15:27:28 +02:00
Niklas FondbergandGitHub 84bed9a7ce File upload functionality for own interiors (#39) 2021-09-13 13:38:53 +02:00
Niklas FondbergandGitHub 0a4be2b081 Add mutation for wallpaper types (#41) 2021-09-13 09:25:42 +02:00
Niklas FondbergandGitHub f0079086d9 Fix correct interior env names (#38) 2021-09-10 14:06:33 +02:00
Niklas FondbergandGitHub 28d21659de Add interior lambda api client and trigger new interiors (#32) 2021-09-09 13:22:03 +02:00
Niklas FondbergandGitHub fbce7ec879 More careful default types 2 (#37) 2021-09-09 13:21:07 +02:00
Niklas FondbergandGitHub 3365949920 Revert "Be more careful with default types (#34)" (#36)
This reverts commit 692b530623.
2021-09-09 12:52:07 +02:00
Niklas FondbergandGitHub 692b530623 Be more careful with default types (#34) 2021-09-09 09:40:40 +02:00
Anders GustafssonandGitHub 4eb04534f5 Merge pull request #29 from Photowall/104-focus-point-mutation 2021-09-08 09:57:55 +02:00
Arwid ThornströmandGitHub 18bd4db37b HOTFIX: fixed no framed-print returned in interiors query (#35) 2021-09-08 09:19:34 +02:00
3f5a1b9169 Simplify interiors api for product (#33)
* Simplify interiors api for product

* removed console

Co-authored-by: Arwid Thornström <arwidt@gmail.com>
2021-09-07 15:38:03 +02:00
Anders Gustafsson e9cdd28eef Merge branch 'master' into 104-focus-point-mutation 2021-09-07 12:45:36 +02:00
Niklas FondbergandGitHub f73cc8be5f Return empty strings for batch and copyright (#31) 2021-09-07 12:26:39 +02:00
Niklas FondbergandGitHub 4fee798bae Make designer optional in mutation (#30) 2021-09-07 12:17:43 +02:00
Niklas Fondberg 5986dd0a52 Fix interiors 2021-09-07 12:14:48 +02:00
Anders Gustafsson 07f416e5d7 104 add focus point mutation 2021-09-07 10:21:02 +02:00
Niklas FondbergandGitHub 4b49c6a93c Add print file analysis fields and fix bug with no inserts (#26) 2021-09-07 10:20:34 +02:00
Niklas FondbergandGitHub d5945da7ae Add mutation to add keywords (#24) 2021-09-06 12:53:51 +02:00
Arwid ThornströmandGitHub 8d83205747 20: printproduct group mutation (#21)
* Finished the mutation for productGroups

* Fixes after CR

* added enums for typeid
2021-09-03 15:11:06 +02:00
Arwid ThornströmandGitHub a4b847c7be 22: fixed error when roomName null (#23)
* 22: fixed error when roomName null

* id now from new interiorId

* removed null optional
2021-09-03 13:04:01 +02:00
Niklas FondbergandGitHub 596d21dce8 Add keyword mutation for product (#19) 2021-09-03 09:51:49 +02:00
Niklas FondbergandGitHub cb4a7c40b7 Add product blacklisting mutation (#18) 2021-09-01 15:27:52 +02:00
cbb0024359 15: added preliminary tests for product and products (#17)
* Merge

* 15: added preliminary tests for product and products

Co-authored-by: Niklas Fondberg <niklas.fondberg@photowall.se>
2021-08-27 16:52:39 +02:00
Niklas FondbergandGitHub 2b67bc506f Product info mutation (#14)
* Add mutation for product info

* Upgrade to apollo 3
2021-08-27 16:44:27 +02:00
Niklas FondbergandGitHub 964a904f42 P5 7619 refactor products to return list (#11) 2021-08-20 08:16:01 +02:00
Niklas FondbergandGitHub 234996abfd Add token info 2021-08-13 13:42:14 +02:00
Niklas FondbergandGitHub b6cdf39c57 Create sync-staging.yml 2021-08-13 13:39:41 +02:00
Niklas FondbergandGitHub bd7655eabe P5-7632 Remove graphiql web query browser (#13) 2021-08-13 13:37:55 +02:00
Anders GustafssonandGitHub 127eb333da Merge pull request #12 from Photowall/P5-7626-fix-dev 2021-08-12 12:02:05 +02:00
Anders Gustafsson 123272fe23 Merge branch 'master' into P5-7626-fix-dev 2021-08-12 11:58:40 +02:00
Niklas FondbergandGitHub 72997e26f1 Hot fix remove double rows def 2021-08-12 10:59:13 +02:00
Anders Gustafsson 0e50772f56 P5-7626 - Env for prodlike as well 2021-08-12 10:53:05 +02:00
Anders Gustafsson 38cfa4d05a P5-7626 - Development fixes and clarifications 2021-08-12 10:51:57 +02:00