source: iovar/CHANGELOG @ 102:edd2049766a0

Last change on this file since 102:edd2049766a0 was 102:edd2049766a0, checked in by Shawn Wilson <shawn@…>, 10 months ago

saw_091017_1 - Add Utils.bytesToHex().

File size: 23.3 KB
Line 
1Copyright (C) 2016-2017 Virgo Venture, Inc.
2Copyright (C) 2011-2015 Lannocc Technologies
3@%@~LICENSE~@%@
4
5saw_091017_1 - Add Utils.bytesToHex().
6
7saw_031317_1 - Add reference to tomcat-8 catalina.jar in sample.app.properties for Jenkins.
8
9saw_031217_3 - Update default location to servlet-api.jar for quick building with Jenkins.
10
11saw_031217_2 - Add ?method=POST support to /bin/redirect.
12
13saw_031217_1 - Fixing /bin/redirect with ?wait option.
14
15saw_031117_4 - Improve content-type matching in /bin/form2xml.
16
17saw_031117_3 - Add "next" meta link in /bin/redirect.
18
19saw_031117_2 - Fix possible NullPointerException in Default introduced in saw_021817_1.
20
21saw_031117_1 - Add /lib/iovar/strings.xsl to collect string-related helper templates for xslt.
22
23saw_022817_1 - Fix resolution of relative symbolic links in Default.
24
25saw_022717_2 - Improving the look of /bin/redirect.
26
27saw_022717_1 - New /bin/redirect options: ?script for adding javascript; ?wait for adding delay.
28
29saw_021817_1 - Resource now supports auto-exec and auto ./index.
30
31saw_020817_1 - #17: Form2XML working again, tested in conjunction with idfree Authentication.
32
33saw_020617_1 - MySql driver now ensures configs are loaded from real files beneath project root.
34
35saw_020317_4 - Updated /bin/view from [W] with more features and better error-handling.
36
37saw_020317_3 - Add 'projectKey' attribute to web-build task for isolating mysql config files of the
38               same name in inherited IOVAR webapps.
39
40saw_020317_2 - Update MySql driver config namespace to http://iovar.win/ns/mysql.
41
42saw_020317_1 - Add /bin/qtui for easily generating interfaces from QT5 .ui files!
43
44saw_013017_5 - WebBuilder now includes mysql references in the links file.
45
46saw_013017_4 - Updated build process for tracking dependent webapp servlet mappings.
47
48saw_013017_3 - Fix sample.project.xml for new location of idfree jar.
49
50saw_013017_2 - Include the dependency .url files and store them under /sys/jars/ when building the
51               jar.
52
53saw_013017_1 - All JARs now removed from the repository! New Ant task 'project.update' created to
54               handle updating the binary dependencies. Tag 'jars_included' set to mark the
55               previous commit as the last one where jars were still included.
56
57saw_012017_1 - Working on proper session propagation through local loopback.
58
59saw_122516_1 - XArgs now supports text/xml input.
60
61saw_122216_1 - Add /bin/print to safely and efficiently output any shell variable.
62
63saw_120916_1 - Add /bin/date and /bin/uname commands. Fix Form2XML for CatTTamboo. Add ?replace
64               option to XMLSet. Fix to Default for handling canonical URLs.
65
66saw_120616_1 - Remove some debug calls that were inadvertantly committed.
67
68saw_112816_1 - Fix the regression in Default that prevented normal form POST data from being
69               propagated (bug introduced in saw_102716_1).
70
71saw_112716_4 - Starting to solve some exit value propagation issues but this is going to take a
72               pretty serious rewrite to really work well.
73
74saw_112716_3 - Fix a little bug in /bin/echo where if echo is first statement in a script it was
75               printing an extra space first due to bad input determination.
76
77saw_112716_2 - Add ?graph option to the shell to display the graph of the task to be executed.
78
79saw_112716_1 - Start to take a hard line on session exit reassignment (will be tackling this more
80               in depth soon).
81
82saw_112316_3 - Beginning a data store for the resource legend stuff (not done).
83
84saw_112316_2 - Add /bin/cookie and /bin/form from [W].
85
86saw_112316_1 - Begin /bin/ls for listing resource entries. Only works for file: right now.
87
88saw_112216_1 - Fix /bin/json ?clean option to not print newlines.
89
90saw_112116_3 - Add /bin/json for grabbing a value from json data. Finally incorporated the json
91               parser I wrote a couple years ago in response to a challenge from Chuck Lowery.
92
93saw_112116_2 - Clean up the distribution jar.
94
95saw_112116_1 - Move win.iovar.web.proc.ShellSession$Instance to win.iovar.web.lib.Session and
96               rename ShellSession to Sessions.
97
98saw_112016_4 - Moved win.iovar.web.proc.Job to win.iovar.web.lib package.
99
100saw_112016_3 - Package com.iovar renamed to win.iovar to reflect domain changes. Bumped version
101               string to 1.0 since that's the version we're working towards (a 1.0-alpha branch
102               has been created for the previous changeset in case fixes need to get applied for
103               production services that are using the alpha version.
104
105saw_111916_1 - Moved etc/web.xml to etc/sample.web.xml. Was working on debugging form submission
106               pass-through issue but this debugging has been commented out for the moment.
107
108saw_111616_1 - Add support for ${#1}, ${#2}, ... to get the length of the anonymous arguments. MySql
109               device now actually returns proper column labels to allow "SELECT COUNT(*) AS X" in
110               list queries. Add a handlerHref() utility method to Transport that allows a query
111               embedded in the path (required for backwards compatibility with Thompson project).
112               /bin/test now internally uses BigInteger for numerical tests, allowing for very large
113               integer comparisons.
114
115               Interactive mode stylesheet path updated to new /usr/include/iovar location.
116
117saw_110216_1 - A fix to frame.js.
118
119saw_103116_4 - Pull in new common, ajax, and frame user libraries from [W].
120
121saw_103116_3 - Move all /usr/include stuff into /usr/include/iovar.
122
123saw_103116_2 - Trying to get Access-Control-Allow-Origin working (not there yet).
124
125saw_103116_1 - Add 'excludeDirs' option to the WebBuilder ant task which takes
126               a colon-separated list of relative path names to exclude.
127
128                           Add '?variables' option to XSLT.
129
130saw_102916_1 - Add a simple Application.java that turns on auto-exec support (you'll have to add
131               it to web.xml and map it for a directory e.g. /app).
132
133saw_102716_1 - WebBuilder ant task and MySql device now support configs for
134               multiple databases beneath /dev/mysql. ShellSession gets
135                           setUser() and getUser(). Improvements to xmlget, xmlin, and
136                           xmlset. XSLT TransportResolver now handles embedded
137                           data:text/xml content-type. More changes for auto-exec.
138
139saw_092716_1 - Pull in xmlset, xmlget, and xmlwrap commands from [W].
140
141saw_092116_1 - First commit for Virgo Venture, changes include:
142                                - /bin/redirect displays usable output when VIEW=text.
143                                - /bin/system now better handles processes that output lots of data.
144                                - /dev/trans/https added for https transport support.
145                                - /dev/trans/file now looks for index file on POST to directory,
146                                  checks execute bit.
147                                - /bin/test gets new test to check if input string is given type
148                                  (integer, for now).
149                                - Add an auto-exec mode to the Default servlet handler.
150
151saw_100115_1 - Add direct command-line syntax support to the shell alias (e.g.: /$?=echo+hello).
152
153saw_092215_1 - #6: Some work on remote session handling. Very poor support at the moment.
154
155saw_092115_2 - Fix to ShellSession... don't store actual Instance in HttpSession. In order to
156               minimize stale instances floating around we now just store the ID instead.
157
158saw_092115_1 - Interactive servlet now supports an XML+XSL mode via 'style' property defined in
159               /etc/interactive.conf and also updates HISTORY variable.
160
161saw_091915_1 - Misc. fixes and enhancements. Added the (temporary) ?preproc option to xslt. Simple
162               built-in support for canonicalized/keyword URLs aka canon.
163
164saw_080315_1 - Add missing files for creating new codetable entries.
165
166saw_072415_1 - #6: Improving the way sessions are handled when calling scripts.
167
168saw_071715_1 - #6: Adding cookie support to HTTP transport handler.
169
170saw_071315_2 - #5: Fix to default handler for references to directories.
171               
172               Make "app.jars" the default target in build.xml.
173
174saw_071315_1 - #2: Fixes to Resource for handling JAR-packaged files.
175
176saw_071115_1 - #2: Moved the default local file/resource handler servlet
177               (com.iovar.web.dev.trans.Local$Servlet) to com.iovar.web.Default.
178
179saw_070815_1 - Splitting off iovar-demo as a separate repository.
180
181saw_070715_1 - Update copyright year in LICENSE file.
182
183saw_062015_2 - Some significant reorganization in the interest of making it easier to secure sites
184               deployed with IOVAR. The /usr directory now only contains resources accessible to
185               end-users directly:
186                - /usr/bin moved to /bin
187                - /usr/sbin moved to /sbin
188                - views (/usr/xhtml, /usr/xml, etc.) have been moved to /srv
189
190saw_062015_1 - Fix NullPointerException in /bin/which. Add aditional comparison tests to
191               /usr/bin/test.
192
193saw_041215_1 - Incorporating many UI scripts and images, still a work-in-progress.
194
195saw_032215_1 - Add do/while loop. Add /usr/bin/expr for evaluating arithmetic expressions. Fix to
196               /usr/bin/uptime.
197
198saw_020315_5 - Allow customizable wait time for /sbin/init process.
199
200saw_020315_4 - Add support for .ioshrc in /root/ and /home/$USER/.
201
202saw_020315_3 - Fixes on recent ShellSession work.
203
204saw_020315_2 - Intermediate shell sessions are now automatically removed once out of scope.
205
206saw_020315_1 - Much work on ShellSession to properly handle user sessions.
207
208saw_013115_1 - Add /proc/meminfo, /proc/uptime, /usr/bin/uptime, and /sbin/debug. Modify
209               /proc/shell to return session count when referenced as /proc/shell/.
210
211saw_012915_1 - Create TaskData class for encapsulating the data necessary for task execution,
212               thereby simplifying numerous method signatures.
213
214saw_012615_1 - Enhancements and fixes:
215                - User support.
216                - Rewritten Call exec with improved variable handling.
217                - Pass-through for content-disposition.
218                - /bin/set now exports variable to parent session, which is in the caller's scope.
219                - /bin/cat support for setting content-disposition.
220                - /bin/echo gets ?noline option.
221                - MySQL device improvements, including: bulk update (POST); multi-table delete;
222                  ?join, ?group, and ?limit options.
223                - /usr/bin/formfile gets ?quiet option; ?export renamed to ?set.
224                - /usr/bin/sed now requires the "g" option since it currently only operates as a
225                  global substitution.
226                - /usr/bin/xlink gets ?quiet option and also allows embedding non-XML resources.
227                - /usr/bin/xmlout now escapes tag names, adds "tag-name-orig" attribute.
228                - Add /usr/bin/xmlin (also /bin/xi).
229                - /usr/bin/xslt passes in extra anonymous arguments as arg1, arg2,... parameters.
230
231saw_082214_1 - More features and fixes:
232                - Add /bin/exists.
233                - Add /bin/patch.
234                - Add /usr/bin/formfile.
235                - Add /usr/bin/headers.
236                - Add /usr/bin/test.
237                - Initial support for hot quote actions (e.g. `echo foo`).
238                - /bin/export and /bin/set now accept a value from standard input.
239                - /$ execution now ignores ?iosession parameter (needs redesign).
240                - Add ?first option to /bin/cat to display command-line resources before standard
241                  input.
242                - /bin/delete and /bin/put now pass-through any arguments.
243                - /bin/echo now prints literal newline instead of system default.
244                - Add double-dash to /bin/system command.
245                - MySQL device improvements.
246                - /usr/bin/form2xml now handles multipart/form-data.
247                - Add daily and specific-time modes to /usr/sbin/cron.
248                - Add a version of pipe() to Utils that stops when a specified sequence is found.
249
250saw_061014_1 - Many improvements:
251                - /usr/bin/sed (simple stream editor), uses Java's String.replaceAll ().
252                - /usr/bin/java2xml and /usr/bin/xml2java (dependency on XStream).
253                - /sbin/cron for simple command scheduling.
254                - Shell session instance management slightly improved and added concept of a
255                  'master' session.
256                - New (optional) init system and implementation via Init servlet (/sbin/init),
257                  init configuration at /etc/inittab, and scripts at /etc/rc and /etc/environment.
258                - Add support for 'iovar.sessions', 'iovar.log.level', and 'iovar.log.file'
259                  context parameters.
260                - Log and Init servlets are specified explicitly in web.xml to ensure load on
261                  startup.
262                - WebBuilder Ant task adds optional support for a starting <load-on-startup> value
263                  that all automatic servlet entries can be given incrementally.
264                - Http transport now supports PATCH method (dependency on Apache httpclient).
265                - Better handling and pass-through of content-type (still not complete).
266                - Misc. bug fixes.
267
268saw_050914_1 - /bin/help.
269
270saw_050814_10 - Transport handlers now extend HttpServlet and behave as shell utilities. This
271                allows pluggable handlers to work when WAR-packaged and lacking the original
272                symlinks.
273
274saw_050814_9 - Clean out more old files.
275
276saw_050814_8 - Updated INSTALL file for Google Code.
277
278saw_050814_7 - Minor INSTALL / README file updates.
279
280saw_050814_6 - Add LICENSE (MIT). Add sample.project.xml for Netbeans.
281
282saw_050814_5 - Add sample.build.properties and sample.app.properties.
283
284saw_050814_4 - Add /bin/iosh as another link to the IOVAR shell. Scripts that cannot or should not
285               be used in BASH now reference /bin/iosh instead of /bin/sh (or /bin/bash, etc.).
286
287saw_050814_3 - Preparing for beta release: removing old and extra stuff.
288
289saw_050814_2 - More build.xml fixes.
290
291saw_050814_1 - Cleaning up build.xml. Ant 'project' task now builds a WAR (deployment not tested).
292
293saw_050214_1 - /usr/bin/xlink now copies any additional attributes onto root node.
294
295saw_042714_2 - XML Copy now adds prefix mappings as necessary.
296
297saw_042714_1 - /usr/bin/xlink.
298
299saw_042514_1 - /dev/buffer.
300
301saw_042414_6 - Simply /dev/null.
302
303saw_042414_5 - /bin/system will now pass other named parameters as environment variables.
304
305saw_042414_4 - Escaped shell graph item now properly handles \n, \r, and \t. /bin/system now
306               passes input to the system process.
307
308saw_042414_3 - Shell parameter handling (?x=y) now properly handles multiple assignments for the
309               same parameter name.
310
311saw_042414_2 - MySql ?follow support for getList also.
312
313saw_042414_1 - Add ?follow parameter to MySql driver for following selected columns.
314
315saw_042114_13 - Add ?where and ?order parameters to MySql driver when retrieving a list.
316                /usr/bin/xmlout now (roughly) handles any input passed in and inserts the new
317                node(s) in the top of the document.
318
319saw_042114_12 - Links aren't properly handled when they're pointing to folders (need to work it out
320                later).
321
322saw_042114_11 - The beginnings of proper redirect handling (no longer do we allow HttpURLConnection
323                to follow them automatically). Right now only Call actually properly follows a
324                redirect on invocation.
325
326saw_042114_10 - /bin/system now looks for colon in command arguments and interprets as a local
327                transport handler (still very hacky).
328
329saw_042114_9 - Fix problem when variable assignment is the only command in an operation.
330
331saw_042114_8 - /bin/system should send process error stream to stdout.
332
333saw_042114_7 - /bin/sh should only try processing POST data if no anonymous args passed in.
334
335saw_042114_6 - /bin/sh will now process POST data as though it were a shell script.
336
337saw_042114_5 - MySql driver now supports DELETE.
338
339saw_042114_4 - MySql driver needs to quote column names when doing insert.
340
341saw_042114_3 - MySql driver now does insert in PUT / (instead of POST).
342
343saw_042114_2 - Make sure table name is quoted when getting description in MySql driver.
344
345saw_042114_1 - MySql driver now differentiates between request for directory listing (ending with
346               slash) and request for new item template (no slash).
347
348saw_041914_7 - Fix problem of Background ('&') gobbling up '&&'.
349
350saw_041914_6 - /bin/sleep.
351
352saw_041914_5 - Basic job control.
353
354saw_041914_4 - /bin/system - execute system call. Add file: transport support.
355
356saw_041914_3 - MySql driver and /usr/bin/form2xml now add "tag-name-orig" attribute if the tag
357               name had to be modified to follow XML spec.
358
359saw_041914_2 - Some basic column name sanitation for XML tag name in MySql driver.
360
361saw_041914_1 - Remove the "iolink" init-parameter hack; use getServletPath () instead.
362
363saw_041714_8 - /usr/bin/form2xml - converts standard input URLEncoded data into simple xml tree.
364
365saw_041714_7 - /usr/bin/get now passes along any parameters. MySql and PostreSQL drivers will now
366               fetch an optional list of columns when requesting a list.
367
368saw_041714_6 - /usr/bin/xslt now passes named parameters to stylesheets. Created /usr/bin/setxsl
369               for easily adding <?xsl-stylesheet?> instructions to XMl documents.
370
371               Scripts can now utilize standard input (passed automatically to the first
372               operation).
373
374saw_041714_5 - Make sure session gets persisted when variable assignment happens.
375
376saw_041714_4 - Variable assignments as part of an operation work again (instead of only via the
377               export command).
378
379saw_041714_3 - Default session handler should also execute /etc/shrc.
380
381saw_041714_2 - Now supporting GET requests to $/* as a convenience mechanism to POST to * and
382               utilize a default session.
383
384saw_041714_1 - /usr/bin/xargs, currently handling application/x-www-form-urlencoded input.
385
386saw_041614_1 - Added Parameter type. Http transport and task Return struct now handle content-type.
387               /bin/cat is the first to support named parameters with ?help and ?type= options.
388
389saw_041514_3 - Basic implementations for mkdir, rm, rmdir, touch.
390
391saw_041514_2 - Improve the interactive interface.
392
393saw_041514_1 - GraphReader now supports multiple read-ahead (peek at many). Conditional tests have
394               been moved out of Operation and into Group where they belong, greatly simplifying
395               and improving logic and nested block handling.
396               
397               Still some work to do with status code propagation in certain spots where it should
398               be automatically cleared. E.g. `cat foo || { echo bad && echo good }`.
399
400saw_041414_4 - /bin/which.
401
402saw_041414_3 - All binaries now implement the standard utility doHead, doGet, and doPut methods
403               (where applicable).
404
405saw_041414_2 - Standard utility doGet () and doPut () look for a corresponding source file in /src
406               to retrieve or update; /usr/bin/cat is the first to implement this.
407
408saw_041414_1 - Exit codes ($?) now working properly; /usr/bin/cat now sets exit value.
409
410saw_041114_10 - Starting to imlement some basic error checking for HTTP GET. See the big note in
411                Cat.java for what needs to be done next for proper return code $? variable usage.
412
413saw_041114_9 - Implemented And command ("&&"). Fixed compile error from previous commit.
414
415saw_041114_8 - Basic status support; implemented Or command ("||"). Removed legacy task parser.
416
417saw_041114_7 - Interactive mode now automatically sets focus to the command input.
418
419saw_041114_6 - Echo will now output its input first before any arguments, just like Cat.
420
421saw_041114_5 - Partial support for HTTP PATCH (append).
422
423saw_041114_4 - Fixes to parser text handling.
424
425saw_041114_3 - Misc./minor.
426
427saw_041114_2 - Minor visual improvements to the interactive interface.
428
429saw_041114_1 - Path changes (working on debussy... need to get installation-specific settings out
430               of source control).
431
432saw_101613_1 - Misc. fixes incorporating new parser.
433
434saw_101213_1 - New Graph/Task parser now working with I/O redirection and chaining, and supporting
435               enough features to replace the old parser.
436
437saw_100613_2 - New Operation Graph now successfully assembles with multiple chain, input, and
438               output redirection, though only a single call will currently execute (work in
439               progress).
440
441saw_100613_1 - New Graph/Task parser hooked up to shell (not all features implemented yet).
442
443saw_100313_1 - Fix spelling in comments.
444
445saw_100213_2 - New parser work.
446
447saw_100213_1 - New parser, using Graph and Task interface model (work in progress).
448
449saw_041013_1 - Simple PostgreSQL device (still needs work to handle updates properly).
450
451saw_021713_1 - Simple MySQL device.
452
453saw_021613_1 - /usr/bin/xmlout (aka /usr/bin/xo). Fix WebBuilder task to only add servlet entries
454               once when multiple links to the same servlet are found.
455
456saw_012013_1 - /bin/exit and /bin/status (work in progress).
457
458saw_011313_2 - Misc. cleanup.
459
460saw_011313_1 - Transport handlers now installed in /dev/trans.
461
462saw_011113_5 - Basic i/o redirection support ( < and > ).
463
464saw_011113_4 - Improved output of /bin/set for local variables.
465
466saw_011113_3 - /usr/bin/basename.
467
468saw_011113_2 - Calls are now invoked with local argument variables $#, $@, $1, $2, $3, etc.
469
470saw_011113_1 - Basic inline variable assignment (e.g. $ foo=bar ./do_something).
471
472saw_011013_8 - Bug fixes in Utils and Local.
473
474saw_011013_7 - /usr/bin/head and /usr/bin/tail. Everything now uses the new Resource.handler ()
475               approach.
476
477saw_011013_6 - Misc. cleanup/organization.
478
479saw_011013_5 - Convert Cat and Get to new Resource.handler () approach. Utils.pipe () will now call
480               out.flush ().
481
482saw_011013_4 - Chain command implemented. Misc. bug fixes and improvements.
483
484saw_011013_3 - XSLT processor installed at /usr/bin/xslt.
485
486saw_011013_2 - Remove unused Java files.
487
488saw_011013_1 - Remove Orbeon-related stuff.
489
490saw_010913_1 - Implemented $PATH searching. Interactive mode now runs /etc/shrc to set up $PATH.
491
492saw_010813_2 - Make sure Ant tasks are built by default.
493
494saw_010813_1 - Parser rewritten and greatly simplified.
495
496saw_123012_1 - Split Parser into com.iovar.web.bin.shell.input package. Added Script input type.
497
498saw_122412_1 - Reorganize Parser.java.
499
500saw_122312_1 - /bin/export. Also some work on resource handling and shell session reference
501               passing.
502
503saw_122212_1 - Symbolic links to servlets now reference the .class file directly instead of using
504               the 'iojava:' prefix hack.
505
506saw_122112_1 - Add README, INSTALL files.
507
508saw_122012_2 - Proper /bin/cat.
509
510saw_122012_1 - Misc. cleanup/improvements.
511
512saw_121912_2 - Misc. cleanup.
513
514saw_121912_1 - Now includes a basic system logger at /dev/log.
515
516saw_121812_1 - Now depends on Java 1.7. Moved a bunch of stuff around. Implemented filesystem-based
517               symbolic links for mapping url resources to Java servlets.
518
519saw_012012_2 - Some basic commands now working from the interactive prompt!
520
521saw_012012_1 - Fix Parser bugs. Split Shell interactive move into its own servlet.
522
523saw_102611_1 - Shell and Parser integration. Still need to exclude comment strings.
524
525saw_102511_2 - Hashbang execution support; updating shell for new invocation methods (not complete).
526
527saw_102511_1 - Working get, put (empty), and delete with new anonymous argument syntax (?=).
528
529saw_060411_3 - /bin/cat.
530
531--
532--
533--
534
535saw_060411_2 - Created timescroll database.
536
537saw_060411_1 - Cloned from usians repository.
538
Note: See TracBrowser for help on using the repository browser.