summaryrefslogtreecommitdiff
path: root/core/lib/extensions
AgeCommit message (Collapse)Author
2014-02-10ensure we are working on a string as the content typeAzul
2014-02-10split up and expand account integration testAzul
2013-12-17catch all rest client exceptions during initializationAzul
2013-12-13proceed even if the couch is unreachableAzul
* in case the user has a session id, keep it but proceed without a session * in case we can't initialize the models proceed * if APP_CONFIG[:reraise_errors] is set we'll crash instead in the latter case default to reraise errors in dev and test environments.
2013-12-12reraise with a better explaination on couch failureAzul
Removing our own error class for this. It interferes with couch_rest_session_store tryign to catch the same errors.
2013-11-19add dump_design_docs to CouchRest::Model::Utils:MigrateAzul
This is similar to the migrations but instead of uploading the design documents to couch it stores them in tmp/database/design.json within the rails directory. database is the supposed database name without prefixes or suffixes design is the name of the design doc CouchRest model would have created The files also contain a couchrest checksum so couchrest can detect they are up to date. This commit also cleans up a few redundant things in the extension to CouchRest::Model:Utils::Migrate that we used to have. There's no need to loop through the 'normal' models in load_all_models_with_engines since load_all_models_without_engines already does that. We were also overwriting all_models_and_proxies with exactly the same code as in the original.
2013-10-09Fix couchrest model migrations to work with latest versionAzul
Also we now depend upon couchrest model ~> 2.0.0. The beta2 still has the old naming scheme for CouchRest::Model::Utils::Migrate
2013-04-09return token on successful login via apiAzul
2013-04-08Merge pull request #38 from azul/feature/meainingful_couch_errorjessib
catch Errno's and RestClient errors and throw a more meaningful error
2013-04-05make sure only our own models are loadedAzul
This is just a quick hack. we should move all engines to a dir of their own.
2013-03-14catch Errno's and RestClient errors and throw a more meaningful couchrest errorAzul
2013-03-06make sure couchrest actually finds our models in the enginesAzul
2013-01-22render 404 if neededAzul
2013-01-03adding default reduce function to couch views read from filesAzul
2012-12-22moving the js for view definitions into separate filesAzul
This way we get syntax highlighting and so on.
2012-12-20Define ascending method in CouchRest::Model::Designs::View so we can call ↵jessib
the order either way.
2012-11-26simplified controller and adjusted testsAzul
Also added #assert_json_error to tests.
2012-11-06first steps towards warden srp testingAzul
2012-09-27added in leap web core - merging reposAzul