Commit graph

46 commits

Author SHA1 Message Date
Andrés Manelli
a14f4ffee2 Add view boards field to change between views 2018-01-22 16:54:19 -03:00
Andrés Manelli
690a5b9703 First swimlane draft, no functionality 2018-01-19 12:22:03 -03:00
Thuan Pham Quoc
6dba4ccd4d Added red-green circle to board lists item for indicating board which has overtime logs or normal spent time log 2017-11-20 23:24:27 +07:00
soohwa
97a23011da Add REST API better error output 2017-10-15 07:39:48 +02:00
soohwa
77d23df87f Add the ability for the admin :
- disabling a login for a user (not himself)
- enabling a login for a user
- transfering the ownership of all user's boards to himself
2017-10-13 08:15:19 +02:00
mayjs
e3fab53806 Fixed a typo.. 2017-05-16 17:35:14 +02:00
mayjs
058aabff68 Implemented the change of /api/user/boards as proposed by huneau 2017-05-16 10:52:55 +02:00
mayjs
25b26657da Fixed eslint errors 2017-05-15 22:10:46 +02:00
mayjs
1e8d9f02f3 Extracted board access check function 2017-05-15 21:02:31 +02:00
mayjs
95e2025ff9 Changed GET /api/boards/:id to allow access by the normally also allowed users. 2017-05-15 19:43:53 +02:00
mayjs
1bdc28bf9c Fixed a typo and removed an old todo comment 2017-05-15 19:20:55 +02:00
mayjs
452901d3b1 Changed /api/user/boards to only check if the user is logged in 2017-05-15 19:20:37 +02:00
mayjs
158f19b67c let -> const 2017-05-15 18:45:24 +02:00
mayjs
adc6a45185 Removed old debug output 2017-05-15 18:31:10 +02:00
mayjs
a472986d0e Fixed the errors existing in /api/user/boards 2017-05-15 18:20:51 +02:00
Johannes May
0cf0f20f9d Added /api/user/boards 2017-05-13 22:56:26 +02:00
huneau romain
b5271e5346 add token authentication, only admin can use api 2017-05-11 12:15:02 +02:00
Lauri Ojansivu
0319bcf7bb REST API - Meteor 1.4 - first step issue 2017-04-27 20:49:24 +03:00
Ryan Helsing
e9bc5eaac5 hotfix to user add 2017-03-29 14:28:04 -04:00
Ryan Helsing
e6276271b1 ability to store comment only, actual prevention next 2017-03-18 14:59:28 -04: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
Lauri Ojansivu
1ec25c2a52 Fix typos, thanks to umbertooo 2017-02-01 20:01:38 +02: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
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
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
Liming Xie
9bbdacc79a Add notification, allow watch boards / lists / cards 2016-01-05 23:26:02 +08:00
Xavier Priour
115ea533f6 Export: improved API routes
- use an explicit "boards" domain: /api/boards/:boardId
- pass authToken as a request parameter: /api/boards/:boardId?authToken=:token
- in the future, same route can be used with authToken set in the Authenticate: header easily
2015-12-17 23:57:28 +01:00
Xavier Priour
d08e1cc45b Export Wekan now server-based with proper auth 2015-12-16 21:58:43 +01:00
Xavier Priour
e304185c23 Merge remote-tracking branch 'upstream/devel' into devel 2015-12-13 20:02:51 +01:00
Xavier Priour
18697d45f6 board export now checks authentication 2015-12-13 20:02:34 +01:00
floatinghotpot
672c21bfe0 bugfix: only care active members, also optimize some code 2015-12-08 16:03:31 +08:00
floatinghotpot
21fa6fdc32 add: optional board description 2015-12-07 11:22:30 +08:00
floatinghotpot
011f53ad08 add: invite user via email, invited user can accept or decline, allow member to quit 2015-12-07 11:15:57 +08:00
Maxime Quandalle
31b60d82fc Upgrade Meteor to 1.2.1-rc4
This version includes a more complete selection of ES2015 polyfills
that I started used across the code base, for instance by replacing
`$.trim(str)` by `str.trim()`.
2015-10-23 16:56:55 +02:00
Maxime Quandalle
aa974aa54a Prefer ES5 methods over underscore utilities
Since 07cc454 (ie the switch to Meteor 1.2) we includes the `es5-shim`
polyfill to support methods like `Array.prototype.forEach` in a
consistent way across all supported browsers (IE8+).

MDG recently released a blog post recommending the use of these native
methods instead of underscore [0]. We know follow this recommendation.

This commit also favor some ES6 features (argument defaults,
destructing assignment) in places where we didn’t use them.

[0]: http://info.meteor.com/blog/es2015-get-started
2015-10-22 18:13:12 +02:00
Maxime Quandalle
7a5f030cc8 Merge branch 'xavierpriour-devel' into devel
Conflicts:
	models/import.js
2015-10-20 20:06:26 +02:00
Maxime Quandalle
f3fc154eb0 Re-implement label deletion
This was not ported during v0.9 re-factor.

Fixes #322
2015-10-20 19:07:24 +02:00
Xavier Priour
8e0ad91191 Import board: map team permission, and refactor code to share with card import 2015-10-19 20:14:29 +02:00
Maxime Quandalle
6dedf673d5 Prevent duplicate board labels
43de3b8 did prevent empty labels with the same color, but we also want
to prevent label with the same non-empty name and same color because
the rationale is identical.
2015-10-16 17:49:25 +02:00
Maxime Quandalle
43de3b8a01 Prevent dublicated empty labels of the same color 2015-10-14 23:40:27 +02:00
Xavier Priour
68518f5497 Import single card: map labels 2015-10-14 23:23:16 +02:00
Maxime Quandalle
45b662a1dd Centralize all mutations at the model level
This commit uses a new package that I need to document. It tries to
solve the long-standing debate in the Meteor community about
allow/deny rules versus methods (RPC).

This approach gives us both the centralized security rules of
allow/deny and the white-list of allowed mutations similarly to Meteor
methods. The idea to have static mutation descriptions is also
inspired by Facebook's Relay/GraphQL.

This will allow the development of a REST API using the high-level
methods instead of the MongoDB queries to do the mapping between the
HTTP requests and our collections.
2015-09-08 20:19:42 +02:00
Renamed from collections/boards.js (Browse further)