Commit Graph

  • c0634564c4 Bugfix in 'rows' and 'cols' options for text fields. Ferry Boender 2015-05-26 23:06:55 +0200
  • 1080b50696 Added a 'size' option for string input fields that controls the width in characters of the input box. Ferry Boender 2015-05-26 23:06:33 +0200
  • 479aac0e5a Prefill form fields if it had errors. Ferry Boender 2015-05-26 22:49:46 +0200
  • e623c45da6 Allow serving of static files through 'static_dir' directive. Ferry Boender 2015-05-26 22:34:51 +0200
  • 1a3d10cdee Renamed 'callbacks' chapter in User manual to 'Script execution'. Ferry Boender 2015-05-26 22:34:13 +0200
  • 9f7b7ddc16 More unit tests. Ferry Boender 2015-05-26 09:20:12 +0200
  • 2a5157d198 More tests. Ferry Boender 2015-05-26 08:09:13 +0200
  • 8b267486d0 Moved unreachable code. Ferry Boender 2015-05-26 08:08:58 +0200
  • 3d63f6d7f7 Don't display directory listing in megacorp_acc example. Ferry Boender 2015-05-26 08:08:26 +0200
  • 15a4199fa1 Show comment in megacorp_acc firewall example. Ferry Boender 2015-05-26 08:08:10 +0200
  • 0fd145c1fc Test case data. Ferry Boender 2015-05-25 22:04:19 +0200
  • 9935afbed9 Code coverage test code running at import. Ferry Boender 2015-05-25 22:04:04 +0200
  • 0396e8a82e Test non-existing forms. Ferry Boender 2015-05-25 22:03:37 +0200
  • 8596d572e1 Code coverage in test cases. Ferry Boender 2015-05-25 22:03:25 +0200
  • 0ac27bc033 WebApp test cases. Ferry Boender 2015-05-25 22:03:10 +0200
  • 69588d4ff6 Individual test cases for validation. Ferry Boender 2015-05-25 22:02:40 +0200
  • 752a695d9f Remove log files on 'clean' make target. Ferry Boender 2015-05-25 22:02:21 +0200
  • 75bd347cdf Don't perform code coverage for daemon code. Ferry Boender 2015-05-25 22:02:06 +0200
  • 536caec8b7 Bugfix in validation message. Ferry Boender 2015-05-25 22:01:42 +0200
  • 3442f34d1b Main function. Ferry Boender 2015-05-25 21:36:45 +0200
  • 450bb24eb7 Don't try to validate missing but required fields. Ferry Boender 2015-05-25 21:36:05 +0200
  • 2d3fe12510 Ignore test coverage output Ferry Boender 2015-05-25 17:00:10 +0200
  • 06f6757efb Unittests: report coverage Ferry Boender 2015-05-25 13:35:51 +0200
  • 4751b78f45 Test: use correct port. Ferry Boender 2015-05-25 12:44:41 +0200
  • 9df749630a Test cases. Ferry Boender 2015-05-25 12:22:58 +0200
  • 7d1775354e Log HTTP requests to the log file instead of console. Ferry Boender 2015-05-25 12:22:45 +0200
  • ed143fb73a Cast min/max/minlen/maxlen values to proper types. Ferry Boender 2015-05-25 12:22:10 +0200
  • 93fcaea981 Method documentation. Ferry Boender 2015-05-25 12:19:23 +0200
  • b53f5fcf40 Method for getting a field definition from the form definition. Replaces previous private method. Ferry Boender 2015-05-25 12:18:51 +0200
  • 34b4151529 Return process exit code for 'raw' output type. Ferry Boender 2015-05-25 12:18:03 +0200
  • ce71253ab5 Allow None values for stdout, stderr if script output type is not raw. Ferry Boender 2015-05-24 10:03:39 +0200
  • 8c7a12e354 Classes improperly rendered for input form line. Ferry Boender 2015-05-24 09:57:08 +0200
  • 125bd1cb82 separate form config files for test cases Ferry Boender 2015-05-20 08:17:58 +0200
  • 93064be2e7 Merge commit 'f7c5c99' Ferry Boender 2015-05-20 08:16:49 +0200
  • f7c5c993f6 Use separate files for test cases Ferry Boender 2015-05-20 08:15:52 +0200
  • c44af08f64 Test example that does its best to break scriptform. Ferry Boender 2015-05-20 08:10:27 +0200
  • ca55acf980 Don't change to form config dir if we're already there. Ferry Boender 2015-05-20 08:07:47 +0200
  • 3911207709 Don't do anything with script output if we're in raw output mode. Ferry Boender 2015-05-20 07:52:19 +0200
  • 8acae2ad09 Run tests from Makefile. Ferry Boender 2015-05-18 14:49:35 +0200
  • a45440de95 Testcases: remove json test file after tests have run. Ferry Boender 2015-05-18 14:49:23 +0200
  • 7b77a5570a Testcases: setUp and tearDown. Ferry Boender 2015-05-18 09:48:54 +0200
  • 8a03c3b3a2 Mark TODO as done. Ferry Boender 2015-05-18 08:24:55 +0200
  • 0fafeaf8d2 Document how scriptform.py works. Ferry Boender 2015-05-18 08:24:38 +0200
  • 14e87c2f86 Test cases. Ferry Boender 2015-05-17 22:09:21 +0200
  • 1c43496be3 Proper shutdown of server via threaded call to shutdown(). Ferry Boender 2015-05-17 13:32:03 +0200
  • 81e3b480a8 FormConfig.callback no longer tightly coupled to request. Instead, stdin and stdout file handles are passed in. Ferry Boender 2015-05-16 10:30:39 +0200
  • 563f3cdca5 Move rendering of a form line to the FormRender class. Ferry Boender 2015-05-15 09:25:45 +0200
  • 3d9ca8dd40 Code formatting. Ferry Boender 2015-05-15 09:16:34 +0200
  • 51be118f85 Change dir to form config directory in main method, not in a class. Ferry Boender 2015-05-15 09:16:15 +0200
  • fb77cd7a7a Removed dead code. Ferry Boender 2015-05-15 09:06:40 +0200
  • 7a171ed3ac Fixed improper form values. Ferry Boender 2015-05-15 09:06:26 +0200
  • 7d9f8ae26f Cast params before rendering field. Ferry Boender 2015-05-15 09:05:59 +0200
  • e2547f9aad Delegate form rendering to separate class. Ferry Boender 2015-05-14 09:23:53 +0200
  • d62a3a04ef Git ignore megacorp database. Ferry Boender 2015-05-12 08:20:03 +0200
  • 190a21ebbb Use dict string formatting instead of positional arguments for rendering the form fields. Ferry Boender 2015-05-12 08:18:54 +0200
  • 06d1ead881 Moved some things around in the User manual. Ferry Boender 2015-05-11 17:53:48 +0200
  • 4bcd0e9e43 Better display for checkbox input. Ferry Boender 2015-05-10 14:54:07 +0200
  • b84258d91b Allow pre-setting of checkboxes. Ferry Boender 2015-05-10 13:20:19 +0200
  • b7f18ad4ba Separate build target for documentation. Ferry Boender 2015-05-10 13:11:51 +0200
  • 9c0a5a4978 Rename 'hide' property to 'hidden' for consistency. Ferry Boender 2015-05-10 13:11:31 +0200
  • a4f8e05832 Clarifying comment. Ferry Boender 2015-05-10 12:55:50 +0200
  • 6214b2681e Allow hidden form fields. Ferry Boender 2015-05-10 11:57:33 +0200
  • c98717ef2a Removed debugging output. Ferry Boender 2015-05-10 11:54:56 +0200
  • c88e21035c Allow the user to turn off caching of the form config using '-r' options. Ferry Boender 2015-05-10 11:40:52 +0200
  • c2d0c2cbe8 Use sys.stdout instead of print. Ferry Boender 2015-05-10 11:21:49 +0200
  • d804cd4530 Display version number in footer. Ferry Boender 2015-05-06 15:28:00 +0200
  • 69989957d6 User manual update. Ferry Boender 2015-05-01 17:25:25 +0200
  • 43f5c7c316 Todo Ferry Boender 2015-05-01 17:23:44 +0200
  • d4308b9d09 Allow prefilling of form values through url params. Ferry Boender 2015-05-01 17:23:34 +0200
  • d88aad1f45 Typo. Ferry Boender 2015-04-25 07:06:29 +0200
  • 2ce4602808 Security documentation. Ferry Boender 2015-04-24 19:59:00 +0200
  • 3b2b3dd3c2 Log script invocation for auditing purposes Ferry Boender 2015-04-24 19:58:50 +0200
  • 2dfa35a29b Checkbox field type added. Ferry Boender 2015-04-24 19:12:29 +0200
  • f69159f11f get_visible_forms docstrings. Ferry Boender 2015-04-24 19:12:02 +0200
  • 20a83c4382 Directly redirect to only visible form (instead of only form). Ferry Boender 2015-04-24 17:50:22 +0200
  • 581b6ebed7 TODOs. Ferry Boender 2015-04-24 08:57:18 +0200
  • db03f7cb49 Minor cosmetic reformatting of User Manual. Ferry Boender 2015-04-24 08:57:06 +0200
  • df1b173d2a Added a 'hide' option to form definitions which lets you hide the form in the list. You can still refer to it in other ways, if you know its name. Ferry Boender 2015-04-24 08:56:44 +0200
  • d12361c0ca Fix submit button default text. Ferry Boender 2015-04-24 08:54:44 +0200
  • 61a72ea39a Clean up python-coverage files. Ferry Boender 2015-04-24 08:30:00 +0200
  • a4da0ed8d5 'script' field of form definitions is now required. Ferry Boender 2015-04-24 08:26:57 +0200
  • 32e8e60328 Clean up MegaCorp. Ferry Boender 2015-04-24 08:20:27 +0200
  • c17bac5207 MegaCorp example updated. Ferry Boender 2015-04-24 08:08:49 +0200
  • 34c9cac1a7 Form definitions are now specified in a list instead of a dict. This preserves their order when listing the forms. Ferry Boender 2015-04-24 08:04:26 +0200
  • 67b9405202 Minor cleanup additions to Makefile Ferry Boender 2015-04-23 07:45:01 +0200
  • 17dd474ec6 README update. Ferry Boender 2015-04-22 20:46:38 +0200
  • b8d540f950 Deprecate support for calling native python callbacks. Ferry Boender 2015-04-22 20:44:08 +0200
  • 0fbf55710f Include HTML version of manual in source dist. Ferry Boender 2015-04-22 18:13:03 +0200
  • 117438375e Support for --version. Ferry Boender 2015-04-22 18:08:01 +0200
  • bff1eab3eb Clean HTML output of User Manual conversion. Ferry Boender 2015-04-22 18:03:51 +0200
  • 55f569fc75 Deprecate support for calling native python callbacks. Ferry Boender 2015-04-22 18:01:54 +0200
  • 23fea8f605 User manual updates. Ferry Boender 2015-04-22 17:54:17 +0200
  • ea762d7534 Manual updates. Ferry Boender 2015-04-22 12:15:40 +0200
  • b15b80f00f User manual updates. Ferry Boender 2015-04-22 09:17:54 +0200
  • 7cf2ef2fc4 Result CSS no longer interferes with script output tags. Ferry Boender 2015-04-22 07:58:23 +0200
  • 1168f5694c Show "powered by" message in footer. Ferry Boender 2015-04-21 13:34:33 +0200
  • 330e8be4e5 Decode output of scripts from utf8 to unicode. Ferry Boender 2015-04-21 11:56:52 +0200
  • ae128624d7 Ignore release files. Ferry Boender 2015-04-20 21:48:09 +0200
  • b74c1906af Makefile. Ferry Boender 2015-04-20 21:46:48 +0200
  • 730213308a Source dist Makefile. Ferry Boender 2015-04-20 21:46:30 +0200