GithubHelp home page GithubHelp logo

promofaux / matterhook.net.matterhookclient Goto Github PK

View Code? Open in Web Editor NEW
23.0 23.0 7.0 107 KB

Simple HTTPclient to post messages to your Mattermost server available on Nuget : https://www.nuget.org/packages/Matterhook.NET.MatterhookClient

License: GNU General Public License v3.0

C# 100.00%

matterhook.net.matterhookclient's Introduction

๐Ÿ‘‹

I am Adam - I don't really like writing bios.

I am on Twitter, where I mostly waffle on about nothing into the void.

I am on my website, where I also waffle on about nothing into the void, but in longer form.

I am on this website (right here, where you're looking), where I write code for myself and for Pi-hole.

I am on Instagram, where I sometimes post pictures of things I like.

I am on email, because you simply have to be these days.

I am on Linkedin, which I regret every time I visit it.

matterhook.net.matterhookclient's People

Contributors

promofaux avatar rgomez90 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

matterhook.net.matterhookclient's Issues

Branches for new releases

@PromoFaux I think we should use branches for our releases,i.e. we should create a branch name v1.4 and a branch named v1.5.

This way we have a cleaner organisation.

I would delete my PR from the master and merged it in the branch v1.4, but since it is protected only you can do this (afaik).

Feature Interactive Message Buttons

I was thinking to implement it in my app, which use this library. Are there some plans about it, or should I make a PR if I ended implementing it?

appveyor yaml appending -dev to tagged version

This has had the unfortunate side-effect of the 1.4 release in nuget being named wrong

Only cosmetic, but could be confusing to folk downloading the package from nuget.

Would like to get it fixed before 1.5 (or perhaps release a 1.4.1)

image

Support Message Menus

Recently Mattermost added message menus to interactive buttons.
See link.

Will work on it this weekend.

Create Unit Tests

This repo needs some tests to assure it works as wished ๐Ÿ˜„

StringSplitter Exceptions

The method StringSplitter.SplitTextIntoChunks raises exception by a null input string or for maxChunkSize < 1.

This exceptions will not be raised "directly".

Example:

//Passing a null string will raise an ArgumentException
var chunks = StringSplitter.SplitTextIntoChunks(null, 250, false);
var firstChunk = chunks.First();    //Exception will be raised here!!!!

The exceptions will be raised first when accessing the enumerable, due to the enumerator nature of the method.

I am not sure if this is the intended behaviour, since I would expect the exception to be raised when calling StringSplitter.SplitTextIntoChunks(null, 250, false)

Appveyor PR builds failing

I've clearly set something up wrong in the Appveyor config. Builds for tags work with no issue, and branch builds appear to work.

It appears to relate to the AssemblyInfo

obj\Release\net452\Matterhook.NET.MatterhookClient.AssemblyInfo.cs(18,59): warning CS7035: The specified version string does not conform to the recommended format - major.minor.build.revision [C:\projects\matterhook-net-matterhookclient\Matterhook.NET.MatterhookClient\Matterhook.NET.MatterhookClient.csproj]
obj\Release\net452\Matterhook.NET.MatterhookClient.AssemblyInfo.cs(22,55): error CS7034: The specified version string does not conform to the required format - major[.minor[.build[.revision]]] [C:\projects\matterhook-net-matterhookclient\Matterhook.NET.MatterhookClient\Matterhook.NET.MatterhookClient.csproj]

More intelligent text splitting

Currently, markdown gets messed up when very long messages are split. We need to implement something to preserve the formatting between split messages

Problem with System.http. not found at runtime

I wanted to use this dll to notify in Mattermost events of my app (.NET 4.6).

Problem is when trying to create an instance of Matterhook client, I get the exception, that System.Net.Http 4.0.0 was not found.

I tried updating packages, rebuilding, but nothing. I can't find the dll in the project's bin folder.

If I manually copy it to the bin folder, an exception is no more thrown and my app works like it should.

I am doing sth wrong or is this a bug?

Add interactive dialogs support

Mattermost now has interactive dialogs.

We should add support for it in the next release.

@PromoFaux should we maybe release a version 1.4.1 with support for interactive dialogs and updated README, since this is an easy task and leave v1.5 milestones as they are since they are bit more complicated/long.

I hope to be able to get all done in christmas.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.