Parent Directory | Revision Log
|Links to HEAD:||(view) (download) (annotate)|
adding recurring_jobs_clients to hold the information for recurring jobs.
set deploy_time to now for non-scheduled jobs.
move everything to new trunk directory
This is a very large commit from Rodrigo Lazo (rlazo) for Google SoC 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
in DB.php: 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.
adding changes from Rodrigo Lazo (rlazo) for Google SoC: modified add_job.php to make use of the new scheduling logic, plus other minor changes
adding a change from Rodrigo Lazo (rlazo) for Google SoC. these are basic changes to accomodate job fetching and editing.
some excellent updates from Rodrigo Lazo: UI DB functions have been modified to work with the new job_status model.
some larger structural changes here. 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
updating DB.php with a $db->query() function 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
updating the code for adding a job. finally works in MySQL.
adding a bunch of functions i wrote a long time ago and forgot about.
adding client status field filtering. defaults to Active removed old query
various updates regarding permissions added categories to the code, so that permissions can be grouped. A special group will consist of Scire UI permissions.
massive updates to the permissions code on users and clients. they now share a common permissions.tpl template. viewing of user/client permissions works, remove button doesn't. link to add works.
adding a scire_add_setting function
less stupid settings :P
adding settings stuff. needs to be made into a hash
various updates around the board. mainly focusing on client and user pages. some DB updates and asthetic changes. preparing for user sessions
adding adodb path link, tho not used yet changing db functions for new tables. added function for leftbar entries to save code.
updated some scire database interface files fixed some queries fixed the exporter pages (as useless as they are now).
move DBInterface.php to .lib/DB_functions.php
convert to using DB.php methods
adding the rest of the converted admin pages. conversion should be complete.
Lots more general updates. Getting things converted over and simplified.
add get_scire_user() function
initial scire files and directory added. more will come soon
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
|Powered by ViewVC 1.1.20|