summaryrefslogtreecommitdiff
path: root/lib/tapicero.rb
AgeCommit message (Collapse)Author
2014-12-14added TapiceroProcess, to handle starting and stopping tapicero during tests.elijah
2014-02-04prevent 409s and 412 and reraise them in testsAzul
Including tests that ensure this
2014-02-04refactor: separate user event handlerAzul
2014-02-04refactor: init user_database with a couchrest dbAzul
2014-02-04hand config files on the command line to the daemonAzul
2014-02-04only set flags if they are definedAzul
2013-12-22Version 0.3.1 with new flags --run-once, --rerun and --overwrite-security0.3.1Azul
--run-once will exit once all current changes have been processed --rerun will process all users again even those that were processed before --overwrite-security will overwrite security for user databases even if it has been set before.
2013-12-19add design docs on db creation, use PathnameAzul
Pathname makes dealing with files easier than String. Tapicero will look for design documents in design directory in the tapicero path for now.
2013-12-19Version 0.2.0: use CouchRest::ChangesAzul
This also changes the format of the config file. Please make sure to adjust it.
2013-09-25log to file or syslog instead of STDOUTAzul
2013-09-12use CouchRest::Database#changes, store and retrieve seqAzul
This commit bundles a few different changes: * we now use the CouchRest::Database#changes stream instead of our own * we store and read the last sequence number so on a restart we can start where we left * we now have a UserDatabase class rather than the CouchDatabaseCreator. It also knows about it's name and we create an instance of it per database we want to create. It's also more flexible when the databases already exist.
2013-09-11create couch dbs as users are createdAzul
2013-09-10use our own JsonStream and a created callback in CouchChangesAzul
2013-09-10bringing over couch_changes from leap_ca including testsAzul