summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
12 daysReplace broken biticon with Bootstrap 3 icon-bar spans in navbar toggleHEADmasterLester Caine1-1/+4
{biticon ipackage="icons" iname="view-sort-ascending"} is colourstrap- dependent and renders nothing since the drop. Replaced with standard Bootstrap 3 navbar toggle markup (3× icon-bar spans + sr-only label). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-07Remove duplicate ipackage attributes from biticon callsLester Caine4-6/+6
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-06kernel: load mConfig before checkEnvironment writes to itLester Caine1-2/+4
checkEnvironment() called setConfig() to record site_server_type before mConfig had been loaded from the database. This left mConfig non-empty with only the server-type entry, so the subsequent empty() guard in loadConfig() short-circuited and site_title was never loaded. Result: getSiteCookieName() fell back to 'bit-user-bitweaver' on every request where checkEnvironment() ran first, creating a second spurious cookie alongside the real 'bit-user-<site>' cookie and splitting sessions. Fix: call loadConfig() at the top of checkEnvironment() if mConfig is not yet populated, matching the pattern used elsewhere. The bit-user-bitweaver fallback is now only reached during a genuine cold install. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-06kernel: revert installer login redirect attemptsLester Caine1-6/+0
The signin/loginfrom session approach didn't work reliably due to session name inconsistency. Revert to original force_installer.tpl display. Use gOverrideLoginFunction for upgrade-time admin access. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-06kernel: redirect non-admin to signin when INSTALLER_FORCE is activeLester Caine1-2/+6
Replace the inline login form (which suffered from session cookie name inconsistency) with a direct redirect to signin.php. The post-login redirect to install.php is now handled by validate.php checking the version mismatch directly, which is session-independent. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-06kernel: set loginfrom to installer before force_installer.tpl displayLester Caine1-0/+2
After login via validate.php, redirect back to the installer rather than the site homepage, so the admin can proceed with the upgrade without having to navigate back manually. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-06kernel: fix site_closed login bypass for nginx (SCRIPT_URL not set)Lester Caine1-1/+3
SCRIPT_URL is an Apache-only variable — nginx does not set it unless explicitly added to fastcgi_params. When site_closed is active, validate.php needs to bypass the gate so admins can log in, but the SCRIPT_URL check always failed on nginx, making login impossible while the site is closed. Fall back to PHP_SELF (set by nginx) when SCRIPT_URL is absent. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-06kernel: fix PHP 8.1 float-to-int deprecations in apc.php GD image codeLester Caine1-3/+6
PHP 8.1 deprecated implicit float→int narrowing. The APC admin pie and bar chart generators pass float angle and height values directly to GD functions (imagefilledarc, imagefilledrectangle, imageline) which require int coordinates. Cast $start/$end to int at the top of fill_arc() and text_arc(), $h to int at the top of fill_box(), and the $h calculations in the bar chart loop (case 3) inline. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-06BitSystem: replace TikiWiki placeholder with architecture docblockLester Caine1-9/+54
Covers the six concerns: package registry (registerPackage/scanPackages/ registerAppMenu), configuration (kernel_config, getConfig/storeConfig), display pipeline (display/fatalError/fatalPermission), permissions and access guards, installer schema registration (register* family / verifyInstalledPackages), and utilities (MIME, versioning, date/time, navigation). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-06BitBase: replace TikiWiki placeholder with architecture docblockLester Caine1-2/+34
Covers the four concerns: DB connection, mInfo/mErrors data hash, APCu object caching, and list utilities (prepGetList/postGetList). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-05Switch icons: document-properties → edit, text-x-generic → view-list-textLester Caine3-3/+3
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-05Switch delete icon from edit-delete to user-trash (dustbin)Lester Caine3-3/+3
user-trash updated to a proper dustbin SVG. All templates across all packages updated to use user-trash instead of edit-delete. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-04admin_system: fix cache prune safety check to allow TEMP_PKG_PATH and ↵Lester Caine1-1/+2
STORAGE_PKG_PATH The guard strpos($item['path'], BIT_ROOT_PATH) always failed for any cache directory under TEMP_PKG_PATH (e.g. icons, modules, system cache) since TEMP_PKG_PATH is outside the web root. None of those caches were ever actually cleared. Extend the check to accept all three known safe roots. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-04Convert {booticon} to {biticon} — freedesktop/tango icon names throughoutLester Caine12-18/+18
Replace all {booticon iname="icon-*"} and {booticon iname="fa-*"} calls with {biticon ipackage="icons" iname="<freedesktop-name>"} using the tango iconset. Mapping covers ~70 distinct old names to tango equivalents (edit-delete, document-properties, go-next, lock, internet-mail, etc.). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-03kernel: respect column-visibility feature flags on edit pagesLester Caine1-7/+5
Removed hardcoded display_mode=edit guard that unconditionally hid left/right columns — let the existing feature-flag mechanism in BitThemes::loadLayout() control column visibility instead. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-01Bump BIT_SUB_VERSION to 1 — getBitVersion() was still returning 5.0.0Lester Caine1-1/+1
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-01Add 5.0.1 upgrade script to store bitweaver_version in kernel_configLester Caine1-0/+17
Without this, MIN_BIT_VERSION 5.0.1 forces the installer on every request but has no script to advance the stored version past 5.0.0. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-01Bump version to 5.0.1Lester Caine1-2/+2
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-01Remove 5.0.0 upgrade script — default version set to 5.0.0Lester Caine1-12/+0
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-01Return early from bit_redirect() if URL is null or emptyLester Caine1-0/+4
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-24Allow null default in getConfig() for PHP 8.5 compatibilityLester Caine1-2/+2
string|null $pDefault coerced to '' internally; return type stays string to avoid breaking callers. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-24Drop finfo_close() deprecated in PHP 8.5Lester Caine1-1/+0
finfo objects are freed automatically; explicit close is a deprecation warning in 8.5. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-21Tidy automatic generation of sitemapLester Caine1-0/+9
2026-05-18Check if the installer package is enabled.Lester Caine2-10/+26
Prodution sites the symlink should only be added when needed
2026-05-18Fix niggle with displaying information when install is being usedLester Caine1-1/+1
2026-05-18Actually check tk return :)Lester Caine1-1/+1
2026-05-18Move requirements to a base of 5.0.0 since the schema structure needs a more ↵Lester Caine1-1/+4
modern base
2026-05-18Retire mochikit in favour of jquery replacementsLester Caine1-1/+0
2026-05-18Remove legacy jscalender in favour of modern replacementLester Caine2-28/+33
2026-05-15Remove unused group model codeLester Caine2-25/+0
2026-05-15Further trimming of role_model selectionLester Caine4-15/+2
2026-05-15Namespace fixesLester Caine1-3/+4
2026-05-14move phpmailer to external package managementLester Caine1-2/+2
2026-05-14move dBug into local include to manage with packageLester Caine2-1/+532
2026-05-14php-cs-fixer tidies to php8.5 standardsLester Caine81-1539/+1489
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-10Tidy loose ends from 6 years ago and rework to be php8.5 compliantLester Caine1-38/+37
2026-05-10(interger) -> (int) for php8.5Lester Caine1-2/+2
2026-05-10Ensure $ADODB_CACHE_DIR exists in the web services /tmp directory ( and ↵Lester Caine1-1/+1
check adodb uses it )
2026-05-10Use BIT_INSTALL to block database access until database is populatedLester Caine1-1/+1
2026-05-10Restore BIT_PHP_ERROR_REPORTING setting for error_reporting, bit_error ↵Lester Caine2-3/+4
reports are now married to this properly
2026-05-08add_link_ticket is not working in the current build of smarty so having to ↵V5-php84lsces1-1/+1
manually add tk tokens to forms as required
2026-05-08Missing .php from linkslsces1-2/+2
2026-04-19PHP8.4 style tweakslsces1-14/+14
2026-04-16checkEnvironment expanded to manage server style flags and isFeatureActive ↵lsces1-42/+35
checks for a particular feature rather than yust a y/n responce
2026-04-16PHP8.4 tidies and restore missing defaultslsces1-7/+7
2026-04-06Tidying links to bitweaver.org to avoid redirect from httplsces7-13/+13
2026-04-06doc.bitweaver.org no longer exists, reset to main websitelsces1-1/+1
2026-04-06verifyId needs to allow content_id of -1 for anonymous user trafficlsces1-1/+1
2026-04-06Drop hard coded session name in favour of site specific onelsces1-4/+4
2026-04-05Silly missing .php on the logout linklsces1-1/+1