forked from cslant/laravel-telegram-git-notifier
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request cslant#31 from cslant/feature/view_template
Feature/view template
- Loading branch information
Showing
64 changed files
with
685 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?php | ||
|
||
return [ | ||
'by' => 'by', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
return [ | ||
'issue_comment_title' => 'π’', | ||
'created' => [ | ||
'title' => 'π¬ <b>New Issue Comment</b> β οΈ to π¦ :issue by :user', | ||
], | ||
'deleted' => [ | ||
'title' => 'π <b>Issue Comment Deleted</b> π¬ from π¦ :issue by :user', | ||
], | ||
'edited' => [ | ||
'title' => 'π <b>Issue Comment Edited</b> π¬ in π¦ :issue by :user', | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<?php | ||
|
||
return [ | ||
'issue_title' => 'π’', | ||
'closed' => [ | ||
'title' => 'π« <b>Issue Closed </b> to π¦ :issue by :user', | ||
], | ||
'deleted' => [ | ||
'title' => 'π <b>Issue Deleted</b> form π¦ :issue by :user', | ||
], | ||
'edited' => [ | ||
'title' => 'β οΈ <b>Issue has been edited</b> to π¦ :issue by :user', | ||
'changes' => [ | ||
'title' => [ | ||
'name' => 'π <b>Title</b> has been changed', | ||
'from' => 'π <b>From:</b> :title_from', | ||
'to' => 'π· <b>To:</b> :title_to', | ||
], | ||
'body' => [ | ||
'title' => 'π <b>Body</b> has been changed', | ||
'message' => 'Please check the issue for more details', | ||
], | ||
], | ||
], | ||
'locked' => [ | ||
'title' => 'π <b>Issue Locked</b> form π¦ :issue by :user', | ||
], | ||
'opened' => [ | ||
'title' => 'β οΈ <b>New Issue</b> to π¦ :issue by :user', | ||
], | ||
'pinned' => [ | ||
'title' => 'π <b>Issue Pinned</b> form π¦ :issue by :user', | ||
], | ||
'reopened' => [ | ||
'title' => 'β οΈ <b>Issue has been reopened</b> β οΈ to π¦ :issue by :user', | ||
], | ||
'unlocked' => [ | ||
'title' => 'π <b>Issue Unlocked</b> form π¦ :issue by :user', | ||
], | ||
'unpinned' => [ | ||
'title' => 'π <b>Issue Unpinned</b> form π¦ :issue by :user', | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
|
||
return [ | ||
'default' => [ | ||
'title' => 'β»οΈ <b>Connection Successful</b>', | ||
'organization' => 'π’ Organization: <b>:organization</b>', | ||
'full_name' => 'π¦ Repository: π¦<b>:full_name</b>', | ||
'sender' => 'π€ Sender (triggered the event): <b>:sender</b>', | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
|
||
return [ | ||
'review' => 'π₯ Reviewers: ', | ||
'closed' => [ | ||
'title' => ':title - π¦:issue by :user', | ||
'title_merged' => 'β <b>Pull Request Merged</b>', | ||
'title_closed' => 'β <b>Pull Request Closed</b>', | ||
], | ||
'opened' => [ | ||
'title' => 'π·ββοΈπ οΈ <b>New Pull Request</b> - π¦:issue by :user', | ||
], | ||
'reopened' => [ | ||
'title' => 'π·ββοΈπ οΈ <b>Reopened Pull Request</b> - π¦:issue by :user', | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
|
||
return [ | ||
'dismissed' => [ | ||
'title' => 'π·ββοΈπ οΈ <b>Dismissed Pull Request Review Comment</b> π¬ - π¦:issue by :user', | ||
], | ||
'submitted' => [ | ||
'title' => 'π·ββοΈβπ οΈ <b>New Pull Request Review Comment</b> π¬ - π¦:issue by :user', | ||
], | ||
'link' => 'π Link: :review', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
|
||
return [ | ||
'default' => [ | ||
'title' => 'π·βοΈ <b>:count</b> new :noun to π¦<b>:user:<code>:branch</code></b>', | ||
'commit' => ':commit: :commit_message - by <i>:commit_name</i>', | ||
'pushed' => 'π€ Pushed by : <b>:name</b>', | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?php | ||
|
||
return [ | ||
'started' => [ | ||
'title' => 'π <b>New Started</b> form π¦:user', | ||
'watcher' => 'π€ Watcher: <b>:sender_login</b> π', | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
return [ | ||
'completed' => [ | ||
'completed' => 'π <b>Action Completed</b> form :user', | ||
'done' => 'Done action: π <b>:runner_name</b> β¨', | ||
|
||
'canceled' => 'π« <b>Canceled Action</b> form π¦:user', | ||
'failed' => 'Failed action: π« <b>:runner_name</b> β', | ||
], | ||
'in_progress' => [ | ||
'progress' => 'π§ <b>Action in progress</b> formπ¦:user', | ||
'running' => 'Running action: π₯ <b>:runner_name</b> β³', | ||
], | ||
'queued' => [ | ||
'title' => ' <b>Action Queued</b> form π¦:user', | ||
'body' => 'Queued action: π₯ <b>:runner_name</b> β°', | ||
], | ||
'link' => 'π Workflow job link: :link', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?php | ||
|
||
return [ | ||
'completed' => [ | ||
'success' => [ | ||
'title' => 'π <b>Workflow Completed</b> form π¦ :user', | ||
'body' => 'Done workflow: π <b>:name</b> β¨ ', | ||
], | ||
'failure' => [ | ||
'title' => 'π« <b>Workflow Failed</b> form π¦:user', | ||
'body' => 'Failed workflow: π« <b>:name</b> β', | ||
], | ||
'cancelled' => [ | ||
'title' => 'β <b>Workflow Cancelled</b> form π¦ :user', | ||
'body' => 'Cancelled workflow: π¨ <b>:name</b> β ', | ||
], | ||
'default' => [ | ||
'title' => "π¨ <b>Workflow Can't Success</b> form π¦:user", | ||
'body' => "Can't Success workflow: π¨ <b>:name</b> β", | ||
], | ||
], | ||
'requested' => [ | ||
'title' => ' <b>Workflow Requested</b> form π¦:user', | ||
'body' => 'Running workflow: π₯ <b>:name</b> β³', | ||
], | ||
'link' => 'π Link: :link', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
|
||
return [ | ||
'_body' => [ | ||
'title' => 'π <b>Content:</b>', | ||
], | ||
'_assignee' => [ | ||
'title' => 'π Assignee: ', | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
|
||
return [ | ||
'dismissed' => [ | ||
'title' => 'π·ββοΈπ οΈ <b>Dismissed Pull Request Review Comment</b> π¬ - π¦:issue by :user', | ||
], | ||
'submitted' => [ | ||
'title' => 'π·ββοΈβπ οΈ <b>New Pull Request Review Comment</b> π¬ - π¦:issue by :user', | ||
], | ||
'link' => 'π Link: :review', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
|
||
return [ | ||
'default' => [ | ||
'title' => 'π·βοΈ <b>:count</b> new :noun to π¦<b>:user:<code>:branch</code></b>', | ||
'commit' => ':commit: :commit_message - by <i>:commit_name</i>', | ||
'pushed' => 'π€ Pushed by : <b>:name</b>', | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?php | ||
|
||
return [ | ||
'started' => [ | ||
'title' => 'π <b>New Started</b> form π¦:user', | ||
'watcher' => 'π€ Watcher: <b>:sender_login</b> π', | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
return [ | ||
'completed' => [ | ||
'completed' => 'π <b>Action Completed</b> form :user', | ||
'done' => 'Done action: π <b>:runner_name</b> β¨', | ||
|
||
'canceled' => 'π« <b>Canceled Action</b> form π¦:user', | ||
'failed' => 'Failed action: π« <b>:runner_name</b> β', | ||
], | ||
'in_progress' => [ | ||
'progress' => 'π§ <b>Action in progress</b> formπ¦:user', | ||
'running' => 'Running action: π₯ <b>:runner_name</b> β³', | ||
], | ||
'queued' => [ | ||
'title' => ' <b>Action Queued</b> form π¦:user', | ||
'body' => 'Queued action: π₯ <b>:runner_name</b> β°', | ||
], | ||
'link' => 'π Workflow job link: :link', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?php | ||
|
||
return [ | ||
'completed' => [ | ||
'success' => [ | ||
'title' => 'π <b>Workflow Completed</b> form π¦ :user', | ||
'body' => 'Done workflow: π <b>:name</b> β¨ ', | ||
], | ||
'failure' => [ | ||
'title' => 'π« <b>Workflow Failed</b> form π¦:user', | ||
'body' => 'Failed workflow: π« <b>:name</b> β', | ||
], | ||
'cancelled' => [ | ||
'title' => 'β <b>Workflow Cancelled</b> form π¦ :user', | ||
'body' => 'Cancelled workflow: π¨ <b>:name</b> β ', | ||
], | ||
'default' => [ | ||
'title' => "π¨ <b>Workflow Can't Success</b> form π¦:user", | ||
'body' => "Can't Success workflow: π¨ <b>:name</b> β", | ||
], | ||
], | ||
'requested' => [ | ||
'title' => ' <b>Workflow Requested</b> form π¦:user', | ||
'body' => 'Running workflow: π₯ <b>:name</b> β³', | ||
], | ||
'link' => 'π Link: :link', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?php | ||
|
||
return [ | ||
'by' => 'by', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
return [ | ||
'issue_comment_title' => 'π’', | ||
'created' => [ | ||
'title' => 'π¬ <b>New Issue Comment</b> β οΈ to π¦ :issue by :user', | ||
], | ||
'deleted' => [ | ||
'title' => 'π <b>Issue Comment Deleted</b> π¬ from π¦ :issue by :user', | ||
], | ||
'edited' => [ | ||
'title' => 'π <b>Issue Comment Edited</b> π¬ in π¦ :issue by :user', | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<?php | ||
|
||
return [ | ||
'issue_title' => 'π’', | ||
'closed' => [ | ||
'title' => 'π« <b>Issue Closed </b> to π¦ :issue by :user', | ||
], | ||
'deleted' => [ | ||
'title' => 'π <b>Issue Deleted</b> form π¦ :issue by :user', | ||
], | ||
'edited' => [ | ||
'title' => 'β οΈ <b>Issue has been edited</b> to π¦ :issue by :user', | ||
'changes' => [ | ||
'title' => [ | ||
'name' => 'π <b>Title</b> has been changed', | ||
'from' => 'π <b>From:</b> :title_from', | ||
'to' => 'π· <b>To:</b> :title_to', | ||
], | ||
'body' => [ | ||
'title' => 'π <b>Body</b> has been changed', | ||
'message' => 'Please check the issue for more details', | ||
], | ||
], | ||
], | ||
'locked' => [ | ||
'title' => 'π <b>Issue Locked</b> form π¦ :issue by :user', | ||
], | ||
'opened' => [ | ||
'title' => 'β οΈ <b>New Issue</b> to π¦ :issue by :user', | ||
], | ||
'pinned' => [ | ||
'title' => 'π <b>Issue Pinned</b> form π¦ :issue by :user', | ||
], | ||
'reopened' => [ | ||
'title' => 'β οΈ <b>Issue has been reopened</b> β οΈ to π¦ :issue by :user', | ||
], | ||
'unlocked' => [ | ||
'title' => 'π <b>Issue Unlocked</b> form π¦ :issue by :user', | ||
], | ||
'unpinned' => [ | ||
'title' => 'π <b>Issue Unpinned</b> form π¦ :issue by :user', | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
|
||
return [ | ||
'default' => [ | ||
'title' => 'β»οΈ <b>Connection Successful</b>', | ||
'organization' => 'π’ Organization: <b>:organization</b>', | ||
'full_name' => 'π¦ Repository: π¦<b>:full_name</b>', | ||
'sender' => 'π€ Sender (triggered the event): <b>:sender</b>', | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
|
||
return [ | ||
'review' => 'π₯ Reviewers: ', | ||
'closed' => [ | ||
'title' => ':title - π¦:issue by :user', | ||
'title_merged' => 'β <b>Pull Request Merged</b>', | ||
'title_closed' => 'β <b>Pull Request Closed</b>', | ||
], | ||
'opened' => [ | ||
'title' => 'π·ββοΈπ οΈ <b>New Pull Request</b> - π¦:issue by :user', | ||
], | ||
'reopened' => [ | ||
'title' => 'π·ββοΈπ οΈ <b>Reopened Pull Request</b> - π¦:issue by :user', | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
|
||
return [ | ||
'dismissed' => [ | ||
'title' => 'π·ββοΈπ οΈ <b>Dismissed Pull Request Review Comment</b> π¬ - π¦:issue by :user', | ||
], | ||
'submitted' => [ | ||
'title' => 'π·ββοΈβπ οΈ <b>New Pull Request Review Comment</b> π¬ - π¦:issue by :user', | ||
], | ||
'link' => 'π Link: :review', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
|
||
return [ | ||
'default' => [ | ||
'title' => 'π·βοΈ <b>:count</b> new :noun to π¦<b>:user:<code>:branch</code></b>', | ||
'commit' => ':commit: :commit_message - by <i>:commit_name</i>', | ||
'pushed' => 'π€ Pushed by : <b>:name</b>', | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?php | ||
|
||
return [ | ||
'started' => [ | ||
'title' => 'π <b>New Started</b> form π¦:user', | ||
'watcher' => 'π€ Watcher: <b>:sender_login</b> π', | ||
], | ||
]; |
Oops, something went wrong.