Commit Graph
202 Commits
Author SHA1 Message Date
Anders GustafssonandGitHub 1720280840 3215 Fix 1n issue for products->designer and printProduct->interiors query (#140) 2023-01-26 09:58:18 +01:00
Anders GustafssonandGitHub 675f366025 3125 - Update to new Github auth (#139) 2023-01-25 10:59:11 +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 28d643003e redeploy (#137) 2022-12-12 13:23:12 +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
Arwid ThornströmandGitHub ec6f2b73de 121: updated the makefile to be able to publish production-web stack. (#122) 2022-10-24 10:27:04 +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 0ac79e9675 Fix typo in README 2022-06-15 10:04:41 +02:00
Rikard Bartholf 2132acf2b7 Update README 2022-06-15 10:04:18 +02:00
Rikard Bartholf bf6680ecbe Cleanup 2022-06-14 17:25:59 +02:00
Rikard Bartholf c4e872b5d4 Fix failing tests 2022-06-14 17:14:15 +02:00
Rikard Bartholf c69ae8648e WIP 2022-06-14 17:06:06 +02:00
Niklas FondbergandGitHub 35ad46cb6d Upgrade deps (#113)
* Upgrade deps

* Fixed versions

* Script to translate all keywords

* Delete translate_all_keywords.js
2022-06-07 12:32:03 +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
Niklas FondbergandGitHub c4e04dc616 Update new-relic.yml 2022-02-23 13:05:44 +01:00
Niklas FondbergandGitHub 5cec0111d6 Update new-relic.yml 2022-02-23 12:37:58 +01:00
Niklas FondbergandGitHub 75cce9aa74 Update new-relic.yml 2022-02-23 12:34:32 +01:00
Niklas FondbergandGitHub e8c5c0d0ee Update new-relic.yml 2022-02-23 12:31:30 +01:00
Niklas FondbergandGitHub d5ebf9ced8 Add new relic deployment marker 2022-02-23 12:26:06 +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
Niklas FondbergandGitHub 8deebb3b1e Update node.js.yml 2022-02-11 09:53:14 +01:00
Niklas FondbergandGitHub 8fd5d4927c Update node.js.yml 2022-02-11 09:52:36 +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
Niklas FondbergandGitHub 949de5e5e5 Add order by to return first order (#82) 2021-10-29 12:27:47 +02:00
Arwid ThornströmandGitHub 48972d7090 added comments in code (#81) 2021-10-29 07:22:42 +02:00