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

Release/0.5.0 #433

Merged
merged 22 commits into from
Apr 21, 2022
Merged

Release/0.5.0 #433

merged 22 commits into from
Apr 21, 2022

Conversation

alexanderleegs
Copy link
Contributor

@alexanderleegs alexanderleegs commented Apr 21, 2022

TODO BEFORE RELEASE

  • Run migration on prod db

Features

Refactor

Fixes

QOL

Misc

seaerchin and others added 22 commits March 31, 2022 00:01
release(0.4.0): merge back to develop
* build(ci): add ci!

* build(package): add missing commands

* fix(ci): removed extra build job
* chore(readme): add .md file ext for correct rendering

* chore(package.json): add new commands for db stuff

* chore(package.json): add commadn for local migration

* docs(readme): update for new commands
* ci(ci): update ci workflow

* fix(jest): add a script to close sequelize after every test
* refactor(middleware): changed accessToken, currentCommitSha and treeSha to be set on res.locals

* chore(server): modify places that used req.xxx to use res.locals.xxx

* chore(authservice): refactor to explicit object

* fix(authservice.spec): changed test due to async weirdness

* chore(req): updated last few instances of usertoken being retrieved from req

* chore(auth): destructure from res.locals for readability rather than res
* Feat: add contact us router and service

* Feat: add schema for contact us update request

* Test: add fixture for contact us content

* Test: add tests for contact us service and router

* Fix: log joi error.message

* Style: add line breaks

* Style: destructuring

* Nit: add comment for feedback handling

* Fix: feedback schema allowed to be empty

* Feat: add fixture for router generation

* Rebase: inject auth verify middleware into router

* Chore: use _.omit

* Nit: rename variable

* Nit: add comment details

* Nit: formatting of tests

* Fix: use rebased routers and res.locals
* Feat: add updateHomepageSchema

* Feat: add homepage router

* Fix: allow pageBody for updateHomepage

* Test: add tests for homepage router

* Nit: line spacing

* Chore: add comment for empty string in schema

* Nit: fix comment for error type importing

* Fix: throw only error.message from joi

* Rebase: inject auth middleware verify into router

* Nit: rename variable

* Fix: allow empty description and notification

* Fix: use subrouter for homepage

* Fix: test location

* Fix: retrieve accessToken from res.locals

* Fix: use fixtures and omit in homepage tests

* Feat: add read failure to homepage test suite
* Feat: add NetlifyTomlService

* Feat: add netlifyToml router

* Test: add new fixture for netlifyToml

* Test: add tests for netlifyToml service and router

* Fix: remove sitename from netlify-toml endpoint

* Nit: add line space

* Chore: include spec in name of test file and minor comment changes

* Rebase: use auth verify middleware in router

* Nit: add more details to comment

* Fix: move routers to appropriate subrouters and swap to res.locals

* Fix: axios mock in test for netlifytoml service
* Feat: add update navigation schema

* Feat: add navigation router

* Feat: update navigation fixtures with sublinks

* Test: add navigation router tests

* Fix: destructure params

* Rebase: add auth verify middleware

* Nit: variable name

* Fix: rebase

move into subrouters and swap to res.locals
* refactor(mailclient): use di

* test(mailclient): update test for new api

* refactor(identity): update mailclient init

* chore(identity): update error message for mailclient to show on non local dev
* refactor(bin/www): remove bin/www and inline into bootstrap/index

* refactor(server): update to use new bootstrap function

* chore(package.json): update commands
* Fix: check for JsonWebTokenError

* Fix: filter out empty isomercms cookie instead

* Nit: message spacing
* build(package): installed jest-extended

* chore(jest.config): update jest config

* build(tsconfig): update tsconfig for jest-extended

* test(resourcedirectory): add test to check call order

* chore(tsconfig): removes file property

* test(resourcedirectoryservice): changed test to be on rename

* chore(resourcedirectoryservice): changed check to be on basedirectoryservice
Bumps [async](https://github.com/caolan/async) from 3.2.0 to 3.2.3.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/master/CHANGELOG.md)
- [Commits](caolan/async@v3.2.0...v3.2.3)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 8.1.0 to 8.5.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/eslint-config-prettier@v8.1.0...v8.5.0)

---
updated-dependencies:
- dependency-name: eslint-config-prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fix: add cookieParser to router generator fixture

* Chore: use router fixture in router level tests
* Feat: add whitelist model

* Feat: add migration

* Feat: add whitelist table to initialisation

* Feat: update canSendEmailOtp to use database

* Chore: update tests

* Fix: use db:migrate for local migrations

* Fix: migration

* Fix: whitelist model

* fix: database model types

* Fix: allow expiry type to be null

* Chore: rename table to whitelist
* Fix: separate migrate and jumphost setup scripts

* Chore: update readme
@alexanderleegs alexanderleegs mentioned this pull request Apr 21, 2022
@alexanderleegs alexanderleegs merged commit bf0db39 into master Apr 21, 2022
@mergify mergify bot deleted the release/0.5.0 branch April 21, 2022 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants