Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge dev into next #199

Merged
merged 17 commits into from
Jul 5, 2023
Merged

merge dev into next #199

merged 17 commits into from
Jul 5, 2023

Commits on Jun 13, 2023

  1. APP-366: fix(migrations/container): sslmode cases

    This fixes a regression with databases connections that set an explicit
    `sslmode`. Previously we had disabled it for all cases, assuming no
    parameter would be provided.
    
    This time we adapt to the possible case, in which an SSL mode is provided,
    but in a notation not known by PostgreSQL.
    We have seen cases, in which `no-verify` is specified for configuring the
    `api-server` `psql` client, which we set to `require`, instead of the (possibly
    insecure) default of `prefer`.
    
    To cite https://www.postgresql.org/docs/current/libpq-ssl.html#LIBQ-SSL-CERTIFICATES
    
        "By default, PostgreSQL will not perform
        any verification of the server certificate."
    
    This differs from the default in the Postgres library we use `pq`,
    citing https://node-postgres.com/announcements#2020-02-25
    
        "Now we will use the default ssl options to tls.connect
        which includes rejectUnauthorized being enabled.
        This means your connection attempt may fail
        if you are using a self-signed cert."
    
    As per that announcement, the behaviour is intentionally inherited from:
    
    - https://nodejs.org/api/tls.html#tls_tls_connect_options_callback
    
    As specifying an `sslmode`, even with `no-verify`, implies that we want to enforce
    a secure connection, we are falling back to a sane default, `require`.
    
    Reference:
    
    - https://www.postgresql.org/docs/current/libpq-ssl.html#LIBPQ-SSL-SSLMODE-STATEMENTS
    - https://github.com/brianc/node-postgres/blob/46cfb25baf8fdba87f71c3888fcb0021eaf829d3/packages/pg-connection-string/README.md?plain=1#L69-L72
    - https://github.com/brianc/node-postgres/blob/master/packages/pg/lib/connection-parameters.js#L30-L31
    - https://github.com/brianc/node-postgres/blob/master/packages/pg-connection-string/index.js#L98-L101
    - brianc/node-postgres#2720
    almereyda committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    2be42bd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d22ef13 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2023

  1. Configuration menu
    Copy the full SHA
    41ec9da View commit details
    Browse the repository at this point in the history
  2. Merge pull request #193 from CirclesUBI/feature/app-380-dont-display-…

    …the-root-organization-in-the-marketplace
    
    filter the OPERATOR_ORGANIZATION from the market list (allBusinesses)
    jaensen authored Jun 17, 2023
    Configuration menu
    Copy the full SHA
    3a62d5c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    818e65b View commit details
    Browse the repository at this point in the history
  4. Merge pull request #194 from CirclesUBI/feature/app-381-sort-order-fo…

    …r-cursor-pagination-is-not-consistent
    
    add a secondary order column for columns that contain duplicates (ord…
    jaensen authored Jun 17, 2023
    Configuration menu
    Copy the full SHA
    091114e View commit details
    Browse the repository at this point in the history
  5. 0.9.8

    jaensen committed Jun 17, 2023
    Configuration menu
    Copy the full SHA
    f83581a View commit details
    Browse the repository at this point in the history
  6. Merge pull request #195 from CirclesUBI/feature/app-381-sort-order-fo…

    …r-cursor-pagination-is-not-consistent
    
    0.9.8
    jaensen authored Jun 17, 2023
    Configuration menu
    Copy the full SHA
    46257f9 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #189 from CirclesUBI/fix/app-366

    APP-366: fix(migrations/container): sslmode cases
    jaensen authored Jun 17, 2023
    Configuration menu
    Copy the full SHA
    e4847b8 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2023

  1. add the new villages

    jaensen committed Jun 18, 2023
    Configuration menu
    Copy the full SHA
    92e2036 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #196 from CirclesUBI/feature/app-355-update-databa…

    …se-location-table-for-survey
    
    add the new villages
    jaensen authored Jun 18, 2023
    Configuration menu
    Copy the full SHA
    3569e81 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2023

  1. Configuration menu
    Copy the full SHA
    4e626ea View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2023

  1. clean up shopEnabled Flag

    Thorsten Schau committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    b01a32e View commit details
    Browse the repository at this point in the history
  2. revert migration

    codeho committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    49054ae View commit details
    Browse the repository at this point in the history
  3. Merge pull request #197 from CirclesUBI/feature/app-196-add-ability-f…

    …or-user-to-delete-their-shop-api
    
    Feature/app 196 add ability for user to delete their shop api
    codeho authored Jul 5, 2023
    Configuration menu
    Copy the full SHA
    ffa8afa View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    30e28de View commit details
    Browse the repository at this point in the history
  5. Merge pull request #198 from CirclesUBI/feature/app-196-add-ability-f…

    …or-user-to-delete-their-shop-api
    
    add migration to set shops to enabled
    codeho authored Jul 5, 2023
    Configuration menu
    Copy the full SHA
    b2565cd View commit details
    Browse the repository at this point in the history