summaryrefslogtreecommitdiff
path: root/source4/scripting/libjs/base.js
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r11500: fixed a bug in the variable substition code using the new limit ↵Andrew Tridgell1-1/+1
argument to split() (This used to be commit 25131efea8c1a2b0bfa7f999766ebcbab8fa8006)
2007-10-10r8638: continue the trend of maknig our C functions true ejs objects by ↵Andrew Tridgell1-0/+3
making the string functions into an object. To keep existing code working I have added: string_init(global); into base.js. That brings the functions into the global scope for our existing scripts (This used to be commit a978484738168b82441c4dc4f5f803d349769a4b)
2007-10-10r8590: added server status utility functions for checking on the status of a ↵Andrew Tridgell1-0/+11
task via irpc - for stream tasks, returns the number of connections - for non-stream tasks, returns "RUNNING" For both, return "DISABLED" or "NOT RESPONDING" appropriately (This used to be commit 78d6303814382f7835212f5045f12180e396b540)
2007-10-10r8355: - added a vsprintf() functionAndrew Tridgell1-0/+8
- removed the --outputdir option from provision, as its not used any more (as ejs knows the real paths) (This used to be commit abbf9c703c17c2edc2d978dade3619a96c38d0d9)
2007-10-10r8338: - added a substitute_var() js library function for doing hash drivenAndrew Tridgell1-0/+29
substitution of variables in strings - the js provision script now correctly processes provision.ldif (This used to be commit c2946003e06c4898ba0444cd0b69d3203753be94)
2007-10-10r8318: added a bunch more ejs calls.Andrew Tridgell1-1/+0
getgr*() getpw*() strlower() strupper() IfaceList() (This used to be commit 1517ad490dd67302f38ab9dcd8a3b24b73b8d550)
2007-10-10r8298: - started building a library of js routines in scripting/libjs/Andrew Tridgell1-0/+53
- switched the existing test programs over to using the library - added install of js lib (This used to be commit 2a444dedbe44347268affc6458196f93ca7d372b)