Skip to content
This repository has been archived by the owner on Jul 25, 2021. It is now read-only.

Releases: unicsmcr/unics_social_api

v0.2.1

28 Oct 20:45
Compare
Choose a tag to compare
v0.2.1 Pre-release
Pre-release
  • refactor: don't send typing packet back to sender (#137)

  • feat: allow entry of all possible UoM courses (#135)

    • feat: add the list of courses

    • feat: start upgrade

    • fix: tests

    • fix: tests

    • feat: update DiscoveryQueue to take a new department filter

    • fix: tests

    • perf: use varchar instead of text for course

    • fix: courses import

    • feat: remove foundation year medicine

    • feat: update courses.json

    • fix: unknown department string

  • feat: add PM2 metrics for gateway sessions (#140)

    • deps: install @pm2/io

    • feat: add gateway metrics

  • fix: emails should be case-insensitive (#139)

    • fix: treat email as lower for login (#134)

    • fix: case insensitivity for getUserByEmail

    • perf: add email as lowercase into db #139

    • fix: no email case sensitivity for reset password (#139)

    • test: ensure emails are treated as case-insensitive

    Co-authored-by: Amish Shah amishshah.2k@gmail.com

  • feat: add event users (#141)

    • feat: add EVENT_USERS to env config

    • feat: add event users

    • chore: new line at the end of .env.example

  • feat: add NODE_ENV to config (#142)

    • feat: add NODE_ENV to env config

    • refactor: only synchronise db if in dev env

    • feat: log environment to console

  • chore: v0.2.1

v0.2.0

23 Oct 10:49
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release

This release marks the latest stable version before the Halloween update.

  • fix: notes not being saved properly (#119)

  • fix: show file size limit in error messages (#120)

  • feat: add other to Course and Year (#121)

  • feat: reports email env variable, gateway connection logging (#122)

  • fix: use strict origin

  • feat: security patches and rate limiting (#123)

    • fix: default to private profiles

    • fix: sanitise user reports

    • fix: tests for sanitisation

    • feat: rate limiting

    • add debug message

    • fix: rate limits

  • fix: log correct number of connected gateway users

  • refactor: allow for enabling/disabling ratelimiting (#129)

    • feat: create RATE_LIMITING env variable

    • refactor: update ratelimiting to allow for passthrough

  • feat: mock twilio service (#133)

    • feat: add MOCK_TWILIO_SERVICE env variable

    • feat: move TwilioService to twilio directory

    • feat: mock twilio service

    • test: fix tests

  • chore: v0.2.0

v0.1.0

26 Sep 15:26
Compare
Choose a tag to compare
v0.1.0 Pre-release
Pre-release

The beta-test version of the API

* feat: resending verification email (#91)

  • done

  • replaced instances of authenticateError

  • fixed http codes

  • updated tests

  • first commit

  • fixed conflicts

  • fixed

  • fixed

  • shahed cant spell

  • all requested changes

  • fixed change

  • fix: use correct name for route

Co-authored-by: Amish Shah amishshah.2k@gmail.com

  • fix: linkedin validation rule (#102)

    Change LinkedIn validation rule to uniform it to other social media

  • fix: actually add users to the queue (#104)

  • feat: discord integration (#105)

    • feat: create discord entity

    • feat: set up oauth state

    • feat: set up oauth2 auth URL route

    • feat: start to work on account link route

    • feat: account linking

    • fix: link route shouldn't respond with data

    • fix: don't eagerly load discord relation

    • chore: rename frontend discord route

    • chore: fix CI

    • chore: rename redirect URI

  • feat: reset password (#103)

    • feat: add routes

    • add controllers and services

    • fix: eslint

    • fix: merge all files

    • fix: unify reset password route

    • feat: test forgot and reset password controllers

    • feat: test forgotPassword in userService

    • feat: add resetPaaword userService tests

    • fix: unnecessary lines

    • refactor: change HTTP verbs, add password length checks

    Co-authored-by: Amish Shah amishshah.2k@gmail.com

  • refactor: designated profileService and emailConfirmationService functions to their own files (#99)

    • refactor: created profileService

    • refactor: added EmailConfirmationService and edited tests

    • Revert "refactor: added EmailConfirmationService and edited tests"

    This reverts commit eb3af76.

    • fix: fixed profileService
  • feat: add note entity to like or soft block a user (#108)

    • feat: added Note entity

    • fix: fix for note entity

    • fix: Note entity 2nd fix

    • feat: relate user to notes

    • add get notes route

    • add create note route

    • fix: query builder

    • fix: primary columns

    • fix: remove primary generated id

    • fix: remove unnecessary lines

    • fix: remove unnecessary lines

    • fix: edit note services

    • fix: get Notes

    • feat: add note for testing users

    • fix: check for existing note

    • feat: test create note controller

    • feat: test get notes controller

    • feat: delete note functionality added, refactored noteservice

    • test: added getNotes and createNote tests

    • test: base tests for deleteNote()

    • fix: finding relational entities

    • fix: parameter type in create note

    • fix: test create note function

    • feat: test delete note controller

    • fix: requested changes

    • refactor: change note API routes

    • feat: fix validation on Notes

    • perf: improve create note performance

    Co-authored-by: Sahil Borkar sahilsborkar@gmail.com
    Co-authored-by: Amish Shah amishshah.2k@gmail.com

  • refactor: move to nodemailer in email service (#114)

    • feat: start to remove sendgrid

    • fix: remove sendgrid completely

    • fix: make example .env more helpful

  • fix: added check for unverified users trying to authenticate (#112)

    • fix: added check for unverified users trying to authenticate

    • fix: fixed one instance of a test failing

    • fix: tests

    Co-authored-by: Amish Shah amishshah.2k@gmail.com

  • feat: discord improvements (#115)

    • refactor: update "UserNotFound" error in getUser middleware

    • fix: remove old discord users

    • feat: add verified role ID to config

    • feat: verified role

  • chore: v0.1.0

v0.0.5

18 Sep 17:03
Compare
Choose a tag to compare
v0.0.5 Pre-release
Pre-release
  • fix: time limits for video (#96)

    • fix: fixed time for video

    • fix: edited setTimeout

    • refactor: moved ttl to separate file and made changes accordingly

    • fix: made small changes for better readability

  • fix: store timestamps with a timezone to prevent offset issues (#98)

    • fix: use timestamp with timezone

    • refactor: clarify video time limits

  • feat: route to get all users with public account visibility (#93)

    • feat: added functionality to get all users with account status public

    • fix: changed accountStatus name to visbility and created enum for clarity

    • fix: fixed Visibility enum

    • fix: changed enum labels

    • fix: user fixtures updated

    • fix: small fixes to make sure GET /users works

    Co-authored-by: Amish Shah amishshah.2k@gmail.com

  • refactor: use before date for getMessages (#100)

  • chore: v0.0.5

v0.0.4

14 Sep 14:09
Compare
Choose a tag to compare
v0.0.4 Pre-release
Pre-release
chore: v0.0.4

v0.0.3

02 Sep 15:28
Compare
Choose a tag to compare
v0.0.3 Pre-release
Pre-release
chore: v0.0.3

v0.0.2

28 Aug 17:33
b27dec1
Compare
Choose a tag to compare
v0.0.2 Pre-release
Pre-release
fix: User.password no longer selected by default (#61)

* done?

* tests passing, changed query

* linting issues

* more linting fixes

* more linting fixes

* new query

* revert

v0.0.1

12 Aug 19:10
3771289
Compare
Choose a tag to compare
v0.0.1 Pre-release
Pre-release

The first stable snapshot of the codebase