This is a basic contribution guide to the project. What follows are guidelines you should follow when contributing so that work flow is not broken.
All code contributions will be licensed under the GNU Affero General Public License version 3 or greater. If you create any new files you must have the following copyright notice prepended to the file:
/*
* Copyright (C) 2017 <your name> <your e-mail>
* Author: <your email> <your e-mail>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
Have this text commented out at the beginning of every source file you create.
Generally just try to keep your coding consistent with the project's style, if you see things done in manner X try to do them like X. That being said, there are a few things that are important to remember:
return
statement or something please put the return
on the next line.Please make sure that any patches you give do only one thing. Do not mix bug fixes with features with enhancements or anything of the sort. Even if it's just bug fixes (as an example, could be anything else) please make sure that each patch only fixes one thing. Exceptions are fine if they are required (this will be judged based on circumstance).