repo stringlengths 7 63 | file_url stringlengths 81 284 | file_path stringlengths 5 200 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:02:33 2026-01-05 05:24:06 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
tddwizard/magento2-fixtures | https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/tests/Catalog/OptionFixturePoolTest.php | tests/Catalog/OptionFixturePoolTest.php | <?php
declare(strict_types=1);
namespace TddWizard\Fixtures\Catalog;
use TddWizard\Fixtures\Catalog\OptionBuilder;
use TddWizard\Fixtures\Catalog\OptionFixturePool;
use Magento\Eav\Model\Entity\Attribute\Option as AttributeOption;
use Magento\Eav\Model\Entity\Attribute\OptionFactory as AttributeOptionFactory;
use Mag... | php | MIT | d1c2e684103227bb2235178b349c31e244c4a4d5 | 2026-01-05T04:14:37.028346Z | false |
tddwizard/magento2-fixtures | https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/tests/Catalog/OptionFixtureRollbackTest.php | tests/Catalog/OptionFixtureRollbackTest.php | <?php
declare(strict_types=1);
namespace TddWizard\Fixtures\Catalog;
use TddWizard\Fixtures\Catalog\OptionBuilder;
use TddWizard\Fixtures\Catalog\OptionFixture;
use TddWizard\Fixtures\Catalog\OptionFixtureRollback;
use Magento\Eav\Model\Entity\Attribute\OptionFactory;
use Magento\Eav\Model\ResourceModel\Entity\Attrib... | php | MIT | d1c2e684103227bb2235178b349c31e244c4a4d5 | 2026-01-05T04:14:37.028346Z | false |
tddwizard/magento2-fixtures | https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/tests/Catalog/IndexerErrorsTest.php | tests/Catalog/IndexerErrorsTest.php | <?php
namespace TddWizard\Fixtures\Catalog;
use Magento\Framework\App\ProductMetadataInterface;
use Magento\Framework\Indexer\IndexerInterface;
use Magento\Framework\Indexer\IndexerRegistry;
use Magento\Store\Model\StoreManagerInterface;
use Magento\TestFramework\Helper\Bootstrap;
use PHPUnit\Framework\TestCase;
/**... | php | MIT | d1c2e684103227bb2235178b349c31e244c4a4d5 | 2026-01-05T04:14:37.028346Z | false |
tddwizard/magento2-fixtures | https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/tests/Core/ConfigFixtureTest.php | tests/Core/ConfigFixtureTest.php | <?php
declare(strict_types=1);
namespace TddWizard\Fixtures\Core;
use Magento\Framework\App\Config\MutableScopeConfigInterface;
use Magento\Framework\App\Config\ScopeConfigInterface;
use Magento\Store\Model\ScopeInterface;
use Magento\Store\Model\StoreManagerInterface;
use Magento\TestFramework\Helper\Bootstrap;
use ... | php | MIT | d1c2e684103227bb2235178b349c31e244c4a4d5 | 2026-01-05T04:14:37.028346Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/rector.php | rector.php | <?php
use Rector\CodeQuality\Rector\BooleanAnd\SimplifyEmptyArrayCheckRector;
use Rector\CodeQuality\Rector\Class_\CompleteDynamicPropertiesRector;
use Rector\CodeQuality\Rector\Empty_\SimplifyEmptyCheckOnEmptyArrayRector;
use Rector\CodeQuality\Rector\Expression\InlineIfToExplicitIfRector;
use Rector\CodeQuality\Rect... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/.php-cs-fixer.dist.php | .php-cs-fixer.dist.php | <?php
use CodeIgniter\CodingStandard\CodeIgniter4;
use Nexus\CsConfig\Factory;
use PhpCsFixer\Finder;
$finder = Finder::create()
->files()
->in([
__DIR__ . '/src/',
__DIR__ . '/tests/',
])
->exclude([
'build',
'Views',
])
->append([
__FILE__,
__D... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Common.php | src/Common.php | <?php
use Bonfire\View\Theme;
use CodeIgniter\I18n\Time;
if (! function_exists('has_error')) {
/**
* Determines whether an error exists
* for a form field. This requires the errors
* are passed back like:
* return redirect()->back()->with('errors', $this->validation->getErrors());
*/
... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Bonfire.php | src/Bonfire.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire;
use Bonfire\Widgets\Types\Charts\Charts;
use Bonfire\Widgets\Types\Stats\Stat... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Email/Module.php | src/Email/Module.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Email;
use Bonfire\Core\BaseModule;
use Bonfire\Menus\MenuItem;
/**
* Email ... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Email/Controllers/EmailSettingsController.php | src/Email/Controllers/EmailSettingsController.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Email\Controllers;
use Bonfire\Core\AdminController;
class EmailSettingsContr... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Email/Views/email_settings.php | src/Email/Views/email_settings.php | <?php $this->extend('master') ?>
<?php $this->section('main') ?>
<x-page-head>
<x-module-title><i class="fas fa-envelope"></i> Email</x-module-title>
<h2>Settings</h2>
</x-page-head>
<x-admin-box>
<form action="<?= site_url(ADMIN_AREA . '/settings/email') ?>" method="post">
... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Email/Config/Routes.php | src/Email/Config/Routes.php | <?php
use CodeIgniter\Router\RouteCollection;
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
/**
* @var RouteCollection $routes
*/
$routes->group(AD... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Email/Language/en/Email.php | src/Email/Language/en/Email.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'emailModTitle' => 'Email',
];
| php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Email/Language/it/Email.php | src/Email/Language/it/Email.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'emailModTitle' => 'Email',
];
| php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Email/Language/lt/Email.php | src/Email/Language/lt/Email.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'emailModTitle' => 'El. laiškai',
];
| php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Email/Language/ru/Email.php | src/Email/Language/ru/Email.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'emailModTitle' => 'Эл. почта',
];
| php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Users/User.php | src/Users/User.php | <?php
namespace Bonfire\Users;
use Bonfire\Core\Traits\HasMeta;
use CodeIgniter\Shield\Entities\User as ShieldUser;
class User extends ShieldUser
{
use HasMeta;
/**
* Necessary property for classes using HasMeta trait,
* containing the name of the config class with $metaFields property.
*/
... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Users/Module.php | src/Users/Module.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Users;
use Bonfire\Core\BaseModule;
use Bonfire\Menus\MenuItem;
use Bonfire\Us... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Users/SearchProvider.php | src/Users/SearchProvider.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Users;
use Bonfire\Core\Traits\SearchInMeta;
use Bonfire\Search\Interfaces\Sea... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Users/Controllers/UserController.php | src/Users/Controllers/UserController.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Users\Controllers;
use Bonfire\Core\AdminController;
use Bonfire\Users\Models\... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Users/Controllers/UserSettingsController.php | src/Users/Controllers/UserSettingsController.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Users\Controllers;
use Bonfire\Core\BaseController;
class UserSettingsControl... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Users/Libraries/UserCells.php | src/Users/Libraries/UserCells.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Users\Libraries;
/**
* Provides view cells for Users
*/
class UserCells
{
... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Users/Validation/UserRules.php | src/Users/Validation/UserRules.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Users\Validation;
use CodeIgniter\Shield\Models\UserIdentityModel;
class User... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Users/Database/Seeds/Seed100Users.php | src/Users/Database/Seeds/Seed100Users.php | <?php
namespace Bonfire\Users\Database\Seeds;
use CodeIgniter\Database\Seeder;
use Faker\Factory;
class Seed100Users extends Seeder
{
public function run()
{
$faker = Factory::create();
$groups = ['user', 'beta', 'developer'];
for ($i = 0; $i < 100; $i++) {
$timestamp = ... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Users/Database/Migrations/2021-10-05-040656_CreateMetaTable.php | src/Users/Database/Migrations/2021-10-05-040656_CreateMetaTable.php | <?php
namespace App\Database\Migrations;
use CodeIgniter\Database\Migration;
class CreateMetaTable extends Migration
{
public function up()
{
$this->forge->addField([
'id' => [
'type' => 'int',
'constraint' => 11,
'unsigned' ... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Users/Database/Migrations/2021-09-04-044800_AdditionalUserFields.php | src/Users/Database/Migrations/2021-09-04-044800_AdditionalUserFields.php | <?php
namespace App\Database\Migrations;
use CodeIgniter\Database\Migration;
class AdditionalUserFields extends Migration
{
public function up()
{
$this->forge->addColumn('users', [
'first_name' => [
'type' => 'varchar',
'constraint' => 255,
... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Users/Views/_avatar.php | src/Users/Views/_avatar.php | <div class="row">
<div class="col-12 d-flex justify-content-center">
<?= isset($user) ? $user->renderAvatar(140) : (new \Bonfire\Users\User())->renderAvatar(140) ?>
</div>
<div class="col-12 mt-4">
<?php if (!empty($user->avatar)) : ?>
<p class="small"><a href="<?= url_to('user-a... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Users/Views/list.php | src/Users/Views/list.php | <?php $this->extend('master') ?>
<?php $this->section('main') ?>
<x-page-head>
<div class="row">
<div class="col">
<h2><?= lang('Users.usersModTitle') ?>
</h2>
</div>
<?php if (auth()->user()->can('users.create')): ?>
<div class="col-auto">
<a href="<?= url_to('user-new') ?>"
class="btn btn-prima... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Users/Views/_table.php | src/Users/Views/_table.php | <form action="<?= site_url(ADMIN_AREA . '/users/delete-batch') ?>" method="post">
<?= csrf_field() ?>
<div class="table-responsive">
<table class="table table-hover">
<?= $this->include('_table_head') ?>
<tbody>
<?php if (isset($users) && count($users)) : ?>
... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Users/Views/password_change.php | src/Users/Views/password_change.php | <form action="<?= $user->adminLink('/changePassword') ?>" method="post">
<?= csrf_field() ?>
<input type="hidden" name="id" value="<?= $user->id ?>">
<div id="pass-suggestions"></div>
<div class="row mb-2">
<!-- Password -->
... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Users/Views/_row_info.php | src/Users/Views/_row_info.php | <td><a href="<?= $user->adminLink() ?>"><?= esc($user->email) ?></a></td>
<td><a href="<?= $user->adminLink() ?>"><?= esc($user->username) ?></a></td>
<td><?= $user->groupsList() ?></td>
<td><?= $user->last_active !== null ? $user->last_active->humanize() : lang('Users.never') ?></td>
<td class="text-end">
<?php if... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Users/Views/_tabs.php | src/Users/Views/_tabs.php | <ul class="nav nav-tabs nav-fill" style="margin-bottom: -2px;">
<li class="nav-item">
<a class="nav-link <?php if ($tab === 'details') : ?> active <?php endif ?>"
href="<?= isset($user) ? $user->adminLink() : '#' ?>">
<?= lang('Users.cardDetails') ?>
</a>
</li>
<?php i... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Users/Views/security.php | src/Users/Views/security.php | <?php $this->extend('master') ?>
<?php $this->section('styles') ?>
<?= asset_link('auth/css/auth.css', 'css') ?>
<?php $this->endSection() ?>
<?php $this->section('main') ?>
<x-page-head>
<a href="<?= site_url(ADMIN_AREA . '/users') ?>" class="back">
<i class="fa fa-arrow-left"></i>
<?= lang('Us... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Users/Views/permissions.php | src/Users/Views/permissions.php | <?php $this->extend('master') ?>
<?php $this->section('main') ?>
<x-page-head>
<a href="<?= site_url(ADMIN_AREA . '/users') ?>" class="back">
<i class="fa fa-arrow-left"></i>
<?= lang('Users.usersModTitle') ?>
</a>
<h2><?= lang('Users.editUser') ?></h2>
</x-page-head>
<?= view('Bonfire\Use... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Users/Views/form.php | src/Users/Views/form.php | <?php use Bonfire\Users\User;
$this->extend('master') ?>
<?php $this->section('main') ?>
<x-page-head>
<a href="<?= site_url(ADMIN_AREA . '/users') ?>" class="back">
<i class="fa fa-arrow-left"></i>
<?= lang('Users.usersModTitle') ?>
</a>
<h2><?= isset($user) ? lang('Users.editUser') : lang... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Users/Views/user_settings.php | src/Users/Views/user_settings.php | <?php
use Bonfire\Auth\Actions\EmailActivator;
use Bonfire\Auth\Actions\Email2FA;
use CodeIgniter\Shield\Authentication\Passwords\CompositionValidator;
use CodeIgniter\Shield\Authentication\Passwords\NothingPersonalValidator;
use CodeIgniter\Shield\Authentication\Passwords\DictionaryValidator;
use CodeIgniter\Shield\A... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Users/Views/meta/list.php | src/Users/Views/meta/list.php | <?php if (isset($fieldGroups) && count($fieldGroups)) : ?>
<?php foreach ($fieldGroups as $group => $fields) : ?>
<fieldset>
<div class="row">
<div class="col">
<legend><?= esc($group) ?></legend>
<?php foreach ($fields as $field => $info) : ?>
<?php if (... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Users/Config/Users.php | src/Users/Config/Users.php | <?php
namespace Bonfire\Users\Config;
use CodeIgniter\Config\BaseConfig;
class Users extends BaseConfig
{
/**
* --------------------------------------------------------------------------
* Gravatar
* --------------------------------------------------------------------------
*
* If true, ... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Users/Config/Routes.php | src/Users/Config/Routes.php | <?php
use CodeIgniter\Router\RouteCollection;
/**
* @var RouteCollection $routes
*/
$routes->group(ADMIN_AREA, ['namespace' => '\Bonfire\Users\Controllers'], static function ($routes) {
// User Settings
$routes->get('settings/users', 'UserSettingsController::index', ['as' => 'user-settings']);
$routes->... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Users/Models/UserModel.php | src/Users/Models/UserModel.php | <?php
namespace Bonfire\Users\Models;
use Bonfire\Users\User;
use CodeIgniter\Shield\Models\UserModel as ShieldUsers;
use Faker\Generator;
/**
* This User model is ready for your customization.
* It extends Shield's UserModel, providing many auth
* features built right in.
*/
class UserModel extends ShieldUsers
... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Users/Models/UserFilter.php | src/Users/Models/UserFilter.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Users\Models;
use Bonfire\Core\Traits\Filterable;
use CodeIgniter\I18n\Time;
... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Users/Language/en/Users.php | src/Users/Language/en/Users.php | <?php
return [
'usersModTitle' => 'Users',
'editUser' => 'Edit User',
'newUser' => 'New User',
'users' => 'Users',
'user' => 'user',
'userGenitive' => 'user',
'userAccusative' => 'user',
'usersAccusative' => 'users',
'permissions' => 'Pe... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Users/Language/it/Users.php | src/Users/Language/it/Users.php | <?php
return [
'usersModTitle' => 'Utenti',
'editUser' => 'Modifica utente',
'newUser' => 'Nuovo utente',
'users' => 'utenti',
'user' => 'utente',
'userGenitive' => 'utente',
'userAccusative' => 'utente',
'usersAccusative' => 'utenti',
'perm... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Users/Language/lt/Users.php | src/Users/Language/lt/Users.php | <?php
return [
'usersModTitle' => 'Vartotojai',
'editUser' => 'Keisti vartotoją',
'newUser' => 'Naujas vartotojas',
'users' => 'Vartotojai',
'user' => 'Vartotojas',
'userGenitive' => 'vartotojo',
'userAccusative' => 'vartotoją',
'usersAccusative... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Users/Language/ru/Users.php | src/Users/Language/ru/Users.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'usersModTitle' => 'Пользователи',
'editUser' => 'Изменить Пользователя... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Recycler/Module.php | src/Recycler/Module.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Recycler;
use Bonfire\Core\BaseModule;
use Bonfire\Menus\MenuItem;
/**
* Doc... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Recycler/Controllers/RecycleController.php | src/Recycler/Controllers/RecycleController.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Recycler\Controllers;
use Bonfire\Core\AdminController;
use CodeIgniter\HTTP\R... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Recycler/Views/listResource.php | src/Recycler/Views/listResource.php | <?php $this->extend('master') ?>
<?php $this->section('main') ?>
<x-page-head>
<div class="row">
<div class="col">
<h2><?= lang('Recycler.recyclerModTitle') ?></h2>
</div>
<?php if (count($resources) > 1) : ?>
<div class="col-auto">
<select name="r" ... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Recycler/Config/Recycler.php | src/Recycler/Config/Recycler.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Recycler\Config;
use Bonfire\Users\Models\UserModel;
use CodeIgniter\Config\Ba... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Recycler/Config/Routes.php | src/Recycler/Config/Routes.php | <?php
use CodeIgniter\Router\RouteCollection;
/**
* @var RouteCollection $routes
*/
$routes->group(ADMIN_AREA . '/tools', ['namespace' => '\Bonfire\Recycler\Controllers'], static function ($routes) {
$routes->get('recycler', 'RecycleController::viewResource', ['as' => 'recycler']);
$routes->get('recycler/re... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Recycler/Language/en/Recycler.php | src/Recycler/Language/en/Recycler.php | <?php
return [
// controller
'recyclerModTitle' => 'Recycler',
'resourceType' => 'resource type',
// view
'notFound' => 'No {0} found.',
'restoreMsgTitle' => 'Restore',
'restoreMsgContent' => 'Restore this record?',
'purgeMsgTitle' => 'Purge forever',
'purgeMsgCon... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Recycler/Language/it/Recycler.php | src/Recycler/Language/it/Recycler.php | <?php
return [
// controller
'recyclerModTitle' => 'Cestino',
'resourceType' => 'tipo di risorsa',
// view
'notFound' => '{0} non trovato.',
'restoreMsgTitle' => 'Ripristina',
'restoreMsgContent' => 'Ripristinare questa voce?',
'purgeMsgTitle' => 'Elimina definitivame... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Recycler/Language/lt/Recycler.php | src/Recycler/Language/lt/Recycler.php | <?php
return [
// controller
'recyclerModTitle' => 'Šiukšliadėžė',
'resourceType' => 'resurso tipas',
// view
'notFound' => '{0} tipo įrašų nerasta.',
'restoreMsgTitle' => 'Atkurti',
'restoreMsgContent' => 'Atkurti šį įrašą?',
'purgeMsgTitle' => 'Ištrinti amžiams',
... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Recycler/Language/ru/Recycler.php | src/Recycler/Language/ru/Recycler.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
// controller
'recyclerModTitle' => 'Уборщик',
'resourceType' => 'тип ре... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Dashboard/CellManager.php | src/Dashboard/CellManager.php | <?php
namespace Bonfire\Dashboard;
class CellManager
{
/**
* Displays all cells that are currently specified in the config.
*/
public function render()
{
$cellClasses = setting('Dashboard.cells');
if (! count($cellClasses)) {
return;
}
foreach ($cell... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Dashboard/DashboardCells.php | src/Dashboard/DashboardCells.php | <?php
namespace Bonfire\Dashboard;
class DashboardCells
{
/**
* Displays a selection of "Quick Links" in the admin dashboard.
* This is a view cell that uses the "content" sidebar menu
* items to determine the links to show.
*/
public function quickLinks()
{
return view('Bonfir... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Dashboard/Controllers/DashboardController.php | src/Dashboard/Controllers/DashboardController.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Dashboard\Controllers;
use Bonfire\Core\AdminController;
use Bonfire\Dashboard... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Dashboard/Views/quick_links.php | src/Dashboard/Views/quick_links.php | <div class="dashboard-cell-container">
<h2 class="text-start"><?= lang('Bonfire.quickLinks') ?></h2>
<div class="text-start">
<?php foreach ($menu->items() as $item) : ?>
<?php if ($item->userCanSee()): ?>
<div class="quick-link">
<a href="<?= site_url($item->url) ?>">
... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Dashboard/Views/dashboard.php | src/Dashboard/Views/dashboard.php | <?php $this->extend('master') ?>
<?php $this->section('styles') ?>
<?= asset_link('admin/css/widgets.css', 'css'); ?>
<?php $this->endSection() ?>
<?php $this->section('main') ?>
<?= $cells->render(); ?>
<?php $this->endSection() ?>
| php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Dashboard/Config/Dashboard.php | src/Dashboard/Config/Dashboard.php | <?php
namespace Bonfire\Dashboard\Config;
use CodeIgniter\Config\BaseConfig;
class Dashboard extends BaseConfig
{
public array $cells = [
'Bonfire\Dashboard\DashboardCells::quickLinks',
'Bonfire\Widgets\Cells\WidgetCells::stats',
'Bonfire\Widgets\Cells\WidgetCells::charts',
];
}
| php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Dashboard/Config/Routes.php | src/Dashboard/Config/Routes.php | <?php
use CodeIgniter\Router\RouteCollection;
/**
* @var RouteCollection $routes
*/
// Bonfire Admin routes
$routes->group(ADMIN_AREA, ['namespace' => '\Bonfire\Dashboard\Controllers'], static function ($routes) {
$routes->get('/', 'DashboardController::index');
});
| php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Assets/Controllers/AssetController.php | src/Assets/Controllers/AssetController.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Assets\Controllers;
use CodeIgniter\Controller;
use CodeIgniter\Exceptions\Pag... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Assets/Helpers/assets_helper.php | src/Assets/Helpers/assets_helper.php | <?php
declare(strict_types=1);
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
if (! defined('asset_link')) {
/**
* Generates the HTML tag wit... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Assets/Config/Assets.php | src/Assets/Config/Assets.php | <?php
declare(strict_types=1);
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Assets\Config;
use CodeIgniter\Config\BaseConfig;
c... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Assets/Config/Routes.php | src/Assets/Config/Routes.php | <?php
declare(strict_types=1);
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
use CodeIgniter\Router\RouteCollection;
/**
* @var RouteCollection $r... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Menus/MenuCollection.php | src/Menus/MenuCollection.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* php version 8.0
*
* @category Menus
* @license MIT https://opensource.org/licenses/MIT
* @s... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Menus/MenuItem.php | src/Menus/MenuItem.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* php version 8.0
*
* @category Menus
* @license MIT https://opensource.org/licenses/MIT
* @s... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Menus/Menu.php | src/Menus/Menu.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* php version 8.0
*
* @category Menus
* @license MIT https://opensource.org/licenses/MIT
* @s... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Menus/Manager.php | src/Menus/Manager.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* php version 8.0
*
* @category Menus
* @license MIT https://opensource.org/licenses/MIT
* @s... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Menus/HasMenuIcons.php | src/Menus/HasMenuIcons.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* php version 8.0
*
* @category Menus
* @license MIT https://opensource.org/licenses/MIT
* @s... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Groups/Module.php | src/Groups/Module.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Groups;
use Bonfire\Core\BaseModule;
use Bonfire\Menus\MenuItem;
use Bonfire\W... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Groups/Controllers/GroupSettingsController.php | src/Groups/Controllers/GroupSettingsController.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Groups\Controllers;
use Bonfire\Core\AdminController;
use CodeIgniter\HTTP\Red... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Groups/Views/list.php | src/Groups/Views/list.php | <?php $this->extend('master') ?>
<?php $this->section('main') ?>
<x-page-head>
<h2>Edit Groups & Permissions</h2>
</x-page-head>
<x-admin-box>
<fieldset class="first">
<legend>User Groups</legend>
<p>User Groups function like traditional roles, but can also be more specific groupings of ... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Groups/Views/_tabs.php | src/Groups/Views/_tabs.php | <ul class="nav nav-tabs nav-fill" style="margin-bottom: -2px;">
<li class="nav-item">
<a class="nav-link <?php if ($tab === 'basics') : ?> active <?php endif ?>"
href="<?= isset($group) ? site_url(ADMIN_AREA . '/settings/groups/' . $group) : '#' ?>">
Group Details
</a>
</l... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Groups/Views/permissions.php | src/Groups/Views/permissions.php | <?php $this->extend('master') ?>
<?php $this->section('main') ?>
<x-page-head>
<a href="<?= site_url(ADMIN_AREA . '/settings/groups/') ?>" class="back">← Groups</a>
<h2>Edit Groups & Permissions</h2>
</x-page-head>
<?= view('Bonfire\Groups\Views\_tabs', ['tab' => 'permissions', 'group' => $group->ali... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Groups/Views/form.php | src/Groups/Views/form.php | <?php $this->extend('master') ?>
<?php $this->section('main') ?>
<x-page-head>
<a href="<?= site_url(ADMIN_AREA . '/settings/groups') ?>" class="back">← Groups</a>
<h2>Edit Groups & Permissions</h2>
</x-page-head>
<?= view('Bonfire\Groups\Views\_tabs', ['tab' => 'basics', 'group' => $groupAlias]) ?>
... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Groups/Config/Routes.php | src/Groups/Config/Routes.php | <?php
use CodeIgniter\Router\RouteCollection;
/**
* @var RouteCollection $routes
*/
$routes->group(ADMIN_AREA, ['namespace' => '\Bonfire\Groups\Controllers'], static function ($routes) {
$routes->get('settings/groups', 'GroupSettingsController::list', ['as' => 'user-group-settings']);
$routes->post('setting... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Groups/Language/en/Groups.php | src/Groups/Language/en/Groups.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'groupsModTitle' => 'User Groups',
];
| php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Groups/Language/it/Groups.php | src/Groups/Language/it/Groups.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'groupsModTitle' => 'Ruoli',
];
| php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Groups/Language/lt/Groups.php | src/Groups/Language/lt/Groups.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'groupsModTitle' => 'Vartotojų grupės',
];
| php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Groups/Language/ru/Groups.php | src/Groups/Language/ru/Groups.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'groupsModTitle' => 'Группы пользователей',
];
| php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Auth/Controllers/LoginController.php | src/Auth/Controllers/LoginController.php | <?php
namespace Bonfire\Auth\Controllers;
use Bonfire\View\Themeable;
use CodeIgniter\Shield\Controllers\LoginController as ShieldLogin;
class LoginController extends ShieldLogin
{
use Themeable;
public function __construct()
{
$this->theme = 'Auth';
helper('auth');
}
/**
*... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Auth/Controllers/MagicLinkController.php | src/Auth/Controllers/MagicLinkController.php | <?php
namespace Bonfire\Auth\Controllers;
use Bonfire\View\Themeable;
use CodeIgniter\Shield\Controllers\MagicLinkController as ShieldMagicLinkController;
class MagicLinkController extends ShieldMagicLinkController
{
use Themeable;
public function __construct()
{
parent::__construct();
... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Auth/Controllers/RegisterController.php | src/Auth/Controllers/RegisterController.php | <?php
namespace Bonfire\Auth\Controllers;
use Bonfire\View\Themeable;
use CodeIgniter\Shield\Controllers\RegisterController as ShieldRegister;
class RegisterController extends ShieldRegister
{
use Themeable;
public function __construct()
{
$this->theme = 'Auth';
helper('auth');
}
... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Auth/Actions/Email2FA.php | src/Auth/Actions/Email2FA.php | <?php
declare(strict_types=1);
namespace Bonfire\Auth\Actions;
use Bonfire\View\Themeable;
use CodeIgniter\HTTP\IncomingRequest;
use CodeIgniter\HTTP\RedirectResponse;
use CodeIgniter\I18n\Time;
use CodeIgniter\Shield\Authentication\Actions\Email2FA as ShieldEmail2FA;
use CodeIgniter\Shield\Authentication\Authentica... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Auth/Actions/EmailActivator.php | src/Auth/Actions/EmailActivator.php | <?php
declare(strict_types=1);
namespace Bonfire\Auth\Actions;
use Bonfire\View\Themeable;
use CodeIgniter\Exceptions\PageNotFoundException;
use CodeIgniter\HTTP\IncomingRequest;
use CodeIgniter\HTTP\RedirectResponse;
use CodeIgniter\I18n\Time;
use CodeIgniter\Shield\Authentication\Actions\EmailActivator as ShieldEm... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Auth/Config/AuthGroups.php | src/Auth/Config/AuthGroups.php | <?php
namespace Bonfire\Auth\Config;
use CodeIgniter\Shield\Config\AuthGroups as ShieldAuthGroups;
class AuthGroups extends ShieldAuthGroups
{
/**
* --------------------------------------------------------------------
* Default Group
* --------------------------------------------------------------... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Auth/Config/Auth.php | src/Auth/Config/Auth.php | <?php
namespace Bonfire\Auth\Config;
use Bonfire\Users\Models\UserModel;
use CodeIgniter\Shield\Authentication\Actions\ActionInterface;
use CodeIgniter\Shield\Authentication\AuthenticatorInterface;
use CodeIgniter\Shield\Authentication\Authenticators\AccessTokens;
use CodeIgniter\Shield\Authentication\Authenticators\... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Auth/Config/Routes.php | src/Auth/Config/Routes.php | <?php
use CodeIgniter\Router\RouteCollection;
/**
* @var RouteCollection $routes
*/
// Authentication Routes that override Shield's
$routes->group('', ['namespace' => '\Bonfire\Auth\Controllers'], static function ($routes) {
$routes->get('register', 'RegisterController::registerView');
$routes->post('regist... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Auth/Config/AuthToken.php | src/Auth/Config/AuthToken.php | <?php
declare(strict_types=1);
/**
* This file is part of CodeIgniter Shield.
*
* (c) CodeIgniter Foundation <admin@codeigniter.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Auth\Config;
use CodeIgniter... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Auth/Filters/Admin.php | src/Auth/Filters/Admin.php | <?php
namespace Bonfire\Auth\Filters;
use Bonfire\Bonfire;
use CodeIgniter\Filters\FilterInterface;
use CodeIgniter\HTTP\RequestInterface;
use CodeIgniter\HTTP\ResponseInterface;
class Admin implements FilterInterface
{
/**
* Do whatever processing this filter needs to do.
* By default it should not re... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Views/_pager_full_htmx.php | src/Views/_pager_full_htmx.php | <?php
use CodeIgniter\Pager\PagerRenderer;
/**
* @var PagerRenderer $pager
*/
$pager->setSurroundCount(2);
?>
<?php if ($pager->getPageCount() > 1) : ?>
<nav aria-label="<?= lang('Pager.pageNavigation') ?>" class="d-flex justify-content-center">
<ul class="pagination" hx-target="#content-list">
<?php i... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Views/_pager_head.php | src/Views/_pager_head.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
use CodeIgniter\Pager\PagerRenderer;
/**
* @var PagerRenderer $pager
*/
$pager->setSurroundCou... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Views/_avatar.php | src/Views/_avatar.php | <span style="width: <?= $size ?>px; height: <?= $size ?>px; font-size: <?= $fontSize ?>px; background-color: <?= $background ?>"
class="avatar overflow-hidden" title="<?= $user->name() ?>"
>
<?php if ($user->avatarLink() !== '') : ?>
<img class="img-fluid" src="<?= $user->avatarLink($size) ?>" alt="<?... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Views/_alerts.php | src/Views/_alerts.php |
<?php foreach ($alerts as $alert): ?>
<?php [$class, $content] = $alert; ?>
<div role="alert" class="alert alert-<?= $class ?> alert-dismissible fade show shadow d-flex">
<?php if ($class === 'info'): ?>
<i class="fas fa-info-circle text-info mx-2 mt-1"></i>
<?ph... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Views/email.php | src/Views/email.php | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
</head>
<... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Views/_filter_list.php | src/Views/_filter_list.php | <section class="filters">
<?php if (isset($filters) && count($filters)): ?>
<form action="<?= current_url() ?>" method="get"
hx-get="<?= current_url() ?>"
hx-trigger="change delay:400ms from:.filter-check"
hx-target="<?= $target ?>"
>
<?= csrf_field() ?>
<?php ... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Views/_resource_tabs.php | src/Views/_resource_tabs.php | <?php foreach ($tabs as $tab) : ?>
<?php if (empty($tab->permission) || auth()->user()->can($tab->permission)) : ?>
<li class="nav-item">
<a class="nav-link <?php if (url_is($tab->url)) : ?> active <?php endif ?>"
href="<?= esc($tab->url, 'attr') ?>">
<?= esc($tab-... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Views/_pager_simple.php | src/Views/_pager_simple.php | <?php
use CodeIgniter\Pager\PagerRenderer;
/**
* @var PagerRenderer $pager
*/
$pager->setSurroundCount(0);
if ($pager->getPageCount() > 1) : ?>
?>
<nav>
<ul class="pager">
<li class="page-item <?= $pager->hasPrevious() ? '' : 'disabled' ?>">
<a href="<?= $pager->getPrevious() ?? '#' ?>" aria... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Views/_pager_simple_htmx.php | src/Views/_pager_simple_htmx.php | <?php
use CodeIgniter\Pager\PagerRenderer;
/**
* @var PagerRenderer $pager
*/
$pager->setSurroundCount(0);
if ($pager->getPageCount() > 1) : ?>
<nav>
<ul class="pager" hx-target="#content-list">
<li class="page-item <?= $pager->hasPrevious() ? '' : 'disabled' ?>">
<a href="<?= $pager->getPr... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.