Commit Graph

21 Commits

Author SHA1 Message Date
Aliwoto 40b4968a18
Fix namespace problem for `PeerTypes` and `FileTypes` enums.
Signed-off-by: Aliwoto <aminnimaj@gmail.com>
2021-10-08 11:02:01 +00:00
Aliwoto 60c342ddbf
- Add `GetSession` method in `SocialvoidClient` class.
- Move `ListW<T>` class from `Socialvoid.SvObjects` namespace to `Socialvoid.SvObjects.Math` namespace.
- Let `Document` class implement `IIdentitiable<string>` and `IFlagable<string>` interfaces.
- Add `ServerInformation` class in `Socialvoid.SvObjects.Server` namespace.
- Add `EntityTypes` enum in `Socialvoid.SvObjects.Text` namespace.
- Add `IEntity` interface in `Socialvoid.SvObjects.Text` namespace.
- Add `TextEntity` class in `Socialvoid.SvObjects.Text` namespace (which implemenets `IEntity` interface.
- Add `FileTypes` and `PeerTypes` enums and `IFlagable<T>` interface in `Socialvoid.SvObjects` namespace.
- Let `Peer` class implement `IIdentitiable<string>` and `IFlagable<string>` interfaces.

Signed-off-by: Aliwoto <aminnimaj@gmail.com>
2021-10-08 10:53:06 +00:00
Aliwoto d7bb3c45b7
fix problem in Register method
Signed-off-by: Aliwoto <aminnimaj@gmail.com>
2021-10-06 21:54:55 +00:00
Aliwoto b090408334
- Fix TOTP challenge answer problem.
- Add `GetTermsOfService` method to `SocialvoidClient` class.
- Add `IChallenge` interface to `Socialvoid.Security` namespace.
- Add `Socialvoid.SvObjects` namespace and its classes: `HelpDocument`, `ListW` and `Peer` class.
- Add `Socialvoid.SvObjects.Media` namespace and its classes: `DisplayPictureSize` and `Document`.
- Add code test for registering a user in `Tests/Client/AuthenticateUser.cs` file.

Signed-off-by: Aliwoto <aminnimaj@gmail.com>
2021-10-05 23:02:37 +00:00
Aliwoto e39a7a7042
Merge branch 'master' into aliwoto-dev. 2021-10-03 19:40:04 +00:00
Aliwoto 039836d83f
Fix small TOTP and `SessionIdentification.ChallengeAnswer` property issue.
Signed-off-by: Aliwoto <aminnimaj@gmail.com>
2021-10-03 19:39:17 +00:00
ALi.w 68ecb47e2b
Merge pull request #3 from intellivoid/aliwoto-dev
Implementation of `CreateSession` and `AuthenticateUser` methods
2021-10-02 09:47:09 +00:00
Aliwoto 70ef761e20
Fix access issue in `SessionIdentification` class
Signed-off-by: Aliwoto <aminnimaj@gmail.com>
2021-10-01 16:45:40 +00:00
Aliwoto a23ef86d83
Fix `JsonPropertyName` problem in `SessionIdentification` class;
Fix code style problems in `Socialvoid.Security.Otp` namespace.

Signed-off-by: Aliwoto <aminnimaj@gmail.com>
2021-10-01 10:10:19 +00:00
Aliwoto fa13a7e88d
set otp and challenge answer in jsonrpc request
Signed-off-by: Aliwoto <aminnimaj@gmail.com>
2021-09-30 19:39:59 +00:00
Aliwoto ca932a74db
Add `Socialvoid.Security.Otp` namespace with its classes.
Signed-off-by: Aliwoto <aminnimaj@gmail.com>
2021-09-30 18:07:42 +00:00
Aliwoto 739b8baa8a
removed Socialvoid/Methods directory since methods are directly implemented in SocialvoidClient
Signed-off-by: Aliwoto <aminnimaj@gmail.com>
2021-09-30 15:42:52 +00:00
Aliwoto e39d416aa6
Implement AuthenticateUser and CreateSession methods on class SocialvoidClient
Signed-off-by: Aliwoto <aminnimaj@gmail.com>
2021-09-30 15:40:28 +00:00
Aliwoto 936f7e2663
fix issue #1
correct naming of `Socialvoid` in files, directories and namespaces.

Signed-off-by: Aliwoto <aminnimaj@gmail.com>
2021-09-07 08:40:55 +00:00
Aliwoto bc61768397
Merge branch 'sayan-dev' of https://github.com/intellivoid/Socialvoid.NET into aliwoto-dev 2021-09-07 08:15:46 +00:00
Aliwoto e0b54b600c
Add redmefile to ServerErrors
Signed-off-by: Aliwoto <aminnimaj@gmail.com>
2021-09-07 08:14:57 +00:00
Sayan Biswas a99696f932
Client: try to plan out a basic structure. 2021-09-07 00:04:35 +05:30
Aliwoto 823bd06d5a
create aliwoto-dev branch;
renamed readme file in  directory

Signed-off-by: Aliwoto <aminnimaj@gmail.com>
2021-09-01 14:39:20 +00:00
Aliwoto 0fb30da3fe
completed implementation of exceptions in `SocialVoid.Errors` namespace
-----------------------------------------------------------------------
1. Added `AuthenticationErrors`, `MediaErrors`, `NetworkErrors`, `ServerErrors` and `ValidationErrors` namespaces.
2. Added `Tests.Errors` namespace (using `NUnit.Framework` as test framework),
3. Added github workflows for testing the library,
4. Added `dependabot` and `stale` configurations to the project.
5. Added `CODESTYLE.md` file.

Signed-off-by: Aliwoto <aminnimaj@gmail.com>
2021-09-01 14:24:02 +00:00
Aliwoto 119380ca54
added basic files and SocialVoid.Errors namespace
Signed-off-by: Aliwoto <aminnimaj@gmail.com>
2021-08-29 05:14:34 +00:00
Zi Xing a15e61a3d0
Initial commit 2021-08-28 23:41:56 -04:00