276 Commits (ec531ea126c112f1fe9f42f59a62a425f5932fd6)

Author SHA1 Message Date
  Krista Bennett ec531ea126 ENGINE-354: fixed bad call to is_pep_user 5 years ago
  Krista Bennett 4e9f418797 Fixes for a couple of return values adjusted in recent commits; ENGINE-354: checks now in update_identity against the user pep status field. 5 years ago
  Krista Bennett 8c12a62699 log_event is now empty. 5 years ago
  Krista Bennett 4ef5381c1d ensure reset of prepared statement 5 years ago
  Krista Bennett 62798b40df Left SQL logging on again *sigh* 5 years ago
  Krista Bennett ae8bc8761a ENGINE-382 - fixing update bug 5 years ago
  Krista Bennett efd5294cd3 ENGINE-382: changed alter table with non-constant default for timestamp to copy-insert-drop for version 8 5 years ago
  Krista Bennett 6577bcb2fe Added prioritisation of own ids and forgotten prioritisation of recent records, necessary for update_identity to work properly; message to self now gets green from outgoing_message_rating 5 years ago
  Krista Bennett dfc061ec09 Other SQL fixes for, for example, constraint errors on person.main_key_id. This is like pulling your own teeth without novacaine... 5 years ago
  Krista Bennett f3aa429f86 ENGINE-379 and probably other problems: was calling set_identity from within set_as_pep_user, which was called by get_trust, which is called from set_identity. So... yeah. Bad. 5 years ago
  Krista Bennett 3dd16a38b6 Damnit, shut off trusted own key import again. Fixed. 5 years ago
  Krista Bennett 26422fbe28 ADD_TO_LOG and GOTO are now simply removed everywhere. 5 years ago
  Krista Bennett e98adbc01c Removing log_event errors - if it fails, it fails. 5 years ago
  Krista Bennett 87cef94018 Removing logging from the log_event function when logging fails 5 years ago
  Krista Bennett 6b511c033b Argh, accidentally committed import key disable. Sorry. 5 years ago
  Krista Bennett 2cdd4b6402 Added set_as_pep_user to set trust 5 years ago
  Krista Bennett d84dacab75 ENGINE-365: is_pep_user() is now exposed to the outside. See pep_engine.h documentation 5 years ago
  Krista Bennett 9450bc39ca Removed Roker test that broke message_api_test.cc when run outside of the testing environment (this isn't a case of avoiding a bug, but rather the case would fail because the keys tested are actual keys which some of us have present in our real keyrings, and test presumes we do not. 5 years ago
  Krista Bennett 37d89dfc8d Argh... if true... 5 years ago
  Krista Bennett 7fba22b0db Removed inadverent commit of sqlite3 header include 5 years ago
  Krista Bennett 0549e01fd6 Turned automatic first-time import of ultimately trusted keys back on 5 years ago
  Krista Bennett a975ef29c3 ENGINE-250: foreign keys are now on and tests pass. Be aware that with the amount of time we may have been running with them off, there may be other execution paths that cause trouble. File bugs against any DB errors. 5 years ago
  Krista Bennett 202df5c0eb ENGINE-250: address fixes and more; lower() still does something really goofy on the FIRST run with make test, but only then, and even if all databases and keyrings are removed, case_and_dot_address_test still passes for every time after until the next time you make clean *with the whole engine* and rebuild. BIZARRE. 5 years ago
  Krista Bennett d528a5bfa8 ENGINE-250: Pretty sure the current bugs are now actual bugs and not sql-related. But will check. insert-or-replace for identity-based set functions is now replaced with a slightly convoluted callback mechanism which does a check for existence and then updates or inserts appropriately, with optional transaction guards (to be set to false if they're called in what's already a transaction, e.g. set_identity) 5 years ago
  Krista Bennett e90ff8be26 ENGINE-250: Marginally working, but changes() doesn't seem to be a sufficient way of differentiating between update and insert. COuld be my bug though. Some tests still fail, but we need a commit here. 5 years ago
  Krista Bennett 29ed86ed4b ENGINE-250: fixed some things, am screaming at others. Have overcome the 'insert or update' issue at least, probably. 5 years ago
  Krista Bennett 12896c3553 Intermittent commit 5 years ago
  Krista Bennett 9b5b161220 A whole horde of trust fixes (mistrust list added, tests fixed, and sneaky null string in elect key removed) 5 years ago
  Krista Bennett 482e5cc642 ENGINE-352: put in the mechanism to attach an is_pep mechanism for the user; tacking pEp messages is complicated, however, as it seems we've also always fouled up when we checked on that (we don't check what key it's encrypted with before we declare whatever key gets retrieved by update_identity is the same, and then set the comm_type on that, which could be the wrong key.) So that's the next fix. 5 years ago
  Krista Bennett 9696808ead shelving mistrust investigation and fixes to fry bigger fish 5 years ago
  Krista Bennett 5f1dc494f9 Urgh. Fixing bad merge (???) 5 years ago
  Krista Bennett d4f5a4b1a6 ENGINE-329: gpg implementation of first-time import of ultimately trusted keys is in. Apparently, netpgp bluffs trust completely, so a stub is in here for them instead. Too bad :( 5 years ago
  Volker Birk 63e4b8d70d why not on the phones? 5 years ago
  Krista Bennett 040d70b33a ENGINE-340: removed extra mistrust check - problem was actually a missing set in key_mistrust when there is not yet a set identity 5 years ago
  Krista Bennett 6b87c968f3 ENGINE-340: fixed persistence issues caused by removing mistrusted keys as defaults in ENGINE-332 branch 5 years ago
  Krista Bennett 4fac2f5289 ENGINE-332: key_reset_trust and key mistrust fixed 5 years ago
  Krista Bennett 1f9c04611d ENGINE-332: rewrite complete, but needs checking and testing. 5 years ago
  Krista Bennett d438f439e4 ENGINE-289: added tests for myself() default user_id aliases, fixed consts in signature, fixed blacklist test issue 5 years ago
  Krista Bennett 7a22dab653 ENGINE-289: added getter and setter methods for user id aliases, plus error codes for failure (PEP_CANNOT_SET/FIND_ALIAS) 5 years ago
  Krista Bennett a8070c4891 ENGINE-289: added user_id alias queries 5 years ago
  Krista Bennett 84e78bdeb8 ENGINE-289: added alternate user id mapping tables 5 years ago
  Krista Bennett 4d9f32d6a1 ENGINE-289: myself() changes and related fallout. Committing to merge in default. 5 years ago
  Krista Bennett 9c5eb12105 ENGINE-289: All old tests now pass! 5 years ago
  Krista Bennett f4074df51f ENGINE-289: empty fpr on identity input now ok. removed superfluous (and incorrect) check. 5 years ago
  Krista Bennett b64a849765 ENGINE-289: Argh. 5 years ago
  Krista Bennett 8948de506a ENGINE-289: Ok, really. Someone tell me what's wrong with 'update person set id = ?1 where id = ?2 ;', because honestly... anyway, some of the sql is fixed. I should give it up. 5 years ago
  Krista Bennett df59d0eaf8 ENGINE-289: intermittent commit - almost compiling cleanly (yes, it's that far away from tested. It's complicated. 5 years ago
  Krista Bennett eb3ea89deb ENGINE-289: Intermittent commit - need to refactor some logic big-time. 5 years ago
  Krista Bennett 60d15e1f0a ENGINE-320: intermittent commit 5 years ago
  Krista Bennett 7113ca08d8 ENGINE-289: shelving to work on another bug 5 years ago