Commit Graph
35 Commits
Author SHA1 Message Date
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
Niklas FondbergandGitHub f8f91247cf Translate keywords (#114) 2022-07-01 11:54:51 +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 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
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
Niklas FondbergandGitHub 8096e4730c Remove noise and add stacktraces (#93) 2021-12-01 12:02:43 +01:00
Niklas FondbergandGitHub a979d30314 Fix the dup key issue on i18n name (#85) 2021-11-10 11:38:41 +01:00
Niklas FondbergandGitHub 56ad07edf8 Add translation for product names (#74) 2021-10-26 10:08:25 +02:00
Niklas FondbergandGitHub 640849de45 Add access control (#65) 2021-10-11 16:53:18 +02:00
Anders GustafssonandGitHub dc90d2e9b2 60 verify token is valid (#61) 2021-10-04 12:49:13 +02:00
Anders GustafssonandGitHub a270d0d523 57 basic auth dev only (#58) 2021-09-29 10:43:51 +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
Niklas FondbergandGitHub cb4a7c40b7 Add product blacklisting mutation (#18) 2021-09-01 15:27:52 +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 bd7655eabe P5-7632 Remove graphiql web query browser (#13) 2021-08-13 13:37:55 +02:00
Niklas FondbergandGitHub 58ed7fbf6a P5 7617 cleanup market and locale (#10)
* Minor fixes

* Cleanup with adding Locale type

* Add locales to test
2021-08-12 10:51:02 +02:00
Niklas FondbergandGitHub d17df41d86 Added product admin features 2021-07-26 10:35:52 +02:00
Niklas Fondberg 267bc4f1c9 Add keywords and product types 2021-07-07 16:16:58 +02:00
Niklas Fondberg f66dbe33d7 Major refactor 2021-07-06 15:57:22 +02:00
Niklas Fondberg 6bca11c62d Do not verify token during tests 2021-07-06 12:25:38 +02:00
Niklas Fondberg 4b7133a9ab Add token verification with development basic header 2021-07-06 10:31:04 +02:00
Arwid ThornströmandGitHub 74796e23a8 P5-7141: basic tests (#1)
* added containers for db and apollo

* connected to test db

* added network again

* Added base for tests
2021-06-17 11:04:22 +02:00
Niklas Fondberg e33d21e320 WIP 2021-04-19 10:14:54 +02:00
Niklas Fondberg 3c648cee29 Added designers 2021-04-08 23:11:24 +02:00
Niklas Fondberg f60a51a94b Add product 2021-04-08 15:09:31 +02:00
Niklas Fondberg 949c641410 Add embryo to products 2021-04-06 15:49:41 +02:00
Niklas Fondberg 813f4c8e47 Working version 2021-04-06 14:53:20 +02:00
Niklas Fondberg 4532fbc853 WIP 2021-04-06 09:56:18 +02:00