diff --git a/pillar/api/node_types/asset.py b/pillar/api/node_types/asset.py index f379f1ba..59dec10d 100644 --- a/pillar/api/node_types/asset.py +++ b/pillar/api/node_types/asset.py @@ -61,9 +61,7 @@ node_type_asset = { } }, 'form_schema': { - 'status': {}, 'content_type': {'visible': False}, - 'file': {}, 'attachments': {'visible': False}, 'order': {'visible': False}, 'tags': {'visible': False}, diff --git a/pillar/api/node_types/comment.py b/pillar/api/node_types/comment.py index 42eca2ff..26a0f974 100644 --- a/pillar/api/node_types/comment.py +++ b/pillar/api/node_types/comment.py @@ -55,14 +55,6 @@ node_type_comment = { 'confidence': {'type': 'float'}, 'is_reply': {'type': 'boolean'} }, - 'form_schema': { - 'content': {}, - 'status': {}, - 'rating_positive': {}, - 'rating_negative': {}, - 'ratings': {}, - 'confidence': {}, - 'is_reply': {} - }, + 'form_schema': {}, 'parent': ['asset', 'comment'], } diff --git a/pillar/api/node_types/group.py b/pillar/api/node_types/group.py index 5d27b010..de5cc876 100644 --- a/pillar/api/node_types/group.py +++ b/pillar/api/node_types/group.py @@ -24,7 +24,6 @@ node_type_group = { }, 'form_schema': { 'url': {'visible': False}, - 'status': {}, 'notes': {'visible': False}, 'order': {'visible': False} }, diff --git a/pillar/api/node_types/group_hdri.py b/pillar/api/node_types/group_hdri.py index b154db63..060a9c39 100644 --- a/pillar/api/node_types/group_hdri.py +++ b/pillar/api/node_types/group_hdri.py @@ -15,8 +15,5 @@ node_type_group_hdri = { ], } }, - 'form_schema': { - 'status': {}, - 'order': {} - } + 'form_schema': {}, } diff --git a/pillar/api/node_types/group_texture.py b/pillar/api/node_types/group_texture.py index 4cba0bb4..bcd49f2f 100644 --- a/pillar/api/node_types/group_texture.py +++ b/pillar/api/node_types/group_texture.py @@ -15,8 +15,5 @@ node_type_group_texture = { ], } }, - 'form_schema': { - 'status': {}, - 'order': {} - } + 'form_schema': {}, } diff --git a/pillar/api/node_types/hdri.py b/pillar/api/node_types/hdri.py index db8267a4..01c01317 100644 --- a/pillar/api/node_types/hdri.py +++ b/pillar/api/node_types/hdri.py @@ -62,5 +62,5 @@ node_type_hdri = { 'content_type': {'visible': False}, 'tags': {'visible': False}, 'categories': {'visible': False}, - } + }, } diff --git a/pillar/api/node_types/page.py b/pillar/api/node_types/page.py index 83b94d7e..9e16845b 100644 --- a/pillar/api/node_types/page.py +++ b/pillar/api/node_types/page.py @@ -44,9 +44,6 @@ node_type_page = { } }, 'form_schema': { - 'content': {}, - 'status': {}, - 'url': {}, 'attachments': {'visible': False}, }, 'parent': ['project', ], diff --git a/pillar/api/node_types/post.py b/pillar/api/node_types/post.py index f7904c71..a554589d 100644 --- a/pillar/api/node_types/post.py +++ b/pillar/api/node_types/post.py @@ -48,10 +48,6 @@ node_type_post = { } }, 'form_schema': { - 'content': {}, - 'status': {}, - 'category': {}, - 'url': {}, 'attachments': {'visible': False}, }, 'parent': ['blog', ], diff --git a/pillar/api/node_types/storage.py b/pillar/api/node_types/storage.py index def05206..5a81173f 100644 --- a/pillar/api/node_types/storage.py +++ b/pillar/api/node_types/storage.py @@ -21,10 +21,6 @@ node_type_storage = { 'type': 'string', }, }, - 'form_schema': { - 'subdir': {}, - 'project': {}, - 'backend': {} - }, + 'form_schema': {}, 'parent': ['group', 'project'], } diff --git a/pillar/api/node_types/text.py b/pillar/api/node_types/text.py index 9c3345f4..b4314f29 100644 --- a/pillar/api/node_types/text.py +++ b/pillar/api/node_types/text.py @@ -24,5 +24,5 @@ node_type_text = { }, 'form_schema': { 'shared_slug': {'visible': False}, - } + }, } diff --git a/pillar/api/node_types/texture.py b/pillar/api/node_types/texture.py index 1787300f..7ce251e6 100644 --- a/pillar/api/node_types/texture.py +++ b/pillar/api/node_types/texture.py @@ -58,15 +58,8 @@ node_type_texture = { } }, 'form_schema': { - 'status': {}, 'content_type': {'visible': False}, - 'files': {}, - 'is_tileable': {}, - 'is_landscape': {}, - 'resolution': {}, - 'aspect_ratio': {}, - 'order': {}, 'tags': {'visible': False}, 'categories': {'visible': False}, - } + }, } diff --git a/pillar/tests/common_test_data.py b/pillar/tests/common_test_data.py index 423eb4a3..1d6bde6b 100644 --- a/pillar/tests/common_test_data.py +++ b/pillar/tests/common_test_data.py @@ -54,7 +54,7 @@ EXAMPLE_PROJECT = { u'status': {u'allowed': [u'published', u'pending'], u'type': u'string'}, u'url': {u'type': u'string'}}, - u'form_schema': {u'order': {}, u'status': {}, u'url': {}}, + u'form_schema': {}, u'name': u'group_texture', u'parent': [u'group_texture', u'project']}, {u'description': u'Generic group node type edited', @@ -63,7 +63,7 @@ EXAMPLE_PROJECT = { u'status': {u'allowed': [u'published', u'pending'], u'type': u'string'}, u'url': {u'type': u'string'}}, - u'form_schema': {u'notes': {}, u'order': {}, u'status': {}, u'url': {}}, + u'form_schema': {}, u'name': u'group', u'parent': [u'group', u'project']}, {u'description': u'Basic Asset Type', @@ -98,12 +98,8 @@ EXAMPLE_PROJECT = { u'type': u'string'}, u'tags': {u'schema': {u'type': u'string'}, u'type': u'list'}}, u'form_schema': {u'attachments': {u'visible': False}, - u'categories': {}, u'content_type': {u'visible': False}, - u'file': {u'visible': False}, - u'order': {}, - u'status': {}, - u'tags': {}}, + u'file': {u'visible': False}}, u'name': u'asset', u'parent': [u'group']}, {u'description': u'Entrypoint to a remote or local storage solution', @@ -134,20 +130,14 @@ EXAMPLE_PROJECT = { u'type': u'list'}, u'status': {u'allowed': [u'published', u'flagged', u'edited'], u'type': u'string'}}, - u'form_schema': {u'confidence': {}, - u'content': {}, - u'is_reply': {}, - u'rating_negative': {}, - u'rating_positive': {}, - u'ratings': {}, - u'status': {}}, + u'form_schema': {}, u'name': u'comment', u'parent': [u'asset', u'comment']}, {u'description': u'Container for node_type post.', u'dyn_schema': {u'categories': {u'schema': {u'type': u'string'}, u'type': u'list'}, u'template': {u'type': u'string'}}, - u'form_schema': {u'categories': {}, u'template': {}}, + u'form_schema': {}, u'name': u'blog', u'parent': [u'project']}, {u'description': u'A blog post, for any project', @@ -178,11 +168,7 @@ EXAMPLE_PROJECT = { u'default': u'pending', u'type': u'string'}, u'url': {u'type': u'string'}}, - u'form_schema': {u'attachments': {u'visible': False}, - u'category': {}, - u'content': {}, - u'status': {}, - u'url': {}}, + u'form_schema': {u'attachments': {u'visible': False}}, u'name': u'post', u'parent': [u'blog']}, {u'description': u'Image Texture', @@ -213,16 +199,8 @@ EXAMPLE_PROJECT = { u'processing'], u'type': u'string'}, u'tags': {u'schema': {u'type': u'string'}, u'type': u'list'}}, - u'form_schema': {u'aspect_ratio': {}, - u'categories': {}, - u'content_type': {u'visible': False}, - u'files': {u'visible': False}, - u'is_landscape': {}, - u'is_tileable': {}, - u'order': {}, - u'resolution': {}, - u'status': {}, - u'tags': {}}, + u'form_schema': {u'content_type': {u'visible': False}, + u'files': {u'visible': False}}, u'name': u'texture', u'parent': [u'group']}], u'nodes_blog': [],