Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: v0.40.0 #133

Merged
merged 123 commits into from
Dec 30, 2023
Merged

release: v0.40.0 #133

merged 123 commits into from
Dec 30, 2023

Commits on Sep 20, 2023

  1. Configuration menu
    Copy the full SHA
    007881b View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2023

  1. feat: Register student (#25)

    * chore: PostgreSQL connection and migrations
    
    * chore: Makefile to create and remove packages
    
    * feat: Endpoint to register students
    
    * test(accounts): Register student
    
    * ci: Update pipelines commands
    PedroChaparro authored Sep 22, 2023
    Configuration menu
    Copy the full SHA
    b79e305 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fea865d View commit details
    Browse the repository at this point in the history
  3. fix(cd): Release development docker container (#26)

    * build: Update Dockerfile
    
    * build(cd): Add pipeline to release development container
    PedroChaparro authored Sep 22, 2023
    Configuration menu
    Copy the full SHA
    d0baca9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    849375c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2f89bc2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    43270f7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6609c90 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c6a4310 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    50cbbac View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    c0bc504 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    c662636 View commit details
    Browse the repository at this point in the history
  12. refactor(accounts): Register student (#29)

    * refactor(accounts): Remove roles table
    
    * feat(accounts): Check students email is institutional
    
    * feat(accounts): Validate password satisfy min secure criteria
    PedroChaparro authored Sep 22, 2023
    Configuration menu
    Copy the full SHA
    26ad63f View commit details
    Browse the repository at this point in the history
  13. feat: Register admin (#30)

    * feat(accounts): Endpoint to register admins
    
    * test(accounts): Add tests for the new endpoint
    PedroChaparro authored Sep 22, 2023
    Configuration menu
    Copy the full SHA
    52edddd View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    34fd9b9 View commit details
    Browse the repository at this point in the history
  15. feat(session): Login endpoint (#31)

    * feat(session): Login endpoint
    
    * feat(session): JWT support
    
    * refactor(session): Send jwt as cookie
    
    * test(session): Add tests for the new endpoint
    PedroChaparro authored Sep 22, 2023
    Configuration menu
    Copy the full SHA
    f49dbb3 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    01b0daf View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2023

  1. feat: Auth middlewares (#32)

    * chore(session): Rename session cookie
    
    * fix(accounts): Prevent non-admin accounts to register admins
    
    * test: Update tests
    
    * chore: Update makefile
    
    * ci: Remove package pipeline
    PedroChaparro authored Sep 25, 2023
    Configuration menu
    Copy the full SHA
    8646b08 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4ed970a View commit details
    Browse the repository at this point in the history
  3. feat: Register teacher (#33)

    * feat(accounts): Create endpoint to register teachers
    
    * test(accounts): Update tests
    PedroChaparro authored Sep 25, 2023
    Configuration menu
    Copy the full SHA
    b297ec9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    43db727 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a3392f6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    320e4e2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    cb05dbc View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    69b748f View commit details
    Browse the repository at this point in the history
  9. feat: whoami (#38)

    * feat(session): Add whoami endpoint
    
    * test(session): Add tests for the whoami endpoint
    PedroChaparro authored Sep 25, 2023
    Configuration menu
    Copy the full SHA
    a866d8e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    67c48e2 View commit details
    Browse the repository at this point in the history
  11. feat: Logout (#39)

    * feat(session): Create logout endpoint
    
    * test: Register a default admin from migrations
    
    * test(session): Add logout tests
    
    * refactor(tests): Use infrastructure functions to setup test endpoints
    PedroChaparro authored Sep 25, 2023
    Configuration menu
    Copy the full SHA
    81d5536 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    67d086e View commit details
    Browse the repository at this point in the history
  13. feat: List admins (#40)

    * feat(accounts): Add created timestamp to users table
    
    * refactor(accounts): Rename user entity
    
    * feat(accounts): Create endpoint to list admin accounts
    
    * test(accounts): Endpoint to list admins
    PedroChaparro authored Sep 25, 2023
    Configuration menu
    Copy the full SHA
    7ba0762 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    25a06ca View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2023

  1. Configuration menu
    Copy the full SHA
    7d85870 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2023

  1. refactor: Return admins UUID (#42)

    * refactor(accounts): Add UUID to response in endpoint to list admins
    
    * refactor(session): Update authentication errors
    
    * docs(openapi): Update spec
    PedroChaparro authored Sep 27, 2023
    Configuration menu
    Copy the full SHA
    f4fdc3e View commit details
    Browse the repository at this point in the history
  2. feat: Create courses (#43)

    * chore(courses): Create courses package
    
    * refactor: Rename courses table and create courses view
    
    * feat(courses): Implement invitation code generator with nanoid
    
    * feat(courses): Endpoint to create courses
    
    * test(courses): Endpoint to create courses
    PedroChaparro authored Sep 27, 2023
    Configuration menu
    Copy the full SHA
    09e15f8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    eb58249 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2023

  1. refactor: Packages folders (#47)

    * refactor: Update packages organization
    
    * refactor: Use common function to instance http routes in tests
    PedroChaparro authored Sep 29, 2023
    Configuration menu
    Copy the full SHA
    752c910 View commit details
    Browse the repository at this point in the history
  2. feat: Get invitation code (#50)

    * docs(openapi): Update spec
    
    * refactor(db): Rename class columns to course
    
    * feat(courses): Get invitation code
    
    * test(courses): Get invitation code
    PedroChaparro authored Sep 29, 2023
    Configuration menu
    Copy the full SHA
    35af762 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7aa44ab View commit details
    Browse the repository at this point in the history
  4. feat: Join course using invitation code (#51)

    * feat(courses): Add repository implementation to add student to a course
    
    * refactor(courses): Update domain errors
    
    * feat(courses): Endpoint to join a course using an invitation code
    
    * docs(openapi): Update spec
    
    * test(courses): Join using invitation code
    PedroChaparro authored Sep 29, 2023
    Configuration menu
    Copy the full SHA
    6206f3c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    00b8a38 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2023

  1. feat: Get teachers and students courses (#52)

    * refactor(session): Update authorization middleware to accept an array of roles
    
    * feat(db): Create view to get data of courses an user is enrolled in
    
    * feat(courses): Endpoint to get courses an user is enrolled in
    
    * refactor(tests): Use util function in courses tests
    
    * test(courses): Add test for the endpoint to get the courses an user is enrolled in
    PedroChaparro authored Sep 30, 2023
    Configuration menu
    Copy the full SHA
    2265a05 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    926c820 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b9c6153 View commit details
    Browse the repository at this point in the history
  4. feat: Toggle course visibility (#55)

    * docs(openapi): Add endpoint to toggle course visibility
    
    * refactor(session): Update unauthorized error message
    
    * feat(courses): Endpoint to toggle visibility of a course
    
    * test(courses): Add tests for the endpoint to toggle course visibility
    PedroChaparro authored Sep 30, 2023
    Configuration menu
    Copy the full SHA
    28ec783 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    850371e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    cd78130 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2023

  1. fix: Send course information when an student joins using invitation c…

    …ode (#58)
    
    * docs(openapi): Update spec
    
    * fix(courses): Return course information in endpoint to join using invitation code
    
    * test(accounts): Update tests
    PedroChaparro authored Oct 4, 2023
    Configuration menu
    Copy the full SHA
    c534e71 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    386a69f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b8f1519 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2023

  1. fix: Use case insensitive text for emails (#62)

    * fix(accounts): Use case insensitive text to store emails
    
    * chore(deps): Bump dependencies
    PedroChaparro authored Oct 5, 2023
    Configuration menu
    Copy the full SHA
    072a005 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e2c0ebd View commit details
    Browse the repository at this point in the history
  3. fix: Save who created admin and teacher accounts (#63)

    * feat(db): Add created by column in users table
    
    * fix(accounts): Save who created teachers and admin accounts
    PedroChaparro authored Oct 5, 2023
    Configuration menu
    Copy the full SHA
    313d795 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6b4f29d View commit details
    Browse the repository at this point in the history
  5. feat: Rename course (#64)

    * feat(courses): Add repository implementation to rename course
    
    * feat(courses): Add endpoint to rename a course
    
    * test(courses): Rename course
    PedroChaparro authored Oct 5, 2023
    Configuration menu
    Copy the full SHA
    7e7110b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    766ea63 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2023

  1. feat: Search students by full name (#65)

    * docs(openapi): Add new endpoint to the spec
    
    * feat(db): Add nex indexes to optimize search queries
    
    * feat(accounts): Add repository implementation to search students
    
    * feat(accounts): Add endpoint to search students by full name
    
    * test(accounts): Search students by full name
    PedroChaparro authored Oct 6, 2023
    Configuration menu
    Copy the full SHA
    f72482b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    88d4c31 View commit details
    Browse the repository at this point in the history
  3. feat: Enroll student (#66)

    * docs(openapi): Add new endpoint to spec
    
    * feat(courses): Endpoint to enroll an student to a course
    
    * test(courses): Enroll student to course
    PedroChaparro authored Oct 6, 2023
    Configuration menu
    Copy the full SHA
    565c90d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    02bca07 View commit details
    Browse the repository at this point in the history
  5. feat: List enrolled students (#68)

    * docs(openapi): Update spec
    
    * refactor(db): Update enrolled students view name
    
    * feat(courses): Repository implementation to get enrolled students
    
    * feat(courses): Endpoint to get enrolled students
    
    * test(courses): Get enrolled students
    PedroChaparro authored Oct 6, 2023
    Configuration menu
    Copy the full SHA
    f4b8741 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    bc4a736 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5703b9f View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2023

  1. feat: Get course by UUID (#71)

    * refactor(db): Rename view
    
    * feat(courses): Get course by uuid
    
    * test(courses): Add tests for the new endpoint
    PedroChaparro authored Oct 8, 2023
    Configuration menu
    Copy the full SHA
    ae60ba4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    172a823 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ecf8703 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2023

  1. feat: Create rubric (#80)

    * refactor(db): Change objectives field name
    
    * feat(rubrics): Create initial rubrics domain
    
    * feat(rubrics): Create initial rubrics repository
    
    * feat(rubrics): Endpoint to create a rubric
    
    * test(rubrics): Add test to ensure teacher can create rubrics
    
    * chore(deps): Bump dependencies
    PedroChaparro authored Oct 10, 2023
    Configuration menu
    Copy the full SHA
    ec43d55 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    429ea64 View commit details
    Browse the repository at this point in the history
  3. feat: Get rubrics created by teacher (#81)

    * feat(rubrics): Add endpoint to list rubrics created by teacher
    
    * test: Add tests to the endpoint to list created rubrics
    PedroChaparro authored Oct 10, 2023
    Configuration menu
    Copy the full SHA
    356af40 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9111e27 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2023

  1. feat: Get rubric by UUID (#82)

    * docs(openapi): Update spec
    
    * feat(rubrics): Create endpoint to get rubric by its uuid
    
    * test(rubrics): Add tests to the endpoint to get a rubric by its uuid
    
    * refactor(rubrics): Remove debug message
    PedroChaparro authored Oct 12, 2023
    Configuration menu
    Copy the full SHA
    533c8f4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    07b50e2 View commit details
    Browse the repository at this point in the history
  3. feat: Add objective to rubric (#83)

    * refactor(db): Add max length constraint to objectives and criteria descriptions
    
    * docs(openapi): Update spec
    
    * feat(rubrics): Create endpoint to add an objective to a rubric
    
    * fix(rubrics): Prevent null field when arrays are empty
    
    * test(rubrics):  Add objective to rubric
    PedroChaparro authored Oct 12, 2023
    Configuration menu
    Copy the full SHA
    9d91a94 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7d8b2f8 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2023

  1. feat: Add criteria to rubric objective (#84)

    * refactor(rubrics): Create functions to verify rubrics ownership
    
    * fix(rubrics): Use separated views to verify objectives and criteria ownership
    
    * docs(openapi): Update spec
    
    * feat(rubrics): Create endpoint to add criteria to a rubric objective
    
    * fix(rubrics): Order objectives and criteria by creation date
    
    * chore: Clean tests cache before running tests
    
    * test(accounts): Register a second teacher account by default
    
    * test(rubrics): Ensure teacher can add criteria to rubric objective
    
    * chore(db): Update down migration
    
    * chore(deps): Bump dependencies
    PedroChaparro authored Oct 13, 2023
    Configuration menu
    Copy the full SHA
    2bca229 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f0cdd92 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    079d831 View commit details
    Browse the repository at this point in the history
  4. docs: Add bruno collection (#87)

    * docs: Create `CONTRIBUTING` file
    
    * docs: Add bruno collection
    PedroChaparro authored Oct 13, 2023
    Configuration menu
    Copy the full SHA
    e245120 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2023

  1. fix: Sort rubric objectives by creation date (#90)

    * chore(deps): Bump dependencies
    
    * chore: Bump golang version
    
    * chore: Update docker compose file to work with podman
    
    * fix(rubrics): Order rubric objectives by creation date
    PedroChaparro authored Nov 15, 2023
    Configuration menu
    Copy the full SHA
    85cb925 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    090dbf2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a2cfb46 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fcb1929 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2023

  1. feat: Update rubric objective (#93)

    * feat: Create endpoint to update an objective
    
    * test: Add test to ensure teachers can update rubric objectives
    
    * refactor(tests): Separate utils from test functions
    
    * docs(http): Update bruno collection
    
    * docs(http): Add insomnia collection
    PedroChaparro authored Nov 16, 2023
    Configuration menu
    Copy the full SHA
    aabeec6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eb2f0b1 View commit details
    Browse the repository at this point in the history
  3. feat: Update objectives criteria (#94)

    * feat(rubrics): Create endpoint to update an objective criteria
    
    * docs(http): Update bruno collection
    
    * docs(http): Update insomnia collection
    
    * test(rubrics): Add test to ensure teachers can update objectives criteria
    PedroChaparro authored Nov 16, 2023
    Configuration menu
    Copy the full SHA
    6d4e5e9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bc55a7e View commit details
    Browse the repository at this point in the history
  5. feat: Update rubric name (#95)

    * docs(openapi): Add new endpoint to specification
    
    * feat(rubrics): Create endpoint to update the rubric name
    
    * docs(http): Update bruno collection
    
    * docs(http): Update insomnia collection
    
    * test(rubrics): Add test to ensure teachers can update rubric names
    PedroChaparro authored Nov 16, 2023
    Configuration menu
    Copy the full SHA
    2f32e64 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    283590d View commit details
    Browse the repository at this point in the history
  7. feat: Remove objective (#98)

    * docs(openapi): Update specification
    
    Add new endpoints to delete rubric objectives and criteria
    
    * feat(db): Add on delete cascade to rubric objectives refs
    
    * feat(rubrics): Create endpoint to delete an objective
    
    * docs(http): Update bruno collection
    
    * docs(http): Update insomnia collection
    
    * test(rubrics): Add test to ensure teachers can delete rubric objectives
    PedroChaparro authored Nov 16, 2023
    Configuration menu
    Copy the full SHA
    a3d9eda View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7eb1021 View commit details
    Browse the repository at this point in the history
  9. feat: Delete objective criteria (#99)

    * refactor(rubrics): Group rubrics DTOs
    
    * refactor(rubrics): Group rubrics requests
    
    * refactor(courses): Group courses DTOs
    
    * refactor(courses): Group courses requests
    
    * feat(db): Add on delete cascade constraint on criteria table references
    
    * feat(rubrics): Create endpoint to remove objectives criteria
    
    * fix(db): Increment max criteria weight decimals
    
    * test(rubrics): Add test to ensure teachers can delete criteria
    
    * docs(http): Update insomnia and bruno collections
    PedroChaparro authored Nov 16, 2023
    Configuration menu
    Copy the full SHA
    b7fe282 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    e367d83 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    94fa109 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    2a4e8b6 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2023

  1. feat: Create laboratory (#103)

    * feat: Create laboratories package
    
    * feat: Create function to check if a teacher is the owner of a class
    
    * chore(http): Remove insomnia collection
    
    Cookies are now supported in Bruno
    
    * feat(shared): Create functions to validate and parse ISO dates
    
    * fix(db): Allow null values for rubric id field in laboratories table
    
    * fix(db): Replace reserved word
    
    Use "block_index" instead of "order"
    
    * feat(laboratories): Add endpoint to create a new laboratory
    
    * docs(http): Update bruno collection
    
    * test(labs): Add test to ensure teachers can create laboratories
    
    * chore(deps): Bump dependencies
    
    * docs(openapi): Update spec
    
    Add new endpoint to create new laboratory and update opening and due date fields
    PedroChaparro authored Nov 27, 2023
    Configuration menu
    Copy the full SHA
    c577ea2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    de0e046 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2023

  1. feat: Update laboratory by UUID (#109)

    * docs(openapi): Update spec
    
    Add rubric UUID field to the body of the request to update a rubric by its UUID and remove the endpoint to update the rubric from some laboratory UUID
    
    * feat(labs): Add endpoint to update a laboratory
    
    * docs(http): Add new endpoint to the bruno collection
    PedroChaparro authored Nov 28, 2023
    Configuration menu
    Copy the full SHA
    e388a54 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2a05d4e View commit details
    Browse the repository at this point in the history
  3. feat: Get laboratory by UUID (#110)

    * feat(labs): Add endpoint to get laboratory by its UUID
    
    * docs(http): Add new endpoint to the bruno collection
    
    * refactor(labs): Add a validation and allow null values in labs' rubric field
    
    * test(labs): Add test to ensure teachers can get rubric details
    
    * test(labs): Add test to ensure teachers can update laboratories details
    
    * refactor(labs): Hide course UUID field
    
    The field is not necessary
    
    * docs(openapi): Add new endpoint to spec
    PedroChaparro authored Nov 28, 2023
    Configuration menu
    Copy the full SHA
    44a870d View commit details
    Browse the repository at this point in the history
  4. feat: Get course laboratories (#111)

    * docs(openapi): Update spec
    
    * docs(http): Update bruno collection
    
    * feat(courses): Add new endpoint to get laboratories created in a course
    
    * test(courses): Get course laboratories
    
    Add test cases to ensure teachers and students can get laboratories created in a course
    PedroChaparro authored Nov 28, 2023
    Configuration menu
    Copy the full SHA
    653473e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4a604cf View commit details
    Browse the repository at this point in the history
  6. feat: Create empty markdown block (#112)

    * refactor(db): Create blocks index table to ease blocks order management
    
    * docs(openapi): Update specification
    
    * feat(labs): Add endpoint to create empty markdown block
    
    * docs(http): Update bruno collection
    
    * test(labs): Add new test cases
    PedroChaparro authored Nov 28, 2023
    Configuration menu
    Copy the full SHA
    e3c5ef1 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    51d495a View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2023

  1. feat: Update markdown block content (#113)

    * feat: Initialize blocks package
    
    * feat(blocks): Create endpoint to update markdown block content
    
    * docs(http): Update bruno collection
    
    * test(blocks): Add new test cases
    
    Add tests to ensure teachers can update markdown blocks content
    PedroChaparro authored Nov 29, 2023
    Configuration menu
    Copy the full SHA
    3a6f762 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    750a25d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8040510 View commit details
    Browse the repository at this point in the history

Commits on Dec 28, 2023

  1. docs(openapi): Update spec (#121)

    * docs(openapi): Add endpoints related to `languages` and `submissions`
    PedroChaparro authored Dec 28, 2023
    Configuration menu
    Copy the full SHA
    5983288 View commit details
    Browse the repository at this point in the history
  2. feat: List supported languages (#122)

    * refactor(db): Create  `archives` table
    
    * chore(lang): Create `languages` package
    
    * feat(db): Insert Java to the `languages` table
    
    * feat(lang): Add endpoint to list supported languages
    
    * test(lang): Add test to ensure languages are listed correctly
    PedroChaparro authored Dec 28, 2023
    Configuration menu
    Copy the full SHA
    e7d7539 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    deb7329 View commit details
    Browse the repository at this point in the history
  4. feat: Download languages template (#123)

    * feat: Add `static-files-microservice` to `docker-compose` file
    
    * feat(lang): Add endpoint to download language template
    
    * test(lang): Add test to ensure language template is downloaded correctly
    PedroChaparro authored Dec 28, 2023
    Configuration menu
    Copy the full SHA
    4f460f4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    43931f1 View commit details
    Browse the repository at this point in the history

Commits on Dec 29, 2023

  1. feat: Create new test block (#126)

    * feat(blocks): Add method to the `BlocksRepository` to save test archive
    
    Send test archive to the static files microservice
    
    * refactor(lang): Update languages repository
    
    * feat(labs): Create method in the `LaboratoriesRepository` to create `TestBlocks`
    
    Save test block metadata / information in the database.
    
    * feat(labs): Add endpoint to create new test blocks
    
    * docs(openapi): Update spec
    
    * chore: Add basic java test archive
    
    Initial sample with java tests. Just to test the endpoint to create new test blocks.
    
    * test(blocks): Add test to ensure teachers can create test blocks
    
    * docs(http): Add `insomnia` collection
    PedroChaparro authored Dec 29, 2023
    Configuration menu
    Copy the full SHA
    ae8c2ba View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    116e4ca View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2023

  1. feat: Update test block (#127)

    * refactor(blocks): Change endpoint verb
    
    Use PATCH instead of PUT since the update is partial
    
    * refactor(blocks): Use a single file for all the domain errors
    
    * refactor: Create new utility function to validate multipart form headers
    
    * fix: Read raw static files microservice error response
    
    Read raw bytes before un-marshalling to JSON
    
    * feat(blocks): Add new methods and refactor blocks repository
    
    * refactor(labs): Use utility function to avoid repeating code
    
    * refactor: Rename generic domain error
    
    * feat(blocks): Add endpoint to rename test blocks
    
    * docs(openapi): Add blocks prefix to blocks endpoints
    
    * docs(http): Update insomnia collection
    
    * test: Add test to ensure teachers can update test blocks
    
    Also do some refactors and create some helper functions
    PedroChaparro authored Dec 30, 2023
    Configuration menu
    Copy the full SHA
    fa8c816 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7f741e5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    14a5b37 View commit details
    Browse the repository at this point in the history
  4. feat: Update status of enrolled students (#129)

    * refactor(courses): Use a single file for all domain errors
    
    * docs(openapi): Update spec
    
    * feat(courses): Add new endpoint to update the status of enrolled students
    
    Toggle students' status to true or false
    
    * feat(courses): Sort students by status and full name
    
    * test(courses): Add test to ensure teachers can update students' status
    PedroChaparro authored Dec 30, 2023
    Configuration menu
    Copy the full SHA
    0797e01 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7d538f4 View commit details
    Browse the repository at this point in the history
  6. refactor: Unify project packages (#130)

    * refactor(accounts): Use a single file for all domain errors
    
    * refactor(accounts): Use a single file for all requests schemas
    
    * refactor(accounts): Remove http prefix from controllers and routes files
    
    * refactor(courses): Update files names
    
    * chore(labs): Track responses folder
    
    Add an empty .gitkeep file to track the folder
    
    * refactor(lang): Update files names and track requests folder
    
    * refactor(rubrics): Use a single file for all domain errors
    
    * refactor(rubrics): Remove http prefix from controllers and routes files
    
    * refactor(session): Use a single file for all dtos
    
    * refactor(session): Use a single file for all domain errors
    
    * refactor(session): Remove http prefix from controllers and routes files
    
    * refactor(session): Use a single file for all requests and track responses folder
    
    * refactor: Replace snake case imports with camel case
    
    Use golang naming convention
    PedroChaparro authored Dec 30, 2023
    Configuration menu
    Copy the full SHA
    1511156 View commit details
    Browse the repository at this point in the history
  7. feat: Delete markdown block (#131)

    * feat(blocks): Add endpoint to delete markdown block
    
    * test(blocks): Add test to ensure teachers can delete markdown blocks
    PedroChaparro authored Dec 30, 2023
    Configuration menu
    Copy the full SHA
    1aee6d6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f0285eb View commit details
    Browse the repository at this point in the history
  9. feat: Delete test block (#132)

    * feat(db): Create new table to save archives deletion errors
    
    * feat(blocks): Create new endpoint to delete test blocks
    
    * test(blocks): Add test to ensure teachers can delete test blocks
    PedroChaparro authored Dec 30, 2023
    Configuration menu
    Copy the full SHA
    3ddaa80 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    086322e View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    4ee2c0b View commit details
    Browse the repository at this point in the history