Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-09-17 | Add methods to the base object to set, clear, list, and check flags. Wrap | Russ Allbery | |
attribute setting in objects inside eval to catch SQL errors and set the object error accordingly rather than throwing an exception. | |||
2007-09-17 | Add additional information about the history entry semantics when logging | Russ Allbery | |
flag changes. | |||
2007-09-17 | Add an acl_show() method to Wallet::Server that calls the underlying ACL | Russ Allbery | |
show() method. | |||
2007-09-17 | In show() for an object, call show() for each of the ACLs on that object | Russ Allbery | |
and append that information to the object description. | |||
2007-09-17 | Add a show method to Wallet::ACL. | Russ Allbery | |
2007-09-01 | Add a test for the download trace information. Do that in the keytab | Russ Allbery | |
test because that's the only place we can successfully run get right now. | |||
2007-09-01 | Note that not all objects support store. | Russ Allbery | |
2007-09-01 | Test a couple more ADMIN ACL manipulation cases. | Russ Allbery | |
2007-09-01 | Test another case around the ADMIN ACL. | Russ Allbery | |
2007-09-01 | Add some additional safeguards to ensure that users cannot destroy, | Russ Allbery | |
rename, or remove the last entry from the ADMIN ACL. Add full documentation for Wallet::Server. | |||
2007-08-31 | Remove duplicate error documentation. | Russ Allbery | |
2007-08-31 | Use a better method of setting the internal error that automatically | Russ Allbery | |
adjusts for trailing newlines and exception detritus, saving duplicate code. Standardize the documentation of the error() method and document using this in child classes of the generic ACL and Object classes. Disable printing of errors during connect in Wallet::Server since we're going to throw our own exception. | |||
2007-08-31 | Add documentation. | Russ Allbery | |
2007-08-31 | Check for proper handling of lots of configuration errors or failure | Russ Allbery | |
to run kadmin. | |||
2007-08-31 | Check handling of invalid database configuration and failure to connect | Russ Allbery | |
to the database. | |||
2007-08-31 | Be considerably more robust in the face of configuration errors. Check | Russ Allbery | |
our configuration and die if it isn't correct. Catch all the exceptions thrown by the _kadmin method and do something with them. Print a warning and then rethrow the exception in the parent when running a non-existent kadmin binary rather than throwing an exception in the child, which doesn't close things down cleanly. Be robust against an undefined KEYTAB_FLAGS setting. Ensure KEYTAB_TMP is set. Also some minor doc improvements. | |||
2007-08-31 | Allow empty DB_INFO and DB_NAME settings as long as they're defined. | Russ Allbery | |
2007-08-31 | Add documentation. | Russ Allbery | |
2007-08-31 | Fix some documentation issues around trace information and add more SEE | Russ Allbery | |
ALSO references. | |||
2007-08-31 | Add a few more SEE ALSO references. | Russ Allbery | |
2007-08-31 | Add documentation. | Russ Allbery | |
2007-08-31 | You don't have to explicitly load the driver module for DBI. | Russ Allbery | |
2007-08-30 | Added a full test suite for Wallet::Object::Keytab and instructions on | Russ Allbery | |
how to set up and run it. | |||
2007-08-30 | Fix the valid principal check and fix assumptions about who qualifies | Russ Allbery | |
principals in all the kadmin functions. Pass the realm to the kadmin command. Parse ktadd errors properly. Call _kadmin_ktadd with the correct arguments. | |||
2007-08-30 | Finish the test suite. This should now be fairly comprehensive. | Russ Allbery | |
2007-08-30 | Fix ACL verification for destroy and flags actions. Clear the internal | Russ Allbery | |
error before accessor functions that can return undef not because of an error but just because the column is null so that the caller can tell the difference. | |||
2007-08-30 | Checkpoint. Add tests for basic object operations. | Russ Allbery | |
2007-08-30 | Test clearing attributes. | Russ Allbery | |
2007-08-30 | Return true from object creation, not the new object, which would be a | Russ Allbery | |
layering violation. Fix permission denied error messages for store. Don't give administrators global access to get and store, since it would encourage bad ACL practices. When checking ACLs, instantiate the ACL object correctly. Support clearing attributes and propagate object errors into the server error correctly. Reject stores of undefined data (the empty string is okay). | |||
2007-08-30 | Don't allow empty object types or names. Return true from setting | Russ Allbery | |
attributes rather than the new value; returning the new value is kind of pointless and makes it harder to test. Add support for clearing attributes by passing in the empty string as the new value. | |||
2007-08-30 | Do not require (or allow) principals to be qualified with the realm. | Russ Allbery | |
2007-08-30 | Initial test suite for the Wallet::Server interface. Right now, just | Russ Allbery | |
checks the ACL management functions. | |||
2007-08-30 | Properly clean up errors from exceptions. Properly catch exceptions when | Russ Allbery | |
creating ACL objects in Wallet::Server. Don't return the ACL object from the acl_create method of Wallet::Server -- it's a layering violation. | |||
2007-08-30 | Unlink the database before creating it to protect against previous test | Russ Allbery | |
failures. | |||
2007-08-30 | Add a test for renaming to an existing name. Unlink the database before | Russ Allbery | |
creating it to protect against previous test failures. | |||
2007-08-30 | Finish the test suite for the ACL layer. | Russ Allbery | |
2007-08-30 | Add primary keys for tables where everything is a key to be sure that we | Russ Allbery | |
get the uniqueness constraint. | |||
2007-08-30 | Don't reuse the same reference in list; expand each return separately. | Russ Allbery | |
Reject check with an empty principal. | |||
2007-08-30 | Add an initial test suite for ACLs. Not all the methods are checked yet. | Russ Allbery | |
2007-08-30 | use all the modules we need. | Russ Allbery | |
2007-08-30 | Reject all-numeric ACL names since they're ambiguous. Change the stored | Russ Allbery | |
name on rename. | |||
2007-08-30 | Rename acl.t to verifier.t to free up acl.t for tests of the more general | Russ Allbery | |
ACL interface. | |||
2007-08-30 | Clean up all exception output when storing it in the error variable to | Russ Allbery | |
remove the " at line" stuff added by Perl and the newlines so that the errors stored in objects are consistent. Fix various bugs in the base object, including a few more type vs. name inversions and use of object instead of name. Allow owners to be specified as ACL names instead of IDs, and change the ID to a name in show. Add a new test suite for the base object implementation. | |||
2007-08-30 | Fix all the interfaces so that objects are identified as type, name, not | Russ Allbery | |
name, type, and fix the schema for the places where I'd renamed name to object for no good reason. I don't know what I was thinking originally. | |||
2007-08-30 | Adjust for the classes we're actually using. | Russ Allbery | |
2007-08-30 | Test case for database initialization. | Russ Allbery | |
2007-08-30 | This class now provides a method to do database initialization, which | Russ Allbery | |
shares database open code with the new method. Add an accessor function to get at the database handle, which is useful for testing. Add a DESTROY method to shut the database connection down cleanly. | |||
2007-08-30 | Adjust for SQL syntax differences for auto-increment keys between MySQL | Russ Allbery | |
and SQLite. | |||
2007-08-30 | Call last_insert_id with the correct arguments. | Russ Allbery | |
2007-08-30 | Comment improvements. | Russ Allbery | |