summaryrefslogtreecommitdiffstats
path: root/models/users.js
Commit message (Collapse)AuthorAgeFilesLines
* fix lint errorsoohwa2017-10-131-1/+1
|
* fix lint errorsoohwa2017-10-131-1/+1
|
* fix lint errorssoohwa2017-10-131-13/+13
|
* Add the ability for the admin :soohwa2017-10-131-0/+38
| | | | | | - disabling a login for a user (not himself) - enabling a login for a user - transfering the ownership of all user's boards to himself
* Remove trailing spacesoohwa2017-10-081-1/+1
|
* Add commentsoohwa2017-10-071-0/+6
|
* Change fromAdmin into createdThroughApisoohwa2017-10-061-4/+4
|
* Clear "fromAdmin". Thx to nztqa.soohwa2017-10-061-1/+3
|
* Fix password not savedsoohwa2017-10-011-1/+1
|
* Lint errorsoohwa2017-09-251-3/+3
|
* Fix https://github.com/wekan/wekan/issues/1249soohwa2017-09-251-0/+14
|
* v0.41v0.41Lauri Ojansivu2017-09-251-14/+0
|
* Fix lint errors.Lauri Ojansivu2017-09-241-3/+3
|
* Allow admin to create user despite disabling registration throught rest api.none2017-09-231-0/+14
|
* Add change email addressnztqa2017-08-071-0/+22
| | | | Set allow email change in admin panel
* Fixed eslint errorsmayjs2017-05-151-1/+1
|
* let -> constmayjs2017-05-151-1/+1
|
* Added an endpoint to get the user referenced by the given tokenmayjs2017-05-151-0/+10
|
* add token authentication, only admin can use apihuneau romain2017-05-111-0/+4
|
* REST API - Meteor 1.4 - first step issueLauri Ojansivu2017-04-271-29/+75
|
* dangling commas errorStephen Moloney2017-04-061-2/+2
|
* First user is admin only if not running in sandstormJulen Landa Alustiza2017-04-021-1/+1
|
* Add isAdmin to user SchemaJulen Landa Alustiza2017-04-021-0/+4
|
* Fix email settings loading:Julen Landa Alustiza2017-04-011-18/+16
| | | | | | | | | | | MAIL_URL was overriden with database info all the time. Now if MAIL_URL exists is not overwritten and if neither MAIL_URL nor exists valid admin panel data MAIL_URL is not set. MAIL_FROM was ignored. Same behaviour, env variable has bigger priority than database configuration. On both cases, althrought environment variable is set, updating admin-panel mail settings will load new info and ignore the environment variable. Remove some code that is not needed anymore
* Merge pull request #925 from rhelsing/comment-permissionsLauri Ojansivu2017-03-281-0/+10
|\ | | | | Comment permissions
| * comment only working, naive implementation completeRyan Helsing2017-03-181-0/+5
| |
| * cant see add list if comment onlyRyan Helsing2017-03-181-0/+5
| |
* | Merge pull request #943 from Zokormazo/smtpLauri Ojansivu2017-03-281-18/+18
|\ \ | | | | | | Don't send emails if missing smtp host
| * | Don't send emails if missing smtp hostJulen Landa Alustiza2017-03-281-18/+18
| |/
* / Remove invitation code if email sending failed, improve registration process ↵lkisme2017-03-281-8/+16
|/ | | | with invitation
* Fix merge conflict.Lauri Ojansivu2017-03-051-1/+44
|\
| * wording change, email sending optimization, add texts to i18nlkisme2017-02-261-5/+5
| |
| * Admin panel:lkisme2017-02-241-1/+44
| | | | | | | | | | | | | | Only invited user can register in strict mode, Set mail server in admin panel, Switch strict mode in admin panel, Invite people to system in admin panel
* | [ENH] Invite user with lower case emailFlorent MONTHEL2017-03-041-2/+3
|/
* fixed few overseightsMario Orlicky2016-11-251-1/+1
|
* New option to set up minimum limit to show cards count for each list in boardMario Orlicky2016-11-251-0/+17
|
* Fixed buildMario Orlicky2016-11-191-2/+2
|
* New change settings option and possibility to hide system messagaesMario Orlicky2016-11-191-0/+21
|
* Fix login on Sandstorm by not creating welcome boardsDrew Fisher2016-11-031-17/+23
| | | | | | | | | | | | | | | | | 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.
* Merge #616 into develMaxime Quandalle2016-07-181-30/+109
|\
| * Welcome board: Allow localizationAlexander Sulfrian2016-06-031-4/+3
| |
| * Fix initial board creationAlexander Sulfrian2016-06-031-13/+19
| | | | | | | | | | | | | | | | | | | | We cannot rely on the automatic userId setting of the collection hooks. If a user is created during invitation, the userId field will contain the id of the inviting user. This fix this, by mocking the CollectionHooks.getUserId function and returning the userId of the new user for all new documents after creating the user.
| * Remove duplicated logicAlexander Sulfrian2016-06-031-7/+0
| | | | | | | | | | | | The duplicated logic was nessessary because the before.insert hook was not called before validation, when inserting was initiated on the server. Using autoValues fixed this problem.
| * Meteor.users: Add SimpleSchemaAlexander Sulfrian2016-06-031-8/+90
| | | | | | | | Replace before.insert hook with SimpleSchema and autoValue.
* | profile.name is called profile.fullname (#615)Alexander Sulfrian2016-07-111-2/+2
|/ | | | The name of the profile field was changed log ago. This fixes the remaining wrong references.
* Fix initials avatar generation (#577)Alexander Sulfrian2016-04-211-2/+2
| | | | The ES5 reduce method also needs a initial value. This bug was introduced in aa974aa54ab6e5b7db7450206d12b44ffb3a0306.
* Improve PR, adding more commentsfloatinghotpot2016-01-061-7/+7
|
* Add notification, allow watch boards / lists / cardsLiming Xie2016-01-051-7/+74
|
* Send invite email in the server console in development modeMaxime Quandalle2016-01-011-5/+2
| | | | | | Meteor support that use case for us, we don't need to implement our own validate strategy on top of that. This was also discussed as part of the #454 review.
* Fix avatar support on SanstormMaxime Quandalle2015-12-301-13/+0
| | | | | | | | | | The bug comes for 9154b06 which this commit partially reverts. The synchronization between the user document profile and the Sandstorm HTTP headers is still not perfect. Having a clean model may requires the `accounts-sandstorm` to expose a hook to modify the user document just after the `services.sandstorm` credentials are updated. Fixes #460