Skip to content

Releases: namsral/multipass

0.4.0

20 Oct 10:39

Choose a tag to compare

This version adds support for SMTP clients (MSA) like sendmail, nullmailer and others. Added support for a custom mail template to override the default subject and body. Also added a header signature for downstream verification of the "Multipass-Handle" header; containing the handle of the identified user.

[0.4.0] - 2016-10-20

Added

  • Add support for custom mail template
  • Add functional options
  • Add CSRF protection to basepath requests
  • Add support for SMTP clients (MSA)
  • Add func sendmail and runMSA to support SMTP clients
  • Add func PrivateKeyFromEnvironment to replace pemDecodePrivateKey
  • Add missing license headers
  • Add header signature
  • Add go vet command to Travic CI
  • Add Travis CI configuration
  • Support Caddy's CaddyFile server type association
  • Add support for wildcard user handles
  • Add example to use multipass.AuthHandler and email.UserService
  • Extend UserService.Authorized method to accept Request.Method

Changed

  • Refactor TestSendmail cleanup ineffectual assignments
  • Rename instances of next URL to "next" for consistency
  • Move default UserService setup to parseOptions
  • Update key size with const DefaultKeySize
  • Delete files which got accidentally comitted in dd41fec
  • Update test rename email.UserService.Register to AddHandle
  • Update docs rename email.UserService.Register to AddHandle
  • Update caddy package to reflect changes in email.UserService
  • Rename function multipass.NewMultipass to multipass.New
  • Rename fields in email.Option to improve readability
  • Remove error result type from loadTemplates() as it always returns nil

Fixed

  • Fix TestSendmail allow for unsorted headers
  • Fix inaccessable public resources with invalid token
  • Fix unset default for the resources parameter
  • Fix ResourceHandler returns StatusForibidden without embedded token

0.3.0

21 Sep 13:31

Choose a tag to compare

[0.3.0] - 2016-09-21

Added

  • Add doc.go to explain package basics
  • Add AuthHandler for wrapping http.Handler
  • Add tests for service.email package
  • Add Www-Authenticate header when no authentication is provided
  • Add method UserService.Authorized(handle, loginurl) bool to authorized
    requests
  • Create package mock with UserService implements to assit with tests
  • Add private key to environment for tokens to survice a config reload
  • Add funcs pemEncodePrivateKey, pemDecodePrivateKey and pemEncodePublicKey

Changed

  • Remove Resources field from Claims; Authorization is handled by UserService
  • Rename TokenHandler to ResourceHandler
  • Replace TestHandleService with mock.UserService
  • Update email.UserService.Authorized to allow anonymous acces to unlisted
    resources
  • Rename HandleService to UserService
  • Rename WriterHandleService to multipass.services.io.UserService
  • Rename email.EmailOptions to email.Options
  • Return error when there is more than one directive
  • Replace ServeMux with simple switch statement
  • Move Caddy setup code to its own package
  • Refactor NewMultipass to accept a siteaddr
  • Remove NewMultupassRule as it adds unncessary complexity
  • Remove private key from Multipass instance, load from environment

Checksums

(SHA256)

  • 41100a8906555b2aa23b4d21c6eef87daced769daad139b41ae5b3a4c9bb899a multipass_v0.3.0_darwin_amd64.tgz
  • 80718d42929d331d2c362e18e8f5fa21e33065cb2cfd57ba086d422e5d6fb5c0 multipass_v0.3.0_linux_amd64.tgz
  • 78360bfe8e790b8cab6f2f39866bd1a49e9d8eea9fddaf585e16c0435b193980 multipass_v0.3.0_windows_amd64.tgz

0.2.0

27 Aug 20:50

Choose a tag to compare

[0.2.0] - 2016-08-27

Added

  • Add support for HTML mail message

Changed

  • HandleService interface to include Close method
  • Polish form improve email input on mobile

Fixed

  • Fix missing mandatory header Return-Path
  • Fix typos in README.md and templates.go
  • Fix blocking of Notify() calls by backgrounding message sending
  • Fix aberrant input appearance on Mobile Safari

Checksums

(SHA256)

  • 9466756da316ea43c821a14c2711b88447c5a7970056bc0859d77586b6d4f28d multipass_v0.2.0_darwin_amd64.tgz
  • 9f3e618625e22bc04a57c08235cdd519e7da621279fe50f080d325190620ee0a multipass_v0.2.0_linux_amd64.tgz
  • e834caebce3a7dde3f5176df2bace9b88841ddfc79745d91a5f1d5edaed20f19 multipass_v0.2.0_windows_amd64.tgz

0.1.0

17 Aug 10:14

Choose a tag to compare

Changelog

[0.1.0] - 2016-08-16

Added

  • Initial release

Checksums

Checksums are SHA 256:

  • multipass_v0.1.0_darwin-amd64.tgz 3761166a2ff776a3282fe59e76a7f474787dd1afd561ebbd7da51fdac16f17ee
  • multipass_v0.1.0_linux-amd64.tgz e8a0acb173d83065ad0cb691e7c12180681cb1361441b4950c8ec5fc3a5f4ebe
  • multipass_v0.1.0_windows-amd64.tgz d0359bdaacc38752b6a7de1a7a72dd020df40ff1b29f21e24f049fabe6d1cb1f