Skip to content

Latest commit

 

History

History
102 lines (79 loc) · 3.19 KB

CHANGELOG.md

File metadata and controls

102 lines (79 loc) · 3.19 KB

2.0.2

  • Set Cache-Control: no-store in the response header for oauth endpoints
  • Sort EditorPicksSection by updated_at field in controllers/index_page.go

2.0.1

  • PR#102
  • Use userID, email and standard claims to generate JWT.
  • Code refactors. Fix typo, add error check.
  • Still redirect to destination even if oauth fails.
  • New endpoint "/v1/token/:userID", which is used to renew JWT for clients.
  • Set Cache-Control: no-store for those endpoints related to users

2.0.0

Major Change

  • Drop password and signup process, only send activation email every time user want to sign in.
  • Dedup the clients accounts. Connect the client who signs in by oauth or by email to the existed record.
  • Move oauth controllers from subfolders to root controllers folder.
    • controllers/oauth/goolge/google.go -> controllers/google-oauth.go
    • controllers/oauth/facebook/facebook.go -> controllers/goog-oauth.go
  • Update controller/google-oauth.go. Set jwt in the cookies
  • Update middlewares/jwt.go. Add SetEmailClaim function.
  • Update membership_user.sql
  • Change email content wording and styling
  • Add GinResponseWrapper function, which deliver the response to the client
  • Update controllers/account.go
    • code refactor since the return value of each function is wrapped by GinReponseWrapper
  • Function test refactor

1.1.8

  • Bug fix. Output html field in ContentBody.

1.1.7

  • Embed Theme field in post model
  • Make activation email more stylish

1.1.6

  • Fetch sections asynchronously for index_page controller

1.1.5

  • Sort returned bookmarks of a user by updated_at in users_bookmarks table

1.1.4

  • Sort relateds according to the order set by editors

1.1.3

  • Add job title of authors
  • Check JWT expiration time
  • Allow DELETE method and Authorization Header
  • Add endpoint /users/:userID/bookmarks/:bookmarkSlug to get a bookmark of a user
  • Refine create/delete/get bookmark

1.1.2

  • Update models/post.go. Add LeadingImageDescription field

1.1.1

  • Fetch posts without is_feature: true in photos_section

1.1.0

  • Update Bookmark model. Replace Href by Slug, Style and External.

1.0.11

  • Bug fix. Order authors

1.0.10

  • Bug Fix. Only add Cache-Control in the Response Header when Request Header contains Origin directive'

1.0.9

  • Hot Fix. Add hard coded Access-Control-Allow-Origin in response header

1.0.8

  • Upgrade github.com/gin-contrib/cors to the latest commit to fix the cors problem

1.0.7

1.0.6

  • Add Access-Control-Allow-Origin in response header

1.0.5

  • Fix Typo.

1.0.4

  • Bug fix. Avoid fetching all the records if ids is an empty array instead of nil value

1.0.3

  • Allow any request in development environment
  • Update categories

1.0.2

  • Return leading_image_portrait field in post model.
  • Add AmazonSES service to send mails.
  • Integrate with circleci.
  • Add Cache-Control in response header and simply cors setting
  • Add CORS in response header for production environment
  • Only allow to query published posts and topics in production environment

1.0.1

  • Fix typo. Agolia to Algolia.

1.0.0

  • initialization