Commit Graph

80 Commits

Author SHA1 Message Date
Abigail 34cf410131 add docker deployment files 2019-11-02 16:56:53 -04:00
Abigail 824af34cbf move keys.py and options.py to the data directory 2019-11-02 16:56:03 -04:00
0x5c af3f341c27 QRZCog: quick mini linting (#60) 2019-10-27 10:49:19 -04:00
Abigail Gold 29d604c456 Merge pull request #47 from classabbyamp/qrzcog
Qrzcog
2019-10-27 10:06:00 -04:00
Abigail Gold b02b3a2b1c Create CHANGELOG.md 2019-10-21 23:25:54 -04:00
Abigail Gold 02433947b6 add error message, retry on session timeout 2019-10-20 14:44:29 -04:00
Abigail Gold f5ec8f0d8b convert qrz lookup to use pure lxml instead of bs4 2019-10-19 22:55:53 -04:00
0x5c 6153af0f62 Added .flake8
Project-wide settings
2019-10-18 16:16:57 -04:00
0x5c 7684cfe2bc fixed workflow name 2019-10-18 16:03:19 -04:00
0x5c 3c7367e919 fixed file location 2019-10-18 16:01:24 -04:00
0x5c f1681a4e69 Added flake8 action
- Let's see how it goes
2019-10-18 15:53:30 -04:00
Abigail Gold 93b0bae2c1 fix wasteful session usage 2019-10-18 15:27:35 -04:00
Abigail Gold 5bc7011f7d smol fixes 2019-10-18 12:45:26 -04:00
0x5c ae067acf0e sYnTAx eRrOR 2019-10-18 11:37:24 -04:00
0x5c c790e856d9 should be better 2019-10-18 11:26:06 -04:00
0x5c daf461b6ac now it can start 2019-10-18 11:13:24 -04:00
0x5c 6de73ac319 Merge pull request #46 from classabbyamp/img-improvements
more imagecog improvements
2019-10-18 09:26:20 -04:00
Abigail Gold 68f8a52c15 list possible args on improper arg in map/plan 2019-10-18 08:45:56 -04:00
Abigail Gold 769c93050b linting with flake8 and pylint, code cleanup (#39)
* linting with flake8 and pylint

* add type hinting

* more linting

* and i oop

* revert caps

* update info

* remove unnecessary docstrings

* Update info.py
2019-10-18 08:27:05 -04:00
Abigail Gold e0b1e673dc Merge pull request #42 from classabbyamp/5c-fixpaths
ImageCog: Fixed image paths
2019-10-18 08:25:07 -04:00
Abigail Gold a2dd8022ef Merge pull request #40 from classabbyamp/5c-pngoptimise
Maps&Bandplans: Extreme image optimisation
2019-10-18 08:24:25 -04:00
0x5c f07b331fd0 ImageCog: Fixed image paths
Fixes #41
2019-10-18 06:06:20 -04:00
0x5c bd5ba08a3c Maps&Bandplans: Extreme image optimisation
- Downsized multiple images
- Ran 'pngquant --quality 30-40' on all images
- MX bandplan had to be specially handled in Photoshop for both tasks

Part of changes for #38
2019-10-18 05:16:08 -04:00
Abigail Gold a0c224654b slight changes 2019-10-17 22:29:53 -04:00
Abigail Gold 288160eb32 (NOT FUNCTIONAL) small change to async 2019-10-16 17:45:11 -04:00
Abigail Gold 907065e718 (NOT FUNCTIONAL) progress on qrz cmd 2019-10-16 17:23:56 -04:00
Abigail Gold 10c43e83bd basic functionality for QRZ rich lookup
still have to handle some errors (call not found, unable to login, etc)
and display the error. also probably don't need to open a new session
for every invocation. When this gets merged, remember to delete the old
command in lookupcog.
2019-10-15 17:37:13 -04:00
Abigail Gold 9e620371eb Merge pull request #31 from classabbyamp/iss16
move all images in imagecog to local files instead of URLs
2019-10-12 21:28:08 -04:00
0x5c f358405a16 Merge pull request #32 from classabbyamp/ae7qcog
Ae7qcog
2019-10-12 20:43:23 -04:00
Abigail Gold c0bc07827e Merge branch 'master' into ae7qcog 2019-10-12 20:30:11 -04:00
0x5c baede1099a Merge pull request #35 from classabbyamp/bare-excepts
fixed bare excepts
2019-10-12 20:24:40 -04:00
Abigail Gold 98d77c6d47 if in -> except keyerror 2019-10-12 19:50:40 -04:00
Abigail Gold 0123497f54 fixed bare excepts 2019-10-09 01:39:37 -04:00
Abigail Gold 021a1312cb add embed footers and timestamps to all current embeds (#34) 2019-10-09 01:25:33 -04:00
Abigail Gold a0cb64789b Move cogs to load to options.py (#33)
* list of cogs in options.py instead of hardcoded.

* moved the playing status to options.py

* add all cogs to the template
2019-10-08 23:02:57 -04:00
Abigail Gold 66af6aee24 move all images in imagecog to local files instead of URLs 2019-10-08 19:43:09 -04:00
Abigail Gold d8d0b68100 more work on ae7q callsign lookup 2019-10-08 18:57:37 -04:00
Abigail Gold 5ebcebcac2 updated embed colors, and linted some of main.py (#17)
* updated embed colors, and linted some of main.py

* fixed spacing, comments

* fixed line continuations ;3

* Fix spacing
2019-10-08 18:39:05 -04:00
Abigail Gold 19284ee1cc add ae7q call search, basic functionality. need to error check etc still 2019-10-07 16:11:30 -04:00
0x5c 0cc613ef8a Templates: added proper comments (#30)
- Added a default value for 'owners_uids'
- Added notes on proper types where applicable.
- That's pretty much it

Fixes #26
2019-10-07 12:17:52 -04:00
0x5c 959a7609fb main.py: added checks to restart and shutdown (#27)
- Added a check for ownership of the bot
- Added a helper function to add reactions
  (and handle lack of permissions)

Fixes #7
2019-10-07 09:11:03 -04:00
0x5c 53816ffb8e Merge pull request #15 from classabbyamp/gridcog
add grid square commands
2019-10-07 05:48:19 -04:00
0x5c 390cd715c4 Merge branch 'master' into gridcog 2019-10-07 05:47:51 -04:00
0x5c ce65f22428 Merge pull request #14 from classabbyamp/hamcog
add qcode, phonetics, utc
2019-10-07 05:39:28 -04:00
0x5c 87245e4395 Merge branch 'master' into hamcog 2019-10-07 05:39:14 -04:00
0x5c fb80caa5f6 [FIX] main.py: re-implemented shutdown and restart (#19)
- This time we actually use exit codes, and rely on a wrapper
  to restart
- Addition of said wrapper script (run.sh) (from 0x5c/quick-bot-no-pain)
- Moved both commands to main.py

Fixes #4
2019-10-06 22:42:44 -04:00
Abigail Gold 2dbe421be0 fix file handler thingy 2019-10-05 20:30:46 -04:00
0x5c 8342015217 Merge pull request #13 from classabbyamp/imagecog
added cog for cmds that retreive images
2019-10-05 20:08:30 -04:00
0x5c cd6fe1b7e8 Merge branch 'master' into imagecog 2019-10-05 20:08:14 -04:00
0x5c de08831916 Merge pull request #11 from classabbyamp/studycog
add rq and rqa commands
2019-10-05 20:02:51 -04:00