aboutsummaryrefslogtreecommitdiff
path: root/rpkid/rpki/sql.py
AgeCommit message (Collapse)Author
2014-04-05Source tree reorg, phase 1. Almost everything moved, no file contents changed.Rob Austein
svn path=/branches/tk685/; revision=5757
2014-01-09Update more copyrights, clean up module doc blocks.Rob Austein
svn path=/trunk/; revision=5624
2013-04-19Throw exception when asked to issue a certificate with notAfter <=Rob Austein
notBefore. Don't stomp ghostbuster_obj if we've just reused it. Clean up properly when deleting a ca_detail. Don't reissue expiring certificate if IRDB valid_until field says it's supposed to expire. svn path=/trunk/; revision=5302
2012-10-26Teach MySQLdb converter interface about rpki.sundial.datetime.Rob Austein
svn path=/branches/tk274/; revision=4794
2012-10-18pylintRob Austein
svn path=/branches/tk274/; revision=4786
2012-08-29Add a lot of __repr__() methods in an attempt to make the logs moreRob Austein
useful. Add rpki.sql.cache_reference decorator, to give the garbage collector some guidance about linkages between active objects now that the SQL cache uses weak references. Other minor cleanup. svn path=/branches/tk274/; revision=4676
2012-08-17As of [4632], rpki.sql.session._wrap_execute() handles SQL pingsRob Austein
automatically, no need for explict pings elsewhere. svn path=/branches/tk274/; revision=4634
2012-08-17Automate SQL pings. Suppress case where ROA regeneration gratuitouslyRob Austein
updated CRL and manifest. More debug logging. svn path=/branches/tk274/; revision=4632
2012-08-09Switch rpki.sql.session.cache to use weak references, so that Python'sRob Austein
garbage collector can free up cache entries we're not using for us. Rework update_roas() to be a bit more frugal with memory. See #278. svn path=/branches/tk274/; revision=4626
2012-07-25Clean up SQL cache when it gets big, break up huge batches of ROARob Austein
requests to avoid timeouts. See #274. svn path=/trunk/; revision=4607
2011-07-27Consolidate all of the import voodoo for MySQLdb into a new module.Rob Austein
svn path=/buildtools/make-python-executable.py; revision=3946
2010-11-14Implement "reissue" left-right operation. Reformat some doc strings.Rob Austein
svn path=/rpkid/irbe_cli.py; revision=3551
2010-07-16Doh, .sql_mark_deleted() works better if it also marks record dirty.Rob Austein
svn path=/rpkid/rpki/sql.py; revision=3412
2009-12-21Have to import "with" statement from future into Python 2.5 to avoidRob Austein
syntax errors while suppressing MySQLdb set deprecation warnings in Python 2.6. Feh. svn path=/rpkid/irdbd.py; revision=2895
2009-12-21Suppress Python 2.6 warnings about MySQLdb using deprecated setsRob Austein
module, since the code still works and this is beyond our control. svn path=/rpkid/irdbd.py; revision=2894
2009-07-20Add debugging support to sql_delete(), general clean up of SQLRob Austein
debugging code. svn path=/rpkid/rpki/sql.py; revision=2648
2009-06-08Switch to MySQL InnoDB engine, fix everything that brokeRob Austein
svn path=/rpkid/doc/Installation; revision=2502
2009-06-04Rototill left-right and publication protocol to replace SQL-assignedRob Austein
numeric identifiers with IRBE-assigned "handles". Daemons and test harness have been converted and seem to work; some tools like irbe_cli haven't been updated yet. svn path=/rpkid/doc/Installation; revision=2493
2009-05-27Update copyright notices in files edited this yearRob Austein
svn path=/rcynic/rcynic.c; revision=2452
2009-05-19Show offending values when raising DBConsistancyErrorRob Austein
svn path=/rpkid/rpki/sql.py; revision=2439
2009-05-11Spelling never was my strong point.Rob Austein
svn path=/rpkid/rpki/left_right.py; revision=2425
2009-05-11Cosmetic doc changes.Rob Austein
svn path=/rpkid/irbe-setup.py; revision=2424
2009-04-29More lintRob Austein
svn path=/rpkid/Makefile; revision=2373
2009-04-29First pass with pylintRob Austein
svn path=/rpkid/Makefile; revision=2371
2008-07-08Add debugging for sql_store() operationsRob Austein
svn path=/rpkid/rpki/sql.py; revision=1979
2008-06-12Apparently Doxygen -does- read module documentation, but only ifRob Austein
nothing preceeds it in the file, not even comments. Reformat to work within this restriction. svn path=/docs/left-right-protocol; revision=1873
2008-06-06Refactor SQL code to form rpki.sq.session class, and add code to warnRob Austein
about dirty objects in SQL cache on SQL errors. svn path=/rpkid/irdbd.py; revision=1852
2008-06-06Checkpoint (refactor to create new rpki.sql.session class to handleRob Austein
retry of failed sql connections, not done yet, time for dinner...) svn path=/rpkid/pubd.py; revision=1848
2008-05-17"as" will be a reserved word in Python 2.6, stop using it as anRob Austein
identifier. svn path=/rpkid/irdbd.py; revision=1798
2008-05-15Clean up TLS certificate handling and a lot of debugging code.Rob Austein
svn path=/rpkid/cronjob.py; revision=1778
2008-05-11Add SQL debugging code, tweak WHERE generation in .sql_fetch().Rob Austein
svn path=/rpkid/rpki/sql.py; revision=1765
2008-05-11Paranoia.Rob Austein
svn path=/rpkid/rpki/sql.py; revision=1763
2008-05-10Checkpoint of debugging code while chasing interop issuesRob Austein
svn path=/rpkid/rpki/gctx.py; revision=1762
2008-04-24Checkpoint. Partly converted to new BPKI model. This breaks makeRob Austein
test, mostly because the cross-certification stuff isn't done yet. svn path=/docs/left-right-xml; revision=1701
2008-04-16Rework ROA generation and maintenance.Rob Austein
svn path=/docs/left-right-xml; revision=1668
2008-04-12Checkpoint. "make test" works again, but ROA maintenance code isn'tRob Austein
really right yet. svn path=/rpkid/rpki/left_right.py; revision=1658
2008-04-11Checkpoint. Initial ROA generation working, no maintenance yet.Rob Austein
svn path=/docs/rpki-db-schema.sql; revision=1656
2008-04-11Checkpoint. ROA generation almost working, but not quite.Rob Austein
This checkpoint breaks "make test", will be fixed shortly. svn path=/docs/left-right-xml; revision=1654
2008-04-02Start cleaning up messy global context stuffRob Austein
svn path=/rpkid/rootd.py; revision=1571
2008-03-28Switch to using OpenSSL HEAD snapshot, for the new CMS codeRob Austein
svn path=/openssl/Makefile; revision=1566
2008-03-27Add revoked_cert table and rototill child_cert revocation code to useRob Austein
it. Enable MySQLdb exceptions, whack resulting problem with MySQL DATETIME object conversion repeatedly with a blunt object. svn path=/docs/rpki-db-schema.pdf; revision=1564
2008-03-05CheckpointRob Austein
svn path=/rpkid/rpki/sql.py; revision=1550
2008-03-04First pass at ROA generation. Not yet tested, no support yet forRob Austein
updating or withdrawing existing ROAs. svn path=/docs/rpki-db-schema.pdf; revision=1549
2008-03-04CheckpointRob Austein
svn path=/rpkid/rpki/left_right.py; revision=1548
2008-03-04CheckpointRob Austein
svn path=/rpkid/rpki/left_right.py; revision=1547
2008-03-04CheckpointRob Austein
svn path=/rpkid/rpki/left_right.py; revision=1546
2008-02-27Filename cleanupRob Austein
svn path=/rpkid/Makefile; revision=1531