Age | Commit message (Collapse) | Author |
|
Null Pattern for current_user - use it to get rid of some conditionals
|
|
this still allows us to do current_user.service_level.
Have not gone through the rest of the code yet.
Only made sure logged_in? now tests for is_a? User instead of !!current_user
|
|
:api/service will return a hash of the current users service level
This is failiing if the user is not logged in. Instead it should return the service description for an anonymous user.
|
|
Refactor/engines
|
|
|
|
it may not have been required before the RackTest support class.
|
|
|
|
Also renamed help to support so it's harder to confuse it with documentation
|
|
They are currently using fake_braintree. I think this is not a good approach for integration tests. It's a fake - we should test against braintrees test api. However that requires getting an api key that we want to keep outside the repository. So these test can only run on travis if we manage to setup secret values in .travis.yml - which has been failing so far.
So for now i moved the broken billing integration tests to billing/test/broken to move on.
|
|
they are still broken though.
|
|
|
|
cleaned up all the engine stuff that was never really used.
Afterwards there is not that much left that makes it into the toplevel.
|
|
prevent recursive loadign of test/factories.rb ** can be empty.
|
|
|
|
|
|
|
|
now we only include some engines - we don't build the whole webapp based on them. Reflecting this in the documentation.
|
|
We used to keep them separated so one could require some engines without using the full webapp. We've never really supported this though and probably never will.
|
|
some message tests are failing for me right now.
|
|
|
|
|
|
|
|
An expired token was removed (probably by automatic cleanup) while processing it. So the webapp crashed due to a couch 404.
We're preventing that by rescueing from a 404 on Token.delete by default.
|
|
andrejb/bug/5430_fix-soledad_sync-returned-check_name
Fix soledad sync nagios plugin returned check_name (#5430).
|
|
|
|
Add script to check if soledad is working (#5239).
|
|
|
|
|
|
|
|
|
|
Refactor/tweaks to messages
|
|
uniq! is probably not any faster than just checking include?
|
|
Feature/token only api auth
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
authorize_admin -> require_admin
also add require_token which will ensure token has been used for auth.
|
|
|
|
|
|
|
|
Feature/messages api
|
|
Changes since 0.5.0-rc:
* locale prefix support
* download client from user page
* hotfix to make webapp work with rack again
* ensure permissions are preserved when copying customization files. (#4623)
* Return 'provider.json' via a controller, to better be able to control the response headers
* document new way we deploy couch design docs
* remove outdated views that cause errors
* only emit pgp keys if they are actually set
* ensure auto_update_design_docs is false
* switch to using dl.bitmask.net
* remove manual 'gem minitest'
* default pricing, privacy policy and tos pages
* default footer with links to privacy policy, tos, pricing, about us, contact
* upgraded bootstrap to latest in 2.x series
* move #masthead out of main templates
* customizable 'bye' page for when a user leaves
* fix js platform detection
* applied mcnair's changes to privacy policy
* untracked files in deploy are in gitignore - #4953
* gitkeep empty folders for config/provider and config/customizations
* integration test with en-EN language
* ensure record removal after tests
* log failing integration tests with screenshot and serverlog
* stop taking screenshots inside tests
|
|
Test/fix red ci
|
|
|
|
* store the last screenshot in tmp
* store the html and the end of the server log in tmp
Filenames are build from the test class name and the tests name.
|