Skip to content

Commit

Permalink
Bump version to 1.17.4 (#440)
Browse files Browse the repository at this point in the history
  • Loading branch information
nudded authored Dec 24, 2024
1 parent 87bcb72 commit 18374c6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion api
Submodule api updated 98 files
+1 −0 app/config/permissions/definition.yml
+13 −5 app/controllers/api/v1/credit_notes_controller.rb
+34 −0 app/graphql/mutations/data_exports/credit_notes/create.rb
+26 −11 app/graphql/resolvers/credit_notes_resolver.rb
+14 −0 app/graphql/resolvers/customers/invoice_custom_sections_resolver.rb
+15 −0 app/graphql/types/data_exports/credit_notes/create_input.rb
+14 −0 app/graphql/types/data_exports/credit_notes/export_type_enum.rb
+25 −0 app/graphql/types/data_exports/credit_notes/filters_input.rb
+2 −0 app/graphql/types/data_exports/invoices/export_type_enum.rb
+1 −0 app/graphql/types/mutation_type.rb
+1 −0 app/graphql/types/query_type.rb
+2 −2 app/jobs/clock/compute_all_daily_usages_job.rb
+1 −1 app/jobs/daily_usages/compute_job.rb
+13 −0 app/jobs/invoices/provider_taxes/pull_taxes_and_apply_job.rb
+1 −0 app/models/cached_aggregation.rb
+4 −0 app/models/credit_note.rb
+6 −0 app/models/customer.rb
+4 −2 app/models/daily_usage.rb
+5 −2 app/models/invoice.rb
+4 −0 app/models/payment_providers/adyen_provider.rb
+8 −0 app/models/payment_providers/base_provider.rb
+4 −0 app/models/payment_providers/gocardless_provider.rb
+19 −9 app/models/payment_providers/stripe_provider.rb
+2 −0 app/models/wallet.rb
+81 −6 app/queries/credit_notes_query.rb
+4 −1 app/services/charge_filters/create_or_update_batch_service.rb
+6 −6 app/services/daily_usages/compute_all_service.rb
+4 −6 app/services/daily_usages/compute_diff_service.rb
+12 −5 app/services/daily_usages/compute_service.rb
+3 −2 app/services/daily_usages/fill_from_invoice_service.rb
+3 −3 app/services/daily_usages/fill_history_service.rb
+3 −1 app/services/events/create_batch_service.rb
+3 −1 app/services/events/create_service.rb
+12 −0 app/services/events/validate_creation_service.rb
+3 −1 app/services/integration_customers/create_service.rb
+1 −1 app/services/invoices/compute_amounts_from_fees.rb
+7 −9 app/services/invoices/payments/create_service.rb
+15 −8 app/services/invoices/payments/stripe_service.rb
+139 −0 app/services/invoices/provider_taxes/pull_taxes_and_apply_service.rb
+1 −0 app/services/invoices/refresh_draft_service.rb
+1 −1 app/services/payment_provider_customers/stripe/update_payment_method_service.rb
+2 −2 app/services/payment_providers/adyen/payments/create_service.rb
+2 −2 app/services/payment_providers/gocardless/payments/create_service.rb
+7 −5 app/services/payment_providers/stripe/payments/create_service.rb
+2 −14 app/services/payment_requests/payments/adyen_service.rb
+2 −15 app/services/payment_requests/payments/gocardless_service.rb
+2 −15 app/services/payment_requests/payments/stripe_service.rb
+3 −3 app/services/wallets/create_service.rb
+10 −0 db/migrate/20241217120924_add_indexes_to_invoices.rb
+9 −0 db/migrate/20241219145642_add_usage_date_to_daily_usages.rb
+11 −0 db/migrate/20241219152909_add_index_on_usage_date_to_daily_usages.rb
+36 −0 db/migrate/20241220084758_fix_charge_properties_with_double_values.rb
+58 −0 db/migrate/20241220095049_backfill_payable_payment_status.rb
+12 −0 db/migrate/20241220160748_index_cached_aggregation.rb
+8 −0 db/migrate/20241223144027_backfill_failed_payable_payment_status.rb
+6 −1 db/schema.rb
+82 −7 schema.graphql
+545 −30 schema.json
+0 −0 scripts/start.clock.worker.sh
+3 −0 scripts/start.webhook.worker.sh
+4 −1 spec/factories/charges.rb
+1 −0 spec/factories/daily_usages.rb
+10 −0 spec/factories/payments.rb
+61 −0 spec/graphql/mutations/data_exports/credit_notes/create_spec.rb
+0 −1 spec/graphql/mutations/data_exports/invoices/create_spec.rb
+162 −65 spec/graphql/resolvers/credit_notes_resolver_spec.rb
+44 −0 spec/graphql/resolvers/customers/invoice_custom_sections_resolver_spec.rb
+20 −0 spec/graphql/types/data_exports/credit_notes/filters_input_spec.rb
+7 −6 spec/jobs/clock/compute_all_daily_usages_job_spec.rb
+23 −0 spec/jobs/invoices/provider_taxes/pull_taxes_and_apply_job_spec.rb
+42 −0 spec/models/customer_spec.rb
+1 −1 spec/models/daily_usage_spec.rb
+16 −0 spec/models/invoice_spec.rb
+460 −89 spec/queries/credit_notes_query_spec.rb
+0 −44 spec/queries/invoices_query_spec.rb
+256 −125 spec/requests/api/v1/credit_notes_controller_spec.rb
+56 −0 spec/requests/api/v1/events_controller_spec.rb
+39 −0 spec/services/charge_filters/create_or_update_batch_service_spec.rb
+1 −1 spec/services/daily_usages/compute_all_service_spec.rb
+4 −4 spec/services/daily_usages/compute_diff_service_spec.rb
+37 −21 spec/services/daily_usages/compute_service_spec.rb
+17 −14 spec/services/daily_usages/fill_from_invoice_service_spec.rb
+29 −0 spec/services/events/create_batch_service_spec.rb
+11 −0 spec/services/events/create_service_spec.rb
+26 −0 spec/services/events/validate_creation_service_spec.rb
+19 −1 spec/services/integration_customers/create_service_spec.rb
+1 −2 spec/services/invoices/calculate_fees_service_spec.rb
+22 −11 spec/services/invoices/payments/create_service_spec.rb
+426 −0 spec/services/invoices/provider_taxes/pull_taxes_and_apply_service_spec.rb
+1 −2 spec/services/invoices/refresh_draft_and_finalize_service_spec.rb
+1 −2 spec/services/invoices/retry_service_spec.rb
+2 −4 spec/services/invoices/subscription_service_spec.rb
+4 −6 spec/services/payment_provider_customers/stripe/update_payment_method_service_spec.rb
+10 −2 spec/services/payment_providers/stripe/payments/create_service_spec.rb
+1 −0 spec/services/payment_requests/payments/adyen_service_spec.rb
+1 −0 spec/services/payment_requests/payments/gocardless_service_spec.rb
+20 −0 spec/services/wallets/create_service_spec.rb
+1 −0 spec/spec_helper.rb
14 changes: 7 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:

api:
container_name: lago-api
image: getlago/api:v1.17.3
image: getlago/api:v1.17.4
restart: unless-stopped
depends_on:
- db
Expand Down Expand Up @@ -94,7 +94,7 @@ services:

front:
container_name: lago-front
image: getlago/front:v1.17.3
image: getlago/front:v1.17.4
restart: unless-stopped
# Use this command if you want to use SSL with Let's Encrypt
# command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g \"daemon off;\"'"
Expand Down Expand Up @@ -133,7 +133,7 @@ services:

api-worker:
container_name: lago-worker
image: getlago/api:v1.17.3
image: getlago/api:v1.17.4
restart: unless-stopped
depends_on:
api:
Expand Down Expand Up @@ -184,7 +184,7 @@ services:
# It is recommendend if you have a high usage of events to not impact the other Sidekiq Jobs.
#api-events-worker:
# container_name: lago-events-worker
# image: getlago/api:v1.17.3
# image: getlago/api:v1.17.4
# restart: unless-stopped
# depends_on:
# api:
Expand Down Expand Up @@ -229,7 +229,7 @@ services:
# It is recommended if you have a high usage of invoices being created to not impact the other Sidekiq Jobs.
#api-pdfs-worker:
# container_name: lago-pdfs-worker
# image: getlago/api:v1.17.3
# image: getlago/api:v1.17.4
# restart: unless-stopped
# depends_on:
# api:
Expand Down Expand Up @@ -274,7 +274,7 @@ services:
# It is recommended if you have a high usage of invoices being created to not impact the other Sidekiq Jobs.
#api-billing-worker:
# container_name: lago-billing-worker
# image: getlago/api:v1.17.3
# image: getlago/api:v1.17.4
# restart: unless-stopped
# depends_on:
# api:
Expand Down Expand Up @@ -408,7 +408,7 @@ services:

api-clock:
container_name: lago-clock
image: getlago/api:v1.17.3
image: getlago/api:v1.17.4
restart: unless-stopped
depends_on:
api:
Expand Down
2 changes: 1 addition & 1 deletion front
Submodule front updated 71 files
+1 −0 __mocks__/styleMock.js
+1 −1 cypress/e2e/10-resources/t50-edit-plan.cy.ts
+2 −2 cypress/e2e/10-resources/t60-coupons-create-edit-apply.cy.ts
+1 −1 cypress/e2e/t10-add-subscription.cy.ts
+2 −2 cypress/e2e/t30-create-one-off-invoice.cy.ts
+1 −0 jest.config.js
+1 −1 nginx/nginx.conf
+1 −1 package.json
+1 −12 src/App.tsx
+0 −98 src/components/DebugInfoDialog.tsx
+1 −1 src/components/GenericPlaceholder.tsx
+48 −0 src/components/PaymentProviderChip.tsx
+3 −13 src/components/SearchInput.tsx
+0 −2 src/components/auth/GoogleAuthButton.tsx
+4 −10 src/components/creditNote/CreditNoteFormCalculation.tsx
+189 −165 src/components/creditNote/CreditNotesTable.tsx
+0 −189 src/components/customers/CustomerItem.tsx
+63 −45 src/components/customers/DeleteCustomerDialog.tsx
+1 −4 src/components/designSystem/Avatar.tsx
+1 −1 src/components/designSystem/Filters/ActiveFiltersList.tsx
+48 −17 src/components/designSystem/Filters/FiltersPanelItemTypeSwitch.tsx
+99 −0 src/components/designSystem/Filters/filtersElements/FiltersItemAmount.tsx
+51 −0 src/components/designSystem/Filters/filtersElements/FiltersItemCreditNoteCreditStatus.tsx
+36 −0 src/components/designSystem/Filters/filtersElements/FiltersItemCreditNoteReason.tsx
+51 −0 src/components/designSystem/Filters/filtersElements/FiltersItemCreditNoteRefundStatus.tsx
+64 −0 src/components/designSystem/Filters/filtersElements/FiltersItemInvoiceNumber.tsx
+40 −20 src/components/designSystem/Filters/types.ts
+127 −21 src/components/designSystem/Filters/utils.ts
+3 −2 src/components/designSystem/Popper.tsx
+18 −3 src/components/designSystem/Table/Table.tsx
+2 −3 src/components/designSystem/Toasts/Toast.tsx
+39 −74 src/components/exports/ExportDialog.tsx
+24 −132 src/components/form/Checkbox/Checkbox.tsx
+105 −0 src/components/form/Checkbox/CheckboxIcon.tsx
+8 −13 src/components/form/ComboBox/ComboBoxInput.tsx
+52 −283 src/components/form/JsonEditor/JsonEditor.tsx
+153 −0 src/components/form/JsonEditor/jsonEditor.css
+7 −1 src/components/form/MultipleComboBox/MultipleComboBox.tsx
+28 −0 src/components/form/TextInput/TextInput.tsx
+1 −13 src/components/form/TextInput/TextInputField.tsx
+2 −7 src/components/invoices/EditInvoiceDisplayName.tsx
+2 −10 src/components/invoices/EditInvoiceItemDescriptionDialog.tsx
+2 −7 src/components/invoices/EditInvoicePaymentStatusDialog.tsx
+2 −6 src/components/plans/ChargeAccordion.tsx
+12 −14 src/components/plans/ChargePercentage.tsx
+2 −5 src/components/plans/FixedFeeSection.tsx
+6 −53 src/components/plans/GraduatedChargeTable.tsx
+6 −53 src/components/plans/GraduatedPercentageChargeTable.tsx
+2 −6 src/components/plans/PlanSettingsSection.tsx
+8 −60 src/components/plans/ProgressiveBillingSection.tsx
+2 −8 src/components/plans/StandardCharge.tsx
+6 −53 src/components/plans/VolumeChargeTable.tsx
+2 −7 src/components/settings/invoices/EditOrganizationInvoiceTemplateDialog.tsx
+1 −1 src/core/serializers/serializePlanInput.ts
+466 −175 src/generated/graphql.tsx
+3 −14 src/pages/Analytics.tsx
+2 −6 src/pages/CreateAddOn.tsx
+4 −11 src/pages/CreateCoupon.tsx
+31 −29 src/pages/CreateCreditNote.tsx
+2 −6 src/pages/CreateInvoice.tsx
+5 −7 src/pages/CustomerDetails.tsx
+158 −173 src/pages/CustomersList.tsx
+204 −14 src/pages/InvoicesPage.tsx
+2 −7 src/pages/auth/ForgotPassword.tsx
+2 −7 src/pages/auth/ResetPassword.tsx
+0 −19 src/public/icons/forms/checkbox-checked.svg
+0 −10 src/public/icons/forms/checkbox-indeterminate.svg
+0 −3 src/public/icons/forms/checkbox.svg
+1 −0 tailwind.config.ts
+23 −16 translations/base.json
+48 −24 yarn.lock

0 comments on commit 18374c6

Please sign in to comment.