aboutsummaryrefslogtreecommitdiff
path: root/rpki/gui
AgeCommit message (Collapse)Author
2016-04-27Catch exceptions from Zookeeper to gracefully continue when we can't talk to ↵Michael Elkins
rpkid. closes #805 svn path=/branches/tk705/; revision=6394
2016-04-21Update the GUI to work with the new rcynicdb.Michael Elkins
svn path=/branches/tk705/; revision=6365
2016-03-30Still more UID-swapped file I/O, and general cleanup of UI file I/O.Rob Austein
GUI no longer uses (an additional layer of) temporary files between itself and zookeeper. Zookeeper file read methods now take file-like objects. rpkic now opens input files as the real UID, then reverts back to the effective UID before handing the resulting file off to the zookeeper. This caught several more instances of rpkic file I/O that were not doing the real/effective UID swap properly while loading CSV and VCard files. As far as I can tell from testing, this didn't break anything that worked before. Whether it fixed all the file I/O problems remains to be seen. svn path=/branches/tk705/; revision=6339
2016-03-29Initial fixes to rpkigui-rcynic. Still not working, but failing in aRob Austein
more interesting way now. svn path=/branches/tk705/; revision=6335
2016-03-23Wrap a MySQL-specific error check so it doesn't cause problems when using ↵Rob Austein
other engines. svn path=/branches/tk705/; revision=6326
2016-03-21Django API fashion police renamed "mimetype" to be "content_type".Rob Austein
svn path=/branches/tk705/; revision=6324
2016-03-20Clean up rcynic installation, run rcynicng instead of (old) rcynic, clean up ↵Rob Austein
rcynic-cron. NB: rpkigui-rcynic is currently broken and is therefore disabled in rcynic-cron. This needs to be fixed, but it was broken on this branch in any case, no real point in holding up the rest of this waiting for it. svn path=/branches/tk705/; revision=6321
2015-10-28Now working with PostgreSQL.Rob Austein
svn path=/branches/tk705/; revision=6157
2015-10-27Reimplement rpki.gui.models.IPAddressField as a subclass of CharFieldRob Austein
for portability. With this change, the GUI appears to work with SQLite3. svn path=/branches/tk705/; revision=6155
2015-10-26Whack a few things stale imports and Django 1.6-isms to get GUIRob Austein
running with new code base. Now working with $ yamltest.py --sql mysql --gui smoketest.1.yaml svn path=/branches/tk705/; revision=6153
2015-10-26"Any programmer who fails to comply with the standard naming, formatting,Rob Austein
or commenting conventions should be shot. If it so happens that it is inconvenient to shoot him, then he is to be politely requested to recode his program in adherence to the above standard." -- Michael Spier, Digital Equipment Corporation svn path=/branches/tk705/; revision=6152
2015-10-20Change <self/> (etc) to <tenant/> (etc). "self" always was a reallyRob Austein
bad choice for something implemented in Python, holdover from an older specification, but Django ORM's troubles with "self" as a keyword argument were the last straw. Enough already. Backwards compatability should be a straightforward data migration. svn path=/branches/tk705/; revision=6134
2015-10-15Extend rpki.irdb.zookeeper.etree_read() to support reading directlyRob Austein
from an etree_wrapper object, bypassing the filesystem entirely. svn path=/branches/tk705/; revision=6117
2015-10-10Clean still more old XML-related classes. Rob Austein
At this point, all the classes remaining in rpki.left_right pertain are the pre-Django equivalents of models, and they're the only things left still using rpki.xml_utils. Some old test code remains broken (not yet converted). GUI code that I know about has been converted but not tested (not all that much to convert there, mostly the GUI just invokes the Zookeeper. svn path=/branches/tk705/; revision=6107
2015-10-08Initial sorta-mostly-working with Django 1.8. Incredibly noisy due toRob Austein
incomprehensible advance depreciation warnings for Django 1.9. svn path=/branches/tk705/; revision=6100
2015-10-07Discard Django router in favor of separate settings files tailored toRob Austein
particular programs (see #713). svn path=/branches/tk705/; revision=6098
2015-07-21More relatively straightforward merges.Rob Austein
svn path=/branches/tk705/; revision=6083
2014-11-26Pull from trunk.Rob Austein
svn path=/branches/tk705/; revision=6036
2014-11-18Yet another XML cleanup bug.Rob Austein
svn path=/branches/tk705/; revision=6025
2014-11-16Import correct tag.Rob Austein
svn path=/branches/tk705/; revision=6023
2014-11-13Import left-right symbols needed.Rob Austein
svn path=/branches/tk705/; revision=6022
2014-11-07"He just kept saying `One lousy comma!' as we dragged him away...."Rob Austein
svn path=/branches/tk705/; revision=6006
2014-11-05Missed an _elt in [6002]. Pull changes from trunk.Rob Austein
svn path=/branches/tk705/; revision=6004
2014-11-03Convert some lingering *_elt references to lxml.etree.Rob Austein
svn path=/branches/tk705/; revision=6002
2014-10-11Pull from trunk.Rob Austein
svn path=/branches/tk705/; revision=5998
2014-10-05Helps to import module before using it.Rob Austein
svn path=/branches/tk705/; revision=5990
2014-10-05Pull from trunk.Rob Austein
svn path=/branches/tk705/; revision=5988
2014-10-05Address incompatible API changes in Django 1.7: apps.populate(),Rob Austein
MIDDLEWARE_CLASSES. Fixes #717. svn path=/trunk/; revision=5986
2014-10-03Add router cert request support to the GUI.Michael Elkins
svn path=/trunk/; revision=5985
2014-09-23TypoRob Austein
svn path=/branches/tk705/; revision=5968
2014-09-16Merge changes from branches/tk713 into branches/tk705. See #705, #713.Rob Austein
svn path=/branches/tk705/; revision=5956
2014-09-16Add support for running GUI under yamltest.Rob Austein
Result sometimes hangs with browser waiting for response, not sure why, might be ancient abandoned bug #116. Logging control is a bit screwy, everything uses Python's logging library but we have multiple ways of configuring it. svn path=/branches/tk713/; revision=5954
2014-09-14Start backing out all the old settings.configure() calls, which wereRob Austein
indeed masking the new migration stuff. yamltest now runs migrations as part of setting up test CAs; still need to decide whether running migrations in production is something that should be handled explicitly via rpki-manage or should be bundled into rpki-sql-setup. Old settings.configure() code still present as a trail of breadcrumbs to follow when backing out the rest of the tortuous startup sequence required by the old way of doing things. svn path=/branches/tk713/; revision=5950
2014-09-13Groundwork for Django ORM world conquest: sort out settings.py mess.Rob Austein
svn path=/branches/tk713/; revision=5948
2014-07-07Checkpoint of SQL-based publish and withdraw processing. Doesn'tRob Austein
handle publish-with-overwrite correctly yet, not generating RRDP files yet, but passes "make test" without doing anything obviously insane. svn path=/branches/tk705/; revision=5887
2014-06-19Specify the python path as a string rather than passing an object reference. ↵Michael Elkins
See #701 svn path=/trunk/; revision=5868
2014-06-16qualify email recipient address with the FQDN of the local host. see #700Michael Elkins
svn path=/trunk/; revision=5867
2014-06-05fix typo. closes #698Michael Elkins
svn path=/trunk/; revision=5862
2014-05-30Still more PyLint.Rob Austein
svn path=/trunk/; revision=5850
2014-05-29PyLintRob Austein
svn path=/trunk/; revision=5845
2014-05-29Python style police: instantiate exceptions before raising themRob Austein
(convert two-expression form of "raise" to one-expression form). svn path=/trunk/; revision=5844
2014-04-14bump copyrightMichael Elkins
svn path=/trunk/; revision=5797
2014-04-14store resource handle name as a string in the session rather than a Conf ↵Michael Elkins
object. closes #689 svn path=/trunk/; revision=5795
2014-04-14do not emit a warning about missing parent certs in the cacheview db, since ↵Michael Elkins
this is usually just a harmless case that the rcynic cache has been updated and we haven't yet updated our db svn path=/trunk/; revision=5794
2014-04-14send a single email to root when stale rcynic/routeviews data is detected ↵Michael Elkins
during the nightly expiration check. we no longer send email to the user accounts about this. see #686 svn path=/trunk/; revision=5793
2014-04-11fix broken import in newer django 1.5+. closes #687Michael Elkins
svn path=/trunk/; revision=5786
2014-04-07Pull tk674 changes from trunk. Required manual conflict resolutionRob Austein
because of tree changes in this (tk685) branch; with luck the subversion mergeinfo will record what happened as I intended, but if something horrible happens when this is merged back to trunk, you'll know why. Manual diff of affected files against trunk looks good. svn path=/branches/tk685/; revision=5766
2014-04-05Source tree reorg, phase 1. Almost everything moved, no file contents changed.Rob Austein
svn path=/branches/tk685/; revision=5757