Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-12-20 | add design docs to be included in each user database | Azul | |
Also strip the .json extention because soledad does not expect it | |||
2013-12-19 | add design docs on db creation, use Pathname | Azul | |
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-19 | Version 0.2.0: use CouchRest::Changes | Azul | |
This also changes the format of the config file. Please make sure to adjust it. | |||
2013-11-29 | Merge pull request #4 from azul/feature/more_robust_sequence_handling | jessib | |
Feature/more robust sequence handling | |||
2013-11-29 | Merge pull request #3 from azul/feature/ignore_design_doc_changes | jessib | |
ignore design document changes - do not trigger callbacks then | |||
2013-11-28 | rescue from 404 when destroying db | Azul | |
Also logging per user db creation and destruction if they happen. | |||
2013-11-28 | make sequence accept all kinds of json | Azul | |
bigcouch uses arrays for sequence: http://mail-archives.apache.org/mod_mbox/couchdb-user/201301.mbox/%3CCABvT1DEGDCJyvEuFsNJZbXi_NJwJna8NHDnQvpr2h532s0V18g@mail.gmail.com%3E So we should not expect them to be integers. Still have to catch the empty file situation in a meaningful way though. | |||
2013-11-27 | ignore design document changes - do not trigger callbacks then | Azul | |
tapicero should create per user databases when a user is created and destroy them when that user is destroyed. However it should not attempt the same if design docs are created or destroyed. | |||
2013-11-21 | Update default.yaml - couchdb security has members, not readers | azul | |
2013-11-18 | Merge pull request #2 from azul/feature/delete-user-databases | jessib | |
Delete per user databases if the user has been deleted | |||
2013-11-18 | use our logger - not just puts | Azul | |
2013-11-18 | delete user db's on user deletion. | Azul | |
2013-11-18 | fix issues with storing and retrieving the sequence | Azul | |
.to_i makes retrieving the sequence more robust - in particular if the file content was not meaningful. store_seq should also be called if it was a destroy action. | |||
2013-11-18 | add a hook for reacting on user deletion. | Azul | |
2013-09-30 | Merge pull request #1 from azul/feature/logging | jessib | |
log to file or syslog instead of STDOUT | |||
2013-09-27 | clarify comment for log_file config setting | Azul | |
2013-09-25 | log to file or syslog instead of STDOUT | Azul | |
2013-09-16 | point to default config file for options | Azul | |
add some explainations | |||
2013-09-16 | Update Readme.md - we're not using http_stream from yajl anymore | azul | |
yajl/http_stream has been deprecated. We replaced it with the CouchRest::Database#changes | |||
2013-09-16 | refactor - separate reading the last sequence from initialize | Azul | |
2013-09-12 | use CouchRest::Database#changes, store and retrieve seq | Azul | |
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-11 | use password and username from the config file | Azul | |
2013-09-11 | write _security to fresh couch | Azul | |
2013-09-11 | create couch dbs as users are created | Azul | |
2013-09-10 | use our own JsonStream and a created callback in CouchChanges | Azul | |
2013-09-10 | bringing over couch_changes from leap_ca including tests | Azul | |
2013-09-10 | we do not need couchrest_model | Azul | |
2013-09-10 | fixup: tapicero.gemspec - not leap_ca.gemspec | Azul | |
2013-09-10 | config file added | Azul | |
2013-09-10 | copying over skeleton from leap_ca which worked similarly | Azul | |
2013-09-10 | initial readme | Azul | |