├── .gitattributes ├── .gitignore ├── Mors.Journeys.Application.Client.Web ├── .gitignore ├── index.html ├── package-lock.json ├── package.json ├── src │ ├── App.vue │ ├── Calendar.vue │ ├── JourneyCalendar.vue │ ├── PassengerList.vue │ ├── api.js │ ├── main.js │ └── main.scss └── vite.config.js ├── Mors.Journeys.Application.Client.Wpf ├── Bootstrapper.cs ├── Commands │ └── StoreJourneyTemplatesCommand.cs ├── Components │ ├── Calendar │ │ ├── CalendarDay.cs │ │ ├── CalendarDayCollection.cs │ │ └── CalendarMonth.cs │ ├── Notifications │ │ ├── ErrorNotification.cs │ │ ├── NotifierControl.cs │ │ ├── NotifierControl.xaml │ │ ├── NotifierViewModel.cs │ │ └── SuccessNotification.cs │ ├── Popups │ │ ├── TogglePopup.cs │ │ └── TogglePopup.xaml │ └── Settings │ │ ├── SettingSelector.cs │ │ ├── SettingSelector.xaml │ │ └── SettingsCommands.cs ├── Events │ └── JourneyWithLiftsAddedEvent.cs ├── Features │ ├── AddJourneysWithLifts │ │ ├── AddJourneyWithLiftsControl.cs │ │ ├── AddJourneyWithLiftsControl.xaml │ │ ├── AddJourneyWithLiftsViewModel.cs │ │ └── LiftViewModel.cs │ ├── CalculatePassengerLiftsCostInPeriod │ │ ├── CalculatePassengerLiftsCostInPeriodControl.cs │ │ ├── CalculatePassengerLiftsCostInPeriodControl.xaml │ │ └── CalculatePassengerLiftsCostInPeriodViewModel.cs │ └── ShowJourneysInCalendar │ │ ├── CalendarContentProvider.cs │ │ ├── JourneyCalendarsControl.cs │ │ ├── JourneyCalendarsControl.xaml │ │ ├── JourneyCalendarsViewModel.cs │ │ ├── JourneyDaySummary.cs │ │ ├── Month.cs │ │ ├── MonthSelector.cs │ │ ├── Passenger.cs │ │ └── PassengerLiftCalendar.cs ├── ICommandDispatcher.cs ├── ICommandHandlerRegistry.cs ├── IEventBus.cs ├── IIdFactory.cs ├── IQueryDispatcher.cs ├── IQueryHandlerRegistry.cs ├── Infrastructure │ ├── DelegateCommand.cs │ ├── DelegateCommand`1.cs │ ├── Extensions │ │ ├── EventExtensions.cs │ │ ├── NotifyCollectionChangedEventExtensions.cs │ │ └── PropertyChangedEventExtensions.cs │ └── Interfaces │ │ └── INotifyCollectionChangedReadOnlyList.cs ├── MainPanel.xaml ├── MainPanel.xaml.cs ├── Mors.Journeys.Application.Client.Wpf.csproj ├── Properties │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ ├── Resources.resx │ ├── Settings.Designer.cs │ └── Settings.settings ├── Queries │ └── GetJourneyTemplatesQuery.cs ├── Resources.xaml ├── Settings │ ├── JourneyTemplate.cs │ ├── JourneyTemplateCollection.cs │ ├── LiftTemplate.cs │ └── Settings.cs └── app.config ├── Mors.Journeys.Application ├── Bootstrapper.cs ├── CommandHandlers │ └── AddJourneyWithLiftsCommandHandler.cs ├── EventReplayers │ ├── JourneyCreatedEventReplayer.cs │ ├── LiftAddedEventReplayer.cs │ └── PersonCreatedEventReplayer.cs ├── ICommandHandlerRegistry.cs ├── IEventBus.cs ├── IEventSourcing.cs ├── IQueryDispatcher.cs ├── IQueryHandlerRegistry.cs ├── IRepositories.cs ├── Mors.Journeys.Application.csproj └── QueryHandlers │ ├── Infrastructure │ ├── Period.cs │ └── Views │ │ ├── IMaybe.cs │ │ ├── Just.cs │ │ ├── Nothing.cs │ │ ├── ObjectExtensions.cs │ │ ├── ValueLookup.cs │ │ ├── ValueMultiSet.cs │ │ └── ValueSet.cs │ ├── JourneyView.cs │ ├── JourneysByPassengerThenMonthThenDayView.cs │ ├── Messages │ ├── FailureMessages.Designer.cs │ └── FailureMessages.resx │ ├── PassengerLiftCostCalculator.cs │ └── PersonView.cs ├── Mors.Journeys.Data ├── Commands │ ├── AddJourneyWithLiftsCommand.cs │ └── Dtos │ │ └── Lift.cs ├── Events │ ├── JourneyCreatedEvent.cs │ ├── LiftAddedEvent.cs │ └── PersonCreatedEvent.cs ├── IHasId.cs ├── IQuery.cs ├── Mors.Journeys.Data.csproj └── Queries │ ├── Dtos │ ├── Journey.cs │ ├── JourneyWithLift.cs │ ├── JourneysByPassengerThenMonthThenDay │ │ ├── Day.cs │ │ ├── Fact.cs │ │ ├── Key.cs │ │ ├── Month.cs │ │ ├── Passenger.cs │ │ └── Value.cs │ ├── JourneysOnDay.cs │ ├── Lift.cs │ ├── PassengerLiftsCost.cs │ ├── Period.cs │ └── PersonName.cs │ ├── GetCostOfPassengerLiftsInPeriodQuery.cs │ ├── GetJourneysByPassengerThenMonthThenDayQuery.cs │ ├── GetJourneysInPeriodQuery.cs │ ├── GetPeopleNamesQuery.cs │ └── GetPersonIdByNameQuery.cs ├── Mors.Journeys.Domain.Expenses.Test ├── Capabilities │ ├── ExpenseListTest.cs │ ├── LiftIdTest.cs │ └── MoneyTest.cs └── Mors.Journeys.Domain.Expenses.Test.csproj ├── Mors.Journeys.Domain.Expenses ├── Capabilities │ ├── Distance.cs │ ├── Expense.cs │ ├── ExpenseList.cs │ ├── IJourneyEvent.cs │ ├── IJourneyVisitor.cs │ ├── Journey.cs │ ├── Journeys │ │ ├── Events │ │ │ ├── Drive.cs │ │ │ ├── JourneyFinish.cs │ │ │ ├── JourneyStart.cs │ │ │ ├── PassengerExit.cs │ │ │ └── PassengerPickup.cs │ │ ├── Route.cs │ │ ├── RouteDistance.cs │ │ └── RoutePoint.cs │ ├── Lift.cs │ ├── LiftId.cs │ └── Money.cs ├── Messages.Designer.cs ├── Messages.resx ├── Mors.Journeys.Domain.Expenses.csproj ├── Operations │ ├── Clerk.cs │ ├── JourneyBuilder.cs │ └── JourneyFactory.cs ├── Policies │ ├── EquallyDistributedCostPolicy.cs │ └── IJourneyCostPolicy.cs └── Properties │ └── AssemblyInfo.cs ├── Mors.Journeys.Domain.Infrastructure ├── Collections │ └── ImmutableList.cs ├── Exceptions │ └── InvariantViolationException.cs ├── Markers │ ├── AggregateAttribute.cs │ ├── EntityAttribute.cs │ ├── FactoryAttribute.cs │ ├── PolicyAttribute.cs │ ├── RepositoryAttribute.cs │ ├── ServiceAttribute.cs │ └── ValueObjectAttribute.cs └── Mors.Journeys.Domain.Infrastructure.csproj ├── Mors.Journeys.Domain.Journeys.Test ├── Capabilities │ ├── DistanceTest.cs │ └── LiftTest.cs ├── Mors.Journeys.Domain.Journeys.Test.csproj └── Operations │ └── JourneyTest.cs ├── Mors.Journeys.Domain.Journeys ├── Capabilities │ ├── Distance.cs │ ├── DistanceUnit.cs │ └── Lift.cs ├── Messages.Designer.cs ├── Messages.resx ├── Mors.Journeys.Domain.Journeys.csproj ├── Operations │ └── Journey.cs └── Properties │ └── AssemblyInfo.cs ├── Mors.Journeys.Domain.People.Test ├── Mors.Journeys.Domain.People.Test.csproj └── PersonTest.cs ├── Mors.Journeys.Domain.People ├── Messages.Designer.cs ├── Messages.resx ├── Mors.Journeys.Domain.People.csproj └── Person.cs ├── Mors.Journeys.Domain.Test.Infrastructure ├── EventBusMock.cs ├── EventMatcher.cs ├── Id.cs └── Mors.Journeys.Domain.Test.Infrastructure.csproj └── Mors.Journeys.sln /.gitattributes: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # Set default behavior to automatically normalize line endings. 3 | ############################################################################### 4 | * text=auto 5 | 6 | ############################################################################### 7 | # Set default behavior for command prompt diff. 8 | # 9 | # This is need for earlier builds of msysgit that does not have it on by 10 | # default for csharp files. 11 | # Note: This is only used by command line 12 | ############################################################################### 13 | #*.cs diff=csharp 14 | 15 | ############################################################################### 16 | # Set the merge driver for project and solution files 17 | # 18 | # Merging from the command prompt will add diff markers to the files if there 19 | # are conflicts (Merging from VS is not affected by the settings below, in VS 20 | # the diff markers are never inserted). Diff markers may cause the following 21 | # file extensions to fail to load in VS. An alternative would be to treat 22 | # these files as binary and thus will always conflict and require user 23 | # intervention with every merge. To do so, just uncomment the entries below 24 | ############################################################################### 25 | #*.sln merge=binary 26 | #*.csproj merge=binary 27 | #*.vbproj merge=binary 28 | #*.vcxproj merge=binary 29 | #*.vcproj merge=binary 30 | #*.dbproj merge=binary 31 | #*.fsproj merge=binary 32 | #*.lsproj merge=binary 33 | #*.wixproj merge=binary 34 | #*.modelproj merge=binary 35 | #*.sqlproj merge=binary 36 | #*.wwaproj merge=binary 37 | 38 | ############################################################################### 39 | # behavior for image files 40 | # 41 | # image files are treated as binary by default. 42 | ############################################################################### 43 | #*.jpg binary 44 | #*.png binary 45 | #*.gif binary 46 | 47 | ############################################################################### 48 | # diff behavior for common document formats 49 | # 50 | # Convert binary document formats to text before diffing them. This feature 51 | # is only available from the command line. Turn it on by uncommenting the 52 | # entries below. 53 | ############################################################################### 54 | #*.doc diff=astextplain 55 | #*.DOC diff=astextplain 56 | #*.docx diff=astextplain 57 | #*.DOCX diff=astextplain 58 | #*.dot diff=astextplain 59 | #*.DOT diff=astextplain 60 | #*.pdf diff=astextplain 61 | #*.PDF diff=astextplain 62 | #*.rtf diff=astextplain 63 | #*.RTF diff=astextplain 64 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ## Ignore Visual Studio temporary files, build results, and 2 | ## files generated by popular Visual Studio add-ons. 3 | 4 | node_modules/ 5 | .vscode/ 6 | 7 | # User-specific files 8 | *.suo 9 | *.user 10 | *.sln.docstates 11 | 12 | # Build results 13 | 14 | [Dd]ebug/ 15 | [Rr]elease/ 16 | x64/ 17 | build/ 18 | [Bb]in/ 19 | [Oo]bj/ 20 | 21 | # MSTest test Results 22 | [Tt]est[Rr]esult*/ 23 | [Bb]uild[Ll]og.* 24 | 25 | *_i.c 26 | *_p.c 27 | *.ilk 28 | *.meta 29 | *.obj 30 | *.pch 31 | *.pdb 32 | *.pgc 33 | *.pgd 34 | *.rsp 35 | *.sbr 36 | *.tlb 37 | *.tli 38 | *.tlh 39 | *.tmp 40 | *.tmp_proj 41 | *.log 42 | *.vspscc 43 | *.vssscc 44 | .builds 45 | *.pidb 46 | *.log 47 | *.scc 48 | 49 | # Visual C++ cache files 50 | ipch/ 51 | *.aps 52 | *.ncb 53 | *.opensdf 54 | *.sdf 55 | *.cachefile 56 | 57 | # Visual Studio profiler 58 | *.psess 59 | *.vsp 60 | *.vspx 61 | 62 | # Guidance Automation Toolkit 63 | *.gpState 64 | 65 | # ReSharper is a .NET coding add-in 66 | _ReSharper*/ 67 | *.[Rr]e[Ss]harper 68 | 69 | # TeamCity is a build add-in 70 | _TeamCity* 71 | 72 | # DotCover is a Code Coverage Tool 73 | *.dotCover 74 | 75 | # NCrunch 76 | *.ncrunch* 77 | .*crunch*.local.xml 78 | 79 | # Installshield output folder 80 | [Ee]xpress/ 81 | 82 | # DocProject is a documentation generator add-in 83 | DocProject/buildhelp/ 84 | DocProject/Help/*.HxT 85 | DocProject/Help/*.HxC 86 | DocProject/Help/*.hhc 87 | DocProject/Help/*.hhk 88 | DocProject/Help/*.hhp 89 | DocProject/Help/Html2 90 | DocProject/Help/html 91 | 92 | # Click-Once directory 93 | publish/ 94 | 95 | # Publish Web Output 96 | *.Publish.xml 97 | *.pubxml 98 | 99 | # NuGet Packages Directory 100 | ## TODO: If you have NuGet Package Restore enabled, uncomment the next line 101 | packages/ 102 | 103 | # Windows Azure Build Output 104 | csx 105 | *.build.csdef 106 | 107 | # Windows Store app package directory 108 | AppPackages/ 109 | 110 | # Others 111 | sql/ 112 | *.Cache 113 | ClientBin/ 114 | [Ss]tyle[Cc]op.* 115 | ~$* 116 | *~ 117 | *.dbmdl 118 | *.[Pp]ublish.xml 119 | *.pfx 120 | *.publishsettings 121 | 122 | # RIA/Silverlight projects 123 | Generated_Code/ 124 | 125 | # Backup & report files from converting an old project file to a newer 126 | # Visual Studio version. Backup files are not needed, because we have git ;-) 127 | _UpgradeReport_Files/ 128 | Backup*/ 129 | UpgradeLog*.XML 130 | UpgradeLog*.htm 131 | 132 | # SQL Server files 133 | App_Data/*.mdf 134 | App_Data/*.ldf 135 | 136 | 137 | #LightSwitch generated files 138 | GeneratedArtifacts/ 139 | _Pvt_Extensions/ 140 | ModelManifest.xml 141 | 142 | # ========================= 143 | # Windows detritus 144 | # ========================= 145 | 146 | # Windows image file caches 147 | Thumbs.db 148 | ehthumbs.db 149 | 150 | # Folder config file 151 | Desktop.ini 152 | 153 | # Recycle Bin used on file shares 154 | $RECYCLE.BIN/ 155 | 156 | # Mac desktop service store files 157 | .DS_Store 158 | 159 | *.g.cs 160 | *.g.i.cs 161 | *.g.resources 162 | *.resources 163 | *.lref 164 | *.csproj.FileListAbsolute.txt 165 | *.baml 166 | TemporaryGeneratedFile_*.cs 167 | *.exe 168 | *.dll 169 | /Journeys.Hosting.Service/data 170 | *.ide 171 | *.nupkg 172 | /.vs 173 | -------------------------------------------------------------------------------- /Mors.Journeys.Application.Client.Web/.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | pnpm-debug.log* 8 | lerna-debug.log* 9 | 10 | node_modules 11 | .DS_Store 12 | dist 13 | dist-ssr 14 | coverage 15 | *.local 16 | 17 | /cypress/videos/ 18 | /cypress/screenshots/ 19 | 20 | # Editor directories and files 21 | .vscode/* 22 | !.vscode/extensions.json 23 | .idea 24 | *.suo 25 | *.ntvs* 26 | *.njsproj 27 | *.sln 28 | *.sw? 29 | -------------------------------------------------------------------------------- /Mors.Journeys.Application.Client.Web/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 |{{ dayName }} | 62 |
---|
67 | |
69 |