summaryrefslogtreecommitdiff
path: root/core/lib
AgeCommit message (Collapse)Author
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-21rake tasks clean up expired tokens and sessions (#4568)Azul
2013-11-19couchrest:dump task will dump all design docsAzul
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-06-17Use bootswatch rails gem.jessib
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-12-17Removing references to pjax.jessib
2012-11-26Merge branch 'develop' into help_developjessib
Conflicts: users/app/views/sessions/_nav.html.haml
2012-11-26simplified controller and adjusted testsAzul
Also added #assert_json_error to tests.
2012-11-16playing around with pjax-rails but not using it yetjessib
2012-11-06first steps towards warden srp testingAzul
2012-10-11moved core dependency into */Gemfile with :pathAzul
In order to get the rails generators and the like to work properly in engines we need to require all the dependencies in the engine.rb file. Since I want to keep that list of engines in a centralized place we still need core and we need to require it from the other engines. We don't want to require the core gem to be installed so I added it with :path option to the Gemfile.
2012-10-11first steps at reducing coreAzul
2012-09-27added in leap web core - merging reposAzul