Skip to content

Commit

Permalink
Merge branch 'release/3.0.0-rc2'
Browse files Browse the repository at this point in the history
  • Loading branch information
jhillyerd committed Jul 31, 2021
2 parents c64e7a6 + 7138a97 commit 21991cb
Show file tree
Hide file tree
Showing 18 changed files with 1,893 additions and 1,775 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/build-and-test.yml
@@ -0,0 +1,36 @@
name: Build and Test
on:
pull_request:
jobs:
go-build:
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.16', '1.15' ]
name: Go ${{ matrix.go }} build
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Build and test
run: |
go build ./...
go test -race -coverprofile=profile.cov ./...
- name: Send coverage
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: profile.cov
flag-name: Go-${{ matrix.go }}
parallel: true
coverage:
needs: go-build
name: Test Coverage
runs-on: ubuntu-latest
steps:
- uses: shogo82148/actions-goveralls@v1
with:
parallel-finished: true
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Expand Up @@ -14,11 +14,11 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.15
go-version: 1.16
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: '10.x'
node-version: '14.x'
- name: Setup Elm
uses: jorelali/setup-elm@v2
with:
Expand Down
14 changes: 9 additions & 5 deletions .goreleaser.yml
Expand Up @@ -74,11 +74,15 @@ nfpms:
maintainer: github@hillyerd.com
description: All-in-one disposable webmail service.
license: MIT
files:
"ui/dist/**/*": "/usr/local/share/inbucket/ui"
config_files:
"etc/linux/inbucket.service": "/lib/systemd/system/inbucket.service"
"ui/greeting.html": "/etc/inbucket/greeting.html"
contents:
- src: "ui/dist/**/*"
dst: "/usr/local/share/inbucket/ui"
- src: "etc/linux/inbucket.service"
dst: "/lib/systemd/system/inbucket.service"
type: config|noreplace
- src: "ui/greeting.html"
dst: "/etc/inbucket/greeting.html"
type: config|noreplace

snapshot:
name_template: SNAPSHOT-{{ .Commit }}
Expand Down
30 changes: 0 additions & 30 deletions .travis.yml

This file was deleted.

54 changes: 35 additions & 19 deletions CHANGELOG.md
Expand Up @@ -4,7 +4,22 @@ Change Log
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [v3.0.0-rc1]
## [Unreleased]


## [v3.0.0-rc2] - 2021-07-31

