NES System Module

Core system module for HeroDevs Neverending Support functionality

Overview

The NES System module provides core integration between your Drupal 7 site and the HeroDevs Neverending Support (NES) platform. It enables secure module updates, version management, and system configuration through the NES API.

Features

Update System Integration

  • Seamless integration with Drupal's update manager
  • Secure module downloads with authentication
  • Version tracking and management
  • Support for both NES and Drupal.org updates

Configuration Management

  • Centralized settings management
  • API endpoint configuration
  • Token-based authentication
  • Custom update registry support

Drush Integration

The module provides several Drush commands for managing updates:

  • drush nes-update: Update modules through NES
  • drush nes-updatecode: Update module code only
  • Integration with standard Drush PM commands

Installation

  1. Install the module like any other Drupal module:
    drush en nes_system -y
    
  2. Configure the module at admin/config/nes/settings with:
    • Authentication token

Configuration

API Settings

Navigate to admin/config/nes/settings to configure:

  • API Token: Your authentication token from HeroDevs
  • Test API: Validate your NES API token

Update Manager Integration

The module integrates with Drupal's update manager:

  1. Checks NES repository for updates
  2. Falls back to Drupal.org if needed
  3. Provides secure download URLs
  4. Manages version information

Usage

Checking for Updates

  1. Navigate to admin/reports/updates
  2. The system will check both NES and Drupal.org for updates
  3. Available updates will be listed with source information

Installing Updates

Updates can be installed through:

  1. Drupal UI:
    • Navigate to admin/reports/updates
    • Select modules to update
    • Follow the update process
  2. Drush:
    drush nes-update              # Update all modules
    drush nes-update module_name  # Update specific module
    
  3. Composer:
    composer require neverendingsupport/module_name
    

    See Drupal Module Install Instructions for more details on Composer

Version Format

NES uses a specialized version format:

  • Format: NES_VERSION+FORK_VERSION
  • Example: 7.1.25+7.1.21
    • 7.1.25: NES version
    • 7.1.21: Original fork version

Security

The module implements several security measures:

  • Token-based authentication
  • Secure HTTPS connections
  • Validated download URLs
  • Protected API endpoints

Troubleshooting

Common issues and solutions:

  1. API Connection Issues
    • Verify API endpoint configuration
    • Check token validity
    • Ensure proper SSL configuration
  2. Update Problems
    • Clear Drupal cache
    • Verify module permissions
    • Check server requirements

Contributing

Report issues and feature requests through the HeroDevs support system.