Krzysztof Wolski
790a47ee08
Add order refunded webhook ( #751 )
...
* Update the app sdk package
* Add order refunded webhook
* Add changeset
2023-07-13 17:50:00 +02:00
Krzysztof Wolski
3c6cd4ccec
Update the app sdk package ( #754 )
2023-07-13 17:38:04 +02:00
Krzysztof Wolski
62104473b4
Update tRPC and React-query ( #748 )
...
* Update tRPC and TypeScript
* Fix return types to fix types after the update
* Add changesets
* Use an exact version
* Update react query
2023-07-11 21:32:58 +02:00
Lukasz Ostrowski
e7c2d3a877
Update TS and ESLint ( #734 )
2023-07-11 17:02:38 +02:00
Lukasz Ostrowski
4162b63a40
Release apps ( #690 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-10 11:38:52 +02:00
Krzysztof Wolski
be4e7d2922
Add gift card permission to the manifest and block event ( #733 )
...
* Handle missing permissions and old Saleor Version
* Throw an error when fetching app permissions fails
2023-07-10 11:04:21 +02:00
Krzysztof Wolski
d4089ab519
Add metadata and privateMetadata to webhook payloads ( #730 )
...
* Add metadata and privateMetadata to webhook payloads
* Add changeset
2023-07-07 13:01:36 +02:00
Krzysztof Wolski
e1980aae90
📧 Prevent users from enabling events without the template ( #722 )
...
* Prevent users from enabling events without the template
* Add test for the events update validation
2023-07-06 09:02:08 +02:00
Krzysztof Wolski
78670ce712
📧 Improve log formatting ( #724 )
...
* Improve log formatting
2023-07-05 17:17:49 +02:00
Krzysztof Wolski
bda814b7b3
📧 Fix for setting up SMTP transport ( #723 )
...
* Fix SMTP transport settings based on encryption
* Stop reporting debug message as error
* Shave some time on fetching configurations
* Add changeset
2023-07-05 11:26:49 +02:00
Lukasz Ostrowski
2d77bca353
Update nextjs to 13.4.8 ( #720 )
...
* Update nextjs to 13.4.8
* Update .changeset/neat-queens-draw.md
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
---------
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2023-07-04 12:43:57 +02:00
Lukasz Ostrowski
47102ba98c
Update menifests to reflect dynamic urls from env ( #695 )
2023-07-03 11:57:50 +02:00
Lukasz Ostrowski
a1f083c0bc
Add about field in manifest of all apps. Sorted fields ( #691 )
...
* Add about field in manifest of all apps. Sorted fields
* Add missing logo
* Update apps/klaviyo/src/pages/api/manifest.ts
Co-authored-by: Adrian Pilarczyk <admin@peelar.dev>
---------
Co-authored-by: Adrian Pilarczyk <admin@peelar.dev>
2023-06-30 14:01:46 +02:00
Lukasz Ostrowski
6299e064b6
Update app-sdk ( #672 )
...
* Update app-sdk to dev release and temporary display saleor versions in search app
* Update app-sdk
* add changeset
* Removed temp code
2023-06-29 14:35:57 +02:00
Lukasz Ostrowski
9b65569ec3
Release apps ( #556 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-28 15:17:54 +02:00
Krzysztof Wolski
6250095a4e
📧 Introduce new event - Gift Card Sent ( #661 )
...
* Introduce new event - Gift Card Sent
* Add feature flag service and use it with gift card event
* Add saleor version check on install
2023-06-28 11:39:26 +02:00
Krzysztof Wolski
00e49bac11
📧 Improve descriptions ( #666 )
...
* Update description of the API key input
* Add space between description and link
* Add changeset
2023-06-22 11:43:57 +02:00
Krzysztof Wolski
59ff617282
Fix missing MANAGE APPS permission when using client provided in context ( #663 )
...
* Fix using wrong token for creating gql client
* Update gorgeous-hats-learn.md
2023-06-20 17:21:31 +02:00
Krzysztof Wolski
82dfc3fa6f
📧 Dynamic webhook management ( #646 )
...
* Make channels section expandable based on override setting
* Revert "Make channels section expandable based on override setting"
This reverts commit e107c5e990b4110156043ed494fb0054bd936654.
* Add status component
* Remove no longer used component
* Remove no longer used component
* Removed webhook creation during App installation
* Extend tRPC meta to contain webhook sync flag
* Add app baseUrl to the context
* Webhook management service
* Add changeset
2023-06-20 11:38:32 +02:00
Lukasz Ostrowski
ec68ed53a3
Sentry improvements ( #652 )
...
* Update Sentry in CMS
update turbo
Add test logs for cms
test sentry
Update sentry config and next config
* resolve conflict
* Add changesets
* Remove test code
2023-06-20 10:06:18 +02:00
Krzysztof Wolski
a1ad70e879
Unify urql version, use shared util to create client ( #657 )
...
* Add createGraphQLClient util to shared package
* Update urql version and use createGraphQLClient from shared package
* Update urql version and use createGraphQLClient from shared package - data importer
* Update urql version and use createGraphQLClient from shared package - cms
* Update CRM
* Update invoices
* Update klaviyo
* Update slack
* Update products feed
* Update search
* Remove unused urql next
* Update monitoring
* Update taxes
* Remove multipart since no longer used
* Update the lockfile
* Removed urql introspection since none of our apps used it
* Add changeset
2023-06-19 15:59:27 +02:00
Krzysztof Wolski
8287075e29
📧 Improve SMTP event section ( #548 )
...
* Make channels section expandable based on override setting
* Revert "Make channels section expandable based on override setting"
This reverts commit e107c5e990b4110156043ed494fb0054bd936654.
* Improve copy in the descriptions
* Handle partial updates i n events
* Add status component
* Fix typos and types
* Improve SMTP events section
* Add changeset
* Implement event sections as tables with array form
* Update the changelog
* Remove no longer used component
* Add empty option for template choice
* Remove no longer used component
* Update the test
2023-06-15 10:52:39 +02:00
Lukasz Ostrowski
cb6ee2920b
Update dependencies ( #568 )
...
* Update deps
* update deps
* update deps
* Changeset
* update lock
2023-06-15 08:18:54 +02:00
Lukasz Ostrowski
1dead1e54f
Add logo to apps ( #552 )
...
* Add logo to manifest
* dirty fix build
fix image
update image to high res
Update sdk
Add logos to manifests
Update sdk
update sdk
* fix package in cms
* fix lock
* remove sdk from macaw binding package
* update sdk
2023-06-14 16:05:36 +02:00
Lukasz Ostrowski
860bac46db
update sdk
2023-06-14 13:13:04 +02:00
Lukasz Ostrowski
ff9665b70f
Release apps ( #542 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-12 14:09:15 +02:00
Krzysztof Wolski
e106ab9ff4
📧 Improve section descriptions ( #547 )
...
* Improve copy in the descriptions
* Add changeset
* Improve descriptions in the SMTP module
* Improve grammar
Co-authored-by: Adrian Pilarczyk <admin@peelar.dev>
2023-06-12 13:30:20 +02:00
Krzysztof Wolski
cce2fbc3d5
📧 Improve layout and white-space ( #546 )
...
* Bump macaw version
* Make channels section expandable based on override setting
* Add margins to dangerous section, improve copy
* Add padding between section header and its description
* Limit width of provider selection boxes
* Use proper variant of the button
* More whitespace between description and box in the sections
* Remove text
* Revert "Make channels section expandable based on override setting"
This reverts commit e107c5e990b4110156043ed494fb0054bd936654.
* Add changelog
* Improve grammar
Co-authored-by: Adrian Pilarczyk <admin@peelar.dev>
---------
Co-authored-by: Adrian Pilarczyk <admin@peelar.dev>
2023-06-12 13:18:31 +02:00
Krzysztof Wolski
928c727c35
Update macaw-ui version ( #541 )
...
* Bump macaw version
* Add changeset
* CRM update spacing mapping
* Update spacing mapping for invoices app
* Update products feed spacing mapping
* Fix accordion in webhook status, add trigger button
* Update search spacing mapping
* Improve the changelog message
* Update spacing mapping in EAM app
2023-06-09 11:42:40 +02:00
Lukasz Ostrowski
a8834a11fe
Update dev dependencies ( #540 )
...
* Update Typescript to 5.1.3
* Update Turborepo
* Update turborepo eslint config
* Update ESLint and unify version
* Changeset
* unify eslint rules and node types and moved them to root
* unify app-sdk version
* unify codegen packages across monorepo
* unify graphql package
* update lock
* enabled eslint during invoices build with next build
* Format package jsons
* push scripts to the top of package json
2023-06-07 09:25:39 +02:00
Lukasz Ostrowski
57fec74663
Release apps ( #520 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-06 12:59:16 +02:00
Krzysztof Wolski
86c2b7b10b
📧 Add runtime migrations to schema v2 ( #535 )
...
* Add runtime migrations to schema v2
* V2 migration scripts (#536 )
2023-06-06 11:51:59 +02:00
Lukasz Ostrowski
0c2fc65ac6
Update Vite and Vitest across packages ( #524 )
...
* Update Vite and Vitest across packages
* Add changeset
2023-06-01 10:36:20 +02:00
Krzysztof Wolski
80030644a7
Update design to new Macaw ( #426 )
...
* Update E&M Provider UI (#459 )
* Emails and messages: use App UI package (#511 )
* Add changeset
2023-05-31 18:08:43 +02:00
Lukasz Ostrowski
2c1495a44d
Release 2023-05-30
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-30 22:10:40 +02:00
Lukasz Ostrowski
6e69f4f9f0
Add removing metadata in CRM app ( #507 )
...
* Add dev app-sdk and rewrite undefined metadata to removing it
* Implement metadata manager delete method
* Update app-sdk to 0.39.1 in all packages
* Update swift-boxes-drop.md
2023-05-24 16:08:12 +02:00
Lukasz Ostrowski
8e0b08523b
Release apps ( #487 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-23 15:08:26 +02:00
Lukasz Ostrowski
4801803ea0
Sentry missing config ( #481 )
...
* Add Sentry config to Emails & Messages app
* Add Sentry config to Product Feed app
* Add Sentry config to CRM app
* ADd changeset
* Clean up sentry boilderplate
2023-05-21 18:28:17 +02:00
Lukasz Ostrowski
f76d8fe8da
Release apps ( #473 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-18 14:55:30 +02:00
Lukasz Ostrowski
c4063188ca
Update app-sdk to 0.38.0 ( #464 )
2023-05-17 18:57:09 +02:00
Lukasz Ostrowski
1fd0960562
Release 2023-05-15
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-15 17:32:04 +02:00
Lukasz Ostrowski
8b22b1c1f8
Fix logs ( #452 )
...
* Add pino and pino-pretty to every package, to fix logger failing
* Fix taxes child logger
* Fix Search child logger
* Update examples .env
* changeset
2023-05-10 16:57:20 +02:00
Lukasz Ostrowski
a3d87be3f4
Release 2023-05-05
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-05 08:47:22 +02:00
Lukasz Ostrowski
830cfe92ce
Extract logger ( #439 )
...
* Extract logger
* Replace logger with shared one
* Replace CRM logger with shared one
* Replace E&M logger with shared one
* Replace invoices logger with shared one
* Replace Products Feed logger with shared one
* Replace Search logger with shared one
* Replace Taxes logger with shared one
* Uninstall pino from apps direct dependency
* Update docs
* Update changeset
* Bumped Klaviyo typescript version to hopefully unblock the build
* Change packageManager field to pnpm 8.2.0
* removed package manager field from klaviyo package.json
2023-05-05 08:15:47 +02:00
Lukasz Ostrowski
fc7a70f598
Search redesign to Macaw 2.0 ( #420 )
...
* Redesign
* Better form
* Remove searchKey
* Update macaw
* Test setup
* fix build
* Create curly-jars-doubt.md
* Unify vitest to (hopefully) fix build
* fix lock
* update macaw and review fixes
* fix build
2023-04-25 18:20:20 +02:00
Lukasz Ostrowski
8424989dad
Release apps ( #389 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-21 12:04:30 +02:00
Krzysztof Wolski
ede7a2e808
Notify event webhook for customer emails ( #408 )
...
* Support Notify webhook for account operations
* Fix the comment
* Do not expose internal types of the event
* Remove debug message
2023-04-19 15:56:45 +02:00
Lukasz Ostrowski
2c0df91351
Apply recent ESLint rules on the codebase ( #404 )
...
* Add lint:fix script
* Reformat CRM app with eslint fix
* Apply eslint fix on data importer codebase
* Apply eslint fix on Invoices codebase
* Apply eslint fix on Klaviyo codebase
* Apply eslint fix on products-feed codebase
* Apply eslint fix on monitoring codebase
* Apply eslint fix on Search codebase
* Apply eslint fix on Slack codebase
* cleanup
2023-04-18 15:10:00 +02:00
Lukasz Ostrowski
57f6d41bc4
Update manifests to contain up to date author, homepage, support and privacy fields ( #399 )
2023-04-18 14:04:14 +02:00
Adrian Pilarczyk
453baf78a1
feat: finalize order process ( #355 )
...
* feat: ✨ add dummy order-created
* refactor: 🔥 unused private-providers-configuration-service
* feat: ✨ add dummy order-fulfilled
* refactor: 🚚 move provider-config
* refactor: 🚚 crudSettingsConfigurator -> crudSettingsManager
* refactor: ♻️ [tax-provider].ts -> [tax-provider]-webhook.service.ts
* feat: ✨ add dummy createOrder
* refactor: ♻️ distinguish between salesOrder and salesInvoice in avatax
* refactor: 🚚 [provider]-calculate.ts to [provider]-transform.ts
* refactor: 🚚 ResponseTaxPayload to tax-provider-webhook.ts
* refactor: 🚚 ResponseTaxPayload -> CalculateTaxesResponse
* refactor: ♻️ webhooks with active-tax-provider.service.ts
* feat: ✨ add skeleton orderCreate functionality
* refactor: ♻️ [provider]-transform.ts -> [provider]-[webhook]-transform.ts
* feat: ✨ add order-fulfilled with avatax call
* refactor: ♻️ move getActiveTaxProvider to active-tax-provider
* refactor: 🏷️ export types for [provider]-client function args
* refactor: 🚚 UpdateAppMetadata -> UpdateMetadata
* feat: ✨ fulfill order with id from metadata
* build: ⬆️ upgrade avatax
* feat: ✨ commit transaction on fulfill in avatax
* fix: 🐛 return of webhooks to ensure valid retry behavior
* refactor: 🚚 [provider]-[webhook]-transform -> [provider]-[webhook]-map
* refactor: 🏷️ export types of avatax-calculate-taxes mapPayload
* refactor: ♻️ extract address-map to separate function
* refactor: ♻️ remove schema.ts
* refactor: ♻️ move addressSchema to channels-config.ts
* feat: ✨ add tests & placeholder tests for avatax & taxjar maps
* refactor: ♻️ throw error if no metadata
* refactor: ♻️ change EXTERNAL_ID_KEY to PROVIDER_ORDER_ID_KEY
add comments
* refactor: ♻️ comments -> it.todo in tests
* refactor: 💡 add comment about shipping_item_code
* refactor: ✅ add todo items for tests
* refactor: ♻️ remove export and add sumLines to taxJarOrderCreated
* refactor: ♻️ address-map with avatarAddressFactory
* docs: 💡 add comment about MOCKED_SALEOR_PAYLOAD
* refactor: ♻️ remove export of mapLines and add to avataxCalculateTaxes
* style: 🎨 add newline-after-var warn to eslint-config-saleor
* style: 🎨 autofix newline-after-var in taxes
* test: ✅ restructure tests according to new naming in address-map
* refactor: ♻️ add shippingItemCode to avataxCalculateTaxes wrapper object
* refactor: 🚚 payloadProps -> payloadArgs
* refactor: ♻️ add Maps suffix to map wrapper objects
* refactor: ♻️ remove data: null from ActiveTaxProviderResult
* refactor: ♻️ maintain the object hierarchy in tests
* refactor: ♻️ refactor webhook responses with WebhookResponseFactory
* build: ⬆️ vitest
* test: ✅ add tests for get-app-config-test
* test: ✅ add tests for getActiveTaxProvider
* refactor: ♻️ use address fragment for taxBase and order
* refactor: ♻️ rename WebhookResponseFactory -> WebhookResponse
* style: 👷 add multiline-comment-style
* fix: 🐛 dummy test in get-app-config.test.ts
* refactor: ♻️ rename AddressFragment -> Address
* refactor: ♻️ use debug instead of error in webhook-response noRetry
* refactor: ♻️ refactor as variables in mutation
* build: 👷 add changeset
* refactor: ♻️ split changesets in two
* build: ⬆️ vite
* build: ⬆️ vite && vitest in all apps
2023-04-17 13:58:21 +02:00