summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Allow scripts to propergate messages from parameter checks into the ↵randomdan2011-03-10
| | | | | | presentation layer Also allow variables to be constructed from a child element's text
* Fix surplus local pointers causing random crashesrandomdan2011-03-10
|
* Allow specifying all sorts of previously hardcoded things, most importantly ↵randomdan2011-03-09
| | | | | | | paths Rework the CGI stage structure to support custom presentations in the event of errors Changes to the Jamfile to ensure each component is complete in itself
* A good start on docs, WTDrandomdan2011-03-08
|
* Don't shoehorn our HTTP response into a cgicc::status one, just implement ↵randomdan2011-03-08
| | | | ourself
* Split appData and envDatarandomdan2011-03-08
| | | | | Add appData to all presenters, add envData to the final cgi stage if it is a presenter Add timing info to appData
* Fix inheritance of Ifrandomdan2011-03-03
| | | | | | Remove virtual inheritance in many places Strip down the unneeded docs made my doxygen Add beginnings of a docbook
* Fix function definitions to match declarations (fixes Doxygen warnings)randomdan2011-03-02
|
* Just build the needed bits of libmisc into places they're needed, don't ↵randomdan2011-03-01
| | | | build all of it
* Add missing implementation of noOutputExecute.cpprandomdan2011-02-28
|
* Add support for local error handlingrandomdan2011-02-28
|
* Add support for a timeout, settable in ms, defaulting to 6000, for xslRowsrandomdan2011-02-28
|
* Only initialise program_options once (only really affects p2fcgi)randomdan2011-02-25
|
* Build a common base for loading p2 xml scripts with proper error checkingrandomdan2011-02-25
| | | | | | Extend cgiAppEngine to be able to return data documents specifying an error (requires Apache 2.2.16 and to have filter-errordocs set) Allow cgi requests to return a default document, suitable for 'yes, I did that' type responses Updates to GentooBrowse to use these features
* Finally convert ytfs to use boost stuff (untested, but it does build)randomdan2011-02-23
| | | | Finally bin all the old build process drivel
* Add a custom html header containing the Google site verification coderandomdan2011-02-21
|
* 'finish' the connection on disconnect only, will have to do for now.... it ↵randomdan2011-02-21
| | | | breaks with multiple concurrent common object instances (sendmail for example)
* Add conversions for floats, ints and datetimes for variablesrandomdan2011-02-19
| | | | > Use them to fully implement the rest of sqlCheck
* Tidy up the class hierarchy and reduce header dependenciesrandomdan2011-02-19
|
* Use a smart pointer to ensure sqlRows query handle is always deletedrandomdan2011-02-19
| | | | Add CommonObjects destructor to ensure rowSets are cleared before datasources
* Pass null values to presenters, it's up to them what to do with themrandomdan2011-02-19
|
* Fix behaviour of stream rows with blank rowsrandomdan2011-02-18
| | | | Add support for default values of blank columns in stream rows
* Don't convert everything to a string to print it, use boost apply_visitor ↵randomdan2011-02-18
| | | | and do it properly
* Don't require the (probably repeated) inclusion of datasource definitions, ↵randomdan2011-02-18
| | | | | | | have CommonObjects load them once on demand Fix rdbmsDataSource closing transactions it didn't open Change XML to match the above changes
* Add a Null variable type and support for it, this is now the defaultrandomdan2011-02-17
| | | | | | | Allow all config options in the config file, even in debug (console and cgi support different things, would always break) Allow multiple query params to be set in console mode Allow url params to be set in console mode Call the new dbpp finish function to do some checking
* Merge urlRows' and xslRows' CURL code into a common more fully featured ↵randomdan2011-02-17
| | | | (proxies, user agents, etc) base class; curlHelper
* Fix creation of default insert actionrandomdan2011-02-17
|
* Make CurlHandle throw an exception on failurerandomdan2011-02-16
| | | | | | | Improve error messages almost everywhere Allow setting of platform through the options system Allow specifying query params on the console Fix file stream writer's string support for strings containing multibyte chars
* Tidied up XML loader using boost::multi_indexrandomdan2011-02-15
|
* Add debug option for dumping the data document before sending it to the web ↵randomdan2011-02-15
| | | | server
* Commit some changes I'd swear blind I'd done alreadyrandomdan2011-02-15
|
* Merge fileRows and urlRows content parser into a shared based; streamRowsrandomdan2011-02-14
|
* Convert dumpTask into a generic purpose file* writerrandomdan2011-02-14
| | | | Fully implement view support in p2console
* Fixes to compile with all gcc warnings as errorsrandomdan2011-02-14
| | | | | | | | | Fixes to keep uuid impl choice entirely within uuid class Fix to collect all text in xslRows Error in unhandled compares Add support for no change check in PQ connector Move dumptask in p2console, soon to be removed Fix variable creation code to set type correctly
* Minor tweaks to improve perforamce on PG bulk deletesrandomdan2011-02-13
| | | | Fixes to support partial merges with bulk updates
* Use a static local var for the loader map to work around the link/load order ↵randomdan2011-02-11
| | | | issue
* Don't rely on crazy dangerous global init/destroy for loader registrationrandomdan2011-02-11
|
* Support for table patching in different ways according to what the connector ↵randomdan2011-02-11
| | | | | | | says Introduce two proper methods of bulk update Tested against PG 8.4, MySQL 5.1 with single and multiple column keys
* Fix free function in xslRows for xmlXPathObjectrandomdan2011-02-11
|
* Less copying and more native storage in fileRowsrandomdan2011-02-11
|
* Add an 'if' component that works with views and iteratorsrandomdan2011-02-10
| | | | | Give some control to the behaviour of unsupported items when loading from XML Make regexcheck's regex a variable
* Rename OdbcVariableBinder, it's not (anymore) ODBC specificrandomdan2011-02-10
| | | | Make rdbmsDataSource's type an int, string was just silly
* Get rid of that stupid LexicalCall and it's messy templates (what WAS I ↵randomdan2011-02-10
| | | | | | thinking?) And replace it with a VariableType that wraps the boost::variant and is implicitly convertable to useful things (may need extending in time)
* Fix silly bug loading readonly RDBMS config entriesrandomdan2011-02-10
| | | | | | | Add centralised logging system Add code for runtime configuration Add support for configuring logging Move all existing logging to new logging system
* Make different DB connectors optionalrandomdan2011-02-09
|
* Fix the build system to do dependencies properlyrandomdan2011-02-09
| | | | | | | | Break down libodbcpp into a set of base classes; libdbpp Add a native PostgreSQL implementation of libdbpp; libpqpp Extend project2 rdbms stuff to work with generic connectors Update datasources to specify connector type Build libmisc as .so
* Fix crash caused by taking reference of temp VariableTyperandomdan2011-02-04
|
* Add concept of runtime configuration, set by HTTP hostname or environment ↵randomdan2011-02-04
| | | | | | variable depending on engine Use it in ArtfulSeller, although there is currently only one platform
* Don't construct the dir end iterator every iterationrandomdan2011-02-03
|
* Add missing conversion in generic visitorrandomdan2011-02-03
| | | | | | | | | Whole new improved variable system (does drop VariableParse, no longer required) Add option to count, but not include, blank lines in proc and file rows File file rows to open files, not execute them Fix to ODBC API with strings that don't use the whole buffer XML changes to site to use new variable system Changes to GB importer to use FS rows and new SQL merge now that it's a) tested and b) variable parse has gone