diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8b1cc149..911499fa 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -2,10 +2,10 @@ ## Developer Certificate of Origin + License -By contributing to Taiga Agile LLC., You accept and agree to the following terms and conditions for Your present and future Contributions submitted to Taiga Agile LLC. Except for the license granted herein to Taiga Agile LLC. and recipients of software distributed by Taiga Agile LLC., You reserve all right, title, and interest in and to Your Contributions. +By contributing to Kaleidos Ventures SL, You accept and agree to the following terms and conditions for Your present and future Contributions submitted to Kaleidos Ventures SL Except for the license granted herein to Kaleidos Ventures SL and recipients of software distributed by Kaleidos Ventures SL, You reserve all right, title, and interest in and to Your Contributions. All Contributions are subject to the following DCO + License terms. -[DCO + License](https://github.com/taigaio/taiga-back/blob/master/DCOLICENSE) +[DCO + License](DCOLICENSE) There are many different ways to contribute to Taiga's platform, from patches, to documentation and UI enhancements, just find the one that best fits with your skills. Check out our detailed [contribution guide](https://resources.taiga.io/how-can-i-contribute) diff --git a/DCOLICENSE b/DCOLICENSE index 5e9736c5..2f160ef9 100644 --- a/DCOLICENSE +++ b/DCOLICENSE @@ -1,22 +1,3 @@ -Developer Certificate of Origin + License - -By contributing to Taiga Agile LLC., You accept and agree to the following -terms and conditions for Your present and future Contributions submitted to -Taiga Agile LLC. Except for the license granted herein to Taiga Agile LLC. and -recipients of software distributed by Taiga Agile LLC., You reserve all right, -title, and interest in and to Your Contributions. - -Developer Certificate of Origin -Version 1.1 - -Copyright (C) 2004, 2006 The Linux Foundation and its contributors. -1 Letterman Drive -Suite D4700 -San Francisco, CA, 94129 - -Everyone is permitted to copy and distribute verbatim copies of this license -document, but changing it is not allowed. - Developer's Certificate of Origin 1.1 By making a contribution to this project, I certify that: @@ -42,21 +23,377 @@ involved. All Contributions to this project are licensed under the following license: -MIT No Attribution (MIT-0) +Mozilla Public License Version 2.0 +================================== -Copyright (C) 2014-present Taiga Agile LLC +1. Definitions +-------------- -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so. +1.1. "Contributor" + means each individual or legal entity that creates, contributes to + the creation of, or owns Covered Software. + +1.2. "Contributor Version" + means the combination of the Contributions of others (if any) used + by a Contributor and that particular Contributor's Contribution. + +1.3. "Contribution" + means Covered Software of a particular Contributor. + +1.4. "Covered Software" + means Source Code Form to which the initial Contributor has attached + the notice in Exhibit A, the Executable Form of such Source Code + Form, and Modifications of such Source Code Form, in each case + including portions thereof. + +1.5. "Incompatible With Secondary Licenses" + means + + (a) that the initial Contributor has attached the notice described + in Exhibit B to the Covered Software; or + + (b) that the Covered Software was made available under the terms of + version 1.1 or earlier of the License, but not also under the + terms of a Secondary License. + +1.6. "Executable Form" + means any form of the work other than Source Code Form. + +1.7. "Larger Work" + means a work that combines Covered Software with other material, in + a separate file or files, that is not Covered Software. + +1.8. "License" + means this document. + +1.9. "Licensable" + means having the right to grant, to the maximum extent possible, + whether at the time of the initial grant or subsequently, any and + all of the rights conveyed by this License. + +1.10. "Modifications" + means any of the following: + + (a) any file in Source Code Form that results from an addition to, + deletion from, or modification of the contents of Covered + Software; or + + (b) any new file in Source Code Form that contains any Covered + Software. + +1.11. "Patent Claims" of a Contributor + means any patent claim(s), including without limitation, method, + process, and apparatus claims, in any patent Licensable by such + Contributor that would be infringed, but for the grant of the + License, by the making, using, selling, offering for sale, having + made, import, or transfer of either its Contributions or its + Contributor Version. + +1.12. "Secondary License" + means either the GNU General Public License, Version 2.0, the GNU + Lesser General Public License, Version 2.1, the GNU Affero General + Public License, Version 3.0, or any later versions of those + licenses. + +1.13. "Source Code Form" + means the form of the work preferred for making modifications. + +1.14. "You" (or "Your") + means an individual or a legal entity exercising rights under this + License. For legal entities, "You" includes any entity that + controls, is controlled by, or is under common control with You. For + purposes of this definition, "control" means (a) the power, direct + or indirect, to cause the direction or management of such entity, + whether by contract or otherwise, or (b) ownership of more than + fifty percent (50%) of the outstanding shares or beneficial + ownership of such entity. + +2. License Grants and Conditions +-------------------------------- + +2.1. Grants + +Each Contributor hereby grants You a world-wide, royalty-free, +non-exclusive license: + +(a) under intellectual property rights (other than patent or trademark) + Licensable by such Contributor to use, reproduce, make available, + modify, display, perform, distribute, and otherwise exploit its + Contributions, either on an unmodified basis, with Modifications, or + as part of a Larger Work; and + +(b) under Patent Claims of such Contributor to make, use, sell, offer + for sale, have made, import, and otherwise transfer either its + Contributions or its Contributor Version. + +2.2. Effective Date + +The licenses granted in Section 2.1 with respect to any Contribution +become effective for each Contribution on the date the Contributor first +distributes such Contribution. + +2.3. Limitations on Grant Scope + +The licenses granted in this Section 2 are the only rights granted under +this License. No additional rights or licenses will be implied from the +distribution or licensing of Covered Software under this License. +Notwithstanding Section 2.1(b) above, no patent license is granted by a +Contributor: + +(a) for any code that a Contributor has removed from Covered Software; + or + +(b) for infringements caused by: (i) Your and any other third party's + modifications of Covered Software, or (ii) the combination of its + Contributions with other software (except as part of its Contributor + Version); or + +(c) under Patent Claims infringed by Covered Software in the absence of + its Contributions. + +This License does not grant any rights in the trademarks, service marks, +or logos of any Contributor (except as may be necessary to comply with +the notice requirements in Section 3.4). + +2.4. Subsequent Licenses + +No Contributor makes additional grants as a result of Your choice to +distribute the Covered Software under a subsequent version of this +License (see Section 10.2) or under the terms of a Secondary License (if +permitted under the terms of Section 3.3). + +2.5. Representation + +Each Contributor represents that the Contributor believes its +Contributions are its original creation(s) or it has sufficient rights +to grant the rights to its Contributions conveyed by this License. + +2.6. Fair Use + +This License is not intended to limit any rights You have under +applicable copyright doctrines of fair use, fair dealing, or other +equivalents. + +2.7. Conditions + +Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted +in Section 2.1. + +3. Responsibilities +------------------- + +3.1. Distribution of Source Form + +All distribution of Covered Software in Source Code Form, including any +Modifications that You create or to which You contribute, must be under +the terms of this License. You must inform recipients that the Source +Code Form of the Covered Software is governed by the terms of this +License, and how they can obtain a copy of this License. You may not +attempt to alter or restrict the recipients' rights in the Source Code +Form. + +3.2. Distribution of Executable Form + +If You distribute Covered Software in Executable Form then: + +(a) such Covered Software must also be made available in Source Code + Form, as described in Section 3.1, and You must inform recipients of + the Executable Form how they can obtain a copy of such Source Code + Form by reasonable means in a timely manner, at a charge no more + than the cost of distribution to the recipient; and + +(b) You may distribute such Executable Form under the terms of this + License, or sublicense it under different terms, provided that the + license for the Executable Form does not attempt to limit or alter + the recipients' rights in the Source Code Form under this License. + +3.3. Distribution of a Larger Work + +You may create and distribute a Larger Work under terms of Your choice, +provided that You also comply with the requirements of this License for +the Covered Software. If the Larger Work is a combination of Covered +Software with a work governed by one or more Secondary Licenses, and the +Covered Software is not Incompatible With Secondary Licenses, this +License permits You to additionally distribute such Covered Software +under the terms of such Secondary License(s), so that the recipient of +the Larger Work may, at their option, further distribute the Covered +Software under the terms of either this License or such Secondary +License(s). + +3.4. Notices + +You may not remove or alter the substance of any license notices +(including copyright notices, patent notices, disclaimers of warranty, +or limitations of liability) contained within the Source Code Form of +the Covered Software, except that You may alter any license notices to +the extent required to remedy known factual inaccuracies. + +3.5. Application of Additional Terms + +You may choose to offer, and to charge a fee for, warranty, support, +indemnity or liability obligations to one or more recipients of Covered +Software. However, You may do so only on Your own behalf, and not on +behalf of any Contributor. You must make it absolutely clear that any +such warranty, support, indemnity, or liability obligation is offered by +You alone, and You hereby agree to indemnify every Contributor for any +liability incurred by such Contributor as a result of warranty, support, +indemnity or liability terms You offer. You may include additional +disclaimers of warranty and limitations of liability specific to any +jurisdiction. + +4. Inability to Comply Due to Statute or Regulation +--------------------------------------------------- + +If it is impossible for You to comply with any of the terms of this +License with respect to some or all of the Covered Software due to +statute, judicial order, or regulation then You must: (a) comply with +the terms of this License to the maximum extent possible; and (b) +describe the limitations and the code they affect. Such description must +be placed in a text file included with all distributions of the Covered +Software under this License. Except to the extent prohibited by statute +or regulation, such description must be sufficiently detailed for a +recipient of ordinary skill to be able to understand it. + +5. Termination +-------------- + +5.1. The rights granted under this License will terminate automatically +if You fail to comply with any of its terms. However, if You become +compliant, then the rights granted under this License from a particular +Contributor are reinstated (a) provisionally, unless and until such +Contributor explicitly and finally terminates Your grants, and (b) on an +ongoing basis, if such Contributor fails to notify You of the +non-compliance by some reasonable means prior to 60 days after You have +come back into compliance. Moreover, Your grants from a particular +Contributor are reinstated on an ongoing basis if such Contributor +notifies You of the non-compliance by some reasonable means, this is the +first time You have received notice of non-compliance with this License +from such Contributor, and You become compliant prior to 30 days after +Your receipt of the notice. + +5.2. If You initiate litigation against any entity by asserting a patent +infringement claim (excluding declaratory judgment actions, +counter-claims, and cross-claims) alleging that a Contributor Version +directly or indirectly infringes any patent, then the rights granted to +You by any and all Contributors for the Covered Software under Section +2.1 of this License shall terminate. + +5.3. In the event of termination under Sections 5.1 or 5.2 above, all +end user license agreements (excluding distributors and resellers) which +have been validly granted by You or Your distributors under this License +prior to termination shall survive termination. + +************************************************************************ +* * +* 6. Disclaimer of Warranty * +* ------------------------- * +* * +* Covered Software is provided under this License on an "as is" * +* basis, without warranty of any kind, either expressed, implied, or * +* statutory, including, without limitation, warranties that the * +* Covered Software is free of defects, merchantable, fit for a * +* particular purpose or non-infringing. The entire risk as to the * +* quality and performance of the Covered Software is with You. * +* Should any Covered Software prove defective in any respect, You * +* (not any Contributor) assume the cost of any necessary servicing, * +* repair, or correction. This disclaimer of warranty constitutes an * +* essential part of this License. No use of any Covered Software is * +* authorized under this License except under this disclaimer. * +* * +************************************************************************ + +************************************************************************ +* * +* 7. Limitation of Liability * +* -------------------------- * +* * +* Under no circumstances and under no legal theory, whether tort * +* (including negligence), contract, or otherwise, shall any * +* Contributor, or anyone who distributes Covered Software as * +* permitted above, be liable to You for any direct, indirect, * +* special, incidental, or consequential damages of any character * +* including, without limitation, damages for lost profits, loss of * +* goodwill, work stoppage, computer failure or malfunction, or any * +* and all other commercial damages or losses, even if such party * +* shall have been informed of the possibility of such damages. This * +* limitation of liability shall not apply to liability for death or * +* personal injury resulting from such party's negligence to the * +* extent applicable law prohibits such limitation. Some * +* jurisdictions do not allow the exclusion or limitation of * +* incidental or consequential damages, so this exclusion and * +* limitation may not apply to You. * +* * +************************************************************************ + +8. Litigation +------------- + +Any litigation relating to this License may be brought only in the +courts of a jurisdiction where the defendant maintains its principal +place of business and such litigation shall be governed by laws of that +jurisdiction, without reference to its conflict-of-law provisions. +Nothing in this Section shall prevent a party's ability to bring +cross-claims or counter-claims. + +9. Miscellaneous +---------------- + +This License represents the complete agreement concerning the subject +matter hereof. If any provision of this License is held to be +unenforceable, such provision shall be reformed only to the extent +necessary to make it enforceable. Any law or regulation which provides +that the language of a contract shall be construed against the drafter +shall not be used to construe this License against a Contributor. + +10. Versions of the License +--------------------------- + +10.1. New Versions + +Mozilla Foundation is the license steward. Except as provided in Section +10.3, no one other than the license steward has the right to modify or +publish new versions of this License. Each version will be given a +distinguishing version number. + +10.2. Effect of New Versions + +You may distribute the Covered Software under the terms of the version +of the License under which You originally received the Covered Software, +or under the terms of any subsequent version published by the license +steward. + +10.3. Modified Versions + +If you create software not governed by this License, and you want to +create a new license for such software, you may create and use a +modified version of this License if you rename the license and remove +any references to the name of the license steward (except to note that +such modified license differs from this License). + +10.4. Distributing Source Code Form that is Incompatible With Secondary +Licenses + +If You choose to distribute Source Code Form that is Incompatible With +Secondary Licenses under the terms of this version of the License, the +notice described in Exhibit B of this License must be attached. + +Exhibit A - Source Code Form License Notice +------------------------------------------- + + This Source Code Form is subject to the terms of the Mozilla Public + License, v. 2.0. If a copy of the MPL was not distributed with this + file, You can obtain one at http://mozilla.org/MPL/2.0/. + +If it is not possible or desirable to put the notice in a particular +file, then You may include the notice in a location (such as a LICENSE +file in a relevant directory) where a recipient would be likely to look +for such a notice. + +You may add additional accurate notices of copyright ownership. + +Exhibit B - "Incompatible With Secondary Licenses" Notice +--------------------------------------------------------- + + This Source Code Form is "Incompatible With Secondary Licenses", as + defined by the Mozilla Public License, v. 2.0. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/LICENSE b/LICENSE index 0cc546bd..a612ad98 100644 --- a/LICENSE +++ b/LICENSE @@ -1,18 +1,373 @@ -MIT No Attribution (MIT-0) +Mozilla Public License Version 2.0 +================================== -Copyright (C) 2014-present Taiga Agile LLC +1. Definitions +-------------- -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so. +1.1. "Contributor" + means each individual or legal entity that creates, contributes to + the creation of, or owns Covered Software. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +1.2. "Contributor Version" + means the combination of the Contributions of others (if any) used + by a Contributor and that particular Contributor's Contribution. + +1.3. "Contribution" + means Covered Software of a particular Contributor. + +1.4. "Covered Software" + means Source Code Form to which the initial Contributor has attached + the notice in Exhibit A, the Executable Form of such Source Code + Form, and Modifications of such Source Code Form, in each case + including portions thereof. + +1.5. "Incompatible With Secondary Licenses" + means + + (a) that the initial Contributor has attached the notice described + in Exhibit B to the Covered Software; or + + (b) that the Covered Software was made available under the terms of + version 1.1 or earlier of the License, but not also under the + terms of a Secondary License. + +1.6. "Executable Form" + means any form of the work other than Source Code Form. + +1.7. "Larger Work" + means a work that combines Covered Software with other material, in + a separate file or files, that is not Covered Software. + +1.8. "License" + means this document. + +1.9. "Licensable" + means having the right to grant, to the maximum extent possible, + whether at the time of the initial grant or subsequently, any and + all of the rights conveyed by this License. + +1.10. "Modifications" + means any of the following: + + (a) any file in Source Code Form that results from an addition to, + deletion from, or modification of the contents of Covered + Software; or + + (b) any new file in Source Code Form that contains any Covered + Software. + +1.11. "Patent Claims" of a Contributor + means any patent claim(s), including without limitation, method, + process, and apparatus claims, in any patent Licensable by such + Contributor that would be infringed, but for the grant of the + License, by the making, using, selling, offering for sale, having + made, import, or transfer of either its Contributions or its + Contributor Version. + +1.12. "Secondary License" + means either the GNU General Public License, Version 2.0, the GNU + Lesser General Public License, Version 2.1, the GNU Affero General + Public License, Version 3.0, or any later versions of those + licenses. + +1.13. "Source Code Form" + means the form of the work preferred for making modifications. + +1.14. "You" (or "Your") + means an individual or a legal entity exercising rights under this + License. For legal entities, "You" includes any entity that + controls, is controlled by, or is under common control with You. For + purposes of this definition, "control" means (a) the power, direct + or indirect, to cause the direction or management of such entity, + whether by contract or otherwise, or (b) ownership of more than + fifty percent (50%) of the outstanding shares or beneficial + ownership of such entity. + +2. License Grants and Conditions +-------------------------------- + +2.1. Grants + +Each Contributor hereby grants You a world-wide, royalty-free, +non-exclusive license: + +(a) under intellectual property rights (other than patent or trademark) + Licensable by such Contributor to use, reproduce, make available, + modify, display, perform, distribute, and otherwise exploit its + Contributions, either on an unmodified basis, with Modifications, or + as part of a Larger Work; and + +(b) under Patent Claims of such Contributor to make, use, sell, offer + for sale, have made, import, and otherwise transfer either its + Contributions or its Contributor Version. + +2.2. Effective Date + +The licenses granted in Section 2.1 with respect to any Contribution +become effective for each Contribution on the date the Contributor first +distributes such Contribution. + +2.3. Limitations on Grant Scope + +The licenses granted in this Section 2 are the only rights granted under +this License. No additional rights or licenses will be implied from the +distribution or licensing of Covered Software under this License. +Notwithstanding Section 2.1(b) above, no patent license is granted by a +Contributor: + +(a) for any code that a Contributor has removed from Covered Software; + or + +(b) for infringements caused by: (i) Your and any other third party's + modifications of Covered Software, or (ii) the combination of its + Contributions with other software (except as part of its Contributor + Version); or + +(c) under Patent Claims infringed by Covered Software in the absence of + its Contributions. + +This License does not grant any rights in the trademarks, service marks, +or logos of any Contributor (except as may be necessary to comply with +the notice requirements in Section 3.4). + +2.4. Subsequent Licenses + +No Contributor makes additional grants as a result of Your choice to +distribute the Covered Software under a subsequent version of this +License (see Section 10.2) or under the terms of a Secondary License (if +permitted under the terms of Section 3.3). + +2.5. Representation + +Each Contributor represents that the Contributor believes its +Contributions are its original creation(s) or it has sufficient rights +to grant the rights to its Contributions conveyed by this License. + +2.6. Fair Use + +This License is not intended to limit any rights You have under +applicable copyright doctrines of fair use, fair dealing, or other +equivalents. + +2.7. Conditions + +Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted +in Section 2.1. + +3. Responsibilities +------------------- + +3.1. Distribution of Source Form + +All distribution of Covered Software in Source Code Form, including any +Modifications that You create or to which You contribute, must be under +the terms of this License. You must inform recipients that the Source +Code Form of the Covered Software is governed by the terms of this +License, and how they can obtain a copy of this License. You may not +attempt to alter or restrict the recipients' rights in the Source Code +Form. + +3.2. Distribution of Executable Form + +If You distribute Covered Software in Executable Form then: + +(a) such Covered Software must also be made available in Source Code + Form, as described in Section 3.1, and You must inform recipients of + the Executable Form how they can obtain a copy of such Source Code + Form by reasonable means in a timely manner, at a charge no more + than the cost of distribution to the recipient; and + +(b) You may distribute such Executable Form under the terms of this + License, or sublicense it under different terms, provided that the + license for the Executable Form does not attempt to limit or alter + the recipients' rights in the Source Code Form under this License. + +3.3. Distribution of a Larger Work + +You may create and distribute a Larger Work under terms of Your choice, +provided that You also comply with the requirements of this License for +the Covered Software. If the Larger Work is a combination of Covered +Software with a work governed by one or more Secondary Licenses, and the +Covered Software is not Incompatible With Secondary Licenses, this +License permits You to additionally distribute such Covered Software +under the terms of such Secondary License(s), so that the recipient of +the Larger Work may, at their option, further distribute the Covered +Software under the terms of either this License or such Secondary +License(s). + +3.4. Notices + +You may not remove or alter the substance of any license notices +(including copyright notices, patent notices, disclaimers of warranty, +or limitations of liability) contained within the Source Code Form of +the Covered Software, except that You may alter any license notices to +the extent required to remedy known factual inaccuracies. + +3.5. Application of Additional Terms + +You may choose to offer, and to charge a fee for, warranty, support, +indemnity or liability obligations to one or more recipients of Covered +Software. However, You may do so only on Your own behalf, and not on +behalf of any Contributor. You must make it absolutely clear that any +such warranty, support, indemnity, or liability obligation is offered by +You alone, and You hereby agree to indemnify every Contributor for any +liability incurred by such Contributor as a result of warranty, support, +indemnity or liability terms You offer. You may include additional +disclaimers of warranty and limitations of liability specific to any +jurisdiction. + +4. Inability to Comply Due to Statute or Regulation +--------------------------------------------------- + +If it is impossible for You to comply with any of the terms of this +License with respect to some or all of the Covered Software due to +statute, judicial order, or regulation then You must: (a) comply with +the terms of this License to the maximum extent possible; and (b) +describe the limitations and the code they affect. Such description must +be placed in a text file included with all distributions of the Covered +Software under this License. Except to the extent prohibited by statute +or regulation, such description must be sufficiently detailed for a +recipient of ordinary skill to be able to understand it. + +5. Termination +-------------- + +5.1. The rights granted under this License will terminate automatically +if You fail to comply with any of its terms. However, if You become +compliant, then the rights granted under this License from a particular +Contributor are reinstated (a) provisionally, unless and until such +Contributor explicitly and finally terminates Your grants, and (b) on an +ongoing basis, if such Contributor fails to notify You of the +non-compliance by some reasonable means prior to 60 days after You have +come back into compliance. Moreover, Your grants from a particular +Contributor are reinstated on an ongoing basis if such Contributor +notifies You of the non-compliance by some reasonable means, this is the +first time You have received notice of non-compliance with this License +from such Contributor, and You become compliant prior to 30 days after +Your receipt of the notice. + +5.2. If You initiate litigation against any entity by asserting a patent +infringement claim (excluding declaratory judgment actions, +counter-claims, and cross-claims) alleging that a Contributor Version +directly or indirectly infringes any patent, then the rights granted to +You by any and all Contributors for the Covered Software under Section +2.1 of this License shall terminate. + +5.3. In the event of termination under Sections 5.1 or 5.2 above, all +end user license agreements (excluding distributors and resellers) which +have been validly granted by You or Your distributors under this License +prior to termination shall survive termination. + +************************************************************************ +* * +* 6. Disclaimer of Warranty * +* ------------------------- * +* * +* Covered Software is provided under this License on an "as is" * +* basis, without warranty of any kind, either expressed, implied, or * +* statutory, including, without limitation, warranties that the * +* Covered Software is free of defects, merchantable, fit for a * +* particular purpose or non-infringing. The entire risk as to the * +* quality and performance of the Covered Software is with You. * +* Should any Covered Software prove defective in any respect, You * +* (not any Contributor) assume the cost of any necessary servicing, * +* repair, or correction. This disclaimer of warranty constitutes an * +* essential part of this License. No use of any Covered Software is * +* authorized under this License except under this disclaimer. * +* * +************************************************************************ + +************************************************************************ +* * +* 7. Limitation of Liability * +* -------------------------- * +* * +* Under no circumstances and under no legal theory, whether tort * +* (including negligence), contract, or otherwise, shall any * +* Contributor, or anyone who distributes Covered Software as * +* permitted above, be liable to You for any direct, indirect, * +* special, incidental, or consequential damages of any character * +* including, without limitation, damages for lost profits, loss of * +* goodwill, work stoppage, computer failure or malfunction, or any * +* and all other commercial damages or losses, even if such party * +* shall have been informed of the possibility of such damages. This * +* limitation of liability shall not apply to liability for death or * +* personal injury resulting from such party's negligence to the * +* extent applicable law prohibits such limitation. Some * +* jurisdictions do not allow the exclusion or limitation of * +* incidental or consequential damages, so this exclusion and * +* limitation may not apply to You. * +* * +************************************************************************ + +8. Litigation +------------- + +Any litigation relating to this License may be brought only in the +courts of a jurisdiction where the defendant maintains its principal +place of business and such litigation shall be governed by laws of that +jurisdiction, without reference to its conflict-of-law provisions. +Nothing in this Section shall prevent a party's ability to bring +cross-claims or counter-claims. + +9. Miscellaneous +---------------- + +This License represents the complete agreement concerning the subject +matter hereof. If any provision of this License is held to be +unenforceable, such provision shall be reformed only to the extent +necessary to make it enforceable. Any law or regulation which provides +that the language of a contract shall be construed against the drafter +shall not be used to construe this License against a Contributor. + +10. Versions of the License +--------------------------- + +10.1. New Versions + +Mozilla Foundation is the license steward. Except as provided in Section +10.3, no one other than the license steward has the right to modify or +publish new versions of this License. Each version will be given a +distinguishing version number. + +10.2. Effect of New Versions + +You may distribute the Covered Software under the terms of the version +of the License under which You originally received the Covered Software, +or under the terms of any subsequent version published by the license +steward. + +10.3. Modified Versions + +If you create software not governed by this License, and you want to +create a new license for such software, you may create and use a +modified version of this License if you rename the license and remove +any references to the name of the license steward (except to note that +such modified license differs from this License). + +10.4. Distributing Source Code Form that is Incompatible With Secondary +Licenses + +If You choose to distribute Source Code Form that is Incompatible With +Secondary Licenses under the terms of this version of the License, the +notice described in Exhibit B of this License must be attached. + +Exhibit A - Source Code Form License Notice +------------------------------------------- + + This Source Code Form is subject to the terms of the Mozilla Public + License, v. 2.0. If a copy of the MPL was not distributed with this + file, You can obtain one at http://mozilla.org/MPL/2.0/. + +If it is not possible or desirable to put the notice in a particular +file, then You may include the notice in a location (such as a LICENSE +file in a relevant directory) where a recipient would be likely to look +for such a notice. + +You may add additional accurate notices of copyright ownership. + +Exhibit B - "Incompatible With Secondary Licenses" Notice +--------------------------------------------------------- + + This Source Code Form is "Incompatible With Secondary Licenses", as + defined by the Mozilla Public License, v. 2.0. diff --git a/README.md b/README.md index 49a944e8..742d1a64 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,6 @@ Help us keep the Taiga Community open and inclusive. Please read and follow our ## License -Every code patch accepted in Taiga codebase is licensed under [MIT-0](LICENSE). You must be careful to not include any code that can not be licensed under this license. +Every code patch accepted in Taiga codebase is licensed under [MPL 2.0](LICENSE). You must be careful to not include any code that can not be licensed under this license. -Please read carefully [our license](https://github.com/taigaio/taiga-back/blob/master/LICENSE) and ask us if you have any questions as well as the [Contribution policy](https://github.com/taigaio/taiga-back/blob/master/CONTRIBUTING.md). +Please read carefully [our license](LICENSE) and ask us if you have any questions as well as the [Contribution policy](https://github.com/taigaio/taiga-back/blob/master/CONTRIBUTING.md). diff --git a/docker/Dockerfile b/docker/Dockerfile index ad3f36a8..4d9c3ab8 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,3 +1,9 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + FROM python:3.7-slim LABEL maintainer="support@taiga.io" diff --git a/docker/async_entrypoint.sh b/docker/async_entrypoint.sh index c671f314..259f6dc1 100644 --- a/docker/async_entrypoint.sh +++ b/docker/async_entrypoint.sh @@ -1,3 +1,9 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + #!/usr/bin/env bash set -euo pipefail diff --git a/docker/config.py b/docker/config.py index bf087893..472fa872 100644 --- a/docker/config.py +++ b/docker/config.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from .common import * import os diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index 90a950ba..b883f6db 100644 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -1,3 +1,9 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + #!/usr/bin/env bash set -euo pipefail diff --git a/manage.py b/manage.py index 568e4507..602b9a98 100755 --- a/manage.py +++ b/manage.py @@ -1,5 +1,10 @@ #!/usr/bin/env python -# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import os import sys diff --git a/regenerate.sh b/regenerate.sh index d21b0489..c397f242 100755 --- a/regenerate.sh +++ b/regenerate.sh @@ -1,3 +1,9 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + #!/bin/bash show_answer=true diff --git a/scripts/generate_fixtures_initial_project_templates.sh b/scripts/generate_fixtures_initial_project_templates.sh index 5aec7f19..1ddeb2f4 100755 --- a/scripts/generate_fixtures_initial_project_templates.sh +++ b/scripts/generate_fixtures_initial_project_templates.sh @@ -1,3 +1,9 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + #!/bin/bash python ./manage.py dumpdata --format json \ --indent 4 \ diff --git a/scripts/manage_translations.py b/scripts/manage_translations.py index b171ef97..f71574ab 100755 --- a/scripts/manage_translations.py +++ b/scripts/manage_translations.py @@ -1,4 +1,10 @@ #!/usr/bin/env python +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # NOTE: This script is based on django's manage_translations.py script # (https://github.com/django/django/blob/master/scripts/manage_translations.py) # diff --git a/settings/__init__.py b/settings/__init__.py index 40a96afc..b92267f0 100644 --- a/settings/__init__.py +++ b/settings/__init__.py @@ -1 +1,7 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/settings/common.py b/settings/common.py index 4cb3e091..da3d1c6a 100644 --- a/settings/common.py +++ b/settings/common.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import os import os.path import sys diff --git a/taiga/__init__.py b/taiga/__init__.py index b8cdf52b..d9cc8bf8 100644 --- a/taiga/__init__.py +++ b/taiga/__init__.py @@ -1,2 +1,8 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + __version__ = '6.0.9' diff --git a/taiga/auth/__init__.py b/taiga/auth/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/auth/__init__.py +++ b/taiga/auth/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/auth/api.py b/taiga/auth/api.py index ddbcb874..944e4665 100644 --- a/taiga/auth/api.py +++ b/taiga/auth/api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from functools import partial from django.utils.translation import ugettext as _ diff --git a/taiga/auth/backends.py b/taiga/auth/backends.py index 96cda145..7bebe400 100644 --- a/taiga/auth/backends.py +++ b/taiga/auth/backends.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + """ Authentication backends for rest framework. diff --git a/taiga/auth/permissions.py b/taiga/auth/permissions.py index b878d8f1..68bcbd49 100644 --- a/taiga/auth/permissions.py +++ b/taiga/auth/permissions.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api.permissions import TaigaResourcePermission, AllowAny diff --git a/taiga/auth/services.py b/taiga/auth/services.py index 8899e248..bafaf333 100644 --- a/taiga/auth/services.py +++ b/taiga/auth/services.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + """ This module contains a domain logic for authentication process. It called services because in DDD says it. diff --git a/taiga/auth/signals.py b/taiga/auth/signals.py index 55414992..1fa6fcc1 100644 --- a/taiga/auth/signals.py +++ b/taiga/auth/signals.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import django.dispatch diff --git a/taiga/auth/throttling.py b/taiga/auth/throttling.py index 795b2bc5..b393fe36 100644 --- a/taiga/auth/throttling.py +++ b/taiga/auth/throttling.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base import throttling diff --git a/taiga/auth/tokens.py b/taiga/auth/tokens.py index eb156a9f..f82fcc3e 100644 --- a/taiga/auth/tokens.py +++ b/taiga/auth/tokens.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.contrib.auth import get_user_model from taiga.base import exceptions as exc diff --git a/taiga/auth/validators.py b/taiga/auth/validators.py index b9a182b0..c0b5a8e4 100644 --- a/taiga/auth/validators.py +++ b/taiga/auth/validators.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import bleach from django.core import validators as core_validators diff --git a/taiga/base/__init__.py b/taiga/base/__init__.py index 81e6317e..132e41dd 100644 --- a/taiga/base/__init__.py +++ b/taiga/base/__init__.py @@ -1,2 +1,8 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + default_app_config = "taiga.base.apps.BaseAppConfig" diff --git a/taiga/base/api/__init__.py b/taiga/base/api/__init__.py index 7421e2fb..8f3732b8 100644 --- a/taiga/base/api/__init__.py +++ b/taiga/base/api/__init__.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # The code is partially taken (and modified) from django rest framework # that is licensed under the following terms: # diff --git a/taiga/base/api/authentication.py b/taiga/base/api/authentication.py index e0e9366f..3ff61976 100644 --- a/taiga/base/api/authentication.py +++ b/taiga/base/api/authentication.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # The code is partially taken (and modified) from django rest framework # that is licensed under the following terms: # diff --git a/taiga/base/api/fields.py b/taiga/base/api/fields.py index 1869c3d9..cee83944 100644 --- a/taiga/base/api/fields.py +++ b/taiga/base/api/fields.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # The code is partially taken (and modified) from django rest framework # that is licensed under the following terms: # diff --git a/taiga/base/api/generics.py b/taiga/base/api/generics.py index 4e9a4b20..7d89bc77 100644 --- a/taiga/base/api/generics.py +++ b/taiga/base/api/generics.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # The code is partially taken (and modified) from django rest framework # that is licensed under the following terms: # diff --git a/taiga/base/api/mixins.py b/taiga/base/api/mixins.py index e3f2987d..369c0cb2 100644 --- a/taiga/base/api/mixins.py +++ b/taiga/base/api/mixins.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # The code is partially taken (and modified) from django rest framework # that is licensed under the following terms: # diff --git a/taiga/base/api/negotiation.py b/taiga/base/api/negotiation.py index ad79d398..7aed952f 100644 --- a/taiga/base/api/negotiation.py +++ b/taiga/base/api/negotiation.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # The code is partially taken (and modified) from django rest framework # that is licensed under the following terms: # diff --git a/taiga/base/api/pagination.py b/taiga/base/api/pagination.py index d8ac2600..5225a403 100644 --- a/taiga/base/api/pagination.py +++ b/taiga/base/api/pagination.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.core.paginator import ( EmptyPage, Page, diff --git a/taiga/base/api/parsers.py b/taiga/base/api/parsers.py index f10fb95c..6b90667f 100644 --- a/taiga/base/api/parsers.py +++ b/taiga/base/api/parsers.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # The code is partially taken (and modified) from django rest framework # that is licensed under the following terms: # diff --git a/taiga/base/api/permissions.py b/taiga/base/api/permissions.py index e89e2cc7..5793f447 100644 --- a/taiga/base/api/permissions.py +++ b/taiga/base/api/permissions.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import abc import inspect diff --git a/taiga/base/api/relations.py b/taiga/base/api/relations.py index f612f3a9..98fa666b 100644 --- a/taiga/base/api/relations.py +++ b/taiga/base/api/relations.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # The code is partially taken (and modified) from django rest framework # that is licensed under the following terms: # diff --git a/taiga/base/api/renderers.py b/taiga/base/api/renderers.py index 6f2013b7..6e52f35a 100644 --- a/taiga/base/api/renderers.py +++ b/taiga/base/api/renderers.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # The code is partially taken (and modified) from django rest framework # that is licensed under the following terms: # diff --git a/taiga/base/api/request.py b/taiga/base/api/request.py index 85383ddf..d4e1ba30 100644 --- a/taiga/base/api/request.py +++ b/taiga/base/api/request.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # The code is partially taken (and modified) from django rest framework # that is licensed under the following terms: # diff --git a/taiga/base/api/reverse.py b/taiga/base/api/reverse.py index 8d9f9ea0..33a61dab 100644 --- a/taiga/base/api/reverse.py +++ b/taiga/base/api/reverse.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # The code is partially taken (and modified) from django rest framework # that is licensed under the following terms: # diff --git a/taiga/base/api/serializers.py b/taiga/base/api/serializers.py index 44e7dd12..ec6ef2bb 100644 --- a/taiga/base/api/serializers.py +++ b/taiga/base/api/serializers.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # The code is partially taken (and modified) from django rest framework # that is licensed under the following terms: # diff --git a/taiga/base/api/settings.py b/taiga/base/api/settings.py index c9c33ef2..de3e1018 100644 --- a/taiga/base/api/settings.py +++ b/taiga/base/api/settings.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # The code is partially taken (and modified) from django rest framework # that is licensed under the following terms: # diff --git a/taiga/base/api/throttling.py b/taiga/base/api/throttling.py index ea2e4aba..2ffb0182 100644 --- a/taiga/base/api/throttling.py +++ b/taiga/base/api/throttling.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # The code is partially taken (and modified) from django rest framework # that is licensed under the following terms: # diff --git a/taiga/base/api/urlpatterns.py b/taiga/base/api/urlpatterns.py index 8c799d02..806f0351 100644 --- a/taiga/base/api/urlpatterns.py +++ b/taiga/base/api/urlpatterns.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # The code is partially taken (and modified) from django rest framework # that is licensed under the following terms: # diff --git a/taiga/base/api/utils.py b/taiga/base/api/utils.py index 5cbe8ad6..62877248 100644 --- a/taiga/base/api/utils.py +++ b/taiga/base/api/utils.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # The code is partially taken (and modified) from django rest framework # that is licensed under the following terms: # diff --git a/taiga/base/api/utils/__init__.py b/taiga/base/api/utils/__init__.py index 48d2b228..8471a0d5 100644 --- a/taiga/base/api/utils/__init__.py +++ b/taiga/base/api/utils/__init__.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # The code is partially taken (and modified) from django rest framework # that is licensed under the following terms: # diff --git a/taiga/base/api/utils/encoders.py b/taiga/base/api/utils/encoders.py index 9904e9dd..2a5c14c2 100644 --- a/taiga/base/api/utils/encoders.py +++ b/taiga/base/api/utils/encoders.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # The code is partially taken (and modified) from django rest framework # that is licensed under the following terms: # diff --git a/taiga/base/api/utils/formatting.py b/taiga/base/api/utils/formatting.py index 9bdb610d..f754f788 100644 --- a/taiga/base/api/utils/formatting.py +++ b/taiga/base/api/utils/formatting.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # The code is partially taken (and modified) from django rest framework # that is licensed under the following terms: # diff --git a/taiga/base/api/utils/mediatypes.py b/taiga/base/api/utils/mediatypes.py index cfea5a9e..c30e05c3 100644 --- a/taiga/base/api/utils/mediatypes.py +++ b/taiga/base/api/utils/mediatypes.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # The code is partially taken (and modified) from django rest framework # that is licensed under the following terms: # diff --git a/taiga/base/api/validators.py b/taiga/base/api/validators.py index 88521a5e..d8193330 100644 --- a/taiga/base/api/validators.py +++ b/taiga/base/api/validators.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from . import serializers diff --git a/taiga/base/api/views.py b/taiga/base/api/views.py index dfe07b35..9768b69c 100644 --- a/taiga/base/api/views.py +++ b/taiga/base/api/views.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # The code is partially taken (and modified) from django rest framework # that is licensed under the following terms: # diff --git a/taiga/base/api/viewsets.py b/taiga/base/api/viewsets.py index ad064dd3..be9181cb 100644 --- a/taiga/base/api/viewsets.py +++ b/taiga/base/api/viewsets.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # The code is partially taken (and modified) from django rest framework # that is licensed under the following terms: # diff --git a/taiga/base/apps.py b/taiga/base/apps.py index 28345ebe..8824ead7 100644 --- a/taiga/base/apps.py +++ b/taiga/base/apps.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.apps import AppConfig diff --git a/taiga/base/connectors/__init__.py b/taiga/base/connectors/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/base/connectors/__init__.py +++ b/taiga/base/connectors/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/base/connectors/exceptions.py b/taiga/base/connectors/exceptions.py index 8a7afdd9..69ae4407 100644 --- a/taiga/base/connectors/exceptions.py +++ b/taiga/base/connectors/exceptions.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.exceptions import BaseException from django.utils.translation import ugettext_lazy as _ diff --git a/taiga/base/db/__init__.py b/taiga/base/db/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/base/db/__init__.py +++ b/taiga/base/db/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/base/db/models/__init__.py b/taiga/base/db/models/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/base/db/models/__init__.py +++ b/taiga/base/db/models/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/base/db/models/fields/__init__.py b/taiga/base/db/models/fields/__init__.py index cddcdb58..e9b93e61 100644 --- a/taiga/base/db/models/fields/__init__.py +++ b/taiga/base/db/models/fields/__init__.py @@ -1,2 +1,8 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from .json import JSONField diff --git a/taiga/base/db/models/fields/json.py b/taiga/base/db/models/fields/json.py index 5f214bdb..e40a780f 100644 --- a/taiga/base/db/models/fields/json.py +++ b/taiga/base/db/models/fields/json.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.core.serializers.json import DjangoJSONEncoder from django.contrib.postgres.fields import JSONField as DjangoJSONField diff --git a/taiga/base/decorators.py b/taiga/base/decorators.py index 7c9a62e1..943d6a1c 100644 --- a/taiga/base/decorators.py +++ b/taiga/base/decorators.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django_pglocks import advisory_lock diff --git a/taiga/base/exceptions.py b/taiga/base/exceptions.py index 6c9ebb2e..d1605a53 100644 --- a/taiga/base/exceptions.py +++ b/taiga/base/exceptions.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # The code is partially taken (and modified) from django rest framework # that is licensed under the following terms: # diff --git a/taiga/base/fields.py b/taiga/base/fields.py index 19ff59b6..7ed90d5a 100644 --- a/taiga/base/fields.py +++ b/taiga/base/fields.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.forms import widgets from django.utils.translation import ugettext as _ from taiga.base.api import serializers, ISO_8601 diff --git a/taiga/base/filters.py b/taiga/base/filters.py index eddacf32..f828cf9a 100644 --- a/taiga/base/filters.py +++ b/taiga/base/filters.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import logging from dateutil.parser import parse as parse_date diff --git a/taiga/base/formats/__init__.py b/taiga/base/formats/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/base/formats/__init__.py +++ b/taiga/base/formats/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/base/formats/en/__init__.py b/taiga/base/formats/en/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/base/formats/en/__init__.py +++ b/taiga/base/formats/en/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/base/formats/en/formats.py b/taiga/base/formats/en/formats.py index 71c9062a..1fae7fec 100644 --- a/taiga/base/formats/en/formats.py +++ b/taiga/base/formats/en/formats.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + DATE_FORMAT = "d/m/Y" SHORT_DATE_FORMAT = "d/m/Y" diff --git a/taiga/base/formats/es/__init__.py b/taiga/base/formats/es/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/base/formats/es/__init__.py +++ b/taiga/base/formats/es/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/base/formats/es/formats.py b/taiga/base/formats/es/formats.py index 9d499aea..e82ebfb4 100644 --- a/taiga/base/formats/es/formats.py +++ b/taiga/base/formats/es/formats.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + DATE_FORMAT = "d/m/Y" SHORT_DATE_FORMAT = "d/m/Y" DATE_INPUT_FORMATS = ( diff --git a/taiga/base/mails.py b/taiga/base/mails.py index 3683e0e2..b265654a 100644 --- a/taiga/base/mails.py +++ b/taiga/base/mails.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.conf import settings from djmail import template_mail diff --git a/taiga/base/management/__init__.py b/taiga/base/management/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/base/management/__init__.py +++ b/taiga/base/management/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/base/management/commands/__init__.py b/taiga/base/management/commands/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/base/management/commands/__init__.py +++ b/taiga/base/management/commands/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/base/management/commands/test_emails.py b/taiga/base/management/commands/test_emails.py index 9051103f..22f135f1 100644 --- a/taiga/base/management/commands/test_emails.py +++ b/taiga/base/management/commands/test_emails.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import datetime from django.apps import apps diff --git a/taiga/base/middleware/__init__.py b/taiga/base/middleware/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/base/middleware/__init__.py +++ b/taiga/base/middleware/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/base/middleware/cors.py b/taiga/base/middleware/cors.py index 38ab5391..dbfe1baf 100644 --- a/taiga/base/middleware/cors.py +++ b/taiga/base/middleware/cors.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django import http from django.conf import settings diff --git a/taiga/base/monkey.py b/taiga/base/monkey.py index e69de29b..b92267f0 100644 --- a/taiga/base/monkey.py +++ b/taiga/base/monkey.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/base/neighbors.py b/taiga/base/neighbors.py index e2c556f6..cd586531 100644 --- a/taiga/base/neighbors.py +++ b/taiga/base/neighbors.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from collections import namedtuple from django.db import connection diff --git a/taiga/base/response.py b/taiga/base/response.py index 604a3734..8871d062 100644 --- a/taiga/base/response.py +++ b/taiga/base/response.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # The code is partially taken (and modified) from django rest framework # that is licensed under the following terms: # diff --git a/taiga/base/routers.py b/taiga/base/routers.py index 6f49dd08..b995ff5d 100644 --- a/taiga/base/routers.py +++ b/taiga/base/routers.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Django Rest Framework 2.4.0 routers module (should be removed when 2.4 is released) import itertools diff --git a/taiga/base/signals/__init__.py b/taiga/base/signals/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/base/signals/__init__.py +++ b/taiga/base/signals/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/base/signals/cleanup_files.py b/taiga/base/signals/cleanup_files.py index b029d875..04c527fc 100644 --- a/taiga/base/signals/cleanup_files.py +++ b/taiga/base/signals/cleanup_files.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.apps import apps from django.db import models, connection from django.db.models.signals import pre_save, post_delete diff --git a/taiga/base/signals/thumbnails.py b/taiga/base/signals/thumbnails.py index 5bd71be5..7e3f2acd 100644 --- a/taiga/base/signals/thumbnails.py +++ b/taiga/base/signals/thumbnails.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from .cleanup_files import cleanup_post_delete from easy_thumbnails.files import get_thumbnailer diff --git a/taiga/base/status.py b/taiga/base/status.py index e31877ad..889f4de5 100644 --- a/taiga/base/status.py +++ b/taiga/base/status.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # The code is partially taken (and modified) from django rest framework # that is licensed under the following terms: # diff --git a/taiga/base/storage.py b/taiga/base/storage.py index 8688a2bf..840f6206 100644 --- a/taiga/base/storage.py +++ b/taiga/base/storage.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import errno from django.conf import settings diff --git a/taiga/base/templates/emails/base-body-html.jinja b/taiga/base/templates/emails/base-body-html.jinja index 6aa8e728..92c5943f 100644 --- a/taiga/base/templates/emails/base-body-html.jinja +++ b/taiga/base/templates/emails/base-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + diff --git a/taiga/base/templates/emails/hero-body-html.jinja b/taiga/base/templates/emails/hero-body-html.jinja index 9d6001f2..43abe567 100644 --- a/taiga/base/templates/emails/hero-body-html.jinja +++ b/taiga/base/templates/emails/hero-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + diff --git a/taiga/base/templates/emails/includes/footer.css b/taiga/base/templates/emails/includes/footer.css index 9a49aa84..52aa9d22 100644 --- a/taiga/base/templates/emails/includes/footer.css +++ b/taiga/base/templates/emails/includes/footer.css @@ -1,3 +1,12 @@ + +/* +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +*/ + #templateFooter{ background-color:#4C566A; } diff --git a/taiga/base/templates/emails/includes/footer.jinja b/taiga/base/templates/emails/includes/footer.jinja index cd5b5c48..5432e8c1 100644 --- a/taiga/base/templates/emails/includes/footer.jinja +++ b/taiga/base/templates/emails/includes/footer.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + diff --git a/taiga/base/templates/emails/updates-body-html.jinja b/taiga/base/templates/emails/updates-body-html.jinja index 41e95d42..d753a9fa 100644 --- a/taiga/base/templates/emails/updates-body-html.jinja +++ b/taiga/base/templates/emails/updates-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + diff --git a/taiga/base/templates/emails/updates-body-text.jinja b/taiga/base/templates/emails/updates-body-text.jinja index 470382c1..97631eaf 100644 --- a/taiga/base/templates/emails/updates-body-text.jinja +++ b/taiga/base/templates/emails/updates-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% block head %}{% endblock %} {% block body %} diff --git a/taiga/base/throttling.py b/taiga/base/throttling.py index 480be721..43aa8481 100644 --- a/taiga/base/throttling.py +++ b/taiga/base/throttling.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.conf import settings from django.core.exceptions import ImproperlyConfigured diff --git a/taiga/base/utils/__init__.py b/taiga/base/utils/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/base/utils/__init__.py +++ b/taiga/base/utils/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/base/utils/collections.py b/taiga/base/utils/collections.py index eee7e29d..07209933 100644 --- a/taiga/base/utils/collections.py +++ b/taiga/base/utils/collections.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import collections diff --git a/taiga/base/utils/colors.py b/taiga/base/utils/colors.py index 2de0a016..631b683d 100644 --- a/taiga/base/utils/colors.py +++ b/taiga/base/utils/colors.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import random from django.conf import settings diff --git a/taiga/base/utils/contenttypes.py b/taiga/base/utils/contenttypes.py index c1926fe1..b68475b4 100644 --- a/taiga/base/utils/contenttypes.py +++ b/taiga/base/utils/contenttypes.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.apps import apps from django.contrib.contenttypes.management import create_contenttypes diff --git a/taiga/base/utils/db.py b/taiga/base/utils/db.py index b6798a62..00ebaee5 100644 --- a/taiga/base/utils/db.py +++ b/taiga/base/utils/db.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.contrib.contenttypes.models import ContentType from django.db import connection from django.db import DatabaseError diff --git a/taiga/base/utils/dicts.py b/taiga/base/utils/dicts.py index b1ab7e66..2e220df7 100644 --- a/taiga/base/utils/dicts.py +++ b/taiga/base/utils/dicts.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import collections diff --git a/taiga/base/utils/diff.py b/taiga/base/utils/diff.py index a38fb7f0..641483e8 100644 --- a/taiga/base/utils/diff.py +++ b/taiga/base/utils/diff.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + def make_diff(first: dict, second: dict, not_found_value=None, excluded_keys: tuple = ()) -> dict: """ diff --git a/taiga/base/utils/files.py b/taiga/base/utils/files.py index 4939c82c..32108fa5 100644 --- a/taiga/base/utils/files.py +++ b/taiga/base/utils/files.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import hashlib from os import path, urandom diff --git a/taiga/base/utils/functions.py b/taiga/base/utils/functions.py index 8b048997..a2841e9a 100644 --- a/taiga/base/utils/functions.py +++ b/taiga/base/utils/functions.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + def noop(*args, **kwargs): """The noop function.""" return None diff --git a/taiga/base/utils/iterators.py b/taiga/base/utils/iterators.py index 1f3250ef..f48e4088 100644 --- a/taiga/base/utils/iterators.py +++ b/taiga/base/utils/iterators.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from functools import wraps, partial from django.core.paginator import Paginator diff --git a/taiga/base/utils/json.py b/taiga/base/utils/json.py index ce577917..d22a43b8 100644 --- a/taiga/base/utils/json.py +++ b/taiga/base/utils/json.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.utils.encoding import force_text from taiga.base.api.utils import encoders diff --git a/taiga/base/utils/logs.py b/taiga/base/utils/logs.py index 3fc6eee7..a436356e 100644 --- a/taiga/base/utils/logs.py +++ b/taiga/base/utils/logs.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.views.debug import ExceptionReporter from django.utils.log import AdminEmailHandler from django.conf import settings diff --git a/taiga/base/utils/signals.py b/taiga/base/utils/signals.py index 34c70521..87cdf674 100644 --- a/taiga/base/utils/signals.py +++ b/taiga/base/utils/signals.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.utils.translation import ugettext as _ from contextlib import contextmanager diff --git a/taiga/base/utils/slug.py b/taiga/base/utils/slug.py index f77c36f4..8cd6e5a1 100644 --- a/taiga/base/utils/slug.py +++ b/taiga/base/utils/slug.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.template.defaultfilters import slugify as django_slugify import time diff --git a/taiga/base/utils/text.py b/taiga/base/utils/text.py index 34792a3e..eeb92de2 100644 --- a/taiga/base/utils/text.py +++ b/taiga/base/utils/text.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + def strip_lines(text): """ Given text, try remove unnecessary spaces and diff --git a/taiga/base/utils/thumbnails.py b/taiga/base/utils/thumbnails.py index 40b9133f..3310f467 100644 --- a/taiga/base/utils/thumbnails.py +++ b/taiga/base/utils/thumbnails.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import os from psd_tools import PSDImage diff --git a/taiga/base/utils/time.py b/taiga/base/utils/time.py index 7dd5215b..7088f55b 100644 --- a/taiga/base/utils/time.py +++ b/taiga/base/utils/time.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import time diff --git a/taiga/base/utils/urls.py b/taiga/base/utils/urls.py index ee5442ce..5dc1c8ad 100644 --- a/taiga/base/utils/urls.py +++ b/taiga/base/utils/urls.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import ipaddress import socket from urllib.parse import urlparse diff --git a/taiga/celery.py b/taiga/celery.py index d49ed02e..9f23fb45 100644 --- a/taiga/celery.py +++ b/taiga/celery.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import absolute_import, unicode_literals import random import os diff --git a/taiga/events/__init__.py b/taiga/events/__init__.py index 951ae777..f84aebcb 100644 --- a/taiga/events/__init__.py +++ b/taiga/events/__init__.py @@ -1,2 +1,8 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + default_app_config = "taiga.events.apps.EventsAppConfig" diff --git a/taiga/events/apps.py b/taiga/events/apps.py index 08beb162..19e8c1c8 100644 --- a/taiga/events/apps.py +++ b/taiga/events/apps.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # from django.apps import apps, AppConfig from django.db.models import signals diff --git a/taiga/events/backends/__init__.py b/taiga/events/backends/__init__.py index f1fdbee8..3efd2fc0 100644 --- a/taiga/events/backends/__init__.py +++ b/taiga/events/backends/__init__.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from .base import get_events_backend __all__ = ["get_events_backend"] diff --git a/taiga/events/backends/base.py b/taiga/events/backends/base.py index 0d1c2c8c..1d6021d5 100644 --- a/taiga/events/backends/base.py +++ b/taiga/events/backends/base.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import abc import importlib diff --git a/taiga/events/backends/postgresql.py b/taiga/events/backends/postgresql.py index af4b8efa..8242cd49 100644 --- a/taiga/events/backends/postgresql.py +++ b/taiga/events/backends/postgresql.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.db import transaction from django.db import connection diff --git a/taiga/events/backends/rabbitmq.py b/taiga/events/backends/rabbitmq.py index 9df05cc7..3656420c 100644 --- a/taiga/events/backends/rabbitmq.py +++ b/taiga/events/backends/rabbitmq.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import json import logging diff --git a/taiga/events/events.py b/taiga/events/events.py index 361192bd..f378c689 100644 --- a/taiga/events/events.py +++ b/taiga/events/events.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import collections from django.db import connection diff --git a/taiga/events/management/__init__.py b/taiga/events/management/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/events/management/__init__.py +++ b/taiga/events/management/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/events/management/commands/emit_notification_message.py b/taiga/events/management/commands/emit_notification_message.py index 9e9b13b3..0fe4a29c 100644 --- a/taiga/events/management/commands/emit_notification_message.py +++ b/taiga/events/management/commands/emit_notification_message.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.core.management.base import BaseCommand from taiga.events.events import emit_event diff --git a/taiga/events/middleware.py b/taiga/events/middleware.py index 89e40c51..3f99fb64 100644 --- a/taiga/events/middleware.py +++ b/taiga/events/middleware.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import threading _local = threading.local() diff --git a/taiga/events/signal_handlers.py b/taiga/events/signal_handlers.py index 4554e198..7b53b9d5 100644 --- a/taiga/events/signal_handlers.py +++ b/taiga/events/signal_handlers.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # from django.apps import apps from taiga.base.utils.db import get_typename_for_model_instance diff --git a/taiga/export_import/__init__.py b/taiga/export_import/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/export_import/__init__.py +++ b/taiga/export_import/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/export_import/api.py b/taiga/export_import/api.py index a63fb7c6..b18f2775 100644 --- a/taiga/export_import/api.py +++ b/taiga/export_import/api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import codecs import uuid import gzip diff --git a/taiga/export_import/exceptions.py b/taiga/export_import/exceptions.py index a57315dd..10449045 100644 --- a/taiga/export_import/exceptions.py +++ b/taiga/export_import/exceptions.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + class TaigaImportError(Exception): def __init__(self, message, project, errors=[]): self.message = message diff --git a/taiga/export_import/management/__init__.py b/taiga/export_import/management/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/export_import/management/__init__.py +++ b/taiga/export_import/management/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/export_import/management/commands/__init__.py b/taiga/export_import/management/commands/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/export_import/management/commands/__init__.py +++ b/taiga/export_import/management/commands/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/export_import/management/commands/dump_project.py b/taiga/export_import/management/commands/dump_project.py index e2c0cf7e..2b6b138a 100644 --- a/taiga/export_import/management/commands/dump_project.py +++ b/taiga/export_import/management/commands/dump_project.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.core.management.base import BaseCommand, CommandError from taiga.projects.models import Project diff --git a/taiga/export_import/management/commands/dump_project_async.py b/taiga/export_import/management/commands/dump_project_async.py index 583d35de..4e3b1c96 100644 --- a/taiga/export_import/management/commands/dump_project_async.py +++ b/taiga/export_import/management/commands/dump_project_async.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.core.management.base import BaseCommand, CommandError from django.db.models import Q from django.conf import settings diff --git a/taiga/export_import/management/commands/load_dump.py b/taiga/export_import/management/commands/load_dump.py index f6786f4b..2750752e 100644 --- a/taiga/export_import/management/commands/load_dump.py +++ b/taiga/export_import/management/commands/load_dump.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.core.management.base import BaseCommand from django.db import transaction from django.db.models import signals diff --git a/taiga/export_import/mixins.py b/taiga/export_import/mixins.py index 6c0b6890..86c1ebb9 100644 --- a/taiga/export_import/mixins.py +++ b/taiga/export_import/mixins.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from . import throttling diff --git a/taiga/export_import/models.py b/taiga/export_import/models.py index e69de29b..b92267f0 100644 --- a/taiga/export_import/models.py +++ b/taiga/export_import/models.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/export_import/permissions.py b/taiga/export_import/permissions.py index 8b7ae342..1639ad72 100644 --- a/taiga/export_import/permissions.py +++ b/taiga/export_import/permissions.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api.permissions import (TaigaResourcePermission, IsProjectAdmin, IsAuthenticated) diff --git a/taiga/export_import/renderers.py b/taiga/export_import/renderers.py index fce1f259..b5d33707 100644 --- a/taiga/export_import/renderers.py +++ b/taiga/export_import/renderers.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api.renderers import UnicodeJSONRenderer diff --git a/taiga/export_import/serializers/__init__.py b/taiga/export_import/serializers/__init__.py index 8337ce10..2b58f6db 100644 --- a/taiga/export_import/serializers/__init__.py +++ b/taiga/export_import/serializers/__init__.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from .serializers import PointsExportSerializer from .serializers import UserStoryStatusExportSerializer from .serializers import TaskStatusExportSerializer diff --git a/taiga/export_import/serializers/cache.py b/taiga/export_import/serializers/cache.py index c1177d27..ff83cfaf 100644 --- a/taiga/export_import/serializers/cache.py +++ b/taiga/export_import/serializers/cache.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.users import models as users_models _cache_user_by_pk = {} diff --git a/taiga/export_import/serializers/fields.py b/taiga/export_import/serializers/fields.py index 1e55ac79..f333ed19 100644 --- a/taiga/export_import/serializers/fields.py +++ b/taiga/export_import/serializers/fields.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import base64 import logging import os diff --git a/taiga/export_import/serializers/mixins.py b/taiga/export_import/serializers/mixins.py index 9fc1bdbc..c345fdd6 100644 --- a/taiga/export_import/serializers/mixins.py +++ b/taiga/export_import/serializers/mixins.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.core.exceptions import ObjectDoesNotExist from django.contrib.auth import get_user_model from django.contrib.contenttypes.models import ContentType diff --git a/taiga/export_import/serializers/serializers.py b/taiga/export_import/serializers/serializers.py index 87b5b5a0..3bc7f83d 100644 --- a/taiga/export_import/serializers/serializers.py +++ b/taiga/export_import/serializers/serializers.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api import serializers from taiga.base.fields import Field, DateTimeField, MethodField diff --git a/taiga/export_import/services/__init__.py b/taiga/export_import/services/__init__.py index b771a333..22001a99 100644 --- a/taiga/export_import/services/__init__.py +++ b/taiga/export_import/services/__init__.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # This makes all code that import services works and # is not the baddest practice ;) diff --git a/taiga/export_import/services/render.py b/taiga/export_import/services/render.py index 53064bcb..8657d8e6 100644 --- a/taiga/export_import/services/render.py +++ b/taiga/export_import/services/render.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # This makes all code that import services works and # is not the baddest practice ;) diff --git a/taiga/export_import/services/store.py b/taiga/export_import/services/store.py index d1ea56a2..c74783a0 100644 --- a/taiga/export_import/services/store.py +++ b/taiga/export_import/services/store.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # This makes all code that import services works and # is not the baddest practice ;) diff --git a/taiga/export_import/tasks.py b/taiga/export_import/tasks.py index 25489ef6..4f866271 100644 --- a/taiga/export_import/tasks.py +++ b/taiga/export_import/tasks.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import datetime import logging import sys diff --git a/taiga/export_import/templates/emails/dump_project-body-html.jinja b/taiga/export_import/templates/emails/dump_project-body-html.jinja index a3e7ae99..2a30b174 100644 --- a/taiga/export_import/templates/emails/dump_project-body-html.jinja +++ b/taiga/export_import/templates/emails/dump_project-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/base-body-html.jinja" %} {% block body %} diff --git a/taiga/export_import/templates/emails/dump_project-body-text.jinja b/taiga/export_import/templates/emails/dump_project-body-text.jinja index 8abd208e..92914a08 100644 --- a/taiga/export_import/templates/emails/dump_project-body-text.jinja +++ b/taiga/export_import/templates/emails/dump_project-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans signature=sr("signature"), user=user.get_full_name(), project=project.name, url=url, deletion_date=deletion_date|date("SHORT_DATETIME_FORMAT") + deletion_date|date(" T") %} Hello {{ user }}, diff --git a/taiga/export_import/templates/emails/dump_project-subject.jinja b/taiga/export_import/templates/emails/dump_project-subject.jinja index 7ad0ef61..4f9d714d 100644 --- a/taiga/export_import/templates/emails/dump_project-subject.jinja +++ b/taiga/export_import/templates/emails/dump_project-subject.jinja @@ -1 +1,9 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans project=project.name|safe %}[{{ project }}] Your project dump has been generated{% endtrans %} diff --git a/taiga/export_import/templates/emails/export_error-body-html.jinja b/taiga/export_import/templates/emails/export_error-body-html.jinja index a9777b4e..2c210446 100644 --- a/taiga/export_import/templates/emails/export_error-body-html.jinja +++ b/taiga/export_import/templates/emails/export_error-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/base-body-html.jinja" %} {% block body %} diff --git a/taiga/export_import/templates/emails/export_error-body-text.jinja b/taiga/export_import/templates/emails/export_error-body-text.jinja index c50542ba..80f3903b 100644 --- a/taiga/export_import/templates/emails/export_error-body-text.jinja +++ b/taiga/export_import/templates/emails/export_error-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans signature=sr("signature"), user=user.get_full_name(), error_message=error_message, support_email=sr("support.email"), project=project.name %} Hello {{ user }}, diff --git a/taiga/export_import/templates/emails/export_error-subject.jinja b/taiga/export_import/templates/emails/export_error-subject.jinja index 741bf6d8..ac8aef4b 100644 --- a/taiga/export_import/templates/emails/export_error-subject.jinja +++ b/taiga/export_import/templates/emails/export_error-subject.jinja @@ -1 +1,9 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans error_subject=error_subject|safe, project=project.name|safe %}[{{ project }}] {{ error_subject }}{% endtrans %} diff --git a/taiga/export_import/templates/emails/import_error-body-html.jinja b/taiga/export_import/templates/emails/import_error-body-html.jinja index c6d134fa..c0f32fc6 100644 --- a/taiga/export_import/templates/emails/import_error-body-html.jinja +++ b/taiga/export_import/templates/emails/import_error-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/base-body-html.jinja" %} {% block body %} diff --git a/taiga/export_import/templates/emails/import_error-body-text.jinja b/taiga/export_import/templates/emails/import_error-body-text.jinja index 7800e973..0fa2cddc 100644 --- a/taiga/export_import/templates/emails/import_error-body-text.jinja +++ b/taiga/export_import/templates/emails/import_error-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans signature=sr("signature"), user=user.get_full_name(), error_message=error_message, support_email=sr("support.email"), product_name=sr("product_name") %} Hello {{ user }}, diff --git a/taiga/export_import/templates/emails/import_error-subject.jinja b/taiga/export_import/templates/emails/import_error-subject.jinja index 329983d4..167e40e8 100644 --- a/taiga/export_import/templates/emails/import_error-subject.jinja +++ b/taiga/export_import/templates/emails/import_error-subject.jinja @@ -1 +1,9 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans error_subject=error_subject|safe %}[Taiga] {{ error_subject }}{% endtrans %} diff --git a/taiga/export_import/templates/emails/load_dump-body-html.jinja b/taiga/export_import/templates/emails/load_dump-body-html.jinja index 74cfeba7..86ca2eb3 100644 --- a/taiga/export_import/templates/emails/load_dump-body-html.jinja +++ b/taiga/export_import/templates/emails/load_dump-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/base-body-html.jinja" %} {% block body %} diff --git a/taiga/export_import/templates/emails/load_dump-body-text.jinja b/taiga/export_import/templates/emails/load_dump-body-text.jinja index 9792b140..d9118ec4 100644 --- a/taiga/export_import/templates/emails/load_dump-body-text.jinja +++ b/taiga/export_import/templates/emails/load_dump-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans signature=sr("signature"), user=user.get_full_name(), url=resolve_front_url("project", project.slug), project=project.name %} Hello {{ user }}, diff --git a/taiga/export_import/templates/emails/load_dump-subject.jinja b/taiga/export_import/templates/emails/load_dump-subject.jinja index a258d42e..d9b521f6 100644 --- a/taiga/export_import/templates/emails/load_dump-subject.jinja +++ b/taiga/export_import/templates/emails/load_dump-subject.jinja @@ -1 +1,9 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans project=project.name|safe %}[{{ project }}] Your project dump has been imported{% endtrans %} diff --git a/taiga/export_import/throttling.py b/taiga/export_import/throttling.py index bfba5b05..5d4a5349 100644 --- a/taiga/export_import/throttling.py +++ b/taiga/export_import/throttling.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base import throttling diff --git a/taiga/export_import/validators/__init__.py b/taiga/export_import/validators/__init__.py index a6ae630d..cdb0453b 100644 --- a/taiga/export_import/validators/__init__.py +++ b/taiga/export_import/validators/__init__.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from .validators import PointsExportValidator from .validators import EpicStatusExportValidator from .validators import UserStoryStatusExportValidator diff --git a/taiga/export_import/validators/cache.py b/taiga/export_import/validators/cache.py index 4229733c..1cf1f624 100644 --- a/taiga/export_import/validators/cache.py +++ b/taiga/export_import/validators/cache.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.users import models as users_models _cache_user_by_pk = {} diff --git a/taiga/export_import/validators/fields.py b/taiga/export_import/validators/fields.py index 2f28b634..4f311552 100644 --- a/taiga/export_import/validators/fields.py +++ b/taiga/export_import/validators/fields.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import base64 import copy diff --git a/taiga/export_import/validators/mixins.py b/taiga/export_import/validators/mixins.py index 13b34029..ba36e586 100644 --- a/taiga/export_import/validators/mixins.py +++ b/taiga/export_import/validators/mixins.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.contrib.auth import get_user_model from django.core.exceptions import ObjectDoesNotExist from django.contrib.contenttypes.models import ContentType diff --git a/taiga/export_import/validators/validators.py b/taiga/export_import/validators/validators.py index 9ecb6548..90090635 100644 --- a/taiga/export_import/validators/validators.py +++ b/taiga/export_import/validators/validators.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.utils.translation import ugettext as _ from taiga.base.api import serializers diff --git a/taiga/external_apps/__init__.py b/taiga/external_apps/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/external_apps/__init__.py +++ b/taiga/external_apps/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/external_apps/admin.py b/taiga/external_apps/admin.py index 77e0b86f..21a61eae 100644 --- a/taiga/external_apps/admin.py +++ b/taiga/external_apps/admin.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.contrib import admin from . import models diff --git a/taiga/external_apps/api.py b/taiga/external_apps/api.py index 6f53c21b..ef163e75 100644 --- a/taiga/external_apps/api.py +++ b/taiga/external_apps/api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from . import serializers from . import validators from . import models diff --git a/taiga/external_apps/auth_backends.py b/taiga/external_apps/auth_backends.py index 2f275543..c92b333d 100644 --- a/taiga/external_apps/auth_backends.py +++ b/taiga/external_apps/auth_backends.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import re from taiga.base.api.authentication import BaseAuthentication diff --git a/taiga/external_apps/management/__init__.py b/taiga/external_apps/management/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/external_apps/management/__init__.py +++ b/taiga/external_apps/management/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/external_apps/management/commands/__init__.py b/taiga/external_apps/management/commands/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/external_apps/management/commands/__init__.py +++ b/taiga/external_apps/management/commands/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/external_apps/management/commands/create_taiga_tribe_app.py b/taiga/external_apps/management/commands/create_taiga_tribe_app.py index 0542c928..104ccde4 100644 --- a/taiga/external_apps/management/commands/create_taiga_tribe_app.py +++ b/taiga/external_apps/management/commands/create_taiga_tribe_app.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.core.management.base import BaseCommand from taiga.external_apps.models import Application diff --git a/taiga/external_apps/migrations/0001_initial.py b/taiga/external_apps/migrations/0001_initial.py index 7a13c734..ea091514 100644 --- a/taiga/external_apps/migrations/0001_initial.py +++ b/taiga/external_apps/migrations/0001_initial.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/external_apps/migrations/0002_remove_application_key.py b/taiga/external_apps/migrations/0002_remove_application_key.py index 4cea28d6..889aceca 100644 --- a/taiga/external_apps/migrations/0002_remove_application_key.py +++ b/taiga/external_apps/migrations/0002_remove_application_key.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-09-14 14:13 from __future__ import unicode_literals diff --git a/taiga/external_apps/migrations/0003_auto_20170607_2320.py b/taiga/external_apps/migrations/0003_auto_20170607_2320.py index 75907982..ceca52d9 100644 --- a/taiga/external_apps/migrations/0003_auto_20170607_2320.py +++ b/taiga/external_apps/migrations/0003_auto_20170607_2320.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.11.2 on 2017-06-07 23:20 from __future__ import unicode_literals diff --git a/taiga/external_apps/migrations/0004_typo_fix.py b/taiga/external_apps/migrations/0004_typo_fix.py index 7eac0351..21f1b050 100644 --- a/taiga/external_apps/migrations/0004_typo_fix.py +++ b/taiga/external_apps/migrations/0004_typo_fix.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.11.28 on 2020-02-05 20:51 from __future__ import unicode_literals diff --git a/taiga/external_apps/migrations/__init__.py b/taiga/external_apps/migrations/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/external_apps/migrations/__init__.py +++ b/taiga/external_apps/migrations/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/external_apps/models.py b/taiga/external_apps/models.py index ceb6f393..f0dacc5b 100644 --- a/taiga/external_apps/models.py +++ b/taiga/external_apps/models.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.conf import settings from django.core import signing from django.db import models diff --git a/taiga/external_apps/permissions.py b/taiga/external_apps/permissions.py index 399c842b..40a89851 100644 --- a/taiga/external_apps/permissions.py +++ b/taiga/external_apps/permissions.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api.permissions import TaigaResourcePermission from taiga.base.api.permissions import IsAuthenticated from taiga.base.api.permissions import PermissionComponent diff --git a/taiga/external_apps/serializers.py b/taiga/external_apps/serializers.py index 29fadd5f..ea221a94 100644 --- a/taiga/external_apps/serializers.py +++ b/taiga/external_apps/serializers.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api import serializers from taiga.base.fields import Field diff --git a/taiga/external_apps/services.py b/taiga/external_apps/services.py index a8a923ff..53b83535 100644 --- a/taiga/external_apps/services.py +++ b/taiga/external_apps/services.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base import exceptions as exc from taiga.base.api.utils import get_object_or_404 diff --git a/taiga/external_apps/validators.py b/taiga/external_apps/validators.py index fb93553a..b89ab5a9 100644 --- a/taiga/external_apps/validators.py +++ b/taiga/external_apps/validators.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api import serializers from . import models diff --git a/taiga/feedback/__init__.py b/taiga/feedback/__init__.py index 78106c81..c8cfbc59 100644 --- a/taiga/feedback/__init__.py +++ b/taiga/feedback/__init__.py @@ -1,2 +1,8 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + default_app_config = "taiga.feedback.apps.FeedbackAppConfig" diff --git a/taiga/feedback/admin.py b/taiga/feedback/admin.py index e9014b10..171d0938 100644 --- a/taiga/feedback/admin.py +++ b/taiga/feedback/admin.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.contrib import admin from . import models diff --git a/taiga/feedback/api.py b/taiga/feedback/api.py index 7a87ecc8..79cd1174 100644 --- a/taiga/feedback/api.py +++ b/taiga/feedback/api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base import response from taiga.base.api import viewsets diff --git a/taiga/feedback/apps.py b/taiga/feedback/apps.py index eedbdf91..946e3c5c 100644 --- a/taiga/feedback/apps.py +++ b/taiga/feedback/apps.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.apps import AppConfig from django.apps import apps from django.conf import settings diff --git a/taiga/feedback/migrations/0001_initial.py b/taiga/feedback/migrations/0001_initial.py index 118638c5..9332afee 100644 --- a/taiga/feedback/migrations/0001_initial.py +++ b/taiga/feedback/migrations/0001_initial.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/feedback/migrations/__init__.py b/taiga/feedback/migrations/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/feedback/migrations/__init__.py +++ b/taiga/feedback/migrations/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/feedback/models.py b/taiga/feedback/models.py index feac704a..d947968d 100644 --- a/taiga/feedback/models.py +++ b/taiga/feedback/models.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.db import models from django.utils.translation import ugettext_lazy as _ diff --git a/taiga/feedback/permissions.py b/taiga/feedback/permissions.py index 6faa0688..ef323202 100644 --- a/taiga/feedback/permissions.py +++ b/taiga/feedback/permissions.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api.permissions import TaigaResourcePermission from taiga.base.api.permissions import IsAuthenticated diff --git a/taiga/feedback/routers.py b/taiga/feedback/routers.py index e004c59b..d70de861 100644 --- a/taiga/feedback/routers.py +++ b/taiga/feedback/routers.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base import routers from . import api diff --git a/taiga/feedback/services.py b/taiga/feedback/services.py index 561adbdf..67d0140a 100644 --- a/taiga/feedback/services.py +++ b/taiga/feedback/services.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.conf import settings from taiga.base.mails import mail_builder diff --git a/taiga/feedback/templates/emails/feedback_notification-body-html.jinja b/taiga/feedback/templates/emails/feedback_notification-body-html.jinja index ed37c571..08add2c8 100644 --- a/taiga/feedback/templates/emails/feedback_notification-body-html.jinja +++ b/taiga/feedback/templates/emails/feedback_notification-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/base-body-html.jinja" %} {% block body %} diff --git a/taiga/feedback/templates/emails/feedback_notification-body-text.jinja b/taiga/feedback/templates/emails/feedback_notification-body-text.jinja index 59adf71b..91bcc10a 100644 --- a/taiga/feedback/templates/emails/feedback_notification-body-text.jinja +++ b/taiga/feedback/templates/emails/feedback_notification-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans signature=sr("signature"), full_name=feedback_entry.full_name, email=feedback_entry.email, comment=feedback_entry.comment %}--------- - From: {{ full_name }} <{{ email }}> --------- diff --git a/taiga/feedback/templates/emails/feedback_notification-subject.jinja b/taiga/feedback/templates/emails/feedback_notification-subject.jinja index 6cc87701..12dee8d7 100644 --- a/taiga/feedback/templates/emails/feedback_notification-subject.jinja +++ b/taiga/feedback/templates/emails/feedback_notification-subject.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans full_name=feedback_entry.full_name|safe, email=feedback_entry.email|safe %} [Taiga] Feedback from {{ full_name }} <{{ email }}> {% endtrans %} diff --git a/taiga/feedback/validators.py b/taiga/feedback/validators.py index 32ef7f8e..784d8f9c 100644 --- a/taiga/feedback/validators.py +++ b/taiga/feedback/validators.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api import validators from . import models diff --git a/taiga/front/__init__.py b/taiga/front/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/front/__init__.py +++ b/taiga/front/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/front/models.py b/taiga/front/models.py index e69de29b..b92267f0 100644 --- a/taiga/front/models.py +++ b/taiga/front/models.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/front/sitemaps/__init__.py b/taiga/front/sitemaps/__init__.py index c65afe22..e2379f49 100644 --- a/taiga/front/sitemaps/__init__.py +++ b/taiga/front/sitemaps/__init__.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from collections import OrderedDict from .generics import GenericSitemap diff --git a/taiga/front/sitemaps/base.py b/taiga/front/sitemaps/base.py index 80eac859..5783131e 100644 --- a/taiga/front/sitemaps/base.py +++ b/taiga/front/sitemaps/base.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.conf import settings from django.contrib.sitemaps import Sitemap as DjangoSitemap diff --git a/taiga/front/sitemaps/epics.py b/taiga/front/sitemaps/epics.py index ac996d13..613f3a62 100644 --- a/taiga/front/sitemaps/epics.py +++ b/taiga/front/sitemaps/epics.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.db.models import Q from django.apps import apps from datetime import timedelta diff --git a/taiga/front/sitemaps/generics.py b/taiga/front/sitemaps/generics.py index 6d79ab68..c2ef0c73 100644 --- a/taiga/front/sitemaps/generics.py +++ b/taiga/front/sitemaps/generics.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.db.models import Q from django.apps import apps diff --git a/taiga/front/sitemaps/issues.py b/taiga/front/sitemaps/issues.py index 9c733226..fbedfd0d 100644 --- a/taiga/front/sitemaps/issues.py +++ b/taiga/front/sitemaps/issues.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.db.models import Q from django.apps import apps from datetime import timedelta diff --git a/taiga/front/sitemaps/milestones.py b/taiga/front/sitemaps/milestones.py index 67958fb5..e94269c6 100644 --- a/taiga/front/sitemaps/milestones.py +++ b/taiga/front/sitemaps/milestones.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.db.models import Q from django.apps import apps from datetime import timedelta diff --git a/taiga/front/sitemaps/projects.py b/taiga/front/sitemaps/projects.py index 3e603669..b93cbdd1 100644 --- a/taiga/front/sitemaps/projects.py +++ b/taiga/front/sitemaps/projects.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.db.models import Q from django.apps import apps diff --git a/taiga/front/sitemaps/tasks.py b/taiga/front/sitemaps/tasks.py index c1f98dc3..f2da5a2e 100644 --- a/taiga/front/sitemaps/tasks.py +++ b/taiga/front/sitemaps/tasks.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.db.models import Q from django.apps import apps from datetime import timedelta diff --git a/taiga/front/sitemaps/users.py b/taiga/front/sitemaps/users.py index eb76171b..0bbc8e05 100644 --- a/taiga/front/sitemaps/users.py +++ b/taiga/front/sitemaps/users.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.apps import apps from django.contrib.auth import get_user_model diff --git a/taiga/front/sitemaps/userstories.py b/taiga/front/sitemaps/userstories.py index 7c5fc9fb..1cfae344 100644 --- a/taiga/front/sitemaps/userstories.py +++ b/taiga/front/sitemaps/userstories.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.db.models import Q from django.apps import apps from datetime import timedelta diff --git a/taiga/front/sitemaps/wiki.py b/taiga/front/sitemaps/wiki.py index 61874d51..0e41a4c4 100644 --- a/taiga/front/sitemaps/wiki.py +++ b/taiga/front/sitemaps/wiki.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.db.models import Q from django.apps import apps from datetime import timedelta diff --git a/taiga/front/templatetags/__init__.py b/taiga/front/templatetags/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/front/templatetags/__init__.py +++ b/taiga/front/templatetags/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/front/templatetags/functions.py b/taiga/front/templatetags/functions.py index 7a8c0d6b..708b213b 100644 --- a/taiga/front/templatetags/functions.py +++ b/taiga/front/templatetags/functions.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import datetime as dt from django_jinja import library diff --git a/taiga/front/urls.py b/taiga/front/urls.py index c8110de4..74960962 100644 --- a/taiga/front/urls.py +++ b/taiga/front/urls.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + urls = { "home": "/", "discover": "/discover", diff --git a/taiga/hooks/__init__.py b/taiga/hooks/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/hooks/__init__.py +++ b/taiga/hooks/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/hooks/api.py b/taiga/hooks/api.py index 39653bf0..5a5aa951 100644 --- a/taiga/hooks/api.py +++ b/taiga/hooks/api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.utils.translation import ugettext as _ from taiga.base import exceptions as exc diff --git a/taiga/hooks/bitbucket/__init__.py b/taiga/hooks/bitbucket/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/hooks/bitbucket/__init__.py +++ b/taiga/hooks/bitbucket/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/hooks/bitbucket/api.py b/taiga/hooks/bitbucket/api.py index d7996dda..3e1623cd 100644 --- a/taiga/hooks/bitbucket/api.py +++ b/taiga/hooks/bitbucket/api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.utils.translation import ugettext_lazy as _ from django.conf import settings diff --git a/taiga/hooks/bitbucket/event_hooks.py b/taiga/hooks/bitbucket/event_hooks.py index 44853f38..bb3a07f3 100644 --- a/taiga/hooks/bitbucket/event_hooks.py +++ b/taiga/hooks/bitbucket/event_hooks.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import re from taiga.hooks.event_hooks import (BaseIssueEventHook, BaseIssueCommentEventHook, BasePushEventHook, diff --git a/taiga/hooks/bitbucket/migrations/0001_initial.py b/taiga/hooks/bitbucket/migrations/0001_initial.py index 8173fc61..63114022 100644 --- a/taiga/hooks/bitbucket/migrations/0001_initial.py +++ b/taiga/hooks/bitbucket/migrations/0001_initial.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import migrations diff --git a/taiga/hooks/bitbucket/migrations/__init__.py b/taiga/hooks/bitbucket/migrations/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/hooks/bitbucket/migrations/__init__.py +++ b/taiga/hooks/bitbucket/migrations/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/hooks/bitbucket/models.py b/taiga/hooks/bitbucket/models.py index ffdcf2b0..d4e38063 100644 --- a/taiga/hooks/bitbucket/models.py +++ b/taiga/hooks/bitbucket/models.py @@ -1,2 +1,8 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # This file is needed to load migrations diff --git a/taiga/hooks/bitbucket/services.py b/taiga/hooks/bitbucket/services.py index 408b3d17..e511de82 100644 --- a/taiga/hooks/bitbucket/services.py +++ b/taiga/hooks/bitbucket/services.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import uuid from django.contrib.auth import get_user_model diff --git a/taiga/hooks/event_hooks.py b/taiga/hooks/event_hooks.py index 256b12b0..fe46dba4 100644 --- a/taiga/hooks/event_hooks.py +++ b/taiga/hooks/event_hooks.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import re from django.utils.translation import ugettext as _ diff --git a/taiga/hooks/exceptions.py b/taiga/hooks/exceptions.py index dddb4a9f..485f7650 100644 --- a/taiga/hooks/exceptions.py +++ b/taiga/hooks/exceptions.py @@ -1,3 +1,9 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + class ActionSyntaxException(Exception): pass diff --git a/taiga/hooks/github/__init__.py b/taiga/hooks/github/__init__.py index 4a2857d1..94bac235 100644 --- a/taiga/hooks/github/__init__.py +++ b/taiga/hooks/github/__init__.py @@ -1,3 +1,9 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + default_app_config = "taiga.hooks.github.apps.GithubHooksAppConfig" diff --git a/taiga/hooks/github/api.py b/taiga/hooks/github/api.py index 4288d9e2..31d72bb7 100644 --- a/taiga/hooks/github/api.py +++ b/taiga/hooks/github/api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.hooks.api import BaseWebhookApiViewSet from . import event_hooks diff --git a/taiga/hooks/github/apps.py b/taiga/hooks/github/apps.py index 8adeec6e..60248925 100644 --- a/taiga/hooks/github/apps.py +++ b/taiga/hooks/github/apps.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.apps import AppConfig from django.apps import apps diff --git a/taiga/hooks/github/event_hooks.py b/taiga/hooks/github/event_hooks.py index de9417a6..ece13485 100644 --- a/taiga/hooks/github/event_hooks.py +++ b/taiga/hooks/github/event_hooks.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import re from taiga.hooks.event_hooks import (BaseIssueEventHook, BaseIssueCommentEventHook, BasePushEventHook, diff --git a/taiga/hooks/github/migrations/0001_initial.py b/taiga/hooks/github/migrations/0001_initial.py index 6f0d1501..22316823 100644 --- a/taiga/hooks/github/migrations/0001_initial.py +++ b/taiga/hooks/github/migrations/0001_initial.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import migrations diff --git a/taiga/hooks/github/migrations/__init__.py b/taiga/hooks/github/migrations/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/hooks/github/migrations/__init__.py +++ b/taiga/hooks/github/migrations/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/hooks/github/models.py b/taiga/hooks/github/models.py index ffdcf2b0..d4e38063 100644 --- a/taiga/hooks/github/models.py +++ b/taiga/hooks/github/models.py @@ -1,2 +1,8 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # This file is needed to load migrations diff --git a/taiga/hooks/github/services.py b/taiga/hooks/github/services.py index 37a5b142..984e83af 100644 --- a/taiga/hooks/github/services.py +++ b/taiga/hooks/github/services.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import uuid from django.urls import reverse diff --git a/taiga/hooks/github/signals.py b/taiga/hooks/github/signals.py index 181a7cbb..7c9771f8 100644 --- a/taiga/hooks/github/signals.py +++ b/taiga/hooks/github/signals.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + def handle_move_on_destroy_issue_status(sender, deleted, moved, **kwargs): if not hasattr(deleted.project, "modules_config"): return diff --git a/taiga/hooks/gitlab/__init__.py b/taiga/hooks/gitlab/__init__.py index dd722a08..c0daf6b8 100644 --- a/taiga/hooks/gitlab/__init__.py +++ b/taiga/hooks/gitlab/__init__.py @@ -1,3 +1,9 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + default_app_config = "taiga.hooks.gitlab.apps.GitLabHooksAppConfig" diff --git a/taiga/hooks/gitlab/api.py b/taiga/hooks/gitlab/api.py index da914d8e..3fed16dd 100644 --- a/taiga/hooks/gitlab/api.py +++ b/taiga/hooks/gitlab/api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.conf import settings from ipware.ip import get_ip diff --git a/taiga/hooks/gitlab/apps.py b/taiga/hooks/gitlab/apps.py index 4791b0a3..ff6965cf 100644 --- a/taiga/hooks/gitlab/apps.py +++ b/taiga/hooks/gitlab/apps.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.apps import AppConfig from django.apps import apps diff --git a/taiga/hooks/gitlab/event_hooks.py b/taiga/hooks/gitlab/event_hooks.py index 88f85529..ea268a23 100644 --- a/taiga/hooks/gitlab/event_hooks.py +++ b/taiga/hooks/gitlab/event_hooks.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import re import os diff --git a/taiga/hooks/gitlab/migrations/0001_initial.py b/taiga/hooks/gitlab/migrations/0001_initial.py index 1ff28a37..ed037236 100644 --- a/taiga/hooks/gitlab/migrations/0001_initial.py +++ b/taiga/hooks/gitlab/migrations/0001_initial.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import migrations diff --git a/taiga/hooks/gitlab/migrations/0002_auto_20150703_1102.py b/taiga/hooks/gitlab/migrations/0002_auto_20150703_1102.py index 99322e75..8c094d25 100644 --- a/taiga/hooks/gitlab/migrations/0002_auto_20150703_1102.py +++ b/taiga/hooks/gitlab/migrations/0002_auto_20150703_1102.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/hooks/gitlab/migrations/__init__.py b/taiga/hooks/gitlab/migrations/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/hooks/gitlab/migrations/__init__.py +++ b/taiga/hooks/gitlab/migrations/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/hooks/gitlab/models.py b/taiga/hooks/gitlab/models.py index ffdcf2b0..d4e38063 100644 --- a/taiga/hooks/gitlab/models.py +++ b/taiga/hooks/gitlab/models.py @@ -1,2 +1,8 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # This file is needed to load migrations diff --git a/taiga/hooks/gitlab/services.py b/taiga/hooks/gitlab/services.py index 6411b5e6..104d549e 100644 --- a/taiga/hooks/gitlab/services.py +++ b/taiga/hooks/gitlab/services.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import uuid from django.urls import reverse diff --git a/taiga/hooks/gitlab/signals.py b/taiga/hooks/gitlab/signals.py index b6dbf71f..c42211cc 100644 --- a/taiga/hooks/gitlab/signals.py +++ b/taiga/hooks/gitlab/signals.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + def handle_move_on_destroy_issue_status(sender, deleted, moved, **kwargs): if not hasattr(deleted.project, "modules_config"): return diff --git a/taiga/hooks/gogs/__init__.py b/taiga/hooks/gogs/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/hooks/gogs/__init__.py +++ b/taiga/hooks/gogs/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/hooks/gogs/api.py b/taiga/hooks/gogs/api.py index fbf0f7d4..5d24882e 100644 --- a/taiga/hooks/gogs/api.py +++ b/taiga/hooks/gogs/api.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.hooks.api import BaseWebhookApiViewSet from . import event_hooks diff --git a/taiga/hooks/gogs/event_hooks.py b/taiga/hooks/gogs/event_hooks.py index 63aeafeb..4420a482 100644 --- a/taiga/hooks/gogs/event_hooks.py +++ b/taiga/hooks/gogs/event_hooks.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import re import os.path diff --git a/taiga/hooks/gogs/migrations/0001_initial.py b/taiga/hooks/gogs/migrations/0001_initial.py index 4bf11884..2bcabea1 100644 --- a/taiga/hooks/gogs/migrations/0001_initial.py +++ b/taiga/hooks/gogs/migrations/0001_initial.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/hooks/gogs/migrations/__init__.py b/taiga/hooks/gogs/migrations/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/hooks/gogs/migrations/__init__.py +++ b/taiga/hooks/gogs/migrations/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/hooks/gogs/models.py b/taiga/hooks/gogs/models.py index ffdcf2b0..d4e38063 100644 --- a/taiga/hooks/gogs/models.py +++ b/taiga/hooks/gogs/models.py @@ -1,2 +1,8 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # This file is needed to load migrations diff --git a/taiga/hooks/gogs/services.py b/taiga/hooks/gogs/services.py index 97910edf..7d7c64d3 100644 --- a/taiga/hooks/gogs/services.py +++ b/taiga/hooks/gogs/services.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import uuid from django.urls import reverse diff --git a/taiga/importers/__init__.py b/taiga/importers/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/importers/__init__.py +++ b/taiga/importers/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/importers/api.py b/taiga/importers/api.py index 20945a98..12b3f3c2 100644 --- a/taiga/importers/api.py +++ b/taiga/importers/api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api import viewsets from taiga.base.decorators import list_route diff --git a/taiga/importers/asana/api.py b/taiga/importers/asana/api.py index 08ce678b..95560e48 100644 --- a/taiga/importers/asana/api.py +++ b/taiga/importers/asana/api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.utils.translation import ugettext as _ from django.conf import settings diff --git a/taiga/importers/asana/importer.py b/taiga/importers/asana/importer.py index 7279cf99..7df24071 100644 --- a/taiga/importers/asana/importer.py +++ b/taiga/importers/asana/importer.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import requests import asana from django.core.files.base import ContentFile diff --git a/taiga/importers/asana/tasks.py b/taiga/importers/asana/tasks.py index ebad2e54..988500be 100644 --- a/taiga/importers/asana/tasks.py +++ b/taiga/importers/asana/tasks.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import logging import sys diff --git a/taiga/importers/exceptions.py b/taiga/importers/exceptions.py index a2dd4271..a1414186 100644 --- a/taiga/importers/exceptions.py +++ b/taiga/importers/exceptions.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + class InvalidRequest(Exception): pass diff --git a/taiga/importers/github/api.py b/taiga/importers/github/api.py index 17162ee7..6a2ea716 100644 --- a/taiga/importers/github/api.py +++ b/taiga/importers/github/api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.utils.translation import ugettext as _ from django.conf import settings diff --git a/taiga/importers/github/importer.py b/taiga/importers/github/importer.py index 3016390c..a6bdc19d 100644 --- a/taiga/importers/github/importer.py +++ b/taiga/importers/github/importer.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import datetime import requests from urllib.parse import parse_qsl diff --git a/taiga/importers/github/tasks.py b/taiga/importers/github/tasks.py index 21d3caa2..a26ae071 100644 --- a/taiga/importers/github/tasks.py +++ b/taiga/importers/github/tasks.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import logging import sys diff --git a/taiga/importers/jira/agile.py b/taiga/importers/jira/agile.py index 80500580..7352b662 100644 --- a/taiga/importers/jira/agile.py +++ b/taiga/importers/jira/agile.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import datetime from collections import OrderedDict diff --git a/taiga/importers/jira/api.py b/taiga/importers/jira/api.py index bd406930..1a5147dc 100644 --- a/taiga/importers/jira/api.py +++ b/taiga/importers/jira/api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import uuid from django.utils.translation import ugettext as _ diff --git a/taiga/importers/jira/common.py b/taiga/importers/jira/common.py index 0f2b06ec..b8d3ad49 100644 --- a/taiga/importers/jira/common.py +++ b/taiga/importers/jira/common.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import requests from urllib.parse import parse_qsl, quote_plus from oauthlib.oauth1 import SIGNATURE_RSA diff --git a/taiga/importers/jira/normal.py b/taiga/importers/jira/normal.py index 6d03170e..2ffc9347 100644 --- a/taiga/importers/jira/normal.py +++ b/taiga/importers/jira/normal.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from collections import OrderedDict from django.template.defaultfilters import slugify diff --git a/taiga/importers/jira/tasks.py b/taiga/importers/jira/tasks.py index 29ffd1e3..dfa4cdd4 100644 --- a/taiga/importers/jira/tasks.py +++ b/taiga/importers/jira/tasks.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import logging import sys diff --git a/taiga/importers/management/__init__.py b/taiga/importers/management/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/importers/management/__init__.py +++ b/taiga/importers/management/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/importers/management/commands/__init__.py b/taiga/importers/management/commands/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/importers/management/commands/__init__.py +++ b/taiga/importers/management/commands/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/importers/management/commands/import_from_asana.py b/taiga/importers/management/commands/import_from_asana.py index 58d23e27..1a201a56 100644 --- a/taiga/importers/management/commands/import_from_asana.py +++ b/taiga/importers/management/commands/import_from_asana.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.core.management.base import BaseCommand from django.conf import settings from django.db.models import Q diff --git a/taiga/importers/management/commands/import_from_github.py b/taiga/importers/management/commands/import_from_github.py index af184b34..1f3c5f0f 100644 --- a/taiga/importers/management/commands/import_from_github.py +++ b/taiga/importers/management/commands/import_from_github.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.core.management.base import BaseCommand from django.conf import settings from django.db.models import Q diff --git a/taiga/importers/management/commands/import_from_jira.py b/taiga/importers/management/commands/import_from_jira.py index 776c8329..1404c278 100644 --- a/taiga/importers/management/commands/import_from_jira.py +++ b/taiga/importers/management/commands/import_from_jira.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.core.management.base import BaseCommand from django.db.models import Q from django.conf import settings diff --git a/taiga/importers/management/commands/import_from_pivotal.py b/taiga/importers/management/commands/import_from_pivotal.py index a66c728d..ae21c4f5 100644 --- a/taiga/importers/management/commands/import_from_pivotal.py +++ b/taiga/importers/management/commands/import_from_pivotal.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.core.management.base import BaseCommand from django.db.models import Q diff --git a/taiga/importers/management/commands/import_from_trello.py b/taiga/importers/management/commands/import_from_trello.py index 024f17a8..0f41183f 100644 --- a/taiga/importers/management/commands/import_from_trello.py +++ b/taiga/importers/management/commands/import_from_trello.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.core.management.base import BaseCommand from django.db.models import Q diff --git a/taiga/importers/permissions.py b/taiga/importers/permissions.py index af62b617..7953bc7e 100644 --- a/taiga/importers/permissions.py +++ b/taiga/importers/permissions.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api.permissions import TaigaResourcePermission, IsAuthenticated diff --git a/taiga/importers/pivotal/api.py b/taiga/importers/pivotal/api.py index 81e51d80..8bcaf05f 100644 --- a/taiga/importers/pivotal/api.py +++ b/taiga/importers/pivotal/api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.utils.translation import ugettext as _ from django.conf import settings diff --git a/taiga/importers/pivotal/importer.py b/taiga/importers/pivotal/importer.py index 007c70f6..06a61036 100644 --- a/taiga/importers/pivotal/importer.py +++ b/taiga/importers/pivotal/importer.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.core.files.base import ContentFile from django.contrib.contenttypes.models import ContentType import requests diff --git a/taiga/importers/pivotal/tasks.py b/taiga/importers/pivotal/tasks.py index ba1eecbe..2859ccbc 100644 --- a/taiga/importers/pivotal/tasks.py +++ b/taiga/importers/pivotal/tasks.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import logging import sys diff --git a/taiga/importers/services.py b/taiga/importers/services.py index 7f59918e..1026b74f 100644 --- a/taiga/importers/services.py +++ b/taiga/importers/services.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.users.models import User from taiga.projects.models import Membership diff --git a/taiga/importers/templates/emails/asana_import_success-body-html.jinja b/taiga/importers/templates/emails/asana_import_success-body-html.jinja index e340e394..9fe1d2d2 100644 --- a/taiga/importers/templates/emails/asana_import_success-body-html.jinja +++ b/taiga/importers/templates/emails/asana_import_success-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/base-body-html.jinja" %} {% block body %} diff --git a/taiga/importers/templates/emails/asana_import_success-body-text.jinja b/taiga/importers/templates/emails/asana_import_success-body-text.jinja index 46ab89b9..de1b3069 100644 --- a/taiga/importers/templates/emails/asana_import_success-body-text.jinja +++ b/taiga/importers/templates/emails/asana_import_success-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans signature=sr("signature"), user=user.get_full_name(), url=resolve_front_url("project", project.slug), project=project.name %} Hello {{ user }}, diff --git a/taiga/importers/templates/emails/asana_import_success-subject.jinja b/taiga/importers/templates/emails/asana_import_success-subject.jinja index 57f7766a..d6510029 100644 --- a/taiga/importers/templates/emails/asana_import_success-subject.jinja +++ b/taiga/importers/templates/emails/asana_import_success-subject.jinja @@ -1 +1,9 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans project=project.name|safe %}[{{ project }}] Your Asana project has been imported{% endtrans %} diff --git a/taiga/importers/templates/emails/github_import_success-body-html.jinja b/taiga/importers/templates/emails/github_import_success-body-html.jinja index f200ae38..668d1fc9 100644 --- a/taiga/importers/templates/emails/github_import_success-body-html.jinja +++ b/taiga/importers/templates/emails/github_import_success-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/base-body-html.jinja" %} {% block body %} diff --git a/taiga/importers/templates/emails/github_import_success-body-text.jinja b/taiga/importers/templates/emails/github_import_success-body-text.jinja index 988774f9..1bd0abab 100644 --- a/taiga/importers/templates/emails/github_import_success-body-text.jinja +++ b/taiga/importers/templates/emails/github_import_success-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans signature=sr("signature"), user=user.get_full_name(), url=resolve_front_url("project", project.slug), project=project.name %} Hello {{ user }}, diff --git a/taiga/importers/templates/emails/github_import_success-subject.jinja b/taiga/importers/templates/emails/github_import_success-subject.jinja index dbc2d890..fb80cdca 100644 --- a/taiga/importers/templates/emails/github_import_success-subject.jinja +++ b/taiga/importers/templates/emails/github_import_success-subject.jinja @@ -1 +1,9 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans project=project.name|safe %}[{{ project }}] Your GitHub project has been imported{% endtrans %} diff --git a/taiga/importers/templates/emails/importer_import_error-body-html.jinja b/taiga/importers/templates/emails/importer_import_error-body-html.jinja index 463ae2f8..4aa98b42 100644 --- a/taiga/importers/templates/emails/importer_import_error-body-html.jinja +++ b/taiga/importers/templates/emails/importer_import_error-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/base-body-html.jinja" %} {% block body %} diff --git a/taiga/importers/templates/emails/importer_import_error-body-text.jinja b/taiga/importers/templates/emails/importer_import_error-body-text.jinja index 7800e973..0fa2cddc 100644 --- a/taiga/importers/templates/emails/importer_import_error-body-text.jinja +++ b/taiga/importers/templates/emails/importer_import_error-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans signature=sr("signature"), user=user.get_full_name(), error_message=error_message, support_email=sr("support.email"), product_name=sr("product_name") %} Hello {{ user }}, diff --git a/taiga/importers/templates/emails/importer_import_error-subject.jinja b/taiga/importers/templates/emails/importer_import_error-subject.jinja index 329983d4..167e40e8 100644 --- a/taiga/importers/templates/emails/importer_import_error-subject.jinja +++ b/taiga/importers/templates/emails/importer_import_error-subject.jinja @@ -1 +1,9 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans error_subject=error_subject|safe %}[Taiga] {{ error_subject }}{% endtrans %} diff --git a/taiga/importers/templates/emails/jira_import_success-body-html.jinja b/taiga/importers/templates/emails/jira_import_success-body-html.jinja index 7ba363a2..7197c910 100644 --- a/taiga/importers/templates/emails/jira_import_success-body-html.jinja +++ b/taiga/importers/templates/emails/jira_import_success-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/base-body-html.jinja" %} {% block body %} diff --git a/taiga/importers/templates/emails/jira_import_success-body-text.jinja b/taiga/importers/templates/emails/jira_import_success-body-text.jinja index ed2a1451..15234fbf 100644 --- a/taiga/importers/templates/emails/jira_import_success-body-text.jinja +++ b/taiga/importers/templates/emails/jira_import_success-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans signature=sr("signature"), user=user.get_full_name(), url=resolve_front_url("project", project.slug), project=project.name %} Hello {{ user }}, diff --git a/taiga/importers/templates/emails/jira_import_success-subject.jinja b/taiga/importers/templates/emails/jira_import_success-subject.jinja index 406abc00..d4c495ba 100644 --- a/taiga/importers/templates/emails/jira_import_success-subject.jinja +++ b/taiga/importers/templates/emails/jira_import_success-subject.jinja @@ -1 +1,9 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans project=project.name|safe %}[{{ project }}] Your Jira project has been imported{% endtrans %} diff --git a/taiga/importers/templates/emails/trello_import_success-body-html.jinja b/taiga/importers/templates/emails/trello_import_success-body-html.jinja index 1288abac..a6491de8 100644 --- a/taiga/importers/templates/emails/trello_import_success-body-html.jinja +++ b/taiga/importers/templates/emails/trello_import_success-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/base-body-html.jinja" %} {% block body %} diff --git a/taiga/importers/templates/emails/trello_import_success-body-text.jinja b/taiga/importers/templates/emails/trello_import_success-body-text.jinja index 3ad33fbf..e1384bd5 100644 --- a/taiga/importers/templates/emails/trello_import_success-body-text.jinja +++ b/taiga/importers/templates/emails/trello_import_success-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans signature=sr("signature"), user=user.get_full_name(), url=resolve_front_url("project", project.slug), project=project.name %} Hello {{ user }}, diff --git a/taiga/importers/templates/emails/trello_import_success-subject.jinja b/taiga/importers/templates/emails/trello_import_success-subject.jinja index 2e86948c..55993130 100644 --- a/taiga/importers/templates/emails/trello_import_success-subject.jinja +++ b/taiga/importers/templates/emails/trello_import_success-subject.jinja @@ -1 +1,9 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans project=project.name|safe %}[{{ project }}] Your Trello project has been imported{% endtrans %} diff --git a/taiga/importers/trello/api.py b/taiga/importers/trello/api.py index 5260c00a..9b35f465 100644 --- a/taiga/importers/trello/api.py +++ b/taiga/importers/trello/api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import uuid from django.utils.translation import ugettext as _ diff --git a/taiga/importers/trello/importer.py b/taiga/importers/trello/importer.py index 80e4da2a..498e93fb 100644 --- a/taiga/importers/trello/importer.py +++ b/taiga/importers/trello/importer.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.utils.translation import ugettext as _ from requests_oauthlib import OAuth1Session, OAuth1 diff --git a/taiga/importers/trello/tasks.py b/taiga/importers/trello/tasks.py index 89c28a15..8d240c21 100644 --- a/taiga/importers/trello/tasks.py +++ b/taiga/importers/trello/tasks.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import logging import sys diff --git a/taiga/locale/__init__.py b/taiga/locale/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/locale/__init__.py +++ b/taiga/locale/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/locale/api.py b/taiga/locale/api.py index 4761ca62..e4db97e2 100644 --- a/taiga/locale/api.py +++ b/taiga/locale/api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.conf import settings from taiga.base import response diff --git a/taiga/locale/permissions.py b/taiga/locale/permissions.py index 678cf51f..2537b5eb 100644 --- a/taiga/locale/permissions.py +++ b/taiga/locale/permissions.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api.permissions import TaigaResourcePermission, AllowAny diff --git a/taiga/mdrender/__init__.py b/taiga/mdrender/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/mdrender/__init__.py +++ b/taiga/mdrender/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/mdrender/extensions/__init__.py b/taiga/mdrender/extensions/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/mdrender/extensions/__init__.py +++ b/taiga/mdrender/extensions/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/mdrender/extensions/autolink.py b/taiga/mdrender/extensions/autolink.py index 1b662a27..f15647d8 100644 --- a/taiga/mdrender/extensions/autolink.py +++ b/taiga/mdrender/extensions/autolink.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file # for details. All rights reserved. Use of this source code is governed by a # BSD-style license that can be found in the LICENSE file. diff --git a/taiga/mdrender/extensions/automail.py b/taiga/mdrender/extensions/automail.py index 8319a8d5..4c9f9236 100644 --- a/taiga/mdrender/extensions/automail.py +++ b/taiga/mdrender/extensions/automail.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file # for details. All rights reserved. Use of this source code is governed by a # BSD-style license that can be found in the LICENSE file. diff --git a/taiga/mdrender/extensions/emojify.py b/taiga/mdrender/extensions/emojify.py index 57fd46a9..2a3fb30b 100644 --- a/taiga/mdrender/extensions/emojify.py +++ b/taiga/mdrender/extensions/emojify.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Tested on Markdown 2.3.1 # diff --git a/taiga/mdrender/extensions/mentions.py b/taiga/mdrender/extensions/mentions.py index ec2243be..48754711 100644 --- a/taiga/mdrender/extensions/mentions.py +++ b/taiga/mdrender/extensions/mentions.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Tested on Markdown 2.3.1 # diff --git a/taiga/mdrender/extensions/references.py b/taiga/mdrender/extensions/references.py index 0457bbe2..71c5e5e0 100644 --- a/taiga/mdrender/extensions/references.py +++ b/taiga/mdrender/extensions/references.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Tested on Markdown 2.3.1 # diff --git a/taiga/mdrender/extensions/refresh_attachment.py b/taiga/mdrender/extensions/refresh_attachment.py index f3f78896..fc5216f2 100644 --- a/taiga/mdrender/extensions/refresh_attachment.py +++ b/taiga/mdrender/extensions/refresh_attachment.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # import markdown from markdown.treeprocessors import Treeprocessor diff --git a/taiga/mdrender/extensions/semi_sane_lists.py b/taiga/mdrender/extensions/semi_sane_lists.py index ae9a9c5a..5c224651 100644 --- a/taiga/mdrender/extensions/semi_sane_lists.py +++ b/taiga/mdrender/extensions/semi_sane_lists.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file # for details. All rights reserved. Use of this source code is governed by a # BSD-style license that can be found in the LICENSE file. diff --git a/taiga/mdrender/extensions/spaced_link.py b/taiga/mdrender/extensions/spaced_link.py index d476f0d2..9720edb2 100644 --- a/taiga/mdrender/extensions/spaced_link.py +++ b/taiga/mdrender/extensions/spaced_link.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file # for details. All rights reserved. Use of this source code is governed by a # BSD-style license that can be found in the LICENSE file. diff --git a/taiga/mdrender/extensions/strikethrough.py b/taiga/mdrender/extensions/strikethrough.py index 3ee8467e..c32ed20f 100644 --- a/taiga/mdrender/extensions/strikethrough.py +++ b/taiga/mdrender/extensions/strikethrough.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file # for details. All rights reserved. Use of this source code is governed by a # BSD-style license that can be found in the LICENSE file. diff --git a/taiga/mdrender/extensions/target_link.py b/taiga/mdrender/extensions/target_link.py index 27c07525..8d0a33f6 100644 --- a/taiga/mdrender/extensions/target_link.py +++ b/taiga/mdrender/extensions/target_link.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import re import markdown diff --git a/taiga/mdrender/extensions/wikilinks.py b/taiga/mdrender/extensions/wikilinks.py index 30d7c7ab..baacab88 100644 --- a/taiga/mdrender/extensions/wikilinks.py +++ b/taiga/mdrender/extensions/wikilinks.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from markdown import Extension from markdown.inlinepatterns import Pattern from markdown.treeprocessors import Treeprocessor diff --git a/taiga/mdrender/service.py b/taiga/mdrender/service.py index 5de9db88..c0ef950e 100644 --- a/taiga/mdrender/service.py +++ b/taiga/mdrender/service.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.conf import settings import hashlib diff --git a/taiga/mdrender/templatetags/__init__.py b/taiga/mdrender/templatetags/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/mdrender/templatetags/__init__.py +++ b/taiga/mdrender/templatetags/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/mdrender/templatetags/functions.py b/taiga/mdrender/templatetags/functions.py index 80e95028..d5b7ba9d 100644 --- a/taiga/mdrender/templatetags/functions.py +++ b/taiga/mdrender/templatetags/functions.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django_jinja import library from jinja2 import Markup from taiga.mdrender.service import render diff --git a/taiga/permissions/__init__.py b/taiga/permissions/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/permissions/__init__.py +++ b/taiga/permissions/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/permissions/choices.py b/taiga/permissions/choices.py index 32bfdd27..ce18dee2 100644 --- a/taiga/permissions/choices.py +++ b/taiga/permissions/choices.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.utils.translation import ugettext_lazy as _ ANON_PERMISSIONS = [ diff --git a/taiga/permissions/models.py b/taiga/permissions/models.py index e69de29b..b92267f0 100644 --- a/taiga/permissions/models.py +++ b/taiga/permissions/models.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/permissions/permissions.py b/taiga/permissions/permissions.py index 6e578571..0313c6be 100644 --- a/taiga/permissions/permissions.py +++ b/taiga/permissions/permissions.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.apps import apps from taiga.base.api.permissions import PermissionComponent diff --git a/taiga/permissions/services.py b/taiga/permissions/services.py index f72daa90..c2e67447 100644 --- a/taiga/permissions/services.py +++ b/taiga/permissions/services.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from .choices import ADMINS_PERMISSIONS, MEMBERS_PERMISSIONS, ANON_PERMISSIONS from django.apps import apps diff --git a/taiga/projects/__init__.py b/taiga/projects/__init__.py index e787e802..4f1b7d15 100644 --- a/taiga/projects/__init__.py +++ b/taiga/projects/__init__.py @@ -1,2 +1,8 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + default_app_config = "taiga.projects.apps.ProjectsAppConfig" diff --git a/taiga/projects/admin.py b/taiga/projects/admin.py index 7afa2569..3f00ae13 100644 --- a/taiga/projects/admin.py +++ b/taiga/projects/admin.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.contrib import admin from django.urls import reverse from django.db import transaction diff --git a/taiga/projects/api.py b/taiga/projects/api.py index 77c8019c..90d4f16e 100644 --- a/taiga/projects/api.py +++ b/taiga/projects/api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import uuid from easy_thumbnails.source_generators import pil_image from dateutil.relativedelta import relativedelta diff --git a/taiga/projects/apps.py b/taiga/projects/apps.py index b4d6cda3..25ab159d 100644 --- a/taiga/projects/apps.py +++ b/taiga/projects/apps.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.apps import AppConfig from django.apps import apps from django.db.models import signals diff --git a/taiga/projects/attachments/__init__.py b/taiga/projects/attachments/__init__.py index 08215228..6fe35967 100644 --- a/taiga/projects/attachments/__init__.py +++ b/taiga/projects/attachments/__init__.py @@ -1,2 +1,8 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + default_app_config = "taiga.projects.attachments.apps.AttachmentsAppConfig" diff --git a/taiga/projects/attachments/admin.py b/taiga/projects/attachments/admin.py index e6e3a487..0bbb6734 100644 --- a/taiga/projects/attachments/admin.py +++ b/taiga/projects/attachments/admin.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.contrib import admin from django.contrib.contenttypes.admin import GenericTabularInline diff --git a/taiga/projects/attachments/api.py b/taiga/projects/attachments/api.py index 861170df..58f3242f 100644 --- a/taiga/projects/attachments/api.py +++ b/taiga/projects/attachments/api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import os.path as path import mimetypes mimetypes.init() diff --git a/taiga/projects/attachments/apps.py b/taiga/projects/attachments/apps.py index 5f1091b2..bc557b93 100644 --- a/taiga/projects/attachments/apps.py +++ b/taiga/projects/attachments/apps.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.apps import AppConfig from django.apps import apps diff --git a/taiga/projects/attachments/management/commands/__init__.py b/taiga/projects/attachments/management/commands/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/projects/attachments/management/commands/__init__.py +++ b/taiga/projects/attachments/management/commands/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/projects/attachments/management/commands/generate_sha1.py b/taiga/projects/attachments/management/commands/generate_sha1.py index 5337ece3..6bcdc4c0 100644 --- a/taiga/projects/attachments/management/commands/generate_sha1.py +++ b/taiga/projects/attachments/management/commands/generate_sha1.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.core.management.base import BaseCommand, CommandError from django.db import transaction diff --git a/taiga/projects/attachments/migrations/0001_initial.py b/taiga/projects/attachments/migrations/0001_initial.py index 9e1afb70..a719a7e0 100644 --- a/taiga/projects/attachments/migrations/0001_initial.py +++ b/taiga/projects/attachments/migrations/0001_initial.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/attachments/migrations/0002_add_size_and_name_fields.py b/taiga/projects/attachments/migrations/0002_add_size_and_name_fields.py index 48468e05..0d070001 100644 --- a/taiga/projects/attachments/migrations/0002_add_size_and_name_fields.py +++ b/taiga/projects/attachments/migrations/0002_add_size_and_name_fields.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals import os.path as path diff --git a/taiga/projects/attachments/migrations/0003_auto_20150114_0954.py b/taiga/projects/attachments/migrations/0003_auto_20150114_0954.py index 839757e0..0fa0653a 100644 --- a/taiga/projects/attachments/migrations/0003_auto_20150114_0954.py +++ b/taiga/projects/attachments/migrations/0003_auto_20150114_0954.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/attachments/migrations/0004_auto_20150508_1141.py b/taiga/projects/attachments/migrations/0004_auto_20150508_1141.py index 9838554d..8b6a3f59 100644 --- a/taiga/projects/attachments/migrations/0004_auto_20150508_1141.py +++ b/taiga/projects/attachments/migrations/0004_auto_20150508_1141.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/attachments/migrations/0005_attachment_sha1.py b/taiga/projects/attachments/migrations/0005_attachment_sha1.py index c67043e1..c5d1c346 100644 --- a/taiga/projects/attachments/migrations/0005_attachment_sha1.py +++ b/taiga/projects/attachments/migrations/0005_attachment_sha1.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/attachments/migrations/0006_auto_20160617_1233.py b/taiga/projects/attachments/migrations/0006_auto_20160617_1233.py index ee291a9f..7c50b2e4 100644 --- a/taiga/projects/attachments/migrations/0006_auto_20160617_1233.py +++ b/taiga/projects/attachments/migrations/0006_auto_20160617_1233.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-06-17 12:33 from __future__ import unicode_literals diff --git a/taiga/projects/attachments/migrations/0007_attachment_from_comment.py b/taiga/projects/attachments/migrations/0007_attachment_from_comment.py index 00482ec4..fe759f5c 100644 --- a/taiga/projects/attachments/migrations/0007_attachment_from_comment.py +++ b/taiga/projects/attachments/migrations/0007_attachment_from_comment.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.10.4 on 2017-01-17 07:45 from __future__ import unicode_literals diff --git a/taiga/projects/attachments/migrations/0008_auto_20170201_1053.py b/taiga/projects/attachments/migrations/0008_auto_20170201_1053.py index 72b91c3b..c152c68b 100644 --- a/taiga/projects/attachments/migrations/0008_auto_20170201_1053.py +++ b/taiga/projects/attachments/migrations/0008_auto_20170201_1053.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.10.4 on 2017-02-01 10:53 from __future__ import unicode_literals diff --git a/taiga/projects/attachments/migrations/__init__.py b/taiga/projects/attachments/migrations/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/projects/attachments/migrations/__init__.py +++ b/taiga/projects/attachments/migrations/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/projects/attachments/models.py b/taiga/projects/attachments/models.py index 24dbf3ca..2f3f28dd 100644 --- a/taiga/projects/attachments/models.py +++ b/taiga/projects/attachments/models.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import hashlib from django.db import models diff --git a/taiga/projects/attachments/permissions.py b/taiga/projects/attachments/permissions.py index 6a841bac..42cd4737 100644 --- a/taiga/projects/attachments/permissions.py +++ b/taiga/projects/attachments/permissions.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api.permissions import (TaigaResourcePermission, HasProjectPerm, AllowAny, PermissionComponent) diff --git a/taiga/projects/attachments/serializers.py b/taiga/projects/attachments/serializers.py index 50913c87..441d96d5 100644 --- a/taiga/projects/attachments/serializers.py +++ b/taiga/projects/attachments/serializers.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.conf import settings from taiga.base.api import serializers diff --git a/taiga/projects/attachments/services.py b/taiga/projects/attachments/services.py index 573f4728..02423535 100644 --- a/taiga/projects/attachments/services.py +++ b/taiga/projects/attachments/services.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from urllib.parse import parse_qs, urldefrag from django.apps import apps diff --git a/taiga/projects/attachments/utils.py b/taiga/projects/attachments/utils.py index f7363113..ba0d4921 100644 --- a/taiga/projects/attachments/utils.py +++ b/taiga/projects/attachments/utils.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.apps import apps diff --git a/taiga/projects/attachments/validators.py b/taiga/projects/attachments/validators.py index 76dfe2e5..6296f8de 100644 --- a/taiga/projects/attachments/validators.py +++ b/taiga/projects/attachments/validators.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api import serializers from taiga.base.api import validators diff --git a/taiga/projects/choices.py b/taiga/projects/choices.py index 1748cfdb..98203787 100644 --- a/taiga/projects/choices.py +++ b/taiga/projects/choices.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.utils.translation import ugettext_lazy as _ diff --git a/taiga/projects/contact/__init__.py b/taiga/projects/contact/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/projects/contact/__init__.py +++ b/taiga/projects/contact/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/projects/contact/admin.py b/taiga/projects/contact/admin.py index f5b8ab4f..ffddb0ba 100644 --- a/taiga/projects/contact/admin.py +++ b/taiga/projects/contact/admin.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.contrib import admin from . import models diff --git a/taiga/projects/contact/api.py b/taiga/projects/contact/api.py index 0b4018b8..9a1277ea 100644 --- a/taiga/projects/contact/api.py +++ b/taiga/projects/contact/api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base import status from taiga.base.api.mixins import CreateModelMixin, BlockedByProjectMixin from taiga.base.api.viewsets import GenericViewSet diff --git a/taiga/projects/contact/migrations/0001_initial.py b/taiga/projects/contact/migrations/0001_initial.py index f06eb96b..533092d2 100644 --- a/taiga/projects/contact/migrations/0001_initial.py +++ b/taiga/projects/contact/migrations/0001_initial.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-11-10 15:18 from __future__ import unicode_literals diff --git a/taiga/projects/contact/migrations/__init__.py b/taiga/projects/contact/migrations/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/projects/contact/migrations/__init__.py +++ b/taiga/projects/contact/migrations/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/projects/contact/models.py b/taiga/projects/contact/models.py index f6aec19d..46d4d6bf 100644 --- a/taiga/projects/contact/models.py +++ b/taiga/projects/contact/models.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.conf import settings from django.db import models from django.utils.translation import ugettext_lazy as _ diff --git a/taiga/projects/contact/permissions.py b/taiga/projects/contact/permissions.py index 758842c4..ca378324 100644 --- a/taiga/projects/contact/permissions.py +++ b/taiga/projects/contact/permissions.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api.permissions import PermissionComponent from taiga.base.api.permissions import TaigaResourcePermission diff --git a/taiga/projects/contact/services.py b/taiga/projects/contact/services.py index 14aed700..335949d1 100644 --- a/taiga/projects/contact/services.py +++ b/taiga/projects/contact/services.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.mails import mail_builder from taiga.celery import app from taiga.front.templatetags.functions import resolve as resolve_front_url diff --git a/taiga/projects/contact/templates/emails/contact_notification-body-html.jinja b/taiga/projects/contact/templates/emails/contact_notification-body-html.jinja index b0057bf9..974fcc8e 100644 --- a/taiga/projects/contact/templates/emails/contact_notification-body-html.jinja +++ b/taiga/projects/contact/templates/emails/contact_notification-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/base-body-html.jinja" %} {% block body %} diff --git a/taiga/projects/contact/templates/emails/contact_notification-body-text.jinja b/taiga/projects/contact/templates/emails/contact_notification-body-text.jinja index 6c81cd21..85f583ab 100644 --- a/taiga/projects/contact/templates/emails/contact_notification-body-text.jinja +++ b/taiga/projects/contact/templates/emails/contact_notification-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans full_name=full_name, comment=comment, project_name=project_name %} {{ full_name }} has written to {{ project_name }} {% endtrans %} diff --git a/taiga/projects/contact/templates/emails/contact_notification-subject.jinja b/taiga/projects/contact/templates/emails/contact_notification-subject.jinja index 481e442e..6f7eb106 100644 --- a/taiga/projects/contact/templates/emails/contact_notification-subject.jinja +++ b/taiga/projects/contact/templates/emails/contact_notification-subject.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans full_name=full_name|safe, project_name=project_name|safe %} [Taiga] {{ full_name }} has sent a message to the project {{ project_name }} {% endtrans %} diff --git a/taiga/projects/contact/validators.py b/taiga/projects/contact/validators.py index 1f7eba70..158ea367 100644 --- a/taiga/projects/contact/validators.py +++ b/taiga/projects/contact/validators.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api import validators from . import models diff --git a/taiga/projects/custom_attributes/__init__.py b/taiga/projects/custom_attributes/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/projects/custom_attributes/__init__.py +++ b/taiga/projects/custom_attributes/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/projects/custom_attributes/admin.py b/taiga/projects/custom_attributes/admin.py index c90fd527..799128ca 100644 --- a/taiga/projects/custom_attributes/admin.py +++ b/taiga/projects/custom_attributes/admin.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.contrib import admin from . import models diff --git a/taiga/projects/custom_attributes/api.py b/taiga/projects/custom_attributes/api.py index 0b97cb75..54271112 100644 --- a/taiga/projects/custom_attributes/api.py +++ b/taiga/projects/custom_attributes/api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api import ModelCrudViewSet from taiga.base.api import ModelUpdateRetrieveViewSet from taiga.base.api.mixins import BlockedByProjectMixin diff --git a/taiga/projects/custom_attributes/choices.py b/taiga/projects/custom_attributes/choices.py index 4d76dcfd..61240b33 100644 --- a/taiga/projects/custom_attributes/choices.py +++ b/taiga/projects/custom_attributes/choices.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.utils.translation import ugettext_lazy as _ diff --git a/taiga/projects/custom_attributes/migrations/0001_initial.py b/taiga/projects/custom_attributes/migrations/0001_initial.py index a4ac7dd9..147df5f2 100644 --- a/taiga/projects/custom_attributes/migrations/0001_initial.py +++ b/taiga/projects/custom_attributes/migrations/0001_initial.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/custom_attributes/migrations/0002_issuecustomattributesvalues_taskcustomattributesvalues_userstorycustomattributesvalues.py b/taiga/projects/custom_attributes/migrations/0002_issuecustomattributesvalues_taskcustomattributesvalues_userstorycustomattributesvalues.py index 8a84523e..3dc957c7 100644 --- a/taiga/projects/custom_attributes/migrations/0002_issuecustomattributesvalues_taskcustomattributesvalues_userstorycustomattributesvalues.py +++ b/taiga/projects/custom_attributes/migrations/0002_issuecustomattributesvalues_taskcustomattributesvalues_userstorycustomattributesvalues.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/custom_attributes/migrations/0003_triggers_on_delete_customattribute.py b/taiga/projects/custom_attributes/migrations/0003_triggers_on_delete_customattribute.py index 43285e38..57a7ebaf 100644 --- a/taiga/projects/custom_attributes/migrations/0003_triggers_on_delete_customattribute.py +++ b/taiga/projects/custom_attributes/migrations/0003_triggers_on_delete_customattribute.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/custom_attributes/migrations/0004_create_empty_customattributesvalues_for_existen_object.py b/taiga/projects/custom_attributes/migrations/0004_create_empty_customattributesvalues_for_existen_object.py index 9d807ad4..f9b6b8c2 100644 --- a/taiga/projects/custom_attributes/migrations/0004_create_empty_customattributesvalues_for_existen_object.py +++ b/taiga/projects/custom_attributes/migrations/0004_create_empty_customattributesvalues_for_existen_object.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/custom_attributes/migrations/0005_auto_20150505_1639.py b/taiga/projects/custom_attributes/migrations/0005_auto_20150505_1639.py index f050b3e2..149306ac 100644 --- a/taiga/projects/custom_attributes/migrations/0005_auto_20150505_1639.py +++ b/taiga/projects/custom_attributes/migrations/0005_auto_20150505_1639.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/custom_attributes/migrations/0006_auto_20151014_1645.py b/taiga/projects/custom_attributes/migrations/0006_auto_20151014_1645.py index 85698a38..107519ff 100644 --- a/taiga/projects/custom_attributes/migrations/0006_auto_20151014_1645.py +++ b/taiga/projects/custom_attributes/migrations/0006_auto_20151014_1645.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import migrations, models diff --git a/taiga/projects/custom_attributes/migrations/0007_auto_20160208_1751.py b/taiga/projects/custom_attributes/migrations/0007_auto_20160208_1751.py index 08acc42f..65c820c4 100644 --- a/taiga/projects/custom_attributes/migrations/0007_auto_20160208_1751.py +++ b/taiga/projects/custom_attributes/migrations/0007_auto_20160208_1751.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import migrations, models diff --git a/taiga/projects/custom_attributes/migrations/0008_auto_20160728_0540.py b/taiga/projects/custom_attributes/migrations/0008_auto_20160728_0540.py index 4c0509bb..2f360649 100644 --- a/taiga/projects/custom_attributes/migrations/0008_auto_20160728_0540.py +++ b/taiga/projects/custom_attributes/migrations/0008_auto_20160728_0540.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-07-28 05:40 from __future__ import unicode_literals diff --git a/taiga/projects/custom_attributes/migrations/0009_auto_20160728_1002.py b/taiga/projects/custom_attributes/migrations/0009_auto_20160728_1002.py index 797ecbeb..7352f6e6 100644 --- a/taiga/projects/custom_attributes/migrations/0009_auto_20160728_1002.py +++ b/taiga/projects/custom_attributes/migrations/0009_auto_20160728_1002.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-07-28 10:02 from __future__ import unicode_literals diff --git a/taiga/projects/custom_attributes/migrations/0010_auto_20160928_0540.py b/taiga/projects/custom_attributes/migrations/0010_auto_20160928_0540.py index afe2277a..9108fc20 100644 --- a/taiga/projects/custom_attributes/migrations/0010_auto_20160928_0540.py +++ b/taiga/projects/custom_attributes/migrations/0010_auto_20160928_0540.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-09-28 05:40 from __future__ import unicode_literals diff --git a/taiga/projects/custom_attributes/migrations/0011_json_to_jsonb.py b/taiga/projects/custom_attributes/migrations/0011_json_to_jsonb.py index bbe14196..4a2e701b 100644 --- a/taiga/projects/custom_attributes/migrations/0011_json_to_jsonb.py +++ b/taiga/projects/custom_attributes/migrations/0011_json_to_jsonb.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.10.2 on 2016-10-26 11:34 from __future__ import unicode_literals diff --git a/taiga/projects/custom_attributes/migrations/0012_auto_20161201_1628.py b/taiga/projects/custom_attributes/migrations/0012_auto_20161201_1628.py index cab03195..66c7edb7 100644 --- a/taiga/projects/custom_attributes/migrations/0012_auto_20161201_1628.py +++ b/taiga/projects/custom_attributes/migrations/0012_auto_20161201_1628.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.10.3 on 2016-12-01 16:28 from __future__ import unicode_literals diff --git a/taiga/projects/custom_attributes/migrations/0013_auto_20181022_1624.py b/taiga/projects/custom_attributes/migrations/0013_auto_20181022_1624.py index bd90e4a7..158dd7a5 100644 --- a/taiga/projects/custom_attributes/migrations/0013_auto_20181022_1624.py +++ b/taiga/projects/custom_attributes/migrations/0013_auto_20181022_1624.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.11.2 on 2018-10-22 16:24 from __future__ import unicode_literals diff --git a/taiga/projects/custom_attributes/migrations/0014_auto_20181025_0711.py b/taiga/projects/custom_attributes/migrations/0014_auto_20181025_0711.py index 514fccd6..b23c339c 100644 --- a/taiga/projects/custom_attributes/migrations/0014_auto_20181025_0711.py +++ b/taiga/projects/custom_attributes/migrations/0014_auto_20181025_0711.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.11.2 on 2018-10-25 07:11 from __future__ import unicode_literals diff --git a/taiga/projects/custom_attributes/migrations/0015_auto_20200615_0811.py b/taiga/projects/custom_attributes/migrations/0015_auto_20200615_0811.py index e44c232f..dcafe55d 100644 --- a/taiga/projects/custom_attributes/migrations/0015_auto_20200615_0811.py +++ b/taiga/projects/custom_attributes/migrations/0015_auto_20200615_0811.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 2.2.12 on 2020-06-15 08:11 import django.core.serializers.json diff --git a/taiga/projects/custom_attributes/migrations/__init__.py b/taiga/projects/custom_attributes/migrations/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/projects/custom_attributes/migrations/__init__.py +++ b/taiga/projects/custom_attributes/migrations/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/projects/custom_attributes/models.py b/taiga/projects/custom_attributes/models.py index e3e14cd5..14b75799 100644 --- a/taiga/projects/custom_attributes/models.py +++ b/taiga/projects/custom_attributes/models.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.db import models from django.utils.translation import ugettext_lazy as _ from django.utils import timezone diff --git a/taiga/projects/custom_attributes/permissions.py b/taiga/projects/custom_attributes/permissions.py index 5baa85f3..f6d97ff0 100644 --- a/taiga/projects/custom_attributes/permissions.py +++ b/taiga/projects/custom_attributes/permissions.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api.permissions import TaigaResourcePermission from taiga.base.api.permissions import HasProjectPerm from taiga.base.api.permissions import IsProjectAdmin diff --git a/taiga/projects/custom_attributes/serializers.py b/taiga/projects/custom_attributes/serializers.py index 195bad12..93d9dd83 100644 --- a/taiga/projects/custom_attributes/serializers.py +++ b/taiga/projects/custom_attributes/serializers.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.fields import JSONField, Field from taiga.base.api import serializers diff --git a/taiga/projects/custom_attributes/services.py b/taiga/projects/custom_attributes/services.py index 80e40319..fd8e2bfa 100644 --- a/taiga/projects/custom_attributes/services.py +++ b/taiga/projects/custom_attributes/services.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.db import transaction from django.db import connection diff --git a/taiga/projects/custom_attributes/signals.py b/taiga/projects/custom_attributes/signals.py index 8ae3f53e..926b5c3a 100644 --- a/taiga/projects/custom_attributes/signals.py +++ b/taiga/projects/custom_attributes/signals.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from . import models diff --git a/taiga/projects/custom_attributes/validators.py b/taiga/projects/custom_attributes/validators.py index 21dc99f5..edd5eca7 100644 --- a/taiga/projects/custom_attributes/validators.py +++ b/taiga/projects/custom_attributes/validators.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.utils.translation import ugettext_lazy as _ from taiga.base.fields import JSONField diff --git a/taiga/projects/due_dates/__init__.py b/taiga/projects/due_dates/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/projects/due_dates/__init__.py +++ b/taiga/projects/due_dates/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/projects/due_dates/models.py b/taiga/projects/due_dates/models.py index e0c08bde..06cffcad 100644 --- a/taiga/projects/due_dates/models.py +++ b/taiga/projects/due_dates/models.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.db import models from django.utils.translation import ugettext_lazy as _ diff --git a/taiga/projects/due_dates/serializers.py b/taiga/projects/due_dates/serializers.py index c4f08bfe..aac36d80 100644 --- a/taiga/projects/due_dates/serializers.py +++ b/taiga/projects/due_dates/serializers.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import datetime as dt from django.utils import timezone diff --git a/taiga/projects/epics/__init__.py b/taiga/projects/epics/__init__.py index a314b661..ef5d3445 100644 --- a/taiga/projects/epics/__init__.py +++ b/taiga/projects/epics/__init__.py @@ -1,3 +1,9 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + default_app_config = "taiga.projects.epics.apps.EpicsAppConfig" diff --git a/taiga/projects/epics/admin.py b/taiga/projects/epics/admin.py index 14989bdc..4b8eefa1 100644 --- a/taiga/projects/epics/admin.py +++ b/taiga/projects/epics/admin.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.contrib import admin from taiga.projects.notifications.admin import WatchedInline diff --git a/taiga/projects/epics/api.py b/taiga/projects/epics/api.py index 7dcf4a8f..901a96f5 100644 --- a/taiga/projects/epics/api.py +++ b/taiga/projects/epics/api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.http import HttpResponse from django.utils.translation import ugettext as _ diff --git a/taiga/projects/epics/apps.py b/taiga/projects/epics/apps.py index 5739d4ba..4226dac7 100644 --- a/taiga/projects/epics/apps.py +++ b/taiga/projects/epics/apps.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.apps import AppConfig from django.apps import apps from django.db.models import signals diff --git a/taiga/projects/epics/migrations/0001_initial.py b/taiga/projects/epics/migrations/0001_initial.py index d73c4b87..131bc531 100644 --- a/taiga/projects/epics/migrations/0001_initial.py +++ b/taiga/projects/epics/migrations/0001_initial.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-07-05 11:12 from __future__ import unicode_literals diff --git a/taiga/projects/epics/migrations/0002_epic_color.py b/taiga/projects/epics/migrations/0002_epic_color.py index b9cd2ced..36f1cc11 100644 --- a/taiga/projects/epics/migrations/0002_epic_color.py +++ b/taiga/projects/epics/migrations/0002_epic_color.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-07-27 09:37 from __future__ import unicode_literals diff --git a/taiga/projects/epics/migrations/0003_auto_20160901_1021.py b/taiga/projects/epics/migrations/0003_auto_20160901_1021.py index e23169f2..27ff9011 100644 --- a/taiga/projects/epics/migrations/0003_auto_20160901_1021.py +++ b/taiga/projects/epics/migrations/0003_auto_20160901_1021.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-09-01 10:21 from __future__ import unicode_literals diff --git a/taiga/projects/epics/migrations/0004_auto_20160928_0540.py b/taiga/projects/epics/migrations/0004_auto_20160928_0540.py index 0e6a9fcb..fa18819d 100644 --- a/taiga/projects/epics/migrations/0004_auto_20160928_0540.py +++ b/taiga/projects/epics/migrations/0004_auto_20160928_0540.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-09-28 05:40 from __future__ import unicode_literals diff --git a/taiga/projects/epics/migrations/0005_epic_external_reference.py b/taiga/projects/epics/migrations/0005_epic_external_reference.py index a1d10880..59431cd8 100644 --- a/taiga/projects/epics/migrations/0005_epic_external_reference.py +++ b/taiga/projects/epics/migrations/0005_epic_external_reference.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-11-08 11:19 from __future__ import unicode_literals diff --git a/taiga/projects/epics/migrations/0006_auto_20200615_0811.py b/taiga/projects/epics/migrations/0006_auto_20200615_0811.py index 4686c30f..30c5be69 100644 --- a/taiga/projects/epics/migrations/0006_auto_20200615_0811.py +++ b/taiga/projects/epics/migrations/0006_auto_20200615_0811.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 2.2.12 on 2020-06-15 08:11 from django.conf import settings diff --git a/taiga/projects/epics/migrations/__init__.py b/taiga/projects/epics/migrations/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/projects/epics/migrations/__init__.py +++ b/taiga/projects/epics/migrations/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/projects/epics/models.py b/taiga/projects/epics/models.py index b95a7fd4..9571a02c 100644 --- a/taiga/projects/epics/models.py +++ b/taiga/projects/epics/models.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.db import models from django.contrib.contenttypes.fields import GenericRelation from django.contrib.postgres.fields import ArrayField diff --git a/taiga/projects/epics/permissions.py b/taiga/projects/epics/permissions.py index afda86fb..31f346d1 100644 --- a/taiga/projects/epics/permissions.py +++ b/taiga/projects/epics/permissions.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api.permissions import TaigaResourcePermission, AllowAny, IsAuthenticated from taiga.base.api.permissions import IsSuperUser, HasProjectPerm, IsProjectAdmin diff --git a/taiga/projects/epics/serializers.py b/taiga/projects/epics/serializers.py index 7b9038ac..067b234b 100644 --- a/taiga/projects/epics/serializers.py +++ b/taiga/projects/epics/serializers.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api import serializers from taiga.base.fields import Field, MethodField from taiga.base.neighbors import NeighborsSerializerMixin diff --git a/taiga/projects/epics/services.py b/taiga/projects/epics/services.py index c916250d..75cc65ce 100644 --- a/taiga/projects/epics/services.py +++ b/taiga/projects/epics/services.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import csv import io from collections import OrderedDict diff --git a/taiga/projects/epics/utils.py b/taiga/projects/epics/utils.py index 5424c8d3..7d426a10 100644 --- a/taiga/projects/epics/utils.py +++ b/taiga/projects/epics/utils.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.projects.attachments.utils import attach_basic_attachments from taiga.projects.notifications.utils import attach_watchers_to_queryset from taiga.projects.notifications.utils import attach_total_watchers_to_queryset diff --git a/taiga/projects/epics/validators.py b/taiga/projects/epics/validators.py index 59a4a15d..f1eb7177 100644 --- a/taiga/projects/epics/validators.py +++ b/taiga/projects/epics/validators.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.utils.translation import ugettext as _ from taiga.base.api import serializers diff --git a/taiga/projects/filters.py b/taiga/projects/filters.py index 38a2526c..42048a30 100644 --- a/taiga/projects/filters.py +++ b/taiga/projects/filters.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import logging from django.apps import apps diff --git a/taiga/projects/history/__init__.py b/taiga/projects/history/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/projects/history/__init__.py +++ b/taiga/projects/history/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/projects/history/api.py b/taiga/projects/history/api.py index 46f2386d..671163e9 100644 --- a/taiga/projects/history/api.py +++ b/taiga/projects/history/api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.contrib.contenttypes.models import ContentType from django.utils.translation import ugettext as _ from django.utils import timezone diff --git a/taiga/projects/history/choices.py b/taiga/projects/history/choices.py index 77905b33..48c94be3 100644 --- a/taiga/projects/history/choices.py +++ b/taiga/projects/history/choices.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import enum from django.utils.translation import ugettext_lazy as _ diff --git a/taiga/projects/history/freeze_impl.py b/taiga/projects/history/freeze_impl.py index 1432634a..fc349485 100644 --- a/taiga/projects/history/freeze_impl.py +++ b/taiga/projects/history/freeze_impl.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from contextlib import suppress from functools import partial diff --git a/taiga/projects/history/migrations/0001_initial.py b/taiga/projects/history/migrations/0001_initial.py index 5113e110..23f7681b 100644 --- a/taiga/projects/history/migrations/0001_initial.py +++ b/taiga/projects/history/migrations/0001_initial.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/history/migrations/0002_auto_20140916_0936.py b/taiga/projects/history/migrations/0002_auto_20140916_0936.py index a2ce5aa2..edc1ebcc 100644 --- a/taiga/projects/history/migrations/0002_auto_20140916_0936.py +++ b/taiga/projects/history/migrations/0002_auto_20140916_0936.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/history/migrations/0003_auto_20140917_1405.py b/taiga/projects/history/migrations/0003_auto_20140917_1405.py index 13d22518..28c23231 100644 --- a/taiga/projects/history/migrations/0003_auto_20140917_1405.py +++ b/taiga/projects/history/migrations/0003_auto_20140917_1405.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/history/migrations/0004_historyentry_is_hidden.py b/taiga/projects/history/migrations/0004_historyentry_is_hidden.py index 58b68bdc..16657d0b 100644 --- a/taiga/projects/history/migrations/0004_historyentry_is_hidden.py +++ b/taiga/projects/history/migrations/0004_historyentry_is_hidden.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/history/migrations/0005_auto_20141120_1119.py b/taiga/projects/history/migrations/0005_auto_20141120_1119.py index 72489aad..1fc251e4 100644 --- a/taiga/projects/history/migrations/0005_auto_20141120_1119.py +++ b/taiga/projects/history/migrations/0005_auto_20141120_1119.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/history/migrations/0006_fix_json_field_not_null.py b/taiga/projects/history/migrations/0006_fix_json_field_not_null.py index a72d1cce..1314b8ca 100644 --- a/taiga/projects/history/migrations/0006_fix_json_field_not_null.py +++ b/taiga/projects/history/migrations/0006_fix_json_field_not_null.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from taiga.base.db.models.fields import JSONField diff --git a/taiga/projects/history/migrations/0007_set_bloked_note_and_is_blocked_in_snapshots.py b/taiga/projects/history/migrations/0007_set_bloked_note_and_is_blocked_in_snapshots.py index a1789405..512882fd 100644 --- a/taiga/projects/history/migrations/0007_set_bloked_note_and_is_blocked_in_snapshots.py +++ b/taiga/projects/history/migrations/0007_set_bloked_note_and_is_blocked_in_snapshots.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/history/migrations/0008_auto_20150508_1028.py b/taiga/projects/history/migrations/0008_auto_20150508_1028.py index 5b4b07fa..3ac16e42 100644 --- a/taiga/projects/history/migrations/0008_auto_20150508_1028.py +++ b/taiga/projects/history/migrations/0008_auto_20150508_1028.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/history/migrations/0009_auto_20160512_1110.py b/taiga/projects/history/migrations/0009_auto_20160512_1110.py index 0e293806..5ff01c0e 100644 --- a/taiga/projects/history/migrations/0009_auto_20160512_1110.py +++ b/taiga/projects/history/migrations/0009_auto_20160512_1110.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-05-12 11:10 from __future__ import unicode_literals diff --git a/taiga/projects/history/migrations/0010_historyentry_project.py b/taiga/projects/history/migrations/0010_historyentry_project.py index 0949a9a8..e81d18ff 100644 --- a/taiga/projects/history/migrations/0010_historyentry_project.py +++ b/taiga/projects/history/migrations/0010_historyentry_project.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-06-24 12:19 from __future__ import unicode_literals diff --git a/taiga/projects/history/migrations/0011_auto_20160629_1036.py b/taiga/projects/history/migrations/0011_auto_20160629_1036.py index 698f6a21..bb4f64f3 100644 --- a/taiga/projects/history/migrations/0011_auto_20160629_1036.py +++ b/taiga/projects/history/migrations/0011_auto_20160629_1036.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-06-29 10:36 from __future__ import unicode_literals diff --git a/taiga/projects/history/migrations/0012_auto_20160629_1036.py b/taiga/projects/history/migrations/0012_auto_20160629_1036.py index 549d7076..bf2022ea 100644 --- a/taiga/projects/history/migrations/0012_auto_20160629_1036.py +++ b/taiga/projects/history/migrations/0012_auto_20160629_1036.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-06-29 10:36 from __future__ import unicode_literals diff --git a/taiga/projects/history/migrations/0013_historyentry_values_diff_cache.py b/taiga/projects/history/migrations/0013_historyentry_values_diff_cache.py index 625d2343..c9ad07b6 100644 --- a/taiga/projects/history/migrations/0013_historyentry_values_diff_cache.py +++ b/taiga/projects/history/migrations/0013_historyentry_values_diff_cache.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-10-11 12:17 from __future__ import unicode_literals diff --git a/taiga/projects/history/migrations/0014_json_to_jsonb.py b/taiga/projects/history/migrations/0014_json_to_jsonb.py index 940217d9..712f65aa 100644 --- a/taiga/projects/history/migrations/0014_json_to_jsonb.py +++ b/taiga/projects/history/migrations/0014_json_to_jsonb.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.10.2 on 2016-10-26 11:34 from __future__ import unicode_literals diff --git a/taiga/projects/history/migrations/__init__.py b/taiga/projects/history/migrations/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/projects/history/migrations/__init__.py +++ b/taiga/projects/history/migrations/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/projects/history/mixins.py b/taiga/projects/history/mixins.py index 715d52fb..ac3644dd 100644 --- a/taiga/projects/history/mixins.py +++ b/taiga/projects/history/mixins.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import warnings from .services import take_snapshot diff --git a/taiga/projects/history/models.py b/taiga/projects/history/models.py index 19dd1d94..8f9ccc32 100644 --- a/taiga/projects/history/models.py +++ b/taiga/projects/history/models.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import uuid from django.utils import timezone diff --git a/taiga/projects/history/permissions.py b/taiga/projects/history/permissions.py index d73bbf24..2a81e56a 100644 --- a/taiga/projects/history/permissions.py +++ b/taiga/projects/history/permissions.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api.permissions import (TaigaResourcePermission, HasProjectPerm, IsProjectAdmin, AllowAny, IsObjectOwner, PermissionComponent) diff --git a/taiga/projects/history/serializers.py b/taiga/projects/history/serializers.py index fa01b954..9538434d 100644 --- a/taiga/projects/history/serializers.py +++ b/taiga/projects/history/serializers.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api import serializers from taiga.base.fields import I18NJSONField, Field, MethodField diff --git a/taiga/projects/history/services.py b/taiga/projects/history/services.py index 51296429..4da5cfd3 100644 --- a/taiga/projects/history/services.py +++ b/taiga/projects/history/services.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + """ This module contains a main domain logic for object history management. This is possible example: diff --git a/taiga/projects/history/templates/emails/includes/fields_diff-html.jinja b/taiga/projects/history/templates/emails/includes/fields_diff-html.jinja index 452c7f92..a0d4878b 100644 --- a/taiga/projects/history/templates/emails/includes/fields_diff-html.jinja +++ b/taiga/projects/history/templates/emails/includes/fields_diff-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% set excluded_fields = [ "description", "description_html", diff --git a/taiga/projects/history/templates/emails/includes/fields_diff-text.jinja b/taiga/projects/history/templates/emails/includes/fields_diff-text.jinja index 93e8b1eb..24ba8e66 100644 --- a/taiga/projects/history/templates/emails/includes/fields_diff-text.jinja +++ b/taiga/projects/history/templates/emails/includes/fields_diff-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% set excluded_fields = [ "description_diff", "description_html", diff --git a/taiga/projects/history/templatetags/__init__.py b/taiga/projects/history/templatetags/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/projects/history/templatetags/__init__.py +++ b/taiga/projects/history/templatetags/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/projects/history/templatetags/functions.py b/taiga/projects/history/templatetags/functions.py index fe5d76ad..ae78d128 100644 --- a/taiga/projects/history/templatetags/functions.py +++ b/taiga/projects/history/templatetags/functions.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.utils.translation import ugettext_lazy as _ from django_jinja import library diff --git a/taiga/projects/history/utils.py b/taiga/projects/history/utils.py index ce2b87f2..27bc54fe 100644 --- a/taiga/projects/history/utils.py +++ b/taiga/projects/history/utils.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.projects.history.services import get_typename_for_model_class diff --git a/taiga/projects/issues/__init__.py b/taiga/projects/issues/__init__.py index 68408a3f..7581bb06 100644 --- a/taiga/projects/issues/__init__.py +++ b/taiga/projects/issues/__init__.py @@ -1,3 +1,9 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + default_app_config = "taiga.projects.issues.apps.IssuesAppConfig" diff --git a/taiga/projects/issues/admin.py b/taiga/projects/issues/admin.py index 612da26f..763d90cd 100644 --- a/taiga/projects/issues/admin.py +++ b/taiga/projects/issues/admin.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.contrib import admin from taiga.projects.attachments.admin import AttachmentInline diff --git a/taiga/projects/issues/api.py b/taiga/projects/issues/api.py index 80678a4d..746f27f0 100644 --- a/taiga/projects/issues/api.py +++ b/taiga/projects/issues/api.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # from django.utils.translation import ugettext as _ from django.http import HttpResponse diff --git a/taiga/projects/issues/apps.py b/taiga/projects/issues/apps.py index 571f2db2..35326c82 100644 --- a/taiga/projects/issues/apps.py +++ b/taiga/projects/issues/apps.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # from django.apps import AppConfig from django.apps import apps diff --git a/taiga/projects/issues/migrations/0001_initial.py b/taiga/projects/issues/migrations/0001_initial.py index b50c1f67..93d1bac0 100644 --- a/taiga/projects/issues/migrations/0001_initial.py +++ b/taiga/projects/issues/migrations/0001_initial.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/issues/migrations/0002_issue_external_reference.py b/taiga/projects/issues/migrations/0002_issue_external_reference.py index 60b8845c..3b6c49eb 100644 --- a/taiga/projects/issues/migrations/0002_issue_external_reference.py +++ b/taiga/projects/issues/migrations/0002_issue_external_reference.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/issues/migrations/0003_auto_20141210_1108.py b/taiga/projects/issues/migrations/0003_auto_20141210_1108.py index ebc22056..1da0f998 100644 --- a/taiga/projects/issues/migrations/0003_auto_20141210_1108.py +++ b/taiga/projects/issues/migrations/0003_auto_20141210_1108.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/issues/migrations/0004_auto_20150114_0954.py b/taiga/projects/issues/migrations/0004_auto_20150114_0954.py index e562112c..5f7c0cd9 100644 --- a/taiga/projects/issues/migrations/0004_auto_20150114_0954.py +++ b/taiga/projects/issues/migrations/0004_auto_20150114_0954.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/issues/migrations/0005_auto_20150623_1923.py b/taiga/projects/issues/migrations/0005_auto_20150623_1923.py index 04880f0f..1d8f0ed4 100644 --- a/taiga/projects/issues/migrations/0005_auto_20150623_1923.py +++ b/taiga/projects/issues/migrations/0005_auto_20150623_1923.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/issues/migrations/0006_remove_issue_watchers.py b/taiga/projects/issues/migrations/0006_remove_issue_watchers.py index c612acb1..c4659791 100644 --- a/taiga/projects/issues/migrations/0006_remove_issue_watchers.py +++ b/taiga/projects/issues/migrations/0006_remove_issue_watchers.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import connection diff --git a/taiga/projects/issues/migrations/0007_auto_20160614_1201.py b/taiga/projects/issues/migrations/0007_auto_20160614_1201.py index 6ccc1a1f..85312730 100644 --- a/taiga/projects/issues/migrations/0007_auto_20160614_1201.py +++ b/taiga/projects/issues/migrations/0007_auto_20160614_1201.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-06-14 12:01 from __future__ import unicode_literals diff --git a/taiga/projects/issues/migrations/0008_add_due_date.py b/taiga/projects/issues/migrations/0008_add_due_date.py index 96a95c41..6e59bd04 100644 --- a/taiga/projects/issues/migrations/0008_add_due_date.py +++ b/taiga/projects/issues/migrations/0008_add_due_date.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.11.2 on 2018-04-09 09:06 from __future__ import unicode_literals diff --git a/taiga/projects/issues/migrations/0009_auto_20200615_0811.py b/taiga/projects/issues/migrations/0009_auto_20200615_0811.py index 718cea27..8a7d48c5 100644 --- a/taiga/projects/issues/migrations/0009_auto_20200615_0811.py +++ b/taiga/projects/issues/migrations/0009_auto_20200615_0811.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 2.2.12 on 2020-06-15 08:11 from django.db import migrations, models diff --git a/taiga/projects/issues/migrations/__init__.py b/taiga/projects/issues/migrations/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/projects/issues/migrations/__init__.py +++ b/taiga/projects/issues/migrations/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/projects/issues/models.py b/taiga/projects/issues/models.py index 383f9caa..5d2c313e 100644 --- a/taiga/projects/issues/models.py +++ b/taiga/projects/issues/models.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.db import models from django.contrib.contenttypes.fields import GenericRelation from django.contrib.postgres.fields import ArrayField diff --git a/taiga/projects/issues/permissions.py b/taiga/projects/issues/permissions.py index f5364d67..8c991acb 100644 --- a/taiga/projects/issues/permissions.py +++ b/taiga/projects/issues/permissions.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # from taiga.base.api.permissions import TaigaResourcePermission, AllowAny, IsAuthenticated, IsSuperUser from taiga.permissions.permissions import HasProjectPerm, IsProjectAdmin diff --git a/taiga/projects/issues/serializers.py b/taiga/projects/issues/serializers.py index 47a6c65b..1d2ce36f 100644 --- a/taiga/projects/issues/serializers.py +++ b/taiga/projects/issues/serializers.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api import serializers from taiga.base.fields import Field, MethodField from taiga.base.neighbors import NeighborsSerializerMixin diff --git a/taiga/projects/issues/services.py b/taiga/projects/issues/services.py index 8bda75cb..eac14c9b 100644 --- a/taiga/projects/issues/services.py +++ b/taiga/projects/issues/services.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import io import csv from collections import OrderedDict diff --git a/taiga/projects/issues/signals.py b/taiga/projects/issues/signals.py index 7df128f2..f3f2c3d4 100644 --- a/taiga/projects/issues/signals.py +++ b/taiga/projects/issues/signals.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from contextlib import suppress from django.core.exceptions import ObjectDoesNotExist from django.utils import timezone diff --git a/taiga/projects/issues/utils.py b/taiga/projects/issues/utils.py index ebfd8310..ef6c39d5 100644 --- a/taiga/projects/issues/utils.py +++ b/taiga/projects/issues/utils.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.projects.attachments.utils import attach_basic_attachments from taiga.projects.notifications.utils import attach_watchers_to_queryset from taiga.projects.notifications.utils import attach_total_watchers_to_queryset diff --git a/taiga/projects/issues/validators.py b/taiga/projects/issues/validators.py index b9fe8dd8..c124d433 100644 --- a/taiga/projects/issues/validators.py +++ b/taiga/projects/issues/validators.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # from django.utils.translation import ugettext as _ diff --git a/taiga/projects/likes/__init__.py b/taiga/projects/likes/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/projects/likes/__init__.py +++ b/taiga/projects/likes/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/projects/likes/admin.py b/taiga/projects/likes/admin.py index e693160d..8f1bbc3f 100644 --- a/taiga/projects/likes/admin.py +++ b/taiga/projects/likes/admin.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.contrib import admin from django.contrib.contenttypes.admin import GenericTabularInline diff --git a/taiga/projects/likes/migrations/0001_initial.py b/taiga/projects/likes/migrations/0001_initial.py index dfce3493..40d0afcb 100644 --- a/taiga/projects/likes/migrations/0001_initial.py +++ b/taiga/projects/likes/migrations/0001_initial.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import migrations, models diff --git a/taiga/projects/likes/migrations/0002_auto_20151130_2230.py b/taiga/projects/likes/migrations/0002_auto_20151130_2230.py index fba65742..7139e47f 100644 --- a/taiga/projects/likes/migrations/0002_auto_20151130_2230.py +++ b/taiga/projects/likes/migrations/0002_auto_20151130_2230.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import migrations, models diff --git a/taiga/projects/likes/migrations/__init__.py b/taiga/projects/likes/migrations/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/projects/likes/migrations/__init__.py +++ b/taiga/projects/likes/migrations/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/projects/likes/mixins/__init__.py b/taiga/projects/likes/mixins/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/projects/likes/mixins/__init__.py +++ b/taiga/projects/likes/mixins/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/projects/likes/mixins/viewsets.py b/taiga/projects/likes/mixins/viewsets.py index e8d88236..f0ef99cb 100644 --- a/taiga/projects/likes/mixins/viewsets.py +++ b/taiga/projects/likes/mixins/viewsets.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.core.exceptions import ObjectDoesNotExist from taiga.base import response diff --git a/taiga/projects/likes/models.py b/taiga/projects/likes/models.py index 770c24b5..3674af3a 100644 --- a/taiga/projects/likes/models.py +++ b/taiga/projects/likes/models.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.conf import settings from django.contrib.contenttypes.fields import GenericForeignKey from django.db import models diff --git a/taiga/projects/likes/serializers.py b/taiga/projects/likes/serializers.py index f27f7bff..d4cb8870 100644 --- a/taiga/projects/likes/serializers.py +++ b/taiga/projects/likes/serializers.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api import serializers from taiga.base.fields import Field, MethodField diff --git a/taiga/projects/likes/services.py b/taiga/projects/likes/services.py index c8b287ae..bf7ed8e2 100644 --- a/taiga/projects/likes/services.py +++ b/taiga/projects/likes/services.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.db.models import F from django.db.transaction import atomic from django.apps import apps diff --git a/taiga/projects/management/__init__.py b/taiga/projects/management/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/projects/management/__init__.py +++ b/taiga/projects/management/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/projects/management/commands/__init__.py b/taiga/projects/management/commands/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/projects/management/commands/__init__.py +++ b/taiga/projects/management/commands/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/projects/management/commands/block_user_projects.py b/taiga/projects/management/commands/block_user_projects.py index 1818e8b5..ab39fc79 100644 --- a/taiga/projects/management/commands/block_user_projects.py +++ b/taiga/projects/management/commands/block_user_projects.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.core.management.base import BaseCommand from taiga.projects.choices import BLOCKED_BY_NONPAYMENT from taiga.projects.models import Project diff --git a/taiga/projects/management/commands/change_project_slug.py b/taiga/projects/management/commands/change_project_slug.py index aded813d..40969137 100644 --- a/taiga/projects/management/commands/change_project_slug.py +++ b/taiga/projects/management/commands/change_project_slug.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.core.management.base import BaseCommand from django.core.management.base import CommandError from django.test.utils import override_settings diff --git a/taiga/projects/management/commands/sample_data.py b/taiga/projects/management/commands/sample_data.py index 5b72ef69..9c6c8e09 100644 --- a/taiga/projects/management/commands/sample_data.py +++ b/taiga/projects/management/commands/sample_data.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import datetime from os import path from hashlib import sha1 diff --git a/taiga/projects/migrations/0001_initial.py b/taiga/projects/migrations/0001_initial.py index 09a181aa..35c145fd 100644 --- a/taiga/projects/migrations/0001_initial.py +++ b/taiga/projects/migrations/0001_initial.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/migrations/0002_auto_20140903_0920.py b/taiga/projects/migrations/0002_auto_20140903_0920.py index dbd664c8..a8e857be 100644 --- a/taiga/projects/migrations/0002_auto_20140903_0920.py +++ b/taiga/projects/migrations/0002_auto_20140903_0920.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/migrations/0003_auto_20140913_1710.py b/taiga/projects/migrations/0003_auto_20140913_1710.py index 714acd53..4e5044f8 100644 --- a/taiga/projects/migrations/0003_auto_20140913_1710.py +++ b/taiga/projects/migrations/0003_auto_20140913_1710.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/migrations/0004_auto_20141002_2337.py b/taiga/projects/migrations/0004_auto_20141002_2337.py index 14876435..de322bd5 100644 --- a/taiga/projects/migrations/0004_auto_20141002_2337.py +++ b/taiga/projects/migrations/0004_auto_20141002_2337.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/migrations/0005_membership_invitation_extra_text.py b/taiga/projects/migrations/0005_membership_invitation_extra_text.py index b4fffdd8..d0b29ebe 100644 --- a/taiga/projects/migrations/0005_membership_invitation_extra_text.py +++ b/taiga/projects/migrations/0005_membership_invitation_extra_text.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/migrations/0006_auto_20141029_1040.py b/taiga/projects/migrations/0006_auto_20141029_1040.py index 02b774aa..6257ed1b 100644 --- a/taiga/projects/migrations/0006_auto_20141029_1040.py +++ b/taiga/projects/migrations/0006_auto_20141029_1040.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/migrations/0007_auto_20141024_1011.py b/taiga/projects/migrations/0007_auto_20141024_1011.py index 2e30cff8..d066b92c 100644 --- a/taiga/projects/migrations/0007_auto_20141024_1011.py +++ b/taiga/projects/migrations/0007_auto_20141024_1011.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/migrations/0008_auto_20141024_1012.py b/taiga/projects/migrations/0008_auto_20141024_1012.py index 2d4dd1b2..5789f086 100644 --- a/taiga/projects/migrations/0008_auto_20141024_1012.py +++ b/taiga/projects/migrations/0008_auto_20141024_1012.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from unidecode import unidecode diff --git a/taiga/projects/migrations/0009_auto_20141024_1037.py b/taiga/projects/migrations/0009_auto_20141024_1037.py index 4d25ecfc..b4eba0c2 100644 --- a/taiga/projects/migrations/0009_auto_20141024_1037.py +++ b/taiga/projects/migrations/0009_auto_20141024_1037.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/migrations/0010_project_modules_config.py b/taiga/projects/migrations/0010_project_modules_config.py index b2f14201..d64c4475 100644 --- a/taiga/projects/migrations/0010_project_modules_config.py +++ b/taiga/projects/migrations/0010_project_modules_config.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/migrations/0011_auto_20141028_2057.py b/taiga/projects/migrations/0011_auto_20141028_2057.py index c381bc61..6ef529e0 100644 --- a/taiga/projects/migrations/0011_auto_20141028_2057.py +++ b/taiga/projects/migrations/0011_auto_20141028_2057.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/migrations/0012_auto_20141210_1009.py b/taiga/projects/migrations/0012_auto_20141210_1009.py index 0a6cdec7..33e2ddb3 100644 --- a/taiga/projects/migrations/0012_auto_20141210_1009.py +++ b/taiga/projects/migrations/0012_auto_20141210_1009.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/migrations/0013_auto_20141210_1040.py b/taiga/projects/migrations/0013_auto_20141210_1040.py index 68bbb4f5..efce6129 100644 --- a/taiga/projects/migrations/0013_auto_20141210_1040.py +++ b/taiga/projects/migrations/0013_auto_20141210_1040.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/migrations/0014_userstorystatus_is_archived.py b/taiga/projects/migrations/0014_userstorystatus_is_archived.py index 889ee10b..ad3cdb70 100644 --- a/taiga/projects/migrations/0014_userstorystatus_is_archived.py +++ b/taiga/projects/migrations/0014_userstorystatus_is_archived.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/migrations/0015_auto_20141230_1212.py b/taiga/projects/migrations/0015_auto_20141230_1212.py index 220ba920..c754e810 100644 --- a/taiga/projects/migrations/0015_auto_20141230_1212.py +++ b/taiga/projects/migrations/0015_auto_20141230_1212.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/migrations/0016_fix_json_field_not_null.py b/taiga/projects/migrations/0016_fix_json_field_not_null.py index 4c280951..5f508ff4 100644 --- a/taiga/projects/migrations/0016_fix_json_field_not_null.py +++ b/taiga/projects/migrations/0016_fix_json_field_not_null.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from taiga.base.db.models.fields import JSONField diff --git a/taiga/projects/migrations/0017_fix_is_private_for_projects.py b/taiga/projects/migrations/0017_fix_is_private_for_projects.py index c94e6a63..573bbcd1 100644 --- a/taiga/projects/migrations/0017_fix_is_private_for_projects.py +++ b/taiga/projects/migrations/0017_fix_is_private_for_projects.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/migrations/0018_auto_20150219_1606.py b/taiga/projects/migrations/0018_auto_20150219_1606.py index a5f326b4..c1eb91ff 100644 --- a/taiga/projects/migrations/0018_auto_20150219_1606.py +++ b/taiga/projects/migrations/0018_auto_20150219_1606.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/migrations/0019_auto_20150311_0821.py b/taiga/projects/migrations/0019_auto_20150311_0821.py index 403c5d79..682e473e 100644 --- a/taiga/projects/migrations/0019_auto_20150311_0821.py +++ b/taiga/projects/migrations/0019_auto_20150311_0821.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/migrations/0020_membership_user_order.py b/taiga/projects/migrations/0020_membership_user_order.py index 17ae559e..ccbe3879 100644 --- a/taiga/projects/migrations/0020_membership_user_order.py +++ b/taiga/projects/migrations/0020_membership_user_order.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/migrations/0021_auto_20150504_1524.py b/taiga/projects/migrations/0021_auto_20150504_1524.py index ec82bfe2..36b4b0aa 100644 --- a/taiga/projects/migrations/0021_auto_20150504_1524.py +++ b/taiga/projects/migrations/0021_auto_20150504_1524.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/migrations/0022_auto_20150701_0924.py b/taiga/projects/migrations/0022_auto_20150701_0924.py index 83d7a337..133b6151 100644 --- a/taiga/projects/migrations/0022_auto_20150701_0924.py +++ b/taiga/projects/migrations/0022_auto_20150701_0924.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/migrations/0023_auto_20150721_1511.py b/taiga/projects/migrations/0023_auto_20150721_1511.py index 0762e1d0..6d13a635 100644 --- a/taiga/projects/migrations/0023_auto_20150721_1511.py +++ b/taiga/projects/migrations/0023_auto_20150721_1511.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/migrations/0024_auto_20150810_1247.py b/taiga/projects/migrations/0024_auto_20150810_1247.py index 9f678cce..c13c95b8 100644 --- a/taiga/projects/migrations/0024_auto_20150810_1247.py +++ b/taiga/projects/migrations/0024_auto_20150810_1247.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/migrations/0025_auto_20150901_1600.py b/taiga/projects/migrations/0025_auto_20150901_1600.py index 2a75de83..0a5add47 100644 --- a/taiga/projects/migrations/0025_auto_20150901_1600.py +++ b/taiga/projects/migrations/0025_auto_20150901_1600.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/migrations/0026_auto_20150911_1237.py b/taiga/projects/migrations/0026_auto_20150911_1237.py index 073c2349..c438fe16 100644 --- a/taiga/projects/migrations/0026_auto_20150911_1237.py +++ b/taiga/projects/migrations/0026_auto_20150911_1237.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import connection diff --git a/taiga/projects/migrations/0027_auto_20150916_1302.py b/taiga/projects/migrations/0027_auto_20150916_1302.py index ecdb0f41..f7fb05bc 100644 --- a/taiga/projects/migrations/0027_auto_20150916_1302.py +++ b/taiga/projects/migrations/0027_auto_20150916_1302.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/migrations/0028_project_is_featured.py b/taiga/projects/migrations/0028_project_is_featured.py index 24401d6d..c3e29ac4 100644 --- a/taiga/projects/migrations/0028_project_is_featured.py +++ b/taiga/projects/migrations/0028_project_is_featured.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import migrations, models diff --git a/taiga/projects/migrations/0029_project_is_looking_for_people.py b/taiga/projects/migrations/0029_project_is_looking_for_people.py index 3e4a2dc5..3f0e9042 100644 --- a/taiga/projects/migrations/0029_project_is_looking_for_people.py +++ b/taiga/projects/migrations/0029_project_is_looking_for_people.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import migrations, models diff --git a/taiga/projects/migrations/0030_auto_20151128_0757.py b/taiga/projects/migrations/0030_auto_20151128_0757.py index 425598e7..db0355f5 100644 --- a/taiga/projects/migrations/0030_auto_20151128_0757.py +++ b/taiga/projects/migrations/0030_auto_20151128_0757.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import connection, migrations, models diff --git a/taiga/projects/migrations/0031_project_logo.py b/taiga/projects/migrations/0031_project_logo.py index 7bb1b317..95afccb4 100644 --- a/taiga/projects/migrations/0031_project_logo.py +++ b/taiga/projects/migrations/0031_project_logo.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import migrations, models diff --git a/taiga/projects/migrations/0032_auto_20151202_1151.py b/taiga/projects/migrations/0032_auto_20151202_1151.py index d4193930..bb79e024 100644 --- a/taiga/projects/migrations/0032_auto_20151202_1151.py +++ b/taiga/projects/migrations/0032_auto_20151202_1151.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import migrations, models diff --git a/taiga/projects/migrations/0033_text_search_indexes.py b/taiga/projects/migrations/0033_text_search_indexes.py index df97a50d..33133853 100644 --- a/taiga/projects/migrations/0033_text_search_indexes.py +++ b/taiga/projects/migrations/0033_text_search_indexes.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import migrations diff --git a/taiga/projects/migrations/0034_project_looking_for_people_note.py b/taiga/projects/migrations/0034_project_looking_for_people_note.py index b455a7b0..9a4512c9 100644 --- a/taiga/projects/migrations/0034_project_looking_for_people_note.py +++ b/taiga/projects/migrations/0034_project_looking_for_people_note.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import migrations, models diff --git a/taiga/projects/migrations/0035_project_blocked_code.py b/taiga/projects/migrations/0035_project_blocked_code.py index 809e5cef..84a1967e 100644 --- a/taiga/projects/migrations/0035_project_blocked_code.py +++ b/taiga/projects/migrations/0035_project_blocked_code.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import migrations, models diff --git a/taiga/projects/migrations/0036_project_transfer_token.py b/taiga/projects/migrations/0036_project_transfer_token.py index fbbdc28b..dbf641df 100644 --- a/taiga/projects/migrations/0036_project_transfer_token.py +++ b/taiga/projects/migrations/0036_project_transfer_token.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import migrations, models diff --git a/taiga/projects/migrations/0037_auto_20160208_1751.py b/taiga/projects/migrations/0037_auto_20160208_1751.py index f0af4359..32aebd24 100644 --- a/taiga/projects/migrations/0037_auto_20160208_1751.py +++ b/taiga/projects/migrations/0037_auto_20160208_1751.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import migrations, models diff --git a/taiga/projects/migrations/0038_auto_20160215_1133.py b/taiga/projects/migrations/0038_auto_20160215_1133.py index 8c374d00..d4aeb10a 100644 --- a/taiga/projects/migrations/0038_auto_20160215_1133.py +++ b/taiga/projects/migrations/0038_auto_20160215_1133.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-02-15 11:33 from __future__ import unicode_literals diff --git a/taiga/projects/migrations/0039_auto_20160322_1157.py b/taiga/projects/migrations/0039_auto_20160322_1157.py index 51227138..49c41e68 100644 --- a/taiga/projects/migrations/0039_auto_20160322_1157.py +++ b/taiga/projects/migrations/0039_auto_20160322_1157.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-03-22 11:57 from __future__ import unicode_literals diff --git a/taiga/projects/migrations/0040_remove_memberships_of_cancelled_users_acounts.py b/taiga/projects/migrations/0040_remove_memberships_of_cancelled_users_acounts.py index e666b4b9..f6d58cf1 100644 --- a/taiga/projects/migrations/0040_remove_memberships_of_cancelled_users_acounts.py +++ b/taiga/projects/migrations/0040_remove_memberships_of_cancelled_users_acounts.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-04-06 15:46 from __future__ import unicode_literals diff --git a/taiga/projects/migrations/0041_auto_20160519_1058.py b/taiga/projects/migrations/0041_auto_20160519_1058.py index 57a476eb..594445da 100644 --- a/taiga/projects/migrations/0041_auto_20160519_1058.py +++ b/taiga/projects/migrations/0041_auto_20160519_1058.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-05-19 10:58 from __future__ import unicode_literals diff --git a/taiga/projects/migrations/0042_auto_20160525_0911.py b/taiga/projects/migrations/0042_auto_20160525_0911.py index 0652df06..22564e52 100644 --- a/taiga/projects/migrations/0042_auto_20160525_0911.py +++ b/taiga/projects/migrations/0042_auto_20160525_0911.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-05-25 09:11 from __future__ import unicode_literals diff --git a/taiga/projects/migrations/0043_auto_20160530_1004.py b/taiga/projects/migrations/0043_auto_20160530_1004.py index 101b3b6e..25c2092d 100644 --- a/taiga/projects/migrations/0043_auto_20160530_1004.py +++ b/taiga/projects/migrations/0043_auto_20160530_1004.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-05-30 10:04 from __future__ import unicode_literals diff --git a/taiga/projects/migrations/0044_auto_20160531_1150.py b/taiga/projects/migrations/0044_auto_20160531_1150.py index 67df71a5..3b56e52a 100644 --- a/taiga/projects/migrations/0044_auto_20160531_1150.py +++ b/taiga/projects/migrations/0044_auto_20160531_1150.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-05-31 11:50 from __future__ import unicode_literals diff --git a/taiga/projects/migrations/0045_merge.py b/taiga/projects/migrations/0045_merge.py index 09b3d419..2618d4e9 100644 --- a/taiga/projects/migrations/0045_merge.py +++ b/taiga/projects/migrations/0045_merge.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-05-31 11:59 from __future__ import unicode_literals diff --git a/taiga/projects/migrations/0046_triggers_to_update_tags_colors.py b/taiga/projects/migrations/0046_triggers_to_update_tags_colors.py index af7fbf8d..196d371d 100644 --- a/taiga/projects/migrations/0046_triggers_to_update_tags_colors.py +++ b/taiga/projects/migrations/0046_triggers_to_update_tags_colors.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-06-07 06:19 from __future__ import unicode_literals diff --git a/taiga/projects/migrations/0047_auto_20160614_1201.py b/taiga/projects/migrations/0047_auto_20160614_1201.py index 53f04a40..c5b9fe3e 100644 --- a/taiga/projects/migrations/0047_auto_20160614_1201.py +++ b/taiga/projects/migrations/0047_auto_20160614_1201.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-06-14 12:01 from __future__ import unicode_literals diff --git a/taiga/projects/migrations/0048_auto_20160615_1508.py b/taiga/projects/migrations/0048_auto_20160615_1508.py index ab8ab0be..c031fbe3 100644 --- a/taiga/projects/migrations/0048_auto_20160615_1508.py +++ b/taiga/projects/migrations/0048_auto_20160615_1508.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-06-15 15:08 from __future__ import unicode_literals diff --git a/taiga/projects/migrations/0049_auto_20160629_1443.py b/taiga/projects/migrations/0049_auto_20160629_1443.py index 4c03365a..fa03873e 100644 --- a/taiga/projects/migrations/0049_auto_20160629_1443.py +++ b/taiga/projects/migrations/0049_auto_20160629_1443.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-06-29 14:43 from __future__ import unicode_literals diff --git a/taiga/projects/migrations/0050_project_epics_csv_uuid.py b/taiga/projects/migrations/0050_project_epics_csv_uuid.py index 2dc87674..5285ec88 100644 --- a/taiga/projects/migrations/0050_project_epics_csv_uuid.py +++ b/taiga/projects/migrations/0050_project_epics_csv_uuid.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-07-20 17:57 from __future__ import unicode_literals diff --git a/taiga/projects/migrations/0051_auto_20160729_0802.py b/taiga/projects/migrations/0051_auto_20160729_0802.py index 24767fdb..e8a667ab 100644 --- a/taiga/projects/migrations/0051_auto_20160729_0802.py +++ b/taiga/projects/migrations/0051_auto_20160729_0802.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-07-29 08:02 from __future__ import unicode_literals diff --git a/taiga/projects/migrations/0052_epic_status.py b/taiga/projects/migrations/0052_epic_status.py index baa9ab46..e8f14538 100644 --- a/taiga/projects/migrations/0052_epic_status.py +++ b/taiga/projects/migrations/0052_epic_status.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-08-25 10:19 from __future__ import unicode_literals diff --git a/taiga/projects/migrations/0053_auto_20160927_0741.py b/taiga/projects/migrations/0053_auto_20160927_0741.py index 0b4d3136..a5a85424 100644 --- a/taiga/projects/migrations/0053_auto_20160927_0741.py +++ b/taiga/projects/migrations/0053_auto_20160927_0741.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-09-27 07:41 from __future__ import unicode_literals diff --git a/taiga/projects/migrations/0054_auto_20160928_0540.py b/taiga/projects/migrations/0054_auto_20160928_0540.py index 6fe8def5..ee448efe 100644 --- a/taiga/projects/migrations/0054_auto_20160928_0540.py +++ b/taiga/projects/migrations/0054_auto_20160928_0540.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-09-28 05:40 from __future__ import unicode_literals diff --git a/taiga/projects/migrations/0055_json_to_jsonb.py b/taiga/projects/migrations/0055_json_to_jsonb.py index f84d35c0..4e15709f 100644 --- a/taiga/projects/migrations/0055_json_to_jsonb.py +++ b/taiga/projects/migrations/0055_json_to_jsonb.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.10.2 on 2016-10-26 11:34 from __future__ import unicode_literals diff --git a/taiga/projects/migrations/0056_auto_20161110_1518.py b/taiga/projects/migrations/0056_auto_20161110_1518.py index 1c03c79c..ee8a21fa 100644 --- a/taiga/projects/migrations/0056_auto_20161110_1518.py +++ b/taiga/projects/migrations/0056_auto_20161110_1518.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-11-10 15:18 from __future__ import unicode_literals diff --git a/taiga/projects/migrations/0057_auto_20161129_0945.py b/taiga/projects/migrations/0057_auto_20161129_0945.py index 0e161a4f..1f568718 100644 --- a/taiga/projects/migrations/0057_auto_20161129_0945.py +++ b/taiga/projects/migrations/0057_auto_20161129_0945.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.10.3 on 2016-11-29 09:45 from __future__ import unicode_literals diff --git a/taiga/projects/migrations/0058_auto_20161215_1347.py b/taiga/projects/migrations/0058_auto_20161215_1347.py index 4781e25a..d435cee3 100644 --- a/taiga/projects/migrations/0058_auto_20161215_1347.py +++ b/taiga/projects/migrations/0058_auto_20161215_1347.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.10.3 on 2016-12-15 13:47 from __future__ import unicode_literals diff --git a/taiga/projects/migrations/0059_auto_20170116_1633.py b/taiga/projects/migrations/0059_auto_20170116_1633.py index dc368cbd..57d2bc1b 100644 --- a/taiga/projects/migrations/0059_auto_20170116_1633.py +++ b/taiga/projects/migrations/0059_auto_20170116_1633.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.10.4 on 2017-01-16 16:33 from __future__ import unicode_literals diff --git a/taiga/projects/migrations/0060_auto_20180614_1338.py b/taiga/projects/migrations/0060_auto_20180614_1338.py index 1ea9bf8f..2f867de4 100644 --- a/taiga/projects/migrations/0060_auto_20180614_1338.py +++ b/taiga/projects/migrations/0060_auto_20180614_1338.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.11.2 on 2018-06-14 13:38 from __future__ import unicode_literals diff --git a/taiga/projects/migrations/0061_auto_20180918_1355.py b/taiga/projects/migrations/0061_auto_20180918_1355.py index b25cf303..4307a4d6 100644 --- a/taiga/projects/migrations/0061_auto_20180918_1355.py +++ b/taiga/projects/migrations/0061_auto_20180918_1355.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.11.2 on 2018-09-18 13:55 from __future__ import unicode_literals diff --git a/taiga/projects/migrations/0062_auto_20190826_0920.py b/taiga/projects/migrations/0062_auto_20190826_0920.py index eb4fee8f..4f776817 100644 --- a/taiga/projects/migrations/0062_auto_20190826_0920.py +++ b/taiga/projects/migrations/0062_auto_20190826_0920.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.11.22 on 2019-08-26 09:20 from __future__ import unicode_literals diff --git a/taiga/projects/migrations/0063_auto_20200615_0811.py b/taiga/projects/migrations/0063_auto_20200615_0811.py index 8b8ae9d0..da9f2583 100644 --- a/taiga/projects/migrations/0063_auto_20200615_0811.py +++ b/taiga/projects/migrations/0063_auto_20200615_0811.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 2.2.12 on 2020-06-15 08:11 from django.conf import settings diff --git a/taiga/projects/migrations/0064_swimlane.py b/taiga/projects/migrations/0064_swimlane.py index c6ace678..d70c7b66 100644 --- a/taiga/projects/migrations/0064_swimlane.py +++ b/taiga/projects/migrations/0064_swimlane.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 2.2.15 on 2020-10-07 16:04 from django.db import migrations, models diff --git a/taiga/projects/migrations/0065_swimlaneuserstorystatus.py b/taiga/projects/migrations/0065_swimlaneuserstorystatus.py index 8787e51f..ac95b8ae 100644 --- a/taiga/projects/migrations/0065_swimlaneuserstorystatus.py +++ b/taiga/projects/migrations/0065_swimlaneuserstorystatus.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 2.2.14 on 2020-11-11 17:18 from django.db import migrations, models diff --git a/taiga/projects/migrations/0066_project_default_swimlane.py b/taiga/projects/migrations/0066_project_default_swimlane.py index bea52aeb..1404e533 100644 --- a/taiga/projects/migrations/0066_project_default_swimlane.py +++ b/taiga/projects/migrations/0066_project_default_swimlane.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 2.2.14 on 2020-11-23 16:52 from django.db import migrations, models diff --git a/taiga/projects/migrations/0067_auto_20201230_1237.py b/taiga/projects/migrations/0067_auto_20201230_1237.py index cc6d208e..079f9624 100644 --- a/taiga/projects/migrations/0067_auto_20201230_1237.py +++ b/taiga/projects/migrations/0067_auto_20201230_1237.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 2.2.17 on 2020-12-30 12:37 from django.db import migrations diff --git a/taiga/projects/migrations/__init__.py b/taiga/projects/migrations/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/projects/migrations/__init__.py +++ b/taiga/projects/migrations/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/projects/milestones/__init__.py b/taiga/projects/milestones/__init__.py index eba27820..592d16f8 100644 --- a/taiga/projects/milestones/__init__.py +++ b/taiga/projects/milestones/__init__.py @@ -1,2 +1,9 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # default_app_config = "taiga.projects.milestones.apps.MilestonesAppConfig" diff --git a/taiga/projects/milestones/admin.py b/taiga/projects/milestones/admin.py index 0075eebd..58339f69 100644 --- a/taiga/projects/milestones/admin.py +++ b/taiga/projects/milestones/admin.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.contrib import admin from taiga.projects.notifications.admin import WatchedInline from taiga.projects.votes.admin import VoteInline diff --git a/taiga/projects/milestones/api.py b/taiga/projects/milestones/api.py index a5df1e0d..a148a370 100644 --- a/taiga/projects/milestones/api.py +++ b/taiga/projects/milestones/api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.apps import apps from taiga.base import filters diff --git a/taiga/projects/milestones/apps.py b/taiga/projects/milestones/apps.py index db9c4984..73dfc3a2 100644 --- a/taiga/projects/milestones/apps.py +++ b/taiga/projects/milestones/apps.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # from django.apps import AppConfig diff --git a/taiga/projects/milestones/migrations/0001_initial.py b/taiga/projects/milestones/migrations/0001_initial.py index cd1e856e..865cfaa6 100644 --- a/taiga/projects/milestones/migrations/0001_initial.py +++ b/taiga/projects/milestones/migrations/0001_initial.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/milestones/migrations/0002_remove_milestone_watchers.py b/taiga/projects/milestones/migrations/0002_remove_milestone_watchers.py index 0d8a3a61..89e5953b 100644 --- a/taiga/projects/milestones/migrations/0002_remove_milestone_watchers.py +++ b/taiga/projects/milestones/migrations/0002_remove_milestone_watchers.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import connection diff --git a/taiga/projects/milestones/migrations/0003_auto_20200615_0811.py b/taiga/projects/milestones/migrations/0003_auto_20200615_0811.py index d504ca69..627f9bcb 100644 --- a/taiga/projects/milestones/migrations/0003_auto_20200615_0811.py +++ b/taiga/projects/milestones/migrations/0003_auto_20200615_0811.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 2.2.12 on 2020-06-15 08:11 from django.db import migrations, models diff --git a/taiga/projects/milestones/migrations/__init__.py b/taiga/projects/milestones/migrations/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/projects/milestones/migrations/__init__.py +++ b/taiga/projects/milestones/migrations/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/projects/milestones/models.py b/taiga/projects/milestones/models.py index ed6a867e..845b6ba4 100644 --- a/taiga/projects/milestones/models.py +++ b/taiga/projects/milestones/models.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.db import models from django.db.models import Count from django.conf import settings diff --git a/taiga/projects/milestones/permissions.py b/taiga/projects/milestones/permissions.py index 363c5c5b..4777fb70 100644 --- a/taiga/projects/milestones/permissions.py +++ b/taiga/projects/milestones/permissions.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api.permissions import (TaigaResourcePermission, HasProjectPerm, IsAuthenticated, IsProjectAdmin, AllowAny, IsSuperUser) diff --git a/taiga/projects/milestones/serializers.py b/taiga/projects/milestones/serializers.py index ea28e8e9..aebe8c79 100644 --- a/taiga/projects/milestones/serializers.py +++ b/taiga/projects/milestones/serializers.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api import serializers from taiga.base.fields import Field, MethodField from taiga.projects.notifications.mixins import WatchedResourceSerializer diff --git a/taiga/projects/milestones/services.py b/taiga/projects/milestones/services.py index 239af415..5d9542f6 100644 --- a/taiga/projects/milestones/services.py +++ b/taiga/projects/milestones/services.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.utils import db from taiga.events import events from taiga.projects.history.services import take_snapshot diff --git a/taiga/projects/milestones/signals.py b/taiga/projects/milestones/signals.py index e69de29b..b92267f0 100644 --- a/taiga/projects/milestones/signals.py +++ b/taiga/projects/milestones/signals.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/projects/milestones/utils.py b/taiga/projects/milestones/utils.py index 8ca5da1b..41f68c81 100644 --- a/taiga/projects/milestones/utils.py +++ b/taiga/projects/milestones/utils.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.apps import apps from django.db.models import Prefetch diff --git a/taiga/projects/milestones/validators.py b/taiga/projects/milestones/validators.py index 82c80782..0d73d79d 100644 --- a/taiga/projects/milestones/validators.py +++ b/taiga/projects/milestones/validators.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.utils.translation import ugettext as _ from taiga.base.exceptions import ValidationError diff --git a/taiga/projects/mixins/__init__.py b/taiga/projects/mixins/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/projects/mixins/__init__.py +++ b/taiga/projects/mixins/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/projects/mixins/blocked.py b/taiga/projects/mixins/blocked.py index 434afd97..0d348646 100644 --- a/taiga/projects/mixins/blocked.py +++ b/taiga/projects/mixins/blocked.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + ########## # MODELS # ########## diff --git a/taiga/projects/mixins/by_ref.py b/taiga/projects/mixins/by_ref.py index 6b5539f7..0941d3eb 100644 --- a/taiga/projects/mixins/by_ref.py +++ b/taiga/projects/mixins/by_ref.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.utils.translation import ugettext as _ from taiga.base import response diff --git a/taiga/projects/mixins/on_destroy.py b/taiga/projects/mixins/on_destroy.py index c763195a..32cb5757 100644 --- a/taiga/projects/mixins/on_destroy.py +++ b/taiga/projects/mixins/on_destroy.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.db import transaction as tx from django.utils.translation import ugettext as _ diff --git a/taiga/projects/mixins/ordering.py b/taiga/projects/mixins/ordering.py index bca84bb8..047b0cc3 100644 --- a/taiga/projects/mixins/ordering.py +++ b/taiga/projects/mixins/ordering.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.utils.translation import ugettext as _ from taiga.base import response diff --git a/taiga/projects/mixins/promote.py b/taiga/projects/mixins/promote.py index 7c478136..45c67f93 100644 --- a/taiga/projects/mixins/promote.py +++ b/taiga/projects/mixins/promote.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # from taiga.base import response from taiga.base.api.utils import get_object_or_404 diff --git a/taiga/projects/mixins/serializers.py b/taiga/projects/mixins/serializers.py index 197bc698..a56c29d1 100644 --- a/taiga/projects/mixins/serializers.py +++ b/taiga/projects/mixins/serializers.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.utils.translation import ugettext as _ from taiga.base.api import serializers diff --git a/taiga/projects/mixins/validators.py b/taiga/projects/mixins/validators.py index 2c7d0d20..6db5e629 100644 --- a/taiga/projects/mixins/validators.py +++ b/taiga/projects/mixins/validators.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.utils.translation import ugettext as _ from taiga.base.api import validators, serializers diff --git a/taiga/projects/models.py b/taiga/projects/models.py index f9d2e8c2..b1e04b3f 100644 --- a/taiga/projects/models.py +++ b/taiga/projects/models.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.conf import settings from django.contrib.auth import get_user_model from django.contrib.postgres.fields import ArrayField diff --git a/taiga/projects/notifications/__init__.py b/taiga/projects/notifications/__init__.py index 66e8a559..7f0102c2 100644 --- a/taiga/projects/notifications/__init__.py +++ b/taiga/projects/notifications/__init__.py @@ -1,2 +1,8 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + default_app_config = "taiga.projects.notifications.apps.NotificationsAppConfig" diff --git a/taiga/projects/notifications/admin.py b/taiga/projects/notifications/admin.py index ccc278e4..e048de9f 100644 --- a/taiga/projects/notifications/admin.py +++ b/taiga/projects/notifications/admin.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.contrib import admin from django.contrib.contenttypes.admin import GenericTabularInline from django.contrib.admin import TabularInline diff --git a/taiga/projects/notifications/api.py b/taiga/projects/notifications/api.py index 4360fe54..655cff10 100644 --- a/taiga/projects/notifications/api.py +++ b/taiga/projects/notifications/api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.db.models import Q from django.utils import timezone diff --git a/taiga/projects/notifications/apps.py b/taiga/projects/notifications/apps.py index 7b7a9dfc..2c96b256 100644 --- a/taiga/projects/notifications/apps.py +++ b/taiga/projects/notifications/apps.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django import dispatch from django.apps import AppConfig diff --git a/taiga/projects/notifications/choices.py b/taiga/projects/notifications/choices.py index 97bd46aa..b202f3c4 100644 --- a/taiga/projects/notifications/choices.py +++ b/taiga/projects/notifications/choices.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import enum from django.utils.translation import ugettext_lazy as _ diff --git a/taiga/projects/notifications/management/commands/__init__.py b/taiga/projects/notifications/management/commands/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/projects/notifications/management/commands/__init__.py +++ b/taiga/projects/notifications/management/commands/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/projects/notifications/management/commands/send_notifications.py b/taiga/projects/notifications/management/commands/send_notifications.py index 5c0d32d6..8ea4f359 100644 --- a/taiga/projects/notifications/management/commands/send_notifications.py +++ b/taiga/projects/notifications/management/commands/send_notifications.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.core.management.base import BaseCommand from taiga.projects.notifications.services import send_bulk_email diff --git a/taiga/projects/notifications/migrations/0001_initial.py b/taiga/projects/notifications/migrations/0001_initial.py index 0fb7de8c..a80637d0 100644 --- a/taiga/projects/notifications/migrations/0001_initial.py +++ b/taiga/projects/notifications/migrations/0001_initial.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/notifications/migrations/0002_historychangenotification.py b/taiga/projects/notifications/migrations/0002_historychangenotification.py index 846666dd..4ff57e2d 100644 --- a/taiga/projects/notifications/migrations/0002_historychangenotification.py +++ b/taiga/projects/notifications/migrations/0002_historychangenotification.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/notifications/migrations/0003_auto_20141029_1143.py b/taiga/projects/notifications/migrations/0003_auto_20141029_1143.py index 1f5f6b93..2ed05130 100644 --- a/taiga/projects/notifications/migrations/0003_auto_20141029_1143.py +++ b/taiga/projects/notifications/migrations/0003_auto_20141029_1143.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/notifications/migrations/0004_watched.py b/taiga/projects/notifications/migrations/0004_watched.py index dc2e668f..25e26ac6 100644 --- a/taiga/projects/notifications/migrations/0004_watched.py +++ b/taiga/projects/notifications/migrations/0004_watched.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/notifications/migrations/0005_auto_20151005_1357.py b/taiga/projects/notifications/migrations/0005_auto_20151005_1357.py index 3d38d5e6..1039d042 100644 --- a/taiga/projects/notifications/migrations/0005_auto_20151005_1357.py +++ b/taiga/projects/notifications/migrations/0005_auto_20151005_1357.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/notifications/migrations/0006_auto_20151103_0954.py b/taiga/projects/notifications/migrations/0006_auto_20151103_0954.py index 6f282a0f..83488788 100644 --- a/taiga/projects/notifications/migrations/0006_auto_20151103_0954.py +++ b/taiga/projects/notifications/migrations/0006_auto_20151103_0954.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import migrations, models diff --git a/taiga/projects/notifications/migrations/0007_notifypolicy_live_notify_level.py b/taiga/projects/notifications/migrations/0007_notifypolicy_live_notify_level.py index 73a106cc..0de4fde5 100644 --- a/taiga/projects/notifications/migrations/0007_notifypolicy_live_notify_level.py +++ b/taiga/projects/notifications/migrations/0007_notifypolicy_live_notify_level.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.10.6 on 2017-03-31 13:03 from __future__ import unicode_literals diff --git a/taiga/projects/notifications/migrations/0008_auto_20181010_1124.py b/taiga/projects/notifications/migrations/0008_auto_20181010_1124.py index 98ef8019..4461235d 100644 --- a/taiga/projects/notifications/migrations/0008_auto_20181010_1124.py +++ b/taiga/projects/notifications/migrations/0008_auto_20181010_1124.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.11.2 on 2018-10-10 11:24 from __future__ import unicode_literals diff --git a/taiga/projects/notifications/migrations/0009_auto_20200615_0811.py b/taiga/projects/notifications/migrations/0009_auto_20200615_0811.py index bfff6f0d..f9ed69f3 100644 --- a/taiga/projects/notifications/migrations/0009_auto_20200615_0811.py +++ b/taiga/projects/notifications/migrations/0009_auto_20200615_0811.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 2.2.12 on 2020-06-15 08:11 from django.db import migrations, models diff --git a/taiga/projects/notifications/migrations/__init__.py b/taiga/projects/notifications/migrations/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/projects/notifications/migrations/__init__.py +++ b/taiga/projects/notifications/migrations/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/projects/notifications/mixins.py b/taiga/projects/notifications/mixins.py index d1cdd26e..6b632578 100644 --- a/taiga/projects/notifications/mixins.py +++ b/taiga/projects/notifications/mixins.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from functools import partial from operator import is_not diff --git a/taiga/projects/notifications/models.py b/taiga/projects/notifications/models.py index a961e4c6..b30c4514 100644 --- a/taiga/projects/notifications/models.py +++ b/taiga/projects/notifications/models.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.conf import settings from django.contrib.contenttypes.fields import GenericForeignKey diff --git a/taiga/projects/notifications/permissions.py b/taiga/projects/notifications/permissions.py index ff61b11f..e30a59f0 100644 --- a/taiga/projects/notifications/permissions.py +++ b/taiga/projects/notifications/permissions.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api.permissions import (TaigaResourcePermission, IsAuthenticated) diff --git a/taiga/projects/notifications/serializers.py b/taiga/projects/notifications/serializers.py index d7e65ee0..248120f0 100644 --- a/taiga/projects/notifications/serializers.py +++ b/taiga/projects/notifications/serializers.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.contrib.contenttypes.models import ContentType from taiga.base.api import serializers diff --git a/taiga/projects/notifications/services.py b/taiga/projects/notifications/services.py index d039f849..4ceeb735 100644 --- a/taiga/projects/notifications/services.py +++ b/taiga/projects/notifications/services.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import datetime from functools import partial diff --git a/taiga/projects/notifications/signals.py b/taiga/projects/notifications/signals.py index b33dc408..ca7d26ee 100644 --- a/taiga/projects/notifications/signals.py +++ b/taiga/projects/notifications/signals.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.contrib.contenttypes.models import ContentType from django.db import transaction from django.utils import timezone diff --git a/taiga/projects/notifications/squashing.py b/taiga/projects/notifications/squashing.py index 862d56f9..cb5d28d0 100644 --- a/taiga/projects/notifications/squashing.py +++ b/taiga/projects/notifications/squashing.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from collections import namedtuple, OrderedDict diff --git a/taiga/projects/notifications/tasks.py b/taiga/projects/notifications/tasks.py index a2023ed3..339eff67 100644 --- a/taiga/projects/notifications/tasks.py +++ b/taiga/projects/notifications/tasks.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.celery import app from . import services diff --git a/taiga/projects/notifications/templates/emails/epics/epic-change-body-html.jinja b/taiga/projects/notifications/templates/emails/epics/epic-change-body-html.jinja index 3b0141a2..3d8d94f1 100644 --- a/taiga/projects/notifications/templates/emails/epics/epic-change-body-html.jinja +++ b/taiga/projects/notifications/templates/emails/epics/epic-change-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/updates-body-html.jinja" %} {% block head %} diff --git a/taiga/projects/notifications/templates/emails/epics/epic-change-body-text.jinja b/taiga/projects/notifications/templates/emails/epics/epic-change-body-text.jinja index 1d6800e2..9e01f0b4 100644 --- a/taiga/projects/notifications/templates/emails/epics/epic-change-body-text.jinja +++ b/taiga/projects/notifications/templates/emails/epics/epic-change-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/updates-body-text.jinja" %} {% block head %} {% trans user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, ref=snapshot.ref, subject=snapshot.subject, url=resolve_front_url("epic", project.slug, snapshot.ref) %} diff --git a/taiga/projects/notifications/templates/emails/epics/epic-change-subject.jinja b/taiga/projects/notifications/templates/emails/epics/epic-change-subject.jinja index d66464e0..4ab0476f 100644 --- a/taiga/projects/notifications/templates/emails/epics/epic-change-subject.jinja +++ b/taiga/projects/notifications/templates/emails/epics/epic-change-subject.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans project=project.name|safe, ref=snapshot.ref, subject=snapshot.subject|safe %} [{{ project }}] Updated the epic #{{ ref }} "{{ subject }}" {% endtrans %} diff --git a/taiga/projects/notifications/templates/emails/epics/epic-create-body-html.jinja b/taiga/projects/notifications/templates/emails/epics/epic-create-body-html.jinja index d351e3e0..af77f627 100644 --- a/taiga/projects/notifications/templates/emails/epics/epic-create-body-html.jinja +++ b/taiga/projects/notifications/templates/emails/epics/epic-create-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/base-body-html.jinja" %} {% block body %} diff --git a/taiga/projects/notifications/templates/emails/epics/epic-create-body-text.jinja b/taiga/projects/notifications/templates/emails/epics/epic-create-body-text.jinja index a23d3eeb..379ed010 100644 --- a/taiga/projects/notifications/templates/emails/epics/epic-create-body-text.jinja +++ b/taiga/projects/notifications/templates/emails/epics/epic-create-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans signature=sr("signature"), user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, ref=snapshot.ref, subject=snapshot.subject, url=resolve_front_url("epic", project.slug, snapshot.ref) %} New epic created Hello {{ user }}, {{ changer }} has created a new epic on {{ project }} diff --git a/taiga/projects/notifications/templates/emails/epics/epic-create-subject.jinja b/taiga/projects/notifications/templates/emails/epics/epic-create-subject.jinja index d41e9c78..313f0e47 100644 --- a/taiga/projects/notifications/templates/emails/epics/epic-create-subject.jinja +++ b/taiga/projects/notifications/templates/emails/epics/epic-create-subject.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans project=project.name|safe, ref=snapshot.ref, subject=snapshot.subject|safe %} [{{ project }}] Created the epic #{{ ref }} "{{ subject }}" {% endtrans %} diff --git a/taiga/projects/notifications/templates/emails/epics/epic-delete-body-html.jinja b/taiga/projects/notifications/templates/emails/epics/epic-delete-body-html.jinja index 03d412bc..d16afe8c 100644 --- a/taiga/projects/notifications/templates/emails/epics/epic-delete-body-html.jinja +++ b/taiga/projects/notifications/templates/emails/epics/epic-delete-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/base-body-html.jinja" %} {% block body %} diff --git a/taiga/projects/notifications/templates/emails/epics/epic-delete-body-text.jinja b/taiga/projects/notifications/templates/emails/epics/epic-delete-body-text.jinja index 22e57717..4f8bdd76 100644 --- a/taiga/projects/notifications/templates/emails/epics/epic-delete-body-text.jinja +++ b/taiga/projects/notifications/templates/emails/epics/epic-delete-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans signature=sr("signature"), user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, ref=snapshot.ref, subject=snapshot.subject %} Epic deleted Hello {{ user }}, {{ changer }} has deleted a epic on {{ project }} diff --git a/taiga/projects/notifications/templates/emails/epics/epic-delete-subject.jinja b/taiga/projects/notifications/templates/emails/epics/epic-delete-subject.jinja index 65286ec2..698e0188 100644 --- a/taiga/projects/notifications/templates/emails/epics/epic-delete-subject.jinja +++ b/taiga/projects/notifications/templates/emails/epics/epic-delete-subject.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans project=project.name|safe, ref=snapshot.ref, subject=snapshot.subject|safe %} [{{ project }}] Deleted the epic #{{ ref }} "{{ subject }}" {% endtrans %} diff --git a/taiga/projects/notifications/templates/emails/issues/issue-change-body-html.jinja b/taiga/projects/notifications/templates/emails/issues/issue-change-body-html.jinja index cd188063..731d59a0 100644 --- a/taiga/projects/notifications/templates/emails/issues/issue-change-body-html.jinja +++ b/taiga/projects/notifications/templates/emails/issues/issue-change-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/updates-body-html.jinja" %} {% block head %} diff --git a/taiga/projects/notifications/templates/emails/issues/issue-change-body-text.jinja b/taiga/projects/notifications/templates/emails/issues/issue-change-body-text.jinja index 1a275ba0..e0e9111b 100644 --- a/taiga/projects/notifications/templates/emails/issues/issue-change-body-text.jinja +++ b/taiga/projects/notifications/templates/emails/issues/issue-change-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/updates-body-text.jinja" %} {% block head %} {% trans user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, ref=snapshot.ref, subject=snapshot.subject, url=resolve_front_url("issue", project.slug, snapshot.ref) %} diff --git a/taiga/projects/notifications/templates/emails/issues/issue-change-subject.jinja b/taiga/projects/notifications/templates/emails/issues/issue-change-subject.jinja index 707e2703..d7fb05e8 100644 --- a/taiga/projects/notifications/templates/emails/issues/issue-change-subject.jinja +++ b/taiga/projects/notifications/templates/emails/issues/issue-change-subject.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans project=project.name|safe, ref=snapshot.ref, subject=snapshot.subject|safe %} [{{ project }}] Updated the issue #{{ ref }} "{{ subject }}" {% endtrans %} diff --git a/taiga/projects/notifications/templates/emails/issues/issue-create-body-html.jinja b/taiga/projects/notifications/templates/emails/issues/issue-create-body-html.jinja index f4514bf2..b15764ae 100644 --- a/taiga/projects/notifications/templates/emails/issues/issue-create-body-html.jinja +++ b/taiga/projects/notifications/templates/emails/issues/issue-create-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/base-body-html.jinja" %} {% block body %} diff --git a/taiga/projects/notifications/templates/emails/issues/issue-create-body-text.jinja b/taiga/projects/notifications/templates/emails/issues/issue-create-body-text.jinja index 877b11c1..a6b5fb9d 100644 --- a/taiga/projects/notifications/templates/emails/issues/issue-create-body-text.jinja +++ b/taiga/projects/notifications/templates/emails/issues/issue-create-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans signature=sr("signature"), user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, ref=snapshot.ref, subject=snapshot.subject, url=resolve_front_url("issue", project.slug, snapshot.ref) %} New issue created on {{ project }} diff --git a/taiga/projects/notifications/templates/emails/issues/issue-create-subject.jinja b/taiga/projects/notifications/templates/emails/issues/issue-create-subject.jinja index 7e4cf6bd..86ee52a7 100644 --- a/taiga/projects/notifications/templates/emails/issues/issue-create-subject.jinja +++ b/taiga/projects/notifications/templates/emails/issues/issue-create-subject.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans project=project.name|safe, ref=snapshot.ref, subject=snapshot.subject|safe %} [{{ project }}] Created the issue #{{ ref }} "{{ subject }}" {% endtrans %} diff --git a/taiga/projects/notifications/templates/emails/issues/issue-delete-body-html.jinja b/taiga/projects/notifications/templates/emails/issues/issue-delete-body-html.jinja index 113734ca..789566c8 100644 --- a/taiga/projects/notifications/templates/emails/issues/issue-delete-body-html.jinja +++ b/taiga/projects/notifications/templates/emails/issues/issue-delete-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/base-body-html.jinja" %} {% block body %} diff --git a/taiga/projects/notifications/templates/emails/issues/issue-delete-body-text.jinja b/taiga/projects/notifications/templates/emails/issues/issue-delete-body-text.jinja index 25dfb84c..7923a8f1 100644 --- a/taiga/projects/notifications/templates/emails/issues/issue-delete-body-text.jinja +++ b/taiga/projects/notifications/templates/emails/issues/issue-delete-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans signature=sr("signature"), user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, ref=snapshot.ref, subject=snapshot.subject %} Issue deleted on {{ project }} diff --git a/taiga/projects/notifications/templates/emails/issues/issue-delete-subject.jinja b/taiga/projects/notifications/templates/emails/issues/issue-delete-subject.jinja index bf297fa4..acf9d729 100644 --- a/taiga/projects/notifications/templates/emails/issues/issue-delete-subject.jinja +++ b/taiga/projects/notifications/templates/emails/issues/issue-delete-subject.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans project=project.name|safe, ref=snapshot.ref, subject=snapshot.subject|safe %} [{{ project }}] Deleted the issue #{{ ref }} "{{ subject }}" {% endtrans %} diff --git a/taiga/projects/notifications/templates/emails/milestones/milestone-change-body-html.jinja b/taiga/projects/notifications/templates/emails/milestones/milestone-change-body-html.jinja index 56f3f581..5aa90563 100644 --- a/taiga/projects/notifications/templates/emails/milestones/milestone-change-body-html.jinja +++ b/taiga/projects/notifications/templates/emails/milestones/milestone-change-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/updates-body-html.jinja" %} {% block head %} diff --git a/taiga/projects/notifications/templates/emails/milestones/milestone-change-body-text.jinja b/taiga/projects/notifications/templates/emails/milestones/milestone-change-body-text.jinja index 002d9de8..57e9d99b 100644 --- a/taiga/projects/notifications/templates/emails/milestones/milestone-change-body-text.jinja +++ b/taiga/projects/notifications/templates/emails/milestones/milestone-change-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/updates-body-text.jinja" %} {% block head %} {% trans user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, name=snapshot.name, url=resolve_front_url("task", project.slug, snapshot.slug) %} diff --git a/taiga/projects/notifications/templates/emails/milestones/milestone-change-subject.jinja b/taiga/projects/notifications/templates/emails/milestones/milestone-change-subject.jinja index 400bf944..19259f8d 100644 --- a/taiga/projects/notifications/templates/emails/milestones/milestone-change-subject.jinja +++ b/taiga/projects/notifications/templates/emails/milestones/milestone-change-subject.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans project=project.name|safe, milestone=snapshot.name|safe %} [{{ project }}] Updated the sprint "{{ milestone }}" {% endtrans %} diff --git a/taiga/projects/notifications/templates/emails/milestones/milestone-create-body-html.jinja b/taiga/projects/notifications/templates/emails/milestones/milestone-create-body-html.jinja index 95fb5939..8d574c26 100644 --- a/taiga/projects/notifications/templates/emails/milestones/milestone-create-body-html.jinja +++ b/taiga/projects/notifications/templates/emails/milestones/milestone-create-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/base-body-html.jinja" %} {% block body %} diff --git a/taiga/projects/notifications/templates/emails/milestones/milestone-create-body-text.jinja b/taiga/projects/notifications/templates/emails/milestones/milestone-create-body-text.jinja index 711efd2f..c05170f8 100644 --- a/taiga/projects/notifications/templates/emails/milestones/milestone-create-body-text.jinja +++ b/taiga/projects/notifications/templates/emails/milestones/milestone-create-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans signature=sr("signature"), user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, name=snapshot.name, url=resolve_front_url("taskboard", project.slug, snapshot.slug) %} New sprint created on {{ project }} diff --git a/taiga/projects/notifications/templates/emails/milestones/milestone-create-subject.jinja b/taiga/projects/notifications/templates/emails/milestones/milestone-create-subject.jinja index 10656b83..c390a871 100644 --- a/taiga/projects/notifications/templates/emails/milestones/milestone-create-subject.jinja +++ b/taiga/projects/notifications/templates/emails/milestones/milestone-create-subject.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans project=project.name|safe, milestone=snapshot.name|safe %} [{{ project }}] Created the sprint "{{ milestone }}" {% endtrans %} diff --git a/taiga/projects/notifications/templates/emails/milestones/milestone-delete-body-html.jinja b/taiga/projects/notifications/templates/emails/milestones/milestone-delete-body-html.jinja index 4bd01f15..e3672977 100644 --- a/taiga/projects/notifications/templates/emails/milestones/milestone-delete-body-html.jinja +++ b/taiga/projects/notifications/templates/emails/milestones/milestone-delete-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/base-body-html.jinja" %} {% block body %} diff --git a/taiga/projects/notifications/templates/emails/milestones/milestone-delete-body-text.jinja b/taiga/projects/notifications/templates/emails/milestones/milestone-delete-body-text.jinja index 4b16d265..8b261e1a 100644 --- a/taiga/projects/notifications/templates/emails/milestones/milestone-delete-body-text.jinja +++ b/taiga/projects/notifications/templates/emails/milestones/milestone-delete-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans signature=sr("signature"), user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, name=snapshot.name %} Sprint deleted on {{ project }} diff --git a/taiga/projects/notifications/templates/emails/milestones/milestone-delete-subject.jinja b/taiga/projects/notifications/templates/emails/milestones/milestone-delete-subject.jinja index 11404786..0caebcbd 100644 --- a/taiga/projects/notifications/templates/emails/milestones/milestone-delete-subject.jinja +++ b/taiga/projects/notifications/templates/emails/milestones/milestone-delete-subject.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans project=project.name|safe, milestone=snapshot.name|safe %} [{{ project }}] Deleted the Sprint "{{ milestone }}" {% endtrans %} diff --git a/taiga/projects/notifications/templates/emails/tasks/task-change-body-html.jinja b/taiga/projects/notifications/templates/emails/tasks/task-change-body-html.jinja index 666101d2..0953899e 100644 --- a/taiga/projects/notifications/templates/emails/tasks/task-change-body-html.jinja +++ b/taiga/projects/notifications/templates/emails/tasks/task-change-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/updates-body-html.jinja" %} {% block head %} diff --git a/taiga/projects/notifications/templates/emails/tasks/task-change-body-text.jinja b/taiga/projects/notifications/templates/emails/tasks/task-change-body-text.jinja index b3d3ffd5..0a517eb9 100644 --- a/taiga/projects/notifications/templates/emails/tasks/task-change-body-text.jinja +++ b/taiga/projects/notifications/templates/emails/tasks/task-change-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/updates-body-text.jinja" %} {% block head %} {% trans user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, ref=snapshot.ref, subject=snapshot.subject, url=resolve_front_url("task", project.slug, snapshot.ref) %} diff --git a/taiga/projects/notifications/templates/emails/tasks/task-change-subject.jinja b/taiga/projects/notifications/templates/emails/tasks/task-change-subject.jinja index 44fde7e5..20cf5173 100644 --- a/taiga/projects/notifications/templates/emails/tasks/task-change-subject.jinja +++ b/taiga/projects/notifications/templates/emails/tasks/task-change-subject.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans project=project.name|safe, ref=snapshot.ref, subject=snapshot.subject|safe %} [{{ project }}] Updated the task #{{ ref }} "{{ subject }}" {% endtrans %} diff --git a/taiga/projects/notifications/templates/emails/tasks/task-create-body-html.jinja b/taiga/projects/notifications/templates/emails/tasks/task-create-body-html.jinja index aeb9f3a9..6b8e6b7f 100644 --- a/taiga/projects/notifications/templates/emails/tasks/task-create-body-html.jinja +++ b/taiga/projects/notifications/templates/emails/tasks/task-create-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/base-body-html.jinja" %} {% block body %} diff --git a/taiga/projects/notifications/templates/emails/tasks/task-create-body-text.jinja b/taiga/projects/notifications/templates/emails/tasks/task-create-body-text.jinja index 1190ed9a..91086d00 100644 --- a/taiga/projects/notifications/templates/emails/tasks/task-create-body-text.jinja +++ b/taiga/projects/notifications/templates/emails/tasks/task-create-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans signature=sr("signature"), user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, ref=snapshot.ref, subject=snapshot.subject, url=resolve_front_url("task", project.slug, snapshot.ref) %} New task created on {{ project }} diff --git a/taiga/projects/notifications/templates/emails/tasks/task-create-subject.jinja b/taiga/projects/notifications/templates/emails/tasks/task-create-subject.jinja index d107e855..a711e59a 100644 --- a/taiga/projects/notifications/templates/emails/tasks/task-create-subject.jinja +++ b/taiga/projects/notifications/templates/emails/tasks/task-create-subject.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans project=project.name|safe, ref=snapshot.ref, subject=snapshot.subject|safe %} [{{ project }}] Created the task #{{ ref }} "{{ subject }}" {% endtrans %} diff --git a/taiga/projects/notifications/templates/emails/tasks/task-delete-body-html.jinja b/taiga/projects/notifications/templates/emails/tasks/task-delete-body-html.jinja index 16c6086d..4e1d65bb 100644 --- a/taiga/projects/notifications/templates/emails/tasks/task-delete-body-html.jinja +++ b/taiga/projects/notifications/templates/emails/tasks/task-delete-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/base-body-html.jinja" %} {% block body %} diff --git a/taiga/projects/notifications/templates/emails/tasks/task-delete-body-text.jinja b/taiga/projects/notifications/templates/emails/tasks/task-delete-body-text.jinja index 35d0d8c7..a76cac17 100644 --- a/taiga/projects/notifications/templates/emails/tasks/task-delete-body-text.jinja +++ b/taiga/projects/notifications/templates/emails/tasks/task-delete-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans signature=sr("signature"), user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, ref=snapshot.ref, subject=snapshot.subject %} Task deleted on {{ project }} diff --git a/taiga/projects/notifications/templates/emails/tasks/task-delete-subject.jinja b/taiga/projects/notifications/templates/emails/tasks/task-delete-subject.jinja index e80e164f..213854af 100644 --- a/taiga/projects/notifications/templates/emails/tasks/task-delete-subject.jinja +++ b/taiga/projects/notifications/templates/emails/tasks/task-delete-subject.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans project=project.name|safe, ref=snapshot.ref, subject=snapshot.subject|safe %} [{{ project }}] Deleted the task #{{ ref }} "{{ subject }}" {% endtrans %} diff --git a/taiga/projects/notifications/templates/emails/userstories/userstory-change-body-html.jinja b/taiga/projects/notifications/templates/emails/userstories/userstory-change-body-html.jinja index db1a6b76..695a4a8c 100644 --- a/taiga/projects/notifications/templates/emails/userstories/userstory-change-body-html.jinja +++ b/taiga/projects/notifications/templates/emails/userstories/userstory-change-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/updates-body-html.jinja" %} {% block head %} diff --git a/taiga/projects/notifications/templates/emails/userstories/userstory-change-body-text.jinja b/taiga/projects/notifications/templates/emails/userstories/userstory-change-body-text.jinja index 1d0cd69f..148af6d9 100644 --- a/taiga/projects/notifications/templates/emails/userstories/userstory-change-body-text.jinja +++ b/taiga/projects/notifications/templates/emails/userstories/userstory-change-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/updates-body-text.jinja" %} {% block head %} {% trans user=user.get_full_name(), changer=changer.get_full_name(), project=project.name,ref=snapshot.ref, subject=snapshot.subject, url=resolve_front_url("userstory", project.slug, snapshot.ref) %} diff --git a/taiga/projects/notifications/templates/emails/userstories/userstory-change-subject.jinja b/taiga/projects/notifications/templates/emails/userstories/userstory-change-subject.jinja index e116e403..0a913481 100644 --- a/taiga/projects/notifications/templates/emails/userstories/userstory-change-subject.jinja +++ b/taiga/projects/notifications/templates/emails/userstories/userstory-change-subject.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans project=project.name|safe, ref=snapshot.ref, subject=snapshot.subject|safe %} [{{ project }}] Updated the US #{{ ref }} "{{ subject }}" {% endtrans %} diff --git a/taiga/projects/notifications/templates/emails/userstories/userstory-create-body-html.jinja b/taiga/projects/notifications/templates/emails/userstories/userstory-create-body-html.jinja index fe0033b0..da997e08 100644 --- a/taiga/projects/notifications/templates/emails/userstories/userstory-create-body-html.jinja +++ b/taiga/projects/notifications/templates/emails/userstories/userstory-create-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/base-body-html.jinja" %} {% block body %} diff --git a/taiga/projects/notifications/templates/emails/userstories/userstory-create-body-text.jinja b/taiga/projects/notifications/templates/emails/userstories/userstory-create-body-text.jinja index b2c4f113..9a05f8f0 100644 --- a/taiga/projects/notifications/templates/emails/userstories/userstory-create-body-text.jinja +++ b/taiga/projects/notifications/templates/emails/userstories/userstory-create-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans signature=sr("signature"), user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, ref=snapshot.ref, subject=snapshot.subject, url=resolve_front_url("userstory", project.slug, snapshot.ref) %} New user story created on {{ project }} diff --git a/taiga/projects/notifications/templates/emails/userstories/userstory-create-subject.jinja b/taiga/projects/notifications/templates/emails/userstories/userstory-create-subject.jinja index 124e3060..d42bdcb8 100644 --- a/taiga/projects/notifications/templates/emails/userstories/userstory-create-subject.jinja +++ b/taiga/projects/notifications/templates/emails/userstories/userstory-create-subject.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans project=project.name|safe, ref=snapshot.ref, subject=snapshot.subject|safe %} [{{ project }}] Created the US #{{ ref }} "{{ subject }}" {% endtrans %} diff --git a/taiga/projects/notifications/templates/emails/userstories/userstory-delete-body-html.jinja b/taiga/projects/notifications/templates/emails/userstories/userstory-delete-body-html.jinja index b6570f4a..00e07ffe 100644 --- a/taiga/projects/notifications/templates/emails/userstories/userstory-delete-body-html.jinja +++ b/taiga/projects/notifications/templates/emails/userstories/userstory-delete-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/base-body-html.jinja" %} {% block body %} diff --git a/taiga/projects/notifications/templates/emails/userstories/userstory-delete-body-text.jinja b/taiga/projects/notifications/templates/emails/userstories/userstory-delete-body-text.jinja index b4a3106b..1140719a 100644 --- a/taiga/projects/notifications/templates/emails/userstories/userstory-delete-body-text.jinja +++ b/taiga/projects/notifications/templates/emails/userstories/userstory-delete-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans signature=sr("signature"), user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, ref=snapshot.ref, subject=snapshot.subject %} User Story deleted on {{ project }} diff --git a/taiga/projects/notifications/templates/emails/userstories/userstory-delete-subject.jinja b/taiga/projects/notifications/templates/emails/userstories/userstory-delete-subject.jinja index f7843217..e77f2fad 100644 --- a/taiga/projects/notifications/templates/emails/userstories/userstory-delete-subject.jinja +++ b/taiga/projects/notifications/templates/emails/userstories/userstory-delete-subject.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans project=project.name|safe, ref=snapshot.ref, subject=snapshot.subject|safe %} [{{ project }}] Deleted the US #{{ ref }} "{{ subject }}" {% endtrans %} diff --git a/taiga/projects/notifications/templates/emails/wiki/wikipage-change-body-html.jinja b/taiga/projects/notifications/templates/emails/wiki/wikipage-change-body-html.jinja index e5b9d267..8ae7b065 100644 --- a/taiga/projects/notifications/templates/emails/wiki/wikipage-change-body-html.jinja +++ b/taiga/projects/notifications/templates/emails/wiki/wikipage-change-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/updates-body-html.jinja" %} {% block head %} diff --git a/taiga/projects/notifications/templates/emails/wiki/wikipage-change-body-text.jinja b/taiga/projects/notifications/templates/emails/wiki/wikipage-change-body-text.jinja index 68c8dc0b..27e41457 100644 --- a/taiga/projects/notifications/templates/emails/wiki/wikipage-change-body-text.jinja +++ b/taiga/projects/notifications/templates/emails/wiki/wikipage-change-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/updates-body-text.jinja" %} {% block head %} {% trans user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, page=snapshot.slug, url=resolve_front_url("wiki", project.slug, snapshot.slug) %} diff --git a/taiga/projects/notifications/templates/emails/wiki/wikipage-change-subject.jinja b/taiga/projects/notifications/templates/emails/wiki/wikipage-change-subject.jinja index 14bab7d5..e1a4429e 100644 --- a/taiga/projects/notifications/templates/emails/wiki/wikipage-change-subject.jinja +++ b/taiga/projects/notifications/templates/emails/wiki/wikipage-change-subject.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans project=project.name|safe, page=snapshot.slug|safe %} [{{ project }}] Updated the Wiki Page "{{ page }}" {% endtrans %} diff --git a/taiga/projects/notifications/templates/emails/wiki/wikipage-create-body-html.jinja b/taiga/projects/notifications/templates/emails/wiki/wikipage-create-body-html.jinja index 37ba3082..7e1c584e 100644 --- a/taiga/projects/notifications/templates/emails/wiki/wikipage-create-body-html.jinja +++ b/taiga/projects/notifications/templates/emails/wiki/wikipage-create-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/base-body-html.jinja" %} {% block body %} diff --git a/taiga/projects/notifications/templates/emails/wiki/wikipage-create-body-text.jinja b/taiga/projects/notifications/templates/emails/wiki/wikipage-create-body-text.jinja index e00aaad2..a5a7b8b5 100644 --- a/taiga/projects/notifications/templates/emails/wiki/wikipage-create-body-text.jinja +++ b/taiga/projects/notifications/templates/emails/wiki/wikipage-create-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans signature=sr("signature"), user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, page=snapshot.slug, url=resolve_front_url("wiki", project.slug, snapshot.slug) %} New wiki page created page on {{ project }} diff --git a/taiga/projects/notifications/templates/emails/wiki/wikipage-create-subject.jinja b/taiga/projects/notifications/templates/emails/wiki/wikipage-create-subject.jinja index 92560812..7c452069 100644 --- a/taiga/projects/notifications/templates/emails/wiki/wikipage-create-subject.jinja +++ b/taiga/projects/notifications/templates/emails/wiki/wikipage-create-subject.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans project=project.name|safe, page=snapshot.slug|safe %} [{{ project }}] Created the Wiki Page "{{ page }}" {% endtrans %} diff --git a/taiga/projects/notifications/templates/emails/wiki/wikipage-delete-body-html.jinja b/taiga/projects/notifications/templates/emails/wiki/wikipage-delete-body-html.jinja index 706ed9fa..ab42ab31 100644 --- a/taiga/projects/notifications/templates/emails/wiki/wikipage-delete-body-html.jinja +++ b/taiga/projects/notifications/templates/emails/wiki/wikipage-delete-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/base-body-html.jinja" %} {% block body %} diff --git a/taiga/projects/notifications/templates/emails/wiki/wikipage-delete-body-text.jinja b/taiga/projects/notifications/templates/emails/wiki/wikipage-delete-body-text.jinja index 1ef631d9..ea3c6c93 100644 --- a/taiga/projects/notifications/templates/emails/wiki/wikipage-delete-body-text.jinja +++ b/taiga/projects/notifications/templates/emails/wiki/wikipage-delete-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans signature=sr("signature"), user=user.get_full_name(), changer=changer.get_full_name(), project=project.name, page=snapshot.slug %} Wiki page deleted on {{ project }} diff --git a/taiga/projects/notifications/templates/emails/wiki/wikipage-delete-subject.jinja b/taiga/projects/notifications/templates/emails/wiki/wikipage-delete-subject.jinja index 244410fc..72460af1 100644 --- a/taiga/projects/notifications/templates/emails/wiki/wikipage-delete-subject.jinja +++ b/taiga/projects/notifications/templates/emails/wiki/wikipage-delete-subject.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans project=project.name|safe, page=snapshot.slug|safe %} [{{ project }}] Deleted the Wiki Page "{{ page }}" {% endtrans %} diff --git a/taiga/projects/notifications/utils.py b/taiga/projects/notifications/utils.py index 98151964..987872bb 100644 --- a/taiga/projects/notifications/utils.py +++ b/taiga/projects/notifications/utils.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.apps import apps from .choices import NotifyLevel from taiga.base.utils.text import strip_lines diff --git a/taiga/projects/notifications/validators.py b/taiga/projects/notifications/validators.py index 8f2fe84a..a8a9e547 100644 --- a/taiga/projects/notifications/validators.py +++ b/taiga/projects/notifications/validators.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.utils.translation import ugettext as _ from taiga.base.exceptions import ValidationError diff --git a/taiga/projects/occ/__init__.py b/taiga/projects/occ/__init__.py index 96b72331..449c5153 100644 --- a/taiga/projects/occ/__init__.py +++ b/taiga/projects/occ/__init__.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from .mixins import OCCResourceMixin from .mixins import OCCModelMixin diff --git a/taiga/projects/occ/mixins.py b/taiga/projects/occ/mixins.py index cda24c60..fe4f35df 100644 --- a/taiga/projects/occ/mixins.py +++ b/taiga/projects/occ/mixins.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.db import models from django.utils.translation import ugettext_lazy as _ diff --git a/taiga/projects/permissions.py b/taiga/projects/permissions.py index 37139f17..05c3c68c 100644 --- a/taiga/projects/permissions.py +++ b/taiga/projects/permissions.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.utils.translation import ugettext as _ from taiga.base import exceptions as exc diff --git a/taiga/projects/references/__init__.py b/taiga/projects/references/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/projects/references/__init__.py +++ b/taiga/projects/references/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/projects/references/api.py b/taiga/projects/references/api.py index a06b31ee..e578c6c7 100644 --- a/taiga/projects/references/api.py +++ b/taiga/projects/references/api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.apps import apps from taiga.base import exceptions as exc diff --git a/taiga/projects/references/migrations/0001_initial.py b/taiga/projects/references/migrations/0001_initial.py index 4d72e64c..9e25f58d 100644 --- a/taiga/projects/references/migrations/0001_initial.py +++ b/taiga/projects/references/migrations/0001_initial.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/references/migrations/__init__.py b/taiga/projects/references/migrations/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/projects/references/migrations/__init__.py +++ b/taiga/projects/references/migrations/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/projects/references/models.py b/taiga/projects/references/models.py index b07ea9f4..c3ca79ed 100644 --- a/taiga/projects/references/models.py +++ b/taiga/projects/references/models.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.db import models from django.utils import timezone from django.contrib.contenttypes.models import ContentType diff --git a/taiga/projects/references/permissions.py b/taiga/projects/references/permissions.py index c61b8246..536492f9 100644 --- a/taiga/projects/references/permissions.py +++ b/taiga/projects/references/permissions.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api.permissions import (TaigaResourcePermission, HasProjectPerm, IsProjectAdmin, AllowAny) diff --git a/taiga/projects/references/sequences.py b/taiga/projects/references/sequences.py index 3933c8e9..ab901c14 100644 --- a/taiga/projects/references/sequences.py +++ b/taiga/projects/references/sequences.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from contextlib import closing from django.db import connection from django.db import ProgrammingError diff --git a/taiga/projects/references/services.py b/taiga/projects/references/services.py index 897faa0f..90a4fc07 100644 --- a/taiga/projects/references/services.py +++ b/taiga/projects/references/services.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.apps import apps diff --git a/taiga/projects/references/validators.py b/taiga/projects/references/validators.py index b67c283c..ba3e607c 100644 --- a/taiga/projects/references/validators.py +++ b/taiga/projects/references/validators.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api import serializers from taiga.base.api import validators from taiga.base.exceptions import ValidationError diff --git a/taiga/projects/serializers.py b/taiga/projects/serializers.py index 75b237bd..5b1427c4 100644 --- a/taiga/projects/serializers.py +++ b/taiga/projects/serializers.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.utils.translation import ugettext as _ from taiga.base.api import serializers diff --git a/taiga/projects/services/__init__.py b/taiga/projects/services/__init__.py index 43891ebc..9b211a3e 100644 --- a/taiga/projects/services/__init__.py +++ b/taiga/projects/services/__init__.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # This makes all code that import services works and # is not the baddest practice ;) diff --git a/taiga/projects/services/bulk_update_order.py b/taiga/projects/services/bulk_update_order.py index e87d95c7..05a4e36e 100644 --- a/taiga/projects/services/bulk_update_order.py +++ b/taiga/projects/services/bulk_update_order.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from contextlib import suppress from operator import itemgetter diff --git a/taiga/projects/services/filters.py b/taiga/projects/services/filters.py index 207c1629..fe573331 100644 --- a/taiga/projects/services/filters.py +++ b/taiga/projects/services/filters.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from contextlib import closing from django.db import connection diff --git a/taiga/projects/services/invitations.py b/taiga/projects/services/invitations.py index 6f25cc04..af62ebd9 100644 --- a/taiga/projects/services/invitations.py +++ b/taiga/projects/services/invitations.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.apps import apps from django.conf import settings diff --git a/taiga/projects/services/logo.py b/taiga/projects/services/logo.py index 1362e110..d862139a 100644 --- a/taiga/projects/services/logo.py +++ b/taiga/projects/services/logo.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.conf import settings from taiga.base.utils.thumbnails import get_thumbnail_url diff --git a/taiga/projects/services/members.py b/taiga/projects/services/members.py index 3cb855b0..c465b0de 100644 --- a/taiga/projects/services/members.py +++ b/taiga/projects/services/members.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.exceptions import ValidationError from taiga.base.utils import db from taiga.users.models import User diff --git a/taiga/projects/services/modules_config.py b/taiga/projects/services/modules_config.py index beb8bf14..543e5403 100644 --- a/taiga/projects/services/modules_config.py +++ b/taiga/projects/services/modules_config.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import importlib from .. import models diff --git a/taiga/projects/services/projects.py b/taiga/projects/services/projects.py index 9292090f..ec0ec3bd 100644 --- a/taiga/projects/services/projects.py +++ b/taiga/projects/services/projects.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.apps import apps from django.utils.translation import ugettext as _ from taiga.celery import app diff --git a/taiga/projects/services/promote.py b/taiga/projects/services/promote.py index 1c769148..1d9b7e3f 100644 --- a/taiga/projects/services/promote.py +++ b/taiga/projects/services/promote.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # from django.apps import apps from django.core.files.base import ContentFile diff --git a/taiga/projects/services/stats.py b/taiga/projects/services/stats.py index cca8990b..3fc72c90 100644 --- a/taiga/projects/services/stats.py +++ b/taiga/projects/services/stats.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.utils.translation import ugettext as _ from django.db.models import Q, Count from django.apps import apps diff --git a/taiga/projects/services/transfer.py b/taiga/projects/services/transfer.py index 13dae787..803188b6 100644 --- a/taiga/projects/services/transfer.py +++ b/taiga/projects/services/transfer.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.core import signing from django.utils.translation import ugettext as _ diff --git a/taiga/projects/settings/__init__.py b/taiga/projects/settings/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/projects/settings/__init__.py +++ b/taiga/projects/settings/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/projects/settings/api.py b/taiga/projects/settings/api.py index 00251ef0..cd4f2881 100644 --- a/taiga/projects/settings/api.py +++ b/taiga/projects/settings/api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.db.models import Q from taiga.base import response diff --git a/taiga/projects/settings/choices.py b/taiga/projects/settings/choices.py index 12f8c507..69fce9f3 100644 --- a/taiga/projects/settings/choices.py +++ b/taiga/projects/settings/choices.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import enum from django.utils.translation import ugettext_lazy as _ diff --git a/taiga/projects/settings/migrations/0001_initial.py b/taiga/projects/settings/migrations/0001_initial.py index 431db4ae..5b60d0b5 100644 --- a/taiga/projects/settings/migrations/0001_initial.py +++ b/taiga/projects/settings/migrations/0001_initial.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.11.2 on 2018-09-24 11:49 from __future__ import unicode_literals diff --git a/taiga/projects/settings/migrations/__init__.py b/taiga/projects/settings/migrations/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/projects/settings/migrations/__init__.py +++ b/taiga/projects/settings/migrations/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/projects/settings/models.py b/taiga/projects/settings/models.py index 48ba1637..57af4aba 100644 --- a/taiga/projects/settings/models.py +++ b/taiga/projects/settings/models.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.conf import settings from django.db import models diff --git a/taiga/projects/settings/permissions.py b/taiga/projects/settings/permissions.py index 1ca16b91..8fc4369e 100644 --- a/taiga/projects/settings/permissions.py +++ b/taiga/projects/settings/permissions.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api.permissions import (TaigaResourcePermission, IsAuthenticated) diff --git a/taiga/projects/settings/serializers.py b/taiga/projects/settings/serializers.py index 23c2b0a1..cb8350b1 100644 --- a/taiga/projects/settings/serializers.py +++ b/taiga/projects/settings/serializers.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api import serializers from . import models diff --git a/taiga/projects/settings/services.py b/taiga/projects/settings/services.py index 9e2e9dd7..bc3f246d 100644 --- a/taiga/projects/settings/services.py +++ b/taiga/projects/settings/services.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.apps import apps from django.db import IntegrityError from django.utils.translation import ugettext as _ diff --git a/taiga/projects/settings/utils.py b/taiga/projects/settings/utils.py index d8d545f9..45cf2078 100644 --- a/taiga/projects/settings/utils.py +++ b/taiga/projects/settings/utils.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.permissions.services import is_project_admin, user_has_perm from taiga.projects.settings.choices import Section diff --git a/taiga/projects/settings/validators.py b/taiga/projects/settings/validators.py index 00040705..40f8dc76 100644 --- a/taiga/projects/settings/validators.py +++ b/taiga/projects/settings/validators.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.utils.translation import ugettext as _ from taiga.base.api import validators diff --git a/taiga/projects/signals.py b/taiga/projects/signals.py index 0a439c15..dbd48132 100644 --- a/taiga/projects/signals.py +++ b/taiga/projects/signals.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.apps import apps from django.conf import settings from django.db.models import F diff --git a/taiga/projects/tagging/__init__.py b/taiga/projects/tagging/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/projects/tagging/__init__.py +++ b/taiga/projects/tagging/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/projects/tagging/api.py b/taiga/projects/tagging/api.py index fc6fb39f..04902965 100644 --- a/taiga/projects/tagging/api.py +++ b/taiga/projects/tagging/api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base import response from taiga.base.decorators import detail_route from taiga.base.utils.collections import OrderedSet diff --git a/taiga/projects/tagging/fields.py b/taiga/projects/tagging/fields.py index 64f06b2e..25851823 100644 --- a/taiga/projects/tagging/fields.py +++ b/taiga/projects/tagging/fields.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.forms import widgets from django.utils.translation import ugettext_lazy as _ diff --git a/taiga/projects/tagging/models.py b/taiga/projects/tagging/models.py index d25888e2..8cff33ea 100644 --- a/taiga/projects/tagging/models.py +++ b/taiga/projects/tagging/models.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.db import models from django.contrib.postgres.fields import ArrayField from django.utils.translation import ugettext_lazy as _ diff --git a/taiga/projects/tagging/serializers.py b/taiga/projects/tagging/serializers.py index 636b3789..5881fa3d 100644 --- a/taiga/projects/tagging/serializers.py +++ b/taiga/projects/tagging/serializers.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api import serializers from taiga.base.fields import MethodField diff --git a/taiga/projects/tagging/services.py b/taiga/projects/tagging/services.py index c745efa4..f741342e 100644 --- a/taiga/projects/tagging/services.py +++ b/taiga/projects/tagging/services.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.db import connection diff --git a/taiga/projects/tagging/signals.py b/taiga/projects/tagging/signals.py index a9e70d81..b9161e60 100644 --- a/taiga/projects/tagging/signals.py +++ b/taiga/projects/tagging/signals.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + def tags_normalization(sender, instance, **kwargs): if isinstance(instance.tags, (list, tuple)): instance.tags = list(map(str.lower, instance.tags)) diff --git a/taiga/projects/tagging/validators.py b/taiga/projects/tagging/validators.py index 862f465b..64202087 100644 --- a/taiga/projects/tagging/validators.py +++ b/taiga/projects/tagging/validators.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.utils.translation import ugettext as _ from taiga.base.api import serializers diff --git a/taiga/projects/tasks/__init__.py b/taiga/projects/tasks/__init__.py index f4b882c2..8e406183 100644 --- a/taiga/projects/tasks/__init__.py +++ b/taiga/projects/tasks/__init__.py @@ -1,2 +1,8 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + default_app_config = "taiga.projects.tasks.apps.TasksAppConfig" diff --git a/taiga/projects/tasks/admin.py b/taiga/projects/tasks/admin.py index cba295af..5b740721 100644 --- a/taiga/projects/tasks/admin.py +++ b/taiga/projects/tasks/admin.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.contrib import admin from taiga.projects.attachments.admin import AttachmentInline diff --git a/taiga/projects/tasks/api.py b/taiga/projects/tasks/api.py index a394413e..2e6858f2 100644 --- a/taiga/projects/tasks/api.py +++ b/taiga/projects/tasks/api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.http import HttpResponse from django.utils.translation import ugettext as _ diff --git a/taiga/projects/tasks/apps.py b/taiga/projects/tasks/apps.py index e5ab5ae0..33ab6d19 100644 --- a/taiga/projects/tasks/apps.py +++ b/taiga/projects/tasks/apps.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # from django.apps import AppConfig from django.apps import apps diff --git a/taiga/projects/tasks/migrations/0001_initial.py b/taiga/projects/tasks/migrations/0001_initial.py index a1bd5c5b..938b9870 100644 --- a/taiga/projects/tasks/migrations/0001_initial.py +++ b/taiga/projects/tasks/migrations/0001_initial.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/tasks/migrations/0002_tasks_order_fields.py b/taiga/projects/tasks/migrations/0002_tasks_order_fields.py index c3d9e860..933b3e02 100644 --- a/taiga/projects/tasks/migrations/0002_tasks_order_fields.py +++ b/taiga/projects/tasks/migrations/0002_tasks_order_fields.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/tasks/migrations/0003_task_external_reference.py b/taiga/projects/tasks/migrations/0003_task_external_reference.py index 9de35ca6..aea4ac11 100644 --- a/taiga/projects/tasks/migrations/0003_task_external_reference.py +++ b/taiga/projects/tasks/migrations/0003_task_external_reference.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/tasks/migrations/0004_auto_20141210_1107.py b/taiga/projects/tasks/migrations/0004_auto_20141210_1107.py index 33d7c053..f367eb1e 100644 --- a/taiga/projects/tasks/migrations/0004_auto_20141210_1107.py +++ b/taiga/projects/tasks/migrations/0004_auto_20141210_1107.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/tasks/migrations/0005_auto_20150114_0954.py b/taiga/projects/tasks/migrations/0005_auto_20150114_0954.py index b20d5d90..c2f9d575 100644 --- a/taiga/projects/tasks/migrations/0005_auto_20150114_0954.py +++ b/taiga/projects/tasks/migrations/0005_auto_20150114_0954.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/tasks/migrations/0006_auto_20150623_1923.py b/taiga/projects/tasks/migrations/0006_auto_20150623_1923.py index 597a3122..37ff2c07 100644 --- a/taiga/projects/tasks/migrations/0006_auto_20150623_1923.py +++ b/taiga/projects/tasks/migrations/0006_auto_20150623_1923.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/tasks/migrations/0007_auto_20150629_1556.py b/taiga/projects/tasks/migrations/0007_auto_20150629_1556.py index e6596d7f..e1dc44e0 100644 --- a/taiga/projects/tasks/migrations/0007_auto_20150629_1556.py +++ b/taiga/projects/tasks/migrations/0007_auto_20150629_1556.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/tasks/migrations/0008_remove_task_watchers.py b/taiga/projects/tasks/migrations/0008_remove_task_watchers.py index 639e12b1..3a16db0f 100644 --- a/taiga/projects/tasks/migrations/0008_remove_task_watchers.py +++ b/taiga/projects/tasks/migrations/0008_remove_task_watchers.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import connection diff --git a/taiga/projects/tasks/migrations/0009_auto_20151104_1131.py b/taiga/projects/tasks/migrations/0009_auto_20151104_1131.py index 064f8848..79031a9b 100644 --- a/taiga/projects/tasks/migrations/0009_auto_20151104_1131.py +++ b/taiga/projects/tasks/migrations/0009_auto_20151104_1131.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import connection, migrations, models diff --git a/taiga/projects/tasks/migrations/0010_auto_20160614_1201.py b/taiga/projects/tasks/migrations/0010_auto_20160614_1201.py index 5825ce55..91d89fc2 100644 --- a/taiga/projects/tasks/migrations/0010_auto_20160614_1201.py +++ b/taiga/projects/tasks/migrations/0010_auto_20160614_1201.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-06-14 12:01 from __future__ import unicode_literals diff --git a/taiga/projects/tasks/migrations/0011_auto_20160928_0755.py b/taiga/projects/tasks/migrations/0011_auto_20160928_0755.py index 1802a9c3..7fd5183f 100644 --- a/taiga/projects/tasks/migrations/0011_auto_20160928_0755.py +++ b/taiga/projects/tasks/migrations/0011_auto_20160928_0755.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-09-28 07:55 from __future__ import unicode_literals diff --git a/taiga/projects/tasks/migrations/0012_add_due_date.py b/taiga/projects/tasks/migrations/0012_add_due_date.py index 01efa51a..4ad59ddd 100644 --- a/taiga/projects/tasks/migrations/0012_add_due_date.py +++ b/taiga/projects/tasks/migrations/0012_add_due_date.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.11.2 on 2018-04-09 09:06 from __future__ import unicode_literals diff --git a/taiga/projects/tasks/migrations/0013_auto_20200615_0811.py b/taiga/projects/tasks/migrations/0013_auto_20200615_0811.py index cd6adec5..057dd23d 100644 --- a/taiga/projects/tasks/migrations/0013_auto_20200615_0811.py +++ b/taiga/projects/tasks/migrations/0013_auto_20200615_0811.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 2.2.12 on 2020-06-15 08:11 from django.db import migrations, models diff --git a/taiga/projects/tasks/migrations/__init__.py b/taiga/projects/tasks/migrations/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/projects/tasks/migrations/__init__.py +++ b/taiga/projects/tasks/migrations/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/projects/tasks/models.py b/taiga/projects/tasks/models.py index 2e30be67..09207325 100644 --- a/taiga/projects/tasks/models.py +++ b/taiga/projects/tasks/models.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.db import models from django.contrib.contenttypes.fields import GenericRelation from django.contrib.postgres.fields import ArrayField diff --git a/taiga/projects/tasks/permissions.py b/taiga/projects/tasks/permissions.py index 5592a2f9..f22ec9a1 100644 --- a/taiga/projects/tasks/permissions.py +++ b/taiga/projects/tasks/permissions.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api.permissions import TaigaResourcePermission, AllowAny, IsAuthenticated, IsSuperUser from taiga.permissions.permissions import HasProjectPerm, IsProjectAdmin diff --git a/taiga/projects/tasks/serializers.py b/taiga/projects/tasks/serializers.py index 4719f7a6..f4fef602 100644 --- a/taiga/projects/tasks/serializers.py +++ b/taiga/projects/tasks/serializers.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api import serializers from taiga.base.fields import Field, MethodField from taiga.base.neighbors import NeighborsSerializerMixin diff --git a/taiga/projects/tasks/services.py b/taiga/projects/tasks/services.py index 57647635..3ac0c749 100644 --- a/taiga/projects/tasks/services.py +++ b/taiga/projects/tasks/services.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import csv import io import logging diff --git a/taiga/projects/tasks/signals.py b/taiga/projects/tasks/signals.py index 9a010fcf..2f4ea876 100644 --- a/taiga/projects/tasks/signals.py +++ b/taiga/projects/tasks/signals.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from contextlib import suppress from django.core.exceptions import ObjectDoesNotExist from django.utils import timezone diff --git a/taiga/projects/tasks/utils.py b/taiga/projects/tasks/utils.py index 751bf90b..66ed5428 100644 --- a/taiga/projects/tasks/utils.py +++ b/taiga/projects/tasks/utils.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.projects.attachments.utils import attach_basic_attachments from taiga.projects.notifications.utils import attach_watchers_to_queryset from taiga.projects.notifications.utils import attach_total_watchers_to_queryset diff --git a/taiga/projects/tasks/validators.py b/taiga/projects/tasks/validators.py index abddfd32..05d7f118 100644 --- a/taiga/projects/tasks/validators.py +++ b/taiga/projects/tasks/validators.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.utils.translation import ugettext as _ from taiga.base.api import serializers diff --git a/taiga/projects/templates/emails/membership_invitation-body-html.jinja b/taiga/projects/templates/emails/membership_invitation-body-html.jinja index 42500090..bfa59f1d 100644 --- a/taiga/projects/templates/emails/membership_invitation-body-html.jinja +++ b/taiga/projects/templates/emails/membership_invitation-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/hero-body-html.jinja" %} {% if membership.invited_by %} diff --git a/taiga/projects/templates/emails/membership_invitation-body-text.jinja b/taiga/projects/templates/emails/membership_invitation-body-text.jinja index a9dc9a7f..6b24e2e1 100644 --- a/taiga/projects/templates/emails/membership_invitation-body-text.jinja +++ b/taiga/projects/templates/emails/membership_invitation-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% if membership.invited_by %} {% set sender_full_name=membership.invited_by.get_full_name() %} {% else %} diff --git a/taiga/projects/templates/emails/membership_invitation-subject.jinja b/taiga/projects/templates/emails/membership_invitation-subject.jinja index 0b5206ef..a1f11e7a 100644 --- a/taiga/projects/templates/emails/membership_invitation-subject.jinja +++ b/taiga/projects/templates/emails/membership_invitation-subject.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans project=membership.project|safe %} [Taiga] Invitation to join to the project '{{ project }}' {% endtrans %} diff --git a/taiga/projects/templates/emails/membership_notification-body-html.jinja b/taiga/projects/templates/emails/membership_notification-body-html.jinja index 938dbf48..fedafc45 100644 --- a/taiga/projects/templates/emails/membership_notification-body-html.jinja +++ b/taiga/projects/templates/emails/membership_notification-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/base-body-html.jinja" %} {% block body %} diff --git a/taiga/projects/templates/emails/membership_notification-body-text.jinja b/taiga/projects/templates/emails/membership_notification-body-text.jinja index 544b1f4b..f4ea70c1 100644 --- a/taiga/projects/templates/emails/membership_notification-body-text.jinja +++ b/taiga/projects/templates/emails/membership_notification-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans signature=sr("signature"),url=resolve_front_url("project", membership.project.slug), full_name=membership.user.get_full_name(), project=membership.project %} You have been added to a project diff --git a/taiga/projects/templates/emails/membership_notification-subject.jinja b/taiga/projects/templates/emails/membership_notification-subject.jinja index 57d60ac6..5dba1112 100644 --- a/taiga/projects/templates/emails/membership_notification-subject.jinja +++ b/taiga/projects/templates/emails/membership_notification-subject.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans project=membership.project|safe %} [Taiga] Added to the project '{{ project }}' {% endtrans %} diff --git a/taiga/projects/templates/emails/transfer_accept-body-html.jinja b/taiga/projects/templates/emails/transfer_accept-body-html.jinja index c37ce6d9..17053689 100644 --- a/taiga/projects/templates/emails/transfer_accept-body-html.jinja +++ b/taiga/projects/templates/emails/transfer_accept-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/base-body-html.jinja" %} {% block body %} diff --git a/taiga/projects/templates/emails/transfer_accept-body-text.jinja b/taiga/projects/templates/emails/transfer_accept-body-text.jinja index a16cc32a..4d10cadf 100644 --- a/taiga/projects/templates/emails/transfer_accept-body-text.jinja +++ b/taiga/projects/templates/emails/transfer_accept-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans old_owner_name=old_owner.get_full_name(), new_owner_name=new_owner.get_full_name(), project_name=project.name %} Hi {{old_owner_name}}, {{ new_owner_name}} has accepted your offer and will become the new project owner of "{{project_name}}". diff --git a/taiga/projects/templates/emails/transfer_accept-subject.jinja b/taiga/projects/templates/emails/transfer_accept-subject.jinja index 75380521..dd281709 100644 --- a/taiga/projects/templates/emails/transfer_accept-subject.jinja +++ b/taiga/projects/templates/emails/transfer_accept-subject.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans project=project.name|safe %} [{{project}}] Project ownership transfer offer accepted! {% endtrans %} diff --git a/taiga/projects/templates/emails/transfer_reject-body-html.jinja b/taiga/projects/templates/emails/transfer_reject-body-html.jinja index 1ca7565f..66983366 100644 --- a/taiga/projects/templates/emails/transfer_reject-body-html.jinja +++ b/taiga/projects/templates/emails/transfer_reject-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/base-body-html.jinja" %} {% block body %} diff --git a/taiga/projects/templates/emails/transfer_reject-body-text.jinja b/taiga/projects/templates/emails/transfer_reject-body-text.jinja index ba630048..9f95b25d 100644 --- a/taiga/projects/templates/emails/transfer_reject-body-text.jinja +++ b/taiga/projects/templates/emails/transfer_reject-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans owner_name=project.owner.get_full_name(), rejecter_name=rejecter.get_full_name(), project_name=project.name %} Hi {{owner_name}}, {{ rejecter_name}} has declined your offer and will not become the new project owner of "{{project_name}}". diff --git a/taiga/projects/templates/emails/transfer_reject-subject.jinja b/taiga/projects/templates/emails/transfer_reject-subject.jinja index 345ae940..c6e2956b 100644 --- a/taiga/projects/templates/emails/transfer_reject-subject.jinja +++ b/taiga/projects/templates/emails/transfer_reject-subject.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans project=project.name|safe %} [{{project}}] Project ownership transfer declined {% endtrans %} diff --git a/taiga/projects/templates/emails/transfer_request-body-html.jinja b/taiga/projects/templates/emails/transfer_request-body-html.jinja index 9555f25b..284fdc9d 100644 --- a/taiga/projects/templates/emails/transfer_request-body-html.jinja +++ b/taiga/projects/templates/emails/transfer_request-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/base-body-html.jinja" %} {% block body %} diff --git a/taiga/projects/templates/emails/transfer_request-body-text.jinja b/taiga/projects/templates/emails/transfer_request-body-text.jinja index 5f826e32..daad1de3 100644 --- a/taiga/projects/templates/emails/transfer_request-body-text.jinja +++ b/taiga/projects/templates/emails/transfer_request-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans owner_name=project.owner.get_full_name(), requester_name=requester.get_full_name(), project_name=project.name %} Hi {{owner_name}}, {{ requester_name }} has requested to become the project owner of "{{project_name}}". diff --git a/taiga/projects/templates/emails/transfer_request-subject.jinja b/taiga/projects/templates/emails/transfer_request-subject.jinja index ea4efbbb..5d6b83a3 100644 --- a/taiga/projects/templates/emails/transfer_request-subject.jinja +++ b/taiga/projects/templates/emails/transfer_request-subject.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans project=project.name|safe %} [{{project}}] Project ownership transfer request {% endtrans %} diff --git a/taiga/projects/templates/emails/transfer_start-body-html.jinja b/taiga/projects/templates/emails/transfer_start-body-html.jinja index acc0d983..6920a110 100644 --- a/taiga/projects/templates/emails/transfer_start-body-html.jinja +++ b/taiga/projects/templates/emails/transfer_start-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/base-body-html.jinja" %} {% block body %} diff --git a/taiga/projects/templates/emails/transfer_start-body-text.jinja b/taiga/projects/templates/emails/transfer_start-body-text.jinja index 978b0c66..d62e8afd 100644 --- a/taiga/projects/templates/emails/transfer_start-body-text.jinja +++ b/taiga/projects/templates/emails/transfer_start-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans owner_name=project.owner.get_full_name(), receiver_name=receiver.get_full_name(), project_name=project.name %} Hi {{receiver_name}}, {{ owner_name }}, the current project owner at "{{project_name}}" would like you to become the new project owner. diff --git a/taiga/projects/templates/emails/transfer_start-subject.jinja b/taiga/projects/templates/emails/transfer_start-subject.jinja index c2791053..95bd93cd 100644 --- a/taiga/projects/templates/emails/transfer_start-subject.jinja +++ b/taiga/projects/templates/emails/transfer_start-subject.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans project=project.name|safe %} [{{project}}] Project ownership transfer offer {% endtrans %} diff --git a/taiga/projects/throttling.py b/taiga/projects/throttling.py index 80acae5b..c4944a59 100644 --- a/taiga/projects/throttling.py +++ b/taiga/projects/throttling.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base import throttling diff --git a/taiga/projects/translations.py b/taiga/projects/translations.py index c0b35df7..23665d84 100644 --- a/taiga/projects/translations.py +++ b/taiga/projects/translations.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # NOTE: This file is useful to translate default projects templates. Remember update # when taiga/projects/fixtures/initial_project_templates.json change. diff --git a/taiga/projects/userstories/__init__.py b/taiga/projects/userstories/__init__.py index a773fafe..8d1551be 100644 --- a/taiga/projects/userstories/__init__.py +++ b/taiga/projects/userstories/__init__.py @@ -1,2 +1,8 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + default_app_config = "taiga.projects.userstories.apps.UserStoriesAppConfig" diff --git a/taiga/projects/userstories/admin.py b/taiga/projects/userstories/admin.py index c3cc980c..7233524c 100644 --- a/taiga/projects/userstories/admin.py +++ b/taiga/projects/userstories/admin.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.contrib import admin from taiga.projects.attachments.admin import AttachmentInline diff --git a/taiga/projects/userstories/api.py b/taiga/projects/userstories/api.py index c14e37f4..a8cf5c44 100644 --- a/taiga/projects/userstories/api.py +++ b/taiga/projects/userstories/api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.apps import apps from django.db import transaction from django.db.models import Max diff --git a/taiga/projects/userstories/apps.py b/taiga/projects/userstories/apps.py index 94117f4b..f169b7bb 100644 --- a/taiga/projects/userstories/apps.py +++ b/taiga/projects/userstories/apps.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # from django.apps import AppConfig from django.apps import apps diff --git a/taiga/projects/userstories/filters.py b/taiga/projects/userstories/filters.py index ee3b63e1..8e589d5f 100644 --- a/taiga/projects/userstories/filters.py +++ b/taiga/projects/userstories/filters.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base import filters diff --git a/taiga/projects/userstories/migrations/0001_initial.py b/taiga/projects/userstories/migrations/0001_initial.py index d006efd2..75f0004f 100644 --- a/taiga/projects/userstories/migrations/0001_initial.py +++ b/taiga/projects/userstories/migrations/0001_initial.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/userstories/migrations/0002_auto_20140903_1301.py b/taiga/projects/userstories/migrations/0002_auto_20140903_1301.py index a85599ef..547abd4f 100644 --- a/taiga/projects/userstories/migrations/0002_auto_20140903_1301.py +++ b/taiga/projects/userstories/migrations/0002_auto_20140903_1301.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/userstories/migrations/0003_userstory_order_fields.py b/taiga/projects/userstories/migrations/0003_userstory_order_fields.py index 24acfe41..e2eb2a3f 100644 --- a/taiga/projects/userstories/migrations/0003_userstory_order_fields.py +++ b/taiga/projects/userstories/migrations/0003_userstory_order_fields.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/userstories/migrations/0004_auto_20141001_1817.py b/taiga/projects/userstories/migrations/0004_auto_20141001_1817.py index 8c9c9299..678da9be 100644 --- a/taiga/projects/userstories/migrations/0004_auto_20141001_1817.py +++ b/taiga/projects/userstories/migrations/0004_auto_20141001_1817.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/userstories/migrations/0005_auto_20141009_1656.py b/taiga/projects/userstories/migrations/0005_auto_20141009_1656.py index f8a2efda..5480afb3 100644 --- a/taiga/projects/userstories/migrations/0005_auto_20141009_1656.py +++ b/taiga/projects/userstories/migrations/0005_auto_20141009_1656.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/userstories/migrations/0006_auto_20141014_1524.py b/taiga/projects/userstories/migrations/0006_auto_20141014_1524.py index bbf974e1..4e0ae298 100644 --- a/taiga/projects/userstories/migrations/0006_auto_20141014_1524.py +++ b/taiga/projects/userstories/migrations/0006_auto_20141014_1524.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/userstories/migrations/0007_userstory_external_reference.py b/taiga/projects/userstories/migrations/0007_userstory_external_reference.py index fbfd1f3f..a1ef47dd 100644 --- a/taiga/projects/userstories/migrations/0007_userstory_external_reference.py +++ b/taiga/projects/userstories/migrations/0007_userstory_external_reference.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/userstories/migrations/0008_auto_20141210_1107.py b/taiga/projects/userstories/migrations/0008_auto_20141210_1107.py index 36e032fd..ac2734de 100644 --- a/taiga/projects/userstories/migrations/0008_auto_20141210_1107.py +++ b/taiga/projects/userstories/migrations/0008_auto_20141210_1107.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/userstories/migrations/0009_remove_userstory_is_archived.py b/taiga/projects/userstories/migrations/0009_remove_userstory_is_archived.py index 7b5c72fd..e10b8e1c 100644 --- a/taiga/projects/userstories/migrations/0009_remove_userstory_is_archived.py +++ b/taiga/projects/userstories/migrations/0009_remove_userstory_is_archived.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/userstories/migrations/0010_remove_userstory_watchers.py b/taiga/projects/userstories/migrations/0010_remove_userstory_watchers.py index e3b94599..bf058f29 100644 --- a/taiga/projects/userstories/migrations/0010_remove_userstory_watchers.py +++ b/taiga/projects/userstories/migrations/0010_remove_userstory_watchers.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import connection diff --git a/taiga/projects/userstories/migrations/0011_userstory_tribe_gig.py b/taiga/projects/userstories/migrations/0011_userstory_tribe_gig.py index af85e462..a3544023 100644 --- a/taiga/projects/userstories/migrations/0011_userstory_tribe_gig.py +++ b/taiga/projects/userstories/migrations/0011_userstory_tribe_gig.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import migrations, models diff --git a/taiga/projects/userstories/migrations/0012_auto_20160614_1201.py b/taiga/projects/userstories/migrations/0012_auto_20160614_1201.py index 0eb6e224..bebdb04f 100644 --- a/taiga/projects/userstories/migrations/0012_auto_20160614_1201.py +++ b/taiga/projects/userstories/migrations/0012_auto_20160614_1201.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-06-14 12:01 from __future__ import unicode_literals diff --git a/taiga/projects/userstories/migrations/0013_auto_20160722_1018.py b/taiga/projects/userstories/migrations/0013_auto_20160722_1018.py index 64a73be8..04cdd9aa 100644 --- a/taiga/projects/userstories/migrations/0013_auto_20160722_1018.py +++ b/taiga/projects/userstories/migrations/0013_auto_20160722_1018.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-07-22 10:18 from __future__ import unicode_literals diff --git a/taiga/projects/userstories/migrations/0014_auto_20160928_0540.py b/taiga/projects/userstories/migrations/0014_auto_20160928_0540.py index 38285839..02541cc6 100644 --- a/taiga/projects/userstories/migrations/0014_auto_20160928_0540.py +++ b/taiga/projects/userstories/migrations/0014_auto_20160928_0540.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-09-28 05:40 from __future__ import unicode_literals diff --git a/taiga/projects/userstories/migrations/0015_add_due_date.py b/taiga/projects/userstories/migrations/0015_add_due_date.py index c4025ff4..50a5b7d5 100644 --- a/taiga/projects/userstories/migrations/0015_add_due_date.py +++ b/taiga/projects/userstories/migrations/0015_add_due_date.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.11.2 on 2018-04-09 09:06 from __future__ import unicode_literals diff --git a/taiga/projects/userstories/migrations/0016_userstory_assigned_users.py b/taiga/projects/userstories/migrations/0016_userstory_assigned_users.py index e83edb34..83507a23 100644 --- a/taiga/projects/userstories/migrations/0016_userstory_assigned_users.py +++ b/taiga/projects/userstories/migrations/0016_userstory_assigned_users.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.11.2 on 2018-02-13 10:14 from __future__ import unicode_literals diff --git a/taiga/projects/userstories/migrations/0017_userstory_generated_from_task.py b/taiga/projects/userstories/migrations/0017_userstory_generated_from_task.py index 5e74ddd0..21821162 100644 --- a/taiga/projects/userstories/migrations/0017_userstory_generated_from_task.py +++ b/taiga/projects/userstories/migrations/0017_userstory_generated_from_task.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.11.16 on 2019-02-19 13:45 from __future__ import unicode_literals diff --git a/taiga/projects/userstories/migrations/0018_auto_20200615_0811.py b/taiga/projects/userstories/migrations/0018_auto_20200615_0811.py index 223c0d0d..d54a887d 100644 --- a/taiga/projects/userstories/migrations/0018_auto_20200615_0811.py +++ b/taiga/projects/userstories/migrations/0018_auto_20200615_0811.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 2.2.12 on 2020-06-15 08:11 from django.conf import settings diff --git a/taiga/projects/userstories/migrations/0019_userstory_from_task_ref.py b/taiga/projects/userstories/migrations/0019_userstory_from_task_ref.py index 093375db..b681f806 100644 --- a/taiga/projects/userstories/migrations/0019_userstory_from_task_ref.py +++ b/taiga/projects/userstories/migrations/0019_userstory_from_task_ref.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 2.2.12 on 2020-06-17 10:17 from django.db import migrations, models diff --git a/taiga/projects/userstories/migrations/0020_userstory_swimlane.py b/taiga/projects/userstories/migrations/0020_userstory_swimlane.py index 52003f66..fb4c6156 100644 --- a/taiga/projects/userstories/migrations/0020_userstory_swimlane.py +++ b/taiga/projects/userstories/migrations/0020_userstory_swimlane.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 2.2.15 on 2020-10-07 16:04 from django.db import migrations, models diff --git a/taiga/projects/userstories/migrations/0021_auto_20201202_0850.py b/taiga/projects/userstories/migrations/0021_auto_20201202_0850.py index 3369ddfc..9a56697a 100644 --- a/taiga/projects/userstories/migrations/0021_auto_20201202_0850.py +++ b/taiga/projects/userstories/migrations/0021_auto_20201202_0850.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 2.2.14 on 2020-12-02 08:50 from django.db import migrations, models diff --git a/taiga/projects/userstories/migrations/__init__.py b/taiga/projects/userstories/migrations/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/projects/userstories/migrations/__init__.py +++ b/taiga/projects/userstories/migrations/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/projects/userstories/models.py b/taiga/projects/userstories/models.py index 7aba2464..b46d894a 100644 --- a/taiga/projects/userstories/models.py +++ b/taiga/projects/userstories/models.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.db import models from django.contrib.contenttypes.fields import GenericRelation from django.contrib.postgres.fields import ArrayField diff --git a/taiga/projects/userstories/permissions.py b/taiga/projects/userstories/permissions.py index 9bd79519..b4c3ab45 100644 --- a/taiga/projects/userstories/permissions.py +++ b/taiga/projects/userstories/permissions.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api.permissions import TaigaResourcePermission, AllowAny, IsAuthenticated, IsSuperUser from taiga.permissions.permissions import HasProjectPerm, IsProjectAdmin diff --git a/taiga/projects/userstories/serializers.py b/taiga/projects/userstories/serializers.py index 5202a829..5dc2e1c9 100644 --- a/taiga/projects/userstories/serializers.py +++ b/taiga/projects/userstories/serializers.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api import serializers from taiga.base.fields import Field, MethodField from taiga.base.neighbors import NeighborsSerializerMixin diff --git a/taiga/projects/userstories/services.py b/taiga/projects/userstories/services.py index 66c53d2a..3e976a5d 100644 --- a/taiga/projects/userstories/services.py +++ b/taiga/projects/userstories/services.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from typing import List, Optional import csv diff --git a/taiga/projects/userstories/signals.py b/taiga/projects/userstories/signals.py index 7ea8e7f1..fee78886 100644 --- a/taiga/projects/userstories/signals.py +++ b/taiga/projects/userstories/signals.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from contextlib import suppress from django.core.exceptions import ObjectDoesNotExist from taiga.projects.history.services import take_snapshot diff --git a/taiga/projects/userstories/utils.py b/taiga/projects/userstories/utils.py index d5a36db2..78a72f74 100644 --- a/taiga/projects/userstories/utils.py +++ b/taiga/projects/userstories/utils.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.projects.attachments.utils import attach_basic_attachments from taiga.projects.attachments.utils import attach_total_attachments from taiga.projects.notifications.utils import attach_watchers_to_queryset diff --git a/taiga/projects/userstories/validators.py b/taiga/projects/userstories/validators.py index 7e980dbd..da6dae26 100644 --- a/taiga/projects/userstories/validators.py +++ b/taiga/projects/userstories/validators.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.utils.translation import ugettext as _ from taiga.base.api import serializers diff --git a/taiga/projects/utils.py b/taiga/projects/utils.py index bbcb24e3..1b101e0b 100644 --- a/taiga/projects/utils.py +++ b/taiga/projects/utils.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + def attach_members(queryset, as_field="members_attr"): """Attach a json members representation to each object of the queryset. diff --git a/taiga/projects/validators.py b/taiga/projects/validators.py index fd73669f..2ea0b0dc 100644 --- a/taiga/projects/validators.py +++ b/taiga/projects/validators.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.db.models import Q from django.utils.translation import ugettext as _ diff --git a/taiga/projects/votes/__init__.py b/taiga/projects/votes/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/projects/votes/__init__.py +++ b/taiga/projects/votes/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/projects/votes/admin.py b/taiga/projects/votes/admin.py index 30ee9b94..678eaf72 100644 --- a/taiga/projects/votes/admin.py +++ b/taiga/projects/votes/admin.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.contrib import admin from django.contrib.contenttypes.admin import GenericTabularInline diff --git a/taiga/projects/votes/migrations/0001_initial.py b/taiga/projects/votes/migrations/0001_initial.py index 557ccb3a..a8a2d9b5 100644 --- a/taiga/projects/votes/migrations/0001_initial.py +++ b/taiga/projects/votes/migrations/0001_initial.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/votes/migrations/0002_auto_20150805_1600.py b/taiga/projects/votes/migrations/0002_auto_20150805_1600.py index 55ffe2be..4171d571 100644 --- a/taiga/projects/votes/migrations/0002_auto_20150805_1600.py +++ b/taiga/projects/votes/migrations/0002_auto_20150805_1600.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/votes/migrations/__init__.py b/taiga/projects/votes/migrations/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/projects/votes/migrations/__init__.py +++ b/taiga/projects/votes/migrations/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/projects/votes/mixins/__init__.py b/taiga/projects/votes/mixins/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/projects/votes/mixins/__init__.py +++ b/taiga/projects/votes/mixins/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/projects/votes/mixins/serializers.py b/taiga/projects/votes/mixins/serializers.py index 45094c6c..05b93be3 100644 --- a/taiga/projects/votes/mixins/serializers.py +++ b/taiga/projects/votes/mixins/serializers.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api import serializers from taiga.base.fields import MethodField diff --git a/taiga/projects/votes/mixins/viewsets.py b/taiga/projects/votes/mixins/viewsets.py index 6c762a3f..f9737b5d 100644 --- a/taiga/projects/votes/mixins/viewsets.py +++ b/taiga/projects/votes/mixins/viewsets.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.core.exceptions import ObjectDoesNotExist from taiga.base import response diff --git a/taiga/projects/votes/models.py b/taiga/projects/votes/models.py index a15ab6aa..f0d1dcc5 100644 --- a/taiga/projects/votes/models.py +++ b/taiga/projects/votes/models.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.conf import settings from django.contrib.contenttypes.fields import GenericForeignKey from django.db import models diff --git a/taiga/projects/votes/serializers.py b/taiga/projects/votes/serializers.py index b13c82a5..cc2b3fba 100644 --- a/taiga/projects/votes/serializers.py +++ b/taiga/projects/votes/serializers.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api import serializers from taiga.base.fields import Field, MethodField diff --git a/taiga/projects/votes/services.py b/taiga/projects/votes/services.py index 6ee67dd9..8a17599f 100644 --- a/taiga/projects/votes/services.py +++ b/taiga/projects/votes/services.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.db.models import F from django.db import transaction as tx diff --git a/taiga/projects/votes/utils.py b/taiga/projects/votes/utils.py index f5ae1b50..b85a4abe 100644 --- a/taiga/projects/votes/utils.py +++ b/taiga/projects/votes/utils.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.apps import apps diff --git a/taiga/projects/wiki/__init__.py b/taiga/projects/wiki/__init__.py index cd119875..3d8f796d 100644 --- a/taiga/projects/wiki/__init__.py +++ b/taiga/projects/wiki/__init__.py @@ -1,2 +1,9 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # default_app_config = "taiga.projects.wiki.apps.WikiAppConfig" diff --git a/taiga/projects/wiki/admin.py b/taiga/projects/wiki/admin.py index 4ea4e4ae..639212a8 100644 --- a/taiga/projects/wiki/admin.py +++ b/taiga/projects/wiki/admin.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.contrib import admin from taiga.projects.attachments.admin import AttachmentInline diff --git a/taiga/projects/wiki/api.py b/taiga/projects/wiki/api.py index e87c4c33..d5b82ee5 100644 --- a/taiga/projects/wiki/api.py +++ b/taiga/projects/wiki/api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.utils.translation import ugettext as _ from taiga.base import exceptions as exc diff --git a/taiga/projects/wiki/apps.py b/taiga/projects/wiki/apps.py index ef9a1a00..f94dbcfd 100644 --- a/taiga/projects/wiki/apps.py +++ b/taiga/projects/wiki/apps.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # from django.apps import AppConfig diff --git a/taiga/projects/wiki/migrations/0001_initial.py b/taiga/projects/wiki/migrations/0001_initial.py index 3f3ff63a..f6d9fa9d 100644 --- a/taiga/projects/wiki/migrations/0001_initial.py +++ b/taiga/projects/wiki/migrations/0001_initial.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/projects/wiki/migrations/0002_remove_wikipage_watchers.py b/taiga/projects/wiki/migrations/0002_remove_wikipage_watchers.py index 44d6d5ac..3ddb3714 100644 --- a/taiga/projects/wiki/migrations/0002_remove_wikipage_watchers.py +++ b/taiga/projects/wiki/migrations/0002_remove_wikipage_watchers.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import connection diff --git a/taiga/projects/wiki/migrations/0003_auto_20160615_0721.py b/taiga/projects/wiki/migrations/0003_auto_20160615_0721.py index 1e1876e0..31f999c3 100644 --- a/taiga/projects/wiki/migrations/0003_auto_20160615_0721.py +++ b/taiga/projects/wiki/migrations/0003_auto_20160615_0721.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-06-15 07:21 from __future__ import unicode_literals diff --git a/taiga/projects/wiki/migrations/0004_auto_20160928_0540.py b/taiga/projects/wiki/migrations/0004_auto_20160928_0540.py index cc3fbacb..ba866a27 100644 --- a/taiga/projects/wiki/migrations/0004_auto_20160928_0540.py +++ b/taiga/projects/wiki/migrations/0004_auto_20160928_0540.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-09-28 05:40 from __future__ import unicode_literals diff --git a/taiga/projects/wiki/migrations/0005_auto_20161201_1628.py b/taiga/projects/wiki/migrations/0005_auto_20161201_1628.py index 87723645..70de10d9 100644 --- a/taiga/projects/wiki/migrations/0005_auto_20161201_1628.py +++ b/taiga/projects/wiki/migrations/0005_auto_20161201_1628.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.10.3 on 2016-12-01 16:28 from __future__ import unicode_literals diff --git a/taiga/projects/wiki/migrations/__init__.py b/taiga/projects/wiki/migrations/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/projects/wiki/migrations/__init__.py +++ b/taiga/projects/wiki/migrations/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/projects/wiki/models.py b/taiga/projects/wiki/models.py index 1e4af63e..9ed75be8 100644 --- a/taiga/projects/wiki/models.py +++ b/taiga/projects/wiki/models.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.db import models from django.contrib.contenttypes.fields import GenericRelation from django.conf import settings diff --git a/taiga/projects/wiki/permissions.py b/taiga/projects/wiki/permissions.py index 133a2761..844759d2 100644 --- a/taiga/projects/wiki/permissions.py +++ b/taiga/projects/wiki/permissions.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api.permissions import (TaigaResourcePermission, HasProjectPerm, IsAuthenticated, IsProjectAdmin, AllowAny, IsSuperUser) diff --git a/taiga/projects/wiki/serializers.py b/taiga/projects/wiki/serializers.py index 14931cd4..7daf16b8 100644 --- a/taiga/projects/wiki/serializers.py +++ b/taiga/projects/wiki/serializers.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api import serializers from taiga.base.fields import Field, MethodField from taiga.projects.history import services as history_service diff --git a/taiga/projects/wiki/utils.py b/taiga/projects/wiki/utils.py index 4fced9d1..93b4c310 100644 --- a/taiga/projects/wiki/utils.py +++ b/taiga/projects/wiki/utils.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.projects.notifications.utils import attach_watchers_to_queryset from taiga.projects.notifications.utils import attach_total_watchers_to_queryset from taiga.projects.notifications.utils import attach_is_watcher_to_queryset diff --git a/taiga/projects/wiki/validators.py b/taiga/projects/wiki/validators.py index 62cd1e02..316baea9 100644 --- a/taiga/projects/wiki/validators.py +++ b/taiga/projects/wiki/validators.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api import validators from taiga.base.api import serializers from taiga.projects.notifications.validators import WatchersValidator diff --git a/taiga/routers.py b/taiga/routers.py index b6e7233f..3a48c6f1 100644 --- a/taiga/routers.py +++ b/taiga/routers.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base import routers from django.conf import settings diff --git a/taiga/searches/__init__.py b/taiga/searches/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/searches/__init__.py +++ b/taiga/searches/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/searches/api.py b/taiga/searches/api.py index 7702d3df..172b7238 100644 --- a/taiga/searches/api.py +++ b/taiga/searches/api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.apps import apps from taiga.base.api import viewsets diff --git a/taiga/searches/models.py b/taiga/searches/models.py index e69de29b..b92267f0 100644 --- a/taiga/searches/models.py +++ b/taiga/searches/models.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/searches/serializers.py b/taiga/searches/serializers.py index ff6bb7e2..b21f758f 100644 --- a/taiga/searches/serializers.py +++ b/taiga/searches/serializers.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api import serializers from taiga.base.fields import Field, MethodField diff --git a/taiga/searches/services.py b/taiga/searches/services.py index 4fde67d2..8d6f3828 100644 --- a/taiga/searches/services.py +++ b/taiga/searches/services.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.apps import apps from django.conf import settings from taiga.base.utils.db import to_tsquery diff --git a/taiga/stats/__init__.py b/taiga/stats/__init__.py index c25bed3b..beaebacb 100644 --- a/taiga/stats/__init__.py +++ b/taiga/stats/__init__.py @@ -1,2 +1,8 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + default_app_config = "taiga.stats.apps.StatsAppConfig" diff --git a/taiga/stats/api.py b/taiga/stats/api.py index 5c14d4ed..be99edee 100644 --- a/taiga/stats/api.py +++ b/taiga/stats/api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from collections import OrderedDict from django.conf import settings diff --git a/taiga/stats/apps.py b/taiga/stats/apps.py index 4377951e..97b5e309 100644 --- a/taiga/stats/apps.py +++ b/taiga/stats/apps.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.apps import AppConfig from django.apps import apps from django.conf.urls import include, url diff --git a/taiga/stats/permissions.py b/taiga/stats/permissions.py index fb3b817c..839ea2c8 100644 --- a/taiga/stats/permissions.py +++ b/taiga/stats/permissions.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api import permissions diff --git a/taiga/stats/routers.py b/taiga/stats/routers.py index 5b3dd001..4810432c 100644 --- a/taiga/stats/routers.py +++ b/taiga/stats/routers.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.conf import settings from taiga.base import routers diff --git a/taiga/stats/services.py b/taiga/stats/services.py index 3b0abb09..e8cdfb73 100644 --- a/taiga/stats/services.py +++ b/taiga/stats/services.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.apps import apps from django.contrib.auth import get_user_model from django.db.models import Count diff --git a/taiga/telemetry/__init__.py b/taiga/telemetry/__init__.py index b5a35e25..889e8c22 100644 --- a/taiga/telemetry/__init__.py +++ b/taiga/telemetry/__init__.py @@ -1,2 +1,8 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + default_app_config = "taiga.telemetry.apps.TelemetryAppConfig" diff --git a/taiga/telemetry/apps.py b/taiga/telemetry/apps.py index ee5bb5c5..61d8320b 100644 --- a/taiga/telemetry/apps.py +++ b/taiga/telemetry/apps.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.apps import AppConfig diff --git a/taiga/telemetry/migrations/0001_initial.py b/taiga/telemetry/migrations/0001_initial.py index 07d197ca..c6a4107c 100644 --- a/taiga/telemetry/migrations/0001_initial.py +++ b/taiga/telemetry/migrations/0001_initial.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 2.2.16 on 2020-11-20 10:05 from django.db import migrations, models diff --git a/taiga/telemetry/migrations/__init__.py b/taiga/telemetry/migrations/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/telemetry/migrations/__init__.py +++ b/taiga/telemetry/migrations/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/telemetry/models.py b/taiga/telemetry/models.py index 311588e8..eecd9662 100644 --- a/taiga/telemetry/models.py +++ b/taiga/telemetry/models.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.db import models from django.utils import timezone from django.utils.translation import ugettext_lazy as _ diff --git a/taiga/telemetry/services.py b/taiga/telemetry/services.py index b96e0fdd..669c976a 100644 --- a/taiga/telemetry/services.py +++ b/taiga/telemetry/services.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import datetime import uuid diff --git a/taiga/telemetry/tasks.py b/taiga/telemetry/tasks.py index 89fc2568..9f686df7 100644 --- a/taiga/telemetry/tasks.py +++ b/taiga/telemetry/tasks.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.conf import settings import rudder_analytics diff --git a/taiga/timeline/__init__.py b/taiga/timeline/__init__.py index 8ee24f78..92f08d1e 100644 --- a/taiga/timeline/__init__.py +++ b/taiga/timeline/__init__.py @@ -1,2 +1,8 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + default_app_config = "taiga.timeline.apps.TimelineAppConfig" diff --git a/taiga/timeline/api.py b/taiga/timeline/api.py index afc33579..e222bd5a 100644 --- a/taiga/timeline/api.py +++ b/taiga/timeline/api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.conf import settings from django.contrib.auth import get_user_model from django.contrib.contenttypes.models import ContentType diff --git a/taiga/timeline/apps.py b/taiga/timeline/apps.py index 32f5c86d..ca35256e 100644 --- a/taiga/timeline/apps.py +++ b/taiga/timeline/apps.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.apps import AppConfig from django.apps import apps from django.contrib.auth import get_user_model diff --git a/taiga/timeline/management/__init__.py b/taiga/timeline/management/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/timeline/management/__init__.py +++ b/taiga/timeline/management/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/timeline/management/commands/_clear_unnecessary_new_membership_entries.py b/taiga/timeline/management/commands/_clear_unnecessary_new_membership_entries.py index 9be3974f..6d963d66 100644 --- a/taiga/timeline/management/commands/_clear_unnecessary_new_membership_entries.py +++ b/taiga/timeline/management/commands/_clear_unnecessary_new_membership_entries.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.conf import settings from django.core.management.base import BaseCommand from django.test.utils import override_settings diff --git a/taiga/timeline/management/commands/_update_timeline_for_updated_tasks.py b/taiga/timeline/management/commands/_update_timeline_for_updated_tasks.py index 1e6fb9f5..0885324d 100644 --- a/taiga/timeline/management/commands/_update_timeline_for_updated_tasks.py +++ b/taiga/timeline/management/commands/_update_timeline_for_updated_tasks.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.conf import settings from django.contrib.contenttypes.models import ContentType from django.core.exceptions import ObjectDoesNotExist diff --git a/taiga/timeline/management/commands/rebuild_timeline.py b/taiga/timeline/management/commands/rebuild_timeline.py index a932b1d8..eb639204 100644 --- a/taiga/timeline/management/commands/rebuild_timeline.py +++ b/taiga/timeline/management/commands/rebuild_timeline.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Examples: # python manage.py rebuild_timeline --settings=settings.local_timeline --initial_date 2014-10-02 --final_date 2014-10-03 # python manage.py rebuild_timeline --settings=settings.local_timeline --purge diff --git a/taiga/timeline/management/commands/rebuild_timeline_iterating_per_projects.py b/taiga/timeline/management/commands/rebuild_timeline_iterating_per_projects.py index 2a0bab7d..4958bb4e 100644 --- a/taiga/timeline/management/commands/rebuild_timeline_iterating_per_projects.py +++ b/taiga/timeline/management/commands/rebuild_timeline_iterating_per_projects.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.core.management.base import BaseCommand from django.test.utils import override_settings from django.core.management import call_command diff --git a/taiga/timeline/migrations/0001_initial.py b/taiga/timeline/migrations/0001_initial.py index f7099a8a..566fa936 100644 --- a/taiga/timeline/migrations/0001_initial.py +++ b/taiga/timeline/migrations/0001_initial.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/timeline/migrations/0002_auto_20150327_1056.py b/taiga/timeline/migrations/0002_auto_20150327_1056.py index f0bd1e1f..74cadc82 100644 --- a/taiga/timeline/migrations/0002_auto_20150327_1056.py +++ b/taiga/timeline/migrations/0002_auto_20150327_1056.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/timeline/migrations/0003_auto_20150410_0829.py b/taiga/timeline/migrations/0003_auto_20150410_0829.py index 582588c9..d211b204 100644 --- a/taiga/timeline/migrations/0003_auto_20150410_0829.py +++ b/taiga/timeline/migrations/0003_auto_20150410_0829.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/timeline/migrations/0004_auto_20150603_1312.py b/taiga/timeline/migrations/0004_auto_20150603_1312.py index ce7f340b..a0d3d76f 100644 --- a/taiga/timeline/migrations/0004_auto_20150603_1312.py +++ b/taiga/timeline/migrations/0004_auto_20150603_1312.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/timeline/migrations/0005_auto_20160706_0723.py b/taiga/timeline/migrations/0005_auto_20160706_0723.py index 7ac9fa9c..79a8a550 100644 --- a/taiga/timeline/migrations/0005_auto_20160706_0723.py +++ b/taiga/timeline/migrations/0005_auto_20160706_0723.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-07-06 07:23 from __future__ import unicode_literals diff --git a/taiga/timeline/migrations/0006_json_to_jsonb.py b/taiga/timeline/migrations/0006_json_to_jsonb.py index de9b3830..cc0409e6 100644 --- a/taiga/timeline/migrations/0006_json_to_jsonb.py +++ b/taiga/timeline/migrations/0006_json_to_jsonb.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.10.2 on 2016-10-26 11:35 from __future__ import unicode_literals diff --git a/taiga/timeline/migrations/0007_auto_20170406_0615.py b/taiga/timeline/migrations/0007_auto_20170406_0615.py index e1b2fa77..22f7a801 100644 --- a/taiga/timeline/migrations/0007_auto_20170406_0615.py +++ b/taiga/timeline/migrations/0007_auto_20170406_0615.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.10.6 on 2017-04-06 06:15 from __future__ import unicode_literals diff --git a/taiga/timeline/migrations/0008_auto_20190606_1528.py b/taiga/timeline/migrations/0008_auto_20190606_1528.py index 3fe136d1..50fcc832 100644 --- a/taiga/timeline/migrations/0008_auto_20190606_1528.py +++ b/taiga/timeline/migrations/0008_auto_20190606_1528.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.11.20 on 2019-06-06 15:28 from __future__ import unicode_literals diff --git a/taiga/timeline/migrations/__init__.py b/taiga/timeline/migrations/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/timeline/migrations/__init__.py +++ b/taiga/timeline/migrations/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/timeline/models.py b/taiga/timeline/models.py index e86eb793..c7de07a5 100644 --- a/taiga/timeline/models.py +++ b/taiga/timeline/models.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.db import models from taiga.base.db.models.fields import JSONField from django.utils import timezone diff --git a/taiga/timeline/permissions.py b/taiga/timeline/permissions.py index 02f16efd..6cba6052 100644 --- a/taiga/timeline/permissions.py +++ b/taiga/timeline/permissions.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api.permissions import TaigaResourcePermission, AllowAny, IsSuperUser from taiga.permissions.permissions import HasProjectPerm, IsProjectAdmin diff --git a/taiga/timeline/rebuilder.py b/taiga/timeline/rebuilder.py index d57f7e56..2514153b 100644 --- a/taiga/timeline/rebuilder.py +++ b/taiga/timeline/rebuilder.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.contrib.contenttypes.models import ContentType from django.core.exceptions import ObjectDoesNotExist from django.db.models import Model diff --git a/taiga/timeline/serializers.py b/taiga/timeline/serializers.py index 0864347c..9324c527 100644 --- a/taiga/timeline/serializers.py +++ b/taiga/timeline/serializers.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from urllib.parse import urlparse from django.core.files.storage import default_storage diff --git a/taiga/timeline/service.py b/taiga/timeline/service.py index 4cde3e79..9c550b71 100644 --- a/taiga/timeline/service.py +++ b/taiga/timeline/service.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.apps import apps from django.contrib.auth import get_user_model from django.contrib.contenttypes.models import ContentType diff --git a/taiga/timeline/signals.py b/taiga/timeline/signals.py index 0d87e1a7..bb1a3162 100644 --- a/taiga/timeline/signals.py +++ b/taiga/timeline/signals.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.conf import settings from django.contrib.auth import get_user_model from django.contrib.contenttypes.models import ContentType diff --git a/taiga/timeline/timeline_implementations.py b/taiga/timeline/timeline_implementations.py index 8ee4f858..920d0ab5 100644 --- a/taiga/timeline/timeline_implementations.py +++ b/taiga/timeline/timeline_implementations.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.timeline.service import register_timeline_implementation from . import service diff --git a/taiga/urls.py b/taiga/urls.py index 3939dfe6..aed6f5e1 100644 --- a/taiga/urls.py +++ b/taiga/urls.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.conf import settings from django.conf.urls import include, url from django.contrib import admin diff --git a/taiga/users/__init__.py b/taiga/users/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/users/__init__.py +++ b/taiga/users/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/users/admin.py b/taiga/users/admin.py index c47b1523..15f1c97d 100644 --- a/taiga/users/admin.py +++ b/taiga/users/admin.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.apps import apps from django.contrib import admin diff --git a/taiga/users/api.py b/taiga/users/api.py index 791d64d8..0949ede7 100644 --- a/taiga/users/api.py +++ b/taiga/users/api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import uuid from django.apps import apps diff --git a/taiga/users/filters.py b/taiga/users/filters.py index 22b0692b..2677e9c7 100644 --- a/taiga/users/filters.py +++ b/taiga/users/filters.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.filters import PermissionBasedFilterBackend from taiga.base.utils.db import to_tsquery diff --git a/taiga/users/forms.py b/taiga/users/forms.py index 03065bb2..5c8a285d 100644 --- a/taiga/users/forms.py +++ b/taiga/users/forms.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django import forms from django.contrib.auth.forms import UserCreationForm as DjangoUserCreationForm from django.contrib.auth.forms import UserChangeForm as DjangoUserChangeForm diff --git a/taiga/users/gravatar.py b/taiga/users/gravatar.py index e4debe2a..a4aef8aa 100644 --- a/taiga/users/gravatar.py +++ b/taiga/users/gravatar.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import hashlib diff --git a/taiga/users/migrations/0001_initial.py b/taiga/users/migrations/0001_initial.py index 664790e6..2bc7a20b 100644 --- a/taiga/users/migrations/0001_initial.py +++ b/taiga/users/migrations/0001_initial.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/users/migrations/0002_auto_20140903_0916.py b/taiga/users/migrations/0002_auto_20140903_0916.py index 45735fee..50c04c6f 100644 --- a/taiga/users/migrations/0002_auto_20140903_0916.py +++ b/taiga/users/migrations/0002_auto_20140903_0916.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/users/migrations/0003_auto_20140903_0925.py b/taiga/users/migrations/0003_auto_20140903_0925.py index 1c4a1f38..c188e303 100644 --- a/taiga/users/migrations/0003_auto_20140903_0925.py +++ b/taiga/users/migrations/0003_auto_20140903_0925.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/users/migrations/0004_auto_20140913_1914.py b/taiga/users/migrations/0004_auto_20140913_1914.py index 2a3fd0bf..57a692a6 100644 --- a/taiga/users/migrations/0004_auto_20140913_1914.py +++ b/taiga/users/migrations/0004_auto_20140913_1914.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/users/migrations/0005_alter_user_photo.py b/taiga/users/migrations/0005_alter_user_photo.py index f7632621..54c34980 100644 --- a/taiga/users/migrations/0005_alter_user_photo.py +++ b/taiga/users/migrations/0005_alter_user_photo.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/users/migrations/0006_auto_20141030_1132.py b/taiga/users/migrations/0006_auto_20141030_1132.py index 62f9338d..fec98da2 100644 --- a/taiga/users/migrations/0006_auto_20141030_1132.py +++ b/taiga/users/migrations/0006_auto_20141030_1132.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/users/migrations/0007_auto_20150209_1611.py b/taiga/users/migrations/0007_auto_20150209_1611.py index 5558c943..6146d2c8 100644 --- a/taiga/users/migrations/0007_auto_20150209_1611.py +++ b/taiga/users/migrations/0007_auto_20150209_1611.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/users/migrations/0008_auto_20150213_1701.py b/taiga/users/migrations/0008_auto_20150213_1701.py index 216bcf81..21bada31 100644 --- a/taiga/users/migrations/0008_auto_20150213_1701.py +++ b/taiga/users/migrations/0008_auto_20150213_1701.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/users/migrations/0009_auto_20150326_1241.py b/taiga/users/migrations/0009_auto_20150326_1241.py index d12b59f8..39ba43c4 100644 --- a/taiga/users/migrations/0009_auto_20150326_1241.py +++ b/taiga/users/migrations/0009_auto_20150326_1241.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/users/migrations/0010_auto_20150414_0936.py b/taiga/users/migrations/0010_auto_20150414_0936.py index 96eb7581..a124dc6a 100644 --- a/taiga/users/migrations/0010_auto_20150414_0936.py +++ b/taiga/users/migrations/0010_auto_20150414_0936.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/users/migrations/0011_user_theme.py b/taiga/users/migrations/0011_user_theme.py index 59f4daf0..fad3708f 100644 --- a/taiga/users/migrations/0011_user_theme.py +++ b/taiga/users/migrations/0011_user_theme.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/users/migrations/0012_auto_20150812_1142.py b/taiga/users/migrations/0012_auto_20150812_1142.py index db95faca..fe0e279e 100644 --- a/taiga/users/migrations/0012_auto_20150812_1142.py +++ b/taiga/users/migrations/0012_auto_20150812_1142.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/users/migrations/0013_auto_20150901_1600.py b/taiga/users/migrations/0013_auto_20150901_1600.py index 5d7381ba..aa7c2447 100644 --- a/taiga/users/migrations/0013_auto_20150901_1600.py +++ b/taiga/users/migrations/0013_auto_20150901_1600.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/users/migrations/0014_auto_20151005_1357.py b/taiga/users/migrations/0014_auto_20151005_1357.py index ee24e169..5cdf0bcb 100644 --- a/taiga/users/migrations/0014_auto_20151005_1357.py +++ b/taiga/users/migrations/0014_auto_20151005_1357.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/users/migrations/0015_auto_20160120_1409.py b/taiga/users/migrations/0015_auto_20160120_1409.py index 0cfb0ddc..277f6505 100644 --- a/taiga/users/migrations/0015_auto_20160120_1409.py +++ b/taiga/users/migrations/0015_auto_20160120_1409.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import migrations, models diff --git a/taiga/users/migrations/0016_auto_20160204_1050.py b/taiga/users/migrations/0016_auto_20160204_1050.py index 244fcd00..7e991633 100644 --- a/taiga/users/migrations/0016_auto_20160204_1050.py +++ b/taiga/users/migrations/0016_auto_20160204_1050.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import migrations, models diff --git a/taiga/users/migrations/0017_auto_20160208_1751.py b/taiga/users/migrations/0017_auto_20160208_1751.py index 224248e1..29c1f387 100644 --- a/taiga/users/migrations/0017_auto_20160208_1751.py +++ b/taiga/users/migrations/0017_auto_20160208_1751.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import migrations, models diff --git a/taiga/users/migrations/0018_remove_vote_issues_in_roles_permissions_field.py b/taiga/users/migrations/0018_remove_vote_issues_in_roles_permissions_field.py index cd9f0ae6..1d79160b 100644 --- a/taiga/users/migrations/0018_remove_vote_issues_in_roles_permissions_field.py +++ b/taiga/users/migrations/0018_remove_vote_issues_in_roles_permissions_field.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-04-04 09:32 from __future__ import unicode_literals diff --git a/taiga/users/migrations/0019_auto_20160519_1058.py b/taiga/users/migrations/0019_auto_20160519_1058.py index 905f33b0..2c3262ea 100644 --- a/taiga/users/migrations/0019_auto_20160519_1058.py +++ b/taiga/users/migrations/0019_auto_20160519_1058.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-05-19 10:58 from __future__ import unicode_literals diff --git a/taiga/users/migrations/0020_auto_20160525_1229.py b/taiga/users/migrations/0020_auto_20160525_1229.py index 5e73a57e..a989999e 100644 --- a/taiga/users/migrations/0020_auto_20160525_1229.py +++ b/taiga/users/migrations/0020_auto_20160525_1229.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-05-25 12:29 from __future__ import unicode_literals diff --git a/taiga/users/migrations/0021_auto_20160614_1201.py b/taiga/users/migrations/0021_auto_20160614_1201.py index c0cdd2f6..0d41eaf8 100644 --- a/taiga/users/migrations/0021_auto_20160614_1201.py +++ b/taiga/users/migrations/0021_auto_20160614_1201.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-06-14 12:01 from __future__ import unicode_literals diff --git a/taiga/users/migrations/0022_auto_20160629_1443.py b/taiga/users/migrations/0022_auto_20160629_1443.py index 02ca5500..f3674dd8 100644 --- a/taiga/users/migrations/0022_auto_20160629_1443.py +++ b/taiga/users/migrations/0022_auto_20160629_1443.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.9.2 on 2016-06-29 14:43 from __future__ import unicode_literals diff --git a/taiga/users/migrations/0023_json_to_jsonb.py b/taiga/users/migrations/0023_json_to_jsonb.py index feb42127..7c966862 100644 --- a/taiga/users/migrations/0023_json_to_jsonb.py +++ b/taiga/users/migrations/0023_json_to_jsonb.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.10.2 on 2016-10-26 11:35 from __future__ import unicode_literals diff --git a/taiga/users/migrations/0024_auto_20170406_0727.py b/taiga/users/migrations/0024_auto_20170406_0727.py index 62c4fe76..f611679b 100644 --- a/taiga/users/migrations/0024_auto_20170406_0727.py +++ b/taiga/users/migrations/0024_auto_20170406_0727.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.10.6 on 2017-04-06 07:27 from __future__ import unicode_literals diff --git a/taiga/users/migrations/0025_user_uuid.py b/taiga/users/migrations/0025_user_uuid.py index 82106ef0..b0a31c0c 100644 --- a/taiga/users/migrations/0025_user_uuid.py +++ b/taiga/users/migrations/0025_user_uuid.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.11.2 on 2017-10-31 14:57 from __future__ import unicode_literals diff --git a/taiga/users/migrations/0026_auto_20180514_1513.py b/taiga/users/migrations/0026_auto_20180514_1513.py index 68f5568f..b94debad 100644 --- a/taiga/users/migrations/0026_auto_20180514_1513.py +++ b/taiga/users/migrations/0026_auto_20180514_1513.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.11.2 on 2018-05-14 15:13 from __future__ import unicode_literals diff --git a/taiga/users/migrations/0027_auto_20180610_2011.py b/taiga/users/migrations/0027_auto_20180610_2011.py index e9f00a88..19ef044a 100644 --- a/taiga/users/migrations/0027_auto_20180610_2011.py +++ b/taiga/users/migrations/0027_auto_20180610_2011.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.11.2 on 2018-06-10 20:11 from __future__ import unicode_literals diff --git a/taiga/users/migrations/0028_auto_20200615_0811.py b/taiga/users/migrations/0028_auto_20200615_0811.py index 345ffb5a..9bb8bef2 100644 --- a/taiga/users/migrations/0028_auto_20200615_0811.py +++ b/taiga/users/migrations/0028_auto_20200615_0811.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 2.2.12 on 2020-06-15 08:11 from django.db import migrations, models diff --git a/taiga/users/migrations/0029_user_verified_email.py b/taiga/users/migrations/0029_user_verified_email.py index 36a3a1af..79de9ade 100644 --- a/taiga/users/migrations/0029_user_verified_email.py +++ b/taiga/users/migrations/0029_user_verified_email.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 2.2.14 on 2020-07-30 12:09 from django.db import migrations, models diff --git a/taiga/users/migrations/0030_auto_20201119_1031.py b/taiga/users/migrations/0030_auto_20201119_1031.py index c2f21b21..96f23269 100644 --- a/taiga/users/migrations/0030_auto_20201119_1031.py +++ b/taiga/users/migrations/0030_auto_20201119_1031.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 2.2.17 on 2020-11-19 10:31 from django.db import migrations, models diff --git a/taiga/users/migrations/0031_auto_20210108_1430.py b/taiga/users/migrations/0031_auto_20210108_1430.py index 1473c3e5..6e6cf515 100644 --- a/taiga/users/migrations/0031_auto_20210108_1430.py +++ b/taiga/users/migrations/0031_auto_20210108_1430.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 2.2.17 on 2021-01-08 14:30 import django.contrib.auth.models diff --git a/taiga/users/migrations/__init__.py b/taiga/users/migrations/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/users/migrations/__init__.py +++ b/taiga/users/migrations/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/users/models.py b/taiga/users/models.py index 8ec5b0f9..cd07501c 100644 --- a/taiga/users/models.py +++ b/taiga/users/models.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from importlib import import_module import random diff --git a/taiga/users/permissions.py b/taiga/users/permissions.py index 3ef4e0a3..a5a204b8 100644 --- a/taiga/users/permissions.py +++ b/taiga/users/permissions.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api.permissions import TaigaResourcePermission from taiga.base.api.permissions import IsSuperUser from taiga.base.api.permissions import AllowAny diff --git a/taiga/users/serializers.py b/taiga/users/serializers.py index 974038a3..4f022504 100644 --- a/taiga/users/serializers.py +++ b/taiga/users/serializers.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.conf import settings from taiga.base.api import serializers diff --git a/taiga/users/services.py b/taiga/users/services.py index 41101bc1..c1aeef29 100644 --- a/taiga/users/services.py +++ b/taiga/users/services.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + """ This model contains a domain logic for users application. """ diff --git a/taiga/users/signals.py b/taiga/users/signals.py index cc3d3a39..fe319689 100644 --- a/taiga/users/signals.py +++ b/taiga/users/signals.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import django.dispatch diff --git a/taiga/users/templates/emails/change_email-body-html.jinja b/taiga/users/templates/emails/change_email-body-html.jinja index ca82224c..3773f664 100644 --- a/taiga/users/templates/emails/change_email-body-html.jinja +++ b/taiga/users/templates/emails/change_email-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/base-body-html.jinja" %} {% block body %} diff --git a/taiga/users/templates/emails/change_email-body-text.jinja b/taiga/users/templates/emails/change_email-body-text.jinja index a189a197..290f1af8 100644 --- a/taiga/users/templates/emails/change_email-body-text.jinja +++ b/taiga/users/templates/emails/change_email-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans signature=sr("signature"), full_name=user.get_full_name(), url=resolve_front_url('change-email', user.email_token) %} Hello {{ full_name }}, please confirm your email diff --git a/taiga/users/templates/emails/change_email-subject.jinja b/taiga/users/templates/emails/change_email-subject.jinja index 52199560..bdbe3f93 100644 --- a/taiga/users/templates/emails/change_email-subject.jinja +++ b/taiga/users/templates/emails/change_email-subject.jinja @@ -1 +1,9 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {{ _("[Taiga] Change email") }} diff --git a/taiga/users/templates/emails/password_recovery-body-html.jinja b/taiga/users/templates/emails/password_recovery-body-html.jinja index abc4fd0b..f6de3bcb 100644 --- a/taiga/users/templates/emails/password_recovery-body-html.jinja +++ b/taiga/users/templates/emails/password_recovery-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/base-body-html.jinja" %} {% block body %} diff --git a/taiga/users/templates/emails/password_recovery-body-text.jinja b/taiga/users/templates/emails/password_recovery-body-text.jinja index fce11c5a..6192cfa3 100644 --- a/taiga/users/templates/emails/password_recovery-body-text.jinja +++ b/taiga/users/templates/emails/password_recovery-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans signature=sr("signature"), full_name=user.get_full_name(), url=resolve_front_url('change-password', user.token) %} Hello {{ full_name }}, you asked to recover your password diff --git a/taiga/users/templates/emails/password_recovery-subject.jinja b/taiga/users/templates/emails/password_recovery-subject.jinja index 6193320d..582daa58 100644 --- a/taiga/users/templates/emails/password_recovery-subject.jinja +++ b/taiga/users/templates/emails/password_recovery-subject.jinja @@ -1 +1,9 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {{ _("[Taiga] Password recovery") }} diff --git a/taiga/users/templates/emails/registered_user-body-html.jinja b/taiga/users/templates/emails/registered_user-body-html.jinja index e4442ad1..fa15065b 100644 --- a/taiga/users/templates/emails/registered_user-body-html.jinja +++ b/taiga/users/templates/emails/registered_user-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/hero-body-html.jinja" %} {% block body %} diff --git a/taiga/users/templates/emails/registered_user-body-text.jinja b/taiga/users/templates/emails/registered_user-body-text.jinja index 8b5c1e2f..0e431fe4 100644 --- a/taiga/users/templates/emails/registered_user-body-text.jinja +++ b/taiga/users/templates/emails/registered_user-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans product_name=sr("product_name") %} Thank you for registering in {{ product_name }} diff --git a/taiga/users/templates/emails/registered_user-subject.jinja b/taiga/users/templates/emails/registered_user-subject.jinja index 45fe8698..19dfd8bb 100644 --- a/taiga/users/templates/emails/registered_user-subject.jinja +++ b/taiga/users/templates/emails/registered_user-subject.jinja @@ -1 +1,9 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {{ _("You've been Taigatized!") }} diff --git a/taiga/users/templates/emails/send_verification-body-html.jinja b/taiga/users/templates/emails/send_verification-body-html.jinja index d1d4cd21..4e5762e8 100644 --- a/taiga/users/templates/emails/send_verification-body-html.jinja +++ b/taiga/users/templates/emails/send_verification-body-html.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% extends "emails/base-body-html.jinja" %} {% block body %} diff --git a/taiga/users/templates/emails/send_verification-body-text.jinja b/taiga/users/templates/emails/send_verification-body-text.jinja index dfa3d28b..c7c4b10b 100644 --- a/taiga/users/templates/emails/send_verification-body-text.jinja +++ b/taiga/users/templates/emails/send_verification-body-text.jinja @@ -1,3 +1,11 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {% trans signature=sr("signature"), full_name=user.get_full_name(), url=resolve_front_url('verify-email', user.email_token) %} Hello {{ full_name }}, please verify your email diff --git a/taiga/users/templates/emails/send_verification-subject.jinja b/taiga/users/templates/emails/send_verification-subject.jinja index 32b17228..a2c4d257 100644 --- a/taiga/users/templates/emails/send_verification-subject.jinja +++ b/taiga/users/templates/emails/send_verification-subject.jinja @@ -1 +1,9 @@ +{# +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2021-present Kaleidos Ventures SL +#} + {{ _("[Taiga] Verify email") }} diff --git a/taiga/users/throttling.py b/taiga/users/throttling.py index 7caf3e9b..413f8746 100644 --- a/taiga/users/throttling.py +++ b/taiga/users/throttling.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base import throttling diff --git a/taiga/users/utils.py b/taiga/users/utils.py index 9176a639..66b8c33b 100644 --- a/taiga/users/utils.py +++ b/taiga/users/utils.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + def attach_roles(queryset, as_field="roles_attr"): """Attach roles to each object of the queryset. diff --git a/taiga/users/validators.py b/taiga/users/validators.py index 7b392faf..f995b265 100644 --- a/taiga/users/validators.py +++ b/taiga/users/validators.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import bleach from django.core import validators as core_validators diff --git a/taiga/userstorage/__init__.py b/taiga/userstorage/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/userstorage/__init__.py +++ b/taiga/userstorage/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/userstorage/api.py b/taiga/userstorage/api.py index 66fffbbd..6a33019a 100644 --- a/taiga/userstorage/api.py +++ b/taiga/userstorage/api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.utils.translation import ugettext as _ from taiga.base.api import ModelCrudViewSet diff --git a/taiga/userstorage/filters.py b/taiga/userstorage/filters.py index a57652cf..1e7df877 100644 --- a/taiga/userstorage/filters.py +++ b/taiga/userstorage/filters.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base import filters diff --git a/taiga/userstorage/migrations/0001_initial.py b/taiga/userstorage/migrations/0001_initial.py index c1aa0bef..68ea4b0f 100644 --- a/taiga/userstorage/migrations/0001_initial.py +++ b/taiga/userstorage/migrations/0001_initial.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/userstorage/migrations/0002_fix_json_field_not_null.py b/taiga/userstorage/migrations/0002_fix_json_field_not_null.py index 1aa5c568..871b16f4 100644 --- a/taiga/userstorage/migrations/0002_fix_json_field_not_null.py +++ b/taiga/userstorage/migrations/0002_fix_json_field_not_null.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from taiga.base.db.models.fields import JSONField diff --git a/taiga/userstorage/migrations/0003_json_to_jsonb.py b/taiga/userstorage/migrations/0003_json_to_jsonb.py index e828d74c..99410100 100644 --- a/taiga/userstorage/migrations/0003_json_to_jsonb.py +++ b/taiga/userstorage/migrations/0003_json_to_jsonb.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.10.2 on 2016-10-26 11:35 from __future__ import unicode_literals diff --git a/taiga/userstorage/migrations/__init__.py b/taiga/userstorage/migrations/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/userstorage/migrations/__init__.py +++ b/taiga/userstorage/migrations/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/userstorage/models.py b/taiga/userstorage/models.py index 043d1c6b..df0ccf32 100644 --- a/taiga/userstorage/models.py +++ b/taiga/userstorage/models.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.db import models from django.conf import settings from django.utils.translation import ugettext_lazy as _ diff --git a/taiga/userstorage/permissions.py b/taiga/userstorage/permissions.py index 1f1e0551..f7e37965 100644 --- a/taiga/userstorage/permissions.py +++ b/taiga/userstorage/permissions.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api.permissions import TaigaResourcePermission, IsAuthenticated, DenyAll diff --git a/taiga/userstorage/serializers.py b/taiga/userstorage/serializers.py index bb58e55e..6b75826a 100644 --- a/taiga/userstorage/serializers.py +++ b/taiga/userstorage/serializers.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api import serializers from taiga.base.fields import Field diff --git a/taiga/userstorage/validators.py b/taiga/userstorage/validators.py index 96c0676f..1112e5cc 100644 --- a/taiga/userstorage/validators.py +++ b/taiga/userstorage/validators.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api import validators from . import models diff --git a/taiga/webhooks/__init__.py b/taiga/webhooks/__init__.py index 0f2da768..f143888a 100644 --- a/taiga/webhooks/__init__.py +++ b/taiga/webhooks/__init__.py @@ -1,2 +1,8 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + default_app_config = "taiga.webhooks.apps.WebhooksAppConfig" diff --git a/taiga/webhooks/api.py b/taiga/webhooks/api.py index 991aff70..7e537880 100644 --- a/taiga/webhooks/api.py +++ b/taiga/webhooks/api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.utils import timezone from django.utils.translation import ugettext as _ diff --git a/taiga/webhooks/apps.py b/taiga/webhooks/apps.py index ca364f87..5b2f4b90 100644 --- a/taiga/webhooks/apps.py +++ b/taiga/webhooks/apps.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.apps import apps from django.apps import AppConfig from django.db.models import signals diff --git a/taiga/webhooks/migrations/0001_initial.py b/taiga/webhooks/migrations/0001_initial.py index 594a033f..fc0aaaf7 100644 --- a/taiga/webhooks/migrations/0001_initial.py +++ b/taiga/webhooks/migrations/0001_initial.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/webhooks/migrations/0002_webhook_name.py b/taiga/webhooks/migrations/0002_webhook_name.py index 9def6115..d1ccf9b9 100644 --- a/taiga/webhooks/migrations/0002_webhook_name.py +++ b/taiga/webhooks/migrations/0002_webhook_name.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/webhooks/migrations/0003_auto_20150122_1021.py b/taiga/webhooks/migrations/0003_auto_20150122_1021.py index d333fb43..42d1e25f 100644 --- a/taiga/webhooks/migrations/0003_auto_20150122_1021.py +++ b/taiga/webhooks/migrations/0003_auto_20150122_1021.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/webhooks/migrations/0004_auto_20150202_0834.py b/taiga/webhooks/migrations/0004_auto_20150202_0834.py index 434eefce..d2b12f1b 100644 --- a/taiga/webhooks/migrations/0004_auto_20150202_0834.py +++ b/taiga/webhooks/migrations/0004_auto_20150202_0834.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import migrations diff --git a/taiga/webhooks/migrations/0005_auto_20150505_1639.py b/taiga/webhooks/migrations/0005_auto_20150505_1639.py index df4e5940..631725f7 100644 --- a/taiga/webhooks/migrations/0005_auto_20150505_1639.py +++ b/taiga/webhooks/migrations/0005_auto_20150505_1639.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from __future__ import unicode_literals from django.db import models, migrations diff --git a/taiga/webhooks/migrations/0006_json_to_jsonb.py b/taiga/webhooks/migrations/0006_json_to_jsonb.py index fb86ed7b..f251491a 100644 --- a/taiga/webhooks/migrations/0006_json_to_jsonb.py +++ b/taiga/webhooks/migrations/0006_json_to_jsonb.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + # Generated by Django 1.10.2 on 2016-10-26 11:35 from __future__ import unicode_literals diff --git a/taiga/webhooks/migrations/__init__.py b/taiga/webhooks/migrations/__init__.py index e69de29b..b92267f0 100644 --- a/taiga/webhooks/migrations/__init__.py +++ b/taiga/webhooks/migrations/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/taiga/webhooks/models.py b/taiga/webhooks/models.py index 84b72e88..86ca5e1f 100644 --- a/taiga/webhooks/models.py +++ b/taiga/webhooks/models.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.db import models from django.utils.translation import ugettext_lazy as _ diff --git a/taiga/webhooks/permissions.py b/taiga/webhooks/permissions.py index c561212a..8a788254 100644 --- a/taiga/webhooks/permissions.py +++ b/taiga/webhooks/permissions.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api.permissions import (TaigaResourcePermission, IsProjectAdmin, AllowAny, PermissionComponent) diff --git a/taiga/webhooks/serializers.py b/taiga/webhooks/serializers.py index 63b97294..b482f430 100644 --- a/taiga/webhooks/serializers.py +++ b/taiga/webhooks/serializers.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.core.exceptions import ObjectDoesNotExist from taiga.base.api import serializers diff --git a/taiga/webhooks/signal_handlers.py b/taiga/webhooks/signal_handlers.py index 40b634f1..8f2946a2 100644 --- a/taiga/webhooks/signal_handlers.py +++ b/taiga/webhooks/signal_handlers.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.db import connection from django.conf import settings from django.utils import timezone diff --git a/taiga/webhooks/tasks.py b/taiga/webhooks/tasks.py index f7ad1c9a..2338ecfc 100644 --- a/taiga/webhooks/tasks.py +++ b/taiga/webhooks/tasks.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import hmac import hashlib import requests diff --git a/taiga/webhooks/validators.py b/taiga/webhooks/validators.py index 9cdcaf11..c1ff529e 100644 --- a/taiga/webhooks/validators.py +++ b/taiga/webhooks/validators.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import ipaddress from urllib.parse import urlparse diff --git a/taiga/wsgi.py b/taiga/wsgi.py index 0f078be9..6a497268 100644 --- a/taiga/wsgi.py +++ b/taiga/wsgi.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + """ WSGI config for taiga project. diff --git a/tests/__init__.py b/tests/__init__.py index e69de29b..b92267f0 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/tests/config.py b/tests/config.py index 9229312f..bd460935 100644 --- a/tests/config.py +++ b/tests/config.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from settings.common import * # noqa, pylint: disable=unused-wildcard-import DEBUG = True diff --git a/tests/conftest.py b/tests/conftest.py index 2aecdf4e..40d11f6d 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest import django from .fixtures import * diff --git a/tests/factories.py b/tests/factories.py index 2cc2f4d5..47d55042 100644 --- a/tests/factories.py +++ b/tests/factories.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import uuid import threading from datetime import date, timedelta diff --git a/tests/fixtures.py b/tests/fixtures.py index 546a061f..690ea2f7 100644 --- a/tests/fixtures.py +++ b/tests/fixtures.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from unittest import mock import functools diff --git a/tests/integration/__init__.py b/tests/integration/__init__.py index e69de29b..b92267f0 100644 --- a/tests/integration/__init__.py +++ b/tests/integration/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/tests/integration/resources_permissions/__init__.py b/tests/integration/resources_permissions/__init__.py index e69de29b..b92267f0 100644 --- a/tests/integration/resources_permissions/__init__.py +++ b/tests/integration/resources_permissions/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/tests/integration/resources_permissions/test_application_tokens_resources.py b/tests/integration/resources_permissions/test_application_tokens_resources.py index 8dd5ee7b..b04009e6 100644 --- a/tests/integration/resources_permissions/test_application_tokens_resources.py +++ b/tests/integration/resources_permissions/test_application_tokens_resources.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.urls import reverse from taiga.base.utils import json diff --git a/tests/integration/resources_permissions/test_attachment_resources.py b/tests/integration/resources_permissions/test_attachment_resources.py index 2d73f7d4..cc2b8cc3 100644 --- a/tests/integration/resources_permissions/test_attachment_resources.py +++ b/tests/integration/resources_permissions/test_attachment_resources.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.urls import reverse from django.core.files.uploadedfile import SimpleUploadedFile from django.test.client import MULTIPART_CONTENT diff --git a/tests/integration/resources_permissions/test_auth_resources.py b/tests/integration/resources_permissions/test_auth_resources.py index d6a3dbf9..d8c63fa1 100644 --- a/tests/integration/resources_permissions/test_auth_resources.py +++ b/tests/integration/resources_permissions/test_auth_resources.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.urls import reverse from taiga.base.utils import json diff --git a/tests/integration/resources_permissions/test_contact.py b/tests/integration/resources_permissions/test_contact.py index 485f44ff..0a524238 100644 --- a/tests/integration/resources_permissions/test_contact.py +++ b/tests/integration/resources_permissions/test_contact.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.urls import reverse from tests import factories as f diff --git a/tests/integration/resources_permissions/test_epics_custom_attributes_resource.py b/tests/integration/resources_permissions/test_epics_custom_attributes_resource.py index 30e364b2..7fb7ecd4 100644 --- a/tests/integration/resources_permissions/test_epics_custom_attributes_resource.py +++ b/tests/integration/resources_permissions/test_epics_custom_attributes_resource.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.urls import reverse from taiga.base.utils import json diff --git a/tests/integration/resources_permissions/test_epics_related_userstories_resources.py b/tests/integration/resources_permissions/test_epics_related_userstories_resources.py index a9291690..201ff5aa 100644 --- a/tests/integration/resources_permissions/test_epics_related_userstories_resources.py +++ b/tests/integration/resources_permissions/test_epics_related_userstories_resources.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import uuid from django.urls import reverse diff --git a/tests/integration/resources_permissions/test_epics_resources.py b/tests/integration/resources_permissions/test_epics_resources.py index e5316033..53e88e6a 100644 --- a/tests/integration/resources_permissions/test_epics_resources.py +++ b/tests/integration/resources_permissions/test_epics_resources.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import uuid from django.urls import reverse diff --git a/tests/integration/resources_permissions/test_feedback.py b/tests/integration/resources_permissions/test_feedback.py index 79e4771d..a8f7b161 100644 --- a/tests/integration/resources_permissions/test_feedback.py +++ b/tests/integration/resources_permissions/test_feedback.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.urls import reverse from tests import factories as f diff --git a/tests/integration/resources_permissions/test_history_resources.py b/tests/integration/resources_permissions/test_history_resources.py index af2c863a..945fba2a 100644 --- a/tests/integration/resources_permissions/test_history_resources.py +++ b/tests/integration/resources_permissions/test_history_resources.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.urls import reverse from django.utils import timezone diff --git a/tests/integration/resources_permissions/test_issues_custom_attributes_resource.py b/tests/integration/resources_permissions/test_issues_custom_attributes_resource.py index 488bb540..f31f7d1a 100644 --- a/tests/integration/resources_permissions/test_issues_custom_attributes_resource.py +++ b/tests/integration/resources_permissions/test_issues_custom_attributes_resource.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.urls import reverse from taiga.base.utils import json diff --git a/tests/integration/resources_permissions/test_issues_resources.py b/tests/integration/resources_permissions/test_issues_resources.py index f711077e..d88aa229 100644 --- a/tests/integration/resources_permissions/test_issues_resources.py +++ b/tests/integration/resources_permissions/test_issues_resources.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import uuid from django.urls import reverse diff --git a/tests/integration/resources_permissions/test_milestones_resources.py b/tests/integration/resources_permissions/test_milestones_resources.py index 002b5532..f32cc287 100644 --- a/tests/integration/resources_permissions/test_milestones_resources.py +++ b/tests/integration/resources_permissions/test_milestones_resources.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.urls import reverse from taiga.base.utils import json diff --git a/tests/integration/resources_permissions/test_modules_resources.py b/tests/integration/resources_permissions/test_modules_resources.py index 0eb3c9cb..1608d81f 100644 --- a/tests/integration/resources_permissions/test_modules_resources.py +++ b/tests/integration/resources_permissions/test_modules_resources.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import uuid from django.urls import reverse diff --git a/tests/integration/resources_permissions/test_projects_choices_resources.py b/tests/integration/resources_permissions/test_projects_choices_resources.py index 03bb4e2a..44bacf69 100644 --- a/tests/integration/resources_permissions/test_projects_choices_resources.py +++ b/tests/integration/resources_permissions/test_projects_choices_resources.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.urls import reverse from taiga.base.utils import json diff --git a/tests/integration/resources_permissions/test_projects_resource.py b/tests/integration/resources_permissions/test_projects_resource.py index ef1bc54c..b6213bbe 100644 --- a/tests/integration/resources_permissions/test_projects_resource.py +++ b/tests/integration/resources_permissions/test_projects_resource.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.urls import reverse from django.apps import apps diff --git a/tests/integration/resources_permissions/test_resolver_resources.py b/tests/integration/resources_permissions/test_resolver_resources.py index 9cc41278..ed50c920 100644 --- a/tests/integration/resources_permissions/test_resolver_resources.py +++ b/tests/integration/resources_permissions/test_resolver_resources.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.urls import reverse from taiga.permissions.choices import MEMBERS_PERMISSIONS, ANON_PERMISSIONS diff --git a/tests/integration/resources_permissions/test_search_resources.py b/tests/integration/resources_permissions/test_search_resources.py index 270f3e94..180511d5 100644 --- a/tests/integration/resources_permissions/test_search_resources.py +++ b/tests/integration/resources_permissions/test_search_resources.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.urls import reverse from taiga.permissions.choices import MEMBERS_PERMISSIONS, ANON_PERMISSIONS diff --git a/tests/integration/resources_permissions/test_storage_resources.py b/tests/integration/resources_permissions/test_storage_resources.py index 0021459b..46989cef 100644 --- a/tests/integration/resources_permissions/test_storage_resources.py +++ b/tests/integration/resources_permissions/test_storage_resources.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.urls import reverse from taiga.base.utils import json diff --git a/tests/integration/resources_permissions/test_tasks_custom_attributes_resource.py b/tests/integration/resources_permissions/test_tasks_custom_attributes_resource.py index a85aee1a..0451f293 100644 --- a/tests/integration/resources_permissions/test_tasks_custom_attributes_resource.py +++ b/tests/integration/resources_permissions/test_tasks_custom_attributes_resource.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.urls import reverse from taiga.base.utils import json diff --git a/tests/integration/resources_permissions/test_tasks_resources.py b/tests/integration/resources_permissions/test_tasks_resources.py index e4ee47ea..71f4c6c4 100644 --- a/tests/integration/resources_permissions/test_tasks_resources.py +++ b/tests/integration/resources_permissions/test_tasks_resources.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import uuid from django.urls import reverse diff --git a/tests/integration/resources_permissions/test_timelines_resources.py b/tests/integration/resources_permissions/test_timelines_resources.py index 26f884cd..9d969fc8 100644 --- a/tests/integration/resources_permissions/test_timelines_resources.py +++ b/tests/integration/resources_permissions/test_timelines_resources.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.urls import reverse from taiga.permissions.choices import MEMBERS_PERMISSIONS, ANON_PERMISSIONS diff --git a/tests/integration/resources_permissions/test_users_resources.py b/tests/integration/resources_permissions/test_users_resources.py index 096bee20..3ac86686 100644 --- a/tests/integration/resources_permissions/test_users_resources.py +++ b/tests/integration/resources_permissions/test_users_resources.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from tempfile import NamedTemporaryFile from django.urls import reverse diff --git a/tests/integration/resources_permissions/test_userstories_custom_attributes_resource.py b/tests/integration/resources_permissions/test_userstories_custom_attributes_resource.py index b9e50939..ccd5797f 100644 --- a/tests/integration/resources_permissions/test_userstories_custom_attributes_resource.py +++ b/tests/integration/resources_permissions/test_userstories_custom_attributes_resource.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.urls import reverse from taiga.base.utils import json diff --git a/tests/integration/resources_permissions/test_userstories_resources.py b/tests/integration/resources_permissions/test_userstories_resources.py index 65457cbf..5bb80d73 100644 --- a/tests/integration/resources_permissions/test_userstories_resources.py +++ b/tests/integration/resources_permissions/test_userstories_resources.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import uuid from django.urls import reverse diff --git a/tests/integration/resources_permissions/test_webhooks_resources.py b/tests/integration/resources_permissions/test_webhooks_resources.py index 69dd51bb..33fb6d70 100644 --- a/tests/integration/resources_permissions/test_webhooks_resources.py +++ b/tests/integration/resources_permissions/test_webhooks_resources.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.urls import reverse from taiga.base.utils import json diff --git a/tests/integration/resources_permissions/test_wiki_resources.py b/tests/integration/resources_permissions/test_wiki_resources.py index fd8e7ac1..2d8d470a 100644 --- a/tests/integration/resources_permissions/test_wiki_resources.py +++ b/tests/integration/resources_permissions/test_wiki_resources.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.urls import reverse from taiga.base.utils import json diff --git a/tests/integration/test_application_tokens.py b/tests/integration/test_application_tokens.py index f90f60c1..5c8424e9 100644 --- a/tests/integration/test_application_tokens.py +++ b/tests/integration/test_application_tokens.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.urls import reverse from taiga.external_apps import models diff --git a/tests/integration/test_attachments.py b/tests/integration/test_attachments.py index cd7dea93..3711abfd 100644 --- a/tests/integration/test_attachments.py +++ b/tests/integration/test_attachments.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from django.urls import reverse diff --git a/tests/integration/test_auth_api.py b/tests/integration/test_auth_api.py index 12ff2b60..5f03e0da 100644 --- a/tests/integration/test_auth_api.py +++ b/tests/integration/test_auth_api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from django.urls import reverse diff --git a/tests/integration/test_contact.py b/tests/integration/test_contact.py index c1685ba6..147530f2 100644 --- a/tests/integration/test_contact.py +++ b/tests/integration/test_contact.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.core import mail from django.urls import reverse diff --git a/tests/integration/test_custom_attributes_epics.py b/tests/integration/test_custom_attributes_epics.py index 3be6994b..95ff6f6d 100644 --- a/tests/integration/test_custom_attributes_epics.py +++ b/tests/integration/test_custom_attributes_epics.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.db.transaction import atomic from django.urls import reverse from taiga.base.utils import json diff --git a/tests/integration/test_custom_attributes_issues.py b/tests/integration/test_custom_attributes_issues.py index 9cad312d..57e80cb0 100644 --- a/tests/integration/test_custom_attributes_issues.py +++ b/tests/integration/test_custom_attributes_issues.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.db.transaction import atomic from django.urls import reverse from taiga.base.utils import json diff --git a/tests/integration/test_custom_attributes_tasks.py b/tests/integration/test_custom_attributes_tasks.py index 900750be..de713883 100644 --- a/tests/integration/test_custom_attributes_tasks.py +++ b/tests/integration/test_custom_attributes_tasks.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.urls import reverse from taiga.base.utils import json diff --git a/tests/integration/test_custom_attributes_user_stories.py b/tests/integration/test_custom_attributes_user_stories.py index 6f8d538e..265943d3 100644 --- a/tests/integration/test_custom_attributes_user_stories.py +++ b/tests/integration/test_custom_attributes_user_stories.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.urls import reverse from taiga.base.utils import json diff --git a/tests/integration/test_emails.py b/tests/integration/test_emails.py index f102d8fa..98a456e3 100644 --- a/tests/integration/test_emails.py +++ b/tests/integration/test_emails.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from django.core.management import call_command diff --git a/tests/integration/test_epics.py b/tests/integration/test_epics.py index 430b4f7c..3a883073 100644 --- a/tests/integration/test_epics.py +++ b/tests/integration/test_epics.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import uuid import csv diff --git a/tests/integration/test_epics_tags.py b/tests/integration/test_epics_tags.py index 7a49095b..d6284e2c 100644 --- a/tests/integration/test_epics_tags.py +++ b/tests/integration/test_epics_tags.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from unittest import mock from collections import OrderedDict diff --git a/tests/integration/test_exporter_api.py b/tests/integration/test_exporter_api.py index 75729db3..30ffde73 100644 --- a/tests/integration/test_exporter_api.py +++ b/tests/integration/test_exporter_api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from unittest import mock diff --git a/tests/integration/test_fan_projects.py b/tests/integration/test_fan_projects.py index 9109c30c..e1c94769 100644 --- a/tests/integration/test_fan_projects.py +++ b/tests/integration/test_fan_projects.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from django.urls import reverse diff --git a/tests/integration/test_feedback.py b/tests/integration/test_feedback.py index 618f6cda..2891b8bb 100644 --- a/tests/integration/test_feedback.py +++ b/tests/integration/test_feedback.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.urls import reverse from tests import factories as f diff --git a/tests/integration/test_history.py b/tests/integration/test_history.py index 1b59800c..16eb476d 100644 --- a/tests/integration/test_history.py +++ b/tests/integration/test_history.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from unittest.mock import patch diff --git a/tests/integration/test_hooks_bitbucket.py b/tests/integration/test_hooks_bitbucket.py index 5c8a34b6..d58bcfbf 100644 --- a/tests/integration/test_hooks_bitbucket.py +++ b/tests/integration/test_hooks_bitbucket.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest import urllib diff --git a/tests/integration/test_hooks_github.py b/tests/integration/test_hooks_github.py index f1b09bb4..32a78aae 100644 --- a/tests/integration/test_hooks_github.py +++ b/tests/integration/test_hooks_github.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from unittest import mock diff --git a/tests/integration/test_hooks_gitlab.py b/tests/integration/test_hooks_gitlab.py index 05e20f07..c6cd9c59 100644 --- a/tests/integration/test_hooks_gitlab.py +++ b/tests/integration/test_hooks_gitlab.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from copy import deepcopy diff --git a/tests/integration/test_hooks_gogs.py b/tests/integration/test_hooks_gogs.py index f80cd028..d51d7176 100644 --- a/tests/integration/test_hooks_gogs.py +++ b/tests/integration/test_hooks_gogs.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from unittest import mock diff --git a/tests/integration/test_importer_api.py b/tests/integration/test_importer_api.py index 8b8509e1..80c6a0b8 100644 --- a/tests/integration/test_importer_api.py +++ b/tests/integration/test_importer_api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest import base64 diff --git a/tests/integration/test_importers_asana_api.py b/tests/integration/test_importers_asana_api.py index bd3a7a9d..10188c91 100644 --- a/tests/integration/test_importers_asana_api.py +++ b/tests/integration/test_importers_asana_api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest import json diff --git a/tests/integration/test_importers_github_api.py b/tests/integration/test_importers_github_api.py index 9a4b1c08..482ff5be 100644 --- a/tests/integration/test_importers_github_api.py +++ b/tests/integration/test_importers_github_api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest import json diff --git a/tests/integration/test_importers_jira_api.py b/tests/integration/test_importers_jira_api.py index 91622d2b..0d0ad747 100644 --- a/tests/integration/test_importers_jira_api.py +++ b/tests/integration/test_importers_jira_api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest import json diff --git a/tests/integration/test_importers_trello_api.py b/tests/integration/test_importers_trello_api.py index 2b3725cb..c1b46142 100644 --- a/tests/integration/test_importers_trello_api.py +++ b/tests/integration/test_importers_trello_api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest import json diff --git a/tests/integration/test_issues.py b/tests/integration/test_issues.py index 27f9f4e6..8dbbd1f6 100644 --- a/tests/integration/test_issues.py +++ b/tests/integration/test_issues.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import uuid import csv import pytz diff --git a/tests/integration/test_issues_tags.py b/tests/integration/test_issues_tags.py index 2aef2031..b9dc05f6 100644 --- a/tests/integration/test_issues_tags.py +++ b/tests/integration/test_issues_tags.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from unittest import mock from collections import OrderedDict diff --git a/tests/integration/test_mdrender.py b/tests/integration/test_mdrender.py index 53ef6b19..cd7d88fe 100644 --- a/tests/integration/test_mdrender.py +++ b/tests/integration/test_mdrender.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from taiga.mdrender.service import render, render_and_extract diff --git a/tests/integration/test_memberships.py b/tests/integration/test_memberships.py index 23785a37..03a95bb2 100644 --- a/tests/integration/test_memberships.py +++ b/tests/integration/test_memberships.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from unittest import mock from django.urls import reverse diff --git a/tests/integration/test_milestones.py b/tests/integration/test_milestones.py index 8133bdbd..6eb9abbe 100644 --- a/tests/integration/test_milestones.py +++ b/tests/integration/test_milestones.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest import pytz diff --git a/tests/integration/test_models.py b/tests/integration/test_models.py index 60907b27..10dccf70 100644 --- a/tests/integration/test_models.py +++ b/tests/integration/test_models.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from .. import factories as f diff --git a/tests/integration/test_neighbors.py b/tests/integration/test_neighbors.py index 2762aec5..da724a36 100644 --- a/tests/integration/test_neighbors.py +++ b/tests/integration/test_neighbors.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from taiga.projects.userstories.models import UserStory diff --git a/tests/integration/test_notifications.py b/tests/integration/test_notifications.py index 55ef6e7b..56e22de0 100644 --- a/tests/integration/test_notifications.py +++ b/tests/integration/test_notifications.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest import time import base64 diff --git a/tests/integration/test_notifications_custom.py b/tests/integration/test_notifications_custom.py index 8ab7a60b..58cd69f6 100644 --- a/tests/integration/test_notifications_custom.py +++ b/tests/integration/test_notifications_custom.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from django.conf import settings diff --git a/tests/integration/test_occ.py b/tests/integration/test_occ.py index 90d500cc..0073ba31 100644 --- a/tests/integration/test_occ.py +++ b/tests/integration/test_occ.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from unittest.mock import patch diff --git a/tests/integration/test_permissions.py b/tests/integration/test_permissions.py index d40e6afc..1ffcb6ba 100644 --- a/tests/integration/test_permissions.py +++ b/tests/integration/test_permissions.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from taiga.permissions import services, choices diff --git a/tests/integration/test_project_settings.py b/tests/integration/test_project_settings.py index d8c34779..732a6950 100644 --- a/tests/integration/test_project_settings.py +++ b/tests/integration/test_project_settings.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import json import pytest diff --git a/tests/integration/test_projects.py b/tests/integration/test_projects.py index cca568ad..5d20617c 100644 --- a/tests/integration/test_projects.py +++ b/tests/integration/test_projects.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.urls import reverse from django.conf import settings from django.core.files import File diff --git a/tests/integration/test_references_sequences.py b/tests/integration/test_references_sequences.py index 307ecf7e..c7c05480 100644 --- a/tests/integration/test_references_sequences.py +++ b/tests/integration/test_references_sequences.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from django.urls import reverse diff --git a/tests/integration/test_roles.py b/tests/integration/test_roles.py index 5a0b0737..4d30ad8b 100644 --- a/tests/integration/test_roles.py +++ b/tests/integration/test_roles.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from django.urls import reverse diff --git a/tests/integration/test_searches.py b/tests/integration/test_searches.py index bc69e4b9..db6236be 100644 --- a/tests/integration/test_searches.py +++ b/tests/integration/test_searches.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from django.urls import reverse diff --git a/tests/integration/test_stats.py b/tests/integration/test_stats.py index 9a031729..574a29eb 100644 --- a/tests/integration/test_stats.py +++ b/tests/integration/test_stats.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from .. import factories as f diff --git a/tests/integration/test_tasks.py b/tests/integration/test_tasks.py index 3205571b..48c2549b 100644 --- a/tests/integration/test_tasks.py +++ b/tests/integration/test_tasks.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import uuid import csv import pytz diff --git a/tests/integration/test_tasks_tags.py b/tests/integration/test_tasks_tags.py index 30cd6748..0a27d252 100644 --- a/tests/integration/test_tasks_tags.py +++ b/tests/integration/test_tasks_tags.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from unittest import mock from collections import OrderedDict diff --git a/tests/integration/test_throwttling.py b/tests/integration/test_throwttling.py index 283df82d..9246441d 100644 --- a/tests/integration/test_throwttling.py +++ b/tests/integration/test_throwttling.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from unittest import mock diff --git a/tests/integration/test_timeline.py b/tests/integration/test_timeline.py index 939e81f3..26268074 100644 --- a/tests/integration/test_timeline.py +++ b/tests/integration/test_timeline.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytz from datetime import datetime, timedelta diff --git a/tests/integration/test_totals_projects.py b/tests/integration/test_totals_projects.py index 52929d04..77075b33 100644 --- a/tests/integration/test_totals_projects.py +++ b/tests/integration/test_totals_projects.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest import datetime diff --git a/tests/integration/test_us_autoclosing.py b/tests/integration/test_us_autoclosing.py index c7d7d25a..3c697c92 100644 --- a/tests/integration/test_us_autoclosing.py +++ b/tests/integration/test_us_autoclosing.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from taiga.projects.userstories.models import UserStory diff --git a/tests/integration/test_users.py b/tests/integration/test_users.py index dd73fdd7..10514a4d 100644 --- a/tests/integration/test_users.py +++ b/tests/integration/test_users.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from tempfile import NamedTemporaryFile diff --git a/tests/integration/test_userstorage_api.py b/tests/integration/test_userstorage_api.py index f0e44784..314e5633 100644 --- a/tests/integration/test_userstorage_api.py +++ b/tests/integration/test_userstorage_api.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from django.urls import reverse diff --git a/tests/integration/test_userstories.py b/tests/integration/test_userstories.py index 5d782556..c003fc21 100644 --- a/tests/integration/test_userstories.py +++ b/tests/integration/test_userstories.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import uuid import csv import pytz diff --git a/tests/integration/test_userstories_tags.py b/tests/integration/test_userstories_tags.py index ae66fef1..f04af2f8 100644 --- a/tests/integration/test_userstories_tags.py +++ b/tests/integration/test_userstories_tags.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from unittest import mock from collections import OrderedDict diff --git a/tests/integration/test_userstories_update_kanban_order.py b/tests/integration/test_userstories_update_kanban_order.py index 772a173e..fbf669b1 100644 --- a/tests/integration/test_userstories_update_kanban_order.py +++ b/tests/integration/test_userstories_update_kanban_order.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import uuid import csv import pytz diff --git a/tests/integration/test_vote_issues.py b/tests/integration/test_vote_issues.py index d7c1aa76..1a8693ad 100644 --- a/tests/integration/test_vote_issues.py +++ b/tests/integration/test_vote_issues.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from django.urls import reverse diff --git a/tests/integration/test_vote_tasks.py b/tests/integration/test_vote_tasks.py index d87bd712..cc9fb894 100644 --- a/tests/integration/test_vote_tasks.py +++ b/tests/integration/test_vote_tasks.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from django.urls import reverse diff --git a/tests/integration/test_vote_userstories.py b/tests/integration/test_vote_userstories.py index c315b0cd..1b3d6193 100644 --- a/tests/integration/test_vote_userstories.py +++ b/tests/integration/test_vote_userstories.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from django.urls import reverse diff --git a/tests/integration/test_votes.py b/tests/integration/test_votes.py index 07f63572..603246ac 100644 --- a/tests/integration/test_votes.py +++ b/tests/integration/test_votes.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from django.contrib.contenttypes.models import ContentType diff --git a/tests/integration/test_watch_issues.py b/tests/integration/test_watch_issues.py index 42881844..ffb5c12c 100644 --- a/tests/integration/test_watch_issues.py +++ b/tests/integration/test_watch_issues.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest import json from django.urls import reverse diff --git a/tests/integration/test_watch_milestones.py b/tests/integration/test_watch_milestones.py index c032311c..00da6c75 100644 --- a/tests/integration/test_watch_milestones.py +++ b/tests/integration/test_watch_milestones.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest import json from django.urls import reverse diff --git a/tests/integration/test_watch_projects.py b/tests/integration/test_watch_projects.py index 3d0b5d21..c39ec93e 100644 --- a/tests/integration/test_watch_projects.py +++ b/tests/integration/test_watch_projects.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest import json from django.urls import reverse diff --git a/tests/integration/test_watch_tasks.py b/tests/integration/test_watch_tasks.py index 6f5f275f..e033279f 100644 --- a/tests/integration/test_watch_tasks.py +++ b/tests/integration/test_watch_tasks.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest import json from django.urls import reverse diff --git a/tests/integration/test_watch_userstories.py b/tests/integration/test_watch_userstories.py index f0b07219..361eeb82 100644 --- a/tests/integration/test_watch_userstories.py +++ b/tests/integration/test_watch_userstories.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest import json from django.urls import reverse diff --git a/tests/integration/test_watch_wikipages.py b/tests/integration/test_watch_wikipages.py index 4dd418e6..3bc95815 100644 --- a/tests/integration/test_watch_wikipages.py +++ b/tests/integration/test_watch_wikipages.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest import json from django.urls import reverse diff --git a/tests/integration/test_webhooks.py b/tests/integration/test_webhooks.py index 7e8fdac4..334d3f4e 100644 --- a/tests/integration/test_webhooks.py +++ b/tests/integration/test_webhooks.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from django.urls import reverse diff --git a/tests/integration/test_webhooks_epics.py b/tests/integration/test_webhooks_epics.py index 8e96938c..fb30c109 100644 --- a/tests/integration/test_webhooks_epics.py +++ b/tests/integration/test_webhooks_epics.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from unittest.mock import patch diff --git a/tests/integration/test_webhooks_issues.py b/tests/integration/test_webhooks_issues.py index b7692c5a..706f9e6c 100644 --- a/tests/integration/test_webhooks_issues.py +++ b/tests/integration/test_webhooks_issues.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from unittest.mock import patch diff --git a/tests/integration/test_webhooks_milestones.py b/tests/integration/test_webhooks_milestones.py index 3ecde83c..231e3454 100644 --- a/tests/integration/test_webhooks_milestones.py +++ b/tests/integration/test_webhooks_milestones.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from unittest.mock import patch from unittest.mock import Mock diff --git a/tests/integration/test_webhooks_signals.py b/tests/integration/test_webhooks_signals.py index 5ecaa306..ae65cefd 100644 --- a/tests/integration/test_webhooks_signals.py +++ b/tests/integration/test_webhooks_signals.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from unittest.mock import patch from unittest.mock import Mock diff --git a/tests/integration/test_webhooks_tasks.py b/tests/integration/test_webhooks_tasks.py index 82e7f7de..bfc83666 100644 --- a/tests/integration/test_webhooks_tasks.py +++ b/tests/integration/test_webhooks_tasks.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from unittest.mock import patch from unittest.mock import Mock diff --git a/tests/integration/test_webhooks_userstories.py b/tests/integration/test_webhooks_userstories.py index e06614c1..61a2de1e 100644 --- a/tests/integration/test_webhooks_userstories.py +++ b/tests/integration/test_webhooks_userstories.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from unittest.mock import patch from unittest.mock import Mock diff --git a/tests/integration/test_webhooks_wikipages.py b/tests/integration/test_webhooks_wikipages.py index 44f0f56e..af83d336 100644 --- a/tests/integration/test_webhooks_wikipages.py +++ b/tests/integration/test_webhooks_wikipages.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from unittest.mock import patch from unittest.mock import Mock diff --git a/tests/integration/test_wikilinks.py b/tests/integration/test_wikilinks.py index d3544b46..9bf167ac 100644 --- a/tests/integration/test_wikilinks.py +++ b/tests/integration/test_wikilinks.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.urls import reverse from django.core import mail diff --git a/tests/models.py b/tests/models.py index e69de29b..b92267f0 100644 --- a/tests/models.py +++ b/tests/models.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/tests/unit/__init__.py b/tests/unit/__init__.py index e69de29b..b92267f0 100644 --- a/tests/unit/__init__.py +++ b/tests/unit/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + diff --git a/tests/unit/conftest.py b/tests/unit/conftest.py index 2eda83f4..9e108c13 100644 --- a/tests/unit/conftest.py +++ b/tests/unit/conftest.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from ..utils import disconnect_signals diff --git a/tests/unit/test_attachments_services.py b/tests/unit/test_attachments_services.py index fd251611..a9603f6a 100644 --- a/tests/unit/test_attachments_services.py +++ b/tests/unit/test_attachments_services.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from unittest import mock import pytest diff --git a/tests/unit/test_auth_services.py b/tests/unit/test_auth_services.py index 78e5dd63..390f23f2 100644 --- a/tests/unit/test_auth_services.py +++ b/tests/unit/test_auth_services.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from unittest.mock import patch from taiga.auth import services diff --git a/tests/unit/test_base_api_permissions.py b/tests/unit/test_base_api_permissions.py index e861a7cf..db5877c3 100644 --- a/tests/unit/test_base_api_permissions.py +++ b/tests/unit/test_base_api_permissions.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.base.api.permissions import (AllowAny as TruePermissionComponent, DenyAll as FalsePermissionComponent) diff --git a/tests/unit/test_common_throttle.py b/tests/unit/test_common_throttle.py index 64bd2bfd..9827a334 100644 --- a/tests/unit/test_common_throttle.py +++ b/tests/unit/test_common_throttle.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.test import RequestFactory from django.core.cache import cache from django.contrib.auth.models import AnonymousUser diff --git a/tests/unit/test_due_date_serializers.py b/tests/unit/test_due_date_serializers.py index faa87409..734a7860 100644 --- a/tests/unit/test_due_date_serializers.py +++ b/tests/unit/test_due_date_serializers.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import datetime as dt from unittest import mock diff --git a/tests/unit/test_export.py b/tests/unit/test_export.py index 75b24e36..c45eb611 100644 --- a/tests/unit/test_export.py +++ b/tests/unit/test_export.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest import io from .. import factories as f diff --git a/tests/unit/test_import.py b/tests/unit/test_import.py index 7f41754b..600aef39 100644 --- a/tests/unit/test_import.py +++ b/tests/unit/test_import.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest import io from .. import factories as f diff --git a/tests/unit/test_mdrender.py b/tests/unit/test_mdrender.py index 648f6769..36b21b8a 100644 --- a/tests/unit/test_mdrender.py +++ b/tests/unit/test_mdrender.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from unittest.mock import patch, MagicMock from taiga.mdrender.extensions import emojify diff --git a/tests/unit/test_milestones.py b/tests/unit/test_milestones.py index 240b2968..1324a594 100644 --- a/tests/unit/test_milestones.py +++ b/tests/unit/test_milestones.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from .. import factories as f diff --git a/tests/unit/test_notifications_squashing.py b/tests/unit/test_notifications_squashing.py index 4a61c884..17f60da8 100644 --- a/tests/unit/test_notifications_squashing.py +++ b/tests/unit/test_notifications_squashing.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.projects.notifications import squashing diff --git a/tests/unit/test_order_updates.py b/tests/unit/test_order_updates.py index 299b6bea..cca6462b 100644 --- a/tests/unit/test_order_updates.py +++ b/tests/unit/test_order_updates.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from taiga.projects.services import apply_order_updates diff --git a/tests/unit/test_serializer_mixins.py b/tests/unit/test_serializer_mixins.py index efaadc5a..61bd3b4f 100644 --- a/tests/unit/test_serializer_mixins.py +++ b/tests/unit/test_serializer_mixins.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from django.db import models diff --git a/tests/unit/test_slug.py b/tests/unit/test_slug.py index ff839ed4..a1fda164 100644 --- a/tests/unit/test_slug.py +++ b/tests/unit/test_slug.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.contrib.auth import get_user_model from taiga.projects.models import Project diff --git a/tests/unit/test_timeline.py b/tests/unit/test_timeline.py index 8fa67ff3..bcf2638f 100644 --- a/tests/unit/test_timeline.py +++ b/tests/unit/test_timeline.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from unittest.mock import patch, call from django.contrib.auth import get_user_model diff --git a/tests/unit/test_tokens.py b/tests/unit/test_tokens.py index 35e996dd..4b6fda85 100644 --- a/tests/unit/test_tokens.py +++ b/tests/unit/test_tokens.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from .. import factories as f diff --git a/tests/unit/test_utils.py b/tests/unit/test_utils.py index 92dcaa7d..b014b09a 100644 --- a/tests/unit/test_utils.py +++ b/tests/unit/test_utils.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + import pytest from unittest import mock diff --git a/tests/utils.py b/tests/utils.py index 8f2c415e..4330bd1a 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (c) 2021-present Kaleidos Ventures SL + from django.db.models import signals DUMMY_BMP_DATA = b'BM:\x00\x00\x00\x00\x00\x00\x006\x00\x00\x00(\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00\x18\x00\x00\x00\x00\x00\x04\x00\x00\x00\x13\x0b\x00\x00\x13\x0b\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'