HZ-HBO-ICT / it-conference

Official repository for the IT-Conference
https://weareinittogether.nl
MIT License
5 stars 0 forks source link

Rework - 431 company roles and features #440

Closed v-stamenova closed 3 days ago

v-stamenova commented 1 week ago

Description

This branch introduces the new feature of action based roles within the companies. This would mean that once a company representative gain access to send out invitations they no longer need to specify role in advance. This means that once the new employee registers via the company email they'll get the chance to become a speaker (either request or join presentation) or booth owner (either request or join booth).

closes #431

Type of change

What needs to be tested

All tests would require as prerequisite a registration as company rep and approval of the company (use the new function to speed up approval process sail artisan app:approve-last-created-company)

Checklist:

github-actions[bot] commented 1 week ago

Coverage report for commit: a20e8c5 File: coverage.xml

Cover ┌─────────────────────────┐ Freq.
   0% │ ███████████████████████ │ 72.7%
  10% │ █░░░░░░░░░░░░░░░░░░░░░░ │  1.2%
  20% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  30% │ █░░░░░░░░░░░░░░░░░░░░░░ │  1.2%
  40% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  50% │ █░░░░░░░░░░░░░░░░░░░░░░ │  1.2%
  60% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  70% │ █░░░░░░░░░░░░░░░░░░░░░░ │  1.2%
  80% │ █░░░░░░░░░░░░░░░░░░░░░░ │  1.9%
  90% │ █░░░░░░░░░░░░░░░░░░░░░░ │  3.1%
 100% │ ██████░░░░░░░░░░░░░░░░░ │ 17.4%
      └─────────────────────────┘
 *Legend:* █ = Current Distribution 
Summary - Lines: 35.18% | Methods: 23.98%
FilesLinesMethodsBranches
app/Actions/Fortify
   CreateNewUser.php98.33%50.00%100.00%
   PasswordValidationRules.php100.00%100.00%100.00%
   ResetUserPassword.php100.00%100.00%100.00%
   UpdateUserPassword.php100.00%100.00%100.00%
   UpdateUserProfileInformation.php75.00%50.00%100.00%
app/Actions/Jetstream
   DeleteUser.php100.00%100.00%100.00%
app/Actions/Schedule
   PresentationAllocationHelper.php--100.00%
   PresentationConflictChecker.php--100.00%
app/Console/Commands
   AddSpeakerToPresentation.php--100.00%
   AddToHz.php--100.00%
   ApproveLastCreatedCompany.php--100.00%
   ConfirmAllEmails.php--100.00%
   CreateAdmin.php7.69%33.33%100.00%
   ModifyTimeslotDuration.php--100.00%
   SyncPermissions.php100.00%100.00%100.00%
   UpsertMasterData.php73.91%40.00%100.00%
app/Events
   FinalProgrammeReleased.php--100.00%
app/Http/Controllers
   CompanyController.php--100.00%
   Controller.php100.00%100.00%100.00%
   HomeController.php100.00%100.00%100.00%
   InvitationController.php--100.00%
   PresentationController.php--100.00%
   RegistrationController.php--100.00%
   SpeakerController.php--100.00%
app/Http/Controllers/Crew
   BoothController.php97.50%83.33%100.00%
   CompanyController.php96.67%75.00%100.00%
   CrewController.php--100.00%
   DefaultPresentationController.php100.00%100.00%100.00%
   PresentationController.php93.48%83.33%100.00%
   RoomController.php88.00%80.00%100.00%
   ScheduleController.php--100.00%
   SponsorshipController.php94.64%66.67%100.00%
   UserController.php100.00%100.00%100.00%
app/Http/Controllers/Hub
   CompanyController.php--100.00%
   HubController.php--100.00%
app/Http/Livewire
   AuthNavigationMenu.php--100.00%
   DownloadPresentation.php--100.00%
   EmailNotificationPreference.php--100.00%
   GuestNavigationMenu.php--100.00%
   NotificationsList.php--100.00%
   OverrideDifficulty.php--100.00%
   ReleaseFinalProgramme.php--100.00%
   RoomAndTimeslotSelector.php--100.00%
   ShowNotification.php--100.00%
app/Http/Livewire/Booths
   DeleteBoothForm.php--100.00%
   EditBoothModal.php--100.00%
app/Http/Livewire/Companies
   DeleteCompanyForm.php--100.00%
app/Http/Livewire/DefaultPresentations
   EditDefaultPresentationForm.php--100.00%
app/Http/Livewire/Presentations
   DeletePresentationForm.php--100.00%
   EditPresentationModal.php--100.00%
app/Http/Livewire/Rooms
   DeleteRoomForm.php--100.00%
app/Http/Livewire/Schedule
   AddTimeslotPadding.php--100.00%
   RemovePresentationFromSchedule.php--100.00%
   ReplacePresentation.php--100.00%
   ResetTimeslots.php--100.00%
app/Http/Livewire/Sponsorships
   CreateSponsorshipForm.php--100.00%
   DeleteSponsorshipForm.php--100.00%
app/Http/Livewire/Users
   DeleteUserForm.php--100.00%
app/Http/Requests
   StorePresentationRequest.php100.00%100.00%100.00%
