Cygnus issueshttps://gitlab.wmflabs.org/Cygnus/Cygnus/-/issues2018-06-16T23:59:02Zhttps://gitlab.wmflabs.org/Cygnus/Cygnus/-/issues/84Get created pages2018-06-16T23:59:02ZLuke081515luke081515@tools.wmflabs.orgGet created pagesWe should make the bot able to get the list of user contribs. For version 2.1 I will start with created pages.We should make the bot able to get the list of user contribs. For version 2.1 I will start with created pages.Version 2.1Luke081515luke081515@tools.wmflabs.orgLuke081515luke081515@tools.wmflabs.orghttps://gitlab.wmflabs.org/Cygnus/Cygnus/-/issues/59Add functions to DBCore2018-06-11T09:29:51ZFreddyAdd functions to DBCoreSome functions for DBCoreSome functions for DBCoreVersion 2.2FreddyFreddyhttps://gitlab.wmflabs.org/Cygnus/Cygnus/-/issues/97Take assert to the password2018-06-11T09:29:31ZLuke081515luke081515@tools.wmflabs.orgTake assert to the passwordMost accounts have a botflag or not, so it would be useful to set the assert value with the account credentials in Password.phpMost accounts have a botflag or not, so it would be useful to set the assert value with the account credentials in Password.phpVersion 2.2https://gitlab.wmflabs.org/Cygnus/Cygnus/-/issues/98Ensure user is logged in2018-06-11T09:29:21ZLuke081515luke081515@tools.wmflabs.orgEnsure user is logged inEnsure that the user is still logged in, or do a relogin.Ensure that the user is still logged in, or do a relogin.Version 2.2https://gitlab.wmflabs.org/Cygnus/Cygnus/-/issues/1Translate the documentation2018-06-10T00:27:13ZLuke081515luke081515@tools.wmflabs.orgTranslate the documentationThe documentation of BotCore and other files should get translated into english, so that non-german people can understand Cygnus as easily as germans currently. This depends on a decision before that framework was named Cygnus, so time to change it.The documentation of BotCore and other files should get translated into english, so that non-german people can understand Cygnus as easily as germans currently. This depends on a decision before that framework was named Cygnus, so time to change it.Version 2.1Luke081515luke081515@tools.wmflabs.orgLuke081515luke081515@tools.wmflabs.orghttps://gitlab.wmflabs.org/Cygnus/Cygnus/-/issues/96Add a space to ask2018-03-31T16:42:50ZLuke081515luke081515@tools.wmflabs.orgAdd a space to askIt would be useful, now that people needs to change from askOperator to ask anyway, to add a space in ask to the end of the msg by default, since you don't want to have the input directly after your question.It would be useful, now that people needs to change from askOperator to ask anyway, to add a space in ask to the end of the msg by default, since you don't want to have the input directly after your question.Version 2.1Luke081515luke081515@tools.wmflabs.orgLuke081515luke081515@tools.wmflabs.orghttps://gitlab.wmflabs.org/Cygnus/Cygnus/-/issues/85Move echo to Core2018-03-28T21:49:04ZLuke081515luke081515@tools.wmflabs.orgMove echo to CoreDebug.php contains some echo functions which are ensuring that a definied set of colors is used in console, this makes it easier for the user to see what the script wants etc.
Do you think it would be useful to move that to core? then script writer can use that as well.Debug.php contains some echo functions which are ensuring that a definied set of colors is used in console, this makes it easier for the user to see what the script wants etc.
Do you think it would be useful to move that to core? then script writer can use that as well.Version 2.1Luke081515luke081515@tools.wmflabs.orgLuke081515luke081515@tools.wmflabs.orghttps://gitlab.wmflabs.org/Cygnus/Cygnus/-/issues/94Debug: autodetect if output is an array2018-03-09T20:03:29ZLuke081515luke081515@tools.wmflabs.orgDebug: autodetect if output is an arrayThis should be done automatically, since some functions also return mixed results.This should be done automatically, since some functions also return mixed results.Version 2.1Luke081515luke081515@tools.wmflabs.orgLuke081515luke081515@tools.wmflabs.orghttps://gitlab.wmflabs.org/Cygnus/Cygnus/-/issues/77Remove ununsed vars2018-02-11T14:55:28ZLuke081515luke081515@tools.wmflabs.orgRemove ununsed varsOften there are action like this:
```php
$result = $this->ApiRequest();
$resultUs = unserialize($result);
```
$result gets then not used again, but consumes ram. This should get removed.Often there are action like this:
```php
$result = $this->ApiRequest();
$resultUs = unserialize($result);
```
$result gets then not used again, but consumes ram. This should get removed.Version 2.1Luke081515luke081515@tools.wmflabs.orgLuke081515luke081515@tools.wmflabs.orghttps://gitlab.wmflabs.org/Cygnus/Cygnus/-/issues/11New user-related commands suggestion2018-02-11T12:08:02ZJohn SmithNew user-related commands suggestion* [x] check if the user exists => !14
* [x] check if the user is blocked => !17
* [x] check the user's editcount => !15
* [x] check the user rights of the user => !16
* [x] check if user is a IP => there is no way to check this via the API, you can check if there is user with that name, otherwise it's an IP. That should work.
* [x] not totally sure, check https://github.com/alexz-enwp/wikitools/blob/master/wikitools/user.py#L47 => see discussion
* [x] get the user's talk page => declined, see discussion
* [x] block the user (already available)
* [x] unblock the user (already available)* [x] check if the user exists => !14
* [x] check if the user is blocked => !17
* [x] check the user's editcount => !15
* [x] check the user rights of the user => !16
* [x] check if user is a IP => there is no way to check this via the API, you can check if there is user with that name, otherwise it's an IP. That should work.
* [x] not totally sure, check https://github.com/alexz-enwp/wikitools/blob/master/wikitools/user.py#L47 => see discussion
* [x] get the user's talk page => declined, see discussion
* [x] block the user (already available)
* [x] unblock the user (already available)Version 2.1Luke081515luke081515@tools.wmflabs.orgLuke081515luke081515@tools.wmflabs.orghttps://gitlab.wmflabs.org/Cygnus/Cygnus/-/issues/90Check if a username looks like an IP2018-02-11T12:08:01ZLuke081515luke081515@tools.wmflabs.orgCheck if a username looks like an IPSee https://gitlab.wmflabs.org/Cygnus/Cygnus/issues/11#note_854See https://gitlab.wmflabs.org/Cygnus/Cygnus/issues/11#note_854Version 2.2https://gitlab.wmflabs.org/Cygnus/Cygnus/-/issues/61Implement action "patrol"2018-02-11T12:06:21ZLuke081515luke081515@tools.wmflabs.orgImplement action "patrol"It should be possible to patrol a page, since we already have flaggedrefs included.It should be possible to patrol a page, since we already have flaggedrefs included.Version 2.1Luke081515luke081515@tools.wmflabs.orgLuke081515luke081515@tools.wmflabs.orghttps://gitlab.wmflabs.org/Cygnus/Cygnus/-/issues/80Change return format of patrol and rollback2018-02-11T12:06:21ZLuke081515luke081515@tools.wmflabs.orgChange return format of patrol and rollbackBoth are using a mix of strings etc, but they can use more simple values, which are taking less ressources to compare later. These methods where introduced in the current alpha, so changing it is no breaking change.Both are using a mix of strings etc, but they can use more simple values, which are taking less ressources to compare later. These methods where introduced in the current alpha, so changing it is no breaking change.Version 2.1Luke081515luke081515@tools.wmflabs.orgLuke081515luke081515@tools.wmflabs.orghttps://gitlab.wmflabs.org/Cygnus/Cygnus/-/issues/76Use identical var names at API-Requests2018-01-31T21:36:41ZLuke081515luke081515@tools.wmflabs.orgUse identical var names at API-RequestsWhen fetching the API results, the same varname scheme should get used. This should get checked.When fetching the API results, the same varname scheme should get used. This should get checked.Version 2.1Luke081515luke081515@tools.wmflabs.orgLuke081515luke081515@tools.wmflabs.orghttps://gitlab.wmflabs.org/Cygnus/Cygnus/-/issues/67Debug: let the user retry2018-01-31T21:36:41ZLuke081515luke081515@tools.wmflabs.orgDebug: let the user retryIf you need to specify the function to debug, and you mistyped it, it would be useful if you can try it again without needing to relogin.If you need to specify the function to debug, and you mistyped it, it would be useful if you can try it again without needing to relogin.Version 2.1Luke081515luke081515@tools.wmflabs.orgLuke081515luke081515@tools.wmflabs.orghttps://gitlab.wmflabs.org/Cygnus/Cygnus/-/issues/70ban goto2018-01-31T21:36:40ZLuke081515luke081515@tools.wmflabs.orgban gotoIt would be useful to ban this not so good piece of coding, which is only used at some places.It would be useful to ban this not so good piece of coding, which is only used at some places.Version 2.1Luke081515luke081515@tools.wmflabs.orgLuke081515luke081515@tools.wmflabs.orghttps://gitlab.wmflabs.org/Cygnus/Cygnus/-/issues/20Move API path to Password.php2018-01-31T21:36:40ZFreddyMove API path to Password.phpThe path to API (usually w/api.php) should be set in Password.php because it may differ on some wikis i.e. Wikia projectsThe path to API (usually w/api.php) should be set in Password.php because it may differ on some wikis i.e. Wikia projectsVersion 2.1FreddyFreddyhttps://gitlab.wmflabs.org/Cygnus/Cygnus/-/issues/33make the bot able to read/write from wikibase2018-01-30T22:29:41ZLuke081515luke081515@tools.wmflabs.orgmake the bot able to read/write from wikibaseoriginally from https://rcm-2.wmflabs.org/T905
The bot should be able to interact with wikibase. Not sure if we should insert that into BotCore or write a seperate class.originally from https://rcm-2.wmflabs.org/T905
The bot should be able to interact with wikibase. Not sure if we should insert that into BotCore or write a seperate class.FreddyFreddyhttps://gitlab.wmflabs.org/Cygnus/Cygnus/-/issues/57Implement system to show API-Warnings2018-01-30T22:28:03ZLuke081515luke081515@tools.wmflabs.orgImplement system to show API-WarningsIf there are API warnings these should get shown to the user. Currently these warnings are not handeled.If there are API warnings these should get shown to the user. Currently these warnings are not handeled.Version 2.1Luke081515luke081515@tools.wmflabs.orgLuke081515luke081515@tools.wmflabs.orghttps://gitlab.wmflabs.org/Cygnus/Cygnus/-/issues/75Put generic API-params in a function2018-01-30T12:43:13ZLuke081515luke081515@tools.wmflabs.orgPut generic API-params in a functionEach function needs maxlag. Each function needs assert, or at least most. It would be nice if we can put this to a function that get called on each api-call.Each function needs maxlag. Each function needs assert, or at least most. It would be nice if we can put this to a function that get called on each api-call.Version 2.2Luke081515luke081515@tools.wmflabs.orgLuke081515luke081515@tools.wmflabs.org