Closed ddabble closed 1 year ago
Merging #652 (2ca1a2e) into dev (f84561b) will decrease coverage by
0.13%
. The diff coverage is89.90%
.
@@ Coverage Diff @@
## dev #652 +/- ##
==========================================
- Coverage 88.29% 88.16% -0.13%
==========================================
Files 147 152 +5
Lines 6058 6187 +129
==========================================
+ Hits 5349 5455 +106
- Misses 709 732 +23
Impacted Files | Coverage Δ | |
---|---|---|
src/checkin/api/views.py | 0.00% <0.00%> (ø) |
|
src/checkin/local_scanner.py | 0.00% <0.00%> (ø) |
|
src/users/api/views.py | 100.00% <ø> (ø) |
|
src/web/admin_urls.py | 93.33% <ø> (ø) |
|
src/make_queue/forms/quota.py | 61.76% <61.76%> (ø) |
|
src/make_queue/forms/course.py | 81.57% <81.57%> (ø) |
|
src/make_queue/api/views.py | 96.87% <96.87%> (ø) |
|
src/news/api/views.py | 96.96% <96.96%> (ø) |
|
src/make_queue/forms/machine.py | 97.43% <97.43%> (ø) |
|
src/make_queue/forms/reservation.py | 97.91% <97.91%> (ø) |
|
... and 28 more |
Merging without explicit approval from another member, as the Dev committee previously agreed to merge these changes and assume they're relatively bug-free, simply to get things done quicker.
Proposed changes
Improvements
internal.is_internal
permission (2103a95a279e7624159b62450e18345b82717385)ContentBox
on a subdomain its path is not registered on (like trying to change the "About us"ContentBox
on i.makentnu.no, or the "MAKE NTNU internsider"ContentBox
on makentnu.no), you're redirected to the proper subdomain, instead of being shown a "404 Not Found" page (7f62a45a162922b7f046dbb8a1393459a511857a)Other changes
/the-text-between-the-forward-slashes/
) now all have a more consistent structure, including prefixing all admin pages' paths withadmin/
and all API endpoints withapi/
checkin
" URLs (those related to user skills, registering cards and checking in), to reduce the risk of exposing potentially insecure or buggy code (b7a05debe8d0231aa54061e66022400d801b17be)Areas to review closely
Any (hardcoded) URLs and references to views and forms I might have forgotten to update after reorganizing.
Checklist
(If any of the points are not relevant, mark them as checked)