wekan/models
Drew Fisher 0f62fe0c6e Fix login on Sandstorm by not creating welcome boards
This one is a pretty strange chain of events:

* fetching /.sandstorm-login via accounts-sandstorm's rendezvous protocol
  causes a user to be created in the users collection
* models/users.js has hooks to create a board and lists when a user is created
* models/activities.js has a hook to create activity entries when a list is
  created
* this hook does not handle not having no boardId, which results in attempting
  to run the hook with boardId: 'false'.  'false' does not have a title
  attribute, which causes the whole method call to throw an exception.
* This makes the initial login fail.

While there may be other bugs, the simple fix is to not create the board and
lists when running under Sandstorm, where you only have one board anyway.
2016-11-03 23:42:00 -04:00
..
activities.js Add MongoDB indexes 2016-07-18 22:38:38 +02:00
attachments.js Update some meta-data 2016-01-02 17:15:19 +01:00
avatars.js Centralize all mutations at the model level 2015-09-08 20:19:42 +02:00
boards.js Models: Remove board from starred list 2016-08-16 19:19:55 +02:00
cardComments.js Models: Replace before.insert with autoValues 2016-06-03 03:56:35 +02:00
cards.js Add MongoDB indexes 2016-07-18 22:38:38 +02:00
export.js Favor FlowRouter.url over Meteor.absoluteUrl 2016-01-05 13:37:15 +01:00
import.js Upgrade ESLint to v2 2016-03-17 16:26:14 +01:00
lists.js Add MongoDB indexes 2016-07-18 22:38:38 +02:00
unsavedEdits.js Models: Replace before.insert with autoValues 2016-06-03 03:56:35 +02:00
users.js Fix login on Sandstorm by not creating welcome boards 2016-11-03 23:42:00 -04:00
watchable.js Add notification, allow watch boards / lists / cards 2016-01-05 23:26:02 +08:00