Commit Graph
138 Commits
Author SHA1 Message Date
Anders GustafssonandGitHub 051355ba6a 4257 - add multi locale support to categories resolver (#161) 2024-01-09 14:48:44 +01:00
Arwid ThornströmandGitHub 2a9b7a88ee 4519 graphql change so we use delete multiple command when deleting files from s3 (#159)
* now use deleteObjects plural instead of single delete

* fixed when nothing is removed
2023-10-25 14:14:41 +02:00
Arwid ThornströmandGitHub b2a296c857 orientation should now be correct (#158) 2023-10-23 08:28:39 +02:00
Arwid ThornströmandGitHub 0ffeacc638 added cleanup mutation (#157)
* added cleanup mutation

* default to empty array
2023-10-17 11:18:29 +02:00
Arwid ThornströmandGitHub 91d6aa1d1a 4230: added functionality for new interior generation (#156)
* added functionality for new interior generation

* update

* fixes
2023-09-12 11:26:17 +02:00
Fredrik RingqvistandGitHub 21ae1c4fb9 Wallpapers use new pricing listprice, external products use old version (#151) 2023-06-12 09:05:47 +02:00
Anders GustafssonandGitHub 1b6c24a5d2 3871 - Add ids filter for products query (#154) 2023-05-31 14:38:23 +02:00
Anders GustafssonandGitHub 6feb7ee388 3769 - Differentiate forbidden and unauthenticated - add product group filter (#153) 2023-05-23 08:40:44 +02:00
Anders GustafssonandGitHub 7f341f510e Fix scopes and promise handling (#152) 2023-05-10 09:17:49 +02:00
Anders GustafssonandGitHub aaaf8c052e 3112 - lowercase facet orientation values (#150) 2023-03-30 10:04:53 +02:00
Anders GustafssonandGitHub 88fc6f67f1 fix timezone for publish date mutation (#149) 2023-03-27 11:08:52 +02:00
Anders GustafssonandGitHub c66a18478b 3384 - add locales to market query (#147) 2023-03-02 12:56:38 +01:00
Anders GustafssonandGitHub c475c1c860 3367 add facets subquery to product (#146) 2023-02-28 10:28:58 +01:00
5bc4e92c92 name & url format fix (#144)
* name & url format fix

* Added pushing staging notes to readme

* push-to-staging

---------

Co-authored-by: Sreeraj Rajendran Nair <sreeraj.rajendran@photowall.com>
2023-02-27 10:52:07 +01:00
Anders GustafssonandGitHub 74f89e9934 3183 get locale data for categories (#143) 2023-02-24 09:24:52 +01:00
Arwid ThornströmandGitHub 0a26a3143e HOTFIX: fixed scopes for designers (#145) 2023-02-23 14:34:02 +01:00
Anders GustafssonandGitHub 1193e2940d Hotfix dataloader for designers (#141) 2023-01-31 15:51:45 +01:00
Anders GustafssonandGitHub 1720280840 3215 Fix 1n issue for products->designer and printProduct->interiors query (#140) 2023-01-26 09:58:18 +01:00
Arwid ThornströmandGitHub 62b93a3656 3124: added listprice to printproduct and public access to product and designers (#138) 2022-12-19 09:29:47 +01:00
Arwid ThornströmandGitHub c68c182b64 3010: Apollo 4 major update and complete security overhaul to prepare for public api support
* 2919: rewrite for update to apollo 4 (#131)

* rewrite for update to apollo 4

* removed container tests, edited make to publish any branch to staging

* revert makefile

* cleanup

* update 1

* more fixes to get it working on aws

* enabled csrf prevention protection, testing if build works

* switched to express version

* changed the healthcheck url

* added cache to restdatasources

* 3011: create a login mutation on graphql server that responds with a access token (#133)

* 3011 added login rest endpoint and general scope fixes

* changed login auth to basic auth username and password

* minor changes from CR feedback

* force update

* added tighter timeout for idle knex connection

* Refactor authentication and scopes (#134)

* big refactor of scopes in graphql

* cr fixes

* some security fixes (#135)

* some security fixes

* cleanup

* update staging

* minor readme change
2022-12-12 12:58:24 +01:00
Fredrik RingqvistandGitHub 4248465031 3001 - Consistent result ordering when paginating products (#130) 2022-11-16 07:58:16 +01:00
Arwid ThornströmandGitHub 72f2e0cb56 126: upgrade libs for graphql major versions (#127)
* upgraded minor and patch libraries

* upgrade lock file for tests

* 126: upgraded all major versions in package.json

* removed unused import
2022-11-01 12:43:18 +01:00
Arwid ThornströmandGitHub 08c6e5718b 124 upgrade libs for graphql minor and patch versions (#125)
* upgraded minor and patch libraries

* upgrade lock file for tests
2022-10-25 14:06:24 +02:00
Rikard BartholfandGitHub e9ecbb4c14 Merge pull request #115 from Photowall/2369-rework-stock-product-handling
Remove references from old stock-tables
2022-09-22 07:58:59 +02:00
Fredrik RingqvistandGitHub ad9375a6f9 Add Designer.excludeFromSearch field (#119) 2022-09-19 15:15:05 +02:00
Rikard Bartholf 0e27f8bd0e Merge branch 'master' into 2369-rework-stock-product-handling 2022-09-14 15:41:24 +02:00
b2fa2f7d8a removing batch info from the url (#116)
* removing batch info from the url

* small CR changes

Co-authored-by: Sreeraj Rajendran Nair <sreeraj.rajendran@photowall.com>
2022-09-07 11:06:07 +02:00
Anders GustafssonandGitHub eeb69fe5f0 Add Query for productByPath (#117) 2022-09-02 11:41:34 +02:00
Niklas FondbergandGitHub f8f91247cf Translate keywords (#114) 2022-07-01 11:54:51 +02:00
Rikard Bartholf c4e872b5d4 Fix failing tests 2022-06-14 17:14:15 +02:00
Rikard Bartholf e0eff32b0e Remove references from old stock-tables 2022-05-23 15:51:35 +02:00
Niklas FondbergandGitHub 9e2ff31b65 Add category locale names (#112) 2022-04-21 11:59:35 +02:00
Niklas FondbergandGitHub 60d4d312f1 Add prod from CMS (#111) 2022-04-19 13:02:48 +02:00
Niklas FondbergandGitHub 1afebfdfdb Revert "Revert "Add publishing date (#107)" (#108)" (#109)
This reverts commit b1da0b547e.
2022-03-14 09:56:21 +01:00
Anders GustafssonandGitHub b1da0b547e Revert "Add publishing date (#107)" (#108) 2022-03-11 09:19:07 +01:00
Niklas FondbergandGitHub cf6b1fd56e Add publishing date (#107) 2022-03-10 16:22:03 +01:00
be5471f958 Add pagination to orders and products (#106)
* Add pagination to orders and products

* remove comment

Co-authored-by: Anders Gustafsson <anders@photowall.se>
2022-02-16 16:20:35 +01:00
Arwid ThornströmandGitHub 3d7a36afc4 fixed id for knex call (#105)
* fixed id for knex call

* other fixes for breaking changes in knex api
2022-02-15 09:20:12 +01:00
Niklas FondbergandGitHub 0685902d9f Upgrade deps and add new relic for tracing and logs (#103)
* Upgrade deps and add new relic for tracing and logs

* Added env variable

* Readd bernard which was accidently removed
2022-02-11 11:50:56 +01:00
e57cab3b23 Adapt for new ordermodel (#97)
Co-authored-by: Niklas Fondberg <niklas.fondberg@photowall.se>
2022-01-20 07:11:43 +01:00
Arwid ThornströmandGitHub ea086568d0 fixed calculations for poster defaults, added tests (#102) 2022-01-12 11:24:06 +01:00
Arwid ThornströmandGitHub 6741e82479 89-poster-defaults (#96)
* print defaults in printproducts

* Add default to printproduct mutation

* added insertDefaults when changing productgroup

* fixed bug for square in square

* cleanup, and tests for calculations

* small fixes, added return values for update
2021-12-08 11:00:15 +01:00
Anders GustafssonandGitHub b556bb8df2 Revert "Remove noise and add stacktraces (#93)" (#98)
This reverts commit 8096e4730c.
2021-12-06 14:30:54 +01:00
haraldphotowallandGitHub 72974521a7 fix batch bug addproduct mutation (#95) 2021-12-03 13:00:45 +01:00
Niklas FondbergandGitHub 8cea3b5db6 Add mass edit of visible, browsable and blacklisting (#86)
* Add massedit WIP

* Add massedit

* Review comments

* Remove more debug
2021-12-03 11:48:10 +01:00
Niklas FondbergandGitHub 8096e4730c Remove noise and add stacktraces (#93) 2021-12-01 12:02:43 +01:00
Niklas FondbergandGitHub e60adb04a9 Fix non awaited promises (#88) 2021-11-18 14:38:13 +01:00
Niklas FondbergandGitHub a979d30314 Fix the dup key issue on i18n name (#85) 2021-11-10 11:38:41 +01:00
Anders GustafssonandGitHub 0afe689200 upgrade to node 16, add search by full product id (#84) 2021-11-02 10:57:11 +01:00
Niklas FondbergandGitHub 043f1455cf Return null if order was not found (#83) 2021-10-29 15:55:28 +02:00