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

Deployment #383

Merged
merged 136 commits into from
Oct 21, 2021
Merged

Deployment #383

merged 136 commits into from
Oct 21, 2021

Conversation

Markus Ho-Yen and others added 30 commits November 10, 2020 01:02
Created `stream_name` attribute to machine model
added `data-stream` attribute to img which is used to connect to stream socket
Before all strings could pass the regex validation.
Clearified so that it is clear what needs to be changed
They fail due to a `KeyError "machine_type"` in `cleaned_data` in
`make_queue.forms.EditMachineForm.clean()`.
when line 18 is uncommented, it throws the error `'set_stream_name' is not defined`
ddabble and others added 21 commits October 18, 2021 15:34
…d-printer-name

# Conflicts:
#	locale/nb/LC_MESSAGES/django.mo
#	locale/nb/LC_MESSAGES/django.po
…-name

Decouple stream name from printer name
…ation-improvements

# Conflicts:
#	locale/nb/LC_MESSAGES/django.mo
#	locale/nb/LC_MESSAGES/django.po
#	make_queue/migrations/0015_machinetype.py
#	make_queue/templates/make_queue/course/course_registration_list.html
#	make_queue/tests/models/test_reservation.py
#	make_queue/tests/views/test_delete_reservation_view.py
#	make_queue/tests/views/test_reservation_reservation.py
#	make_queue/views/reservation/reservation.py
* Added more conventional folder/directory locations
* Added more conventional filenames
* Added links to some keywords
* Fixed `CreateView` paths having `/<pk>` before `/add`
* Generally better wording several places
Also improved some wording and some links.
…rovements

Misc. visual reservation improvements
…button

# Conflicts:
#	internal/templates/internal/secret_list.html
#	locale/nb/LC_MESSAGES/django.mo
#	locale/nb/LC_MESSAGES/django.po
Also replaced `== x.x.*` with `>= x.x.x`, to force the server to install updated versions of those packages.
Removed testing against Python 3.7, as it's old enough for us to (safely) drop support for it.

Added testing against Python 3.10.
This was caused by the changes in PR #379 (merge commit afa0038), in which `index.css` was changed.
That stylesheet was also used by `event_list.html` and `article_list.html` (despite the stylesheet's name), which were accidentally not updated.
@ddabble ddabble added hacktoberfest-accepted deployment Pull requests from another branch (usually `dev`) into the `main` branch labels Oct 20, 2021
@codecov
Copy link

codecov bot commented Oct 20, 2021

Codecov Report

Merging #383 (a870aa4) into master (aa1fe9c) will increase coverage by 9.43%.
The diff coverage is 85.25%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #383      +/-   ##
==========================================
+ Coverage   73.87%   83.31%   +9.43%     
==========================================
  Files         116      119       +3     
  Lines        3610     3770     +160     
==========================================
+ Hits         2667     3141     +474     
+ Misses        943      629     -314     
Impacted Files Coverage Δ
checkin/urls.py 100.00% <ø> (ø)
dataporten/social.py 63.33% <ø> (-1.19%) ⬇️
internal/templatetags/member.py 91.30% <ø> (ø)
internal/urls.py 100.00% <ø> (ø)
make_queue/urls.py 100.00% <ø> (ø)
make_queue/views/admin/quota.py 76.31% <0.00%> (ø)
web/management/commands/runserver.py 0.00% <0.00%> (ø)
news/views.py 87.68% <62.50%> (+12.68%) ⬆️
internal/models.py 85.45% <66.66%> (+0.26%) ⬆️
news/forms.py 96.87% <75.00%> (+18.08%) ⬆️
... and 65 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update aa1fe9c...a870aa4. Read the comment docs.

Copy link
Member

@sigridge sigridge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm approving this PR, but i have one comment that should be fixed or talked about later.

When adding a machine, and you do something "wrong" (like not picking a machinetype or writing a videostream name with characters that arent accepted), the error message is shown on the top of the form, but with no explanation about which field you messed up on.

@ddabble
Copy link
Member Author

ddabble commented Oct 21, 2021

@sigtheidiot Yeah, that will be fixed in #359 😅 We could fix it before that, but I'm not sure if it'll be worth the effort 🤔

@ddabble ddabble merged commit 2e9dd40 into master Oct 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployment Pull requests from another branch (usually `dev`) into the `main` branch hacktoberfest-accepted
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants