• php library

    From Netsurge@77:1/100 to All on Tue Jun 11 13:46:08 2019
    Years ago I wrote a php library to parse Mystic data like oneliners, file
    bases and history. It gave people the ability to use some of Mystic's data on
    a web page.

    Over the past few years it has been great to see people carry on the project but it hasn't been updated for a versions.

    I'm thinking of working on it again if there is an appetite for it.

    Thoughts?

    frank%netsurge%demonic
    disksh0p!bbs // bbs.diskshop.ca // mystic goodness
    home of SciNet // https://diskshop.ca/scinet

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: !disksh0p!bbs! bbs.diskshop.ca ! mystic goodness ! (77:1/100)
  • From ryan@77:1/128 to Netsurge on Tue Jun 11 21:08:46 2019
    Years ago I wrote a php library to parse Mystic data like oneliners, file bases and history. It gave people the ability to use some of Mystic's
    data on a web page.

    I think a lot of people would get some utility here, but I personally would
    opt to do it in javascript or something I trust more than php :)

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: monterey bbs (77:1/128)
  • From Netsurge@77:1/100 to ryan on Tue Jun 11 18:57:16 2019
    I think a lot of people would get some utility here, but I personally would opt to do it in javascript or something I trust more than php :)

    I haven't coded in a decade, I barely remember php and now you want me to
    learn js, lol.

    All the library does is parse the data in various .dat files and dump the
    data into an array that can be processed. Stuff like oneliners and history.

    frank%netsurge%demonic
    disksh0p!bbs // bbs.diskshop.ca // mystic goodness
    home of SciNet // https://diskshop.ca/scinet

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: !disksh0p!bbs! bbs.diskshop.ca ! mystic goodness ! (77:1/100)
  • From Netsurge@77:1/100 to ryan on Tue Jun 11 18:57:48 2019
    I think a lot of people would get some utility here, but I personally would opt to do it in javascript or something I trust more than php :)

    P.S., I trust PHP way more than I would ever trust javascript.

    frank%netsurge%demonic
    disksh0p!bbs // bbs.diskshop.ca // mystic goodness
    home of SciNet // https://diskshop.ca/scinet

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: !disksh0p!bbs! bbs.diskshop.ca ! mystic goodness ! (77:1/100)
  • From apam@77:3/100 to Netsurge on Wed Jun 12 14:02:28 2019
    I'm thinking of working on it again if there is an appetite for it.

    Thoughts?

    I'm sure there would be some. Some people seem to be pretty anti-web
    though (like it takes away from the BBS experience).

    Andrew

    --- MagickaBBS v0.12alpha (Linux/x86_64)
    * Origin: HappyLand - happyland.magickabbs.com:2023 (77:3/100)
  • From Netsurge@77:1/100 to apam on Wed Jun 12 00:32:48 2019
    I'm sure there would be some. Some people seem to be pretty anti-web though (like it takes away from the BBS experience).

    I'm one of them. When I first developed it, the idea was to have certain info flow one way only. You can't actually interact with the bbs, just see last callers, oneliners, daily stats, etc..

    I'm a bit of a purist, but I don't mind sharing that type of info on a web page.

    frank%netsurge%demonic
    disksh0p!bbs // bbs.diskshop.ca // mystic goodness
    home of SciNet // https://diskshop.ca/scinet

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: !disksh0p!bbs! bbs.diskshop.ca ! mystic goodness ! (77:1/100)
  • From Netsurge@77:1/100 to ryan on Thu Jun 13 00:40:38 2019
    I think a lot of people would get some utility here, but I personally would opt to do it in javascript or something I trust more than php :)

    I've updated some of it already and put some data up on the BBS's site at https://diskshop.ca

    Currently I've got stats from the history.dat file, last callers and random oneliners up to, although I think i'm going to switch the random oneliner up top to a random rumour (yes, i'm Canadian, it's with a U) and list out the oneliners like I do the last callers.

    frank%netsurge%demonic
    disksh0p!bbs // bbs.diskshop.ca // mystic goodness
    home of SciNet // https://diskshop.ca/scinet

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: !disksh0p!bbs! bbs.diskshop.ca ! mystic goodness ! (77:1/100)
  • From ryan@77:1/128 to Netsurge on Thu Jun 13 17:16:54 2019
    I've updated some of it already and put some data up on the BBS's site at https://diskshop.ca

    Nice, I'll take a gander. One thing my bbses have always lacked is a halfway decent web page. Honestly I use nginx basically to serve ftelnet and then a
    few htaccess protected monitoring pages. Maybe this'll inspire me to do something more...useful? :P

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: monterey bbs (77:1/128)
  • From Netsurge@77:1/100 to ryan on Thu Jun 13 14:19:08 2019
    Nice, I'll take a gander. One thing my bbses have always lacked is a halfway decent web page. Honestly I use nginx basically to serve ftelnet and then a few htaccess protected monitoring pages. Maybe this'll
    inspire me to do something more...useful? :P

    Go with Bootstrap. Super simple to deploy and manipulate and very powerful. That's what I build the diskshop's page off of. It's a single file.

    frank%netsurge%demonic
    disksh0p!bbs // bbs.diskshop.ca // mystic goodness
    home of SciNet // https://diskshop.ca/scinet

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: !disksh0p!bbs! bbs.diskshop.ca ! mystic goodness ! (77:1/100)
  • From DevNull@77:2/100 to Netsurge on Wed Aug 21 22:12:14 2019
    Over the past few years it has been great to see people carry on the project but it hasn't been updated for a versions.

    I'm thinking of working on it again if there is an appetite for it.

    Hi Frank, I forked your code and maintained with the new Mystic's format evolved from your versions.

    If you need some help please let me know.

    [+] NetMail DevNull @ [2:341/203] [46:2/103] [57:245/13] [9:92/8] [21:4/118] [+] PGP KeyID 0x1352338D

    --- Mystic BBS v1.12 A43 2019/03/03 (Raspberry Pi/32)
    * Origin: Bit's Lair BBS (77:2/100)
  • From DevNull@77:2/100 to NetSurge on Wed Aug 21 22:25:50 2019
    Hi again,

    Here are some screenshots from my Mystic's Web interface with JS and PHP as backend xD

    https://pasteboard.co/ItLBbNS.png
    https://pasteboard.co/ItLBWf8.png
    https://pasteboard.co/ItLCwuo.png
    https://pasteboard.co/ItLD1k1.png
    https://pasteboard.co/ItLDPxd.png
    https://pasteboard.co/ItLENG7.png

    And everything is running in a Pi3 xD (QEmu and VNC for VMs)

    [+] NetMail DevNull @ [2:341/203] [46:2/103] [57:245/13] [9:92/8] [21:4/118] [+] PGP KeyID 0x1352338D

    --- Mystic BBS v1.12 A43 2019/03/03 (Raspberry Pi/32)
    * Origin: Bit's Lair BBS (77:2/100)
  • From Netsurge@77:77/5 to All on Wed Aug 21 20:17:26 2019
    From: Netsurge <netsurge@scinet-ftn.org>

    On 2019-08-21 20:30:01 +0000, DevNull said:

    Hi again,

    Here are some screenshots from my Mystic's Web interface with JS and PHP as backend xD

    https://pasteboard.co/ItLBbNS.png
    https://pasteboard.co/ItLBWf8.png
    https://pasteboard.co/ItLCwuo.png
    https://pasteboard.co/ItLD1k1.png
    https://pasteboard.co/ItLDPxd.png
    https://pasteboard.co/ItLENG7.png

    That is really slick. Are you going to release it?

    --
    frank // netsurge
    disksh0p!bbs % bbs.diskshop.ca % mystic goodness
    SciNet ftn hq % https://diskshop.ca/scinet

    .
    --- Unison/2.2
    * Origin: % SciNet ftn/nntp/email gateway % scinet-ftn.org % (77:77/5)
  • From Immortal@77:1/122 to DevNull on Wed Aug 21 18:26:42 2019
    Re: Re: php library
    By: DevNull to NetSurge on Wed Aug 21 2019 10:25 pm

    Here are some screenshots from my Mystic's Web interface with JS and PHP as backend xD

    That is amazing!

    Immortal

    ... To think too long about doing a thing often becomes its undoing.
    --- SBBSecho 3.08-Linux
    * Origin: Immortal's Domain (77:1/122)
  • From Alterego@77:3/101 to All on Thu Aug 22 10:49:28 2019
    Re: Re: php library
    By: Netsurge to All on Wed Aug 21 2019 08:17 pm

    Here are some screenshots from my Mystic's Web interface with JS and PHP as backend xD
    That is really slick. Are you going to release it?

    This is pretty slick.
    ...лоег

    ... Husbands are like fires. They go out if unattended.
    --- SBBSecho 3.08-Linux
    * Origin: Alterant | An SBBS in Docker on Pi! (77:3/101)
  • From DevNull@77:2/100 to Netsurge on Thu Aug 22 22:34:34 2019
    Hi!

    That is really slick. Are you going to release it?

    Thanks! Sure, I want to release it, but before I've to finish some things,
    like Netmail integration. In the other side, messagin is based in a trick
    using PHP + NNTP for posting (Reading is done directly from JAM files).

    Login is done with PHP also and HTTP Auth. Without username and pass I send
    a 403 and this makes the browser to request a username and password. I you
    pass them, the same PHP can check it against user's DAT file and apply limits based in your level, etc.

    The good thing is that its autocontained. PHP is used as Webserver, so instalation is done copying the dir somewhere and setting Mystic's path and a few parameters in a config file.

    Once finished and tested my idea is to release it. But if somebody wants
    the modified library based in yours, to start their own project, I can clean
    it and publish here.

    [+] NetMail DevNull @ [2:341/203] [46:2/103] [57:245/13] [9:92/8] [21:4/118] [+] PGP KeyID 0x1352338D

    --- Mystic BBS v1.12 A43 2019/03/03 (Raspberry Pi/32)
    * Origin: Bit's Lair BBS (77:2/100)
  • From DevNull@77:2/100 to Immortal on Thu Aug 22 22:36:52 2019
    Here are some screenshots from my Mystic's Web interface with JS and as backend xD

    That is amazing!

    Thank you! :) Its not finished, but at least, I can use it to access some old VMs launched from my BBS xD

    [+] NetMail DevNull @ [2:341/203] [46:2/103] [57:245/13] [9:92/8] [21:4/118] [+] PGP KeyID 0x1352338D

    --- Mystic BBS v1.12 A43 2019/03/03 (Raspberry Pi/32)
    * Origin: Bit's Lair BBS (77:2/100)
  • From Netsurge@77:1/100 to DevNull on Fri Aug 23 00:48:52 2019
    Thanks! Sure, I want to release it, but before I've to finish some
    things, like Netmail integration. In the other side, messagin is based
    in a trick using PHP + NNTP for posting (Reading is done directly from
    JAM files).

    If you need anyone to beta test, count me in.

    Login is done with PHP also and HTTP Auth. Without username and pass I send a 403 and this makes the browser to request a username and
    password. I you pass them, the same PHP can check it against user's DAT file and apply limits based in your level, etc.

    How are you authenticating against users.dat? Do you encode passwords in Mystic?

    Once finished and tested my idea is to release it. But if somebody wants the modified library based in yours, to start their own project, I can clean it and publish here.

    I'd love to take a peek at it. I have already updated my original release to support the latest alpha, but it looks like to you taken it to the next level.

    |15frank |08// |15netsurge
    |07disksh0p|08!|07bbs |08% |07bbs.diskshop.ca |08% |07mystic goodness |11SciNet |03ftn hq |08% |07https://diskshop.ca/scinet

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: % disksh0p!bbs % bbs.diskshop.ca % SciNet ftn hq % (77:1/100)
  • From Paul Hayton@77:3/102 to DevNull on Fri Aug 23 21:00:06 2019
    On 21 Aug 2019 at 10:25p, DevNull pondered and said...

    Here are some screenshots from my Mystic's Web interface with JS and PHP as backend xD

    Just wanted to echo the comments of the others - looks great - well done!

    --- Mystic BBS v1.12 A43 2019/03/03 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (77:3/102)
  • From DevNull@77:2/100 to Netsurge on Sat Aug 24 00:14:08 2019
    If you need anyone to beta test, count me in.

    Nice! added to the list, you are the first (And only one) betatester xD

    How are you authenticating against users.dat? Do you encode passwords in Mystic?

    Nope, the new encoding was a pain, I've maintained the clear password from mystic's config due a retrocompatibility issue.

    I've made a function to call your mystic_userlist() and compare the password sent from the web browser against user password in users.dat

    I'd love to take a peek at it. I have already updated my original
    release to support the latest alpha, but it looks like to you taken it
    to the next level.

    Let me clean the code and pack it (Crossing fingers to avoid a new change in data structures xD)

    [+] NetMail DevNull @ [2:341/203] [46:2/103] [57:245/13] [9:92/8] [21:4/118] [+] PGP KeyID 0x1352338D

    --- Mystic BBS v1.12 A43 2019/03/03 (Raspberry Pi/32)
    * Origin: Bit's Lair BBS (77:2/100)
  • From DevNull@77:2/100 to Paul Hayton on Sat Aug 24 00:14:34 2019
    Just wanted to echo the comments of the others - looks great - well done!

    Thanks Paul!

    [+] NetMail DevNull @ [2:341/203] [46:2/103] [57:245/13] [9:92/8] [21:4/118] [+] PGP KeyID 0x1352338D

    --- Mystic BBS v1.12 A43 2019/03/03 (Raspberry Pi/32)
    * Origin: Bit's Lair BBS (77:2/100)
  • From Netsurge@77:1/100 to DevNull on Sat Aug 24 01:13:56 2019
    Nope, the new encoding was a pain, I've maintained the clear password
    from mystic's config due a retrocompatibility issue.

    I too have switched back to clear text in order to use the users.dat file to authenticate users on the INN nntp server.

    |15frank |08// |15netsurge
    |07disksh0p|08!|07bbs |08% |07bbs.diskshop.ca |08% |07mystic goodness |11SciNet |03ftn hq |08% |07https://diskshop.ca/scinet

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: % disksh0p!bbs % bbs.diskshop.ca % SciNet ftn hq % (77:1/100)
  • From Paul Hayton@77:3/102 to DevNull on Sat Aug 24 17:26:16 2019
    On 24 Aug 2019 at 12:14a, DevNull pondered and said...

    If you need anyone to beta test, count me in.

    Nice! added to the list, you are the first (And only one) betatester xD

    Happy to help also but I'm going to have to plug into the Matrix first to
    learn the right sort of Kung Fu so I know what the heck I'm doing.

    Paging Morpheus....

    --- Mystic BBS v1.12 A43 2019/03/03 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (77:3/102)
  • From Netsurge@77:1/111 to Paul Hayton on Sun Aug 25 03:22:18 2019

    On Saturday August 24, 2019, Paul Hayton said to DevNull...

    Happy to help also but I'm going to have to plug into the Matrix first
    to learn the right sort of Kung Fu so I know what the heck I'm doing.

    Paging Morpheus....

    Last time I saw Morpheus he was on the beach in Barbados.

    [%] frank!netsurge // hysteriabbs.com // zeus 1.7 // amiga 4ooo [%]
    . SciNet! . the ftn of the bbs scene . https://diskshop.ca/scinet .

    --- Zeus BBS 1.5
    * Origin: hysteria bbs - hysteriabbs.com - amiga powered (77:1/111.0)
  • From Paul Hayton@77:3/102 to Netsurge on Sun Aug 25 20:49:20 2019
    On 25 Aug 2019 at 03:22a, Netsurge pondered and said...

    Last time I saw Morpheus he was on the beach in Barbados.

    Or so he thought :) Until they unplugged him

    --- Mystic BBS v1.12 A43 2019/03/03 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (77:3/102)