| Age | Commit message (Collapse) | Author | Files | Lines |
|
{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>
|
|
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
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>
|
|
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
string|null $pDefault coerced to '' internally; return type stays string
to avoid breaking callers.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
finfo objects are freed automatically; explicit close is a deprecation warning in 8.5.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
|
|
Prodution sites the symlink should only be added when needed
|
|
|
|
|
|
modern base
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
|
|
|
|
check adodb uses it )
|
|
|
|
reports are now married to this properly
|
|
manually add tk tokens to forms as required
|
|
|
|
|
|
checks for a particular feature rather than yust a y/n responce
|
|
|
|
|
|
|
|
|
|
|
|
|