Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge back stable into develop with conflict resolutions (#3259)
* update layout for small screens * update layout for small screens * Change version to 0.12.1 * Add plausible analytics in infrahub docs * cherry pick new docker-compose.yml (#3018) * fix(ci): disable flaky/failing job/test Signed-off-by: Fatih Acar <[email protected]> * Fix IPAM prefix/address upsert null reference (#3121) * remove is_inheritied metadata (#3118) * Ple prefix pagination (#3119) * fix pagination for prefix children * minor ui improvement for scrolling table * Columns update for IP details list view (#3134) * display prefix column only in global list view + remove interface column * remove log * Prefix summary updates (#3122) * remove log * rename constant * bold for current prefix in prefix details and list * display progress bar value * switch to progress bar in prefix summary * rename props * update skeleton * 🔧 * Display profiles schema in Schema visualizer * fix e2e test * fix typo -> optional * fix edit on profile * Url on meta tooltips uses profile's kind instead of profile generic * update get atributes for queries function to exclude reead only fields + rename parameters (#3137) * Raise error on RelationshipAdd to busy peer * fix TS type on ip-details-card * on ipam summary, utilization show a progress bar * remove chart card in IP summary * Python SDK 0.10.0 first release candidate (#3141) * Prefix columns and icons updates (#3149) * lint * update colomns and icons * improve icon test for member type * hierarchy update fix (#3143) * test for hierarchy update failure * set hierarchy when creating relationship * add fix for all relationship update queries * one more test * Added a visual difference between "select a kind" and "select a profile" * ProgressBar adheres to the progressbar role requirements + redesign * renamed component * rename function to make it more explicit on its action * fix relationship filter on IP address/prefix summary * removed chart skeleton * Fix flaky on profiles spect e2e test * Add IPAM reconciliation to merge (#3135) * add IpamReconcile to merge mutation * Ipam reconcile in proposed change merge * move Ipam reconciliation up earlier in message chain * Raise correct exception when getting wrong type of node (#3140) * Fix IPAM builtin generics read-only relationships (#3157) * on sidebar footer, docs link redirects to local documentation * Force Ip in IP in BuiltinIPAM nodes (#3166) * Force IP instead of Ip in Builtin with Label * rework a bit the base schema to link circuit<->bgp session * No focus ring on button when clicking with mouse (#3160) * removed focus ring on mouse click on button * no focus with mouse on wayback machine + improved animation * revert hover bg on button variant ghost * Metadata popover in relationships list (#3167) * add again popover for metadata without edit button * get properties from relationships * fix function to get mutation for relationships * minor ui alignement * fix mock query * Strip trailing slashes from address in config (#3183) * fix for stale relationships being included in NodeGetListQuery filtering and ordering results (#3165) * failing tests for issue in node get list query * possible fix for missing active filter in subquery filter * test and fix for inactive relationships included in NodeGetList filter * fix for ordering subquery too * profile update fix (#3147) * add failing test for profile update * a bunch of tests and some bug fixes * fix source clearing * order profiles deterministically for filter,order, and application * IPAM edit for prefixes and adresses (#3189) * update card to display edit button and panel * profive refetch for edit * provide refetch for ip adress * fix edit for prefix and attributes * 🔧 * Allow null values for optional enums Fixes #3182 * exclude mypy cache in subdirectories from docker * fix flaky e2e test for search anywhere * removes pagination for groups selector (#3198) * send null for dropdown + enum (#3199) * fix for hierarchy cypher query (#3194) * fix for hierarchy cypher query * fix for neo4j * remove DISTINCT for neo4j * Guide - Jinja Transform: Update Jinja2 template to iterate over GQL data at proper level. * remove initial value for filters (#3206) * replace prefix by uuid on IPAM url + E2E Testing on IPAM (#3161) * removed unused files * Added e2e test for ipam tree on expand on toggle * link in ipam tree uses uuid * e2e test for prefix summary * link in prefix list use uuid * fix test * use uuid on prefix details tab * add e2e test on permission and create/delete prefix * use new button primitive on table component * use uuid on Ipam tab ip address * Add test on ip address create and delete * fix test * improve ipam test reliability * improve ipam test consistency * added e2e test for edit on prefix and ip address * Fixed ipam tree expansion on 1st load * cleaning graphql request * Keep all initial url query params after login success * supports adding a profile to a group on UI * fix create schema guide relationships of kind Parent are now required * only optional attrs on profiles (#3177) * only optional attrs on profiles * try adding groups back in to profiles * hopefully fixes tests and doesn't break any * get attributes for profiles in create and edit forms --------- Co-authored-by: pa-lem <[email protected]> * Fix crash on IPAM when prefix id is not found * fix crash on prefix details tab when prefix id is not found * put loading before checking if prefix data is present * Keep QSP when navigating with tabs on IPAM * Display prefix value instead of id in ip address breadcrumb * add more nodes to CodeNode.used_by (#3218) * add more nodes to CodeNode.used_by * add CoreNode to InfrahubKind * don't include CoreNode in diff * use version of schema for correct branch in uniqueness checks (#3219) * get the schema version on this branch for uniqueness check * update some unit tests * use the branch in the right place instead of overriding the input schema * Improve diff print to include lower level * Update _diff_element to add element when the id is missing on both side * Add migrations 5 6 & 7 related to new fields in the schema * Add deprecated models structure in schema migration * Typos and spelling covering those reported from @hbled: #3152 * Release node for 0.13 * Update NodeAttributeAddMigrationQuery01 to add is_default * Fix for pylint * Add method function to generate uuid * Add load_schema_to_db to ensure all nodes have a uuid * Leverage generate_uuid in tests to similate real data * Add generate_uuid to similar real data * Revert changes to TestInfrahubApp and add PYTEST_RUNNING var as a tracker * Remove readme page in docs for topics and guides * Update link in sidebars * Add 0.13 to menu * Remove retype * Updatel links, remove section about config changes * Update versions to 0.13 and 0.10 * Update flask-cors to fix security vulnerability Flask-Cors is only used from Locust and doesn't impact the security of Infrahub, still it looks better to have it patched for the release. * Remove known IPAM limitations that where fixed (#3231) * Flaky test fix for select 2 steps and options loading time (#3229) * start fix flaky select * rename operation name * Fix for 3227, add branch to get_unique_constraint_schema_attribute_paths * Add integration test to validate loading new schema in branch * Fix PYTEST_RUNNING check in _diff_element * Cleanup integration test * Add PYTEST_RUNNING env var for integration tests for the SDK * Include feedback * rename read_only * Fix typo, update gitignore * Fix IP namespace being reset on mutation (#3242) * add neo4j storage requirements to hardware requirements * run site generation outside of batch * Fix typo * Adds advanced test for profile for interface l2 (#3239) * add advanced test for profile for interface l2 * add steps * add describe in previous e2e test for interface l2 * update steps * Update Jinja2 for vulnerability fix (#3245) * Fix hot reload on IPAM tree (#3247) * Only show IPAM menu if proper models exist. * Refresh for version 0.13.0 * Modify how the schema is loaded for version 0.13.0 * Switch to neo4j community and make neo4j te default in codespace * Remove wait and re-add restart * Switch to neo4j community and make neo4j te default in codespace --------- Signed-off-by: Fatih Acar <[email protected]> Co-authored-by: Damien Garros <[email protected]> Co-authored-by: Bilal <[email protected]> Co-authored-by: Benoit Kohler <[email protected]> Co-authored-by: Fatih Acar <[email protected]> Co-authored-by: fatih-acar <[email protected]> Co-authored-by: Guillaume Mazoyer <[email protected]> Co-authored-by: Patrick Ogenstad <[email protected]> Co-authored-by: Aaron McCarty <[email protected]> Co-authored-by: Benoit Kohler <[email protected]> Co-authored-by: Mikhail Yohman <[email protected]> Co-authored-by: Wim Van Deun <[email protected]> Co-authored-by: Pete Crocker <[email protected]> Co-authored-by: Aaron McCarty <[email protected]>
- Loading branch information