Commit Graph

43 Commits

Author SHA1 Message Date
Tristan B. Velloza Kildaire e4ba063a44 Gitea IRC Bot
- Switched to using `getRespectiveChannel(string)` for `/commit` and /`issue` handling
2023-09-24 15:47:32 +02:00
Tristan B. Velloza Kildaire c5863751de Gitea IRC Bot
- Implemented `getRespectiveChannel(string repositoryName)`
2023-09-24 15:46:28 +02:00
Tristan B. Velloza Kildaire 4799001074 App
- Include issue's title when  a comment is added
2023-07-09 14:42:44 +02:00
Tristan B. Velloza Kildaire 6d1ef81793 App
- Make the "New commit" text green
2023-07-07 13:12:19 +02:00
Tristan B. Velloza Kildaire acad105e21 App
- Fixed logging ref
2023-07-06 19:56:10 +02:00
Tristan B. Velloza Kildaire 56a2f6f91d App
- Handle tags by doing nothing for now - better than crashing
2023-07-06 19:55:43 +02:00
Tristan B. Velloza Kildaire 4cbca297b3 App
- Use environment variable rather for config
2023-07-04 18:08:20 +02:00
Tristan B. Velloza Kildaire e6eb559117 App
- Construct a list of channels in which to join one-shot
2023-07-04 12:15:59 +02:00
Tristan B. Velloza Kildaire 1def85e5d2 Config
- Now map repository names to channel names

App

- Now we join all channels in the `repo -> channel` map
2023-07-04 12:13:31 +02:00
Tristan B. Velloza Kildaire 682f52b246 App
- Now base the channel to send to on the repository
2023-07-04 11:41:33 +02:00
Tristan B. Velloza Kildaire a62298d637 App
- Disable fake lag
2023-07-04 10:58:35 +02:00
Tristan B. Velloza Kildaire 4d5f969005 App
- Made formatting for newly created issues (opened) same as for other events issue-wise
2023-06-13 14:56:39 +02:00
Tristan B. Velloza Kildaire 6f9364e559 App
- Added missing`[]` for new comment alerts
2023-06-12 21:02:49 +02:00
Tristan B. Velloza Kildaire 96f52c3e1c App
- Use green text formatting when re-openning an issue
2023-06-12 20:31:13 +02:00
Tristan B. Velloza Kildaire f9ce9c1e2d App
- Fixed compilation error with `newConnection()`
- Made formatting uniform regarding re-opening of issues, closing of issues and comments
2023-06-12 20:30:17 +02:00
Tristan B. Velloza Kildaire bf08d2641e - Color `"New comment"` in green 2023-03-24 18:57:14 +02:00
Tristan B. Velloza Kildaire c7953c80ef - Fixed function name typo 2023-03-24 18:55:00 +02:00
Tristan B. Velloza Kildaire af4a1ccb1e - Underline the URL of the new comment, make username and comment italics, make issue number bold 2023-03-24 18:53:53 +02:00
Tristan B. Velloza Kildaire 22e813500a - On new issue comment bolden repository name 2023-03-24 18:51:07 +02:00
Tristan B. Velloza Kildaire 40ded0b52d - Extract the repository's full name and include it as part of the message sent for `/commit` 2023-03-20 11:11:55 +02:00
Tristan B. Velloza Kildaire 9fe0f95269 - Extract the name of the repository and add it to the IRC messages sent for the `/issue` handler 2023-03-20 11:10:27 +02:00
Tristan B. Velloza Kildaire a8bd7c8750 - Use `channelName` instead of hardcoded `#tlang` 2023-03-20 10:52:06 +02:00
Tristan B. Velloza Kildaire 44e476c9c5 - Make the `logger` global such that there is only one 2023-03-19 15:22:14 +02:00
Tristan B. Velloza Kildaire 79987bad74 - Use `joinChannel(string)` 2023-03-11 16:05:57 +02:00
Tristan B. Velloza Kildaire d42bf3c6c5 - Use `GoggaLogger`'s `error()` on errors and `warn()` on warnings 2023-03-11 15:58:15 +02:00
Tristan B. Velloza Kildaire d3b8d6357c - Use new `gogga` 2023-03-11 15:51:31 +02:00
Tristan B. Velloza Kildaire 56b2e97456 Added some notes 2022-12-11 22:46:41 +02:00
Tristan B. Velloza Kildaire dbe3bcc8c5 Added debug info 2022-11-21 11:26:06 +02:00
Tristan B. Velloza Kildaire 7d70c583e5 Cleaned up imports
Removed commented code
2022-11-21 11:25:06 +02:00
Tristan B. Velloza Kildaire f2d928bb38 Cleaned up code and added some descriptive comments
Added TODOs for a future final release
2022-11-21 11:24:24 +02:00
Tristan B. Velloza Kildaire a207c12c12 Cleaned up 2022-11-21 11:22:50 +02:00
Tristan B. Velloza Kildaire 4fa6db11d5 Read webhook listener settings from configuration file 2022-11-21 11:22:23 +02:00
Tristan B. Velloza Kildaire dead3c511f Corrected exit codes to -1 instead of 1
Removed unneeded newlines in error message
2022-11-21 11:14:11 +02:00
Tristan B. Velloza Kildaire 21b75b530b Corrected error message on I/O error with configuration file 2022-11-21 11:12:55 +02:00
Tristan B. Velloza Kildaire 505ccea728 Exit when either too many arguments are provided or the configuration file path was wrong or there was a parsing error 2022-11-21 11:10:36 +02:00
Tristan B. Velloza Kildaire 53cc9e8b46 Moved all ntfy.sh sends to a single method with debugging statements and a check for if `hasNTFYSH` is true 2022-11-14 10:52:05 +02:00
Tristan B. Velloza Kildaire c88db9e4bc Added configuration file support
Updated information on configuration file details
2022-11-13 20:31:50 +02:00
Tristan B. Velloza Kildaire a551b30e57 Added error handling when doing any JSON parsing such that errors will be sent to the response on Gitea 2022-11-08 10:19:25 +02:00
Tristan B. Velloza Kildaire 361654b54b Added support for reopening issues 2022-11-07 16:26:31 +02:00
Tristan B. Velloza Kildaire 2d48a7155a Added support for opening issues, closing issues and comments on issues 2022-11-07 16:24:23 +02:00
Tristan B. Velloza Kildaire a6262c9559 Fixed assignees names for issues 2022-11-06 13:27:57 +02:00
Tristan B. Velloza Kildaire 22f921b668 Added issues support 2022-11-06 12:23:25 +02:00
Tristan B. Velloza Kildaire 43ee3c81ce Added initial working code 2022-11-06 12:09:15 +02:00