| Age | Commit message (Collapse) | Author | Files | Lines |
|
Three occurrences on portrait, avatar and logo image tags.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
Switch the password reveal button from Bootstrap glyphicons (unavailable)
to {biticon} password-show-on / password-show-off SVGs, toggling display
via JS rather than swapping classes.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
Revert validate.php installer redirect and getSiteCookieName cookie-reuse
fallback. Both caused more problems than they solved. Original behaviour
restored; upgrade-time access via gOverrideLoginFunction works fine.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
getSiteCookieName() fell back to 'bit-user-bitweaver' whenever kernel_config
hadn't loaded site_title (e.g. during installer/upgrade flow). This created
a second cookie alongside the real 'bit-user-<site>' cookie, causing every
cross-page redirect to land in a different session and lose loginfrom, admin
status, and installer step state.
Fix: if site_title is empty, reuse any existing bit-user-* cookie already
present in the request rather than generating a new 'bitweaver' name.
Also: after successful admin login, redirect to the installer directly when
a version upgrade is pending (bypasses the broken loginfrom-via-session path
for the INSTALLER_FORCE case).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
After a successful admin login, if the database version is behind
MIN_BIT_VERSION, redirect directly to install.php rather than relying
on session-based loginfrom. During INSTALLER_FORCE the session cookie
name can differ between pages (bit-user-bitweaver vs bit-user-lscesmainsite)
because kernel_config may not be fully loaded, making loginfrom unreliable.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
|
|
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
Border defines edge on white-background flags like England; 1.6em
line-height prevents white bars above/below the flag image.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
$fsValue can be null when no country is set; coerce to empty string via
|default:'' before using as array key in $countryFlags and $countries.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
- css/flag-icons.css: lipis 4x3 set, 1x1 stripped, paths → ../icons/flags/
- countries_inc.php: asort, Smarty assigns, loadCss (PKG_PATH not PKG_URL);
PHP files reduce to single require()
- flag_select_inc.tpl: custom dropdown with .fi CSS flags, search filter,
jQuery open/close; fsName/fsValue/fsId/fsSize; min-width 300px;
line-height:1.5em on flag spans
- html_head_inc.tpl placeholder; display templates keep {biticon istyle=flag}
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
New entries: Bonaire/BES, Jersey/JEY, Kosovo/XKX, Saint Martin/MAF,
Sint Maarten/SXM — all have lipis flags available.
Fix: KOR was mapped to 'ko' (wrong); corrected to 'kr'.
Added iso3166 mappings for BLM/bl, CUW/cw, SSD/ss which were in
$bwCountries but had no flag. Only SEA/AZR/FLD remain flagless.
Added note on unmapped lipis SVGs (regional, organisational, territories).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
- Replace Marble SVGs with lipis/flag-icons 4x3 set (271 flags, consistent
4:3 ratio, CC0 licensed)
- Update iso3166 map: ENG/SCT/WLS/NIR now point to gb-eng/gb-sct/gb-wls/gb-nir
matching lipis naming; custom eng/sct/wls/nir SVGs retained alongside
- Switch flag {biticon} calls from hardcoded width/height to istyle=flag
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
Same issue as preferences/register: require_once inside a method is globally
tracked, so a second user object load won't re-execute the file, leaving
$bwIso3166 undefined and flag unset.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
require_once in RoleUser::load() marks the file as included globally;
subsequent require_once calls in preferences/register page scope are
silently skipped, leaving $bwCountries undefined. Plain require forces
execution in the current scope each time.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
- Add countries_inc.php: 252 countries as alpha-3 → name + alpha-3 → alpha-2
map for flag image lookup; derived from webtrees CountryService, no runtime
webtrees dependency
- Add 243 Marble SVG flags (xx.svg) plus eng/sct/wls/nir for constituent countries
- Remove 244 full-name GIF flags
- RoleUser: set users_country_code (alpha-3), flag (alpha-2 lowercase), and
users_country (display name) at load time
- preferences.php, register.php, hauth_register.php: replace opendir GIF scan
with require_once countries_inc.php
- Templates: replace {section loop=$flags} with {foreach $countries as $code => $name};
iexplain now uses display name instead of raw flag code
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>
|
|
stock_attach (paperclip) is available as PNG (16px) and SVG (scalable),
making it a cleaner fit for attach/assign/crosspost contexts than the
mail-specific mail-attachment icon.
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>
|
|
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
Package filter links wrapped in <ul class="list-inline"> so <li> elements
are valid HTML — previously <li> inside <p> caused bullets to detach.
Hidden package field default changed from 'All' to '' so form submission
does not filter permissions to an empty set and silently save nothing.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
parse_url(BIT_ROOT_URL, PHP_URL_HOST) returns null for a path-only URL;
the ?? '/' fallback set domain to '/' which browsers reject as invalid.
Use ?? '' so the domain attribute is omitted and the browser infers the
current host.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
5.0.1 upgrade creates the table for existing installs; schema_inc.php
updated so fresh installs also get it. FK constraint registered via
registerSchemaConstraints (not inline DataDict, which breaks Firebird).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
The inline CONSTRAINT clause used backtick-quoted identifiers which Firebird
rejects. Moved the FK to registerSchemaConstraints following the liberty pattern.
This caused USERS_AUTH_MAP to be missing on all Firebird installs.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
not be set during install process
|
|
|
|
|
|
nginx auth
|
|
assigned to.
|
|
|
|
|
|
|
|
|
|
base defaulted to ROLE_MODEL
|
|
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
cookie string
|
|
added on is not currently working
|
|
|
|
|
|
|
|
|
|
|
|
functionally tested, just getting admin pages running cleaner
|
|
content. Use nginx auth_request to secure storage area from unmanaged use.
|
|
|
|
two models with one set of code using 'Team' and $gTeam to select group or role display. Should be able to return to one code base.
|
|
needs creating when no user linked to session.
|
|
|
|
|