GithubHelp home page GithubHelp logo

liberu-genealogy / genealogy-laravel Goto Github PK

View Code? Open in Web Editor NEW
159.0 159.0 86.0 8.34 MB

Full genealogy application using Laravel 11, PHP 8.3, Filament 3.2 and Livewire 3.5

Home Page: https://www.liberu.co.uk

License: MIT License

PHP 82.82% JavaScript 0.22% Blade 15.53% CSS 0.49% Shell 0.73% Dockerfile 0.20% Hack 0.01%
docker filament filamentphp genealogy genealogy-application livewire livewire3 mysql php php8 php83

genealogy-laravel's Introduction

Liberu Genealogy

Latest Stable Version Scrutinizer Code Quality Code Intelligence Status StyleCI

CodeFactor codebeat badge Codacy Badge Install Tests Docker

Our Projects

Setup

  1. Ensure your environment is set up with PHP 8.3 and Composer installed.
  2. Download the project files from this GitHub repository.
  3. Open a terminal in the project folder. If you are on Windows and have Git Bash installed, you can use it for the following steps.
  4. Run the following command:
./setup.sh

and everything should be installed automatically if you are using Linux you just run the script as you normally run scripts in the terminal.

NOTE 1: The script will ask you if you want to have your .env be overwritten by .env.example, in case you have already an .env configuration available please answer with "n" (No).

NOTE 2: This script will run seeders, please make sure you are aware of this and don't run this script if you don't want this to happen.

composer install
php artisan key:generate
php artisan migrate --seed

This will install the necessary dependencies, generate an application key, and set up your database with initial data.

NOTE 3: Ensure your .env file is correctly configured with your database connection details before running migrations.

Building with Docker

Alternatively, you can build and run the project using Docker. To build the Dockerfile, follow these steps:

  1. Ensure you have Docker installed on your system.
  2. Open a terminal in the project folder.
  3. Run the following command to build the Docker image:
    docker build -t genealogy-laravel .
    
  4. Once the image is built, you can run the container with:
    docker run -p 8000:8000 genealogy-laravel
    

NOTE 3: Ensure your .env file is correctly configured with your database connection details before running migrations.

Using Laravel Sail

This project also includes support for Laravel Sail, which provides a Docker-based development environment. To use Laravel Sail, follow these steps:

  1. Ensure you have Docker installed on your system.
  2. Open a terminal in the project folder.
  3. Run the following command to start the Laravel Sail environment:
    ./vendor/bin/sail up
    
  4. Once the containers are running, you can access the application at http://localhost.
  5. To stop the Sail environment, press Ctrl+C in the terminal.

For more information on using Laravel Sail, refer to the official documentation.

Description

Liberu Genealogy, now fully compatible with PHP 8.3 and Laravel 11, is an innovative open-source project that continues to revolutionize genealogical research and family history exploration. With the latest update, we've introduced new features and significant improvements, ensuring a more robust and efficient platform for our users. This update not only enhances performance but also brings new functionalities that leverage the full potential of PHP 8.3 and Laravel 11, providing a cutting-edge platform to discover and preserve ancestral heritage.

Our project is based on a sophisticated genealogy website built on Laravel 11, providing users with a smooth and intuitive experience as they explore their family history. By leveraging Laravel's elegant syntax and comprehensive range of tools, we have developed a comprehensive application that allows users to easily create, manage, and explore their family trees.

Furthermore, our project, being open source, fosters collaboration and innovation within the genealogy community. Developers can leverage the technologies used to enhance the functionalities of Liberu Genealogy, propose improvements, and tailor the platform to their specific needs. We actively encourage a vibrant community of developers who utilize our open-source code to develop complementary tools and applications, thus creating an environment conducive to continuous improvement and expansion.

Establishing your own family tree has never been easier. Our platform offers two convenient options to get started. You can import data in various standard formats or manually enter the information yourself.

