29 Commits

Author SHA1 Message Date
Victor
6c43183837 fix: comment id model update to long instead of int
* #2927: comment id model update to long instead of int

* #2927: code review fixes (1)

* #2927: code review fixes (2)

* #2927: comment id model update to long instead of int: unit tests fix

* #2927: code review fixes

* Fixed most names of parameters

---------

Co-authored-by: Victor Vorobyev <victor@myrtle-sa.com>
Co-authored-by: Brian C. Arnold <brian.arnold@spiderrock.net>
2024-06-10 08:12:08 -05:00
Nick Floyd
1e3fa1d770 feat: Adds generators project and AsyncPaginationExtension generator (#2537) 2022-08-11 01:34:16 -05:00
Stefan
eaef1eee26 feat: Adds AsyncPaginationExtensions (#2516) 2022-08-08 10:27:46 -05:00
Itai Bar-Haim
da3bbe3d0c Added support for DateTime serialized as FileTime (#1735)
* added support for DateTime serialized as FileTime

* changed non-iso timestamp deserialization from FromFileTime to FromUnixTime.

* updated a test to also test the new time stamp deserializer.

* moved all tests projects to a solution folder of their own.

* Fixed test and added a missing field to Account.

* Use original values in test.

* Moved UpdatedAt from Account to User.
2018-01-18 19:23:10 +10:00
Ryan Gribble
ac49d2ad09 Migrate dotnetcore to vs2017 tooling (#1567)
* convert to VS2017

* rework cake.frosting build to latest cake vs2017 "template" example

* fix clean task and version suffix

* add arg to DotNetCorePack so it uses the correct version

* fix appveyor

* is there an easier way to test appveyor?

* ok travis, let's do this

* after reading the travis repo, this seems to be the version we want for vs201/csproj tool support

* msbuild complaining about arguments - we can use defaults anyhow so remove $@ from build.sh script

* add workaround for msbuild/travis, as mentioned on aspnet Mvc repo

* cmon travis

* perhaps tee isnt needed afterall

* travis permission denied when trying to install tools in build script... i feel dirty but need to see if sudo will fix it!

* could it be folder permissions of /build ?

* Try 777 for NuGet.exe permissions rather than 644

* remove windows platform restriction on GitVersion call

* Add a wrapper script for GitVersion on non windows

* fix wrapper script name

* add debug

* let's see if we are running the script at all!

* run mono gitversion direclty from travis.yml, for science

* see if we can run bin/sh and prepend an argument to our shell script

* remove echos from wrapper script

* Ensure full git repo include more than 50 commits and all tags are fetched, as GitVersion was failing on TravisCI

* only build netstandard framework on non windows

* revert overriding the target framework when building the solution

* Unix being case-sensitive, adjust app.config file name in csproj files

* set FrameworkPathOverride to point to different folders on macOS and Linux

* Remove NuGet.exe from the repo.

On Windows, it will be installed by the Frosting bootstrapper script.
On Unix/macOS, cake has smarts to look for mono- and Linux-specific executables

* tidy up GitVersion logic into a GitVersionRunner class

* apply workaround for osx dotnet restore "too many open files" errors

* update test project references to latest official versions

* doesnt seem to be a reason for overriding the implicit reference

* remove extra whitespace and unused namespace
2017-03-30 15:37:49 +10:00
Mickaël Derriey
6b8dde10e2 Remove unneeded files for .NET Core (#1549)
* add .ruleset back to both Octokit and Octokit.Reactive

* rename Octokit.Core.sln to Octokit.sln

* remove platform-specific solution files

* remove .nuspec files

NuGet packaging information is now in the relevant project.json files

* remove ext folder containing platform-specific assemblies

* update the description of the .ruleset file we use
2017-01-29 07:46:38 +10:00
Martin Scholz
89500f4b8a Repository invitations changes (#1410)
* add invitations accept header

* create class RepositoryInvitation

* add repository invitations client

* add api urls for invitations

* [WIP]

* add methods to repository invitations client

* add invite method to repo collaborators client

need to add some new overload to post method in apiconnection

* some changes

* add observable client

* add dependings

* add missing observable client

* add missing xml params

* check client

* change repository invitation model

* [WIP] tests

* [WIP] tests; fix overloads for client

* change GetAllForCurrent; suppress message

* some more tests

* [WIP]

* [WIP]

* add collaborator request model

* change return types

change return types for invitation methods. add permission attribute for
repository collaborators invite method.

* add some more tests

* fix xml doc

* check for null arguments

* fix tests

* some fixes from @ryangribble

* add parameterless constructor for RepositoryInvitation

* change setter

* change constructor

* fix merge conflicts

* [WIP] RepositoryInvitationsClientTests

* fix api url xml

* change collaborator request constructor

* change unit tests for collaborator request

* change repocollaboratorsclient

change overloads for add in invite methods to set permissions

* [WIP] integration tests

* add methods for interface

* NotFoundExceptions

* add overload for invite method

* rename repo property

* gramar

* overloads for observable repo collaborators client

* change integration tests

* new integration tests

* add decline test

* add test for accept invitation
2016-07-23 18:50:22 +10:00
Haacked
5a409c8390 Remove vestigial solution folder
This is empty and isn't needed.
2015-12-10 16:12:42 -08:00
Brendan Forster
839c04a40d cleaning up this old, unloved project 2015-12-10 14:05:21 +10:30
Haacked
b68de40250 Fix line endings and add files to solution folder 2015-03-17 20:35:57 -07:00
Brendan Forster
0c4b3d86c2 upgrade test projects to xUnit 2.0 RTM 2015-03-17 17:21:55 +09:30
Haacked
c913bf1154 Fix bad merge of Integration test project file 2015-01-02 01:08:26 -08:00
Cameron Taggart
124dd7f689 add an appveyor.yml 2014-11-04 11:24:57 -08:00
Tim Sneed
9178a901f5 Nuspec Updates, thanks Phil! 2014-03-13 15:54:16 -05:00
Tim Sneed
63592748a8 Adding Tests :feelsgood: 2014-03-13 15:48:02 -05:00
Tim Sneed
8e772661e7 Adding Portable Library 2014-03-13 15:34:32 -05:00
lbargaoanu
9a46355085 new conventions tests project 2014-01-28 14:44:24 +02:00
Haacked
15b736c5e2 Add missing files to Mono* projects 2013-11-04 16:03:58 -08:00
Steffen Forkmann
f7c2ff0814 Run Fake in the cibuild.ps1 file. 2013-11-01 18:55:47 +01:00
Steffen Forkmann
32430c47e3 Using the version from the ReleaseNotes.md and set it for the AssemblyVersion of the projects. 2013-11-01 18:54:12 +01:00
Steffen Forkmann
457ba0c9c8 Remove old build script - we can use FAKE as default. 2013-11-01 18:54:08 +01:00
Steffen Forkmann
7c0b273047 Sound check - FAKE can be downloaded and is running with the buildWithFAKE.cmd. 2013-11-01 18:53:34 +01:00
Paul Betts
77fb876093 Remove the WinRT platform-specific :trollface: nonsense 2013-10-30 16:28:34 -07:00
Paul Betts
7a69f66fc6 Rename OctoKitRT => OctoKit-PLATFORM 2013-10-30 16:26:13 -07:00
Haacked
c4f90febfd Add poor man's nuget build script
We'll make this better later. I promise.
2013-10-30 14:47:08 -07:00
Haacked
de305aace8 Consolidate assembly metadata into SolutionInfo
This keeps the Octokit and Octokit.Reactive libs the same version.
2013-10-18 22:05:31 -07:00
half-ogre
c6e176b82e add exe to clean up after tests 2013-10-09 14:34:31 -07:00
Haacked
9ba3cea3db Add unit tests for OctokitRT project 2013-09-24 13:57:29 -07:00
Haacked
997e955f38 Rename to Octokit to be consistent with other API libs
GitHub is naming all of the libraries Octokit for their respective
platforms
2013-01-29 14:00:27 -08:00