Skip to content

Latest commit

 

History

History
147 lines (123 loc) · 15.6 KB

CHANGELOG.md

File metadata and controls

147 lines (123 loc) · 15.6 KB

Semantic Versioning Changelog

1.2.0 (2023-12-06)

Bug Fixes

  • api: improved authorization checks (41f9cd1)
  • frontend: somethings (d7f5233)
  • front: log request error (150f757)
  • front: send authorization tokens (7b1b2c2)
  • jwt claims struct type field is uint8 now (d30acdd)
  • login.css: removed dumb margin-top (8971f3d)
  • login: minor errors (9cd79c9)
  • login: not showing if user exists or not (34c4d49)
  • login: now claims has correct type (c65bebc)
  • main.js: change week buttons (cebce5b)
  • page title (479f472)
  • preventing user to try to set its own type (6be79f4)
  • schedulingapi: preventing adding multiples scheduling to the same time (2c09790)
  • time_dao: query (ce7d2d8)
  • u -> savedUser (91ff8b6)
  • user_dao.go: don't update password (f7b83b7)
  • user: type is a uint8 between 0 and 2 (3016c3a)
  • using jwt secret key as env variable (2a06cd3)

Features

  • add redirect buttons to signup and login (7ba1012)
  • config: added jwt middleware (99299df)
  • create_tables.sql: added password in user table (99849db)
  • create_tables.sql: added type field (5af6157)
  • employeeapi: add authentication (4cc14d0)
  • front: add admin page (e5f8bbb)
  • front: add signup page (5fc47eb)
  • front: added login (d6a52ba)
  • front: implemented week selection (998b580)
  • front: style changes (ea3e5a7)
  • index.html: add simple navbar with some bugs yet (ff60099)
  • jwt: added JWTClaims (e4ce347)
  • login-frontend: added stylization (e100515)
  • login-frontend: added stylization (ba0ab67)
  • login: added login endpoint (1170741)
  • logout.html: add logout (53953f2)
  • route: added middlewares field (a150e70)
  • schedulingapi: add authentication (a99a062)
  • signup-frontend: add stylization (55f9df0)
  • timeapi: added authentication (6423028)
  • user: added bcrypt operations (b8ca8b8)
  • user: added password field (c70a36c)
  • user: added type field (75c11d2)
  • userapi: added authentication (033a7c1)
  • utils.css: add horizontal align class (34ad629)
  • utils.js: add redirect function (58715ee)

1.1.0 (2023-10-11)

Bug Fixes

  • front: back end merge (dc65328)
  • front: fixed week day selection request (78a5673)

Features

  • back: api route to list open schedules (4fde6ea)
  • front: get shedules from api (7a38c3b)

1.0.0 (2023-10-11)

Bug Fixes

  • api: Sanitizing after parsing json (98135d1)
  • clean.sql: order of deletes (7dab1dc)
  • error messages (9142636)
  • errors messages (f2ea642)
  • get_times_by_data.sql: trying new conditions (bfec9b2)
  • get_times_by_date.sql: improved conditions (f6f082f)
  • readme: changed CHRONOS_ROOT_DIT to "./chronos-files" (7d33862)
  • tests/utils.go: path to clean.sql (54cd691)
  • time_dao.go: getTimesByDateQuery (7cf2fcc)
  • timeapi/time.go: function name (5f094d8)
  • user.go: checking if end is after the start (1bd80aa)
  • userapi/user.go: error message (29e8e03)
  • userapi/user.go: error messages (89cb5f7)
  • userapi/user.go: return status code 200 (2b47334)
  • userapi/user.go: using function IsValid to check user validity (9beb931)
  • using StrictPolicy (33069a6)

Features

  • added endpoint for getting time by some date (d152ce6)
  • added error when ID is 0 (4d12970)
  • added function Sanitize for each model (04c4727)
  • added function to get schedulings by date (6b1f8e9)
  • added get schedulings by date (40900a1)
  • added IsValid funcion (58f4374)
  • added time controllers (66231ab)
  • api/routes.go: appending AvailablesRoutes from employeeapi (34868c8)
  • api: using Sanitize function (f20abb9)
  • common: added ReadFile function (763cc33)
  • config: added bluemonday policy (4bfc9c4)
  • config: added support to SQL operations (766f12b)
  • create_tables.sql: added index for scheduling.start (a45030a)
  • create_tables.sql: added indexes for some fields in time (93c3644)
  • employee_dao.go: added CRUD operations for Employee (2f536f7)
  • employee_dao.go: added update operation for Employee (5323aa8)
  • employeeapi: added createEmployee controller (22f19c3)
  • employeeapi: added deleteEmployee (2cdd70e)
  • employeeapi: added getEmployee (03194da)
  • files.go: when not founding a file it shows an errors (dba07fb)
  • front-end: base layout from schedule page (f41be5a)
  • front: implemented schedule rendering (cbbbd77)
  • front: round border to schedule item (2378c0a)
  • front: schedule items are now properly centered (6854ffb)
  • front: schedule start visual and improved schedule positioning (b92c1ce)
  • json.go: added type JsonMap (7bdad37)
  • models: added base structs (7dcd0bc)
  • models: added ToMap functions (2f6897f)
  • scheduling_dao.go: added DAO operations for scheduling object (776ff50)
  • scheduling.go: added IsValid function (4deb6fc)
  • schedulingapi: added controllers for scheduling (36fce39)
  • static_routes.go: added static route for img/ (3703c12)
  • static-routes: added css and js static routes (43c5ff1)
  • time_dao.go: added DAO operations for time object (3abb065)
  • time_dao.go: added function to get times after some date (9198e88)
  • time.go: added IsValid function (6cb55e2)
  • user_dao.go: added CreateUser and FindUserByUsername (25809a7)
  • user_dao.go: added function to delete user by ID (702933d)
  • user_dao.go: added UpdateUser (5a83d28)
  • user.go: added function to check if a user is valid or not (b932137)
  • user: added FindUserById (2763c7f)
  • userapi: added createUser api endpoint (0d742fb)
  • userapi: added deleteUser endpoint (24b94ea)
  • userapi: added getUser api endpoint (a0bed30)
  • userapi: added updateUser api endpoint and other changes (c822e56)
  • when initing DB it creates the tables (96ee115)
  • xss_policy.go: added 2 types of policy (8504734)

Performance Improvements

  • db.db: adding a limit for max conns (d2e42dd)