Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: remove "index.php" from CodeIgniter's URL
Post: RE: remove "index.php" from CodeIgniter's URL

Also read here on Removing the index.php file (https://codeigniter.com/user_guide/general/urls.html?highlight=index%20php#removing-the-index-php-file) in the documentation
225 Views
3 Replies
03-01-2023, 12:31 PM
grimpirate
    Thread: How to run a single seeder during unit test?
Post: RE: How to run a single seeder during unit test?

If you're placing your file into app/Database/Seeds then your namespace is incorrect when you attempt to run it. Code: -- Currently: namespace Tests\Support\Database\Seeds; Should be: namespace App\...
133 Views
3 Replies
02-25-2023, 08:56 AM
grimpirate
    Thread: Google Two-Factor Authentication Module for Shield
Post: RE: Google Two-Factor Authentication Module for Sh...

datamweb Wrote: (02-24-2023, 01:54 AM) -- Also, I disagree with your opinion that if someone installs Halberd, they must use it, if this is true, then if the user installs the Shield, he must have ma...
1,764 Views
11 Replies
02-24-2023, 11:24 AM
grimpirate
    Thread: Google Two-Factor Authentication Module for Shield
Post: RE: Google Two-Factor Authentication Module for Sh...

@"datamweb" thank you for the callouts regarding namespace and the helper functions. However, I fail to see the benefit of setting the actions manually. If the person elected to use Halberd, it follo...
1,764 Views
11 Replies
02-23-2023, 02:47 PM
grimpirate
    Thread: Google Two-Factor Authentication Module for Shield
Post: RE: Google Two-Factor Authentication Module for Sh...

I've imported and renamed the repository to unfork it, that way the contributions to the project remain.
1,764 Views
11 Replies
02-23-2023, 12:37 PM
grimpirate
    Thread: How to run cron jobs?
Post: RE: How to run cron jobs?

If you're able to schedule crons and you have access to php, you could try running your controllers from the command line (https://codeigniter4.github.io/CodeIgniter4/cli/cli_controllers.html).
97 Views
1 Replies
02-23-2023, 07:23 AM
grimpirate
    Thread: Shield: access of a page for one user
Post: RE: Shield: access of a page for one user

If what you're referring to is specifically a profile page, what you would do is exclude public pages from your 'session' filter as explained here (https://github.com/codeigniter4/shield/blob/develop/...
1,416 Views
8 Replies
02-22-2023, 05:32 PM
grimpirate
    Thread: Google Two-Factor Authentication Module for Shield
Post: RE: Google Two-Factor Authentication Module for Sh...

@"datamweb" I forked it from Shield because the Actions that I created are modifications of the Email Actions provided by default by shield. So as a matter of complying with the MIT license I left the...
1,764 Views
11 Replies
02-22-2023, 09:28 AM
grimpirate
    Thread: Google Two-Factor Authentication Module for Shield
Post: Google Two-Factor Authentication Module for Shield

As the title explains I've created a module for use with Shield (https://github.com/codeigniter4/shield) that provides two-factor authentication using the Google Authenticator (https://play.google.com...
1,764 Views
11 Replies
02-21-2023, 01:26 PM
grimpirate
    Thread: Shield Route Filtering via group
Post: RE: Shield Route Filtering via group

I'm not sure what happened either. I haven't made any changes to the code; yet today I spun up the docker image and everything worked. I guess I must've been logged in with an admin user, or some sort...
152 Views
2 Replies
02-21-2023, 09:05 AM
grimpirate
    Thread: Shield Route Filtering via group
Post: Shield Route Filtering via group

I have the following lines in my Config/Routes.php: PHP Code: -- $routes->get('/', 'Home::index'); $routes->resource('api/clients', [     'controller' => 'API\Clients',     'only' => ['index', ...
152 Views
2 Replies
02-20-2023, 01:23 PM
grimpirate
    Thread: Docker
Post: RE: Docker

Continuing on my learnings to see how much I can do with this particular image, I've created a module to extend Shield's functionality. Using the EmailActivator as a template, the module uses the Goog...
1,127 Views
2 Replies
11-22-2022, 04:12 PM
grimpirate
    Thread: Docker
Post: RE: Docker

I've created a Dockerfile (https://github.com/grimpirate/docker-ci) repository for CodeIgniter4 with SQLite3 based on an Alpine Linux image. However, I've been trying to get codeigniter4/shield workin...
1,127 Views
2 Replies
11-09-2022, 01:35 PM
grimpirate
    Thread: Class not found error
Post: Class not found error

Following the procedure for Managing your Applications (https://codeigniter.com/user_guide/general/managing_apps.html) I installed the starter app then created two directories with their own app/ and ...
3,152 Views
2 Replies
12-10-2021, 09:13 PM
grimpirate
    Thread: Requests received as GET rather than POST
Post: Requests received as GET rather than POST

Planning to use CodeIgniter to set up an intermediary API. Following the instructions from Heroku and Code Igniter I performed the following steps: Created an empty directory and traversed into it ...
1,013 Views
0 Replies
11-20-2020, 10:38 AM
grimpirate

Theme © iAndrew 2016 - Forum software by © MyBB