### Added
- Support for SMTP AUTH (#197, thanks makarchuk)
- Dark mode support (#218, thanks nerones)

### Fixed
- Prevent potential click jacking (#190, thanks stuartskelton)
- Error on 8 character long SMTP commands (#221)
- Allow empty username and password during AUTH (#225)


## [v3.0.0-rc1] - 2020-09-24

### Added
- Refresh button to reload mailbox contents
Expand All @@ -15,7 +30,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
fonts


## [v3.0.0-beta3]
## [v3.0.0-beta3] - 2020-09-04

### Added
- Docker `HEALTHCHECK`
Expand All @@ -31,7 +46,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Allow empty SMTP `MAIL FROM:<>`


## [v3.0.0-beta2]
## [v3.0.0-beta2] - 2019-08-17

### Added
- Ability to name mailboxes after domain of email recipient, set via
Expand All @@ -47,7 +62,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Support for late EHLO, #141


## [v3.0.0-beta1]
## [v3.0.0-beta1] - 2019-03-14

### Added
- `posix-millis` field to REST message and header responses for easier date
Expand All @@ -60,12 +75,12 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Update to enmime v0.5.0


## v2.1.0
## v2.1.0 - 2018-12-15

No change from beta1.


## [v2.1.0-beta1]
## [v2.1.0-beta1] - 2018-10-31

### Added
- Use Go 1.11 modules for reproducible builds.
Expand Down Expand Up @@ -238,23 +253,24 @@ No change from beta1.
- Add Link button to messages, allows for directing another person to a
specific message.

[Unreleased]: https://github.com/inbucket/inbucket/compare/master...develop
[v3.0.0-rc1]: https://github.com/inbucket/inbucket/compare/v3.0.0-beta3...v3.0.0-rc1
[Unreleased]: https://github.com/inbucket/inbucket/compare/master...develop
[v3.0.0-rc2]: https://github.com/inbucket/inbucket/compare/v3.0.0-rc1...v3.0.0-rc2
[v3.0.0-rc1]: https://github.com/inbucket/inbucket/compare/v3.0.0-beta3...v3.0.0-rc1
[v3.0.0-beta3]: https://github.com/inbucket/inbucket/compare/v3.0.0-beta2...v3.0.0-beta3
[v3.0.0-beta2]: https://github.com/inbucket/inbucket/compare/v3.0.0-beta1...v3.0.0-beta2
[v3.0.0-beta1]: https://github.com/inbucket/inbucket/compare/v2.1.0...v3.0.0-beta1
[v2.1.0-beta1]: https://github.com/inbucket/inbucket/compare/v2.0.0...v2.1.0-beta1
[v2.0.0]: https://github.com/inbucket/inbucket/compare/v2.0.0-rc1...v2.0.0
[v2.0.0-rc1]: https://github.com/inbucket/inbucket/compare/v1.3.1...v2.0.0-rc1
[v1.3.1]: https://github.com/inbucket/inbucket/compare/v1.3.0...v1.3.1
[v1.3.0]: https://github.com/inbucket/inbucket/compare/v1.2.0...v1.3.0
[v1.2.0]: https://github.com/inbucket/inbucket/compare/1.2.0-rc2...1.2.0
[v1.2.0-rc2]: https://github.com/inbucket/inbucket/compare/1.2.0-rc1...1.2.0-rc2
[v1.2.0-rc1]: https://github.com/inbucket/inbucket/compare/1.1.0...1.2.0-rc1
[v1.1.0]: https://github.com/inbucket/inbucket/compare/1.1.0-rc2...1.1.0
[v1.1.0-rc2]: https://github.com/inbucket/inbucket/compare/1.1.0-rc1...1.1.0-rc2
[v1.1.0-rc1]: https://github.com/inbucket/inbucket/compare/1.0...1.1.0-rc1
[v1.0]: https://github.com/inbucket/inbucket/compare/1.0-rc1...1.0
[v2.0.0]: https://github.com/inbucket/inbucket/compare/v2.0.0-rc1...v2.0.0
[v2.0.0-rc1]: https://github.com/inbucket/inbucket/compare/v1.3.1...v2.0.0-rc1
[v1.3.1]: https://github.com/inbucket/inbucket/compare/v1.3.0...v1.3.1
[v1.3.0]: https://github.com/inbucket/inbucket/compare/v1.2.0...v1.3.0
[v1.2.0]: https://github.com/inbucket/inbucket/compare/1.2.0-rc2...1.2.0
[v1.2.0-rc2]: https://github.com/inbucket/inbucket/compare/1.2.0-rc1...1.2.0-rc2
[v1.2.0-rc1]: https://github.com/inbucket/inbucket/compare/1.1.0...1.2.0-rc1
[v1.1.0]: https://github.com/inbucket/inbucket/compare/1.1.0-rc2...1.1.0
[v1.1.0-rc2]: https://github.com/inbucket/inbucket/compare/1.1.0-rc1...1.1.0-rc2
[v1.1.0-rc1]: https://github.com/inbucket/inbucket/compare/1.0...1.1.0-rc1
[v1.0]: https://github.com/inbucket/inbucket/compare/1.0-rc1...1.0


## Release Checklist
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
@@ -1,7 +1,7 @@
# Docker build file for Inbucket: https://www.inbucket.org/

# Install build-time dependencies
FROM golang:1.15-alpine3.12 as builder
FROM golang:1.16-alpine3.13 as builder
RUN apk add --no-cache --virtual .build-deps g++ git make npm python3
WORKDIR /build
COPY . .
Expand All @@ -24,7 +24,7 @@ WORKDIR /build/ui
RUN npm run build

# Run in minimal image
FROM alpine:3.12
FROM alpine:3.13
RUN apk --no-cache add tzdata
WORKDIR /opt/inbucket
RUN mkdir bin defaults ui
Expand Down
19 changes: 7 additions & 12 deletions go.mod
Expand Up @@ -2,24 +2,19 @@ module github.com/inbucket/inbucket

require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/gogs/chardet v0.0.0-20191104214054-4b6791f73a28 // indirect
github.com/google/subcommands v1.2.0
github.com/gorilla/css v1.0.0
github.com/gorilla/mux v1.8.0
github.com/gorilla/websocket v1.4.2
github.com/jaytaylor/html2text v0.0.0-20200412013138-3577fbdbcff7 // indirect
github.com/jhillyerd/enmime v0.8.1
github.com/jhillyerd/enmime v0.9.1
github.com/jhillyerd/goldiff v0.1.0
github.com/kelseyhightower/envconfig v1.4.0
github.com/mattn/go-runewidth v0.0.9 // indirect
github.com/microcosm-cc/bluemonday v1.0.4
github.com/olekukonko/tablewriter v0.0.4 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/rs/zerolog v1.20.0
github.com/stretchr/testify v1.6.1
golang.org/x/net v0.0.0-20200923182212-328152dc79b1
golang.org/x/text v0.3.3 // indirect
gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776 // indirect
github.com/mattn/go-runewidth v0.0.13 // indirect
github.com/microcosm-cc/bluemonday v1.0.15
github.com/rs/zerolog v1.23.0
github.com/stretchr/testify v1.7.0
golang.org/x/net v0.0.0-20210726213435-c6fcb2dbf985
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
)

go 1.13

0 comments on commit 21991cb

Please sign in to comment.