
from . import routes, views, model

MODELS = [
    model.OsfStorageNodeSettings,
    model.OsfStorageFileTree,
    model.OsfStorageFileRecord,
    model.OsfStorageFileVersion,
    model.OsfStorageGuidFile,
]
NODE_SETTINGS_MODEL = model.OsfStorageNodeSettings

ROUTES = [
    routes.web_routes,
    routes.api_routes,
]

SHORT_NAME = 'osfstorage'
FULL_NAME = 'OSF Storage'

OWNERS = ['node']

ADDED_DEFAULT = ['node']
ADDED_MANDATORY = ['node']

VIEWS = []
CONFIGS = []

CATEGORIES = ['storage']

INCLUDE_JS = {
    'widget': [],
    'page': [],
    'files': ['storageRubeusConfig.js'],
}

HAS_HGRID_FILES = True
GET_HGRID_DATA = views.osf_storage_root

MAX_FILE_SIZE = 128


from . import routes, views, model

MODELS = [
    model.OsfStorageNodeSettings,
    model.OsfStorageFileTree,
    model.OsfStorageFileRecord,
    model.OsfStorageFileVersion,
    model.OsfStorageGuidFile,
]
NODE_SETTINGS_MODEL = model.OsfStorageNodeSettings

ROUTES = [
    routes.web_routes,
    routes.api_routes,
]

SHORT_NAME = 'osfstorage'
FULL_NAME = 'OSF Storage'

OWNERS = ['node']

ADDED_DEFAULT = ['node']
ADDED_MANDATORY = ['node']

VIEWS = []
CONFIGS = []

CATEGORIES = ['storage']

INCLUDE_JS = {
    'widget': [],
    'page': [],
    'files': [],
}

HAS_HGRID_FILES = True
GET_HGRID_DATA = views.osf_storage_root

MAX_FILE_SIZE = 128

Remove storageRubeusConfig.js from osfstorage init.py
Remove storageRubeusConfig.js from osfstorage init.py

  
  from . import routes, views, model
  
  MODELS = [
      model.OsfStorageNodeSettings,
      model.OsfStorageFileTree,
      model.OsfStorageFileRecord,
      model.OsfStorageFileVersion,
      model.OsfStorageGuidFile,
  ]
  NODE_SETTINGS_MODEL = model.OsfStorageNodeSettings
  
  ROUTES = [
      routes.web_routes,
      routes.api_routes,
  ]
  
  SHORT_NAME = 'osfstorage'
  FULL_NAME = 'OSF Storage'
  
  OWNERS = ['node']
  
  ADDED_DEFAULT = ['node']
  ADDED_MANDATORY = ['node']
  
  VIEWS = []
  CONFIGS = []
  
  CATEGORIES = ['storage']
  
  INCLUDE_JS = {
      'widget': [],
      'page': [],
-     'files': ['storageRubeusConfig.js'],
+     'files': [],
  }
  
  HAS_HGRID_FILES = True
  GET_HGRID_DATA = views.osf_storage_root
  
  MAX_FILE_SIZE = 128
  
Remove storageRubeusConfig.js from osfstorage init.py
## Code Before:

from . import routes, views, model

MODELS = [
    model.OsfStorageNodeSettings,
    model.OsfStorageFileTree,
    model.OsfStorageFileRecord,
    model.OsfStorageFileVersion,
    model.OsfStorageGuidFile,
]
NODE_SETTINGS_MODEL = model.OsfStorageNodeSettings

ROUTES = [
    routes.web_routes,
    routes.api_routes,
]

SHORT_NAME = 'osfstorage'
FULL_NAME = 'OSF Storage'

OWNERS = ['node']

ADDED_DEFAULT = ['node']
ADDED_MANDATORY = ['node']

VIEWS = []
CONFIGS = []

CATEGORIES = ['storage']

INCLUDE_JS = {
    'widget': [],
    'page': [],
    'files': ['storageRubeusConfig.js'],
}

HAS_HGRID_FILES = True
GET_HGRID_DATA = views.osf_storage_root

MAX_FILE_SIZE = 128

## Instruction:
Remove storageRubeusConfig.js from osfstorage init.py
## Code After:

from . import routes, views, model

MODELS = [
    model.OsfStorageNodeSettings,
    model.OsfStorageFileTree,
    model.OsfStorageFileRecord,
    model.OsfStorageFileVersion,
    model.OsfStorageGuidFile,
]
NODE_SETTINGS_MODEL = model.OsfStorageNodeSettings

ROUTES = [
    routes.web_routes,
    routes.api_routes,
]

SHORT_NAME = 'osfstorage'
FULL_NAME = 'OSF Storage'

OWNERS = ['node']

ADDED_DEFAULT = ['node']
ADDED_MANDATORY = ['node']

VIEWS = []
CONFIGS = []

CATEGORIES = ['storage']

INCLUDE_JS = {
    'widget': [],
    'page': [],
    'files': [],
}

HAS_HGRID_FILES = True
GET_HGRID_DATA = views.osf_storage_root

MAX_FILE_SIZE = 128