In order to ensure seamless integration with existing databases and records of family trees, we provide robust API support. Our API facilitates effortless import and export of Gedcom data and DNA matching results. Additionally, we are constantly innovating and will soon introduce Smart Matching, enabling easy connection with resources on other servers, thus expanding your research possibilities.

The security and confidentiality of your data are our top priorities. Your information is securely stored on our server and will never be shared without your explicit authorization. We understand the sensitivity of personal data, and we are committed to protecting your privacy.

On our platform you will find user-friendly data tables that provide comprehensive support for CRUD operations. This allows you to easily manage your family tree information. Whether you need to create, read, update or delete data entries, our intuitive interface ensures a seamless experience.

Customization is crucial, and our forms are designed to be easily editable to meet your specific needs. Customize your family tree to reflect the unique nuances and details of your lineage. Our flexible forms allow you to capture the rich history and connections that make your family history truly special.

To get started, install the application available at https://github.com/liberu-genealogy/genealogy-laravel.

Download it and explore its user-friendly interface, unleashing the power to easily create and discover your family's legacy.

Download our software today and embark on an enriching journey of tracing your roots and discovering the stories that connect generations.

Contributors

genealogy-laravel's People

Contributors

aarchange avatar alain-kay avatar boscan-alexandru avatar curtisdelicata avatar dependabot[bot] avatar hephizbah avatar joshkisb avatar joyudoh avatar stylecibot avatar sweep-ai[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

genealogy-laravel's Issues

Sweep: default layout

Details

Convert layout from vue 3, nuxt 3 and vuetify to laravel livewire, Filament 3.2 and blade, tailwind original header located at:

https://github.com/liberu-genealogy/genealogy-nuxt3/blob/main/components/nav/Header.vue

Footer located at:

https://github.com/liberu-genealogy/genealogy-nuxt3/blob/main/components/Footer.vue

Create a default layout with header, content section and footer section.

Then add two unique pages and convert also from vue 3 and vuetify to blade, livewire and tailwind this link is terms and conditions :
https://github.com/liberu-genealogy/genealogy-nuxt3/blob/main/pages/termsandconditions.vue and another page privacy here:

https://github.com/liberu-genealogy/genealogy-nuxt3/blob/main/pages/privacy.vue

Checklist
  • Create resources/views/layouts/default.blade.php5ef5960 Edit
  • Running GitHub Actions for resources/views/layouts/default.blade.phpEdit
  • Create resources/views/components/header.blade.php626bb3e Edit
  • Running GitHub Actions for resources/views/components/header.blade.phpEdit
  • Create resources/views/components/footer.blade.php26edacc Edit
  • Running GitHub Actions for resources/views/components/footer.blade.phpEdit
  • Create resources/views/pages/termsandconditions.blade.php90077aa Edit
  • Running GitHub Actions for resources/views/pages/termsandconditions.blade.phpEdit
  • Create resources/views/pages/privacy.blade.phpf484112 Edit
  • Running GitHub Actions for resources/views/pages/privacy.blade.phpEdit
  • Modify resources/views/layouts/home.blade.phpa8e2675 Edit
  • Running GitHub Actions for resources/views/layouts/home.blade.phpEdit

Sweep: add css

Details

Convert from vuetify to tailwind the file at https://github.com/liberu-genealogy/genealogy-nuxt3/blob/main/assets/css/base.css and place under resources/css/ then make sure the blade home layout imports this new tailwind css file.

Checklist
  • Create resources/css/tailwind.css1018530 Edit
  • Running GitHub Actions for resources/css/tailwind.cssEdit
  • Modify resources/views/layouts/home.blade.phpd84abdf Edit
  • Running GitHub Actions for resources/views/layouts/home.blade.phpEdit
  • Modify public/build/manifest.jsonc82aaef Edit
  • Running GitHub Actions for public/build/manifest.jsonEdit

Reports - numbering systems

This is a bug | feature request.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

Steps to Reproduce

Expected behavior

Actual behavior

Sweep: correctly place use imports

Details

Bug. Correctly place use imports before the class starts as build fails

Checklist
  • Modify app/Models/Place.php420436a Edit
  • Running GitHub Actions for app/Models/Place.phpEdit
  • Modify app/Policies/PlacePolicy.php ! No changes made Edit
  • Running GitHub Actions for app/Policies/PlacePolicy.phpEdit
  • Modify app/Filament/Resources/PlaceResource.php5e01ca2 Edit
  • Running GitHub Actions for app/Filament/Resources/PlaceResource.phpEdit
  • Modify database/factories/PlaceFactory.php ! No changes made Edit
  • Running GitHub Actions for database/factories/PlaceFactory.phpEdit
  • Modify database/factories/FamilyEventFactory.php885b4f0 Edit
  • Running GitHub Actions for database/factories/FamilyEventFactory.phpEdit
  • Modify database/factories/PersonEventFactory.php00a69aa Edit
  • Running GitHub Actions for database/factories/PersonEventFactory.phpEdit
  • Modify tests/Unit/Filament/Resources/PersonResourceTest.php ! No changes made Edit
  • Running GitHub Actions for tests/Unit/Filament/Resources/PersonResourceTest.phpEdit

Enable Filament based multitenancy

This is a bug | feature request.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

Steps to Reproduce

Expected behavior

Actual behavior

Static blog content imported from old

This is a bug | feature request.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

Steps to Reproduce

Expected behavior

Actual behavior

Sweep: descendant chart

Details

Add a descendant chart page under the standard filament 3 location for the data from people / person. Use D3 and convert this project code to use our filament 3,laravel, blade and tailwind

https://github.com/magicsunday/webtrees-descendant-chart

Checklist
  • Create resources/views/filament/widgets/descendant-chart.blade.phpf71d2f2 Edit
  • Running GitHub Actions for resources/views/filament/widgets/descendant-chart.blade.phpEdit
  • Create public/js/filament/widgets/descendant-chart.js57ef02e Edit
  • Running GitHub Actions for public/js/filament/widgets/descendant-chart.jsEdit
  • Modify routes/web.phpe404b19 Edit
  • Running GitHub Actions for routes/web.phpEdit
  • Create app/Http/Controllers/DescendantChartController.php5a8cd15 Edit
  • Running GitHub Actions for app/Http/Controllers/DescendantChartController.phpEdit
  • Modify resources/views/filament/widgets/descendant-chart.blade.php ! No changes made Edit
  • Running GitHub Actions for resources/views/filament/widgets/descendant-chart.blade.phpEdit

Sweep: add team invite

Details

Add team members invite support. Allow a user to add another user to their team by sending an email invite or selecting an existing user to be part of their team.

Checklist
  • Create app/Http/Controllers/TeamInvitationController.php3b0723d Edit
  • Running GitHub Actions for app/Http/Controllers/TeamInvitationController.phpEdit
  • Create app/Notifications/TeamInvitationNotification.phpa76654c Edit
  • Running GitHub Actions for app/Notifications/TeamInvitationNotification.phpEdit
  • Modify app/Filament/Pages/Tenancy/RegisterTeam.phpefba32c Edit
  • Running GitHub Actions for app/Filament/Pages/Tenancy/RegisterTeam.phpEdit
  • Modify app/Models/Team.php8bf1833 Edit
  • Running GitHub Actions for app/Models/Team.phpEdit
  • Create database/migrations/2023_04_01_000000_create_team_invitations_table.php1718929 Edit
  • Running GitHub Actions for database/migrations/2023_04_01_000000_create_team_invitations_table.phpEdit
  • Modify routes/web.phpf7acd64 Edit
  • Running GitHub Actions for routes/web.phpEdit

Finish people resource

This is a bug | feature request.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

Steps to Reproduce

Expected behavior

Actual behavior

Sweep: add public home page

Details

Copy and convert from vue/vuetify to laravel blade and livewire all of the home layout, layout components and home page from the repository github.com/liberu-genealogy/genealogy-nuxt3

Write in clean sections so that the layout can be reused for future pages. The old home page is written in vue 3, nuxt 3 and vuetify. The current project is laravel livewire 3 using filament 3.2 and blade.

It needs to be placed under the public panels pages and the blade new home layout in standard location.

Checklist
  • Create resources/views/layouts/home.blade.phpc482328 Edit
  • Running GitHub Actions for resources/views/layouts/home.blade.phpEdit
  • Create resources/views/home.blade.php2026c96 Edit
  • Running GitHub Actions for resources/views/home.blade.phpEdit
  • Create app/Http/Livewire/HomePage.php31efe0f Edit
  • Running GitHub Actions for app/Http/Livewire/HomePage.phpEdit
  • Modify routes/web.php4beba26 Edit
  • Running GitHub Actions for routes/web.phpEdit
  • Create public/css/home.css1a5d0d1 Edit
  • Running GitHub Actions for public/css/home.cssEdit
  • Create public/js/home.js4701ed6 Edit
  • Running GitHub Actions for public/js/home.jsEdit

Sweep: public home page

Details

Copy and convert from vue/vuetify to laravel blade and livewire all of the home layout, layout components and home page from the repository https://github.com/liberu-genealogy/genealogy-nuxt3 the components required to be converted for the layout are at :
https://github.com/liberu-genealogy/genealogy-nuxt3/blob/main/components/nav/HomeHeader.vue

https://github.com/liberu-genealogy/genealogy-nuxt3/blob/main/components/nav/HomeNavBar.vue

The three files are part of the home page components sections:
https://github.com/liberu-genealogy/genealogy-nuxt3/tree/main/components/home/manage.vue,

https://github.com/liberu-genealogy/genealogy-nuxt3/tree/main/components/home/products.vue

https://github.com/liberu-genealogy/genealogy-nuxt3/tree/main/components/home/whyUs.vue

Write in clean sections so that the layout can be reused for future pages. The old home page is written in vue 3, nuxt 3 and vuetify. The current project is laravel livewire 3 using filament 3.2 and blade.

It needs to be placed under the public panels pages and the blade new home layout in standard location.

Checklist
  • Create resources/views/layouts/home.blade.php21d0310 Edit
  • Running GitHub Actions for resources/views/layouts/home.blade.phpEdit
  • Create resources/views/components/home_header.blade.phpd9d2515 Edit
  • Running GitHub Actions for resources/views/components/home_header.blade.phpEdit
  • Create resources/views/components/home_navbar.blade.phpbcc2a9b Edit
  • Running GitHub Actions for resources/views/components/home_navbar.blade.phpEdit
  • Create app/Http/Livewire/ManageSection.phpc5a107f Edit
  • Running GitHub Actions for app/Http/Livewire/ManageSection.phpEdit
  • Create resources/views/components/manage_section.blade.php5b52f4b Edit
  • Running GitHub Actions for resources/views/components/manage_section.blade.phpEdit
  • Create app/Http/Livewire/ProductsSection.php75e972f Edit
  • Running GitHub Actions for app/Http/Livewire/ProductsSection.phpEdit
  • Create resources/views/components/products_section.blade.phpcec7bdd Edit
  • Running GitHub Actions for resources/views/components/products_section.blade.phpEdit
  • Create app/Http/Livewire/WhyUsSection.php030aef4 Edit
  • Running GitHub Actions for app/Http/Livewire/WhyUsSection.phpEdit
  • Create resources/views/components/why_us_section.blade.php3946094 Edit
  • Running GitHub Actions for resources/views/components/why_us_section.blade.phpEdit
  • Modify routes/web.php15f8103 Edit
  • Running GitHub Actions for routes/web.phpEdit

🔽 Add selects options to resources where required

New feature

Tasks to be done:

NOTE: usually when an id is needed for a certain resource to be added or modified that is the place were need to be implemented this functionality

NOTE: Dropdowns are nothing more than relationships in laravel. If the models and relationship between them are setup correctly this implementation should be like a walk in the park

Checklist
  • Create database/seeders/DropdownSeeder.php949af74 Edit
  • Running GitHub Actions for database/seeders/DropdownSeeder.phpEdit
  • Create app/Http/Controllers/ResourceController.phpc90c34f Edit
  • Running GitHub Actions for app/Http/Controllers/ResourceController.phpEdit
  • Create resources/views/resource/create.blade.phpdb98147 Edit
  • Running GitHub Actions for resources/views/resource/create.blade.phpEdit
  • Create app/Models/ResourceModel.php2449101 Edit
  • Running GitHub Actions for app/Models/ResourceModel.phpEdit

Public Home page

This is a bug | feature request.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

Steps to Reproduce

Expected behavior

Actual behavior

Sweep: pedigree chart

Details

Add a pedigree chart page under the standard filament 3 location for the data from people / person. Use D3 and convert this project code to use our filament 3,laravel, blade and tailwind

https://github.com/magicsunday/webtrees-pedigree-chart

Checklist
  • Create public/js/filament/widgets/components/pedigree-chart.blade.phpEdit
  • Running GitHub Actions for public/js/filament/widgets/components/pedigree-chart.blade.phpEdit
  • Create app/Http/Livewire/PedigreeChart.phpEdit
  • Running GitHub Actions for app/Http/Livewire/PedigreeChart.phpEdit
  • Modify routes/web.phpf19a4ed Edit
  • Running GitHub Actions for routes/web.phpEdit
  • Create resources/views/filament/pages/people.blade.phpEdit
  • Running GitHub Actions for resources/views/filament/pages/people.blade.phpEdit

Team registration

This is a bug | feature request.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

Steps to Reproduce

Expected behavior

Actual behavior

Sweep: use imports

Details

Bug: Bug. Correctly place use imports after the namespace declaration and before the class is defined bug in most files edited by sweep previously.

Checklist
  • Modify app/Filament/Resources/GedcomResource.php4a8f064 Edit
  • Running GitHub Actions for app/Filament/Resources/GedcomResource.phpEdit
  • Modify app/Filament/Resources/DnaResource.php ! No changes made Edit
  • Running GitHub Actions for app/Filament/Resources/DnaResource.phpEdit

Sweep: fix dna upload

Details

Rename job dispatch from ImportDna to DnaMatching. Make sure that DnaMatching laravel job is correctly dispatched and the function is called by the file upload in the file app/Filament/Resources/DnaResource.php

Checklist
  • Modify app/Filament/Resources/DnaResource.php93ec504 Edit
  • Running GitHub Actions for app/Filament/Resources/DnaResource.phpEdit

♻️Combine migrations

🏗️Structure rewrite request

Tasks to be done:

  • Make sure no update migrations are present
  • Make sure no renaming migrations are present
  • Make sure no removing migrations are present
  • Update the column types for with foreign keys

Description

Combine all the migrations for the all to get rid of the update, renaming or deletion of columns in the migrations. This task is not a critical one but rather important one to keep the project structure as simple and as easy to follow for the team

Add register

This is a bug | feature request.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

Steps to Reproduce

Expected behavior

Actual behavior

Rewrite readme document

This is a bug | feature request.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

Steps to Reproduce

Expected behavior

Actual behavior

Setup Docker

This is a bug | feature request.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

Steps to Reproduce

Expected behavior

Actual behavior

Fix Vite 5 build

This is a bug | feature request.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

Steps to Reproduce

Expected behavior

Actual behavior

Theme improvements

This is a bug | feature request.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

Steps to Reproduce

Expected behavior

Actual behavior

Sweep: multi tenancy

Details

Make sure multi tenancy works and supports teams. Add stripe subscriptions support using the filament cashier provider already installed. 14 day trial. Users should be able to create a new team on registration

Checklist
  • Create app/Services/StripeSubscriptionService.php14e5c2b Edit
  • Running GitHub Actions for app/Services/StripeSubscriptionService.phpEdit
  • Create database/migrations/2023_04_01_000000_add_stripe_subscription_columns_to_teams_table.php7f262e8 Edit
  • Running GitHub Actions for database/migrations/2023_04_01_000000_add_stripe_subscription_columns_to_teams_table.phpEdit
  • Modify app/Filament/Pages/Tenancy/RegisterTeam.phpe29ce96 Edit
  • Running GitHub Actions for app/Filament/Pages/Tenancy/RegisterTeam.phpEdit
  • Modify app/Providers/Filament/AdminPanelProvider.php2340f96 Edit
  • Running GitHub Actions for app/Providers/Filament/AdminPanelProvider.phpEdit
  • Modify config/permission.phpb36877f Edit
  • Running GitHub Actions for config/permission.phpEdit

Terms and conditions page migrated

This is a bug | feature request.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

Steps to Reproduce

Expected behavior

Actual behavior

Sweep: fan chart

Details

Add a fan chart page under the standard filament 3 location for the data from people / person. Use D3 and convert this project code to use our filament 3,laravel, blade and tailwind

https://github.com/magicsunday/webtrees-fan-chart

Checklist
  • Create app/Http/Livewire/FanChart.php3ba23fc Edit
  • Running GitHub Actions for app/Http/Livewire/FanChart.phpEdit
  • Create resources/views/livewire/fan-chart.blade.php6319172 Edit
  • Running GitHub Actions for resources/views/livewire/fan-chart.blade.phpEdit
  • Create public/js/fan-chart.js94b4499 Edit
  • Running GitHub Actions for public/js/fan-chart.jsEdit
  • Modify routes/web.php67f3fe0 Edit
  • Running GitHub Actions for routes/web.phpEdit
  • Create app/Http/Controllers/FanChartController.php0fe8dcd Edit
  • Running GitHub Actions for app/Http/Controllers/FanChartController.phpEdit

Invite users to your team tree

This is a bug | feature request.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

Steps to Reproduce

Expected behavior

Actual behavior

Privacy policy page imported

This is a bug | feature request.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

Steps to Reproduce

Expected behavior

Actual behavior

Sweep: make sure gedcom job is dispatched

Make sure that ImportGedcom laravel job is correctly dispatched and the function is called by the file upload in the file app/Filament/Resources/GedcomResource.php

Checklist
  • Modify app/Filament/Resources/GedcomResource.phpb0c0516 Edit
  • Running GitHub Actions for app/Filament/Resources/GedcomResource.phpEdit

Error during php artisan db:seed

This is a bug.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

Installing the application throws an error.

Steps to Reproduce

  1. Manual execute the commands contained in setup.sh in terminal : php artisan db:seed

Expected behavior

A successfull installation

Actual behavior

Error:

` INFO Seeding database.

Symfony\Component\ErrorHandler\Error\FatalError

Cannot use Illuminate\Foundation\Auth\User as Authenticatable because the name is already in use

at app\Models\User.php:13
9▕ use Illuminate\Database\Eloquent\Relations\BelongsToMany;
10▕ use Illuminate\Foundation\Auth\User as Authenticatable;
11▕ use Illuminate\Support\Collection;
12▕ use Illuminate\Database\Eloquent\Factories\HasFactory;
➜ 13▕ use Illuminate\Foundation\Auth\User as Authenticatable;
14▕ use Illuminate\Notifications\Notifiable;
15▕ use Laravel\Sanctum\HasApiTokens;
16▕
17▕ class User extends Authenticatable implements FilamentUser, HasTenants

Whoops\Exception\ErrorException

Cannot use Illuminate\Foundation\Auth\User as Authenticatable because the name is already in use

at app\Models\User.php:13
9▕ use Illuminate\Database\Eloquent\Relations\BelongsToMany;
10▕ use Illuminate\Foundation\Auth\User as Authenticatable;
11▕ use Illuminate\Support\Collection;
12▕ use Illuminate\Database\Eloquent\Factories\HasFactory;
➜ 13▕ use Illuminate\Foundation\Auth\User as Authenticatable;
14▕ use Illuminate\Notifications\Notifiable;
15▕ use Laravel\Sanctum\HasApiTokens;
16▕
17▕ class User extends Authenticatable implements FilamentUser, HasTenants

1 vendor\filp\whoops\src\Whoops\Run.php:510
Whoops\Run::handleError("Cannot use Illuminate\Foundation\Auth\User as Authenticatable because the name is already in use", "D:\LARAGON\www\genealogy-laravel\app\Models\User.php")

2 [internal]:0
Whoops\Run::handleShutdown()
`

This is due to an error in app\Models\User.php : use Illuminate\Foundation\Auth\User as Authenticatable; is mentioned twice.

When removing the second use Illuminate\Foundation\Auth\User as Authenticatable; the following error occures during issuing the command php artisan db:seed :

` INFO Seeding database.

Symfony\Component\ErrorHandler\Error\FatalError

Class App\Models\User contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Filament\Models\Contracts\FilamentUser::canAccessPanel)

at app\Models\User.php:16
12▕ use Illuminate\Notifications\Notifiable;
13▕ use Illuminate\Support\Collection;
14▕ use Laravel\Sanctum\HasApiTokens;
15▕
➜ 16▕ class User extends Authenticatable implements FilamentUser, HasTenants
17▕ {
18▕ use HasApiTokens, HasFactory, Notifiable;
19▕
20▕ /**

Whoops\Exception\ErrorException

Class App\Models\User contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Filament\Models\Contracts\FilamentUser::canAccessPanel)

at app\Models\User.php:16
12▕ use Illuminate\Notifications\Notifiable;
13▕ use Illuminate\Support\Collection;
14▕ use Laravel\Sanctum\HasApiTokens;
15▕
➜ 16▕ class User extends Authenticatable implements FilamentUser, HasTenants
17▕ {
18▕ use HasApiTokens, HasFactory, Notifiable;
19▕
20▕ /**

1 vendor\filp\whoops\src\Whoops\Run.php:510
Whoops\Run::handleError("Class App\Models\User contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Filament\Models\Contracts\FilamentUser::canAccessPanel)", "D:\LARAGON\www\genealogy-laravel\app\Models\User.php")

2 [internal]:0
Whoops\Run::handleShutdown()`

Sweep: multitenancy

Details

Make sure multi tenancy works and supports teams. Add stripe subscriptions support using the filament cashier provider already installed. 14 day trial. Users should be able to create a new team on registration.

Sweep: fix syntax errors on gedcom

Details

Bug: fix syntax errors on app/Filament/Resources/GedcomResource.php

Checklist
  • Modify app/Filament/Resources/GedcomResource.php265528b Edit
  • Running GitHub Actions for app/Filament/Resources/GedcomResource.phpEdit

Add back gedcom export

This is a bug | feature request.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

Steps to Reproduce

Expected behavior

Actual behavior

Sweep: write tests

Details

Write unit tests for all files under app/Filament/Resources/

Use pest as per filament 3 documentation unless phpunit is preferred

Checklist
  • Create tests/Pest.phpb505cec Edit
  • Running GitHub Actions for tests/Pest.phpEdit
  • Create tests/Unit/Filament/Resources/PublicationResourceTest.php19cb6ac Edit
  • Running GitHub Actions for tests/Unit/Filament/Resources/PublicationResourceTest.phpEdit
  • Create tests/Unit/Filament/Resources/PersonResourceTest.php0398d10 Edit
  • Running GitHub Actions for tests/Unit/Filament/Resources/PersonResourceTest.phpEdit
  • Modify composer.json1dade29 Edit
  • Running GitHub Actions for composer.jsonEdit
  • Modify phpunit.xml6e364ce Edit
  • Running GitHub Actions for phpunit.xmlEdit
  • Create tests/Unit/Filament/Resources/FamilyResourceTest.php8b041cd Edit
  • Running GitHub Actions for tests/Unit/Filament/Resources/FamilyResourceTest.phpEdit

Contact form

This is a bug | feature request.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

Steps to Reproduce

Expected behavior

Actual behavior

Add Spatie permission plugin

This is a bug | feature request.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

Steps to Reproduce

Expected behavior

Actual behavior

Sweep: complete people resource

Details

Complete the filament 3 form and tables definitions for app/Filament/Resources/PeopleResource.php

Checklist
  • Modify app/Filament/Resources/PersonResource.phpd6ae1c6 Edit
  • Running GitHub Actions for app/Filament/Resources/PersonResource.phpEdit
  • Modify app/Filament/Resources/PersonResource.php4fcbf7d Edit
  • Running GitHub Actions for app/Filament/Resources/PersonResource.phpEdit
  • Modify app/Filament/Resources/PersonResource.php5dbf68e Edit
  • Running GitHub Actions for app/Filament/Resources/PersonResource.phpEdit

Write full test suite

Write full tests set for all resource files under app/Filament/Resources/ following PHPUnit as standard?

Checklist
  • Create tests/Unit/Filament/Resources/AddrResourceTest.phpbbefc06 Edit
  • Running GitHub Actions for tests/Unit/Filament/Resources/AddrResourceTest.phpEdit
  • Create tests/Unit/Filament/Resources/AuthorResourceTest.phpcc7d0d5 Edit
  • Running GitHub Actions for tests/Unit/Filament/Resources/AuthorResourceTest.phpEdit
  • Create tests/Unit/Filament/Resources/ChanResourceTest.phpb3f67ce Edit
  • Running GitHub Actions for tests/Unit/Filament/Resources/ChanResourceTest.phpEdit
  • Modify phpunit.xmld2620a3 Edit
  • Running GitHub Actions for phpunit.xmlEdit
  • Modify tests/Unit/ExampleTest.php5a8f65b Edit
  • Running GitHub Actions for tests/Unit/ExampleTest.phpEdit

Sweep: create new filament panel

Details

Create new filament 3 panel for public pages. Use no prefix. Add register, login, verification, reset to configuration of panel.

Checklist
  • Create app/Providers/Filament/PublicPanelProvider.php46a5c2b Edit
  • Running GitHub Actions for app/Providers/Filament/PublicPanelProvider.phpEdit
  • Modify bootstrap/app.phpb441f1d Edit
  • Running GitHub Actions for bootstrap/app.phpEdit

Sweep: improve resource forms

Details

Add correct selects for the columns containing 'id'.
Add the correct definition for each column.

Follow filament 3 design patterns

The files are in app/Filament/Resources please modify all where required

Checklist
  • Modify app/Filament/Resources/FamilyResource.php9c5c793 Edit
  • Running GitHub Actions for app/Filament/Resources/FamilyResource.phpEdit
  • Modify app/Filament/Resources/PublicationResource.php ! No changes made Edit
  • Running GitHub Actions for app/Filament/Resources/PublicationResource.phpEdit
  • Modify app/Filament/Resources/PersonResource.phpee366b4 Edit
  • Running GitHub Actions for app/Filament/Resources/PersonResource.phpEdit
  • Modify app/Filament/Resources/AddrResource.php ! No changes made Edit
  • Running GitHub Actions for app/Filament/Resources/AddrResource.phpEdit
  • Modify app/Filament/Resources/AuthorResource.php ! No changes made Edit
  • Running GitHub Actions for app/Filament/Resources/AuthorResource.phpEdit

Add subscriptions with cashier

This is a bug | feature request.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

Steps to Reproduce

Expected behavior

Actual behavior

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.