Commit Graph
23 Commits
Author SHA1 Message Date
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
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
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
Arwid ThornströmandGitHub 48972d7090 added comments in code (#81) 2021-10-29 07:22:42 +02:00
Arwid ThornströmandGitHub ac5be19649 77 more search options (#78)
* added search for copyright

* added search by reference
2021-10-22 14:39:46 +02:00
Arwid ThornströmandGitHub 8d9477d85b Added more correct regexp (#76) 2021-10-22 09:03:08 +02:00
Arwid ThornströmandGitHub 3cf38453cd fixed unique path function (#71) 2021-10-12 15:49:28 +02:00
Arwid ThornströmandGitHub 7aff154eb4 added safe slug to productInfo mutation (#70) 2021-10-12 11:34:53 +02:00
Arwid ThornströmandGitHub 1d5d75d354 add unique product path function when addProduct (#67)
* add unique product path function when addProduct

* refactor comments
2021-10-11 11:46:49 +02:00
Arwid ThornströmandGitHub 8b03ab8246 changes to readme to reflect auth changes (#63)
* changes to readme to reflect auth changes

* updated text a bit
2021-10-05 13:53:33 +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
Arwid ThornströmandGitHub 2bbb669032 51: added slash to interiors query uri (#53) 2021-09-22 15:08:09 +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
Arwid ThornströmandGitHub e52c7d4522 42: add product group interiors mutation (#44) 2021-09-16 09:42:06 +02:00
Arwid ThornströmandGitHub 18bd4db37b HOTFIX: fixed no framed-print returned in interiors query (#35) 2021-09-08 09:19:34 +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
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
Arwid ThornströmandGitHub c92482777d P5-7496: orders tests (#3)
* P5-7495: added more db data and more designer tests

* P5-7496: rebuild for sql export, added better test control values

* changed order rows - edge from int to string

* added tests for designer order rows

* remove sql inserts

* Some cleanup and moving files

* package

* removed comments

* added base sql files to pass tests on github CI
2021-07-02 11:17:59 +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