app/Listeners
   HandleFinalProgrammeReleased.php--100.00%
app/Livewire
   AuthNavigationMenu.php100.00%100.00%100.00%
   EmailNotificationPreference.php--100.00%
   GuestNavigationMenu.php100.00%100.00%100.00%
app/Livewire/Booth
   DeleteBoothModal.php--100.00%
   EditBoothModal.php--100.00%
   JoinBoothOwnerModal.php--100.00%
app/Livewire/Company
   AddMember.php--100.00%
   BoothRequest.php--100.00%
   DeleteCompany.php--100.00%
   DeleteCompanyModal.php--100.00%
   DetailsForm.php--100.00%
   EditCompanyModal.php--100.00%
   ManageLogo.php--100.00%
   MemberManager.php--100.00%
   RemoveMember.php--100.00%
   SponsorshipRequest.php--100.00%
   UpdateMemberRole.php--100.00%
app/Livewire/Forms
   BoothForm.php--100.00%
   CompanyForm.php--100.00%
   PresentationForm.php--100.00%
   RoomForm.php--100.00%
app/Livewire/Presentation
   DeletePresentationModal.php--100.00%
   EditPresentationModal.php--100.00%
   JoinAsSpeakerModal.php--100.00%
   UploadPresentation.php--100.00%
app/Livewire/Registration
   CompanyBasicForm.php--100.00%
   CompanyLocationForm.php--100.00%
   CompanyRepresentativeForm.php--100.00%
   ParentComponent.php--100.00%
app/Livewire/Room
   DeleteRoomModal.php--100.00%
   EditRoomModal.php--100.00%
app/Livewire/Schedule
   Cell.php--100.00%
   GridParentComponent.php--100.00%
   Presentation.php--100.00%
   PresentationModal.php--100.00%
app/Livewire/Sponsorship
   DeleteSponsorshipModal.php--100.00%
app/Mail
   BoothApprovedMailable.php--100.00%
   BoothDisapprovedMailable.php--100.00%
   CustomTeamInvitation.php100.00%100.00%100.00%
   GenericNewUpdatesMailable.php--100.00%
   InviteCompany.php--100.00%
   InviteUser.php--100.00%
   PresentationApprovedMailable.php--100.00%
   PresentationDisapprovedMailable.php--100.00%
   SponsorshipApprovedMailable.php--100.00%
   SponsorshipDisapprovedMailable.php--100.00%
   TeamApprovedMailable.php--100.00%
   TeamDisapprovedMailable.php--100.00%
app/Models
   Booth.php80.00%50.00%100.00%
   Company.php73.77%53.33%100.00%
   Difficulty.php--100.00%
   EventInstance.php100.00%100.00%100.00%
   FrequentQuestion.php100.00%100.00%100.00%
   Invitation.php25.00%33.33%100.00%
   Presentation.php80.56%63.64%100.00%
   Room.php100.00%100.00%100.00%
   Sponsorship.php47.37%33.33%100.00%
   Timeslot.php--100.00%
   User.php89.23%78.57%100.00%
   UserPresentation.php--100.00%
app/Notifications
   NotifyBoothApproved.php--100.00%
   NotifyBoothDisapproved.php--100.00%
   NotifyPresentationApproved.php--100.00%
   NotifyPresentationDisapproved.php--100.00%
   NotifySponsorshipApproved.php--100.00%
   NotifySponsorshipDisapproved.php--100.00%
   NotifyTeamApproved.php--100.00%
   NotifyTeamDisapproved.php--100.00%
app/Observers
   BoothObserver.php--100.00%
   SpeakerObserver.php--100.00%
   TeamObserver.php--100.00%
app/Policies
   BoothPolicy.php100.00%100.00%100.00%
   CompanyPolicy.php25.45%38.89%100.00%
   PresentationPolicy.php48.84%30.00%100.00%
   RoomPolicy.php100.00%100.00%100.00%
   SponsorshipPolicy.php100.00%100.00%100.00%
   TeamPolicy.php--100.00%
   UserPolicy.php14.29%14.29%100.00%
app/Providers
   AppServiceProvider.php100.00%100.00%100.00%
   FortifyServiceProvider.php91.67%50.00%100.00%
   JetstreamServiceProvider.php100.00%100.00%100.00%
app/View/Components
   AppLayout.php100.00%100.00%100.00%
   ContentModBoothRequestDetails.php--100.00%
   ContentModCompanyRequestDetails.php--100.00%
   ContentModPresentationRequestDetails.php--100.00%
   ContentModSponsorRequestDetails.php--100.00%
   EnrollModal.php--100.00%
   GoldSponsorSpeakerBlock.php--100.00%
   GuestLayout.php--100.00%
   HubLayout.php100.00%100.00%100.00%
   HzTeamBlock.php--100.00%
   Map.php--100.00%
   PresentationDetails.php--100.00%
   ScheduleBlock.php--100.00%
   SidebarLink.php100.00%100.00%100.00%
   SidebarLinkContentMod.php100.00%100.00%100.00%
app/View/Components/Dashboards/Blocks
   Company.php--100.00%
   CompanyRoleDecider.php--100.00%
Table truncated to fit comment

:robot: comment via lucassabreu/comment-coverage-clover