Skip to content

Releases

v1.5.5

Choose a tag to compare

@Xylo01 Xylo01 released this 24 Nov 07:09

Billing panels can resize a master with splits, and users can restart, stop or kill the master after a split change. Requires panel >=1.2.11 (unchanged).

New

  • Plan totals for billing panels. A new setting, Limits set on a master, decides what a CPU, memory, disk (and pooled swap) value set on a master through the admin API or the admin server page means. Plan total: the value is the whole plan and the master keeps it minus what its splits hold, so a Paymenter or WHMCS up- or downgrade no longer stacks the splits on top. Master only: the value is what the master keeps, as before. Unlimited stays unlimited, and saving the admin page without touching the limits changes nothing.
  • Over-commit instead of shrinking splits. A plan lowered below what the splits hold plus the reserve never touches running splits and never fails the billing panel's request. The master is held at its reserve and marked over-committed on the admin server card, in the Splits tab and on the user's pool card, with how much to free. Whatever the splits give back pays that down first.
  • Then restart, stop or kill the master. The New split drawer, Resize and Delete offer a power action for the master once the change is saved, while the master is running. It needs the panel's own Restart or Stop permission on the master, goes through the master's node after its new limits are pushed, and shows in the master's activity log. If it fails, the split change stays and the user sees why. Admins choose which actions are offered and which is preselected (none by default). The admin Resize offers it too (nodes.power).
  • The admin server card shows a master's plan total, what its splits hold and what it keeps.

Upgrading

Replace the extension archive and restart the panel. A migration adds one table; running servers are not changed. On an upgraded panel Limits set on a master starts at Master only, so values your billing panel or admins set keep their 1.5.4 meaning; switch it to Plan total under Admin → Extensions → Server Splitter → General if your billing panel sends the plan size. New installs start at Plan total.

v1.5.4

Choose a tag to compare

@Xylo01 Xylo01 released this 24 Nov 04:10

Fixes the subuser permission picker crashing. Requires panel >=1.2.11 (unchanged).

Fixes

  • The splitter server permission group now has an icon (the network icon the Splitter tab uses). Panel 1.2.11 draws an icon for every permission group, so creating or editing a subuser crashed with React error #130 while Server Splitter was installed. No other changes.

Upgrading

Replace the extension archive and restart the panel.

v1.5.3

Choose a tag to compare

@Xylo01 Xylo01 released this 23 Nov 07:46

A rework of Server Splitter: exact resource accounting, admin overview, and fixes for subuser access, suspension and owner changes. Requires panel >=1.2.11.

Fixes

  • Works with panel 1.2.11 (the backend no longer built on it).
  • Removing a subuser from the master, or changing their permissions, now reaches its splits. Syncing subusers needs subusers.create on the master and can't grant more than you hold.
  • Suspending the master suspends its splits; unsuspending lifts only the suspensions it caused.
  • Changing the master's owner moves its splits to the new owner.
  • Admin edits to a split no longer inflate the pool when the split is deleted.
  • Splits inherit the master's CPU pinning, get 0 subdomains/proxies from other extensions, and don't copy KVM/hugepages passthrough. Egg variables are validated like the panel's own create.
  • A split only starts after install if you have control.start. Splits that are installing or restoring can't be resized or deleted.
  • Deleting a split gives its port back to the master.

