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

Develop #50

Merged
merged 79 commits into from
Oct 4, 2023
Merged

Develop #50

merged 79 commits into from
Oct 4, 2023

Conversation

wojtekzyla
Copy link
Collaborator

No description provided.

wojtekzyla and others added 30 commits June 20, 2023 15:48
…ete button in delete modal to primary, after deleting anything always display confiramtion, change label on the button in the inventory, add a unit to the polling frequency

fix: display config from the inventory for the devices in groups

fix: unfinished validation of new hosts and group

fix: validation of new devices and groups

fix: comment out obsolete test - they will be updated while creating test suit
fix: combine frontend and bacnkend build to one workflow, create release workflow

fix: run build frontent and backend in seperate jobs

fix: don't build pr images

fix: update .releaserc
Don't push docker images in ci-build.yaml workflow

Revert "Update ci-build.yaml"

This reverts commit 2e57423.

fix: change yarn network-timeout

fix:  Don't push docker images in ci-build.yaml workflow, don't update yarn network-timeout

fix: install python in frontend docker image

fix: install python3 on alpine linux

fix: add make in frontend Dockerfile

fix: rename workflow name to ci-build

fix: frontend dockerfile install python2

fix: dockerfile change
# 1.0.0-beta.1 (2023-07-05)

### Bug Fixes

