feat: VivesPOS landing on Winter CMS 1.2 — theme + plugin + Dockerfile
Some checks are pending
Module sub-split / Sub-split (push) Waiting to run

- Base: wintercms/winter branch 1.2 (full framework)
- Theme vivespos: Canvas 7 + Bootstrap 5 CDN, custom CSS
- Layout: deferred GTM/GA4 tracking, JSON-LD SoftwareApplication
- Partials: hero (offline-first), features, modes (offline/nube toggle),
  screenshots, pricing (3 planes), comparison, FAQ, CTA
- Plugin VivesPOS.Site with ContactForm
- Dockerfile: PHP 8.2 Apache, port 80, healthcheck
- Added winter/wn-pages, blog, sitemap, seo plugins
- Active theme set to vivespos
This commit is contained in:
2026-08-21 19:29:00 -06:00
commit 1f72193a64
3266 changed files with 531480 additions and 0 deletions

View File

@@ -0,0 +1,63 @@
<?php namespace System\Console;
use Winter\Storm\Console\Command;
use System\Classes\UpdateManager;
/**
* Console command to refresh a plugin.
*
* This destroys all database tables for a specific plugin, then builds them up again.
* It is a great way for developers to debug and develop new plugins.
*
* @package winter\wn-system-module
* @author Alexey Bobkov, Samuel Georges
*/
class PluginRefresh extends Command
{
use \Winter\Storm\Console\Traits\ConfirmsWithInput;
use Traits\HasPluginArgument;
/**
* @var string|null The default command name for lazy loading.
*/
protected static $defaultName = 'plugin:refresh';
/**
* @var string The name and signature of this command.
*/
protected $signature = 'plugin:refresh
{plugin : The plugin to refresh. <info>(eg: Winter.Blog)</info>}
{--f|force : Force the operation to run and ignore production warnings and confirmation questions.}';
/**
* @var string The console command description.
*/
protected $description = 'Removes and re-adds an existing plugin.';
/**
* Execute the console command.
*/
public function handle(): int
{
$pluginName = $this->getPluginIdentifier();
if (!$this->confirmWithInput(
"This will completely remove and reinstall $pluginName. This may result in potential data loss.",
$pluginName
)) {
return 1;
}
// Set the UpdateManager output stream to the CLI
$manager = UpdateManager::instance()->setNotesOutput($this->output);
// Rollback the plugin
$manager->rollbackPlugin($pluginName);
// Reinstall the plugin
$this->output->writeln('<info>Reinstalling plugin...</info>');
$manager->updatePlugin($pluginName);
return 0;
}
}