backend
backend copied to clipboard
Backend of Source Academy @ NUS, LMS extension of Source Academy (Elixir, Ecto, Phoenix, PostgreSQL)
Sets up SAML and exposes some endpoints for SAML auth flow, following `samly`'s [documentation](https://github.com/dropbox/samly).
Bumps [credo](https://github.com/rrrene/credo) from 1.7.1 to 1.7.6. Release notes Sourced from credo's releases. 1.7.6 Check it out on Hex: https://hex.pm/packages/credo/1.7.6 Credo.Check.Consistency.MultiAliasImportRequireUse fixed false positive Credo.Check.Readability.PredicateFunctionNames now ignores functions that implement a...
### Description **To be merged with Frontend [#2893](https://github.com/source-academy/frontend/pull/2893)** For implementation decisions, see Frontend PR. ### Changes - Changed `submissions_by_grader_for_index` pipeline by adding user table, assessment.title and assessment.config_id - Added `sort_submission`...
### Description Resolves [#2226](https://github.com/source-academy/frontend/issues/2226). There are occasional "low effort" submissions from students to gain the early submission bonus XP. This PR fixes this while not changing the workload for the...
Bumps [sentry](https://github.com/getsentry/sentry-elixir) from 8.1.0 to 10.5.0. Release notes Sourced from sentry's releases. 10.5.0 Various fixes & improvements Improve resilience of looking at Retry-After (ab7fbb96) by @whatyouhide Fix compilation error (cf93d226)...
Closes #1118. Refer to the linked issue for details.
This is causing UI state/rendering bugs in the frontend as the React components switch from uncontrolled to controlled (due to the `undefined` value). And also affects downstream logic due to...
- [ ] Enforce rate limiting - [ ] Enforce message size limit - [ ] Enforce message preludes - [ ] Abstract chat completion API
Useful to prevent abuse as well as tailor learning experience, improve future prompts - [ ] Track per-user token usage - [x] Track usage frequency - [x] Log requests and...
### Description **To be merged with Frontend [#2765](https://github.com/source-academy/frontend/pull/2765) and Grader [#319](https://github.com/source-academy/grader/pull/319)** ### Changes - Changed `/assessments/:assessmentid/submit` pipeline to return all files in an assessment when submitting it for auto grading...