summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-05-23cleanup: remove service level code from users_controllerAzul
There's no route to this right now and it also seems to be tested nowhere. Since i am about to split up the users_controller let's get rid of this and put it in the place we want it once we actually finish the implementation
2016-05-23restrict user_params in user_controllerAzul
Actually this should live in a service_level_controller. For now fix the security issue.
2016-05-23Merge remote-tracking branch 'pr/220' into developAzul
2016-05-22make ticket tests pass without network connectionAzul
MX validations relied on network connection. Only using them in production environment now. I want to be able to develop and test when disconnected.
2016-05-21tests: reset I18n.locale after locale_path_testAzul
Otherwise this will mess up other tests.
2016-05-20include engine tests in default testAzul
2016-05-20api: set defaults for version in routesAzul
This way we do not need to specify it all the times. In the functional tests defaults do not get added automatically. Introduced api_{get,put,post,delete} to add format and version default. One to two functional tests failing, everything else passes.
2016-05-18features for API version 2 - keep old onesAzul
Now we test both api versions. We want this for backwards compatibility.
2016-05-18api: allow version bumping - bump to 2Azul
2016-05-14ensure invalid user ids still render the ticket formAzul
We still have strange urls requested like /pt/users/AnonymousUser.../tickets/new Not sure where they are coming from - but this should make sure we respond with sth. meaningful instead of erroring out. Conflicts: app/views/layouts/_content.html.haml
2016-05-12minor: no need to vendor couchrest_session_storeAzul
2016-05-09test: make identity test locale independentAzul
It somehow managed to fail for a certain test order. Seems rather rare though - have not been able to reproduce it in 5 runs. Failed with --seed 60219.
2016-05-09minor: cleanup debug message in testAzul
2016-05-03use APP_CONFIG[config_file_paths] for provider.jsonAzul
This avoids overwriting the PROVIDER_JSON constant in the StaticConfigController and thus fixes test warnings. Also moved away from using instance variables in the ControllerExtension::JsonFile - instead querying the corresponding functions now - less sideeffects and easier stubbing.
2016-05-03fix failing unit and functional testsAzul
2016-05-03fix type mismatch TokenAuthTestAzul
rails 4 mixes model, controller and integration tests. So lets give this one a better name
2016-05-02upgrade: couchrest_session_store 0.4.2Azul
Uses the latest couchrest and couchrest_model. Also fixes issues with ruby 2.1
2016-05-02bugfix: test user properly in auto_new_ticket_pathAzul
2016-05-02use icon helper from navigation helperAzul
and use content_tag inside the icon helper... html_safe is evil.
2016-05-02upgrade: horizontal forms now need column stylesAzul
2016-05-02upgrade: bootstrap control-group -> form-groupAzul
2016-05-02upgrade: fix buttons for bootstrap3Azul
bootstrap3 now requires btn-default if no other btn option is present. download button on home page was too small in german translation
2016-05-02upgrade bootstrap3 icons work nowAzul
import bootstrap-sprockets; before importing bootstrap in the scss. bootstrap now uses glyphicons which are based on fonts. So we always should use a span. Not sure what to do with big and huge icons yet.
2016-05-02upgrade: use bootstrap3 row and col-md-*Azul
2016-05-02tests: Validator.new has optional options hashAzul
but you may not hand it a nil
2016-05-02upgrade: {File,Dir}.exists? -> exist?Azul
exists? is deprecated in ruby 2.1
2016-05-02upgrade: add formbuilder wrapper for bootstrapAzul
Not sure if this does what we need. But for now it fixes the tests
2016-05-02upgrade: typeahead is not in bootstrap3 anymoreAzul
using twitter/typeahead instead which seems to have similar properties
2016-05-02test: use assert_error_response in functional testAzul
This way the changed flash hash still is recognized. Also changed the generic 'no_such_thing' i18n key to more specific 'no_such_user'. The former is very hard to translate as the gender of thing may affect the translation of the 'no such' part.
2016-05-02upgrade: use bootstrap3 variable names in leap.scssAzul
2016-05-02upgrade: test cases now have #nameAzul
2016-05-02update: stop refering to bootstrap2 ie7 hackAzul
2016-05-02upgrade: separate CouchRest::Session from DocumentAzul
CouchRest::Session now offers the high leven API while CouchRest::Session::Document only extends the CouchRest::Document to have the properties (rotation, naming, etc...) that we want. A Session has a Session::Document instead of inheriting from it.
2016-05-02test: flash now has string keysAzul
2016-05-02test: response is blank - not = ' 'Azul
2016-05-02upgrade: bootstrap 3 does not have -responsiveAzul
We can also remove the backports now. :)
2016-05-02upgrade: client_side_validations initializerAzul
2016-05-02upgrade: default_wait_time -> default_max_wait_timeAzul
2016-05-02upgrade: migrate configAzul
environment.rb boot.rb application.rb -> adopted according to http://railsdiff.org/3.2.22.2/4.2.6 Also dropped quite_assets - not sure if this is still needed with rails 4.2. If it is we can bring it back.
2016-05-02upgrade: environments:productionAzul
Changed according to http://railsdiff.org/3.2.22.2/4.2.6 Includes setting logging to debug. Not sure if we want this. I agree that it's good to have all info available in case something breaks.
2016-05-02upgrade: environments:developmentAzul
Changed according to http://railsdiff.org/3.2.22.2/4.2.6 Also separated settings we added from those that rails has by default.
2016-05-02upgrade: environments/test.rbAzul
Changed according to http://railsdiff.org/3.2.22.2/4.2.6 Should also get rid of some warnings.
2016-05-02upgrade: add binstubs to gitAzul
http://www.scimedsolutions.com/articles/43-the-new-way-binstubs-work The new wisdom is to also use binstubs in production. Also updated .gitignore according to http://railsdiff.org/3.2.22.2/4.2.6 Removed .swp ignore as that is editor specific and should be set per dev system rather than per project.
2016-05-02upgrade: unique test namesAzul
Rails 4.2 runs all tests mixed together. So unit tests and integration tests may not have conflicting names.
2016-05-02split up integration account testAzul
AccountLivecycleTest -> CRUD accounts SecurityTest -> security specific tests AdminTest -> admin specific tests
2016-05-02fix browser_integration_testAzul
we need to require 'capybara/rails' so that Capybara::DSL is available. ActionController::RecordIdentifier was moved to ActionView
2016-05-02upgrade: add responders gem as a stopgap meassureAzul
respond_with is discouraged.
2016-05-02upgrade: no more underspecified match routesAzul
2016-05-02vendoring couchrest session store for developmentAzul
0.4.0 has not been released yet. But travis needs it to run. So i vendor it for now. Will remove it again when the build is getting stable.
2016-05-02upgrade: remove references to RestClientAzul
CouchRest > 1.2 does not use RestClient anymore. So we should not try to catch its errors.