summaryrefslogtreecommitdiff
path: root/scire
Commit message (Collapse)AuthorAgeFilesLines
* adding a link to create a job.HEADmasterPreston Cody2008-02-181-0/+3
| | | | svn path=/trunk/; revision=361
* adding some module support code as well as a prototype pagePreston Cody2008-02-1710-152/+471
| | | | | | | | for quickstart. reworking the job page to do what was previously in add_job.php we can now safely get rid of add_job i think. svn path=/trunk/; revision=356
* adding in the minimal phpgacl code. this is all that is necessaryPreston Cody2008-02-167-6/+5795
| | | | | | | | | for a functioning phpgcal setup. (pretty sweet eh?) minor touchup to user.php adding favicon.ico b/c apache seems to want it. svn path=/trunk/; revision=355
* switching location for config.phpPreston Cody2008-02-161-1/+2
| | | | svn path=/trunk/; revision=354
* config.php is now an example config. the realPreston Cody2008-02-162-3/+6
| | | | | | | config w/ database user/pass will be in /etc/scire/ modified common.php to account for new location. svn path=/trunk/; revision=353
* fixing up the jobs stuff. halfway there i'd say.Preston Cody2008-01-165-102/+88
| | | | svn path=/trunk/; revision=352
* adding calendar for use in setting the start and end ranges.Preston Cody2008-01-1416-2/+351
| | | | | | | no validation on which is before which. sorry. if your users are dumb, so be it. svn path=/trunk/; revision=351
* remove minute and 5-min interval possibilities. 15 min is our minimum.Preston Cody2008-01-113-4/+4
| | | | | | adodb's path is now in php5. dunno why they changed it, but kinda annoying. svn path=/trunk/; revision=348
* adding a regex-replace to strip carriage returns from script data.Preston Cody2008-01-111-0/+1
| | | | svn path=/trunk/; revision=347
* wrap tags in if(tags) incase of no tags.Preston Cody2008-01-111-4/+6
| | | | svn path=/trunk/; revision=346
* adding recurring_jobs_clients to hold the information for recurring jobs.Preston Cody2008-01-063-9/+33
| | | | svn path=/trunk/; revision=338
* get rid of that dependency thing.Preston Cody2008-01-021-1/+1
| | | | svn path=/trunk/; revision=308
* set deploy_time to now for non-scheduled jobs.Preston Cody2008-01-021-1/+2
| | | | svn path=/trunk/; revision=307
* This is a very large commit from Rodrigo Lazo (rlazo) for Google SoCPreston Cody2007-08-072-5/+51
| | | | | | | | | | | | | | | | | | | | | | | | This is the latest patch on the job execution series. As far as I could test it, now scire should be able to create, distribute, execute and gather the output of a job with the new models. Also the jobs register their status on the database (pending, downloaded, running, failed, finished or cancelled). So now all the backend code needed to "watch" a job is on its place. Right now a job gets executed but dies on the post processing stage (at least that is what I understand from the error message) Just move the GACL_functions.py from server/ to server/modules and apply this patch and you'll how myltiple entries are created for each member of the group in jobs_clients and on job_history. I've take some precautions regarding concurrency adding some locks, I'm not sure they are enough so please comment on that svn path=/; revision=247
* trying to make dyn_tags work betterPreston Cody2007-08-021-4/+9
| | | | svn path=/; revision=246
* let people define the tagsPreston Cody2007-08-021-0/+13
| | | | svn path=/; revision=245
* commented out the parser for the time being so the job will commit.Preston Cody2007-07-221-3/+3
| | | | | | | rlazo, feel free to uncomment for your use. added exception. svn path=/; revision=242
* add the statuses as a var for the template to use.Preston Cody2007-07-221-2/+2
| | | | svn path=/; revision=241
* lots of changes here.Preston Cody2007-07-221-4/+37
| | | | | | | | | | | | adding dynamic tags submission to the script. implemented the continue button which parses the script looking for tags, and when the page reloads it shows the tags so you can set default values. add the perm id svn path=/; revision=240
* small changes. for script, use the id and name of scripts, now passed in.Preston Cody2007-07-222-5/+7
| | | | | | | previously the id wasn't there. for client.tpl, use the statuses gathered. svn path=/; revision=239
* in DB.php:Preston Cody2007-07-222-43/+75
| | | | | | | | | | | | | | added get_next_id to grab the next id from a sequence added now to insert the timestamp in whatever DB format. in functions: added get_client_statuses() for clients pages modified add_client and add_job to use $db->now() fixed add_job to use the sequence. made the code simpler. fixed clients and clientgroups addition. heavily modified the script addition. uses sequence also adds tags passed to it now. svn path=/; revision=238
* changing the dyn_tags table to use scriptid instead of jobidPreston Cody2007-07-211-9/+12
| | | | | | fixing up the script creation section. still a work in progress. svn path=/; revision=235
* adding changes from Rodrigo Lazo (rlazo) for Google SoC:Preston Cody2007-07-213-8/+34
| | | | | | modified add_job.php to make use of the new scheduling logic, plus other minor changes svn path=/; revision=233
* committing code from Rodrigo Lazo (rlazo) for Google SoCPreston Cody2007-07-193-67/+586
| | | | | | | | adding job details skeleton code. fixing a small bug in jobs.php and also converting away from dos file format svn path=/; revision=232
* adding a change from Rodrigo Lazo (rlazo) for Google SoC.Preston Cody2007-07-191-0/+41
| | | | | | these are basic changes to accomodate job fetching and editing. svn path=/; revision=228
* adding 3 cron-handling files from rlazo for Google SoCPreston Cody2007-07-063-0/+1268
| | | | svn path=/; revision=226
* some excellent updates from Rodrigo Lazo:Preston Cody2007-06-161-5/+16
| | | | | | | UI DB functions have been modified to work with the new job_status model. svn path=/; revision=220
* add the db_type to login.Preston Cody2007-05-211-1/+1
| | | | svn path=/; revision=203
* just return the success code rather than the rowcount cause there is none.Preston Cody2007-05-211-2/+2
| | | | svn path=/; revision=202
* adding the new DB class that uses ADOdb functionality.Preston Cody2007-05-201-0/+216
| | | | svn path=/; revision=199
* major DB changes here. Switching from mysql-specific codePreston Cody2007-05-203-2/+3
| | | | | | | | to using the ADOdb interface for a lot of added flexibility and stability. It also has nice caching abilities and bind paramaters. the goal is to make Scire DB-independent. svn path=/; revision=198
* adding a whole bunch of access checks into the users and clientsPreston Cody2007-04-027-21/+56
| | | | | | | pages. not yet done on users but i think clients is done. adding an ignore to .smarty/templates_c/ svn path=/; revision=196
* fix up editing of permissions.Preston Cody2007-04-022-3/+3
| | | | svn path=/; revision=195
* adding pages that show a list of modules.Preston Cody2007-04-022-0/+29
| | | | | | very simple. lots more will be added later i'm sure svn path=/; revision=194
* adding an error page for access violations.Preston Cody2007-04-022-0/+20
| | | | | | tells you which priviledge you needed and didn't have. svn path=/; revision=193
* disable caching for the time being. don't think it works anyways.Preston Cody2007-04-021-3/+28
| | | | | | | | removed some excess junk lines. removed extra include added two access-checking functions. the first just returns true or false the second will divert to an error page if access is not given. svn path=/; revision=192
* simplifying code to take out double-queries for useridPreston Cody2007-03-266-58/+66
| | | | | | | | | adding a check to see if an object id already exists in the ACL list before adding a user or client to avoid issues where the ACL will add but the DB insert will fail on some constraint. svn path=/; revision=191
* some larger structural changes here.Preston Cody2007-03-266-20/+18
| | | | | | | | | | | userid, clientid, and permid are no-longer auto_increment values they instead will take their IDs from the gacl ids assigned. this makes linking between the tables much easier since the ids will always be the same. (no more lookups) also adding a bare_scire.sql file with a minimal setup this combines scire.sql and scire2.sql svn path=/; revision=190
* small comment changePreston Cody2007-03-171-1/+1
| | | | svn path=/; revision=187
* adding a line to grab/use the default value if none is already set.Preston Cody2007-03-173-3/+15
| | | | svn path=/; revision=186
* smarty: adding Modules link to main bar.Preston Cody2007-03-173-0/+26
| | | | | | | common: add path check. someone else please verify if this is secure. functions: adding functions for default fields values. svn path=/; revision=185
* adding path varible to allow for module use.Preston Cody2007-03-171-4/+4
| | | | | | adding comment that one of the includes can likely be cut svn path=/; revision=184
* removing old html and templates directories so they don't confusePreston Cody2007-02-1919-616/+0
| | | | | | adding screenshots for the user tour. svn path=/; revision=179
* updating the templates. script has been fixedPreston Cody2006-12-112-24/+207
| | | | | | | | to populate fields like priority and permissions from the DB rather than fake settings. add_job has been much improved. svn path=/; revision=175
* minor change to clientsPreston Cody2006-12-112-1/+31
| | | | | | | | fixing lots of bugs for script.php added the insert query code. tested briefly sensitive but works. svn path=/; revision=174
* adding job page settings. very similar to the other two/threePreston Cody2006-12-111-5/+50
| | | | svn path=/; revision=173
* updating DB.php with a $db->query() functionPreston Cody2006-12-113-3/+77
| | | | | | | | | which takes a straight up SQL query. updated a bunch of DB functions for jobs and scripts fixed the job insertion. added description to jobs fields in functions svn path=/; revision=172
* corresponding templatePreston Cody2006-12-111-77/+43
| | | | | | | changing the jobs page to use the methodology of the clients and users page with definable settings. svn path=/; revision=171
* changing the jobs page to use the methodology of the clients and users pagePreston Cody2006-12-111-6/+36
| | | | | | with definable settings. svn path=/; revision=170
* moving the scire_ui variable into the config.phpPreston Cody2006-12-113-2/+3
| | | | svn path=/; revision=169