wwiv
wwiv copied to clipboard
Ability to Request old messages from a sub
It would be nice to be able to request a dump of a range of messages from a sub. This would be helpful to pre-populate a sub when someone initially requests to be added, but it would also be helpful in the case where someone needs to rebuild a broken sub.
Best case would be to be able to request a range of messages (by date or just by message numbers), but it would also be acceptable (and a lot easier for a first pass) to allow for "give me the last X messages."
This could even be extended to be a setting during the auto-add process to define "start me with the last X messages" so new people had something to read right off the bat.
%RESCAN in the areafix???
Allen
Related issue: #414
First cut of this is here: https://github.com/wwivbbs/wwiv/commit/4a2fc4600967598f8676e19f9b0355fcb791d5d3
Suggested mechanism for Requesting old messages:
in BOARDEDIT of a subscribing WWIV, in J) Net Info, we add an option to R)equest message resend/rescan. Requesting rescan will send
a NEW main_type 21 (0x0015) main_type_sub_rescan for WWIVnet type networks.
Packet will have main type 21, minor types can be sourced from WWIV AutoSend or AllFix Echo like:
- RESCAN or RESEND. message body will contain number of posts requested to resend.
- RULES. requesting "saSUB.net" to be resent as email.
- others (need to brainstorm more)
for FTN, this will send e-mail to AREAFIX of the FTN Host with details filled in by WWIV, with the option to FSED the email to send. the boilerplate text for this can be from a FORM*.MSG in gfiles or other.
In network2 (?) we add the new main_type 21 handler. Possibly calling wwivutil with the correct parameters.
Alternative to this is to do it the way AUTOSEND works and enable the EPROGS.NET capabilty of NETxx.