Giter Site home page Giter Site logo

zpanel / zpanelx Goto Github PK

View Code? Open in Web Editor NEW
414.0 414.0 296.0 273.14 MB

ZPanel is a web hosting control panel written in PHP for Windows and *NIX host OS's.

Home Page: http://www.zpanelcp.com

License: Other

PHP 64.04% Erlang 0.01% Python 0.09% CSS 2.13% JavaScript 32.22% Shell 0.51% Perl 0.50% XSLT 0.42% C 0.10%

zpanelx's People

Contributors

5050 avatar allebb avatar andboson avatar andrychuyko avatar andykimpe avatar azwyou avatar calebgrove avatar crazyscience avatar denocle avatar hw-peter avatar japp-0xlabs avatar jasondavis avatar kevinbooijink avatar lottfy avatar martinkolle avatar mathdervakker avatar meistrr avatar ron-e avatar rustus avatar stokes84 avatar trojanspike avatar vjftw avatar wernersmit avatar zainengineer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

zpanelx's Issues

Module Admin View

The module admin doesn't display properly when you add more modules to it.

This issue was reported at the old bugs site but was never fixed.

server_admin_view

Forgot Password - Blank

Hi.

I just tested the Forgot Password. Now, although, it sends the reset link, it still goes to a blank page.

can't set domain containing www.com

Hey ,

I was trying to sent a domain magazineswww.com , but it was not active ,

please let me know hot do i set this domain in zpanal cp

pls help us

Webmail Issue

Whenever you create a new mailbox, it could take hours, but, MAINLY days before mail is actually sent or received.

It usually take about 5 days, or more, before my mailboxes are able to receive emails when dealing with outside email, like gmail, yahoo, etc. Also, usually, for the first few time; "it varies," but, the email is returned with a 553 error.

Sleep Mode

A Sleep Mode core module would be great in order to put the server to sleep at any time from the control panel. Also, if server admin wants to set a time for server to automatically go to sleep, a time can be set and it will automatically go to sleep at that time if the server is awake.

This way, since, the computer is technically still on, but, running at low power, then zPanel and domains will still run without the computer running hot which will keep the computer working longer due to not being heated all the time, or over heated.

Feature request

Before I make a change or submit a change I would discuss here this point:

I noticed that so many request are over openbase_dir setup. In so many cases zpanel users end up dropping all the security layer to get their websites working, as theyr fail to add the missing directories into openbase_dir path.

Proposal

Addind 2 new fields:

The first will be:
Code:
Global openbase_dir

Avaible thru Apache config.

It will allow to add openbase_dir server wide fields. This is important for libs like pear or such that need to be authorized in all server.

Currently the hack to do so is by using the openbase_dir temp and adding there a second entry
/var/zpanel/temp/:MysecondFolder

So either we add a separate field or use the current ( change the label then ).

The second and very important is to add such custom openbase_dir plain field in Vhost override feature.

Code:
Vhost custom openbase_dir

So users instead of only enable / disable it. They would be allowed to add any folder they want to access.

this will then require adding 2 new fileds in DB and modules small change.

Does not work on CentOS 6.5

I don't know if this software is tested on CentOs 6.4, 32bit.
I did:
curl -Ss https://raw.github.com/zpanel/installers/master/install/CentOS-6_4/10_1_1.sh

and this is what I get.

chkconfig mysqld on
chkconfig named on
chkconfig proftpd on
service httpd start
service postfix restart
service dovecot start
service crond start
service mysqld restart
service named start
service proftpd start
service atd start
php /etc/zpanel/panel/bin/daemon.php

restart all service

service httpd restart
service postfix restart
service dovecot restart
service crond restart
service mysqld restart
service named restart
service proftpd restart
service atd restart

We'll now remove the temporary install cache.

cd ../
rm -rf zp_install_cache/ zpanelx/

Advise the user that ZPanel is now installed and accessible.

