Updates the copyright to 2021 for all files that have a copyright. Files in our source code without the copyright header still do not receive one automatically. Additionally, backlisted files are also excluded.
Previously the copyright of chiliproject which references redmine stated a copyright of redmine up to and including 2017 which is not true for the code we have in here. Because of that I changed that to 2013
* basic members collection response
* complete member index end point
* document versions#index
* remove user association from members
There is already a more generic principals association. Having both causes confusion and leads to duplicate loading of models
* linting
* remove disabled test
* add members#show api end point
* add project and principal to member representer
* replace member.user reference with principal
* use principal reference in project members association
* modernize roles api
* complete member representer rendering
* replace remnants of user association
* add member schema api endpoint
* have dedicated available projects end point for versions
* linting
* limit roles to assignable ones in schema
* rename member to membership in api
* remove remnants of user in member
* spec fixes
* use available_projects endpoint in versions board
* add eager loading to memberships#index
* members create form api endpoint
* ensure role exists for default assignment
* extract switch for users/groups to work_packages representer
* document membership create form
* add l10n expected in specs
* strengthen the usage of a delete base service
* use base class for set attributes service
* fix alias in service
* add create endpoint to members api
* document members create endpoint
* linting
* adapt to altered service signature
* use default endpoint for wp#get
* use CF infused representer
[ci skip]
Backport was neccessary to implement missing categories filter without adding more technical debt.
These changes will be merged into 4.1 and following branches and vanish in that merge (merge-strategy "ours")
YOU SHOULD NOT SEE ANY CONTENTS FROM THIS COMMIT ANYWHERE AFTER 4.0.x!
This commit was built from the commits of the GitHub-PR mentioned below, as well as some code dependencies for that.
The GitHub-PR was https://github.com/opf/openproject/pull/2505
User Story # 8769
Squashed commit of the following:
commit fac82d68b6
Author: Marek Takac <m.takac@finn.de>
Date: Wed Jun 11 15:53:21 2014 +0200
Removed cascade false call from root api
commit fedff52220
Merge: 7b2942ce204fa9
Author: Marek Takac <m.takac@finn.de>
Date: Wed Jun 11 14:17:27 2014 +0200
Merge
commit 7b2942c419
Author: Marek Takac <m.takac@finn.de>
Date: Wed Jun 11 14:11:58 2014 +0200
Generated new Gemfile.lock
commit 7af2f77bbc
Author: Marek Takac <m.takac@finn.de>
Date: Tue Jun 10 15:03:47 2014 +0200
Removed print call
commit bb19cddee9
Author: Marek Takac <m.takac@finn.de>
Date: Tue Jun 10 14:39:35 2014 +0200
Removed 'spec/factories/priority_factory.rb
commit e8bbf476f1
Author: Marek Takac <m.takac@finn.de>
Date: Tue Jun 10 14:38:31 2014 +0200
Replaced lambda calls with '->'
commit 9d8a1c2423
Author: Marek Takac <m.takac@finn.de>
Date: Fri Jun 6 19:19:40 2014 +0200
Clean up
commit 08f80e8c91
Author: Marek Takac <m.takac@finn.de>
Date: Fri Jun 6 19:03:38 2014 +0200
Delete ::ConnectionManagement-call(env)>
commit 190c2e2d86
Author: Marek Takac <m.takac@finn.de>
Date: Fri Jun 6 17:40:34 2014 +0200
Reset Gemfile.lock
commit 0a32dcaef0
Author: Marek Takac <m.takac@finn.de>
Date: Fri Jun 6 14:43:58 2014 +0200
Small refactoring of the API specs
commit 963bb3e848
Author: Marek Takac <m.takac@finn.de>
Date: Wed Jun 4 17:10:15 2014 +0200
Basic implementation of APIv3 work package #get
commit ffdb5641a7
Author: Marek Takac <m.takac@finn.de>
Date: Wed Jun 4 17:08:48 2014 +0200
Basic implementation of APIv3 work package #get
commit 8d64840f02
Author: Marek Takac <m.takac@finn.de>
Date: Tue Jun 3 16:33:02 2014 +0200
Clening up
commit 2caf393c94
Author: Marek Takac <m.takac@finn.de>
Date: Tue Jun 3 16:30:50 2014 +0200
Work package #patch - incomplete tests
commit d6b9a4f263
Author: Marek Takac <m.takac@finn.de>
Date: Wed May 28 17:42:26 2014 +0200
Renamed #done_ratio to #percentage_done
commit 583ba0b525
Author: Marek Takac <m.takac@finn.de>
Date: Wed May 28 17:30:42 2014 +0200
Cleanup
commit 34bfb88377
Author: Marek Takac <m.takac@finn.de>
Date: Wed May 28 17:14:09 2014 +0200
Added basic test & improved patch work package
commit 377070acfe
Author: Marek Takac <m.takac@finn.de>
Date: Fri May 23 15:38:58 2014 +0200
Implemented basic batch update for work packages
commit 9df0ffb916
Author: Marek Takac <m.takac@finn.de>
Date: Fri May 23 14:41:56 2014 +0200
Set default limit and offset for GET work packages resource
commit f1ac16b23f
Author: Marek Takac <m.takac@finn.de>
Date: Fri May 23 14:18:00 2014 +0200
Created GET endpoint work work packages resource & N+1 query optimization
commit 9a7bb32f46
Author: Marek Takac <m.takac@finn.de>
Date: Thu May 22 19:29:04 2014 +0200
Basic authorization for work package GET and PATCH
commit da4b778d51
Author: Marek Takac <m.takac@finn.de>
Date: Thu May 22 15:51:10 2014 +0200
Completed basic implementation of get, patch, head and options requests for work package resource
commit c8e8ab68af
Author: Marek Takac <m.takac@finn.de>
Date: Thu May 22 10:47:43 2014 +0200
Added target version attributes to the work package resource
commit 2ab0bea6ac
Author: Marek Takac <m.takac@finn.de>
Date: Wed May 21 18:08:13 2014 +0200
Implemented work package update with some child resources
commit 17edd10bb5
Author: Marek Takac <m.takac@finn.de>
Date: Wed May 21 16:31:18 2014 +0200
Minor refactoring of work packages api
commit a63f17622c
Author: Marek Takac <m.takac@finn.de>
Date: Wed May 21 16:28:48 2014 +0200
Created GET work package endpoint
commit abcf2e50b4
Author: Marek Takac <m.takac@finn.de>
Date: Tue May 20 14:40:47 2014 +0200
Created OP API entry point
commit 4564bae6f5
Author: Marek Takac <m.takac@finn.de>
Date: Tue May 20 13:39:57 2014 +0200
Refactor authorize method (created service object)
commit cb464d9329
Author: Marek Takac <m.takac@finn.de>
Date: Tue May 20 11:15:31 2014 +0200
Created basic structure for Work packages API
commit 00f3b7a291
Author: Marek Takac <m.takac@finn.de>
Date: Tue May 13 16:29:30 2014 +0200
WorkPackage mapper changes
commit 622ebd04eb
Author: Marek Takac <m.takac@finn.de>
Date: Tue May 13 01:30:02 2014 +0200
Added relationships to WorkPackage mapper
commit 80ebe54d90
Author: Marek Takac <m.takac@finn.de>
Date: Tue May 13 01:14:57 2014 +0200
Created WorkPackage mapper class
commit 2da9225aef
Author: Marek Takac <m.takac@finn.de>
Date: Mon May 12 19:21:07 2014 +0200
Mappers for Grape API
commit 5cd59c4ad6
Author: Marek Takac <m.takac@finn.de>
Date: Tue Apr 29 16:54:24 2014 +0200
Created some decorators
commit a5cb66e5b6
Author: Marek Takac <m.takac@finn.de>
Date: Tue Apr 29 15:31:25 2014 +0200
Added pundit for authorization
commit f909e89687
Author: Marek Takac <m.takac@finn.de>
Date: Tue Apr 29 14:49:20 2014 +0200
Created work package representer & current_user helper method for API
commit 5aad3c087a
Author: Marek Takac <m.takac@finn.de>
Date: Mon Apr 28 14:24:47 2014 +0200
Created basic structure for Work packages API
commit b25a348619
Author: Marek Takac <m.takac@finn.de>
Date: Mon Apr 28 14:04:37 2014 +0200
Set up Grape API v3
commit be76a6500e
Author: Marek Takac <m.takac@finn.de>
Date: Mon Apr 28 13:58:38 2014 +0200
Added grape
commit e204fa9de8
Author: Marek Takac <m.takac@finn.de>
Date: Tue Jun 10 15:03:47 2014 +0200
Removed print call
commit 39b921adc7
Author: Marek Takac <m.takac@finn.de>
Date: Tue Jun 10 14:39:35 2014 +0200
Removed 'spec/factories/priority_factory.rb
commit 94c64ab855
Author: Marek Takac <m.takac@finn.de>
Date: Tue Jun 10 14:38:31 2014 +0200
Replaced lambda calls with '->'
commit c2101b0352
Author: Marek Takac <m.takac@finn.de>
Date: Fri Jun 6 19:19:40 2014 +0200
Clean up
commit a03bc0d84c
Author: Marek Takac <m.takac@finn.de>
Date: Fri Jun 6 19:03:38 2014 +0200
Delete ::ConnectionManagement-call(env)>
commit 8b2fe0b01e
Author: Marek Takac <m.takac@finn.de>
Date: Fri Jun 6 17:40:34 2014 +0200
Reset Gemfile.lock
commit 5d6618eea4
Merge: f325a36dab75c3
Author: Marek Takac <m.takac@finn.de>
Date: Fri Jun 6 16:10:51 2014 +0200
Merge branch 'dev' into feature/api_v3_base
commit f325a36d6f
Author: Marek Takac <m.takac@finn.de>
Date: Fri Jun 6 14:43:58 2014 +0200
Small refactoring of the API specs
commit 84f78d669d
Author: Marek Takac <m.takac@finn.de>
Date: Wed Jun 4 17:10:15 2014 +0200
Basic implementation of APIv3 work package #get
commit 82786a9717
Author: Marek Takac <m.takac@finn.de>
Date: Wed Jun 4 17:08:48 2014 +0200
Basic implementation of APIv3 work package #get
commit b7dd82f85f
Merge: f4ba4e85525bc3
Author: Marek Takac <m.takac@finn.de>
Date: Tue Jun 3 17:15:48 2014 +0200
Merge
commit 5525bc3d52
Author: Marek Takac <m.takac@finn.de>
Date: Tue Jun 3 16:33:02 2014 +0200
Clening up
commit 9d27e3d412
Author: Marek Takac <m.takac@finn.de>
Date: Tue Jun 3 16:30:50 2014 +0200
Work package #patch - incomplete tests
commit 58ceeee83e
Author: Marek Takac <m.takac@finn.de>
Date: Wed May 28 17:42:26 2014 +0200
Renamed #done_ratio to #percentage_done
commit 7165e32bc4
Author: Marek Takac <m.takac@finn.de>
Date: Wed May 28 17:30:42 2014 +0200
Cleanup
commit 235ecdeabe
Author: Marek Takac <m.takac@finn.de>
Date: Wed May 28 17:14:09 2014 +0200
Added basic test & improved patch work package
commit 625f273dc1
Author: Marek Takac <m.takac@finn.de>
Date: Fri May 23 15:38:58 2014 +0200
Implemented basic batch update for work packages
commit 20239886d4
Author: Marek Takac <m.takac@finn.de>
Date: Fri May 23 14:41:56 2014 +0200
Set default limit and offset for GET work packages resource
commit ad79163fd3
Author: Marek Takac <m.takac@finn.de>
Date: Fri May 23 14:18:00 2014 +0200
Created GET endpoint work work packages resource & N+1 query optimization
commit c3dcba77f0
Author: Marek Takac <m.takac@finn.de>
Date: Thu May 22 19:29:04 2014 +0200
Basic authorization for work package GET and PATCH
commit 73d8a8551d
Author: Marek Takac <m.takac@finn.de>
Date: Thu May 22 15:51:10 2014 +0200
Completed basic implementation of get, patch, head and options requests for work package resource
commit 479fc4b005
Author: Marek Takac <m.takac@finn.de>
Date: Thu May 22 10:47:43 2014 +0200
Added target version attributes to the work package resource
commit a72cff36a9
Author: Marek Takac <m.takac@finn.de>
Date: Wed May 21 18:08:13 2014 +0200
Implemented work package update with some child resources
commit 6689628a74
Author: Marek Takac <m.takac@finn.de>
Date: Wed May 21 16:31:18 2014 +0200
Minor refactoring of work packages api
commit 97d4e9a1e6
Author: Marek Takac <m.takac@finn.de>
Date: Wed May 21 16:28:48 2014 +0200
Created GET work package endpoint
commit 1490621af1
Author: Marek Takac <m.takac@finn.de>
Date: Tue May 20 14:40:47 2014 +0200
Created OP API entry point
commit 1e080b7936
Author: Marek Takac <m.takac@finn.de>
Date: Tue May 20 13:39:57 2014 +0200
Refactor authorize method (created service object)
commit 1b0b894456
Author: Marek Takac <m.takac@finn.de>
Date: Tue May 20 11:15:31 2014 +0200
Created basic structure for Work packages API
commit 6c8f83ae54
Author: Marek Takac <m.takac@finn.de>
Date: Tue May 13 16:29:30 2014 +0200
WorkPackage mapper changes
commit d2a7f29201
Author: Marek Takac <m.takac@finn.de>
Date: Tue May 13 01:30:02 2014 +0200
Added relationships to WorkPackage mapper
commit 0122cd4392
Author: Marek Takac <m.takac@finn.de>
Date: Tue May 13 01:14:57 2014 +0200
Created WorkPackage mapper class
commit 6a40cdd6bf
Author: Marek Takac <m.takac@finn.de>
Date: Mon May 12 19:21:07 2014 +0200
Mappers for Grape API
commit 0a4f39be58
Author: Marek Takac <m.takac@finn.de>
Date: Tue Apr 29 16:54:24 2014 +0200
Created some decorators
commit 21e1c42b54
Author: Marek Takac <m.takac@finn.de>
Date: Tue Apr 29 15:31:25 2014 +0200
Added pundit for authorization
commit a76f23ec51
Author: Marek Takac <m.takac@finn.de>
Date: Tue Apr 29 14:49:20 2014 +0200
Created work package representer & current_user helper method for API
commit 4d92b35994
Author: Marek Takac <m.takac@finn.de>
Date: Mon Apr 28 14:24:47 2014 +0200
Created basic structure for Work packages API
commit d19a5d698a
Author: Marek Takac <m.takac@finn.de>
Date: Mon Apr 28 14:04:37 2014 +0200
Set up Grape API v3
commit b270fa6164
Author: Marek Takac <m.takac@finn.de>
Date: Mon Apr 28 13:58:38 2014 +0200
Added grape
Signed-off-by: Alex Coles <alex@alexbcoles.com>