Commit Graph

10 Commits

Author SHA1 Message Date
Stanislav Nikitin 23510e22a0 Moved to Gitlab. 2019-02-22 18:03:08 +05:00
Stanislav Nikitin 14a19622bc Updates regarding moving to source.pztrn.name and dependencies bundling with golang/dep. 2018-02-02 09:17:40 +05:00
Stanislav Nikitin e969b7018d Mogrus initialization fix, gitea PRs, regexp fix.
Fixed Mogrus initialization to pass log level. Configuration to
follow.

OpenSAPS now fully working with Gitea's pull requests.

Fixed URL/URL names regexp for Gitlab and Gitea to include "+" in
them.
2017-11-11 13:00:50 +05:00
Stanislav Nikitin 1cd99829e8 Parse attachments only if theyre exist and message.Text is empty. 2017-09-19 01:08:24 +05:00
Stanislav Nikitin fcdd414573 Use cutLinks call in Gitlab parser. 2017-09-19 01:03:04 +05:00
Stanislav Nikitin 008bbdb637 Parse attachments only if they're passed from Gitlab. 2017-09-19 00:57:20 +05:00
Stanislav Nikitin 729fa71442 Improved links cutter regexp. 2017-09-19 00:53:24 +05:00
Stanislav Nikitin c0b57eed14 Oops, we should pass string instead of struct. 2017-09-19 00:37:44 +05:00
Stanislav Nikitin bde6b53fb1 Pipeline data parsing for Gitlab. 2017-09-19 00:35:08 +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