* add collapsible rows in profiles ([23035bb](23035bb))
* add gunicorn logger, add test directory, add requirements ([1ba2cad](1ba2cad))
* add permissions to the release job in workflow ([71cec71](71cec71))
* add SC4SNMP_UI_backend directory in backend Dockerfile ([fa35651](fa35651))
* add validation to check if community is provided if version is 1 or 2c ([816c8a8](816c8a8))
* added comments and deleted profile validation context ([f2adcda](f2adcda))
* added error style to inventory and groups forms while validating ([abbda32](abbda32))
* added Proxima Nova font, finished inventory ([6d56473](6d56473))
* added requirements.txt ([d8eb307](d8eb307))
* added semicolon ([6f336ba](6f336ba))
* adding inventory fields without base and mandatory profiles ([2b28113](2b28113))
* auto refresh state after deleting or adding profile ([6e1da8c](6e1da8c))
* automatically add base and mandatory profiles to the new inventory, delete inventory records ([7851aa7](7851aa7))
* backend for delete and edit objects by ID instead of profile name ([87ef861](87ef861))
* bolded header in the inventory modal ([9f9e6ad](9f9e6ad))
* change backendHost to use it on local machine ([e6b11de](e6b11de))
* change docker image repository name ([053e6b7](053e6b7))
* change modal name to Edit or Add depending on action ([4a01627](4a01627))
* change order of menu tabs, change 'IP address/Group' field from group devices configuration to 'IP address' ([156fc6d](156fc6d))
* change organisation of files ([c129eb1](c129eb1))
* change url link of inventory to the updated version of API endpoints ([b8bcc77](b8bcc77))
* changed the way of accesing colection in endpoints, changed how updates of profiles are made, created check_if_inventory_can_be_added, changed the way of deleting group from inventory when the group was deleted ([cf9f482](cf9f482))
* changed variables names ([a810fd6](a810fd6))
* changin variables including 'Id' in the name from 'myNameID' to 'myNameId' ([095b49c](095b49c))
* condition validation and partially working varBinds validation ([28ca072](28ca072))
* converting profiles between two formats ([6befac7](6befac7))
* create modal for displaying messages from backend ([00138ff](00138ff))
* create new groups column in groups UI ([1bb9e10](1bb9e10))
* cross-origin ([f1946a5](f1946a5))
* delete and edit objects by ID instead of profile name ([75705b7](75705b7))
* delete and update endpoints ([c67b2bc](c67b2bc))
* delete inventory.py file ([bf557ba](bf557ba))
* delete unnecessary logger ([82da626](82da626))
* deleted inventory_old.py ([ef747dd](ef747dd))
* deleting profiles ([24c3417](24c3417))
* display messages from backend when updating inventory and updating group ([dfe6978](dfe6978))
* display messages from backend when updating or deleting profiles ([d917657](d917657))
* don't change values after update window is closed without submiting changes ([4cf7249](4cf7249))
* edit apropriate FormRows.Row in varBinds and Conditions ([0253391](0253391))
* edit inventory records with groups ([67cbbc5](67cbbc5))
* editing and deleting inventory records ([ea80642](ea80642))
* editing and deleting inventory records - backend ([bf463e8](bf463e8))
* error message for security engine - fixed grammar error ([33b1bc8](33b1bc8))
* error message for security engine informing that all the letter must be either upper or lowe case ([2503a51](2503a51))
* finished groups UI ([5bfb791](5bfb791))
* first version of edits ([f49a759](f49a759))
* first version of working group form without validation, refactored delete modal ([f291d15](f291d15))
* first version of working group form without validation, refactored delete modal - backend ([5d8e1ee](5d8e1ee))
* fix invalid escape sequence \s in .releaserc ([be8a89f](be8a89f))
* fix matches in .releaserc ([4710923](4710923))
* fixed bug that made edit instead of new profile after previously editing profile ([1214370](1214370))
* fixed conditions editing ([3281c7b](3281c7b))
* fixed error with adding and deleting conditions' patterns while editing ([45870c9](45870c9))
* fixed error with adding varBinds while editing ([02efd96](02efd96))
* fixed error with deleteing last device from the current page ([25105d9](25105d9))
* fixed error with deleting varBinds ([77609a4](77609a4))
* fixed issue with adding device instead of updating if nothing is changed in updating form ([cbbd2b1](cbbd2b1))
* fixed varBinds validation ([eec377f](eec377f))
* fixed varBinds validation ([f93fdf6](f93fdf6))
* fixed varBinds validation ([952eeb8](952eeb8))
* fixed varBinds validation ([7b0c888](7b0c888))
* fixes of varBinds errors ([7eb0d62](7eb0d62))
* fixing bug in pagination ([be8981c](be8981c))
* flask tests ([60eb305](60eb305))
* get host from environment variable ([83605c1](83605c1))
* groups integration with sc4snmp database ([99c072d](99c072d))
* if profile name is updated or the whole profile is deleted, update corresponding record in the inventory ([f9fd0a8](f9fd0a8))
* improved IPv4 regex ([49c046f](49c046f))
* improved reload after deleting, adding or updating device in group ([49fc9b6](49fc9b6))
* InventoryContext, auto reload Inventory after adding new device ([14acbf8](14acbf8))
* loading inventory from mongo ([7df8cfb](7df8cfb))
* logic for inventory validation ([60de7a3](60de7a3))
* logic for profiles validation ([373747f](373747f))
* more options in profile condition selection ([9f4ba5b](9f4ba5b))
* more post endpoint tests ([914b241](914b241))
* move error styles to the seperate file ([40b5917](40b5917))
* new menu, unfinished header ([f1b249b](f1b249b))
* pagination - backend ([e27e327](e27e327))
* pagination of group devices ([18ad840](18ad840))
* pagination of groups and inventory - backend ([5246cd8](5246cd8))
* pagination of inventory ([951208d](951208d))
* pagination with selection of devices per page ([010c56c](010c56c))
* Patterns validation. Validation of new empty fields not always works ([929e6e7](929e6e7))
* polishing inventory ([8284054](8284054))
* position add and apply buttons, change font size in the menu bar ([bebba11](bebba11))
* refactor ([aca5ded](aca5ded))
* refactor AddProfileModal.jsx ([35f632b](35f632b))
* refactor code and add comments ([0688c29](0688c29))
* refactor routes in flask, refactor InventoryList.jsx, change delete button in delete modal to primary, after deleting anything always display confiramtion, change label on the button in the inventory, add a unit to the polling frequency ([0646361](0646361))
* Refactored inventory.py and basic edit of inventory ([0680781](0680781))
* refactoring ([f6ae9c9](f6ae9c9))
* refactoring backend ([e17ad77](e17ad77))
* refresh updates autoamtically after initial app start ([ff61c7f](ff61c7f))
* remove extra quotation mark in .releaserc ([af58564](af58564))
* remove print ([abb1348](abb1348))
* remove spaces in ValidationStyles.jsx ([4e9b506](4e9b506))
* remove temporary tooltip ([67b69ea](67b69ea))
* removed some logs ([e96b124](e96b124))
* Renamed IP addres in form to IP addres/Group ([31c8cc5](31c8cc5))
* renamed key in devices record from group_id to groupId ([23fd776](23fd776))
* restructure directory ([15ec5a0](15ec5a0))
* run frontend on localhost ([da49efa](da49efa))
* same database for profiles ([608c4b1](608c4b1))
* send default values from ProfilesModal to the database ([4786bba](4786bba))
* set default values for port number and snmp version to empty strings in device configuration in groups ([06fe3dc](06fe3dc))
* set profiles as default page ([e26b508](e26b508))
* state is changed in componentDidUpdate and componentDidMount instead of in render() ([21fa4e1](21fa4e1))
* styling menu bar ([676783c](676783c))
* testing menu tab ([eb09a26](eb09a26))
* testing pagination of inventory ([286b78f](286b78f))
* tooltpis ([6a16dc8](6a16dc8))
* unit tests of conversions ([aa094b2](aa094b2))
* update .gitignore ([b486e9e](b486e9e))
* update .releaserc ([b07613c](b07613c))
* update .releaserc ([6159070](6159070))
* update dependencies ([c01315e](c01315e))
* update device from group id reference ([7642e16](7642e16))
* update dockerfile for backend ([890956f](890956f))
* update form in profiles ([04fff13](04fff13))
* update lerna.json and package.json, delete package-lock.json ([6a10457](6a10457))
* update the way of passing flask IP to the frontend app ([d06d77d](d06d77d))
* updated profiles view (opening collapsible not finished) ([f34525a](f34525a))
* updated urls ([56b8169](56b8169))
* use another collection for ui inventory, send error messages to user if theu want to add inventory record that already exists, send error message when user wants to add nonexistent group to the inventory and send message about deleting record from inventory when user deletes group ([bc5006a](bc5006a))
* use sepereta mongo collection for profiles and groups from ui ([7b405e5](7b405e5))
* validation for adding group with existing name and existing device in the group ([e741db4](e741db4))
* validation messages for Profile Name and Frequency ([e64e630](e64e630))
* Validation of groups ([8ea0bfe](8ea0bfe))
* validation of inventory form ([7a82789](7a82789))
* waraping children with ProfileContext in Manager.jsx ([6030b68](6030b68))
* working on groups ([a61ab32](a61ab32))
* working validation ([e4557bf](e4557bf))
…ete button in delete modal to primary, after deleting anything always display confiramtion, change label on the button in the inventory, add a unit to the polling frequency

