Jump to content

EidolonHost

Members
  • Posts

    281
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by EidolonHost

  1. Ah, nice... good to know. Hopefully it'll come out soon because I know one thing for sure: It'll help us spot domains that have illegal installations of Blesta and report them.
  2. Hi, I'm curious... wasn't there a license validator where you could check domains for valid Blesta licenses? I know WHMCS has one and I know Blesta has one... but I can't seem to find it? WHere'd it go and why'd my google-fu fail me? :c I wanted to include the option for our company's clients to check license status for ours and others' sites.
  3. Understandable. I would personally be interested in a generic module. I'd offer DA and other licenses... but I'm not a reseller (yet.) Webmin's free to install and use so there is that, though I imagine it's a hassle setting up a development location. A VPS would do nicely for that.
  4. Zaveo: I would suggest making a general CSF module that can work with not only cPanel, but also DirectAdmin, Webmin, InterWorx and whatnot, rather than specific controlpanelhere CSF modules. Of course, doing that makes the general CSF module stupidly complex... maybe?
  5. I have an interest in this, yeah. I've been mining for a while too, at least until my PC went down again.
  6. Excellent, that's a beautiful combination.
  7. Understandable. Thanks for considering it and explaining why it might not be feasible.
  8. Got it. My thanks for troubleshooting what ultimately turned out to be more or less user error. Personally though, I think that doing it as you suggest isn't exactly the right way to go, at least with the Universal Module. Perhaps a checkbox option to enable the ability to resend e-mails from the UM itself? There's a reason I'm suggesting this... and that's the fact that I created the test client and set up the order without the welcome email template in place... so I was testing the ordering process to make sure all went OK. I didn't think about creating the welcome e-mail template until after I ensured that the ordering process worked as best as I could make it work with what I understood. I'm still learning my way about and the lack of documentation does kind of suck. Fortunately, that is being improved upon, so there is that.
  9. Not just Blesta, but you know, the ability to do snapshots and BMR. I'm interested in using Bacula4Hosts for the ability to do BMRs and the ability to do snapshots for customers. R1soft was something I was looking into but their responses have me considering carefully which backup solution I'd go with. Right now though, we don't really have a backup system in place... for anything except our own billing system and VPS servers because we are not selling shared nor reseller hosting. At least, for now, because I've been restructuring the company's way of doing things and I decided we should pull out of the shared and reseller market until we had proper infrastructure in place to do everything we wanted to do, and do it well. As it is, we are offering VPS and Dedicated Servers, for the time being. We haven't had customers request that we implement some sort of backups system for them yet... but I foresee a time where that will happen and I want to have some sort of solution that integrates into our billing system ready for that. The fact that I'm leaning towards Bacula4Hosts is because of their response and enthusiasm for working with me and others. I like resting easy knowing that if I have an issue with Bacula, I can talk to Cartika/Bacula4Hosts and get a speedy answer as I need them.
  10. I was talking with Cartika with regards to their Bacula4Hosts system where service providers could use their self-hosted service for storing backups and restoring them as needed. Cartika-Andrew informed me that there were several users that already had integrated Bacula4Hosts via their API, but that there wasn't a module per-se specifically created for their Bacula4Hosts system. Cartika-Andrew also indicated to me that they'd reached out to Blesta for discussions and possibly working together with regards to creating a module for Blesta, due to the fact that Cartika heavily uses Hostbill for their integrations. My question then is — would there be interest from others with regards for a Bacula4Hosts module and/or CommandLayer support? The only issue, of course is providing a development environment for Cartika's use in creating such a module for those of us who might want to use CommandLayer in addition to using Bacula4Hosts to provide self-service back-up and restore. We don't personally have a development environment we can provide to Cartika for that goal as of yet... but we most likely will soon.
  11. -facepalms- I should've realized that. Thanks for the pointer. Changed my portal about to look much better. Man, I keep forgetting how customizable Blesta is... WHMCS is not exactly as easily customizable, really. Thanks for the guide to customizing the portal.
  12. Would you mind providing the blue one for me? Just the CSS and images, of course.
  13. The only issue I have with that is... if you try to use the register link as described here, it simply does not... work. How does one find the register link to stick onto the portal?
  14. Uh, don't mind that. I was apparently misreading. However... I noticed something in the Universal Module. There is an option to have a welcome e-mail set up... but there's no option to send the customer a welcome e-mail again in the Universal Module that I can find... or if it's there, I'm not seeing where it's at.
  15. I am indeed taking a look at it. Still charting out a course for this. I think I've got the bare beginnings of the module down. I might be able to test whether or not the module fully installs and uninstalls itself successfully later this week. I've got the idea of how I want to do this down... it's just actually implementing said ideas that'll take time.
  16. Awesome. So I'd simply call phpseclib as a requirements from Blesta then?
  17. I was thinking about using this as I continued to research. Hmm. This does sound like a better option for people who might not have root access to the server to enable a server-wide PHP extension. I think I'd go with this over the SSH2 option, to be honest, at least for the ability to not need to throw new requirements at the end-user who wants to get this set up.
  18. We use key-based authentication internally. Dunno about the others, though... but that said... I'm still researching this, so I may yet change how exactly I'd do either the Blesta or VestaCP module. One or the other... perhaps both, to complement each other and to reduce the possibility of additional compromise. Right now, this is mostly in the planning and research stage, so I wanted a bit of input on how I might create a secure Blesta for VestaCP module within Blesta itself.
  19. So, I'm working on creating a VestaCP module. Now, first and foremost, I already know to a large degree how I'd work with the module. That's via the CLI, as VestaCP is made of primarily shell scripts that do various things. My question then is: How can I safely use the CLI method both locally and remotely? I've been looking at this, using the CLI interface particular documentation as well as the Creating a Plugin documentation. There's a bit of an eek factor to this, as using the Admin user for managing the server does have risks in getting that server compromised, but then... the risk is the same for the other modules using root-level sort of things, as the SolusVM and cPanel users do. I also checked out the cPanel modules for an idea of how I might want to do this. SO, while I'm researching this, I foresee the module being comprised of two interfaces while developing this. 1. Server interface. This is where the admin handles everything related to the server, ie adding clients, deleting clients, setting packages, permissions, etc. 2. Client interface. This is where the client gets some details of their package. Debating on whether or not to include more than just a Quick Login to the client area for the client or providing some degree of management from the client area, as SolusVM might do. So, first and foremost, I need to integrate a method for the module to SSH out to any remote server because I don't think there is a set of APIs that can be used via HTTP. Edit: To clarify, I mean from VestaCP's end, not Blesta's. /edit How would one create that method to SSH out to any remote server? Or for that matter, locally? PHP-CLI?
  20. Ah! OK, that does make sense, having seen the results of this. Additionally, I tried test 3 again and when I pressed source, I got the following code: <pre class="prettyprint linenums:0 prettyprinted" style=""> <span class="typ">Dear</span><span class="pln"> </span><span class="pun">{</span><span class="pln">client</span><span class="pun">.</span><span class="pln">first_name</span><span class="pun">}</span><span class="pln"> </span><span class="pun">{</span><span class="pln">client</span><span class="pun">.</span><span class="pln">last_name</span><span class="pun">},</span><span class="pln"> PLEASE READ THIS EMAIL IN FULL AND PRINT IT FOR YOUR RECORDS </span><span class="typ">Thank</span><span class="pln"> you </span><span class="kwd">for</span><span class="pln"> your order </span><span class="kwd">from</span><span class="pln"> us</span><span class="pun">!</span><span class="pln"> </span><span class="typ">Your</span><span class="pln"> server has now been setup </span><span class="kwd">and</span><span class="pln"> </span><span class="kwd">this</span><span class="pln"> email contains all the information you will need </span><span class="kwd">in</span><span class="pln"> order to </span><span class="kwd">begin</span><span class="pln"> </span><span class="kwd">using</span><span class="pln"> your account</span><span class="pun">.</span><span class="pln"> </span><span class="typ">If</span><span class="pln"> you have requested a domain name during sign up</span><span class="pun">,</span><span class="pln"> please keep </span><span class="kwd">in</span><span class="pln"> mind that your domain name will </span><span class="kwd">not</span><span class="pln"> be visible on the internet instantly</span><span class="pun">.</span><span class="pln"> </span><span class="typ">This</span><span class="pln"> process </span><span class="kwd">is</span><span class="pln"> called DNS propagation </span><span class="kwd">and</span><span class="pln"> can take up to </span><span class="lit">48</span><span class="pln"> hours</span><span class="pun">.</span><span class="pln"> </span><span class="typ">Until</span><span class="pln"> your domain has propagated</span><span class="pun">,</span><span class="pln"> your website </span><span class="kwd">and</span><span class="pln"> email will </span><span class="kwd">not</span><span class="pln"> </span><span class="kwd">function</span><span class="pun">.</span><span class="pln"> </span><span class="typ">New</span><span class="pln"> </span><span class="typ">Account</span><span class="pln"> </span><span class="typ">Information</span><span class="pln"> </span><span class="typ">Hosting</span><span class="pln"> </span><span class="typ">Package</span><span class="pun">:</span><span class="pln"> </span><span class="pun">{</span><span class="kwd">package</span><span class="pun">.</span><span class="pln">name</span><span class="pun">}</span><span class="pln"> </span><span class="typ">Domain</span><span class="pun">:</span><span class="pln"> </span><span class="pun">{</span><span class="pln">service</span><span class="pun">.</span><span class="pln">cpanel_domain</span><span class="pun">}</span><span class="pln"> </span><span class="typ">Package</span><span class="pln"> </span><span class="typ">Price</span><span class="pun">:</span><span class="pln"> </span><span class="pun">{</span><span class="pln">pricing</span><span class="pun">.</span><span class="pln">price</span><span class="pun">}</span><span class="pln"> </span><span class="typ">Package</span><span class="pln"> </span><span class="typ">Period</span><span class="pun">:</span><span class="pln"> </span><span class="pun">{</span><span class="pln">pricing</span><span class="pun">.</span><span class="pln">period</span><span class="pun">}</span><span class="pln"> </span><span class="typ">Cancellation</span><span class="pln"> </span><span class="typ">Fee</span><span class="pln"> after </span><span class="lit">10</span><span class="pln"> days of your first product </span><span class="kwd">with</span><span class="pln"> us</span><span class="pun">:</span><span class="pln"> </span><span class="pun">{</span><span class="pln">pricing</span><span class="pun">.</span><span class="pln">cancel_fee</span><span class="pun">}</span><span class="pln"> </span><span class="typ">Login</span><span class="pln"> </span><span class="typ">Details</span><span class="pln"> </span><span class="typ">Username</span><span class="pun">:</span><span class="pln"> </span><span class="pun">{</span><span class="pln">service</span><span class="pun">.</span><span class="pln">cpanel_username</span><span class="pun">}</span><span class="pln"> </span><span class="typ">Password</span><span class="pun">:</span><span class="pln"> </span><span class="pun">******</span><span class="pln"> </span><span class="pun">[</span><span class="typ">Password</span><span class="pln"> </span><span class="typ">Hidden</span><span class="pln"> </span><span class="kwd">for</span><span class="pln"> security reasons</span><span class="pun">]</span><span class="pln"> </span><span class="typ">If</span><span class="pln"> you ordered a control panel to be added to the server at the time of </span><span class="kwd">set</span><span class="pun">-</span><span class="pln">up</span><span class="pun">,</span><span class="pln"> it</span><span class="str">'ll be the following: cPanel WebHost Manager URL: www.{module.host_name}:2083 Once your domain has propogated, you may also use www.{module.host_name}:2082 Server Information Server IP: {module.host_name} Thank you for choosing EidolonHost.</span></pre> One more question, and then I think we're good here. I notice that the Blesta tags used in test 3 basically disappeared. I assume this is because when Blesta sends the e-mail, it doesn't know to look for the details in the client's product?
  21. We use SSH keys for managed and unmanaged servers. That's current policy and we use our keys to help reset customers' root passwords, if they somehow manage to lose it. We no longer provide passwords that they themselves used when initially setting up the server if they happen to lose the passwords. Resetting the customer's root password isn't much of an issue... but occasionally we get requests to give them their current (or old password if they changed it) and we verify that the client making the request is indeed the client... before giving them their current root password in our system. This was before I restructured the company, though.
  22. Phew, hopefully that gave you guys some clues with the results of the tests I just edited into the post before yours, Cody. It seems as if you paste the code I was using into the HTML tab without pressing Source and putting in the <p>s as well as the <br>s, it throws an error. So somehow, pasting the code into the HTML tab, then pressing the source and editing the <p>s and <br>s in does work as one would expect.
  23. No, that's the strange part. I checked the code I was using and the only /s that appear is outside of the braces. Perhaps it's the usage of / at all that causes it to throw an error. Let me test this theory and I'll get back to you. Edit: Test 1, pasted directly into the HTML tab without pressing source: Dear {client.first_name} {client.last_name}, PLEASE READ THIS EMAIL IN FULL AND PRINT IT FOR YOUR RECORDS Thank you for your order from us! Your server has now been setup and this email contains all the information you will need in order to begin using your account. If you have requested a domain name during sign up, please keep in mind that your domain name will not be visible on the internet instantly. This process is called DNS propagation and can take up to 48 hours. Until your domain has propagated, your website and email will not function. New Account Information Hosting Package: {package.name} Domain: {service.cpanel_domain} Package Price: {pricing.price} Package Period: {pricing.period} Cancellation Fee after 10 days of your first product with us: {pricing.cancel_fee} Login Details Username: {service.cpanel_username} Password: ****** [Password Hidden for security reasons] If you ordered a control panel to be added to the server at the time of set-up, it'll be the following: cPanel WebHost Manager URL: www.{module.host_name}:2083 Once your domain has propogated, you may also use www.{module.host_name}:2082 Server Information Server IP: {module.host_name} Thank you for choosing EidolonHost. Result: FAIL Error that results: Oh noes! unexpected character in filters : "/" at 80 on line 233 in /home/user/public_html/eidolonhost.com/vendors/h2o/h2o/parser.php Printing Stack Trace: #0 /home/user/public_html/eidolonhost.com/vendors/h2o/h2o/parser.php(114): ArgumentLexer->parse() #1 /home/user/public_html/eidolonhost.com/vendors/h2o/h2o/parser.php(75): H2o_Parser::parseArguments(' #2 /home/user/public_html/eidolonhost.com/vendors/h2o/h2o.php(106): H2o_Parser->parse() #3 /home/user/public_html/eidolonhost.com/vendors/h2o/h2o.php(142): H2o->parse(' ??? #4 /home/user/public_html/eidolonhost.com/app/models/emails.php(622): H2o::parseString(' ??? #5 /home/user/public_html/eidolonhost.com/app/controllers/admin_clients.php(1280): Emails->sendCustom('systems@eidolon...', 'EidolonHost Sys...', 'admin@shattered...', 'New Dedicated S...', Array, NULL, NULL, NULL, NULL, Array) #6 /home/user/public_html/eidolonhost.com/lib/dispatcher.php(111): AdminClients->email() #7 /home/user/public_html/eidolonhost.com/index.php(21): Dispatcher::dispatch('/admin/clients/...') #8 {main} Edit: WTF, part of my post went and disappeared. Test 2 with pasting into HTML tab, then pressing source and then pressing Send Email: Results: SEMI-SUCCESS. I say semi-success because I need to check my e-mail configs to make sure all's OK there, but at least it's not throwing a OH NOES! error. Test 3, again with no /s anywhere. This time, I pasted into the HTML tab with the sources button pressed and set the code as follows: Dear {client.first_name} {client.last_name},<br><br> PLEASE READ THIS EMAIL IN FULL AND PRINT IT FOR YOUR RECORDS<br><br> Thank you for your order from us! Your server has now been setup and this email contains all the information you will need in order to begin using your account.<br><br> If you have requested a domain name during sign up, please keep in mind that your domain name will not be visible on the internet instantly. This process is called DNS propagation and can take up to 48 hours. Until your domain has propagated, your website and email will not function.<br><br> New Account Information<br><br> Hosting Package: {package.name}<br> Domain: {service.cpanel_domain}<br> Package Price: {pricing.price}<br> Package Period: {pricing.period}<br> Cancellation Fee after 10 days of your first product with us: {pricing.cancel_fee}<br><br> Login Details<br><br> Username: {service.cpanel_username}<br> Password: ****** [Password Hidden for security reasons]<br><br> If you ordered a control panel to be added to the server at the time of set-up, it'll be the following:<br><br> cPanel WebHost Manager URL: www.{module.host_name}:2083<br><br> Once your domain has propogated, you may also use www.{module.host_name}:2082<br><br> Server Information<br><br> Server IP: {module.host_name}<br><br> Thank you for choosing EidolonHost. Results: SUCCESS. It sends the e-mail out as it should, though with the information and the like blank. I wasn't quite expecting this, so I checked the content of the e-mail after it was delivered by the system and it shows up as: <p> Dear ,<br /> <br /> PLEASE READ THIS EMAIL IN FULL AND PRINT IT FOR YOUR RECORDS<br /> <br /> Thank you for your order from us! Your server has now been setup and this email contains all the information you will need in order to begin using your account.<br /> <br /> If you have requested a domain name during sign up, please keep in mind that your domain name will not be visible on the internet instantly. This process is called DNS propagation and can take up to 48 hours. Until your domain has propagated, your website and email will not function.<br /> <br /> New Account Information<br /> <br /> Hosting Package:<br /> Domain:<br /> Package Price:<br /> Package Period:<br /> <br /> Cancellation Fee after 10 days of your first product with us:<br /> <br /> Login Details<br /> <br /> Username:<br /> Password: ****** [Password Hidden for security reasons]<br /> <br /> If you ordered a control panel to be added to the server at the time of set-up, it'll be the following:<br /> <br /> cPanel WebHost Manager URL: www.:2083<br /> Once your domain has propagated, you may also use www.:2082<br /> <br /> Server Information<br /> <br /> Server IP:<br /> <br /> Thank you for choosing EidolonHost.</p> HOWEVER, test 4 with the HTML tab, and the code pasted straight in, no code edits, just straight up text with the following code: Dear {client.first_name} {client.last_name}, PLEASE READ THIS EMAIL IN FULL AND PRINT IT FOR YOUR RECORDS Thank you for your order from us! Your server has now been setup and this email contains all the information you will need in order to begin using your account. If you have requested a domain name during sign up, please keep in mind that your domain name will not be visible on the internet instantly. This process is called DNS propagation and can take up to 48 hours. Until your domain has propagated, your website and email will not function. New Account Information Hosting Package: {package.name} Domain: {service.cpanel_domain} Package Price: {pricing.price} Package Period: {pricing.period} Cancellation Fee after 10 days of your first product with us: {pricing.cancel_fee} Login Details Username: {service.cpanel_username} Password: ****** [Password Hidden for security reasons] If you ordered a control panel to be added to the server at the time of set-up, it'll be the following: cPanel WebHost Manager URL: www.{module.host_name}:2083 Once your domain has propogated, you may also use www.{module.host_name}:2082 Server Information Server IP: {module.host_name} Thank you for choosing EidolonHost. Results: FAIL, with an OH NOES! Oh noes! unexpected character in filters : "/" at 124 on line 233 in /home/user/public_html/eidolonhost.com/vendors/h2o/h2o/parser.php Printing Stack Trace: #0 /home/user/public_html/eidolonhost.com/vendors/h2o/h2o/parser.php(114): ArgumentLexer->parse() #1 /home/user/public_html/eidolonhost.com/vendors/h2o/h2o/parser.php(75): H2o_Parser::parseArguments(' #2 /home/user/public_html/eidolonhost.com/vendors/h2o/h2o.php(106): H2o_Parser->parse() #3 /home/user/public_html/eidolonhost.com/vendors/h2o/h2o.php(142): H2o->parse(' #4 /home/user/public_html/eidolonhost.com/app/models/emails.php(622): H2o::parseString('#5 /home/user/public_html/eidolonhost.com/app/controllers/admin_clients.php(1280): Emails->sendCustom('support@eidolon...', 'EidolonHost Sup...', 'admin@shattered...', 'New Dedicated S...', Array, NULL, NULL, NULL, NULL, Array) #6 /home/user/public_html/eidolonhost.com/lib/dispatcher.php(111): AdminClients->email() #7 /home/user/public_html/eidolonhost.com/index.php(21): Dispatcher::dispatch('/admin/clients/...') #8 {main}
  24. Ah, whoops. I tried with {package.name} but no go. Slightly different error but still generating an Oh Noes! Only change was changing {package.package} to {package.name} Oh noes! unexpected character in filters : "/" at 124 on line 233 in /home/user/public_html/eidolonhost.com/vendors/h2o/h2o/parser.php Printing Stack Trace: #0 /home/user/public_html/eidolonhost.com/vendors/h2o/h2o/parser.php(114): ArgumentLexer->parse() #1 /home/user/public_html/eidolonhost.com/vendors/h2o/h2o/parser.php(75): H2o_Parser::parseArguments(' #2 /home/user/public_html/eidolonhost.com/vendors/h2o/h2o.php(106): H2o_Parser->parse() #3 /home/user/public_html/eidolonhost.com/vendors/h2o/h2o.php(142): H2o->parse(' #4 /home/user/public_html/eidolonhost.com/app/models/emails.php(622): H2o::parseString('#5 /home/user/public_html/eidolonhost.com/app/controllers/admin_clients.php(1280): Emails->sendCustom('systems@eidolon...', 'EidolonHost Sys...', 'admin@shattered...', 'New Dedicated S...', Array, NULL, NULL, NULL, NULL, Array) #6 /home/user/public_html/eidolonhost.com/lib/dispatcher.php(111): AdminClients->email() #7 /home/user/public_html/eidolonhost.com/index.php(21): Dispatcher::dispatch('/admin/clients/...') #8 {main}
  25. So I was testing the e-mail template I had... on the link: /admin/clients/email/1/ ... Maybe I should've done it elsewhere, but I didn't see an option to send a customer a pre-formatted email, for example, a service created e-mail as below in the E-mail clients screen under Account Actions from the admin screen. The code was as follows: Dear {client.first_name} {client.last_name}, PLEASE READ THIS EMAIL IN FULL AND PRINT IT FOR YOUR RECORDS Thank you for your order from us! Your server has now been setup and this email contains all the information you will need in order to begin using your account. If you have requested a domain name during sign up, please keep in mind that your domain name will not be visible on the internet instantly. This process is called DNS propagation and can take up to 48 hours. Until your domain has propagated, your website and email will not function. New Account Information Hosting Package: {package.package} Domain: {service.cpanel_domain} Package Price: {pricing.price} Package Period: {pricing.period} Cancellation Fee after 10 days of your first product with us: {pricing.cancel_fee} Login Details Username: {service.cpanel_username} Password: ****** [Password Hidden for security reasons] If you ordered a control panel to be added to the server at the time of set-up, it'll be the following: cPanel WebHost Manager URL: http://{module.host_name}:2083/ Once your domain has propogated, you may also use http://www.{module.host_name}:2082/ Server Information Server IP: {module.host_name} Thank you for choosing EidolonHost. The To and From e-mail was: To: Test client admin@shattered-tears.com From: EidolonHost Systems systems@eidolonhost.com As soon as I press Send E-mail, I get this error: Oh noes! unexpected character in filters : "/" at 130 on line 233 in /home/user/public_html/eidolonhost.com/vendors/h2o/h2o/parser.php Printing Stack Trace: #0 /home/user/public_html/eidolonhost.com/vendors/h2o/h2o/parser.php(114): ArgumentLexer->parse() #1 /home/user/public_html/eidolonhost.com/vendors/h2o/h2o/parser.php(75): H2o_Parser::parseArguments(' #2 /home/user/public_html/eidolonhost.com/vendors/h2o/h2o.php(106): H2o_Parser->parse() #3 /home/user/public_html/eidolonhost.com/vendors/h2o/h2o.php(142): H2o->parse(' #5 /home/user/public_html/eidolonhost.com/app/controllers/admin_clients.php(1280): Emails->sendCustom('systems@eidolon...', 'EidolonHost Sys...', 'admin@shattered...', 'Dedicated Serve...', Array, NULL, NULL, NULL, NULL, Array) #6 /home/user/public_html/eidolonhost.com/lib/dispatcher.php(111): AdminClients->email() #7 /home/user/public_html/eidolonhost.com/index.php(21): Dispatcher::dispatch('/admin/clients/...') #8 {main} Not sure if it's a bug, but...
×
×
  • Create New...