Fetching contributors…
Cannot retrieve contributors at this time
1672 lines (1287 sloc) 66.8 KB
2011-03-04 Test message from QWB
2010-11-04 Phil Windley <>
* Kynetx/ (get_rule_set): make undef rules list into [] to
avoid unhelpful error.
2010-10-26 Web-san <>
* Kynetx/ (process_event_for_rid): Don't put RID in req_info; req_info isn't scoped.
* Kynetx/ (get_rule_set): Allow RID to be passed in
2010-10-21 Web-san <>
* Kynetx/ (process_event_for_rid): Allow for optional mode clause
* Kynetx/ (show_context): Allow for optional mode clause
* Kynetx/ (process_schedule): Allow for optional mode clause
* Kynetx/ (pp_rule_body): allow for optional mode clause
* Kynetx/ (build_js_load): make null action lists empty
* Kynetx/ (get_rules_from_repository): Added Dumper and RID to error message
2010-10-20 Phil Windley <>
* Kynetx/ (get_rules_from_repository): Forcing local
parsing. Check to ensure optimization version matches exactly
(for rollbacks)
2010-10-19 Phil Windley <>
* Kynetx/ (get_optimization_version): Changed optimization number
2010-10-19 Web-san <>
* Kynetx/ (gen_js_hash_lines): Gen js for LHS
* Kynetx/ (eval_hash_raw): Eval the lhs and check return type
* Kynetx/ (pp_hash_line): have to pp the lhs now
* parser/RuleSet.g: Changed LHS of hash line to be an expression
2010-10-18 Web-san <>
* Kynetx/ (get_rules_from_repository): Upgraded error conditions and messages for returns from repository
2010-10-14 Web-san <>
* Kynetx/ (process_event): Use respond.
* Kynetx/ (process_rules): Use respond.
* Kynetx/ (respond): new. Common response module to gather together duplicate code.
2010-10-13 Web-san <>
* Kynetx/ (eval_log_statement): Now returning valid JS
* Kynetx/ (exp_to_den): Fixed bug that modified original expr
* Kynetx/ Fixed OParser bug
* Kynetx/ (eval_filter): Fixed denoted error
2010-10-11 Web-san <>
* parser/RuleSet.g: new raise AST
* Kynetx/ (pp_post): new raise AST
* Kynetx/ (infer_type): defaults to undef now instead of string
* Kynetx/Modules/ Changed to respect changes to
* Kynetx/ (eval_raise_statement): Made event name and ruleset spec exprs instead of tokens. Ruleset spec my eval to a string or array of strings.
2010-10-06 Web-san <>
* Kynetx/ (get_rule_set): removed dependence on RS being in req_info and added new helper functions for stashing ruleset in req_info
* Kynetx/ (process_event): removed dependence on RS being in req_info
* parser/RuleSet.g: Added new "sharing" pragma
* Kynetx/ (pp_sharing): added to support new "sharing" pragma
* Kynetx/ (eval_module): added code to support key retrieval in code
2010-10-01 Web-san <>
* Kynetx/Modules/ removed update as a datasource call. All updates should now use the action.
2010-09-27 Web-san <>
* Kynetx/ (get_rules_from_repository): Added semaphore clearing to two returns that happen before the getting is done. This is messy and bug prone. Wish I had a "finally"
2010-09-23 Web-san <>
* Kynetx/ (eval_module): changed to expect in new place
* Kynetx/Modules/ moved to Modules from Predicates, added update action
2010-09-17 Web-san <>
* Kynetx/ (eval_persistent_expr): Getting ready for App vars
* Kynetx/Predicates/ (process_oauth_callback): Added update function
2010-09-14 Web-san <>
* Kynetx/ (eval_raise_statement): put new RID in same mode as current
* Kynetx/ added test for undefined objects
* Kynetx/Predicates/ (get_access_tokens): refactored to use access tokens from the meta block if present.
2010-09-01 Web-san <>
* bin/ added switch to print elapsed time
* Kynetx/ (pp_foreach): Added fix for old parse trees in foreach
* Kynetx/Predicates/ (get_pageinfo): Added 'params' function that returns all params to an event.
2010-08-27 Phil Windley <>
* Kynetx/Predicates/ (get_weather): Added "string_value()" to
all find expressions for directives.
2010-08-24 Web-san <>
* Kynetx/ (eval_append): Added
2010-08-23 Phil Windley <>
* Kynetx/ moved eval_hash to eval_hash_raw and
added eval_hash
2010-08-23 Web-san <>
* Kynetx/Predicates/ (get_pageinfo): added fall thru error for Sam
* Kynetx/ (eval_pick): use clone instead of dclone
* Kynetx/ (eval_one_decl): clone the value before creating JS
2010-08-11 Phil Windley <>
* Kynetx/ (split_re): Added function to split regexp and changes match, replace, and split to use it.
* Kynetx/ Added optional "re" marker to regexp syntax
2010-08-04 Phil Windley <>
* Kynetx/ (eval_module): 'event' is a synonym for 'page'
* Kynetx/Modules/ Added.
2010-07-29 Phil Windley <>
* Kynetx/ (add_to_env): Added.
* Kynetx/ (build_one_action): Removed uniq_id from rule_env; not a user var, so shouldn't be in there.
* Kynetx/ (eval_module): Added clause for http
(eval_module): Added 'event' as a source alias for page
2010-07-27 Phil Windley <>
* Kynetx/ (build_one_action): Added 'http' as a source for actions
* Kynetx/ Added 'http' as a legitimate explicit event domain. Added optional "setting" clause to actions
* Kynetx/ (eval_raise_statement): Changed $expr to $m when looping over modifiers.
2010-07-14 Phil Windley <>
* Kynetx/ (eval_post_expr): Added explicit path to explicit_callback
2010-07-13 Phil Windley <>
* Kynetx/ (eval_persistent_expr): Added explicit paths
to calls to things in Kynetx::Expressions
* Kynetx/ No changes, but lots of playing
* Kynetx/ Fixed resource registration because of move
to Kynetx::JavaScript::AST
* Kynetx/JavaScript/ (mk_registered_resource_js): Added
resource registration to generated JS
* Kynetx/ Removed separate resource registration call
* Kynetx/ (process_schedule): Added resource registration
to AST
* Kynetx/ (eval_foreach): uses den_to_exp now instead of
getting vals directly from hash; make sure var array is really an
2010-07-12 Phil Windley <>
* Kynetx/ (get_rules_from_repository): Use timed
semaphore to keep the same ruleset from being parsed at the same
* Kynetx/ Added functions to use memcached as a timed
2010-07-09 Q Wade Billings <>
* This is a test commit to test hooks - QWB
2010-07-01 Phil Windley <>
* Kynetx/ Allow lists of vars to set
* Kynetx/ (eval_foreach): Now works on hashes too
* Kynetx/ (pp_foreach): Generalized for lists of vars
* Kynetx/ (gen_js_var_list): Added.
2010-06-30 Phil Windley <>
* Kynetx/ (eval_use): Added to process use pragmas in meta block
* Kynetx/ (process_event): split out code that processes an
event for a single RID into separate subroutine so that it can be
used later.
* Kynetx/ (process_event_for_rid): broke out for individual
* Kynetx/ (process_callbacks): Changed to use Postlude
instead of Actions
2010-06-29 Phil Windley <>
* Kynetx/ (get_rule_set): cached the ruleset in the
req_info and use it if we can
2010-06-28 Phil Windley <>
* Kynetx/ Split out postlude functions from
* Kynetx/ (eval_raise_statement): Added.
2010-06-25 Phil Windley <>
* Kynetx/JavaScript/ (generate_js): Now we (partially) use a JS
AST and generated JS from it
* Kynetx/ (process_event): Uses schedules now instead of
rule lists
* Kynetx/ (process_schedule): Uses schedules now instead of
rule lists
* Kynetx/ Schedules! Yeah!
* Kynetx/ (parse_ruleset): Commented out some Dumper calls
2010-06-24 Phil Windley <>
* Kynetx/ (get_rule_set): Now turns logging on or off
depending on ruleset
* bin/mk_module: removed SVN commands
2010-06-21 Mark Horstmeier <>
* Kynetx/ Added better debug to explain why JSON decode failed
* Kynetx/ Added .as("json") syntax
* Kynetx/Predicates/ made change to check for FB application metadata bug
* Kynetx/Predicates/Google/ Reset debug statements and removed uri_encode from callback
2010-06-18 Mark Horstmeier <>
* Adds set operations to arrays
* Kynetx/ added set operations
* Kynetx/ added set operations
* t/Operators.t: new tests for set operations
2010-06-18 Cid <cid>
* Resolves issue where ann and perc did not work together well.
* Commit Revistion : 636
* Release Runtime :
2010-06-18 Phil Windley <>
* Kynetx/ (pp_use): Added support for using resources.
* Kynetx/ Added support for using resources.
2010-06-17 Phil Windley <>
* Kynetx/ Added general "send_directive" action
* Kynetx/ (gen_directive_document): Added to normailize
directive document generation from two place.
2010-06-16 Phil Windley <>
* Kynetx/ (flush_data): Added to support data flush
* Kynetx/ (mk_config_string): Added for testing rules with
config blocks. Used in Actions.t and Rules.t
* Kynetx/ Added syntax for explicit raise in postlude
* Kynetx/ Fixed spacing in pp_cond and added
pp_modifier_clause and pp_raise
2010-06-15 Phil Windley <>
* Kynetx/ (build_one_action): Changed how config OBJ is
created for JS. Now uses gen_js_expr instead of evaling.
* Kynetx/ (gen_js_hash_item): Added to normalize JSON
2010-06-15 Mark Horstmeier <>
* Kynetx/Predicates/ primary change to
* Kynetx/Predicates/Google/ Explicit definition of hash
2010-06-14 Cid <cid>
* Resolves issue where side tab does not show notification number right #763
* Commit Rev #628
* Runtime Rev:
2010-06-14 Cid <cid>
* Resolved issues 807 and 796
* Change proto call function to return https if document is not http or https.
* Change errorstack function to just have more information in stack
* Added more code to get sandbox working.
* Commit Rev #626
* Runtime Rev:
2010-06-14 Mark Horstmeier <>
* Added callback handler for facebook Oauth
* Kynetx/Predicates/ facebook integration
* Kynetx/Predicates/Google/ Added support for OAuth v2.0
* Kynetx/Predicates/ Minor changes in call to OAuthHelper
* Kynetx/Predicates/ support for function name change in
* Kynetx/Predicates/ bug fix
* Kynetx/ support for Facebook config file and generic module config
requires /web/etc/Facebook/facebook.yml
requires /web/etc/module_config.yml
* Kynetx/ changed function name, added stub function for testing
* Kynetx/ Split functionality of get_remote_data into two functions
* Kynetx/ added facebook as module datasource
* Kynetx/ added eval .as("array") for the persistant arrays
* Kynetx/ added validators and args parsers that seem to be common to my REST impl.
* t/Predicates/OData.t: Updated tests
* t/Predicates/Facebook.t: Test suite for facebook
2010-06-11 Phil Windley <>
* Kynetx/ (get_optimization_version): incremented optimization
version to force ruleset reload in cache
2010-06-11 Cid <>
* Fixed the dam side tab again .browser was called on $ not $KOBJ
* Runtime is
* Commit Number : 623
>>>>>>> .r631
2010-06-09 Cid <>
* Added changes to jquery-ui themes
* Added a few more actions to help with jquery ui. Non of them will be published until
jquery ui is released as a feature.
* Published runtime for this update
* Runtime above is for commit 621
2010-06-08 Cid <>
* Added new themes for jquery-ui code.
* Updated to have new action called remove
* Updated to collect all resources needed by all actions in a rule set not just last one.
* Updated sidetab to work better with IE
* Published runtime for this update
2010-06-08 Phil Windley <>
* Kynetx/ (set_capabilities): Made 'understands_javascript'
a default for event domain 'web' (bug 785)
2010-06-07 Mark Horstmeier <>
* Fix for 745
* Kynetx/ Initialized $errors in ruleset rule
2010-06-04 Phil Windley <>
* Kynetx/ Added to support directives
* Kynetx/ (get_rules_from_repository): Fixed a
logging message.
* Kynetx/Events/ (submit): Support for generalized events
* Kynetx/ (process_rules): Support for directives
* Kynetx/ (build_one_action): Support for directives
* Kynetx/ (set_capabilities): Sets endpoint capabilities
in req_info
* Kynetx/ Support for generalized events and directives
* Kynetx/ added new operators, support for generalized events
* Kynetx/ added support for generalized events
* Kynetx/Actions/ adds email actions
* Kynetx/ added split and join
2010-06-02 Cid Dennis <cid>
* Added code to to allow for some of the jquery ui feature to be used in krl.
2010-06-02 Cid Dennis <cid>
* Resolves issues #768 to add more fields including rule set id and name to error stack reports.
Commit : 612
2010-06-02 Cid Dennis <cid>
* Resolved issue #768 where if multiple apps were defined at one time the datasets call would
not be formulated right.
* Added runtime test to do more checking of double fire and conflict testing on
some sites.
2010-06-01 Phil Windley <>
* Kynetx/ (eval_emit): Added eval_emit. Empty for
now, but provides a hook for emit processing later
* Kynetx/ (build_js_load): Added explicit call to eval_emit
for emits
* Kynetx/ (escape_js_str): Added escaping for
newlines and carraige returns
* Kynetx/ Removed commented code that did var expression
the old (pre-environment) way
* Kynetx/ don't strip // comments in extended quotes
2010-05-28 Cid Dennis <>
* Fixed issue 747 where people wanted a simple action to changes attributes on an html page. There is now a new
action called set_element_attr(<jquery selector>,<attribute name>,<value to set>)
2010-05-28 Cid Dennis <>
* Fixed issue with KGrowl where default were never reqest between request.
2010-05-27 Phil Windley <>
* Kynetx/ (structure_operators): Made previous fix
non-greedy in the regexp
2010-05-26 Phil Windley <>
* Kynetx/ (structure_operators): fixed comment in << " \'.//..\' " >> problem
2010-05-25 Mark Horstmeier <>
* Turned up logging in
* Kynetx/ Forced init of $tree and $errors to null (worth a try)
2010-05-25 Cid Dennis <>
* Updated event manager to allow for unregistering of events
2010-05-25 Cid Dennis <>
* Fixed issue in runtime where apps using same selector would get duplcated incorrectly. Now dup check is done per app not per selector.
2010-05-25 Cid Dennis <>
* Updated runtime to better handle external resources and fixed the engine not to execute the closure before
it was passed into the runtime.
2010-05-12 Cid Dennis <>
* Added more testcases for runtime
* Refactored Directory structure for example Javascript Files
* Added Event Manager Framework
* Tied Runtime to new Event Manager Framework
M /bin/
A /bin/install-js-resources.rb
D /etc/js/0.8
A /etc/js/0.9/frameworks/bg_iframe
A /etc/js/0.9/frameworks/bg_iframe/1.0
A /etc/js/0.9/frameworks/bg_iframe/1.0/jquery.bgiframe.js
A /etc/js/0.9/frameworks/dom_watch
A /etc/js/0.9/frameworks/dom_watch/1.0
A /etc/js/0.9/frameworks/dom_watch/1.0/krl-domwatch.js
A /etc/js/0.9/frameworks/form_fill
A /etc/js/0.9/frameworks/form_fill/1.0
A /etc/js/0.9/frameworks/form_fill/1.0/formfill.js
A /etc/js/0.9/frameworks/jquery
A /etc/js/0.9/frameworks/jquery/1.4.2
A /etc/js/0.9/frameworks/jquery/1.4.2/jquery.js
A /etc/js/0.9/frameworks/jquery_sprintf
A /etc/js/0.9/frameworks/jquery_sprintf/1.0.3
A /etc/js/0.9/frameworks/jquery_sprintf/1.0.3/jquery_sprintf.js
A /etc/js/0.9/frameworks/json
A /etc/js/0.9/frameworks/json/1.2
A /etc/js/0.9/frameworks/json/1.2/jquery.json-1.2.js
A /etc/js/0.9/frameworks/kgrowl
A /etc/js/0.9/frameworks/kgrowl/1.0
A /etc/js/0.9/frameworks/kgrowl/1.0/kgrowl-1.0.js
A /etc/js/0.9/frameworks/perc_and_annotate
A /etc/js/0.9/frameworks/perc_and_annotate/1.0
A /etc/js/0.9/frameworks/perc_and_annotate/1.0/krl-annotate.js
A /etc/js/0.9/frameworks/perc_and_annotate/1.0/krl-percolation.js
A /etc/js/0.9/frameworks/sidetab
A /etc/js/0.9/frameworks/sidetab/1.0
A /etc/js/0.9/frameworks/sidetab/1.0/krl-sidetab.js
A /etc/js/0.9/frameworks/snowfall
A /etc/js/0.9/frameworks/snowfall/1.0
A /etc/js/0.9/frameworks/snowfall/1.0/snowfall.jquery.js
D /etc/js/0.9/jquery-1.4.2.js
D /etc/js/0.9/jquery-ui-1.8.custom.js
D /etc/js/0.9/jquery.bgiframe.js
D /etc/js/0.9/jquery.json-1.2.js
D /etc/js/0.9/kgrowl-1.0.js
D /etc/js/0.9/krl-annotate.js
M /etc/js/0.9/krl-application.js
D /etc/js/0.9/krl-domwatch.js
A /etc/js/0.9/krl-eventmanager.js
M /etc/js/0.9/krl-functions.js
D /etc/js/0.9/krl-percolation.js
M /etc/js/0.9/krl-runtime.js
M /etc/js/0.9/krl-setup.js
D /etc/js/0.9/krl-sidetab.js
D /etc/js/0.9/snowfall.jquery.js
2010-05-12 Phil Windley <>
* Kynetx/ Added watch action
* Kynetx/Events/ (mk_dom_prim): Generalized to handle all web
events except pageview. Added new web events
* Kynetx/ Added new web events
* Kynetx/ Added mail events; removed : from event domains
* Kynetx/ (pp_event_expr): Added mail events
2010-05-07 Mark Horstmeier <>
* Kynetx/Predicates/ bug fix to remove $t hash
2010-05-05 Cid Dennis <>
* etc/js/0.9/krl_applicaiton.js: Fixed an issue where wrong application id was passed back to server for rule execution when multiple apps were on the same page.
2010-05-05 Cid Dennis <>
* etc/js/0.9/formfill.js: Put the code that jam wanted in. this is a hack until they decided how to really
do this kind of code.
* bin/ Added script above to runtime builder.
2010-05-04 Mark Horstmeier <>
* Kynetx/ added set_form_maps and fill_forms actions for JAM
* Kynetx/ added VAR to meta block for key argument
2010-05-03 Phil Windley <>
* Kynetx/ (var_free_in_expr): Fixed problem not
classifying var as free in the args to an operator
* Kynetx/ (eval_match): Added.
2010-04-30 Cid Dennis <>
* Alter the runtime to not depend on $K as it conflicts with some websites. The
runtime now uses $KOBJ. But I still define $K on sites where it will not
2010-04-24 Cid Dennis <>
* Fixed flippy loo and the resource stuff once and for all.
2010-04-23 Cid Dennis <>
* Added double check to make sure register resources only accepts valid data.
2010-04-23 Phil Windley <>
* Kynetx/ (build_one_action): made resource undef,
refactored resource functions and put in Added tests
to Actions.t
2010-04-23 Cid Dennis <>
* Tuncate the stack trace from runtime to errorstack to 500 characters. Also fixed an issue where KRL engine make
variables that looked like K$ not $K.
* Fix resource loader after code in KRL engine and small interation bug in runtime when doing KOBJ.reload.
* Fixed flippyloo action to now send javascript when used not before and few other resoruce loading bugs
* Fixed bug where kvars were ignored by runtime.
* Fix bad array refencing
* Added Timestamp back into runtime code so it will be easy to see what version it is
2010-04-23 Mark Horstmeier <>
* Kynetx/ added a debug statement for a time function
* Kynetx/ Fall back for the Windley vest bug. debug statements
* Kynetx/ Fixed reference miss for RSS and OData
* Kynetx/ Fall back for the Windley vest bug.
2010-04-23 Phil Windley <>
* Kynetx/ vars and vals now name spaced by sm id
* Kynetx/Events/ vars and vals now name spaced by sm id
* Kynetx/ removed array deference
2010-04-22 Phil Windley <>
* Kynetx/ (get_optimization_version): returns optimization version
* Kynetx/ (get_rules_from_repository): checks
optimization version to force ruleset flush when needed.
* Kynetx/ (infer_type): Added hash for literal types
and restricted 'typed_value' check to only those.
2010-04-19 Mark Horstmeier <>
** Added some new functions to the time module: now(), new(), add(), strftime(), atom()
* Kynetx/Predicates/ new functions
* t/Predicates/Time.t: test cases for each of the new functions
* t/Predicates/Google.t: Uses the new time functions to handle dates in Atom format
2010-04-19 Phil Windley <>
* etc/js/0.9/krl-runtime.js.tmpl: added KOBJ.raise to raise events and
changed runtime to call it when a pageview event occurs.
* Kynetx/ (process_event): support for multiple RIDs per call
* Kynetx/ (handler): Refactored dispatch to support new,
extended dispatch for new API
* Kynetx/ New dispatch code. Reserve old code as "simple_dispatch"
* Kynetx/ (get_rules_from_repository): no longer cache
not found rulesets, report error instead.
2010-04-15 Mark Horstmeier <>
* Kynetx/ Added hook for odata actions
* Kynetx/ Helper functions for odata
* Kynetx/Predicates/ new module for OData integration
* Kynetx/ added hook for odata predicates
* Kynetx/ convenience method to check and add '/' to EoS
* t/Predicates/OData.t: test suites against and netflix for
2010-04-15 Cid Dennis <>
* bin/ Added code to wrap the runtime and make sure it does not initialize two time.
* etc/js/0.9/jquery.json-1.2.js: Var name fixes
* etc/js/0.9/krl-annotate.js: Var name fixes
* etc/js/0.9/krl-domwatch.js: Var name fixes
* etc/js/0.9/krl-percolation.js: Var name fixes
* etc/js/0.9/krl-runtime.js.tmpl: Var name fixes
* etc/js/0.9/krl-setup.js: Var name fixes and added back in errorstack function
* etc/js/0.9/krl-sidetab.js: Var name fixes
* etc/js/0.9/snowfall.jquery.js: Removed extra lines and fixed var name
2010-04-13 Phil Windley <>
* Kynetx/ Added line numbers and columns to AST
2010-04-13 Mark Horstmeier <>
* Kynetx/Predicates/ Fixed unresolved references to Session and OAuthHelper
* Kynetx/Predicates/Google/ fixed unresolved references to Session
2010-04-12 Mark Horstmeier <>
* Kynetx/Predicates/ removed circular references
* Kynetx/Predicates/Google/ removed circular references
* Kynetx/Predicates/Google/ removed circular references
* t/Predicates/Google.t: removed circular references
* Kynetx/ removed circular references
* Kynetx/ removed circular references
* Kynetx/ removed circular references
2010-04-09 Phil Windley <>
* Kynetx/ (pp_event_expr): Updated for other Web events
2010-04-07 Mark Horstmeier <>
* Internal release of gdata/calendar implementation, documentation still needs documenting
* Kynetx/ Added check for google actions
* Added rest landing spot for google oauth callback
* Kynetx/ Added some debug handles to check session values
* Kynetx/ Added check for google module
* Kynetx/ added blessed(1) reference to decode
* Kynetx/ added support for google config file
* Kynetx/Predicates/ gdata protocol infrastructure
* Kynetx/Predicates/Google/ Helper module using Net::OAuth instead of simple
* Kynetx/Predicates/Google/ Calendar flavor of gdata impl
* t/Predicates/Google.t: test suite
* /web/etc/Google/gconfig.yml: (in puppet)
* requires perl modules:
* DateTime
* DateTime::Format::RFC3339
* DateTime::Format::ISO8601
* Encode (probably default install)
2010-04-01 Phil Windley <>
* Kynetx/ (pp_select): Added back code to pretty print
old AST
2010-03-31 Phil Windley <>
* Kynetx/ (merge_req_env): new function for merging events
* Kynetx/ (process_event): Works now...
* Kynetx/ (process_ruleset): Changed to be usable from
events, as well as ruleset API. Uses new mk_rule_list() function
to normalize for old API.
2010-03-25 Mark Horstmeier <>
** New action 'sidetab'
* Kynetx/ Added sidetab action
* t/Actions.t: Added test for sidetab action
2010-03-25 Phil Windley <>
* Kynetx/ (astToJson): added convert_blessed(1)
2010-03-24 Phil Windley <>
* Kynetx/ (optimize_rule): added if-then-else to accomodate
new syntax for patterns
* Kynetx/Events/ added composition operators
* Kynetx/ (get_precondition_vars): changed to support
new AST
* Kynetx/ (pp_rule_body): Added support for event syntax
* Kynetx/ Added support for event syntax
2010-03-19 Mark Horstmeier <>
* Increase compatibility between the Kynetx runtime and 3rd party JavaScript libraries
* Kynetx/ Removed references to jQuery with \$K
* Kynetx/Predicates/ Removed references to jQuery with \$K
* Kynetx/Predicates/ Removed references to jQuery with \$K
* Kynetx/Predicates/ Removed references to jQuery with \$K
2010-03-17 Mark Horstmeier <>
** Bug fix to restore time predicates
* Kynetx/ Time predicates were left off when the module loading mechanism
was refactored. This has my google references but they are commented out
2010-03-16 Phil Windley <>
* Kynetx/ (get_authz_tokens): added 'chico' namespace to tokens
* Kynetx/ (process_ruleset): commented out ruleset dump in
debug & gave default val of 'unknown' to $eid
2010-03-09 Phil Windley <>
* Kynetx/ provide a persistent data service
for accessing values in the persistent user store. Used by
Marketplace to store activated apps for a user
2010-03-08 Phil Windley <>
* Kynetx/ processes rulesets for authorization pragma
* Kynetx/ (process_ruleset): added check for authorization
meta commands.
2010-03-08 Mark Horstmeier <>
* Kynetx/ Added RSS tag to dataset
* Kynetx/ Added RSS module
* Kynetx/Predicates/ New RSS module to provide convenience access for RSS feeds
* t/Predicates/RSS.t: Test suites
2010-03-02 Phil Windley <>
* Kynetx/ Added support for authz pragma
* Kynetx/ (pp_meta_item): Added support for authz pragma
2010-03-02 Mark Horstmeier <>
* Kynetx/ cleaned up Amazon config
* Kynetx/ removed get_yaml method to make sure it is not referenced elsewhere
* Kynetx/ removed call to configure
* Kynetx/Predicates/ cleaned up Amazon config
* Kynetx/Predicates/Amazon/ cleaned up Amazon config
* Kynetx/Predicates/Amazon/ cleaned up Amazon config
2010-03-01 Mark Horstmeier <>
* Kynetx/ support google keys in the meta tag
2010-02-22 Mark Horstmeier <>
* Kynetx/Predicates/ added a debug statement so IP is always displayed for
geoIP requests
2010-02-19 Mark Horstmeier <>
* Kynetx/ added uc and lc operators
* Kynetx/ added uc and lc operators
* t/Operators.t: added uc and lc operators
2010-02-19 Mark Horstmeier <>
* Kynetx/Predicates/Amazon/ fix for merchantid
* t/Predicates/AmazonLookup.t: Lookup tests update
* t/Predicates/AmazonSearch.t: Search tests update
2010-02-16 Mark Horstmeier <>
* Kynetx/ added an optional cache key so the digital signature required
by Amazon wont break our cache
* Kynetx/ see Kynetx/
* Kynetx/ added Amazon module
* Kynetx/Predicates/ Dispatcher to Amazon qualified functions
* Kynetx/Predicates/Amazon/ Helper module to sign requests
* Kynetx/Predicates/Amazon/ Amazon ItemLookup operation
* Kynetx/Predicates/Amazon/ Amazon ItemSearch operation
* Kynetx/ added unified interface for JSON encode/decode to always UTF-8
* Kynetx/ added convenience function for caching yml files to memcache
* Kynetx/ check for the Amazon keys
* Kynetx/ added check for amazon actions
* t/Predicates/AmazonLookup.t: Lookup tests
* t/Predicates/AmazonSearch.t: Search tests
* /web/etc/Amazon/locale.yml
* /web/etc/Amazon/searchindex_itemindex_us.yml
* /web/etc/Amazon/response_group.yml
* /web/etc/Amazon/searchindex.yml
* /web/etc/Amazon/searchindex_itemindex_ca.yml
* /web/etc/Amazon/search_response_groups.yml
2010-02-11 Phil Windley <>
* Kynetx/ (eval_pick): Added check to make sure $v is
an array before dereferencing it.
2010-02-09 Sam Curren <>
* Changed inner.html to inner.text to fix FogBugz ticket 374.
Produced a new runtime.
2010-02-09 Phil Windley <>
* Kynetx/ (eval_foreach): Allowed for singletons in
foreach (make them into arrays of one item).
2010-02-08 Phil Windley <>
* Kynetx/ Removed default function for ASR and ALSR actions.
2010-02-08 Mark Horstmeier <>
* Kynetx/ added percolate and flippyloo actions
2010-02-06 Phil Windley <>
* Kynetx/ (gen_js_predexpr): Fixed up Javascript
string equality is generated
2010-02-05 Phil Windley <>
* Log/Log4perl/Appender/ Log4perl appender for ErrorStack
* Kynetx/ (config_logging): Using ErrorStack when config
contains a stack key
* Kynetx/ Added head, tail, sort, map, and filter on arrays.
* Kynetx/ Added array references
* Kynetx/ (eval_array_ref): Added array references
* Kynetx/ (pp_expr): Added array references
* Kynetx/ (gen_js_expr): Added array references
2010-02-03 Phil Windley <>
* Kynetx/ Fixed negative numbers so they work
2010-02-02 Phil Windley <>
* Kynetx/ added mk_closure, added function to
translate old predicates to function apps. So far, just applies
to "truth()". All others have to be namespaced.
* Kynetx/ (process_rules): Added initial rule environment
that defined "truth()"
* etc/js/0.9/krl-runtime.js.tmpl: changed document.URL to
window.location.href in KOBJ.eval
2010-02-01 Phil Windley <>
* Kynetx/ Added module to generalize OAuth usage in KRE
* Kynetx/Predicates/ Added module to talk to KPDS
2010-01-27 Phil Windley <>
* Kynetx/ (lookup_rule_env): Added "defined" to
initial test so that zero (false) valued items can be returned.
* t/ Broke expression test cases into separate file
so that Expressions.t and JavaScript.t can both use them.
* Kynetx/ support for new eval_expr.
* Kynetx/ completely reworked expression and predicate
* Kynetx/ completely reworked expression and predicate
* Kynetx/ Support for new eval_expr instead of
* Kynetx/ Former Predicate evaluation
moved to eval_library added (former
* Kynetx/ Separated expressions from Javascript
generation. Fixed some issues with generation.
* Kynetx/ Separated expressions from Javascript
generation. Added support for function definition and
application. Moved predicate language into expression. Fixed
some issues with denoted values.
2010-01-21 Mark Horstmeier <>
* Kynetx/ added a parse beesting function to eval_js_expr
* Kynetx/ added use utf-8 to make uft-8 the default encoding
* Kynetx/ add trace level to debugging for console work
* Kynetx/ added expression to debug statement
* t/JavaScript.t: added tests for beesting evaluation
* t/XML.t: updated version of Datasets.t to add XML testing
2010-01-20 Phil Windley <>
* etc/js/0.9/krl-annotate.js: Added updated watchDOM function
* Kynetx/ Added support for amazon and kpds keys
* Kynetx/ (eval_js_expr): Added evaluation for
function, changed to use mk_expr_node for return results.
* t/Datasets.t: Added initialization for Log4Perl
2010-01-19 Phil Windley <>
* Kynetx/ (gen_js_function): Added initial support
for functions
* Kynetx/ (eval_replace): normalize regexp code
* Kynetx/ (ineq_test): 'like' operator now accepts
regexp in addition to strings interpreted as regexp.
2010-01-15 Mark Horstmeier <>
* Kynetx/ Refactored the whole module to support
datasets/datasources with JSON and XML sources. For
convenience, there are helper functions that mimic the old
behavior (see Datasets.t), but those should be deprecated
* Kynetx/ changed data source references to use the new
object methods
* Kynetx/ Modified parser to support the optional data source
type syntax
* Kynetx/ changed data source references to use the new
object methods
* t/Datasets.t: minor modifications made for testing. All of the original
tests are there to make sure of backwards compatibility (though
there shouldn't be any references to the old methods)
* t/RuleManager.t: modified an AST test to support new datatype syntax
2010-01-15 Phil Windley <>
* bin/ Amazon upload or local gen, not both;
use production config for Amazon always.
* Kynetx/ Added function decls
* Kynetx/ Added function decls
* Kynetx/ (configure): production and development
configuration hierarchy supported
* Kynetx/ (gen_req_info): Added option for 'ip'
* Kynetx/ (eval_rule): fixed multiple logging of 'fired'
in foreach rules
2010-01-09 Phil Windley <>
* Kynetx/ (optimize_pre): Fixed over aggressive
optimization of extended quotes in foreach loops.
* Kynetx/ (var_free_in_here_doc): Added support for
determining if variables are free in extended quotes;
2010-01-08 Phil Windley <>
* Kynetx/ Updated to use namespaces in actions by
loading them from modules.
* Kynetx/Predicates/ defined Twitter module
* Kynetx/ added Twitter as a datasource
2010-01-06 Phil Windley <>
* Kynetx/ updated to support new label separator
and namespaced actions.
* Kynetx/ updated to support new label separator
and namespaced actions.
2010-01-06 Mark Horstmeier <>
* Kynetx/ Removed type check from exp_to_den because it
had a namespace collision with yahoo web api datasource (looked for type)
2009-12-28 Mark Horstmeier <>
* t/Configure.t: Switched Configure.t to use a more flexible version of
Test::Harness. Using Test::Deep instead to read a base template for
config variable existence. Still using the development.yml and
production.yml templates for deeper inspection, but if there is a
variable that changes often you can mark it with '#ignore' and the
comparison will be similar to the Test::More::exists function.
* t/data/base.yml: Checks for variable existence on a single level.
* t/data/development.yml: Flagged RUNTIME_LIB_NAME as #ignore
* t/data/production.yml: Flagged RUNTIME_LIB_NAME as #ignore
2009-12-21 Phil Windley <>
* Kynetx/ Added changes to annotate_* in case function
is missing.
* etc/js/0.9/krl-annotate.js: moved CSS functions inside function
to avoid nasty overwriting bug.
2009-12-21 Mark Horstmeier <>
* Kynetx/ added stub for new snowfall action
2009-12-12 Phil Windley <>
* Kynetx/Predicates/ (get_pageinfo): fixed to work with two
element hostnames.
2009-12-11 Phil Windley <>
* Kynetx/ (eval_foreach): commented out long debug statement
* Kynetx/ Normalized how strings are generated.
2009-12-11 Phil Windley <>
* Kynetx/ Refactored action hash to include before and
after subroutines for any action. build_one_action now uses
them and action specific code moved out.
* Kynetx/ Added UserAgents to the list of modules to load.
* Kynetx/ (normalize): treat strings better. Don't
normalize them.
* Kynetx/ (eval_pick): clone the object to avoid
rewriting original in rule env.
* Kynetx/ (eval_globals): works like let* rather than
let. Normalized with how preludes are calculated
* Kynetx/ den_to_exp is smarter, doesn't do more
than necessary.
* Kynetx/Predicates/ initial add, not working yet.
2009-12-08 Mark Horstmeier <>
* Kynetx/ Added modulus to eval_js_prim
* Kynetx/ Added modulus to lexicon and to factor_op
* t/JavaScript.t: Added a few expr tests to support modulus
2009-12-03 Phil Windley <>
* Kynetx/ (process_action): Added context sensitive
field data for annotated_search_reseults
* etc/tmpl/httpd-perl.conf.tmpl: Removed HTTPD directives that are
now coming directly from config file
* bin/ Removed commented out code
* Kynetx/ Use config params rather than CONSTANT
2009-12-02 Mark Horstmeier <>
* Added additional REST method 'mth' for mod_perl testing
additional REST method 'mth' for mod_perl testing
* Kynetx/ Removed constants: DATA_ROOT, CACHEABLE_THRESHOLD
* Kynetx/ Referenced YAML for RUN_MODE, DEBUG
* Kynetx/ Added 4 methods, get_properties, to_string, set_run_mode, set_debug
get_properties returns a copy of the $config hash
set_run_mode modifies RUN_MODE
set_debug modifies DEBUG
Replaced package constants with YAML ref
* Kynetx/ Referenced YAML for KOBJ_ROOT
* Kynetx/ Referenced YAML for RUN_MODE, TEST_IP
* Kynetx/ Added method test_harness for testing in the mod_perl environment
* Kynetx/ Added specific ref to Apache2::Const::FORBIDDEN,OK for perl -w test
* etc/kns_config.yml: Added multiple mandatory config variables.
* t/Configure.t: I have made a major change to the test harness for
Configure. Since the kns_config.yml file is now the authority for
system variables, I made the associated tests in Configure.t more
robust and added support for context sensitive (RUN_MODE) testing
* t/data/development.yml: New File Sample Template for development
* t/data/production.yml: New File Sample Template for production
* t/KOBJ.t: Restored initialization of Kynetx::Configure
* t/Datasets.t: Restored initialization of Kynetx::Configure
2009-12-02 Phil Windley <>
* Kynetx/ Added support for "last" control statement in
the postlude. Added modified syntax for keys.
* Kynetx/ (pp_post_expr): Added support for "last"
control statement in the postlude.
* bin/ removed dependence on
* Kynetx/ Added support for "last" control statement in
the postlude.
* Kynetx/ (eval_post_statement): Added support for a
guard condition on postlude statements and support for "last"
control statement.
2009-11-20 Phil Windley <>
* Kynetx/Predicates/ Added a 'random' function
* Kynetx/ (eval_as): Added eval_as as a generalized
coercion replacement for toRegexp
2009-11-16 Phil Windley <>
* Kynetx/ (add_errorstack): Added support for calling errorstack
2009-11-12 Phil Windley <>
* Kynetx/ (get_datasets): Removed need to pass svn connection
* (describe_ruleset): Removed need to pass svn connection
* Kynetx/ (get_rules_from_repository): Added option
for getting rules from the rulemanager API.
2009-11-02 Phil Windley <>
* Kynetx/ (gen_js_var): Added to normalize creation
of vars in JS
* Kynetx/ (eval_toRegexp): Added to allow for coercion
of strings to regexps.
2009-10-30 Phil Windley <>
* Kynetx/ (optimize_pre): Move decls not dependent on
foreach var into outer_pre and vars that are into inner_pre
* Kynetx/ (var_free_in_expr): added to compute if a
var is free in a given expression
* Kynetx/ (eval_foreach): added support for foreach in
* Kynetx/ added support for foreach in rule.
* Kynetx/ added support for foreach in rule.
2009-10-03 Phil Windley <>
* Kynetx/ (show_context): Changed to work with changes
for rule selection done to
* Kynetx/ (eval_ruleset): Refactored to do rule selection
processing in eval_ruleset instead of get_rule_set.
2009-10-01 Phil Windley <>
* Kynetx/ Support for decls in global section
* Kynetx/ eval_js_pre now generates JS
* Kynetx/ no longer use emit_decl_js
* Kynetx/ Put rules in their own closure and explicitly
put prelude JS decls in rule.
2009-09-09 Phil Windley <>
* Kynetx/ Changed conditional expression parsing to
speed it up by several orders of magnitude on large conditional
2009-09-08 Phil Windley <>
* etc/tmpl/httpd-perl.conf.tmpl: Added RID of executing ruleset to
CB log
* Kynetx/ (process_action): Added RID of executing ruleset
* Kynetx/ support for conditional expressions
* Kynetx/ support for conditional expressions
* Kynetx/ support for predicates in expressions
* Kynetx/ (explicit_callback): incomplete function to do
explicit callback
* Kynetx/ (eval_log_statement): Added support for
explicit callbacks to postlude
2009-09-01 Phil Windley <>
* Kynetx/Predicates/ (get_pageinfo): added support for
'param' datasource. Removed security check on page:env for now.
* etc/js/0.9/krl-runtime.js.tmpl: Updated annotate_search_results
auto-callback to use RID. Standard action config block now
contains rid.
2009-08-31 Phil Windley <>
* Kynetx/ Added support for generating test env, sessions,
and req_info.
* Kynetx/ (process_callbacks): Added support for
callback triggers. Rules now read and used on callbacks.
* Kynetx/ (gen_js_callback): Added support for 'change'
keyword in callbacks.
* etc/js/0.9/krl-runtime.js.tmpl: Added support for 'change'
keyword in callbacks.
* Kynetx/ (session_store): Added timestamp to top level
so that Memcachedb stores them
2009-08-17 Phil Windley <>
* Kynetx/ Added syntax for persistents
* Kynetx/ Added syntax for persistents
* Kynetx/ Added support for persistent expressions
* Kynetx/ Added support for persistent predicate
* Kynetx/ Added functions to support trails
* Kynetx/ (eval_rule): Refactored postludes
* Kynetx/ (eval_persistent_expr): added to support
generalized persistent expressions in postludes
2009-08-04 Phil Windley <>
* Kynetx/ (eval_datasource): refactored to use new module.
* Kynetx/Predicates/ (get_pageinfo): added. page:url now
2009-07-15 Phil Windley <>
* Kynetx/ (eval_ruleset): Turn off logging for any ruleset
that's turned it on. Logging independence!
* Kynetx/ (turn_on_logging): Added callback to replace
newlines with newlines and JS comment chars
(turn_off_logging): added
* Kynetx/ Extended abstraction with additional
functions to support refactoring
* Kynetx/ Refactored to support new session abstraction
* Kynetx/ Refactored to support new session abstraction
* Kynetx/ Refactored to support new session abstraction
* Kynetx/ (eval_counter): Refactored to support new
session abstraction
* Kynetx/ (eval_predicates): Refactored to support
new session abstraction
* Kynetx/ Refactored to support new session abstraction
2009-07-10 Phil Windley <>
* Kynetx/ Added methods to abstract session variable.
* Kynetx/ (eval_ruleset): Sam added support for closure
registration and execution.
* Kynetx/ (datasets): Sam added support for dataset
2009-07-09 Phil Windley <>
* Kynetx/ (eval_meta): Added support for keys in the meta
* (handler): Modified method/RID regexp to not require
RID for methods like version
2009-06-27 Phil Windley <>
* Kynetx/ (handler): Changed to never redirect to
CloudFront when HTTPS
2009-06-25 Phil Windley <>
* Kynetx/ (get_datasource): string arg now gets tacked
directly on. Hash arg generates QUERY string
* etc/tmpl/httpd-perl.conf.tmpl: Support for billing logs
* Kynetx/ Support for billing logs
* bin/kobj_log_daemon: supports multiple logs files per machine
and reads config from the configuration system
* Kynetx/ Support for literal hashes
* Kynetx/ Support for literal hashs
* etc/js/0.9/krl-runtime.js: anotate_search_results now accepts
params to modify the what get annotated.
2009-06-22 Phil Windley <>
* Kynetx/ Moving configuration into YAML file. This
module reads that file and sets up the configuration.
* etc/tmpl/httpd-perl.conf.tmpl: Changed significantly to accomadate
* bin/ Changed significantly to accomadate
* Kynetx/ (handler): Changed default values for rule
logging in callbacks
* Kynetx/ (tie_servers): Using config that can point
sessions at different servers from memcached servers
2009-06-18 Phil Windley <>
* Kynetx/ (get_remote_data): Beefed up content
retrieval with LWP instead of LWP::Simple. Caching only if
2009-06-15 Phil Windley <>
* bin/ Changed to allow separate
inclusion of SVN config.
* etc/tmpl/httpd-perl.conf.tmpl: Changed to allow separate
inclusion of SVN config.
2009-06-13 Phil Windley <>
* Kynetx/ (eval_ruleset): Fixed problem with how select
vars extend the rule environment.
* Kynetx/ (extend_rule_env): Changed to support
extending via a hash as well as a list of keys and values.
2009-06-04 Phil Windley <>
* Kynetx/ (infer_type): Changed to be pickier about
numbers. Don't accept leading 0 as a number. Added tests for
infer_type to javascript.t
2009-06-03 Phil Windley <>
* Kynetx/ Support for regular expressions as primitives
and the replace operator
* Kynetx/ (eval_replace): Added the replace operator
* Kynetx/ (eval_js_pre): Fixed so that sequential
decls see previous decl's results in environment
2009-06-02 Phil Windley <>
* Kynetx/ (get_rule_set): Separated out selection testing
& var setting so we can test it.
* Kynetx/ Removed old way of keeping track of JS vars
* Kynetx/ (emit_var_decl): uses output from flatten_env now.
* Kynetx/ Added flatten_env to produce vars and
values in properly scoped order.
2009-05-28 Phil Windley <>
This was a major refactoring to remove the dependency on hashes
and ad hoc namespacing from the language and use the functions in to create proper symbol tables that automatically
handle local variables, etc.
* Kynetx/ (build_one_action): Accomadate changes to rule environments.
* Kynetx/ Multiple changes to create and use environments.
* Kynetx/ (get_datasets): Accomadate changes to mk_dataset_js
* Kynetx/ (mk_dataset_js): Changed how dat ais returned
so that it can be place in environment properly
* Kynetx/ (eval_js_expr): Support for environments.
Added lookup_rule_env for vars
2009-05-27 Phil Windley <>
* etc/js/0.9/krl-runtime.js: Moving kvars code into eval so that
it might work.
2009-05-15 Phil Windley <>
* Kynetx/ Moved from to create general
operator functionality. Added 'length' operator for arrays.
* Kynetx/ general operators
* Kynetx/ (pp_expr): general operator support
* Kynetx/ Updated 'pick' to be a general operator with
variable rands
2009-05-11 Phil Windley <>
* Kynetx/ (pp_meta_item): Updated to support name
and author in meta section
* Kynetx/ Updated to support name and author in meta section
* (describe_ruleset): Updated to return new data (name
and author) in the describe method
2009-05-07 Phil Windley <>
* t/Comments.t: Tests for remove_comments
* Kynetx/ (remove_comments): Added support for extended
2009-05-06 Phil Windley <>
* etc/tmpl/httpd-perl.conf.tmpl: Updated to reference 20090506
version of the runtime library
* etc/js/0.9/kgrowl-1.0.js: Fixed position for IE
* etc/js/0.9/krl-runtime.js: Changed how CSS is inserted.
* Kynetx/ (get_datasource): Removing newlines from
non-JSON sources
* Kynetx/ Added & developed module for general
symbol tables; not yet in use.
* Kynetx/ Changed action JS to support general jQuery
2009-05-04 Phil Windley <>
* Added method names to logging for all methods
* etc/tmpl/httpd-perl.conf.tmpl: Added method names to logging
* Kynetx/ (eval_ruleset): Moved logging to outer most
level in ruleset evaluation.
* Kynetx/ (log_rule_fire): Fixed bug that kept logging from
working when no ruleset was selected
2009-04-29 Phil Windley <>
* etc/tmpl/httpd-perl.conf.tmpl: changed path for callback API to
include "callback"
* etc/js/0.9/krl-runtime.js: updates to annotate_search_results to
account for Google's new AJAXian SERP.
* Kynetx/ (process_action): Changed how redirect is done.
* Kynetx/ Updated annotate_search_results to include
callback function in call.
2009-04-25 Phil Windley <>
* Kynetx/ (eval_globals): Added css statement to globals
* Kynetx/ Added css statement to globals
* Kynetx/ Added new action for closing notifications.
2009-04-23 Phil Windley <>
* Kynetx/ (eval_ruleset): Reset 'rule' name for each
ruleset for logging (MDC->put)
* Kynetx/ (build_one_action): Added support for native
config params
* etc/js/0.9/kobj-extras.js: Change annotate_search_results to use
native config parameters.
2009-04-11 Phil Windley <>
* Kynetx/ (lint_rule): Added some inital validation
checking for rules on parsing to try and catch invalid select
* Kynetx/ (mk_dataset_js): Changed dataset JS to store
in the KOBJ obj rather than as a standard var.
* Kynetx/ Added data set definition defenses.
* Kynetx/ Added to support pick expressions with
JSONPath patterns.
* Kynetx/ (gen_js_expr): Added support for pick expressions.
* Kynetx/ Added support for JSONPath based picks
* Kynetx/ Changes to support Parser changes.
* Kynetx/ Support for new "pick" expression. Pre decl is
now optional.
2009-04-04 Phil Windley <>
* extras/pilot/chrome/content/pilot/pilotOverlay.js: Modified to
support new initialziation sequence.
* Kynetx/ (handler): Updated to support multiple
ruleset evaluations in a single call.
* Kynetx/ Removed KOBJ code. Added datasets method.
Changed kobj.js generation to support new model for backwards
* etc/js/0.9/kobj-extras.js: Combined KOBJ code and updated to run
KOBJ.eval based on a configuration object
2009-04-03 Phil Windley <>
* Kynetx/ Fixed error reporting in parse API
* Kynetx/ Fixed error reporting for component parsing in
support of parse API
* etc/tmpl/httpd-perl.conf.tmpl: Load different startup file for KRL
* added new startup for KRL. Patch until we redo
the respository
2009-03-27 Phil Windley <>
* Kynetx/ (eval_rule): Wrapped generated JS in function
application to create namespace on the cheap to get ready for
multiple ruleset evaluations on a single page.
* Kynetx/ (build_one_action): updated setTimeout to use
function instead of string so that we can use closure to capture
* t/Actions.t: updated test for new setTimeout call.
2009-03-26 Phil Windley <>
* Kynetx/ refactored code that interprets API from URL
path info. Added dispatch method and support code for returning
dispatch domain info.
(get_kobj): Fixed KOBJ for double loads. Fixed to be
more rebust.
2009-03-23 Phil Windley <>
* Kynetx/ Added parsing and unparsing methods for
meta and dispatch directives
2009-03-20 Phil Windley <>
* Kynetx/ Added to provide interface code (moved
from for repository.
* Added "use" for all major Kynetx libraries.
* Kynetx/ Added support for user declared datasets.
* Kynetx/ Generalized support for API path parsing and
bulkding the request envionment.
* Kynetx/ Added generalized support for parsing and
unparsing rulesets, rules, and global decls in support of
Intersekt improvements.
2009-02-13 Phil Windley <>
* Kynetx/ Added support for logging pragma
* Kynetx/ Redid config_logging() to remove external
configuration files and added turn_on_logging() to support
logging pragma
* pilot/pilotOverlay.js: Added test mode support code
* pilot/pilotOverlay.xul: Added menu items for test mode.
* Kynetx/ (get_rule_set): Turn on logging when logging
pragma present
* Kynetx/ (get_kobj): Fixed bug with parameter pass thru
2009-02-10 Phil Windley <>
* etc/js/0.9/kgrowl-1.0.js: Added default value for opacity. This
allows it to be changed.
2009-01-22 Phil Windley <>
* etc/tmpl/httpd-perl.conf.tmpl: Added config var for kobj_dir
* bin/ New was to calculate base dir from
where the program runs.
* Kynetx/ Added version functions
* t/Version.t: Added tests for version number
* t/dev/rules.t: Added pragma to ensure symbolic links are followed
* t/dev/use.t: Added pragma to ensure symbolic links are followed
2009-01-12 Phil Windley <>
* bin/ Removed use of HTTP directives for
memcache configuration.
* bin/ Removed use of HTTP directives for
memcache configuration.
* etc/tmpl/httpd-perl.conf.tmpl: Removed use of HTTP directives for
memcache configuration.
* (handler): Removed use of HTTP directives for
memcache configuration.
* Kynetx/ (handler): Removed use of HTTP directives for
memcache configuration.
* Kynetx/ Gets memcached hosts from the
/web/etc/memcache_ips file instead of the http.conf file. This
allows better puppet configuration control.
2009-01-10 Phil Windley <>
* Kynetx/ Added support for meta block and description block
* Kynetx/ Added support for meta block and description block
* (describe_ruleset): Added "describe" method to hander
* Kynetx/ (get_rules_from_repository): Save ruleset verion
in memcached and retrieve it when you get rules from cache
* t/cs.t: Added tests for the DESCRIBE method
2009-01-08 Phil Windley <>
* (handler): Fixed "flush" $site regexp to work with
non-numeric site ids
* Kynetx/ Fixed $site regexp to work with non-numeric
site ids
* t/cs.t: Added tests for running ruleset server
2009-01-06 Phil Windley <>
* bin/ removed an incorrect switch from the call to
* Kynetx/ Modified KOBJ.obs to work on clicks with inner HTML
* bin/ Made Amazon S3 save optional and
restored file save for local files in case S3 isn't available.
2009-01-05 Phil Windley <>
* Kynetx/ Added info field to callback logging
* Kynetx/ Added notify action
* Kynetx/ Added notify action
2008-12-08 Phil Windley <>
* Kynetx/ (get_kobj): Added "static" URL for static file
that redirects to CloudFront.
2008-11-26 Phil Windley <>
* Kynetx/ (process_rules): Changes to support non-numeric
ruleset IDs.
2008-10-30 Phil Windley <>
* Kynetx/ Added labels to emits.
* Kynetx/ Added callback calls and logging labels to emits
2008-10-28 Phil Windley <>
* Kynetx/ (get_kobj): Updated the KOBJ.get_host function to
ignore protocol if present.
2008-10-06 Phil Windley <>
* Kynetx/ Replaced all actions with JQuery-based
* Kynetx/ now sends JQuery JS libraries. Version 0.9.
2008-10-02 Phil Windley <>
* Kynetx/ (get_kobj): wrapped Prototype effects for future
* widgets/ Updated to use new wrapped effects
* Kynetx/, Kynetx/, Kynetx/ updated
to use new K$ function in kobj-static.js rather than original $
* modifies stock Prototype files to change
$ function it K$ function.
2008-09-23 Phil Windley <>
* Kynetx/ (eval_rule): made sure null rule conditions are true
2008-09-22 Phil Windley <>
* Kynetx/ (eval_datasource): added support for page IDs
* Kynetx/ added syntax for 'emit'
* Kynetx/ Added code to emit Javascript.
* Kynetx/ Added support for change highlighting effect
2008-09-18 Phil Windley <>
* Parser rewrite complete. Page variables added as a data source.
76 files touched. Ugh.
2008-09-11 Phil Windley <>
* Kynetx/ Rewrote to match changes to Restructured expression syntax tree to be consistent
with predicates and easier to use.
* Kynetx/ Completely rewrote parser using RecDescent
Added new productions for predicate expressions, qualified data
functions and predicates, and value comparison in predicates.
2008-08-26 Phil Windley <>
* Kynetx/ Fixed numerous problems that made floats not
work with IE.
2008-08-25 Phil Windley <>
* Kynetx/ Fixed error in action hash
* etc/tmpl/httpd-perl.conf.tmpl: Added static P3P compact policy
* Kynetx/ (get_kobj): Added support for private domains and
more robust caller determination
2008-08-19 Phil Windley <>
* Kynetx/ (eval_predicates): Changed "exists" to
"defined" when checking for counter predicate timeframes
2008-08-08 Phil Windley <>
* t/JavaScript.t (mk_datasource_function): added test for all
* Kynetx/ new predicates for international in
* Kynetx/ new actions for moving elements
2008-07-17 Phil Windley <>
* Kynetx/ (tie_servers): Sessions now using memcached
for session storage rather than /web/data... This is in
anticipation of using memcachedb for session storage.
* Kynetx/Predicates/ New predicates on functions
surrounding the use of DMA codes to determine media markets
* extras/dma/ creates a DBX file for DMA codes
2008-07-10 Phil Windley <>
* Kynetx/Predicates/ Fixed remote and local referers
* Kynetx/ invalid predicates give warning now
* t/Predicates/Markets.t: Made tests more realistic
* Kynetx/ Fixed bug in how args were passed to get_stocks
2008-07-02 Phil Windley <>
* bin/ Added support for fragment servers
* Kynetx/ Added eval_js_expr to reduce a JS
expression to a simple string, int, etc. This is used in before grabbing a URL expression on the server.
* Kynetx/ (build_js_load): Run gen_js_pre before
building rule_env so that decls get into rule_env as well as in
the JS load.
* Kynetx/ (choose_action): when we grab a URL, we eval
it first in case it's an expression
* Kynetx/Predicates/ (get_local_time): removed quotes from
arg in timezone predicate
* Kynetx/Predicates/ (referer_domain): removed quotes
from arg in timezone predicate
* Kynetx/ (tie_servers): sessions now use memcached
protocol. At present they're configured to use the memcached
servers, but they will eventually point to a memcachedb setup.
2008-06-19 Phil Windley <>
* bin/ added this to make updating servers easier
* added tests to Predicate file
* fixed a few small bugs in predicates
2008-06-16 Phil Windley <>
* added the Mobile module and tests. Adds the predicate
'mobile()' which checks to see if the user agent is mobile.