Commit Graph

120 Commits

Author SHA1 Message Date
classabbyamp 86ab415619 Merge pull request #346 from franrogers/master
Validate inputs for ?ae7q and ?qrz commands
2021-03-06 23:41:37 -05:00
Abigail G 4d64d22ec6 add emojis, question mark, and changelog
fixes #347
2021-03-06 23:38:28 -05:00
Abigail G d7e544edcd hamstudy improvements
- added orange colour for timeouts
- added emojis in the last field
- made the correct answer bold after answering/timeout
- minor code optimisations
2021-02-28 01:51:19 -05:00
Fran Rogers 483a0bad19 Use str.isalnum and str.isdecimal instead of re.match for ?ae7q and ?qrz input validation 2021-01-29 23:43:30 -05:00
Fran Rogers 4ab4748b9f Validate inputs for ?ae7q and ?qrz commands 2021-01-29 22:55:26 -05:00
classabbyamp eb98e295d2 add git commit to info output (#342)
fixes #341
2021-01-25 17:25:26 -05:00
classabbyamp 6dfc05217f add the ability to select an element to hamstudy (#344)
fixes #208
2021-01-25 17:24:45 -05:00
classabbyamp b091b22c17 add resources contrib info to ?info, ?issue, and readme (#343)
fixes #307
2021-01-25 17:24:13 -05:00
classabbyamp 43a24d614b add METAR and TAF commands (#340)
fixes #171
2021-01-20 02:48:38 -05:00
0x5c ac183a3e7f Fixed ?greyline caching (set date url param)
Fixed #318
2021-01-18 00:28:16 -05:00
0x5c a25597ec82 Merge pull request #334 from miaowware/cleansessions
Cleaned-up usused aiohttp sessions
2021-01-18 00:08:46 -05:00
0x5c 010e161a46 Removed unused aiohttp import in weather.py 2021-01-18 00:06:11 -05:00
0x5c afe95b912b Cleaned-up usused aiohttp sessions
Fixes #317
2021-01-18 00:03:15 -05:00
0x5c 6092252eaa Renamed ?cond to ?solar
- Deprecated old name and aliases.

Fixes #324
2021-01-17 23:55:23 -05:00
0x5c 3eb6d8b12b Merge pull request #330 from miaowware/map
Added MUF and foF2 maps
2021-01-17 22:38:21 -05:00
0x5c 6c5133f140 Added MUF and foF2 maps
Fixes #311
2021-01-17 22:35:33 -05:00
classabbyamp a93aafaa96 convert GridCog to use gridtools (#326)
* deprecated ?ungrid
* added more help text to commands
* separated distance into its own command

fixes #306
2020-12-22 20:40:24 -05:00
0x5c ad96b59b23 Changed the greyline colour theme
Fixes #316
2020-12-11 11:31:11 -05:00
0x5c eba8eec5ac Add nonce to greyline URL to force cache bypass
Fixes #308
2020-12-10 17:38:10 -05:00
0x5c cd2503c953 Merge pull request #300 from miaowware/paths
Moved paths to pathlib
2020-10-30 08:58:16 -04:00
0x5c 77a5af73bc Merge pull request #297 from miaowware/no-dl
Switch to sending an URL instead of fetching images
2020-10-30 08:57:44 -04:00
0x5c d8fe3cfa02 Yes, this is a PR to remove a newline
Yes, I have OCD

Yes, I made an issue just for that too
Fixes #299
2020-10-30 07:18:58 -04:00
0x5c ffc3be7e24 Moved paths to pathlib
Turns out most paths were already using pathlib, only remained
some in lookup.py and fun.py

Fixes #45
2020-10-30 07:07:56 -04:00
0x5c e660b1a8f5 Switch to sending an URL instead of fetching images
This only applies to images that were downloaded.
Images that are hosted in the bot are not affected.

Fixes #230
Fixes #295
2020-10-30 05:22:16 -04:00
classabbyamp 77e14a109c convert Unit into a dataclass, move parse to converter (#257)
fixes #256
2020-10-28 21:06:30 -04:00
classabbyamp f26a7af928 fixed qsl/lotw status being incorrectly shown (#278)
fixes #277
2020-10-28 21:03:41 -04:00
classabbyamp 77b572eb3e add a decibel conversion command (#250)
fixes #231
2020-09-27 17:52:52 -04:00
classabbyamp 488ae6cc98 fix displaying multiple prefixes, add option to display ?help in status (#249)
* fix displaying multiple prefixes, add option to display ?help in status
Fixes #229

Co-authored-by: 0x5c <dev@0x5c.io>
2020-09-27 16:36:39 -04:00
classabbyamp 756a15c4c5 added ?worksplit command (#247)
fixes #233
2020-09-27 16:07:21 -04:00
classabbyamp b462527211 add canadian callsign info, improve the prefix info data system
fixes #243
2020-09-24 19:02:12 -04:00
Abigail Gold 2cb4b03532 add phonetic weight command (#215)
Fixes #170

Co-authored-by: 0x5c <dev@0x5c.io>
2020-03-30 18:56:29 -04:00
Abigail Gold bc93462c29 convert all OrderedDicts to dictionaries (#214)
Fixes #184

Co-authored-by: 0x5c <dev@0x5c.io>
2020-03-30 18:54:33 -04:00
Abigail Gold 6867c45c8c add ?standards command for xkcd 927 (#213)
Fixes #187
2020-03-30 18:24:50 -04:00
Abigail Gold 8ca4911072 make commands case-insensitive (#210)
Fixes #209
2020-03-28 19:07:23 -04:00
0x5c d650cbd6c1 Removed lint 2020-02-25 20:44:53 -05:00
0x5c 4d9f9d1b19 Added/fixed/removed typing managers
Fixes #167
2020-02-25 20:36:21 -05:00
0x5c 2049ca9fca Fix HamStudy image error
- Fixed the image link
- Removed unused import (pytz)
- Added test pool file to dev-notes

Fixes #203
2020-02-25 19:45:32 -05:00
Abigail c57056e586 fix offset-naive and offset-aware datetime conflict
Fixes #201
2020-02-20 01:32:17 -05:00
Abigail 4b122518f5 migrate classabbyamp/discord-qrm2 to miaowware/qrm2 2020-02-15 06:27:48 -05:00
Abigail 9471eaa3cb remove extra comma in pfx invalid input handler 2020-02-15 05:58:57 -05:00
0x5c af136c3d3e Cleaned up description of commands
- Formatting and wording

Element of #142
New year lint removal
2020-02-15 04:59:25 -05:00
0x5c 9ef4864d15 Removed unused f-strings
- f"" -> ""

Element of #142
New year lint removal
2020-02-05 07:30:14 -05:00
0x5c 6803b058d5 Reordered imports
- stdlib
- 3rd-party (pip)
- discord
- local (common, info, utils, & resources)
- data

Element of #142
New year lint removal
2020-02-05 07:09:08 -05:00
0x5c fdfc8cce06 Copyright headers cleanup
Element of #142
New year lint removal
2020-01-31 06:50:50 -05:00
0x5c 29d0440d3d Normalised string quote type
- "" instead of '', except for dictionary lookups in f-strings

Element of #142
New year lint removal
2020-01-30 06:15:42 -05:00
Abigail Gold 29e75c38e1 Merge pull request #178 from classabbyamp/help-checks
Verify checks in help commands
2020-01-28 22:49:53 -05:00
Abigail 6c32dcbead fix can_run logic, re-hide xd, remove unnecessary checks 2020-01-28 22:45:10 -05:00
0x5c 976b3e8bf3 Improved error handling in commands
- Changed all "status != 200" to raise a custom exception
- Raise appropriate exceptions in 'grid'
- Removed command-specific error handling in 'extctl' commands

Fixes #146
2020-01-27 00:37:52 -05:00
Abigail Gold 8686b0ef96 Merge branch 'master' into help-checks 2020-01-21 22:34:59 -05:00
Abigail Gold 9113638b67 Merge pull request #177 from classabbyamp/hamstudy-refactor
Hamstudy refactor
2020-01-21 22:26:49 -05:00