echo -e "##############################################################" &>/dev/tty
echo -e "# Congratulations ZpanelX has now been installed on your #" &>/dev/tty
echo -e "# server. Please review the log file left in /root/ for #" &>/dev/tty
echo -e "# any errors encountered during installation. #" &>/dev/tty
echo -e "# #" &>/dev/tty
echo -e "# Save the following information somewhere safe: #" &>/dev/tty
echo -e "# MySQL Root Password : $password" &>/dev/tty
echo -e "# MySQL Postfix Password : $postfixpassword" &>/dev/tty
echo -e "# ZPanelX Username : zadmin #" &>/dev/tty
echo -e "# ZPanelX Password : $zadminNewPass" &>/dev/tty
echo -e "# #" &>/dev/tty
echo -e "# ZPanelX Web login can be accessed using your server IP #" &>/dev/tty
echo -e "# inside your web browser. #" &>/dev/tty
echo -e "# #" &>/dev/tty
echo -e "##############################################################" &>/dev/tty
echo -e "" &>/dev/tty

We now request that the user restarts their server...

while true; do
read -e -p "Restart your server now to complete the install (y/n)? " rsn
case $rsn in
[Yy]* ) break;;
[Nn]* ) exit;
esac
done
shutdown -r now

I rebooted, but I can't find, search, stop, start the service. The documentation is next to poor. Has anyone actually tried to crap? I'm reinstalling my OS now.

MySQL User View

When packages set to unlimited (the default setting now), the MySql User Quota doesn't display properly.

I reported this issue at the old bugs site, but it was never fixed.
mysql_user_quota_unlimited

Missing icons in the navbar for installed modules

Currently if you install a module there's not the associated class within the css to provide a nav icon for it (core modules get the clean sexy icons only). The main module layout handles this fine and pulls from the module assets. We're just going to make the navbar title grab an icon from the assets for aftermarket modules as well.


Before This Patch


After This Patch


Furthermore, as I'm a big fan of the sexy greyscale color theme I almost went there.... What I mean is that if you want to, just toss this in what is now line 75 after the width declaration....

style="filter: grayscale(100%); -webkit-filter: grayscale(100%); -moz-filter: grayscale(100%); -ms-filter: grayscale(100%); -o-filter: grayscale(100%); filter: gray;"

and you'll get this...


Greyscale


I didn't include this because it's not really theme friendly as the rest of the icons you'd be able to control easily (from the accessible css file) but these you'd have to bust out nasty !important declarations over all of em. Again, just my train of thought for others, I'll personally mod it to greyscale myself as I dig the default design. @bobsta63 if you like the greyscale for core uniformity let me know and I'll resubmit with it in there.

redirect

Please, add redirect function in the new update :)

Backup

i have only one domain and it takes like 15 backup daily from it and cause the ram goes high from the zip and make the server halt i need a fix to take only one backup per day please i am using zpanel 10.1.1 and centos os 6.5 X64

all (new) domains pointing to zpanelcp

when a client add a new domain, this point to the zpanelcp and not to the index.html in the folder that has been made.

os: linux ubuntu
zpanel: 10.1.1

can't admin dns

Hi! after upgrade , i 've to issues, first, i can't open dns admin(module=dns_admin), its going down , and second, zones seems not update correctly, after ip change o create, i already try executing daemon., i've to change it manually ando the restart bind9..

Zpanel 10.1.1 Cosmetic Bug

Update page states:

"You appear to be running a BETA release, unless you are testing or developing we recommend you download and use the latest stable release (10.1.0)."

Has no effect on system that can be seen.

my ip is not working

My server is a VPS with ubuntu 13.10. the ip is not working, my wrong was install twice zpanel. I saw the hosts file in etc path there were many hosts.

Please help me to solve this problem.

FIX newly added subdomains should work immediately

right now it seems I need to manually rerun the zPanel daemon and restart the apache2 service. Otherwise newly added subdomains just show the zPanel login page (which cannot be changed into a placeholder as far as I know).

mind you that *.exampledomain.com is already directed to the zPanel server, so its not a DNS issue.

MariaDB Support

Hi,
I really like MariaDB. Can you make support for MariaDB?

Theme Manager tweak

Hi.

A great idea would be for Theme Manager to be tweaked to where clients, resellers and server admin can choose their own theme for their account if server admin has multiple themes installed instead of themes being global throughout all accounts.

Example:
Server Admin may want to use zpanelx.
Reseller may want to use OrangeJuiceV1.
Client may want to use zSimple.

Of course multiple clients and resellers choose different themes from each other.

Awhile ago, I opened Theme Manager to my client account and changed the theme. Now, although, it didn't change the theme to my server admin account, when I went back to my server admin account and changed the theme, it changed the one for my client account to the one I chosen for server admin.

