James Lu
06e00beea6
OperUp: write tried_oper flag to irc.state, as attributes under irc are not persistant
2017-11-22 23:58:00 -08:00
James Lu
8c0b8d91a1
OperUp: don't try to autooper multiple times
...
This fixes an infinite loop when receiving OPERMOTDs that use the regular MOTD numerics (e.g. on InspIRCd).
2017-11-22 09:26:05 -08:00
James Lu
6fdcdefca6
OperUp: cleanup and reindent
2017-11-21 11:53:32 -08:00
James Lu
4081afc999
OperUp: remove 461 handler
...
ERR_NEEDMOREPARAMS is very general and can be triggered by other commands too.
2017-11-21 11:47:30 -08:00
James Lu
6dc362041c
OperUp: fix wrong numeric in do464 logging
2017-11-21 11:46:05 -08:00
James Lu
4b5795b9ce
OperUp: remove extraneous numeric 377 handler
...
The only MOTD-related usage of this is deprecated according to http://defs.ircdocs.horse/defs/numerics.html#rpl-kickexpired-377
2017-11-21 11:42:25 -08:00
James Lu
f25afcca35
TranslateParty: tweak testcase output logging
2017-11-12 01:39:28 -08:00
James Lu
d147207ad1
Wikifetch: ignore GPS coordinates from articles for countries, etc.
2017-11-12 01:39:28 -08:00
James Lu
d000140891
Wikifetch: roughly sort Wikipedia tests by theme
2017-11-12 01:39:28 -08:00
James Lu
ddc92142a2
TranslateParty: strip formatting before translating, not after...
...
Really fixes #60 .
2017-11-12 01:39:28 -08:00
James Lu
afabf73705
NoTrigger: prepend, not append
...
[skip ci]
2017-11-10 10:01:19 -08:00
James Lu
e471a02cd4
NoTrigger: cleanup readme
...
[skip ci]
2017-11-10 09:58:23 -08:00
James Lu
d4e75618d6
TranslateParty: clean up tests
...
- Remove reference to "WTE"
- Remove Python 2 check.
2017-11-09 09:20:57 -08:00
James Lu
9378aca10f
Weather: rewrite 'setweather' help for clarity
2017-11-02 20:20:26 -07:00
James Lu
bdb7d70185
PkgInfo: refresh Ubuntu and Mint codenames
2017-10-24 07:24:27 -07:00
James Lu
e32223bb66
Weather: omit the Alerts line completely if none are available
...
This is otherwise just spam...
2017-10-23 19:46:44 -07:00
James Lu
a66555dedf
PkgInfo: update command help on most commands
2017-09-10 01:07:43 -07:00
James Lu
2c69e99299
PkgInfo: remove the Fedora fetcher
...
Fedora's PkgDB has been decommissioned, and the new PDC backend doesn't have a usable API yet for our purposes.
Specifically, the PDC API does not support sorting packages from oldest to newest, and we don't have a way to navigate its pages of results without making excessive API calls.
Possibly related: https://github.com/product-definition-center/product-definition-center/issues/439
2017-09-10 00:37:51 -07:00
James Lu
7f2110ee24
PkgInfo: remove old distro-specific functions, update tests ( #64 )
2017-09-10 00:35:53 -07:00
James Lu
fb5be74e35
PkgInfo: fix TypeError on 'pkg arch'
2017-09-10 00:34:42 -07:00
James Lu
e994064cc7
PkgInfo: general cleanup
2017-09-10 00:15:46 -07:00
James Lu
f7049ef484
PkgInfo: make private internal functions
2017-09-10 00:11:45 -07:00
James Lu
790f68e2b8
PkgInfo: clean up code for MadisonParser
2017-09-10 00:08:19 -07:00
James Lu
0955fe4c13
PkgInfo: fix IndexError when a message only contains spaces
2017-09-09 23:50:48 -07:00
James Lu
400ffd7899
Wikifetch: fix quote_plus import
2017-09-07 19:20:21 -07:00
James Lu
f45cb0d5e7
PkgInfo: add 'pkgsearch' support for FreeBSD, Linux Mint
2017-09-04 16:50:27 -07:00
James Lu
d41178dd09
PkgInfo: Implement arch, archaur support in pkgsearch ( #64 )
2017-09-04 16:44:49 -07:00
James Lu
a3e0b16d82
PkgInfo: abstract pkgsearch into fetcher backends ( #64 )
2017-09-04 16:33:58 -07:00
James Lu
a7ad22cdbc
PkgInfo: verify the output type from fetcher functions
2017-09-04 15:48:52 -07:00
James Lu
31ea5ebde6
PkgInfo: add 'pkg freebsd' support ( #64 )
2017-09-04 14:47:27 -07:00
James Lu
771070f6c4
PkgInfo: throw an error when using 'pkg mint --depends' (not implemented)
2017-09-04 14:47:12 -07:00
James Lu
767d3ac762
.travis: remove broken pypy3, nightly branches
2017-09-01 18:43:26 -07:00
James Lu
c4b858e02d
.travis: remove Python 2 pypy from master as well
2017-09-01 18:42:38 -07:00
James Lu
c9bcbbb934
SedRegex: remove compatibility workaround for Python 2.7.6 and lower
2017-09-01 18:19:19 -07:00
James Lu
7579498692
PkgInfo: fix tests
2017-09-01 18:12:04 -07:00
James Lu
604da3e358
.travis.yml: remove Python 2.7 from the master branch
2017-09-01 18:09:44 -07:00
James Lu
6011742299
Wikifetch: remove Python 2 compatibility code
2017-09-01 18:09:19 -07:00
James Lu
08d8f48db5
Wikifetch: refactor text fetching, fix listing disambig results
2017-09-01 18:04:20 -07:00
James Lu
9986babd2e
Wikifetch: strip inline notes in the form "text[note 1]" from IRC
2017-09-01 18:02:52 -07:00
James Lu
199da6e851
Officially drop Python 2 support in the master branch [skip ci]
2017-08-24 19:09:33 -07:00
James Lu
8574da46b1
PkgInfo: fix __bulitins__ access on Python 2.x?
2017-07-16 07:43:36 -07:00
James Lu
4452e5af4f
Weather: fix last-updated time parsing on values such as "just now"
2017-07-16 06:53:11 -07:00
James Lu
ec2b16f650
Merge branch 'wip/pkginfo-next'
2017-07-16 06:52:55 -07:00
James Lu
0c82f3f4aa
PkgInfo: merge Fedora and Linux Mint support into 'package'
2017-07-06 13:58:37 -07:00
James Lu
75f89cdf6e
PortLookup: don't show notes fields marked as ?
2017-07-02 11:53:23 -07:00
James Lu
bc9b1e9e58
PkgInfo: add 'pkg aur <package>' fetcher
2017-06-24 12:38:18 -07:00
James Lu
3d3855c342
PkgInfo.debian_fetcher: fix parsing OR dependencies and unavailable packages
2017-06-24 12:24:08 -07:00
James Lu
ea2c6b0030
PkgInfo: consistently drop colons from _get_dependency_color
2017-06-24 12:09:03 -07:00
James Lu
743545c41d
PkgInfo: flag outdated versions in arch_fetcher as red
2017-06-24 00:27:59 -07:00
James Lu
4a1f670795
PkgInfo: implement --depends support for arch_fetcher
2017-06-24 00:13:31 -07:00