PDA

View Full Version : njTQ


o_dog
02-19-2008, 12:14 AM
Simple to setup trial and quota script with support for the ioninja sitebot. At the moment it only supports 1 site but sitering support will come.

whats diffrent about it?
- it's really easy to setup
- support for several quota sections
- support for minimum mnup on quota
- exmepted users are not counted in monthup.
- really easy to add support for in ioNiNJA sitebot


note that it's only v0.1 so might be some small hickups but everything should work.

For support or bugreports, use this forum or #ioNiNJA @ EFnet.

http://odog.tx-shells.net

rolan
02-19-2008, 09:29 AM
nice works, great!

o_dog
02-21-2008, 05:31 AM
new version out, just replace njTQ.itcl

rolan
02-21-2008, 11:42 PM
can add any command to show quotapassed or quotafailed in the chan?

o_dog
02-21-2008, 11:43 PM
you mean, list everybody that passed or failed?

rolan
02-21-2008, 11:44 PM
yeah, list all passed or failed

o_dog
02-22-2008, 01:29 AM
not right now but will come

o_dog
02-25-2008, 09:11 AM
new version out

razoor
03-02-2008, 08:46 AM
any alternative link for this one o_dog?

razoor
03-02-2008, 07:48 PM
i can´t get the quota name to work for me when checking !passed on irc. it just says
14.6GB/12.0GB or 172MB/10.0GB > 4w 21h 19m 41s left

razoor
03-10-2008, 12:02 AM
Is it possible to get some other commands from irc as.

!quota passed/failed/all - list users for @ only that is.

Possible to get a groupquota added to?

razoor
03-29-2008, 04:19 AM
im bumbing this thread abit.

I really want this in the script.
So if you havent stopped the development on this script, it would be nice.

o_dog
03-29-2008, 04:21 AM
i have no plans on adding a group quota at the moment, might add one later but for now you'll have to make due with what it has.

razoor
03-29-2008, 11:07 AM
ok.
But i still miss a command so i as an admin can list those on quotas thou.
Either from irc or/both ftp

o_dog
03-29-2008, 11:10 AM
there is such a command on ftp i think, use site quotapassed or site quotafailed

razoor
03-29-2008, 11:55 AM
damn sorry. Must have overlooked the readme or the script. did try to find a command for it.
Thanks o_dog

razoor
04-09-2008, 06:20 AM
the script shouldent list those with the flag 6 on site quotafailed.
and it dosent announce what section is what on irc when i do passed. if i have multiple quotas.
Shouldent the user get exempted for the rest of the month if he passes trial?

razoor
05-04-2008, 11:08 AM
Do you still devlope this script or do you think it´s ok as it is??

Caus i still have problems as i have written above.
and i would like to get some more things in this script if it would be possible.


Group Quota - Iknow you dont want to add this atm. but maybe it can be on todo list


If a user gets added on the site and if it has gone more then 7 days of the month, the user should get excempted, otherwise he/she should get on monthly quota.


An option to set the user on vacation. Iknow i can make grp and just change, But would be great to have an irc command for this. !vacation <user> and the script sets the user on excempt.´A look at turoks quota script would be a good ide on this option. The user can set himself on vacation.



If a user pass trial, ´he should be moved when he does !passed <user>
As it is now the clock still counts down. and he is on trial all the time until the time is up, even if has passed the trial.

Well just some ideas.
Is annyone else using this script or is it just me.. seems im the only one writing here annyway, or im the only one with problems. :cool:

razoor
06-06-2008, 10:15 AM
If i want to rename a user and he/she is on trial.
He/she will still be listed with the old name, and if i try to do site trials del <user>.
Then it just refuses to remove the user from trial.

isteana
06-28-2008, 06:34 AM
njtq suggestion:

i want to njtq will get advanced features better than now
first, i also agreeing razoor todo list and more..
for example "site exempt/unexempt" it will does exempt/unexempt to user or group(need option) in quota by site command on via ftp client cuase to adding exempt user/group need to edit in that configuration file manually for the present
and im suggestin to njtq can going to 3 ways by siteop needed when quota failed..
1. failed user going delete
2. failed user going purge
3. delete nothing(disable even if quota failed)
and suggestin command !cut x(on irc) it will shows list of monthup users after number x but does exempt to exempted from quota groups/users
almost good quota scripts does like that..cuase its useful

razoor
08-10-2008, 10:17 AM
Another request for this script is to add an irc command where i can list failed/passed users.
and the above featuers to.
If you still are going to develope this script that is.
Seems unsupported atm :(

njtq suggestion:
im suggestin to njtq can going to 3 ways by siteop needed when quota failed..
1. failed user going delete
2. failed user going purge
3. delete nothing(disable if even qutafailed)

4. Failed user go back to trial.

razoor
03-26-2009, 05:32 PM
Hey o_dog.
Could you have a look at njtq script.
It dosent del the users when they faile quota.
Have never done so afaik.
I have set up a test ioftp with no other script then njtq and it dosent del the users.
The trial part does work thou.
03-16-2009 23:58:05 Scheduler event 'tqcleantimer' returned error.

And if you could add a !passed passed/fail command from irc to show failed/passed to ops would be cool. =)

and pls read the above and maybe fix?? ;) tose with 6 flags shouldent get listed in site quotafailed/passed

o_dog
03-28-2009, 05:33 AM
those with +6 flag should get purged. And no I wont add a !passed !failed command to irc, use ftpd.

o_dog
03-28-2009, 05:56 AM
njTQ.Beta.v0.4.2009-03-28.rar, try this one

razoor
04-30-2009, 05:10 PM
The script still dosent work o_dog
And those with the flag 6 still gets listed in site quotafailed

check_quota { check_quota [lrange $args 1 end] }
qu04-30-2009 00:58:54 "..\scripts\njTQ\njTQ.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
can't read "uid": no such variable
while executing
"resolve uid $uid"
(procedure "get_stats" line 16)
invoked from within
"get_stats $quotasections"
(procedure "clean_quota" line 61)
invoked from within
"clean_quota "
("tq_clean" arm line 1)
invoked from within
"switch -- [lindex $args 0] {
check_quota { check_quota [lrange $args 1 end] }
qu

o_dog
07-23-2011, 09:41 AM
This script still works?