Commit Graph

34 Commits

Author SHA1 Message Date
39ad633d45 Linting and use latest golang image for tests. 2019-12-22 04:24:25 +05:00
6b519c31a0 Switching to modules, removed vendored dependencies, linting with golangci-lint. 2019-12-15 22:17:01 +05:00
d33062598e
Forgotten Dockerfile :) 2019-09-25 21:23:30 +05:00
da0942e794
CI 2019-09-25 21:20:29 +05:00
654aa94b0c
Remove initial line break if present. Fixes #6. 2019-03-25 22:28:21 +05:00
25ab43c8ba
Some documentation fixes, related to #4. 2019-03-12 21:46:29 +05:00
4e69625994
Simple builder that builds OpenSAPS for every known OS. Some might be missing, MRs welcome :). 2019-03-06 05:38:15 +05:00
56b38b798b
Documentation update. 2019-03-06 05:31:00 +05:00
eaf6b05a37
Dirty type assertion thing to make authorization work for servers which use .well-known things.
Should fix #1.
2019-03-06 05:15:54 +05:00
27414ccf15
Improved links parsing and replacing in Matrix and Telegram pushers.
Related to #3.
2019-03-06 05:08:00 +05:00
c93fa504ad One new great parser, deprecated all other parsers (gitlab, gitea). 2019-03-05 19:31:13 +05:00
b13cf6ecec Fixed requests router and added possibility to connect to Telegram via HTTP proxy (fixes #2). 2019-03-05 18:32:34 +05:00
a0f3ddfa16 README update and missing dependencies. 2019-02-25 17:24:19 +05:00
afb076d116 Deps update, gopkg.lock fix, flagger initialization fix. 2019-02-25 16:29:48 +05:00
23510e22a0 Moved to Gitlab. 2019-02-22 18:03:08 +05:00
0e497d9b71 README update. 2018-02-02 09:18:33 +05:00
14a19622bc Updates regarding moving to source.pztrn.name and dependencies bundling with golang/dep. 2018-02-02 09:17:40 +05:00
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
c9a111c832 Telegram pusher. 2017-10-31 22:50:14 +05:00
1cd99829e8 Parse attachments only if theyre exist and message.Text is empty. 2017-09-19 01:08:24 +05:00
fcdd414573 Use cutLinks call in Gitlab parser. 2017-09-19 01:03:04 +05:00
008bbdb637 Parse attachments only if they're passed from Gitlab. 2017-09-19 00:57:20 +05:00
729fa71442 Improved links cutter regexp. 2017-09-19 00:53:24 +05:00
c0b57eed14 Oops, we should pass string instead of struct. 2017-09-19 00:37:44 +05:00
bde6b53fb1 Pipeline data parsing for Gitlab. 2017-09-19 00:35:08 +05:00
d0408878e1 Proper JSON marshaling for Matrix pusher. 2017-09-13 16:02:56 +05:00
af769b3039 Gitea links regexp fix. 2017-09-13 12:33:47 +05:00
4b01f977d5 Attempt to fix configuration docs rendering. 2017-09-13 12:31:45 +05:00
f716a87e99 README update. 2017-09-13 12:30:09 +05:00
8298c9b54d Gitea new commit parsing fix. 2017-09-13 12:27:52 +05:00
b63eb76187 Updated example configuration and added basic configuration docs. 2017-09-13 12:21:40 +05:00
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
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
1612420e63 Initial commit with Matrix support. Messages are successfully delivered. 2017-08-28 01:13:45 +05:00