Commit Graph

  • dc7ec40cde feat(*): Update example appsettings.json master Josh Creek 2021-09-02 21:22:36 +01:00
  • fcede90ae3 feat(*): Update package version 1.1.0 Josh Creek 2021-09-02 21:20:12 +01:00
  • 2f152f2a3d refactor(*): Use a strongly-typed options object for reading configuration for the SftpRepository Josh Creek 2021-09-02 21:17:36 +01:00
  • 73be5a52f9 refactor(*): Use more human readable regex for determining if there are any invalid characters in a string Josh Creek 2021-09-02 20:36:14 +01:00
  • 7cf5abd3ec refactor(*): Make IsInvalidFileName an extension method Josh Creek 2021-09-02 20:35:47 +01:00
  • ac1183dc1e refactor(*): Simplify getting the repository name to make it more readable Josh Creek 2021-09-02 20:24:02 +01:00
  • 4bd84e8d8f feat(*): Use SystemTime.Now to enable testing created datetimes for RepoFile objects Josh Creek 2021-09-02 20:18:09 +01:00
  • 45d0f05d2d refactor(*): Replace GenerateFile method by just using the RepoFile constructor Josh Creek 2021-09-02 20:06:05 +01:00
  • c05c2c5eb2 feat(*): Add missing package information to csproj Josh Creek 2021-08-30 19:06:49 +01:00
  • 06aca19247 feat(*): Add documentation to StringHelper Josh Creek 2021-08-30 19:06:16 +01:00
  • 4600ebf82b feat(*): Add filename validity checks to SftpRepository 1.0.1 Josh Creek 2021-08-30 18:56:54 +01:00
  • d80cc8237d feat(*): Update readme and licence for NuGet 1.0.0 Josh Creek 2021-08-30 13:58:05 +01:00
  • 615994a68d refactor(*): Rename to Creek.FileRepository Josh Creek 2021-08-30 13:29:49 +01:00
  • 0fe9924f5b feat(*): Add all repositories to factory Josh Creek 2021-08-30 13:16:56 +01:00
  • b22d2f7f31 feat(*): Add base implementations of all repositories Josh Creek 2021-08-30 13:16:43 +01:00
  • a1db5136c6 feat(*): Remove unnecessary using statements Josh Creek 2021-08-30 13:04:28 +01:00
  • 98d03ae2f2 feat(*): Clean up warnings in SftpRepository Josh Creek 2021-08-30 13:03:54 +01:00
  • 952a9a9a8b refactor(*): Rename FileName to Filename in interface Josh Creek 2021-08-30 13:02:23 +01:00
  • 997c71097a refactor(*): Rename FileName to Filename across the whole solution for consistency Josh Creek 2021-08-30 12:49:43 +01:00
  • 9c48ae9452 feat(*): Add SftpRepository config for testing Josh Creek 2021-08-30 12:46:56 +01:00
  • 01719ec05c feat(*): Add appsettings.json for testing Josh Creek 2021-08-30 12:46:43 +01:00
  • 62665fe492 feat(*): Add SftpRepositoryShould tests Josh Creek 2021-08-30 12:46:01 +01:00
  • ebccd4aeca feat(*): Add GenerateStreamFromString helper method for testing Josh Creek 2021-08-30 12:45:17 +01:00
  • 82fd25881b fix(*): Initialise content with a new stream so it can be written to Josh Creek 2021-08-30 12:44:07 +01:00
  • 4232dd9a03 fix(*): Add missing throw to ensure exceptions get passed up the stack Josh Creek 2021-08-30 12:43:44 +01:00
  • 26a953d59c feat(*): Add initialiser for SftpRepository to use an IConfiguration Josh Creek 2021-08-30 12:43:26 +01:00
  • 0e09233b1d feat(*): Set Factory to utilise IConfiguration objects as parameters Josh Creek 2021-08-30 12:42:29 +01:00
  • 1813599e82 fix(*): Make Factory static to enable not having to instantiate it everywhere Josh Creek 2021-08-30 11:06:11 +01:00
  • 5138cca9b0 feat(*): Add the SftpRepository to the factory Josh Creek 2021-08-30 00:31:48 +01:00
  • bc4decc617 feat(*): Add an initial barebones implementation of the SftpRepository Josh Creek 2021-08-30 00:31:36 +01:00
  • ca490f72be refactor(*): Modify IFIleRepository UpdateFileAsync to use a RepoFile model instead of a filename Josh Creek 2021-08-30 00:31:04 +01:00
  • 8eafe54fc2 refactor(*): Remove the id from RepoFile as the filename can be used instead as a UID Josh Creek 2021-08-30 00:06:33 +01:00
  • 314cec2ac2 refactor(*): Split repository name into a separate variable to make it more readable Josh Creek 2021-08-29 23:41:36 +01:00
  • 85c8769631 refactor(*): Refactor GetFileRepository to simplify the factory class and handle bad repository types Josh Creek 2021-08-29 23:40:04 +01:00
  • 7039886034 feat(*): Add GetFileRepository method Josh Creek 2021-08-29 23:32:13 +01:00
  • 8b1618eec7 feat(*): Add RepositoryType enum Josh Creek 2021-08-29 23:30:20 +01:00
  • 57acb1d652 feat(*): Add base Factory class Josh Creek 2021-08-29 23:29:57 +01:00
  • ce31802a94 feat(*): Add base unit test project to solution Josh Creek 2021-08-29 23:20:12 +01:00
  • 11450dedcd feat(*): Add IFileRepository Josh Creek 2021-08-29 23:16:07 +01:00
  • 9167618436 fix(*): Rename File model to RepoFile to prevent clashes with the static system File object Josh Creek 2021-08-29 23:11:31 +01:00
  • 22a71271e4 feat(*): Add documentation to File model to remove warnings Josh Creek 2021-08-29 23:05:36 +01:00
  • f0edd7719c feat(*): Add global suppression for SA1200 Josh Creek 2021-08-29 23:05:07 +01:00
  • 81c42aef4d fix(*): Fix broken stylecop and globalsuppressions rules Josh Creek 2021-08-29 23:04:47 +01:00
  • 2739a6e642 feat(*): Add stylecop for better linting Josh Creek 2021-08-29 22:48:51 +01:00
  • 803d0ec1f5 feat(*): Add File model Josh Creek 2021-08-29 22:31:17 +01:00
  • 7ba33b2ecf feat(*): Add base project Josh Creek 2021-08-29 22:24:52 +01:00
  • 6e5c07e5be feat(*): Add gitignore for dotnet projects Josh Creek 2021-08-29 22:21:07 +01:00
  • 8e9e39d7b0 Initial commit Josh Creek 2021-08-29 22:19:47 +01:00