fix: display config from the inventory for the devices in groups

fix: unfinished validation of new hosts and group

fix: validation of new devices and groups

fix: comment out obsolete test - they will be updated while creating test suit
fix: add comments to handle_changes.py and kubernetes_job.py

fix: in handle_changes.py: added CheckIfPreviousJobFailed handler, added max retries for job creation, added logging and mongo exception handling in celery task

fix: update comment in CheckJobHandler
…n the inventory using string address

fix: enable compound indices and configuration of string based hosts

fix: refactor condition in profiles form

fix: in ProfileConversion._backend2ui_map for empty patterns filed return empty list instead of None

fix: refactor varBinds form
fix: add conversion of conditional profiles

fix: validate if any varBind, pattern or conditions were added

fix: remove filed and patterns columns from profiles screen, rename fileds in profile form

fix: rename UI fileds in profiles

change conversion to int and float
fix: refactoring inventory post endpoints tests

fix: refactor tests and conversions after rebasing

fix: refactor helpers.py, write test for adding groups in the inventory

fix: update test_post_inventory and test_conversions, refactor conversions.py

fix: in Conditional.jsx rename operation 'equal' to 'equals', in Header.jsx while opening new profile modal set default condition to 'standard'

fix: add tests for apply changes functionality
…google/semantic-release-replace-plugin to jpoehnelt/semantic-release-replace-plugin
wojtekzyla and others added 24 commits July 28, 2023 16:14
# [1.0.0-beta.8](v1.0.0-beta.7...v1.0.0-beta.8) (2023-07-28)

