[PR #452] Add an autogenerated http_user field to the host table. #513

Open
opened 2026-02-26 10:31:56 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/nsupdate-info/nsupdate.info/pull/452
Author: @brice-gros
Created: 1/14/2020
Status: 🔄 Open

Base: masterHead: alternative/add-http_user-to-Host


📝 Commits (10+)

  • e1c2c17 add http_user field to Host table
  • abccf86 WIP fix migration
  • f341562 Fix migration step
  • 720de2e add missing line
  • fcc1728 use .format() instead of f-string for compatibility with python 3.5
  • 80f8d57 update tests to use Host.http_user
  • 6b1cd88 fix typo
  • 5b9bda8 apply to_http_user() only where it makes sense
  • b3d6c6c fix code assuming string but getting FQDN instances
  • df54194 fix code assuming string but getting FQDN instances

📊 Changes

9 files changed (+153 additions, -75 deletions)

View changed files

📝 .gitignore (+1 -0)
.vscode/settings.json (+3 -0)
📝 CHANGES.rst (+5 -0)
📝 conftest.py (+9 -2)
📝 src/nsupdate/api/_tests/test_api.py (+28 -35)
📝 src/nsupdate/api/views.py (+11 -13)
src/nsupdate/main/migrations/0013_host_http_user.py (+38 -0)
📝 src/nsupdate/main/models.py (+33 -0)
📝 src/nsupdate/main/templates/main/includes/tabbed_router_configuration.html (+25 -25)

📄 Description

Solving #451


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/nsupdate-info/nsupdate.info/pull/452 **Author:** [@brice-gros](https://github.com/brice-gros) **Created:** 1/14/2020 **Status:** 🔄 Open **Base:** `master` ← **Head:** `alternative/add-http_user-to-Host` --- ### 📝 Commits (10+) - [`e1c2c17`](https://github.com/nsupdate-info/nsupdate.info/commit/e1c2c17cf6ecf84dfd00d13fb87f696f82a8865f) add http_user field to Host table - [`abccf86`](https://github.com/nsupdate-info/nsupdate.info/commit/abccf86cdcf93180c51383e21cfff8c2238701da) WIP fix migration - [`f341562`](https://github.com/nsupdate-info/nsupdate.info/commit/f34156282f43f91ae41b8ebb6f32535b12775977) Fix migration step - [`720de2e`](https://github.com/nsupdate-info/nsupdate.info/commit/720de2e8e38f2b905a4a6b24da01738729dc89f4) add missing line - [`fcc1728`](https://github.com/nsupdate-info/nsupdate.info/commit/fcc1728423e7297aed056acd2203a3e0907bd504) use .format() instead of f-string for compatibility with python 3.5 - [`80f8d57`](https://github.com/nsupdate-info/nsupdate.info/commit/80f8d57269adf5a980482cd9a80fe660d6f5b852) update tests to use Host.http_user - [`6b1cd88`](https://github.com/nsupdate-info/nsupdate.info/commit/6b1cd88d3edb5192574f3dde8ae215269254acca) fix typo - [`5b9bda8`](https://github.com/nsupdate-info/nsupdate.info/commit/5b9bda87f2b7a96ce3bb8d1e62a9391f4e58fa73) apply to_http_user() only where it makes sense - [`b3d6c6c`](https://github.com/nsupdate-info/nsupdate.info/commit/b3d6c6c44a909549183faa01edf1f8b57158f5fd) fix code assuming string but getting FQDN instances - [`df54194`](https://github.com/nsupdate-info/nsupdate.info/commit/df5419405790d39b79c73c211870fb48a2e0b6ba) fix code assuming string but getting FQDN instances ### 📊 Changes **9 files changed** (+153 additions, -75 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+1 -0) ➕ `.vscode/settings.json` (+3 -0) 📝 `CHANGES.rst` (+5 -0) 📝 `conftest.py` (+9 -2) 📝 `src/nsupdate/api/_tests/test_api.py` (+28 -35) 📝 `src/nsupdate/api/views.py` (+11 -13) ➕ `src/nsupdate/main/migrations/0013_host_http_user.py` (+38 -0) 📝 `src/nsupdate/main/models.py` (+33 -0) 📝 `src/nsupdate/main/templates/main/includes/tabbed_router_configuration.html` (+25 -25) </details> ### 📄 Description Solving #451 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nsupdate.info-nsupdate-info#513
No description provided.