New

  • Every split records exactly what it took from the master. An hourly health check flags drift, and Admin → Splitter → Splits lists every master and its splits with a Reconcile button.
  • New pool overview, split list and create/resize drawer (bottom sheet on phones), with a live "master keeps …" summary and a port choice.
  • Settings for what splits inherit: swap (default: pooled with the master), bandwidth cap (default: copy the master's), suspension and owner-change cascades (default: on).
  • Admins resize splits from the master's overview card, bounded by the pool.

Upgrading

Update the panel to 1.2.11 first, then replace the extension archive and restart. The migration records what each existing split holds from its current limits; running servers are not changed.

v1.5.2

Choose a tag to compare

@Xylo01 Xylo01 released this 20 Oct 00:28
  • Works with panel 1.2.6 (now required)
  • New splits copy the master's bandwidth limits and trash settings

v1.5.1

Choose a tag to compare

@Xylo01 Xylo01 released this 28 Sep 16:45

Fixed

  • Panel 1.2.3 support: builds against panel 1.2.3, which added per-server container labels. A new split starts without labels instead of copying the master's, since labels are set per server by admins. Requires panel >=1.2.3.

Docs

  • README rewritten with features, configuration steps, permissions, API and screenshots.

v1.5.0

Choose a tag to compare

@Xylo01 Xylo01 released this 28 Sep 01:50

Fixed

  • Split pool accounting: creating, resizing and deleting splits now locks the master server and reads its limits fresh. Two quick or simultaneous splits, or a reserve of 0, could previously take more than the pool and leave the master at 0, which the panel treats as unlimited. A limited master now always keeps at least 1 CPU/memory/disk (or its reserve, if larger).
  • Wings sync: after a split is created or resized, the master is synced with its new limits instead of its old ones. After a split is deleted, the returned resources now reach Wings too.
  • Resizing can no longer lower a split's allocation, database, backup or schedule limit below what it currently uses.
  • Deleting a master deletes its splits properly (Wings containers and databases) first, instead of dropping their rows and leaving containers running. A master whose splits had databases could not be deleted at all before.
  • Unlimited memory: a master with unlimited memory (0) can now be split, and the create/resize forms work for masters with unlimited CPU, memory or disk.
  • Database instances count against a master's database pool, only non-system backups count, and allocations are counted exactly (only the one allocation that moves to a split is free).
  • Clearing a split's description in the resize dialog now works.
  • The admin split notice now shows when the admin server page is opened by short ID.

Changed

  • Splits given to another user, suspended or being transferred can no longer be managed from the master's Splitter page.
  • Create/Resize/Delete buttons only show for users with the matching splitter.* permission; the admin settings page is read-only without extensions.splitter.write and shows an error with Retry if the settings can't be loaded.
  • Split names must be 1–255 characters, descriptions up to 1024. Negative reserved limits are rejected.

Upgrading

A migration changes the split→master link to ON DELETE SET NULL. Existing splits, settings and egg rules are kept.

v1.4.0

Choose a tag to compare

@Xylo01 Xylo01 released this 23 Sep 04:18

Changed

  • Splitter page: the resource pool uses the panel's stat cards, so it follows your theme and only turns yellow or red as the pool runs low. Split cards look like the panel's server cards: status stripe, live CPU, memory and disk usage, and Resize, Sync users and Delete in an actions menu.

Added

  • Admin server overview: a Server Splitter card shows the master of a split, or the splits of a master with their limits, each linking to its server page.
  • Admin split notice: every admin page of a split server opens with a notice linking to its master.
  • Admin API: GET /api/admin/extensions/com.caloptreyx.serversplitter/servers/{server} returns a server's master or splits (admin permission servers.read).

v1.3.0

Choose a tag to compare

@Xylo01 Xylo01 released this 23 Sep 03:44

Added

  • Default Split Limit (Admin → Extensions → Server Splitter → General Settings). New servers created without a splits limit get this value. On the admin create-server form, leave Splits Limit empty to use it. Splits created by the extension never get splits of their own.
  • Egg rule picker: eggs are grouped by nest in a checkbox tree. Tick a nest to select all of its eggs, search by egg or nest name, and copy the master eggs to the allowed eggs in one click.

Upgrading

Existing settings and egg rules are kept; the Default Split Limit starts at 0.

v1.2.0

Choose a tag to compare

@Xylo01 Xylo01 released this 23 Sep 03:10

Security release. Upgrading is recommended for every installation.

Fixed

  • Negative limits raised the master's limits. Creating or resizing a split with negative databases, backups, schedules or allocations increased the master server's limits. Split resources and feature limits are now validated (no negatives, at least 1 allocation).
  • Unlimited splits from a limited master. With a reservation of 0, a split could be created with 0 (unlimited) CPU, memory or disk. A split of a limited master now always gets at least 1.
  • Egg rules were not enforced. Without a rule for the master's egg, any egg could be picked through the API. Creating a split now requires a rule for the master's egg, and the chosen egg (or the default) must be allowed by it.
  • Split permissions on a child server reached the master. Splitter permissions on a child let a user create splits from the master's pool and resize or delete sibling splits. Splits are now managed from the master server only.

Changed

  • On a child server, the Splitter page only links to its master server.
  • GET /api/client/servers/{server}/splitter no longer returns master; it returns parent ({uuid, name} or null) and resources is null on a child server.

1.0.0

1.0.0 Pre-release
Pre-release

Choose a tag to compare

@mrbeeenopro mrbeeenopro released this 22 Sep 14:54
0421435

add core file