Commit graph

104 commits

Author SHA1 Message Date
lkisme
72c3651be4 Set mail-from to environment immediately after changed,
allow user set a blank username&password pair in SMTP setting.
2017-03-09 23:29:48 +08:00
Lauri Ojansivu
53a7ab0496 Merge branch 'checklist-import' of https://github.com/whodafly/wekan into whodafly-checklist-import 2017-03-05 22:12:59 +02:00
Raoul Snyman
bc9e093e07 Fix up some linting issues 2017-03-05 13:08:53 -07:00
Raoul Snyman
4414582a35 Close #873 by importing checklists from Trello 2017-03-05 12:56:07 -07:00
Lauri Ojansivu
7c9a30d8fe Fix merge conflict. 2017-03-05 19:58:22 +02:00
Florent MONTHEL
ad6471d3bd [ENH] Invite user with lower case email 2017-03-04 20:42:25 -05:00
lkisme
39f2837838 wording change, email sending optimization, add texts to i18n 2017-02-26 21:11:15 +08:00
lkisme
e3c3cc0d8d Make mailServer setting optional 2017-02-26 14:25:29 +08:00
maulal
06699007c4 Bug: orphan documents were created when cards were deleted 2017-02-25 02:16:00 +01:00
lkisme
1dfb6ef477 Admin panel:
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
2017-02-24 22:10:38 +08:00
Alexis LACROIX
6ca832c02b Improve wekan performance (checklist collection scan) 2017-02-22 17:05:30 +02:00
maulal
cd6317cedb Improve wekan performance #837 2017-02-22 17:05:30 +02:00
Florent MONTHEL
a370e6aca3 [BUG] Bug when we're removing user from board that generate activity for all the card of the board 2017-02-21 00:06:11 -05:00
Lauri Ojansivu
8bd7d624da Merge pull request #65 from BaobabCoder/devel
Remove a list
2017-02-03 11:07:48 +02:00
Lauri Ojansivu
1cf9b1be4e Merge branch 'ckls' of https://github.com/lkisme/wekan into lkisme-ckls 2017-02-03 01:39:31 +02:00
Lauri Ojansivu
1ec25c2a52 Fix typos, thanks to umbertooo 2017-02-01 20:01:38 +02:00
lksime
59731af139 Add checklist feature 2017-01-20 21:05:48 +08:00
Béranger Campardou
5b58b0b40c missing coma 2017-01-20 11:11:57 +01:00
Béranger Campardou
23cb98bb82 Fix activity message for list deletion 2017-01-20 11:09:34 +01:00
Lauri Ojansivu
e41eeae09f Merge pull request #31 from mario-orlicky/show-cards-count
New option to set up minimum limit to show cards count for each list …
2016-11-29 04:05:29 +02:00
Mario Orlicky
35778d2673 fixed few overseights 2016-11-25 21:53:18 +01:00
Mario Orlicky
606dbbbbf2 New option to set up minimum limit to show cards count for each list in board 2016-11-25 21:45:11 +01:00
shoetten
89df0bda9b Adds start and due date to cards model. 2016-11-21 15:15:16 +01:00
Lauri Ojansivu
1ad4107201 Merge pull request #19 from mario-orlicky/hide-system-messages
New change settings option and possibility to hide system messagaes
2016-11-20 23:31:50 +02:00
Lauri Ojansivu
693f615136 Merge pull request #18 from fmonthel/devel
[ENH] Add index on CardId into Comments collection
2016-11-20 23:12:07 +02:00
Mario Orlicky
4359f66ece Fixed build 2016-11-19 19:19:24 +01:00
Mario Orlicky
8290dcb249 New change settings option and possibility to hide system messagaes 2016-11-19 19:02:33 +01:00
fmonthel
584ab26aee [ENH] Add index on CardId into Comments collection 2016-11-17 21:25:49 -05:00
fmonthel
f71d2538fa [ENH] Add index on CardId into Comments collection 2016-11-17 21:23:39 -05:00
fmonthel
d11f069b60 [ENH] Add index on CardId into Comments collection 2016-11-17 21:18:35 -05:00
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
Alexander Sulfrian
4013184801 Models: Remove board from starred list
This will fix the starred counter. If the board is not public, the user
is unable to see the board and remove it from the list of starred
boards.
2016-08-16 19:19:55 +02:00
Alexander Sulfrian
7b0e57380a Models: Remove user from all objects on board leave (Fixes: #667)
Remove the user as member and watcher of all lists, cards and the board itself
when leaving the board.
2016-08-16 19:19:39 +02:00
Alexander Sulfrian
ce4fcbfae4 Models: Fix remove member activity
The member is only set to inactive, so we could not test for $pull.
Instead we have to look into the $set modified and check whether the
member was deactivated.
2016-08-16 19:19:39 +02:00
Alexander Sulfrian
4d0e4cea91 models: Remove wrong line (fix #650) (#651) 2016-07-21 01:49:41 +02:00
Maxime Quandalle
9792193e60
Add MongoDB indexes
These indexes will optimize the queries that are used in the board and card
views.

Fixes #524.
2016-07-18 22:38:38 +02:00
Maxime Quandalle
4f5cecf738 Merge #616 into devel 2016-07-18 15:40:41 +02:00
Alexander Sulfrian
855f56c61a profile.name is called profile.fullname (#615)
The name of the profile field was changed log ago. This fixes the
remaining wrong references.
2016-07-11 12:05:03 +02:00
Alexander Sulfrian
e521fe617e Welcome board: Allow localization 2016-06-03 03:56:41 +02:00
Alexander Sulfrian
ae2c1fb77f Fix initial board creation
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.
2016-06-03 03:56:40 +02:00
Alexander Sulfrian
b9883a8e24 Remove duplicated logic
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.
2016-06-03 03:56:38 +02:00
Alexander Sulfrian
18b1573b25 Meteor.users: Add SimpleSchema
Replace before.insert hook with SimpleSchema and autoValue.
2016-06-03 03:56:37 +02:00
Alexander Sulfrian
a2888250f4 Models: Replace before.insert with autoValues
The before.insert hooks have the problem, that they are executed in a
different order if called from the client or from the server. If called
from the client, the before.insert hook is called before validation of
the schema, but if called from the server, the validation is called
first and fails.
2016-06-03 03:56:35 +02:00
Alexander Sulfrian
3a0a9fa009 Fix initials avatar generation (#577)
The ES5 reduce method also needs a initial value. This bug was
introduced in aa974aa54a.
2016-04-21 19:24:08 +02:00
Maxime Quandalle
90601eacae Upgrade ESLint to v2
This commit also tweak the code style following backward-incompatible v2 rules.
2016-03-17 16:26:14 +01:00
Maxime Quandalle
a13fad749e Change the board import layout from a popup to a full page
This commit also removes the “import a single Trello card” as we couldn’t figure
out some reasonable use case.

We also create a new publication on the server to provide the minimal user
profile informations required to display an avatar.
2016-01-31 20:03:12 +01:00
Maxime Quandalle
1e8368dea5 Merge pull request #454 from floatinghotpot/notification
Add notifications, allow watch boards / lists / cards
2016-01-06 12:49:58 +01:00
floatinghotpot
39e1cc0237 Improve PR, adding more comments 2016-01-06 16:59:25 +08:00
Liming Xie
9bbdacc79a Add notification, allow watch boards / lists / cards 2016-01-05 23:26:02 +08:00
Maxime Quandalle
701262a439 Favor FlowRouter.url over Meteor.absoluteUrl
It hides the leading slash treatment as an hidden implementation
detail.
2016-01-05 13:37:15 +01:00