Success

User tests: Successful: Unsuccessful:

avatar elkuku
elkuku
15 Aug 2015

As discussed here: #692 (comment)

This will add

  • an onItemAfterSave and an onItemAfterSubmit event
  • a JoomlacmsItemsListener event listener

Note that this will modify the feature added in #667.
It should be possible now to have changes to an item reflected to GitHub without the need for a comment ?

To test

  • change the status for an issue to 'RTC' while editing on jissues
  • check that the 'RTC' label is added to the issue on GitHub.

Obviously JBS testing depends on previous merging and deploying...

Depends on #694.

avatar elkuku elkuku - open - 15 Aug 2015
avatar elkuku elkuku - change - 15 Aug 2015
Title
JoomlacmsTestsListener
JoomlacmsItemsListener
avatar b2z
b2z - comment - 29 Aug 2015

Can we use a Trait for setProjectGitHubBot ?

avatar elkuku
elkuku - comment - 29 Aug 2015

Can we use a Trait for setProjectGitHubBot ?

Maybe, I'm not sure..

What if we add a new method to the GitHubFactory class that returns a project bot or an error?

I believe there are several instances in the current code that could use this functionality.

avatar elkuku
elkuku - comment - 30 Aug 2015

Should we use a GitHubAwareTrait that might go into the base controller?
Could we implement this in another PR?..

avatar b2z
b2z - comment - 27 Sep 2015

Ok I've switched my test server to this PR.

avatar zero-24
zero-24 - comment - 5 Oct 2015

@b2z

Ok I've switched my test server to this PR.

Can you add me? ;) I have no access to edit and item there ;)

avatar zero-24
zero-24 - comment - 5 Oct 2015

Ok for the jissues-test repo i have access. But on saving a item i get a blank page?

avatar zero-24
zero-24 - comment - 5 Oct 2015

@elkuku

Do you expect to rename the listener? (JoomlacmsCommentsListener.php → JoomlacmsItemsListener.php)
But not: the: ReceiveCommentsHook? (https://github.com/joomla/jissues/blob/item-events/src/App/Tracker/Controller/Hooks/ReceiveCommentsHook.php)

avatar b2z
b2z - comment - 5 Oct 2015

Ok for the jissues-test repo i have access. But on saving a item i get a blank page?

An error is for Save controller which calls undefined method addEventListener:
$this->addEventListener('items');

avatar b2z
b2z - comment - 13 Mar 2016

@elkuku will you continue to work on it?

avatar elkuku elkuku - change - 29 Mar 2017
The description was changed
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-03-29 17:32:55
Closed_By elkuku
avatar elkuku elkuku - close - 29 Mar 2017
avatar elkuku elkuku - close - 29 Mar 2017
avatar elkuku elkuku - head_ref_deleted - 24 Jun 2018

Add a Comment

Login with GitHub to post a comment