|
Ran
|
Files
37
|
Run time
2s
|
Badge
README BADGES
|
push
travis-ci
<a href="https://github.com/source-academy/cadet/commit/<a class=hub.com/source-academy/cadet/commit/<a class="double-link" href="https://git"><a class=hub.com/source-academy/cadet/commit/526917dee5fe115d5c958d2bcda7ecac14857dce">526917dee"><a href="https://github.com/source-academy/cadet/commit/</a><a class="double-link" href="https://github.com/source-academy/cadet/commit/526917dee5fe115d5c958d2bcda7ecac14857dce">526917dee</a><a href="https://github.com/source-academy/cadet/commit/526917dee5fe115d5c958d2bcda7ecac14857dce">">Implement /auth with IVLE token (#48) * Move context files folders with the same name As per the standard phoenix 1.3.0 structure. http://phoenixframework.org/blog/phoenix-1-3-0-released * Change user fields to include NUSNET ID * Change /auth to take ivle_token (was email, pw) * Add HTTPoison dependency for requests to IVLE * Change email in authorizations to nusnet_id * Remove NUSNET ID from users * Remove password from registration, authorization * Remove comeonin tokens * Add IVLE API call to /auth * Register users automatically if first time login * Improve documentation, fix some credo --strict&#39;s * Squash migrations into a single file * Add tests for Ivle module via ExVCR * Add test for fetch_name in Cadet.Accounts.Ivle * Fine tune /auth error codes * Add tests for sign_in in Cadet.Accounts * Add tests for AuthController using ExVCR * Fix failing travis.ci tests * Remove password fields from registration test * Set IVLE_KEY in .env rather than environment var * Move ExVCR fixture to test/fixture * Fix Ivle module using env var instead of dot env * Reverse conditional for readability * Improve readability for Ivle&#39;s api_fetch/2 * Improve readability for AuthController&#39;s create/2 * Improve readability for Account&#39;s sign_in/2 * Improve tests with assert pattern match * Improve readability and docs for @token in tests * Fix credo offences due to ff89294 * Fix failing credo tests because of bad cassettes * Move .env file as .e... (continued)
186 of 197 relevant lines covered (94.42%)
5.01 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|