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
We depend on ordered_work_packages association
for determining sort and filter for manual sorting.
We could restrict the join result with where(query_id: context.id) later
but that prevents the execution planner from optimizing on the explicit join clause.
This PR introduces a sql join that depends on the query_id and thus
retrieves the correct order performantly.