PTGBot was relying on a number of Freenode things and requires a
few changes to run on OFTC:
- Manually identify to NickServ instead of using SASL
- No longer use identify-msg capability
- Messages received are no longer prefixed by '+'
Change-Id: Ib014f58475c1eee89d34e718ee5988800602586b
The base schedule was specified in the bot configuration file,
which made it a bit painful to do last-minute configuration.
The bot shall load a basic minimal database and support being
configured online instead, using commands and json imports.
This change removes the schedule loading from configuration,
and replaces it with a function to update the database using
a provided JSON URL (the ~fetchdb admin command).
Change-Id: I4e7a79baf88cce8d827eb66b1b0c26584c62c8d7
The bookable rooms functionality was bolted on top of the "normal"
schedule table using a separate table in the JSON and the config.
Now that bookable rooms are shown together with "regular" rooms,
we can merge the two concept and pay back that technical debt.
This is an incompatible JSON change so the database will have to
be ~reload-ed from configuration.
Change-Id: Ia37b6202b363614418b562b693b3dd807621aa97
Allow to configure a schedule for scheduled rooms and
a number of available time slots in additional rooms.
Change-Id: Ibb4650cc73c08dc5c4328a8a844ed54fac991f84
In order to be able to specify topic/room assignments, we need
a map of the available time slots. Specify that at the config
level.
Change-Id: I58e3d13e169a66c10e74ec9faa97243a40f14ee0
In preparation for the fully IRC-driven system,
remove the code getting extra info from ethercalc.
Change-Id: I1a7092803630a790290205f0b202bc347c3f18c0
Rather than have to list every Ethercalc cell (and add comments
to every such cell to indicate room/time), describe the shape
of the ethercalc and automate retrieval of information.
Change-Id: I6939a1a7c5706d6f67b03b07ed11d9daf8c297c9
Move config to a JSON file in order to allow for complex
configuration of the ethercalc data model.
Change-Id: I0d18bc6aa3fd8ea1739c64a3d488145435bebb4f