summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-04-18change service level configuration strategyAzul
The changes to the configuration required some non minor changes to the platform and also added some flexibility we don't require yet - and thus some new possibilities for errors. So instead we still use the allow_..._certs and ..._cert_prefix options. They basically provide the framework in which service levels can operate. The service level configuration will not include the cert prefix anymore. It only states if the service level is rate limited or not. This avoids conflicts between the two configuration options. I also removed the anonymous service level entirely. It was also turning a boolean decision (do we provide anonymous eip or not) into something way more complex. Instead I added the AnonymousServiceLevel class to handle the corner cases for people who are not logged in. Furthermore i renamed the UnauthenticatedUser to AnonymousUser so it matches the Anonymous Service Level nicely. It's also shorter and more intuitive.
2014-04-18minor fix: User#email_address not User#emailAzul
2014-04-17adjust test to service list in configAzul
2014-04-17make use of the UnauthorizedUserAzul
Null Pattern for current_user - use it to get rid of some conditionals
2014-04-17UnauthenticatedUser as current_userAzul
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
2014-04-17initial commit for the service level apiAzul
: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.
2014-04-17Merge pull request #146 from azul/refactor/enginesazul
Refactor/engines
2014-04-17doc: update list of enginesAzul
2014-04-11move include AssertResponses into test itselfAzul
it may not have been required before the RackTest support class.
2014-04-11minor: our engines do not have a db directoryAzul
2014-04-11move engines into engines directoryAzul
Also renamed help to support so it's harder to confuse it with documentation
2014-04-11moving broken billing integration tests out of the wayAzul
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.
2014-04-11make sure billing tests do not interfere with othersAzul
they are still broken though.
2014-04-10bringing back srp jsAzul
2014-04-10move certs into toplevelAzul
cleaned up all the engine stuff that was never really used. Afterwards there is not that much left that makes it into the toplevel.
2014-04-08only load */test/factories from test/factoriesAzul
prevent recursive loadign of test/factories.rb ** can be empty.
2014-04-08move users: config and libAzul
2014-04-08moving users: app and test filesAzul
2014-04-08moving users: dependenciesAzul
2014-04-08update documentation: included core in toplevelAzul
now we only include some engines - we don't build the whole webapp based on them. Reflecting this in the documentation.
2014-04-08move all dependencies into GemfileAzul
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.
2014-04-08fix requiring core extensions - most tests passAzul
some message tests are failing for me right now.
2014-04-08moving all of core into toplevel, tests fail.Azul
2014-04-04Merge branch 'bugfix/5382-rescue-token-destruction' into developelijah
2014-04-04redirect home when logged in visits /signup (#5446)Azul
2014-04-045382 - prevent crash when destroying tokensAzul
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.
2014-04-02Merge pull request #143 from ↵varac
andrejb/bug/5430_fix-soledad_sync-returned-check_name Fix soledad sync nagios plugin returned check_name (#5430).
2014-04-02Fix soledad sync nagios plugin returned check_name (#5430).db
2014-03-12Merge pull request #141 from andrejb/feature/5129_check-if-soledad-is-workingazul
Add script to check if soledad is working (#5239).
2014-03-07Add script to check if soledad is working (#5239).db
2014-03-02including chiiphs commentsAzul
2014-03-02autopep8 nagios webapp login testAzul
2014-02-27nagios test for logging into webappAzul
2014-02-10Merge pull request #139 from azul/refactor/tweaks-to-messagesjessib
Refactor/tweaks to messages
2014-02-10fix unread_by? to check user_ids_to_show, remove TODOAzul
uniq! is probably not any faster than just checking include?
2014-02-10Merge pull request #138 from azul/feature/token-only-api-authjessib
Feature/token only api auth
2014-02-10ensure we are working on a string as the content typeAzul
2014-02-10require_token now checks for token and loginAzul
2014-02-10require token in messages controllerAzul
2014-02-10require token when logging out via APIAzul
2014-02-10require token when updating user via APIAzul
2014-02-10split up and expand account integration testAzul
2014-02-10refactor tests to ease the testing of token only authAzul
2014-02-10minor: more robust destruction of records in testsAzul
2014-02-10rename authorize to require_loginAzul
authorize_admin -> require_admin also add require_token which will ensure token has been used for auth.
2014-02-10minor: refactor token auth a bitAzul
2014-02-10minor: rename var that holds a single user id to userIdAzul
2014-02-10minor: move some logic from message controller into modelAzul
2014-02-10Merge pull request #134 from jessib/feature/messages_apiazul
Feature/messages api
2014-02-08Version 0.5.00.5.0Azul
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