### Bug Fixes

* add unit tests to pipeline ([4ed7634](4ed7634))
…on when some record wasn't edited or added (#38)

fix: fix broken test

fix: remove unused imports

fix: validate situation when user tries to add host which has the same name as a group configured in groups or reverse situation

fix: allow adding host names staring with a digit

fix: update get_inventory_type function and tests
# [1.0.0-beta.9](v1.0.0-beta.8...v1.0.0-beta.9) (2023-08-02)

### Bug Fixes

* add groups and single hosts in separate fields. Clear notofication when some record wasn't edited or added ([#38](#38)) ([86b4cff](86b4cff))
# [1.0.0-beta.10](v1.0.0-beta.9...v1.0.0-beta.10) (2023-08-07)

### Bug Fixes

* update test ids ([#39](#39)) ([68d32a5](68d32a5))
# [1.0.0-beta.11](v1.0.0-beta.10...v1.0.0-beta.11) (2023-08-10)

### Bug Fixes

* group name can't start with a number ([#41](#41)) ([2fc2ee6](2fc2ee6))
* upgrade varbinds validation ([#40](#40)) ([9edebff](9edebff))
* fix: remove indices from tests ids

* fix: add test ids to tables and individual cells in profiles, groups and inventory
# [1.0.0-beta.12](v1.0.0-beta.11...v1.0.0-beta.12) (2023-08-14)

### Bug Fixes

* trigger release ([#43](#43)) ([cf1967a](cf1967a))
# [1.0.0-beta.13](v1.0.0-beta.12...v1.0.0-beta.13) (2023-09-11)

### Bug Fixes

* fix bug with deleted inventory records reappearing after deleting profiles ([#44](#44)) ([599f475](599f475))
# [1.0.0-beta.14](v1.0.0-beta.13...v1.0.0-beta.14) (2023-09-11)

### Bug Fixes

* fix typos in groups ([#45](#45)) ([bad506e](bad506e))
# [1.0.0-beta.15](v1.0.0-beta.14...v1.0.0-beta.15) (2023-09-12)

### Bug Fixes

* fix apply changes api message ([#46](#46)) ([8d72e17](8d72e17))
# [1.0.0-beta.16](v1.0.0-beta.15...v1.0.0-beta.16) (2023-09-12)

### Bug Fixes

* add max walk interval validation, fix clicking on group names, add max group name length validation ([#47](#47)) ([b9ad7d7](b9ad7d7))
fix: add unit test for conditional profile negation

fix: update backend unit test
# [1.0.0-beta.17](v1.0.0-beta.16...v1.0.0-beta.17) (2023-09-15)

### Bug Fixes

* add regex and negation options for conditional profiles ([#48](#48)) ([a34ab61](a34ab61))
# [1.0.0-beta.18](v1.0.0-beta.17...v1.0.0-beta.18) (2023-10-04)

### Bug Fixes

* fix typos in ui ([#49](#49)) ([ccb482d](ccb482d))
@wojtekzyla wojtekzyla merged commit f25ff6d into main Oct 4, 2023
11 checks passed
@srv-rr-github-token
Copy link
Contributor

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

4 participants