Commit Graph

9 Commits

Author SHA1 Message Date
Stanislav Nikitin d0408878e1 Proper JSON marshaling for Matrix pusher. 2017-09-13 16:02:56 +05:00
Stanislav Nikitin af769b3039 Gitea links regexp fix. 2017-09-13 12:33:47 +05:00
Stanislav Nikitin 4b01f977d5 Attempt to fix configuration docs rendering. 2017-09-13 12:31:45 +05:00
Stanislav Nikitin f716a87e99 README update. 2017-09-13 12:30:09 +05:00
Stanislav Nikitin 8298c9b54d Gitea new commit parsing fix. 2017-09-13 12:27:52 +05:00
Stanislav Nikitin b63eb76187 Updated example configuration and added basic configuration docs. 2017-09-13 12:21:40 +05:00
Stanislav Nikitin b58baa8135 Templating, improved Matrix formatter, Gitlab parser, improved other parsers.
From now OpenSAPS supports template formatting. For examples see
Gitea or Gitlab parser for creating template and data and
matrixconnection.go for how to use them.

Improved Matrix formatter - now we can do links and put repeatables
(like commits) in resulting message.

Added Gitlab parser. Incomplete, but can parse commits, issues,
merge requests, tags messages.

Refactored (a little) Gitea parser. No functional changes, still
only commits parsing.

Both Gitlab and Gitea parsers will put back a message if unknown
message type was passed.
2017-09-13 11:44:25 +05:00
Stanislav Nikitin ac0a99ce10 Added parsers (which parses text) and first parser for Gitea.
This is a very basic and hackish example. It will be reworked.
2017-08-28 08:04:38 +05:00
Stanislav Nikitin 1612420e63 Initial commit with Matrix support. Messages are successfully delivered. 2017-08-28 01:13:45 +05:00