summaryrefslogtreecommitdiff
path: root/project2
Commit message (Collapse)AuthorAge
* 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
* Change FsRows to return a ptime for moddaterandomdan2011-02-02
|
* Remove compose functions on column data and add a handle function for type ↵randomdan2011-02-02
| | | | | | | safe data passing Use new handle function to get type safe data from ODBC Add a datetime option to variables
* Add lots of funky stuff to make the system (internally) type saferandomdan2011-02-01
|
* Call curl global cleanup when finishedrandomdan2011-01-31
| | | | | | Don't bind filters on load complete, there might be multiple different users Add XSL rows Fix several problems with dump (bin me, console app should support views)
* Only trim newline from lines that end with newlinerandomdan2011-01-25
|
* Fix #if check for UUID implementationrandomdan2011-01-25
|
* Fix Presenter's inheritance of CommonObjectsrandomdan2011-01-25
| | | | | Use smart pointers to stages, they are refcounted after all Have variables keep a handle to their row sources, fixes crash during stage destruction
* Tidy up the UUID optionalsrandomdan2011-01-23
|
* Add wrappers and Jam for building with UUIDs from OSSP instead of Boostrandomdan2011-01-21
|
* Remove file create date for not being the create daterandomdan2010-12-29
| | | | Add option for keeping the blank lines in file rows
* Fix row numbering in rowSets to behave as before (1 upwards, not 0 upwards)randomdan2010-12-29
|
* Install the new variants of CGIrandomdan2010-12-22
|
* Split the plain CGI and the FastCGI variants into separate programs with a ↵randomdan2010-12-22
| | | | now identical shared core implementation
* Add missing execute on custom SQL merge inserterrandomdan2010-12-21
| | | | | | | | Remove no longer needed second constructor on variables Tidy up variable parent construction and use of attributes Allow row set implementors to extend and add attributes of their own Have attributes return a variant type Add the filesystem rowset for finding files and directories
* Catch Glib::Exceptions which don't inherit from std::exception (grr)randomdan2010-12-21
| | | | | Use cxa_demangle to render the human readable exception class name Have other unhandled exceptions abort an FCGI process, which causes Apache to write a log of it