summaryrefslogtreecommitdiff
path: root/users
AgeCommit message (Collapse)Author
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-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-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-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-06integration test with en-EN languageAzul
Tests fail on machines that default to other available languages. Also move setting capybara driver to be javascript driver into the BrowserIntegrationTest.
2014-01-27Merge branch 'develop' into feature/messages_apijessib
Conflicts: users/config/locales/en.yml
2014-01-23added a customizable 'bye' page for when a user leaveselijah
2014-01-21Small optimization to saving message when sending one month warnings.jessib
2014-01-21Merge branch 'develop' into feature/messages_apijessib
2014-01-14ensure auto_update_design_docs is falseAzul
2014-01-13Comment for how to call view that we aren't now using.jessib
2014-01-09Some more cleanup, but still want to make sure ↵jessib
by_user_ids_to_show_and_created_at view is right before issuing pull request.
2014-01-07Remove schedule file now that we aren't using whenever gem.jessib
2014-01-07Some refactoring, to simplify user model, optimize, and allow messages to be ↵jessib
sorted by date (although are not now.) Also, rather than use whenever gem, will have cron job created to call task.
2014-01-07Merge branch 'develop' into feature/messages_apijessib
2014-01-07only emit pgp keys if they are actually setAzul
if doc.keys has not been set doc.keys[pgp] will raise an error. We always upload the key after signup - but this might fail and there is some time in between. Not checking for this condition lead to errors in the couch logs.
2014-01-07remove outdated views that cause errorsAzul
The datastructure changes to that email_aliases is not available on the user record anymore. Keeping these views leads to errors on couch servers.
2013-12-31Add authentication to API, but not sure it is best way.jessib
2013-12-31Removing join-model we are no longer using.jessib
2013-12-31Cleanup of code for messages API and cron job for 1 month payment warning. ↵jessib
Authentication still remaining piece.
2013-12-30Fixes to initial go at job to send one month warnings.jessib
2013-12-30Merge branch 'feature/messages_api' into feature/messages_cronjessib
2013-12-30Change structure to be more no-sql-y, rather than relational.jessib
2013-12-30Not actually how we want to do this, but at least finish outlined part, that ↵jessib
will later be replaced.
2013-12-26Very very rough start to having messages for payment automatically created.jessib
2013-12-24Catching some corner cases & new tests.jessib
2013-12-24Add API tests and some refactoring of messages so we can get a user's ↵jessib
messages within the webapp.
2013-12-24API method to mark a user's message as read (will refactor)jessib
2013-12-24Initial start to messages API.jessib
2013-12-23Merge remote-tracking branch 'jessib/feature/3389_download_links' into developAzul
Conflicts: core/app/views/common/_home_page_buttons.html.haml users/app/views/users/show.html.haml
2013-12-22locale prefix support:elijah
* set locale based on request header * enforce locale path prefix when current locale is not the default * note: don't use root_path anymore, instead use home_path
2013-12-20make sure overview link is active on Users#showAzul
2013-12-20enable billing engine by default, consolidate APP_CONFIG[:payments] and ↵elijah
APP_CONFIG[:braintree] into APP_CONFIG[:billing][:braintree]
2013-12-19Update translation to reflect what you can actually change in your account.jessib
2013-12-19Put download link on user page.jessib
2013-12-16Add test.jessib
2013-12-16Fix issue 4756: /login should not crash if one goes there when logged in.jessib