Age | Commit message (Collapse) | Author |
|
So that whoever consumes the API can use this attribute to
determine if admin functionalities should be made available to
the current user.
|
|
with_config is not mean to test the current config. It will
set the config. So instead we need to look into APP_CONFIG.
|
|
This expresses the intent rather than the implementation.
Also replace temp with query refactoring.
|
|
There was a lot of special case handling going on in the users_controller
for this. Lot simpler this way.
|
|
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
|
|
Actually this should live in a service_level_controller.
For now fix the security issue.
|
|
|
|
MX validations relied on network connection. Only using them
in production environment now. I want to be able to develop and
test when disconnected.
|
|
Otherwise this will mess up other tests.
|
|
|
|
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.
|
|
Now we test both api versions. We want this for backwards compatibility.
|
|
|
|
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
|
|
|
|
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.
|
|
|
|
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.
|
|
|
|
rails 4 mixes model, controller and integration tests. So lets
give this one a better name
|
|
Uses the latest couchrest and couchrest_model.
Also fixes issues with ruby 2.1
|
|
|
|
and use content_tag inside the icon helper... html_safe is evil.
|
|
|
|
|
|
bootstrap3 now requires btn-default if no other btn option is present.
download button on home page was too small in german translation
|
|
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.
|
|
|
|
but you may not hand it a nil
|
|
exists? is deprecated in ruby 2.1
|
|
Not sure if this does what we need. But for now it fixes the tests
|
|
using twitter/typeahead instead which seems to have similar properties
|
|
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.
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
We can also remove the backports now. :)
|
|
|
|
|
|
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.
|
|
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.
|
|
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.
|
|
Changed according to http://railsdiff.org/3.2.22.2/4.2.6
Should also get rid of some warnings.
|
|
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.
|
|
Rails 4.2 runs all tests mixed together. So unit tests and integration tests
may not have conflicting names.
|
|
AccountLivecycleTest -> CRUD accounts
SecurityTest -> security specific tests
AdminTest -> admin specific tests
|
|
we need to require 'capybara/rails' so that Capybara::DSL is available.
ActionController::RecordIdentifier was moved to ActionView
|