Home | Networks | Community | Need Help? 

 
 Quick search

 
 
 RegisterRegister   Log inLog in 

EGs Web Services for Atheme
Goto page 1, 2, 3, 4, 5  Next
 
Post new topic   Reply to topic    SearchIRC Forum Index -> IRCD & Network Services
Author Message
jnewing
none
none


Joined: 27 Sep 2008
Posts: 42
Location: Ontario

PostPosted: Sep 10, 2009 9:07am    Post subject: EGs Web Services for Atheme Reply with quote

Yes, we've all seen web based user control panels for IRCd services, however I've been working on this for a little while and would like people to take a look at http://ucp.lildevlz.net (Yes to have a look it does require that you have a registered nickname on our network) hopefully providing ideas and feedback in a constructive manner.

What it is:
UCP is a web based control panel for IRCd Services that allows users to do a lot more than the usual check your memos kinda stuff.

Current Features:

    *HostServ Access: Users have the ability to manage (remove, request etc..) their vhosts. Opers have the ability to set, remove, etc... vhosts from the web panel.

    *NickServ Access: Full NickServ access, users can drop nicknames, add and remove aliases and set every single option available including kill protection, autoop and so on.

    *MemoServ Access: Of course this had to be here, yes full MemoServ access allowing userse to check, reply, send etc...

    *Chanserv Access: Users have the ability to manage sop, aop, and access lists, set channel topics, and modes, along with a plethora of other commands.

    *OperServ Access: Opers, Services Admins etc.. have full access to all OperServ commands, via the web panel.


ToDo:

    *BotServ Access
    *More Chanserv interaction
    *Feedback and ideas


So what makes this different? Well apart from the above mentioned abilities, together with services using a MySQL database with full read/write access this web panel and our services have a class that allows them to communicate directly with one another without the need to talk to MySQL.

So instead of: (UCP) -> (MySQL DB) -> (Services)
We can do: (UCP) <-> (Services) This allows us to use all the security, and options already build into our services, and simply interact with it via the web.
Back to top
therock247uk
none
none


Joined: 26 Aug 2005
Posts: 23

PostPosted: Sep 10, 2009 3:21pm    Post subject: Reply with quote

Interesting what services packages does it work with?
Back to top
PingBad
Post Whore
Post Whore


Joined: 05 Feb 2005
Posts: 3001
Location: New Zealand

PostPosted: Sep 10, 2009 3:29pm    Post subject: Reply with quote

and how does your UCP interact with services?

XML-RPC? HTTP server-side client-server model? Services acting like a database server for the UCP to interact directly with? other?
Back to top
jnewing
none
none


Joined: 27 Sep 2008
Posts: 42
Location: Ontario

PostPosted: Sep 10, 2009 6:23pm    Post subject: Reply with quote

PingBad wrote:
and how does your UCP interact with services?

XML-RPC? HTTP server-side client-server model? Services acting like a database server for the UCP to interact directly with? other?


TCP Client to Server based communication.
Services, has its own socket server, that allows our UCP to talk directly to the services via TCP.
Back to top
PingBad
Post Whore
Post Whore


Joined: 05 Feb 2005
Posts: 3001
Location: New Zealand

PostPosted: Sep 10, 2009 6:34pm    Post subject: Reply with quote

jnewing wrote:
PingBad wrote:
and how does your UCP interact with services?

XML-RPC? HTTP server-side client-server model? Services acting like a database server for the UCP to interact directly with? other?


TCP Client to Server based communication.
Services, has its own socket server, that allows our UCP to talk directly to the services via TCP.
don't suppose i could request a whitepaper/RFC on the data format exchange protocol?
Back to top
jnewing
none
none


Joined: 27 Sep 2008
Posts: 42
Location: Ontario

PostPosted: Sep 11, 2009 6:30am    Post subject: Reply with quote

While I've got no while papers kicking around, Orion services are open source, and provided ample documentation.

Orion:
Code:
svn co https://deepservices.svn.sourceforge.net/svnroot/deepservices/trunk


The PHP Class that I use to talk to its web socket I've also opened up to the public:
http://lildevlz.net/services/ (Both download and docs are there)

Lastly UCP (when finished) will either be open source and available to all, or packaged with Orion.
Back to top
PingBad
Post Whore
Post Whore


Joined: 05 Feb 2005
Posts: 3001
Location: New Zealand

PostPosted: Sep 11, 2009 5:08pm    Post subject: Reply with quote

Nice code Smile

