Commit Graph

27 Commits

Author SHA1 Message Date
Brian S. Stephan 7baa70d8f6 customize the list view in the django admin 2023-02-20 08:59:54 -06:00
Brian S. Stephan 337e4db650
update urls.pyes to use path() and add some tests 2023-02-16 00:04:25 -06:00
Brian S. Stephan bc7108cfb7 properly calculate relative offsets via parseDT 2021-12-01 07:51:58 -06:00
Brian S. Stephan 76e5546bcb remove django registration stuff, unused/desired 2021-10-26 22:25:08 -05:00
Brian S. Stephan d7b7bdf73d add another word match for countdown text triggers 2021-04-25 21:05:09 -05:00
Brian S. Stephan a03c69258f use per-server IrcChannel for reminders
this makes it so that if we have multiple bot instances running, they
will only pay attention to the countdown items for their current server
2021-04-25 21:04:11 -05:00
Brian S. Stephan dc5f243608 optionally provide name of new countdown items 2021-04-24 13:00:18 -05:00
Brian S. Stephan 9d94155f66 implement basic API GETs for countdown items 2020-10-25 12:20:39 -05:00
Brian S. Stephan a6f8fc5dc1 make more countdown item fields optional in admin 2020-10-25 12:16:33 -05:00
Brian S. Stephan f2fb0a26a4 remove unnecessary unicode_literal future imports, we py3 now 2019-06-21 15:23:33 -05:00
Brian S. Stephan 55c1cf01a2 countdown: use new event addressed stuff
lets countdown.ircplugin use the regex handler and do less checking
itself
2017-03-10 18:21:29 -06:00
Brian S. Stephan 44c8863d35 countdown: print the item name on new reminders
this is so that we can delete them later

bss/dr.botzo#33
2017-03-02 09:37:18 -06:00
Brian S. Stephan c4714d3691 countdown: add pronoun conversion to reminders 2017-02-26 10:39:49 -06:00
Brian S. Stephan 1b1ae9638d countdown: add "recurring until" support
tacking onto the recurring option, this allows for having the
recurringness end after a while.

closes bss/dr.botzo#31
2017-02-23 19:35:47 -06:00
Brian S. Stephan bdbba249cd countdown: let reminders be recurring
when creating a reminder, describe it as "and every X" and it'll refire
over that period, rather than only firing once

closes bss/dr.botzo#30
2017-02-23 19:11:28 -06:00
Brian S. Stephan 76b70ec784 countdown: use match labels in new reminder regex
this thing is going to get hairy soon, so might as well do this now
2017-02-23 18:50:03 -06:00
Brian S. Stephan 5b79cea3c6 countdown: add TODO to improve cheap workaround 2017-02-23 09:03:17 -06:00
Brian S. Stephan 57903b4728 countdown: don't select future reminders in thread 2017-02-23 09:02:46 -06:00
Brian S. Stephan 71a797e3fa countdown: add "about" to new reminder regex 2017-02-23 09:02:21 -06:00
Brian S. Stephan 75f5985d71 countdown: simpler reminders when in privmsg 2017-02-22 23:10:01 -06:00
Brian S. Stephan 48beddb580 countdown: make new reminder regex non-greedy 2017-02-22 22:25:20 -06:00
Brian S. Stephan 04f11f97df countdown: provide feedback when reminder created
bss/dr.botzo!16
2017-02-22 22:15:29 -06:00
Brian S. Stephan 9c4e0fe782 countdown: receive reminder countdowns over IRC
bss/dr.botzo#11
2017-02-22 22:07:39 -06:00
Brian S. Stephan ba5369bd31 countdown: prospector docstring stuff
bss/dr.botzo#17
2017-02-22 20:40:07 -06:00
Brian S. Stephan beff6638d0 countdown: poll db for reminders, send to target
every second (!?) a new thread checks the database for reminder
countdown items that haven't been reminded about yet. when the at time
is reached, the thread sends the reminder and notes that a reminder was
sent

bss/dr.botzo#11
2017-02-22 20:39:05 -06:00
Brian S. Stephan c81d0519a0 countdown: fields for sending reminders
extending countdown items in order to have them also store reminders,
which are the same idea (an event at a time) but these are watched by
the irc bot and sent to the specified destination when the time is
reached

this adds support for configuring this, code in support of it is coming
in later commits

bss/dr.botzo#11
2017-02-22 20:32:05 -06:00
Brian S. Stephan cd23f062a9 collapsing all of dr_botzo one directory 2017-02-04 11:51:22 -06:00