I was hoping that it wouldn't have been a global change through server admin. I actually thought that as long as I had Theme Manager active in my client account, when I changed the theme in server admin, the theme wouldn't change in my client account unless I went back and changed it.

Can't add subdomain

Hi,

I have added to one account this sub domain
sub1.mydomain.com

and didn't use the domaine it self. As the domain itself is configured somewhere else.

And then I try to add webftp.mydomain.com and bam error: you can't add it as a domain you need to do that as a SUB DOMAIN.

But in subdomaine I can only add *.sub1.mydomain.com BUT not webftp.mydomain.com as I intended.

The only dirty solution is adding the domain first EVEN if I don't use it, wich is non sense, otherwise I can't use both.

Subdomains check should be enforced only on *.sub1.mydomain.com not *.mydomain.com.

M B

Auth Scripts Loaded When Logged out

Server: CentOS 6.4 64bit
———————————
If you are logged out after doing a direct upgrade from 10.1.0 to 10.1.1 it sometimes loads the function:
static function RequireUser()
and that errors out because you're selecting from the database when they're not logged in and there's no theme.

Feature Request: SNI Module

Would love a module to easily add SSL certificates for each domain using SNI. Right now doing a virtualhost override isn't that hard but would be great to do this all within the panel. Would make ZPanel a more complete solution.

Error after update. Connection failed.

Hello I am installing zpanel.
Usually installed by following a tutorial, cconsegui access to admin.
I had already created my domains and database.
When I noticed that he was requesting an update.
I updated and I can not access SSH, not with the admin server ip and even with the domain.

DNS TXT record, on paste and save, is not the same result

I have DNS hosted using zpanel
On one of my records, I created google._domainkey for my TXT record for DKIM.

I pasted in the following into the target:
v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCLZXkUVC/1VOwTHw00xQLDK+qlkRlVhr/4avYQfOlf275P9dbCizngpODCrdg76UrjuNlIuX0j1Ish5e1zxvopDKPCL4K/z/mLVuGAQTjrRt4UZ9EAT4NdN9/xDEM0ff/W+dTc5XI2lvS+ksBKNvpZ/jMC4FRvBj9xKH2AZU5YmwID[1234]
Where [1234] is the last 4 digits of my key.

When I save the entry, I receive this in the GUI and in the SQL database:

v=dkim1; k=rsa; p=migfma0gcsqgsib3dqebaquaa4gnadcbiqkbgqclzxkuvc/1vowthw00xqldk+qlkrlvhr/4avyqfolf275p9dbcizngpodcrdg76urjunliux0j1ish5e1zxvopdkpcl4k/z/mlvugaqtjrrt4uz9eat4ndn9/xdem0ff/w+dtc5xi2lvs+ksbknvpz/jmc4frvbj9xkh2azu5ymwid[1234]

TXT codycook._domainkey.codycook.us 17 min v=dkim1; k=rsa; p=migfma0gcsqgsib3dqebaquaa4gnadcbiqkbgqclzxkuvc/1vowthw00xqldk+qlkrlvhr/4avyqfolf275p9dbcizngpodcrdg76urjunliux0j1ish5e1zxvopdkpcl4k/z/mlvugaqtjrrt4uz9eat4ndn9/xdem0ff/w+dtc5xi2lvs+ksbknvpz/jmc4frvbj9xkh2azu5ymwid[1234]

Also, this violates RFC 4871, 3.2 "Tags MUST be interpreted in a case-sensitive manner. Values MUST be processed as case sensitive unless the specific tag description of semantics specifies case insensitivity."

As this is clearly a RSA key, it should be case-sensitive.
zpanel fails to keep case when applying DNS settings.

As a workaround, I've tried to edit directly in database. I still cannot send e-mail though.

Feature Request-DB names w/ user name added

(TGates here) I would like to propose the addition of $username_$databasename for the creation of database users. Makes it easier for zadmin when checking accounts if using root login in phpmyadmin for better organizing users and what account they belong too. instead of trying to cross-reference user ID# etc.

DNS BIND9 Has issue not reloading

I had a website that consistently showed old DNS information, even after forcing a reload through the module admin. I had to force reload the Bind9 service through SSH. I would take this as a bug that means the Bind9 Module isn't reloading corruptly when told to.

Running Zpanel 10.1.1 on Ubuntu 12.04 LTS on two different server, one on VPS, the other on a physical machine in my house, both had the same issue.

Text Alert core module

Hi.

A Text Alert module would be great in order to inform the server admin's phone about the server being down, modules and/or services that stopped working (i.e. ftp, webmail, apache, dns, etc).

  1. You enter your phone number(s).
  2. When the server is down/offline, a module stops working, or service goes down, a text will be sent to the server admin's phone(s) alerting about the problems.

Alphabetising

Hi.

In the next version, would you please make the following where no matter at what period "MySQL Databases," "MySQL Users," and "FTP Accounts" are created, each item will ALWAYS be in alphabetical order to make it easier to find? Thanks.

MySQL Databases Example:
a, b, c instead of b, a, c and so forth, no matter when a user creates the database.

can't admin dns

Hi! after upgrade , i 've to issues, first, i can't open dns admin(module=dns_admin), its going down , and second, zones seems not update correctly, after ip change o create, i already try executing daemon., i've to change it manually ando the restart bind9..

Cron & Named Permissions

Looks like two slight bugs are lingering that are present on CentOS 6.4 x86_64 and other CentOS versions (as stated in forum fixes).

Fresh install on updated CentOS x86_64 renders cronjobs unable to be created and dns logs unable to be read. Also the "Set Permissions" button does not remedy.

Log file is not Readable

System Cron file could not be created

Original DNS Log Fix: Resolved @ Support Forum

Original Cron Fix: Resolved @ Support Forum


New DNS Fix: chmod 751 /var/named | chmod 771 /var/named/data

  • Changing permissions from 750 to 751 on named and also changing permissions from 770 to 771 on data folder allows zpanel to execute named.run
  • Possible underlying ownership error since this is requiring public execution permissions to get log access but is this even a security risk?
  • Only tested exact permissions needed to read log file, didn't generate errors to "Clear" or "View".

New Cron Fix: chmod 744 /var/spool/cron

  • changing permissions from 644 to 744 allows zpanel to write cronjobs

Could these fixes be included in etc/build/prepare.sh like so?

Example
echo "Setting permissions.."
chmod -R 777 /etc/zpanel/
chmod -R 777 /var/zpanel/
chmod 751 /var/named
chmod 771 /var/named/data
chmod 744 /var/spool/cron
echo "Complete!"

User account not properly deleted.

On a zPanel 10.1.0 server upgraded to 10.1.1 yesterday.

Steps to replicate:
(1) Log in as the zadmin user
(2) Go to Reseller -> Manage Clients
(3) Enter the fields to create an account, click Save
(4) Log in as the user, add a domain
(5) Log in as the zadmin user again
(6) Delete the account, zadmin notifies that existing domain transferred to zadmin user.
(7) Go back to Reseller->Manage Clients
(8) Attempt to create the client again (with the same email address)

Expected Result:
(1) Previous domains should be listed in zadmin user.
(2) New (empty) client created.

Actual Result:
(1) Domains not listed under zadmin user.
(2) Error: "Another user account is already using this email address."

Module Editor

A module editor would be great to have as a core module. The object would be:

  1. Choose the module from a dropdown menu.
  2. From the list of files within that module, click on the file.
  3. In the text editor, go to the line that needs to be edited.
  4. Save changes.
  5. The text editor should also have line numbers to keep track of where you are and make it easier to find the line you're looking for.
  6. The text editor should be color-coded.
  7. The text editor should be color-coded to let you know when there are open tags, basically, like Dreamweaver.
  8. Tabbing should be allowed to be used to line things up within tags.

This way, whenever there are quick fixes, we can edit the module from our control panel. Thanks.

2-part Proftpd Core Module

Proftpd Login:

  • This will enable the ability to log into Proftpd and configure the ftp server by launching it from the control panel and entering the given login info after installing zPanel on Linux.

Override password:

  • This module will allow the ability to change the password just in case the password doesn't work after the installation of zpanel, or if server admin just wants to change the password to something that he/she can remember.

Backup doesn't contain emails

The zpanelx backup from the default backup funciton only contains the public_html folder and the MySQL databases.

It would be nice if a backup also contains emailaccounts (and their content). Users maybe want to backup their emal.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.