Age | Commit message (Collapse) | Author |
|
Fix/bootstrap 3
See merge request !31
|
|
* reran the simple form initializer.
* wrapped submit buttons are now broken and need a fix.
* disabled confirmation validation in client side validations as the
error message always is attached to the wrong field.
|
|
|
|
The Active::Model modules of client side validations only get included
in CouchRest::Model::Base if the gems are loaded in the right order:
* activemodel is required first so the modules to extend are present
* client_side_validations is required next so its modules get included
* couchrest_model is required last so it includes the enhanced modules.
\
|
|
fix: display error js responses in dev environment
See merge request !30
github issue #231
|
|
Sometimes the dev environment will send back a plain text response.
This causes the json parser to raise an exception and used to cause
the browser not to display any error message.
Now we dumpt the whole server response - which happes to also include the
backtrace. A lot more useful than doing nothing.
In production this should never happen as 500s get handled by the
ExceptionApplication / our ErrorsController there.
|
|
cleanup: no more submodules
See merge request !29
|
|
|
|
Install/subrepos
See merge request !28
Fixes github issue #238
|
|
subrepo:
subdir: "app/assets/javascripts/srp"
merged: "9e1a417"
upstream:
origin: "https://leap.se/git/srp_js"
branch: "master"
commit: "9e1a417"
git-subrepo:
version: "0.3.1"
origin: "https://github.com/ingydotnet/git-subrepo"
commit: "a7ee886"
|
|
|
|
fix: keep ticket submit button clickable
See merge request !27
|
|
It was marked as submitted even when client side validations interfered.
fixes github issue #227
|
|
bugfix: handle couch 404s
See merge request !26
|
|
our special error handler for json requests would turn all exceptions
into 500s - removed it. now the rescue_responses can do their thing
again.
|
|
upgrade: use rails4s 'secret_key_base'
Closes #23
See merge request !24
|
|
test: also test ruby 2.3
Closes #21
See merge request !25
|
|
This will get us encrypted cookies but also requires changes to the platform.
fixes #23
|
|
|
|
bugfixing for generating token script
|
|
upgrade: bundle
Closes #13
See merge request !23
|
|
update all the dependencies.
minitest now wants assert_nil instead of assert_equal nil, ...
braintree now uses update_attributes rather than save.
|
|
upgrade: rails4.2 deprecated deliver -> deliver now
Closes #16
See merge request !22
|
|
fixes #16
|
|
test: admin user api always green
Closes #17
See merge request !21
|
|
Used to fail because the record already existed in the database
fixes #17
|
|
fix: 404 on key request with non html content-type
Closes #8
See merge request !20
|
|
|
|
fix: 404 for missing pages template - fixes #9
Closes #9
See merge request !19
|
|
|
|
test: 404 response for missing key
See merge request !18
|
|
enable testing error responses on the full rack stack.
|
|
bugfix: format: html for home roots
See merge request !17
|
|
That's the only thing the controller handles meaningful.
Before the route would also catch anything that started with a . interpreting
it as a format string. This lead to lots of false positives in our security
scanner.
|
|
make the rescue in account creation less broad
See merge request !15
|
|
Update recovery code
See merge request !16
|
|
Related with https://github.com/pixelated/pixelated-user-agent/issues/924
With @aarni
|
|
Related with https://github.com/pixelated/pixelated-user-agent/issues/924
With @aarni
|
|
It was catching errors that should have led to 500s
|
|
Fix keys route to accept usernames with dots
See merge request !14
|
|
|
|
Ignore files created by working as user leap-webapp
See merge request !13
|
|
|
|
The Readme file in the folder already ensures that it is kept. The .gitkeep was causing diffs in production
|
|
bugfix: handle missing params for ticket gracefully
This used to trigger a 500.
Fixes [#8395](https://leap.se/code/issues/8395)
See merge request !11
|
|
This used to trigger a 500.
Fixes #8395
|
|
bugfix: only send login errors once
If a login was invalid as a username but also for the identity we used to have duplicate error messages. Let's avoid that.
Also added a test to make sure invite_code errors are properly displayed no matter what other fields are set or missing. Pixelated will rely on this to test invite codes
See merge request !10
|
|
If a login was invalid as a username but also for the identity we used to have duplicate error messages. Let's avoid that.
Also added a test to make sure invite_code errors are properly displayed no matter what other fields are set or missing. Pixelated will rely on this to test invite codes
|
|
Ci: cache gems between builds
See merge request !9
|
|
bundler and rubygems should be robust enough to share one dir in
different branches. This way gems can be reused. If new versions are
required they will just be added to the shared cache.
|