One suggestion I would make would be use trigger_error in lieu of die() so custom error handlers can kick in and do what they need to do (for example, send an email off automatically to the webmaster and return a user-friendly error message), for example your services.php/connect function
Code:
   public function connect()
   {
      if (!is_resource ($this->ircd_socket))
                        {
                 $this->ircd_socket = fsockopen($this->socket_address, $this->socket_port, $this->error_num, $this->error_str, $this->socket_timeout);
                        }
      
      if (!is_resource ($this->ircd_socket))
                        {
                 trigger_error (sprintf ('Error: (%d) %s', $this->error_num, $this->error_str));
                        }
      
      return $this->ircd_socket;
   }
Back to top
jnewing
none
none


Joined: 27 Sep 2008
Posts: 42
Location: Ontario

PostPosted: Sep 12, 2009 8:56am    Post subject: Reply with quote

oo0000 good idea! thanks man Smile
Back to top
GigIRC
Lurker
Lurker


Joined: 07 Sep 2009
Posts: 106
Location: Melbourne, Australia

PostPosted: Sep 12, 2009 10:23am    Post subject: Keep Us Posted Reply with quote

I for one would definately be interested in this software please let us know of a release date when you have one set.



Timmy©2009
GigIRC
Back to top
PingBad
Post Whore
Post Whore


Joined: 05 Feb 2005
Posts: 3001
Location: New Zealand

PostPosted: Sep 12, 2009 10:41am    Post subject: Reply with quote

jnewing wrote:
oo0000 good idea! thanks man Smile
Always willing to help a fellow coder when and where I can, don't mention it Smile
Back to top
jnewing
none
none


Joined: 27 Sep 2008
Posts: 42
Location: Ontario

PostPosted: Sep 12, 2009 3:32pm    Post subject: Re: Keep Us Posted Reply with quote

GigIRC wrote:
I for one would definately be interested in this software please let us know of a release date when you have one set.
Timmy©2009
GigIRC


I have no "set" release date all I can say is it will be out when its done, once I feel its a little more completed I would be happy to toss up and SVN for users if I find there is interest for something like it.
Back to top
purechaos
none
none


Joined: 02 Oct 2008
Posts: 10
Location: Orlando, Florida

PostPosted: Sep 12, 2009 4:48pm    Post subject: Reply with quote

I must say, this sounds pretty interesting and wouldn't mind seeing the final release Smile
Back to top
GigIRC
Lurker
Lurker


Joined: 07 Sep 2009
Posts: 106
Location: Melbourne, Australia

PostPosted: Sep 13, 2009 12:58am    Post subject: Re: Keep Us Posted Reply with quote

jnewing wrote:
GigIRC wrote:
I for one would definately be interested in this software please let us know of a release date when you have one set.
Timmy©2009
GigIRC


I have no "set" release date all I can say is it will be out when its done, once I feel its a little more completed I would be happy to toss up and SVN for users if I find there is interest for something like it.


Well i will be watching this space for updates and well done brother very nice work

Timmy©2009
GigIRC
Back to top
greg27
Idler
Idler


Joined: 07 Oct 2006
Posts: 255
Location: Australia

PostPosted: Sep 13, 2009 3:14am    Post subject: Reply with quote

This looks awesome. I was working on something similar using the live mysql feature of epona - it had the same nickserv/chanserv/memoserv/etc control features along with a whole bunch of generic community things like quotes, forums, etc. It was almost finished when I lost interest, plus the disappearance (again) of the epona dev made things a little difficult.
Back to top
jnewing
none
none


Joined: 27 Sep 2008
Posts: 42
Location: Ontario

PostPosted: Sep 14, 2009 9:32am    Post subject: Reply with quote

Update: I've updated the source of my Class file and posted it, including the changes that PingBad suggested (thanks again), and added a few other things.
http://lildevlz.net/services/

Also as a side note I'm still working on the UCP however I feel confidant enough to say that by the end of this week I'll have a SVN up with a very beta version of our UCP in it, for those interested. If you would like to get in touch with me directly about features or things you would like to see included drop in on me @ irc.lildevlz.net -j #lildevlz

Thanks.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    SearchIRC Forum Index -> IRCD & Network Services All times are GMT - 6 Hours
Goto page 1, 2, 3, 4, 5  Next
Page 1 of 5

 
 
Forum powered by phpBB
 
 © 2000 - 2008 EverythingIRC, Inc. All rights reserved. Please read our disclaimer