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

initial SysTray api PR #1829

Open
wants to merge 14 commits into
base: develop
Choose a base branch
from
Open

initial SysTray api PR #1829

wants to merge 14 commits into from

Conversation

conlan0
Copy link
Contributor

@conlan0 conlan0 commented Apr 3, 2024

  • Added celery task to send nats command to agent every 5 mins to update systray
  • Added site-based json tray configs
  • Added global toggle for systray to be enabled
  • Added agent api communication for config, status, icon and name

@conlan0
Copy link
Contributor Author

conlan0 commented Apr 4, 2024

do i need to add my migrations here too?

@wh1te909
Copy link
Member

wh1te909 commented Apr 4, 2024

yes migrations need to be added

@conlan0
Copy link
Contributor Author

conlan0 commented Apr 5, 2024

how do i fix these errors

@wh1te909
Copy link
Member

wh1te909 commented Apr 5, 2024

look at the test failures to see what it's complaining about, in this case you need to format your code with black

The systray should be it's own django app, not under apiv3 so please move it out of there. You can still write the views under apiv3/views.py. Also makes more sense to name the app systray instead of support. Run python manage.py startapp systray under the project root. You'll need to delete and recreate your migrations and adjust imports etc.

@conlan0
Copy link
Contributor Author

conlan0 commented Apr 5, 2024

Okay awesome thanks, will take care of those and get it updated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants