hexr:staging

Last commit made on 2019-09-19
Get this branch:
git clone -b staging https://git.launchpad.net/hexr
Members of HEXR Developers can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
staging
Repository:
lp:hexr

Recent commits

08f5f32... by PMR <pmr@pmr-lander> on 2019-09-19

Merge #372915 from ~codersquid/hexr:react-device-name-edit

Allow device names to be edited in the UI

This adds the ability to edit a device name. It provides a very primitive error message if the request does not validate. i.e. it just dumps a string of the validation errors.

1b32e0a... by PMR <pmr@pmr-lander> on 2019-09-19

Merge #372963 from ~codersquid/hexr:informative-errors-in-bus-scraper

Sggregate and report errors when updating devices

The job to updated devices and vendors was failing without providing sufficient info about the failures. This is particularly unhelpful when people do not have access to the logs. Which is us.

Fix LP: #1844569

96f571c... by PMR <pmr@pmr-lander> on 2019-09-19

Merge #372914 from ~codersquid/hexr:api-device-changes

Add validation and filters to devices api

For LP: #1841999 the Device UI on c3 will allow people to submit name changes. This adds very simple validation on the name field from incoming requests with name changes.

While I was making that change I opportunistically allowed more filtering and added subvendor information in the response.

60c76f7... by Sheila Miguez on 2019-09-17

Enhancements to the devices api in prep for react app changes

ecfb655... by PMR <pmr@pmr-lander> on 2019-09-18

Merge #372956 from ~codersquid/hexr:maintenance-toggle

Add maintenance pages and switch

If the new django setting SITE_MAINTENANCE is true, the user will get the maintenance landing page for any pages other than /api/whatever. Users who hit /api/whatever will get a json response. Both cases will return 503

377d10e... by Sheila Miguez on 2019-09-18

Add maintenance pages and switch

If the new django setting SITE_MAINTENANCE is true,
the user will get the maintenance landing page for
any pages other than /api/whatever.

Users who hit /api/whatever will get a json response.

Both cases will return 503

3ab7eae... by Sheila Miguez on 2019-09-18

Aggregate and report errors when updating devices

The job to updated devices and vendors was failing without providing sufficient info about the failures. This is particularly unhelpful when people do not have access to the logs. Which is us.

Fix LP: #1844569

4b96ca1... by PMR <pmr@pmr-lander> on 2019-09-18

Merge #372892 from ~codersquid/hexr:add-and-use-squid-proxy-settings

Use proxy settings when getting bus data

Previously we could rely on a hole in the firewall to
allow access to the pciids and usbids urls. This is
not allowed now, and we should use the internal squid
proxies.

a11cc9e... by Sheila Miguez on 2019-09-16

Use proxy settings when getting bus data

Previously we could rely on a hole in the firewall to
allow access to the pciids and usbids urls. This is
not allowed now, and we should use the internal squid
proxies.

3662004... by Sheila Miguez on 2019-09-17

React changes to allow device name editing"