diff --git a/conf/conf.py b/conf/conf.py index 8025ea17f1..8ef8deb1ac 100644 --- a/conf/conf.py +++ b/conf/conf.py @@ -1,3 +1,6 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals # app configuration diff --git a/core/__init__.py b/core/__init__.py index 519ff49eac..b6d3294a00 100644 --- a/core/__init__.py +++ b/core/__init__.py @@ -1 +1,4 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals \ No newline at end of file diff --git a/core/doctype/__init__.py b/core/doctype/__init__.py index baffc48825..c027a0e3b4 100644 --- a/core/doctype/__init__.py +++ b/core/doctype/__init__.py @@ -1 +1,4 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals diff --git a/core/doctype/bulk_email/__init__.py b/core/doctype/bulk_email/__init__.py index baffc48825..c027a0e3b4 100644 --- a/core/doctype/bulk_email/__init__.py +++ b/core/doctype/bulk_email/__init__.py @@ -1 +1,4 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals diff --git a/core/doctype/bulk_email/bulk_email.py b/core/doctype/bulk_email/bulk_email.py index e669908514..74573759c7 100644 --- a/core/doctype/bulk_email/bulk_email.py +++ b/core/doctype/bulk_email/bulk_email.py @@ -1,23 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/core/doctype/comment/__init__.py b/core/doctype/comment/__init__.py index baffc48825..c027a0e3b4 100644 --- a/core/doctype/comment/__init__.py +++ b/core/doctype/comment/__init__.py @@ -1 +1,4 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals diff --git a/core/doctype/comment/comment.py b/core/doctype/comment/comment.py index bd7da93394..3b9509e459 100644 --- a/core/doctype/comment/comment.py +++ b/core/doctype/comment/comment.py @@ -1,23 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/core/doctype/communication/__init__.py b/core/doctype/communication/__init__.py index e69de29bb2..c02d3e8f0d 100644 --- a/core/doctype/communication/__init__.py +++ b/core/doctype/communication/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + diff --git a/core/doctype/communication/communication.py b/core/doctype/communication/communication.py index 653ff2b7d4..aa95d97f7e 100644 --- a/core/doctype/communication/communication.py +++ b/core/doctype/communication/communication.py @@ -1,18 +1,5 @@ -# ERPNext - web based ERP (http://erpnext.com) -# Copyright (C) 2012 Web Notes Technologies Pvt Ltd -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/core/doctype/control_panel/__init__.py b/core/doctype/control_panel/__init__.py index baffc48825..c027a0e3b4 100644 --- a/core/doctype/control_panel/__init__.py +++ b/core/doctype/control_panel/__init__.py @@ -1 +1,4 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals diff --git a/core/doctype/control_panel/control_panel.py b/core/doctype/control_panel/control_panel.py index c487e2a97d..d0c843ab70 100644 --- a/core/doctype/control_panel/control_panel.py +++ b/core/doctype/control_panel/control_panel.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/core/doctype/custom_field/__init__.py b/core/doctype/custom_field/__init__.py index baffc48825..c027a0e3b4 100644 --- a/core/doctype/custom_field/__init__.py +++ b/core/doctype/custom_field/__init__.py @@ -1 +1,4 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals diff --git a/core/doctype/custom_field/custom_field.py b/core/doctype/custom_field/custom_field.py index bdcf59ba78..d8025fed72 100644 --- a/core/doctype/custom_field/custom_field.py +++ b/core/doctype/custom_field/custom_field.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/core/doctype/custom_script/__init__.py b/core/doctype/custom_script/__init__.py index baffc48825..c027a0e3b4 100644 --- a/core/doctype/custom_script/__init__.py +++ b/core/doctype/custom_script/__init__.py @@ -1 +1,4 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals diff --git a/core/doctype/custom_script/custom_script.py b/core/doctype/custom_script/custom_script.py index a37e878af4..8dd669e139 100644 --- a/core/doctype/custom_script/custom_script.py +++ b/core/doctype/custom_script/custom_script.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/core/doctype/customize_form/__init__.py b/core/doctype/customize_form/__init__.py index baffc48825..c027a0e3b4 100644 --- a/core/doctype/customize_form/__init__.py +++ b/core/doctype/customize_form/__init__.py @@ -1 +1,4 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals diff --git a/core/doctype/customize_form/customize_form.py b/core/doctype/customize_form/customize_form.py index ef6187b6eb..d5ab59ccbd 100644 --- a/core/doctype/customize_form/customize_form.py +++ b/core/doctype/customize_form/customize_form.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals """ diff --git a/core/doctype/customize_form_field/__init__.py b/core/doctype/customize_form_field/__init__.py index baffc48825..c027a0e3b4 100644 --- a/core/doctype/customize_form_field/__init__.py +++ b/core/doctype/customize_form_field/__init__.py @@ -1 +1,4 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals diff --git a/core/doctype/customize_form_field/customize_form_field.py b/core/doctype/customize_form_field/customize_form_field.py index e669908514..74573759c7 100644 --- a/core/doctype/customize_form_field/customize_form_field.py +++ b/core/doctype/customize_form_field/customize_form_field.py @@ -1,23 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/core/doctype/default_home_page/__init__.py b/core/doctype/default_home_page/__init__.py index baffc48825..c027a0e3b4 100644 --- a/core/doctype/default_home_page/__init__.py +++ b/core/doctype/default_home_page/__init__.py @@ -1 +1,4 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals diff --git a/core/doctype/default_home_page/default_home_page.py b/core/doctype/default_home_page/default_home_page.py index e669908514..74573759c7 100644 --- a/core/doctype/default_home_page/default_home_page.py +++ b/core/doctype/default_home_page/default_home_page.py @@ -1,23 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/core/doctype/defaultvalue/__init__.py b/core/doctype/defaultvalue/__init__.py index baffc48825..c027a0e3b4 100644 --- a/core/doctype/defaultvalue/__init__.py +++ b/core/doctype/defaultvalue/__init__.py @@ -1 +1,4 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals diff --git a/core/doctype/defaultvalue/defaultvalue.py b/core/doctype/defaultvalue/defaultvalue.py index e669908514..74573759c7 100644 --- a/core/doctype/defaultvalue/defaultvalue.py +++ b/core/doctype/defaultvalue/defaultvalue.py @@ -1,23 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/core/doctype/docfield/__init__.py b/core/doctype/docfield/__init__.py index baffc48825..c027a0e3b4 100644 --- a/core/doctype/docfield/__init__.py +++ b/core/doctype/docfield/__init__.py @@ -1 +1,4 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals diff --git a/core/doctype/docfield/docfield.py b/core/doctype/docfield/docfield.py index e669908514..74573759c7 100644 --- a/core/doctype/docfield/docfield.py +++ b/core/doctype/docfield/docfield.py @@ -1,23 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/core/doctype/docperm/__init__.py b/core/doctype/docperm/__init__.py index baffc48825..c027a0e3b4 100644 --- a/core/doctype/docperm/__init__.py +++ b/core/doctype/docperm/__init__.py @@ -1 +1,4 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals diff --git a/core/doctype/docperm/docperm.py b/core/doctype/docperm/docperm.py index e669908514..74573759c7 100644 --- a/core/doctype/docperm/docperm.py +++ b/core/doctype/docperm/docperm.py @@ -1,23 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/core/doctype/doctype/__init__.py b/core/doctype/doctype/__init__.py index baffc48825..c027a0e3b4 100644 --- a/core/doctype/doctype/__init__.py +++ b/core/doctype/doctype/__init__.py @@ -1 +1,4 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals diff --git a/core/doctype/doctype/doctype.py b/core/doctype/doctype/doctype.py index 92e93020c1..9c5c642375 100644 --- a/core/doctype/doctype/doctype.py +++ b/core/doctype/doctype/doctype.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals diff --git a/core/doctype/doctype/doctype_template.py b/core/doctype/doctype/doctype_template.py index 928aa9ff9f..3256c80d42 100644 --- a/core/doctype/doctype/doctype_template.py +++ b/core/doctype/doctype/doctype_template.py @@ -1,3 +1,6 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + # For license information, please see license.txt from __future__ import unicode_literals diff --git a/core/doctype/documentation_tool/__init__.py b/core/doctype/documentation_tool/__init__.py index e69de29bb2..c02d3e8f0d 100644 --- a/core/doctype/documentation_tool/__init__.py +++ b/core/doctype/documentation_tool/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + diff --git a/core/doctype/documentation_tool/documentation_tool.py b/core/doctype/documentation_tool/documentation_tool.py index 99f3e85c81..d646502b6e 100644 --- a/core/doctype/documentation_tool/documentation_tool.py +++ b/core/doctype/documentation_tool/documentation_tool.py @@ -1,3 +1,6 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + # For license information, please see license.txt from __future__ import unicode_literals diff --git a/core/doctype/event/__init__.py b/core/doctype/event/__init__.py index baffc48825..c027a0e3b4 100644 --- a/core/doctype/event/__init__.py +++ b/core/doctype/event/__init__.py @@ -1 +1,4 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals diff --git a/core/doctype/event/event.py b/core/doctype/event/event.py index a66f29e5cc..b90d3f4327 100644 --- a/core/doctype/event/event.py +++ b/core/doctype/event/event.py @@ -1,23 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/core/doctype/event_role/__init__.py b/core/doctype/event_role/__init__.py index baffc48825..c027a0e3b4 100644 --- a/core/doctype/event_role/__init__.py +++ b/core/doctype/event_role/__init__.py @@ -1 +1,4 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals diff --git a/core/doctype/event_role/event_role.py b/core/doctype/event_role/event_role.py index e669908514..74573759c7 100644 --- a/core/doctype/event_role/event_role.py +++ b/core/doctype/event_role/event_role.py @@ -1,23 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/core/doctype/event_user/__init__.py b/core/doctype/event_user/__init__.py index baffc48825..c027a0e3b4 100644 --- a/core/doctype/event_user/__init__.py +++ b/core/doctype/event_user/__init__.py @@ -1 +1,4 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals diff --git a/core/doctype/event_user/event_user.py b/core/doctype/event_user/event_user.py index e669908514..74573759c7 100644 --- a/core/doctype/event_user/event_user.py +++ b/core/doctype/event_user/event_user.py @@ -1,23 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/core/doctype/file_data/__init__.py b/core/doctype/file_data/__init__.py index baffc48825..c027a0e3b4 100644 --- a/core/doctype/file_data/__init__.py +++ b/core/doctype/file_data/__init__.py @@ -1 +1,4 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals diff --git a/core/doctype/file_data/file_data.py b/core/doctype/file_data/file_data.py index 51d00c0a6c..e2645ac0e7 100644 --- a/core/doctype/file_data/file_data.py +++ b/core/doctype/file_data/file_data.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals """ diff --git a/core/doctype/letter_head/__init__.py b/core/doctype/letter_head/__init__.py index baffc48825..c027a0e3b4 100644 --- a/core/doctype/letter_head/__init__.py +++ b/core/doctype/letter_head/__init__.py @@ -1 +1,4 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals diff --git a/core/doctype/letter_head/letter_head.py b/core/doctype/letter_head/letter_head.py index 27661de2c9..28acfcaf97 100755 --- a/core/doctype/letter_head/letter_head.py +++ b/core/doctype/letter_head/letter_head.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/core/doctype/letter_head/test_letter_head.py b/core/doctype/letter_head/test_letter_head.py index 3afb472bae..6e5928e38c 100644 --- a/core/doctype/letter_head/test_letter_head.py +++ b/core/doctype/letter_head/test_letter_head.py @@ -1 +1,4 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + test_records = [] \ No newline at end of file diff --git a/core/doctype/module_def/__init__.py b/core/doctype/module_def/__init__.py index baffc48825..c027a0e3b4 100644 --- a/core/doctype/module_def/__init__.py +++ b/core/doctype/module_def/__init__.py @@ -1 +1,4 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals diff --git a/core/doctype/module_def/module_def.py b/core/doctype/module_def/module_def.py index e669908514..74573759c7 100644 --- a/core/doctype/module_def/module_def.py +++ b/core/doctype/module_def/module_def.py @@ -1,23 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/core/doctype/page/__init__.py b/core/doctype/page/__init__.py index baffc48825..c027a0e3b4 100644 --- a/core/doctype/page/__init__.py +++ b/core/doctype/page/__init__.py @@ -1 +1,4 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals diff --git a/core/doctype/page/page.py b/core/doctype/page/page.py index 3d13438b5e..7217faaf3c 100644 --- a/core/doctype/page/page.py +++ b/core/doctype/page/page.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/core/doctype/page_role/__init__.py b/core/doctype/page_role/__init__.py index baffc48825..c027a0e3b4 100644 --- a/core/doctype/page_role/__init__.py +++ b/core/doctype/page_role/__init__.py @@ -1 +1,4 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals diff --git a/core/doctype/page_role/page_role.py b/core/doctype/page_role/page_role.py index e669908514..74573759c7 100644 --- a/core/doctype/page_role/page_role.py +++ b/core/doctype/page_role/page_role.py @@ -1,23 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/core/doctype/patch_log/__init__.py b/core/doctype/patch_log/__init__.py index e69de29bb2..c02d3e8f0d 100644 --- a/core/doctype/patch_log/__init__.py +++ b/core/doctype/patch_log/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + diff --git a/core/doctype/patch_log/patch_log.py b/core/doctype/patch_log/patch_log.py index 928aa9ff9f..3256c80d42 100644 --- a/core/doctype/patch_log/patch_log.py +++ b/core/doctype/patch_log/patch_log.py @@ -1,3 +1,6 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + # For license information, please see license.txt from __future__ import unicode_literals diff --git a/core/doctype/print_format/__init__.py b/core/doctype/print_format/__init__.py index baffc48825..c027a0e3b4 100644 --- a/core/doctype/print_format/__init__.py +++ b/core/doctype/print_format/__init__.py @@ -1 +1,4 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals diff --git a/core/doctype/print_format/print_format.py b/core/doctype/print_format/print_format.py index 52d44b43b6..3124cad595 100644 --- a/core/doctype/print_format/print_format.py +++ b/core/doctype/print_format/print_format.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes, conf, os diff --git a/core/doctype/profile/__init__.py b/core/doctype/profile/__init__.py index baffc48825..c027a0e3b4 100644 --- a/core/doctype/profile/__init__.py +++ b/core/doctype/profile/__init__.py @@ -1 +1,4 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals diff --git a/core/doctype/profile/profile.py b/core/doctype/profile/profile.py index f2b0eb61f3..40cea1c3f5 100644 --- a/core/doctype/profile/profile.py +++ b/core/doctype/profile/profile.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes, json diff --git a/core/doctype/profile/test_profile.py b/core/doctype/profile/test_profile.py index 0c3e33155a..0a6d9f73ca 100644 --- a/core/doctype/profile/test_profile.py +++ b/core/doctype/profile/test_profile.py @@ -1,3 +1,6 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + import webnotes, unittest from webnotes.model.utils import delete_doc, LinkExistsError diff --git a/core/doctype/property_setter/__init__.py b/core/doctype/property_setter/__init__.py index baffc48825..c027a0e3b4 100644 --- a/core/doctype/property_setter/__init__.py +++ b/core/doctype/property_setter/__init__.py @@ -1 +1,4 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals diff --git a/core/doctype/property_setter/property_setter.py b/core/doctype/property_setter/property_setter.py index e89b7adcef..92dc4a7f84 100644 --- a/core/doctype/property_setter/property_setter.py +++ b/core/doctype/property_setter/property_setter.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/core/doctype/report/__init__.py b/core/doctype/report/__init__.py index baffc48825..c027a0e3b4 100644 --- a/core/doctype/report/__init__.py +++ b/core/doctype/report/__init__.py @@ -1 +1,4 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals diff --git a/core/doctype/report/report.py b/core/doctype/report/report.py index 8c5c38bc9c..18493d81d4 100644 --- a/core/doctype/report/report.py +++ b/core/doctype/report/report.py @@ -1,3 +1,6 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals import webnotes, conf from webnotes import _ diff --git a/core/doctype/role/__init__.py b/core/doctype/role/__init__.py index baffc48825..c027a0e3b4 100644 --- a/core/doctype/role/__init__.py +++ b/core/doctype/role/__init__.py @@ -1 +1,4 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals diff --git a/core/doctype/role/role.py b/core/doctype/role/role.py index e669908514..74573759c7 100644 --- a/core/doctype/role/role.py +++ b/core/doctype/role/role.py @@ -1,23 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/core/doctype/role/test_role.py b/core/doctype/role/test_role.py index 1c449af77c..12723f4e8c 100644 --- a/core/doctype/role/test_role.py +++ b/core/doctype/role/test_role.py @@ -1 +1,4 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + test_records = [[{"role_name":"_Test Role"}]] \ No newline at end of file diff --git a/core/doctype/scheduler_log/__init__.py b/core/doctype/scheduler_log/__init__.py index e69de29bb2..c02d3e8f0d 100644 --- a/core/doctype/scheduler_log/__init__.py +++ b/core/doctype/scheduler_log/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + diff --git a/core/doctype/scheduler_log/scheduler_log.py b/core/doctype/scheduler_log/scheduler_log.py index 928aa9ff9f..3256c80d42 100644 --- a/core/doctype/scheduler_log/scheduler_log.py +++ b/core/doctype/scheduler_log/scheduler_log.py @@ -1,3 +1,6 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + # For license information, please see license.txt from __future__ import unicode_literals diff --git a/core/doctype/tag/__init__.py b/core/doctype/tag/__init__.py index baffc48825..c027a0e3b4 100644 --- a/core/doctype/tag/__init__.py +++ b/core/doctype/tag/__init__.py @@ -1 +1,4 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals diff --git a/core/doctype/tag/tag.py b/core/doctype/tag/tag.py index e669908514..74573759c7 100644 --- a/core/doctype/tag/tag.py +++ b/core/doctype/tag/tag.py @@ -1,23 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/core/doctype/todo/__init__.py b/core/doctype/todo/__init__.py index baffc48825..c027a0e3b4 100644 --- a/core/doctype/todo/__init__.py +++ b/core/doctype/todo/__init__.py @@ -1 +1,4 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals diff --git a/core/doctype/todo/todo.py b/core/doctype/todo/todo.py index e669908514..74573759c7 100644 --- a/core/doctype/todo/todo.py +++ b/core/doctype/todo/todo.py @@ -1,23 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/core/doctype/userrole/__init__.py b/core/doctype/userrole/__init__.py index baffc48825..c027a0e3b4 100644 --- a/core/doctype/userrole/__init__.py +++ b/core/doctype/userrole/__init__.py @@ -1 +1,4 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals diff --git a/core/doctype/userrole/userrole.py b/core/doctype/userrole/userrole.py index d16fcfc88b..57ff4cea78 100644 --- a/core/doctype/userrole/userrole.py +++ b/core/doctype/userrole/userrole.py @@ -1,23 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/core/doctype/workflow/__init__.py b/core/doctype/workflow/__init__.py index e69de29bb2..c02d3e8f0d 100644 --- a/core/doctype/workflow/__init__.py +++ b/core/doctype/workflow/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + diff --git a/core/doctype/workflow/workflow.py b/core/doctype/workflow/workflow.py index 098ab15403..168e8ddc29 100644 --- a/core/doctype/workflow/workflow.py +++ b/core/doctype/workflow/workflow.py @@ -1,23 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/core/doctype/workflow_action/__init__.py b/core/doctype/workflow_action/__init__.py index e69de29bb2..c02d3e8f0d 100644 --- a/core/doctype/workflow_action/__init__.py +++ b/core/doctype/workflow_action/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + diff --git a/core/doctype/workflow_action/workflow_action.py b/core/doctype/workflow_action/workflow_action.py index e669908514..74573759c7 100644 --- a/core/doctype/workflow_action/workflow_action.py +++ b/core/doctype/workflow_action/workflow_action.py @@ -1,23 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/core/doctype/workflow_document_state/__init__.py b/core/doctype/workflow_document_state/__init__.py index e69de29bb2..c02d3e8f0d 100644 --- a/core/doctype/workflow_document_state/__init__.py +++ b/core/doctype/workflow_document_state/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + diff --git a/core/doctype/workflow_document_state/workflow_document_state.py b/core/doctype/workflow_document_state/workflow_document_state.py index e669908514..74573759c7 100644 --- a/core/doctype/workflow_document_state/workflow_document_state.py +++ b/core/doctype/workflow_document_state/workflow_document_state.py @@ -1,23 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/core/doctype/workflow_state/__init__.py b/core/doctype/workflow_state/__init__.py index e69de29bb2..c02d3e8f0d 100644 --- a/core/doctype/workflow_state/__init__.py +++ b/core/doctype/workflow_state/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + diff --git a/core/doctype/workflow_state/test_workflow_state.py b/core/doctype/workflow_state/test_workflow_state.py index 3afb472bae..6e5928e38c 100644 --- a/core/doctype/workflow_state/test_workflow_state.py +++ b/core/doctype/workflow_state/test_workflow_state.py @@ -1 +1,4 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + test_records = [] \ No newline at end of file diff --git a/core/doctype/workflow_state/workflow_state.py b/core/doctype/workflow_state/workflow_state.py index e669908514..74573759c7 100644 --- a/core/doctype/workflow_state/workflow_state.py +++ b/core/doctype/workflow_state/workflow_state.py @@ -1,23 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/core/doctype/workflow_transition/__init__.py b/core/doctype/workflow_transition/__init__.py index e69de29bb2..c02d3e8f0d 100644 --- a/core/doctype/workflow_transition/__init__.py +++ b/core/doctype/workflow_transition/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + diff --git a/core/doctype/workflow_transition/workflow_transition.py b/core/doctype/workflow_transition/workflow_transition.py index e669908514..74573759c7 100644 --- a/core/doctype/workflow_transition/workflow_transition.py +++ b/core/doctype/workflow_transition/workflow_transition.py @@ -1,23 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/core/page/__init__.py b/core/page/__init__.py index baffc48825..c027a0e3b4 100644 --- a/core/page/__init__.py +++ b/core/page/__init__.py @@ -1 +1,4 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals diff --git a/core/page/data_import_tool/__init__.py b/core/page/data_import_tool/__init__.py index baffc48825..c027a0e3b4 100644 --- a/core/page/data_import_tool/__init__.py +++ b/core/page/data_import_tool/__init__.py @@ -1 +1,4 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals diff --git a/core/page/data_import_tool/data_import_tool.py b/core/page/data_import_tool/data_import_tool.py index ae974d6811..9eda94cb15 100644 --- a/core/page/data_import_tool/data_import_tool.py +++ b/core/page/data_import_tool/data_import_tool.py @@ -1,3 +1,6 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals import webnotes, json diff --git a/core/page/desktop/__init__.py b/core/page/desktop/__init__.py index e69de29bb2..c02d3e8f0d 100644 --- a/core/page/desktop/__init__.py +++ b/core/page/desktop/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + diff --git a/core/page/messages/__init__.py b/core/page/messages/__init__.py index e69de29bb2..c02d3e8f0d 100644 --- a/core/page/messages/__init__.py +++ b/core/page/messages/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + diff --git a/core/page/messages/messages.py b/core/page/messages/messages.py index ae2221fb79..b1db17e51e 100644 --- a/core/page/messages/messages.py +++ b/core/page/messages/messages.py @@ -1,18 +1,5 @@ -# ERPNext - web based ERP (http://erpnext.com) -# Copyright (C) 2012 Web Notes Technologies Pvt Ltd -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/core/page/modules_setup/__init__.py b/core/page/modules_setup/__init__.py index e69de29bb2..c02d3e8f0d 100644 --- a/core/page/modules_setup/__init__.py +++ b/core/page/modules_setup/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + diff --git a/core/page/modules_setup/modules_setup.py b/core/page/modules_setup/modules_setup.py index e993d83ce3..5e4d6e0261 100644 --- a/core/page/modules_setup/modules_setup.py +++ b/core/page/modules_setup/modules_setup.py @@ -1,3 +1,6 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals import webnotes diff --git a/core/page/permission_manager/__init__.py b/core/page/permission_manager/__init__.py index e69de29bb2..c02d3e8f0d 100644 --- a/core/page/permission_manager/__init__.py +++ b/core/page/permission_manager/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + diff --git a/core/page/permission_manager/permission_manager.py b/core/page/permission_manager/permission_manager.py index be87450d4e..f9b1d43ce7 100644 --- a/core/page/permission_manager/permission_manager.py +++ b/core/page/permission_manager/permission_manager.py @@ -1,3 +1,6 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals import webnotes import webnotes.defaults diff --git a/core/page/todo/__init__.py b/core/page/todo/__init__.py index e69de29bb2..c02d3e8f0d 100644 --- a/core/page/todo/__init__.py +++ b/core/page/todo/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + diff --git a/core/page/todo/todo.py b/core/page/todo/todo.py index f0de04ec9b..8816c2f0ce 100644 --- a/core/page/todo/todo.py +++ b/core/page/todo/todo.py @@ -1,18 +1,5 @@ -# ERPNext - web based ERP (http://erpnext.com) -# Copyright (C) 2012 Web Notes Technologies Pvt Ltd -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/core/page/update_manager/__init__.py b/core/page/update_manager/__init__.py index e69de29bb2..c02d3e8f0d 100644 --- a/core/page/update_manager/__init__.py +++ b/core/page/update_manager/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + diff --git a/core/page/update_manager/update_manager.py b/core/page/update_manager/update_manager.py index e876cb4d55..527b40fedb 100644 --- a/core/page/update_manager/update_manager.py +++ b/core/page/update_manager/update_manager.py @@ -1,3 +1,6 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + # For license information, please see license.txt from __future__ import unicode_literals diff --git a/core/page/user_properties/__init__.py b/core/page/user_properties/__init__.py index e69de29bb2..c02d3e8f0d 100644 --- a/core/page/user_properties/__init__.py +++ b/core/page/user_properties/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + diff --git a/core/page/user_properties/user_properties.py b/core/page/user_properties/user_properties.py index e8cbcf6468..3eac354ac2 100644 --- a/core/page/user_properties/user_properties.py +++ b/core/page/user_properties/user_properties.py @@ -1,3 +1,6 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals import webnotes import webnotes.defaults diff --git a/core/report/__init__.py b/core/report/__init__.py index e69de29bb2..c02d3e8f0d 100644 --- a/core/report/__init__.py +++ b/core/report/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + diff --git a/core/report/todo/__init__.py b/core/report/todo/__init__.py index e69de29bb2..c02d3e8f0d 100644 --- a/core/report/todo/__init__.py +++ b/core/report/todo/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + diff --git a/core/report/todo/todo.py b/core/report/todo/todo.py index 567954b970..5e91a530df 100644 --- a/core/report/todo/todo.py +++ b/core/report/todo/todo.py @@ -1,3 +1,6 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals import webnotes from webnotes.widgets.reportview import execute as runreport diff --git a/public/html/server.py b/public/html/server.py index af47bfeee6..3b6d342b34 100755 --- a/public/html/server.py +++ b/public/html/server.py @@ -1,26 +1,7 @@ #!/usr/bin/env python -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals diff --git a/public/html/web.py b/public/html/web.py index e7b716c9f2..798c296667 100755 --- a/public/html/web.py +++ b/public/html/web.py @@ -1,20 +1,7 @@ #!/usr/bin/env python -# ERPNext - web based ERP (http://erpnext.com) -# Copyright (C) 2012 Web Notes Technologies Pvt Ltd -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt """ return a dynamic page from website templates diff --git a/public/js/legacy/clientscriptAPI.js b/public/js/legacy/clientscriptAPI.js index 98b5ac9fc9..9a102da5c2 100644 --- a/public/js/legacy/clientscriptAPI.js +++ b/public/js/legacy/clientscriptAPI.js @@ -1,24 +1,5 @@ -// Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -// -// MIT License (MIT) -// -// 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, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the 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. -// +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt get_server_fields = function(method, arg, table_field, doc, dt, dn, allow_edit, call_back) { wn.dom.freeze(); diff --git a/public/js/legacy/datatype.js b/public/js/legacy/datatype.js index 7b27c64116..688015fffb 100644 --- a/public/js/legacy/datatype.js +++ b/public/js/legacy/datatype.js @@ -1,24 +1,5 @@ -// Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -// -// MIT License (MIT) -// -// 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, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the 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. -// +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt wn.utils.full_name = function(fn, ln) { return fn + (ln ? ' ' : '') + (ln ? ln : '') diff --git a/public/js/legacy/datetime.js b/public/js/legacy/datetime.js index 805bbc8dfd..f38c228fb5 100644 --- a/public/js/legacy/datetime.js +++ b/public/js/legacy/datetime.js @@ -1,24 +1,5 @@ -// Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -// -// MIT License (MIT) -// -// 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, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the 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. -// +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt // Date diff --git a/public/js/legacy/dom.js b/public/js/legacy/dom.js index 3afd4e7ec7..5f901d18b2 100644 --- a/public/js/legacy/dom.js +++ b/public/js/legacy/dom.js @@ -1,24 +1,5 @@ -// Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -// -// MIT License (MIT) -// -// 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, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the 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. -// +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt // short hand functions for setting up // rich text editor tinymce diff --git a/public/js/legacy/form.js b/public/js/legacy/form.js index 0dcb82d156..8cf2207ea3 100644 --- a/public/js/legacy/form.js +++ b/public/js/legacy/form.js @@ -1,24 +1,5 @@ -// Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -// -// MIT License (MIT) -// -// 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, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the 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. -// +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt /* Form page structure diff --git a/public/js/legacy/globals.js b/public/js/legacy/globals.js index e54451cdb7..f1dd06482e 100644 --- a/public/js/legacy/globals.js +++ b/public/js/legacy/globals.js @@ -1,3 +1,6 @@ +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt + wn.provide('wn.widgets.form'); wn.provide('wn.widgets.report'); wn.provide('wn.utils'); diff --git a/public/js/legacy/handler.js b/public/js/legacy/handler.js index a571be224b..7fb5c6931c 100644 --- a/public/js/legacy/handler.js +++ b/public/js/legacy/handler.js @@ -1,24 +1,5 @@ -// Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -// -// MIT License (MIT) -// -// 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, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the 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. -// +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt function $c(command, args, callback, error, no_spinner, freeze_msg, btn) { return wn.request.call({ diff --git a/public/js/legacy/layout.js b/public/js/legacy/layout.js index b29a17f0e4..d745ce5396 100644 --- a/public/js/legacy/layout.js +++ b/public/js/legacy/layout.js @@ -1,24 +1,5 @@ -// Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -// -// MIT License (MIT) -// -// 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, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the 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. -// +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt /* + Layout diff --git a/public/js/legacy/loaders.js b/public/js/legacy/loaders.js index a222b55d45..15aa76360b 100644 --- a/public/js/legacy/loaders.js +++ b/public/js/legacy/loaders.js @@ -1,24 +1,5 @@ -// Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -// -// MIT License (MIT) -// -// 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, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the 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. -// +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt function loadreport(dt, rep_name, onload) { if(rep_name) diff --git a/public/js/legacy/print_format.js b/public/js/legacy/print_format.js index 081fb5f60d..ca820f1257 100644 --- a/public/js/legacy/print_format.js +++ b/public/js/legacy/print_format.js @@ -1,24 +1,5 @@ -// Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -// -// MIT License (MIT) -// -// 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, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the 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. -// +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt // default print style _p.def_print_style_body = "html, body, div, span, td, p { \ diff --git a/public/js/wn/app.js b/public/js/wn/app.js index 754f3da22c..e5db00f161 100644 --- a/public/js/wn/app.js +++ b/public/js/wn/app.js @@ -1,5 +1,5 @@ -// Copyright 2013 Web Notes Technologies Pvt Ltd -// MIT Licensed. See license.txt +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt if(!console) { var console = { diff --git a/public/js/wn/assets.js b/public/js/wn/assets.js index efde25b5a2..c8b79a0724 100644 --- a/public/js/wn/assets.js +++ b/public/js/wn/assets.js @@ -1,5 +1,5 @@ -// Copyright 2013 Web Notes Technologies Pvt Ltd -// License: MIT. See license.txt +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt // library to mange assets (js, css, models, html) etc in the app. // will try and get from localStorge if latest are available diff --git a/public/js/wn/class.js b/public/js/wn/class.js index a5020e6795..94a73b2d83 100644 --- a/public/js/wn/class.js +++ b/public/js/wn/class.js @@ -1,3 +1,6 @@ +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt + /* Inheritence "Class" diff --git a/public/js/wn/defaults.js b/public/js/wn/defaults.js index 9acab9e318..f0b1d94fd3 100644 --- a/public/js/wn/defaults.js +++ b/public/js/wn/defaults.js @@ -1,3 +1,6 @@ +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt + wn.defaults = { get_user_default: function(key) { var d = wn.boot.profile.defaults[key]; diff --git a/public/js/wn/dom.js b/public/js/wn/dom.js index d004ec4927..6eb8d3bb31 100644 --- a/public/js/wn/dom.js +++ b/public/js/wn/dom.js @@ -1,24 +1,5 @@ -// Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -// -// MIT License (MIT) -// -// 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, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the 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. -// +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt // add a new dom element wn.provide('wn.dom'); diff --git a/public/js/wn/form/assign_to.js b/public/js/wn/form/assign_to.js index b297ebda27..56d47d1e9a 100644 --- a/public/js/wn/form/assign_to.js +++ b/public/js/wn/form/assign_to.js @@ -1,24 +1,5 @@ -// Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -// -// MIT License (MIT) -// -// 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, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the 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. -// +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt // assign to is lined to todo // refresh - load todos diff --git a/public/js/wn/form/attachments.js b/public/js/wn/form/attachments.js index d712e3dc29..d5158e3cf2 100644 --- a/public/js/wn/form/attachments.js +++ b/public/js/wn/form/attachments.js @@ -1,24 +1,5 @@ -// Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -// -// MIT License (MIT) -// -// 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, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the 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. -// +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt wn.provide("wn.ui.form"); diff --git a/public/js/wn/form/comments.js b/public/js/wn/form/comments.js index 593bbc2caf..1b0fc67b18 100644 --- a/public/js/wn/form/comments.js +++ b/public/js/wn/form/comments.js @@ -1,3 +1,6 @@ +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt + wn.ui.form.Comments = Class.extend({ init: function(opts) { $.extend(this, opts); diff --git a/public/js/wn/form/control.js b/public/js/wn/form/control.js index 2405e99136..eb3103648e 100644 --- a/public/js/wn/form/control.js +++ b/public/js/wn/form/control.js @@ -1,3 +1,6 @@ +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt + wn.ui.form.make_control = function(opts) { var control_class_name = "Control" + opts.df.fieldtype.replace(/ /g, ""); if(wn.ui.form[control_class_name]) { diff --git a/public/js/wn/form/dashboard.js b/public/js/wn/form/dashboard.js index 6a02a1a95e..1b3d228691 100644 --- a/public/js/wn/form/dashboard.js +++ b/public/js/wn/form/dashboard.js @@ -1,3 +1,6 @@ +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt + wn.ui.form.Dashboard = Class.extend({ init: function(opts) { $.extend(this, opts); diff --git a/public/js/wn/form/editors.js b/public/js/wn/form/editors.js index 671d881b66..9959807a93 100644 --- a/public/js/wn/form/editors.js +++ b/public/js/wn/form/editors.js @@ -1,3 +1,6 @@ +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt + // Options // parent diff --git a/public/js/wn/form/footer.js b/public/js/wn/form/footer.js index 8514cdd70f..262d6b3873 100644 --- a/public/js/wn/form/footer.js +++ b/public/js/wn/form/footer.js @@ -1,3 +1,6 @@ +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt + wn.ui.form.Footer = Class.extend({ init: function(opts) { var me = this; diff --git a/public/js/wn/form/formatters.js b/public/js/wn/form/formatters.js index 137b94c049..1ed15d9c3b 100644 --- a/public/js/wn/form/formatters.js +++ b/public/js/wn/form/formatters.js @@ -1,3 +1,6 @@ +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt + // for license information please see license.txt wn.provide("wn.form.formatters"); diff --git a/public/js/wn/form/grid.js b/public/js/wn/form/grid.js index 183e48a9cc..a6012f30cb 100644 --- a/public/js/wn/form/grid.js +++ b/public/js/wn/form/grid.js @@ -1,3 +1,6 @@ +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt + wn.ui.form.Grid = Class.extend({ init: function(opts) { $.extend(this, opts); diff --git a/public/js/wn/form/infobar.js b/public/js/wn/form/infobar.js index a7ac702d6e..fd1fd500ee 100644 --- a/public/js/wn/form/infobar.js +++ b/public/js/wn/form/infobar.js @@ -1,3 +1,6 @@ +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt + wn.ui.form.InfoBar = Class.extend({ init: function(opts) { $.extend(this, opts); diff --git a/public/js/wn/form/layout.js b/public/js/wn/form/layout.js index bb69a46f68..783081a896 100644 --- a/public/js/wn/form/layout.js +++ b/public/js/wn/form/layout.js @@ -1,3 +1,6 @@ +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt + wn.ui.form.Layout = Class.extend({ init: function(opts) { this.views = {}; diff --git a/public/js/wn/form/link_selector.js b/public/js/wn/form/link_selector.js index c775a9e5d9..d5c5d93d3f 100644 --- a/public/js/wn/form/link_selector.js +++ b/public/js/wn/form/link_selector.js @@ -1,3 +1,6 @@ +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt + wn.ui.form.LinkSelector = Class.extend({ _help: "Dialog box to select a Link Value", init: function(opts) { diff --git a/public/js/wn/form/linked_with.js b/public/js/wn/form/linked_with.js index e5b51465ec..cc2bc2a731 100644 --- a/public/js/wn/form/linked_with.js +++ b/public/js/wn/form/linked_with.js @@ -1,3 +1,6 @@ +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt + // for license information please see license.txt wn.provide("wn.ui.form") diff --git a/public/js/wn/form/script_manager.js b/public/js/wn/form/script_manager.js index 6f1b0de6f3..2c8148bc47 100644 --- a/public/js/wn/form/script_manager.js +++ b/public/js/wn/form/script_manager.js @@ -1,3 +1,6 @@ +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt + wn.ui.form.ScriptManager = Class.extend({ init: function(opts) { $.extend(this, opts); diff --git a/public/js/wn/form/toolbar.js b/public/js/wn/form/toolbar.js index 918131e91b..7912bc08f5 100644 --- a/public/js/wn/form/toolbar.js +++ b/public/js/wn/form/toolbar.js @@ -1,3 +1,6 @@ +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt + wn.provide("wn.ui.form"); wn.ui.form.Toolbar = Class.extend({ init: function(opts) { diff --git a/public/js/wn/form/workflow.js b/public/js/wn/form/workflow.js index b2988ffec9..3b7fb59acb 100644 --- a/public/js/wn/form/workflow.js +++ b/public/js/wn/form/workflow.js @@ -1,24 +1,5 @@ -// Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -// -// MIT License (MIT) -// -// 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, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the 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. -// +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt wn.ui.form.States = Class.extend({ init: function(opts) { diff --git a/public/js/wn/misc/about.js b/public/js/wn/misc/about.js index dfd3485d72..1df0a49328 100644 --- a/public/js/wn/misc/about.js +++ b/public/js/wn/misc/about.js @@ -1,24 +1,5 @@ -// Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -// -// MIT License (MIT) -// -// 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, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the 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. -// +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt // ABOUT diff --git a/public/js/wn/misc/datetime.js b/public/js/wn/misc/datetime.js index cc388f2cb5..6b48a2e424 100644 --- a/public/js/wn/misc/datetime.js +++ b/public/js/wn/misc/datetime.js @@ -1,3 +1,6 @@ +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt + wn.provide('wn.datetime'); var double_digit = function(d) { diff --git a/public/js/wn/misc/number_format.js b/public/js/wn/misc/number_format.js index 4ed917a966..cbc6d33eee 100644 --- a/public/js/wn/misc/number_format.js +++ b/public/js/wn/misc/number_format.js @@ -1,5 +1,5 @@ -// Copyright 2013 Web Notes Technologies Pvt Ltd -// MIT Licensed. See license.txt +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt function flt(v, decimals, number_format) { if(v==null || v=='')return 0; diff --git a/public/js/wn/misc/tests/test_number_format.js b/public/js/wn/misc/tests/test_number_format.js index 825f13405a..447a1de9fa 100644 --- a/public/js/wn/misc/tests/test_number_format.js +++ b/public/js/wn/misc/tests/test_number_format.js @@ -1,3 +1,6 @@ +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt + module("Number Formatting"); test("#,###.##", function() { diff --git a/public/js/wn/misc/tools.js b/public/js/wn/misc/tools.js index cccc5f6cd9..73aa6776e4 100644 --- a/public/js/wn/misc/tools.js +++ b/public/js/wn/misc/tools.js @@ -1,3 +1,6 @@ +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt + wn.provide("wn.tools"); wn.tools.downloadify = function(data, roles, me) { diff --git a/public/js/wn/misc/user.js b/public/js/wn/misc/user.js index 5b285853e2..f7f6b0c462 100644 --- a/public/js/wn/misc/user.js +++ b/public/js/wn/misc/user.js @@ -1,3 +1,6 @@ +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt + // misc user functions wn.user_info = function(uid) { diff --git a/public/js/wn/misc/utils.js b/public/js/wn/misc/utils.js index b8fdec292a..29c7e34074 100644 --- a/public/js/wn/misc/utils.js +++ b/public/js/wn/misc/utils.js @@ -1,3 +1,6 @@ +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt + wn.provide('wn.utils'); wn.utils = { diff --git a/public/js/wn/model/create_new.js b/public/js/wn/model/create_new.js index 008ffbd7c0..1daab66ed6 100644 --- a/public/js/wn/model/create_new.js +++ b/public/js/wn/model/create_new.js @@ -1,3 +1,6 @@ +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt + wn.provide("wn.model"); $.extend(wn.model, { diff --git a/public/js/wn/model/doclist.js b/public/js/wn/model/doclist.js index e0f44d74ef..fb19fa330a 100644 --- a/public/js/wn/model/doclist.js +++ b/public/js/wn/model/doclist.js @@ -1,24 +1,5 @@ -// Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -// -// MIT License (MIT) -// -// 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, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the 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. -// +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt wn.provide("wn.model"); wn.model.DocList = Class.extend({ diff --git a/public/js/wn/model/meta.js b/public/js/wn/model/meta.js index 656bb139da..cb18452e0b 100644 --- a/public/js/wn/model/meta.js +++ b/public/js/wn/model/meta.js @@ -1,24 +1,5 @@ -// Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -// -// MIT License (MIT) -// -// 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, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the 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. -// +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt wn.provide('wn.meta.docfield_map'); wn.provide('wn.meta.docfield_copy'); diff --git a/public/js/wn/model/model.js b/public/js/wn/model/model.js index b2f8f2a8bd..8c93e4db3d 100644 --- a/public/js/wn/model/model.js +++ b/public/js/wn/model/model.js @@ -1,24 +1,5 @@ -// Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -// -// MIT License (MIT) -// -// 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, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the 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. -// +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt wn.provide('wn.model'); wn.provide("wn.model.map_info"); diff --git a/public/js/wn/model/perm.js b/public/js/wn/model/perm.js index dcdb9364a9..9bed466897 100644 --- a/public/js/wn/model/perm.js +++ b/public/js/wn/model/perm.js @@ -1,24 +1,5 @@ -// Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -// -// MIT License (MIT) -// -// 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, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the 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. -// +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt wn.provide("wn.perm"); var READ = 0, WRITE = 1, CREATE = 2; diff --git a/public/js/wn/model/sync.js b/public/js/wn/model/sync.js index 60092706a2..8bf865c98a 100644 --- a/public/js/wn/model/sync.js +++ b/public/js/wn/model/sync.js @@ -1,24 +1,5 @@ -// Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -// -// MIT License (MIT) -// -// 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, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the 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. -// +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt $.extend(wn.model, { docinfo: {}, diff --git a/public/js/wn/model/workflow.js b/public/js/wn/model/workflow.js index a24e4c1ae8..d73b21a55f 100644 --- a/public/js/wn/model/workflow.js +++ b/public/js/wn/model/workflow.js @@ -1,24 +1,5 @@ -// Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -// -// MIT License (MIT) -// -// 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, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the 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. -// +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt wn.provide("wn.workflow"); diff --git a/public/js/wn/print/print_table.js b/public/js/wn/print/print_table.js index dd4c4e1bb6..7a4d4acb4b 100644 --- a/public/js/wn/print/print_table.js +++ b/public/js/wn/print/print_table.js @@ -1,24 +1,5 @@ -// Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -// -// MIT License (MIT) -// -// 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, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the 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. -// +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt wn.provide("wn.print"); diff --git a/public/js/wn/provide.js b/public/js/wn/provide.js index 88951ed166..ddd8c8b4f2 100644 --- a/public/js/wn/provide.js +++ b/public/js/wn/provide.js @@ -1,24 +1,5 @@ -// Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -// -// MIT License (MIT) -// -// 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, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the 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. -// +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt // provide a namespace if(!window.wn)wn = {} diff --git a/public/js/wn/request.js b/public/js/wn/request.js index de65d6f086..b7f329824e 100644 --- a/public/js/wn/request.js +++ b/public/js/wn/request.js @@ -1,24 +1,5 @@ -// Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -// -// MIT License (MIT) -// -// 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, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the 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. -// +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt // My HTTP Request diff --git a/public/js/wn/router.js b/public/js/wn/router.js index 244f087e4d..be0d525757 100644 --- a/public/js/wn/router.js +++ b/public/js/wn/router.js @@ -1,3 +1,6 @@ +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt + // route urls to their virtual pages // re-route map (for rename) diff --git a/public/js/wn/translate.js b/public/js/wn/translate.js index e43630495f..95b0d646d3 100644 --- a/public/js/wn/translate.js +++ b/public/js/wn/translate.js @@ -1,3 +1,6 @@ +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt + // for translation wn._messages = {}; wn._ = function(txt) { diff --git a/public/js/wn/ui/appframe.js b/public/js/wn/ui/appframe.js index b7708a2299..bee6c0fbc0 100644 --- a/public/js/wn/ui/appframe.js +++ b/public/js/wn/ui/appframe.js @@ -1,5 +1,5 @@ -// Copyright 2013 Web Notes Technologies Pvt Ltd -// License: MIT. See license.txt +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt // wn._("Form") diff --git a/public/js/wn/ui/button.js b/public/js/wn/ui/button.js index 6fb7f480cd..7764b37726 100644 --- a/public/js/wn/ui/button.js +++ b/public/js/wn/ui/button.js @@ -1,24 +1,5 @@ -// Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -// -// MIT License (MIT) -// -// 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, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the 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. -// +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt wn.ui.Button = function(args) { var me = this; diff --git a/public/js/wn/ui/dialog.js b/public/js/wn/ui/dialog.js index 075ed27519..dd5b69d6cc 100644 --- a/public/js/wn/ui/dialog.js +++ b/public/js/wn/ui/dialog.js @@ -1,24 +1,5 @@ -// Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -// -// MIT License (MIT) -// -// 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, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the 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. -// +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt wn.provide('wn.ui'); diff --git a/public/js/wn/ui/field_group.js b/public/js/wn/ui/field_group.js index 568e818333..8694915f1d 100644 --- a/public/js/wn/ui/field_group.js +++ b/public/js/wn/ui/field_group.js @@ -1,24 +1,5 @@ -// Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -// -// MIT License (MIT) -// -// 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, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the 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. -// +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt wn.provide('wn.ui'); diff --git a/public/js/wn/ui/filters.js b/public/js/wn/ui/filters.js index 3f8a309235..c57f8d8a1e 100644 --- a/public/js/wn/ui/filters.js +++ b/public/js/wn/ui/filters.js @@ -1,24 +1,5 @@ -// Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -// -// MIT License (MIT) -// -// 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, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the 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. -// +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt wn.ui.FilterList = Class.extend({ init: function(opts) { diff --git a/public/js/wn/ui/listing.js b/public/js/wn/ui/listing.js index 52ace08264..601498d7a9 100644 --- a/public/js/wn/ui/listing.js +++ b/public/js/wn/ui/listing.js @@ -1,24 +1,5 @@ -// Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -// -// MIT License (MIT) -// -// 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, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the 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. -// +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt // new re-factored Listing object // removed rarely used functionality diff --git a/public/js/wn/ui/messages.js b/public/js/wn/ui/messages.js index 4f9adf981c..bfbfa7c073 100644 --- a/public/js/wn/ui/messages.js +++ b/public/js/wn/ui/messages.js @@ -1,3 +1,6 @@ +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt + wn.provide("wn.messages") wn.messages.waiting = function(parent, msg, bar_percent) { diff --git a/public/js/wn/ui/search.js b/public/js/wn/ui/search.js index cbe998eed8..9555444010 100644 --- a/public/js/wn/ui/search.js +++ b/public/js/wn/ui/search.js @@ -1,3 +1,6 @@ +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt + // search widget // options: doctype, callback, query (if applicable) diff --git a/public/js/wn/ui/tags.js b/public/js/wn/ui/tags.js index 1e57f2a780..d7e9ca4f83 100644 --- a/public/js/wn/ui/tags.js +++ b/public/js/wn/ui/tags.js @@ -1,3 +1,6 @@ +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt + wn.ui.TagEditor = Class.extend({ init: function(opts) { /* docs: diff --git a/public/js/wn/ui/toolbar/bookmarks.js b/public/js/wn/ui/toolbar/bookmarks.js index 8c2bb54ae0..b1304d63ac 100644 --- a/public/js/wn/ui/toolbar/bookmarks.js +++ b/public/js/wn/ui/toolbar/bookmarks.js @@ -1,3 +1,6 @@ +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt + // recent document list wn.ui.toolbar.Bookmarks = Class.extend({ init:function() { diff --git a/public/js/wn/ui/toolbar/new.js b/public/js/wn/ui/toolbar/new.js index a2ee2ed115..3f41c3b0d4 100644 --- a/public/js/wn/ui/toolbar/new.js +++ b/public/js/wn/ui/toolbar/new.js @@ -1,24 +1,5 @@ -// Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -// -// MIT License (MIT) -// -// 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, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the 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. -// +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt wn.ui.toolbar.NewDialog = wn.ui.toolbar.SelectorDialog.extend({ init: function() { diff --git a/public/js/wn/ui/toolbar/recent.js b/public/js/wn/ui/toolbar/recent.js index a5cd0b7bf9..0596db39b6 100644 --- a/public/js/wn/ui/toolbar/recent.js +++ b/public/js/wn/ui/toolbar/recent.js @@ -1,24 +1,5 @@ -// Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -// -// MIT License (MIT) -// -// 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, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the 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. -// +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt // recent document list wn.ui.toolbar.RecentDocs = Class.extend({ diff --git a/public/js/wn/ui/toolbar/report.js b/public/js/wn/ui/toolbar/report.js index 1abbdd3f2a..653b8f42be 100644 --- a/public/js/wn/ui/toolbar/report.js +++ b/public/js/wn/ui/toolbar/report.js @@ -1,24 +1,5 @@ -// Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -// -// MIT License (MIT) -// -// 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, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the 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. -// +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt wn.ui.toolbar.Report = wn.ui.toolbar.SelectorDialog.extend({ init: function() { diff --git a/public/js/wn/ui/toolbar/search.js b/public/js/wn/ui/toolbar/search.js index 6cee026e98..85cb9a10ee 100644 --- a/public/js/wn/ui/toolbar/search.js +++ b/public/js/wn/ui/toolbar/search.js @@ -1,26 +1,7 @@ // Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) // -// Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -// -// MIT License (MIT) -// -// 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, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the 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. -// +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt wn.ui.toolbar.Search = wn.ui.toolbar.SelectorDialog.extend({ init: function() { diff --git a/public/js/wn/ui/toolbar/selector_dialog.js b/public/js/wn/ui/toolbar/selector_dialog.js index 5a7cfae533..3a710cdf87 100644 --- a/public/js/wn/ui/toolbar/selector_dialog.js +++ b/public/js/wn/ui/toolbar/selector_dialog.js @@ -1,24 +1,5 @@ -// Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -// -// MIT License (MIT) -// -// 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, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the 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. -// +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt /* opts: diff --git a/public/js/wn/ui/toolbar/toolbar.js b/public/js/wn/ui/toolbar/toolbar.js index 804ea9900a..afb8a678d6 100644 --- a/public/js/wn/ui/toolbar/toolbar.js +++ b/public/js/wn/ui/toolbar/toolbar.js @@ -1,24 +1,5 @@ -// Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -// -// MIT License (MIT) -// -// 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, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the 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. -// +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt wn.ui.toolbar.Toolbar = Class.extend({ diff --git a/public/js/wn/ui/tree.js b/public/js/wn/ui/tree.js index c7b25effc6..81c4295c71 100644 --- a/public/js/wn/ui/tree.js +++ b/public/js/wn/ui/tree.js @@ -1,3 +1,6 @@ +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt + // for license information please see license.txt // constructor: parent, label, method, args diff --git a/public/js/wn/upload.js b/public/js/wn/upload.js index e00a28f5da..1e1e6cc10c 100644 --- a/public/js/wn/upload.js +++ b/public/js/wn/upload.js @@ -1,5 +1,5 @@ -// Copyright 2013 Web Notes Technologies Pvt Ltd -// License: MIT. See license.txt +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt // parent, args, callback wn.upload = { diff --git a/public/js/wn/views/calendar.js b/public/js/wn/views/calendar.js index b17f3d0e2c..8aee1f3c87 100644 --- a/public/js/wn/views/calendar.js +++ b/public/js/wn/views/calendar.js @@ -1,5 +1,5 @@ -// Copyright 2013 Web Notes Technologies Pvt Ltd -// License: MIT. See license.txt +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt wn.provide("wn.views.calendar"); wn.provide("wn.views.calendars"); diff --git a/public/js/wn/views/communication.js b/public/js/wn/views/communication.js index 95a8676c4f..e164154587 100644 --- a/public/js/wn/views/communication.js +++ b/public/js/wn/views/communication.js @@ -1,5 +1,5 @@ -// Copyright 2013 Web Notes Technologies Pvt Ltd -// License: MIT. See license.txt +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt // opts - parent, list, doc, email wn.views.CommunicationList = Class.extend({ diff --git a/public/js/wn/views/container.js b/public/js/wn/views/container.js index b11307c35c..e5b54d20d5 100644 --- a/public/js/wn/views/container.js +++ b/public/js/wn/views/container.js @@ -1,5 +1,5 @@ -// Copyright 2013 Web Notes Technologies Pvt Ltd -// License: MIT. See license.txt +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt // page container wn.provide('wn.pages'); diff --git a/public/js/wn/views/doclistview.js b/public/js/wn/views/doclistview.js index a8a43aee3a..5babe3d687 100644 --- a/public/js/wn/views/doclistview.js +++ b/public/js/wn/views/doclistview.js @@ -1,5 +1,5 @@ -// Copyright 2013 Web Notes Technologies Pvt Ltd -// License: MIT. See license.txt +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt wn.provide('wn.views.doclistview'); wn.provide('wn.doclistviews'); diff --git a/public/js/wn/views/formview.js b/public/js/wn/views/formview.js index a8216f4c72..4e15131e02 100644 --- a/public/js/wn/views/formview.js +++ b/public/js/wn/views/formview.js @@ -1,5 +1,5 @@ -// Copyright 2013 Web Notes Technologies Pvt Ltd -// License: MIT. See license.txt +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt wn.provide('wn.views.formview'); diff --git a/public/js/wn/views/ganttview.js b/public/js/wn/views/ganttview.js index 9f41f760f9..ae1d1ff521 100644 --- a/public/js/wn/views/ganttview.js +++ b/public/js/wn/views/ganttview.js @@ -1,3 +1,6 @@ +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt + wn.provide("wn.views.calendar"); wn.views.GanttFactory = wn.views.Factory.extend({ diff --git a/public/js/wn/views/grid_report.js b/public/js/wn/views/grid_report.js index 99fa1bb4c0..450a64109e 100644 --- a/public/js/wn/views/grid_report.js +++ b/public/js/wn/views/grid_report.js @@ -1,5 +1,5 @@ -// Copyright 2013 Web Notes Technologies Pvt Ltd -// License: MIT. See license.txt +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt wn.provide("wn.report_dump"); diff --git a/public/js/wn/views/listview.js b/public/js/wn/views/listview.js index 3c12c19a49..6ceb711493 100644 --- a/public/js/wn/views/listview.js +++ b/public/js/wn/views/listview.js @@ -1,5 +1,5 @@ -// Copyright 2013 Web Notes Technologies Pvt Ltd -// License: MIT. See license.txt +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt wn.views.get_listview = function(doctype, parent) { var meta = locals.DocType[doctype]; diff --git a/public/js/wn/views/moduleview.js b/public/js/wn/views/moduleview.js index 97a0041524..fda7b26405 100644 --- a/public/js/wn/views/moduleview.js +++ b/public/js/wn/views/moduleview.js @@ -1,5 +1,5 @@ -// Copyright 2013 Web Notes Technologies Pvt Ltd -// MIT Licensed. See license.txt +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt wn.provide("wn.views.moduleview"); wn.provide("wn.module_page"); diff --git a/public/js/wn/views/pageview.js b/public/js/wn/views/pageview.js index 1acebc3fe9..8fbf0d9c4c 100644 --- a/public/js/wn/views/pageview.js +++ b/public/js/wn/views/pageview.js @@ -1,5 +1,5 @@ -// Copyright 2013 Web Notes Technologies Pvt Ltd -// License: MIT. See license.txt +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt wn.provide('wn.views.pageview'); wn.provide("wn.standard_pages"); diff --git a/public/js/wn/views/query_report.js b/public/js/wn/views/query_report.js index eb90f43fe7..ec92dcc609 100644 --- a/public/js/wn/views/query_report.js +++ b/public/js/wn/views/query_report.js @@ -1,5 +1,5 @@ -// Copyright 2013 Web Notes Technologies Pvt Ltd -// License: MIT. See license.txt +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt wn.provide("wn.views"); wn.provide("wn.query_reports"); diff --git a/public/js/wn/views/reportview.js b/public/js/wn/views/reportview.js index fa102afa89..8edfc1cfe2 100644 --- a/public/js/wn/views/reportview.js +++ b/public/js/wn/views/reportview.js @@ -1,5 +1,5 @@ -// Copyright 2013 Web Notes Technologies Pvt Ltd -// License: MIT. See license.txt +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt wn.views.ReportFactory = wn.views.Factory.extend({ make: function(route) { diff --git a/public/js/wn/views/sidebar_stats.js b/public/js/wn/views/sidebar_stats.js index 645e5b80e3..46bb811ff2 100644 --- a/public/js/wn/views/sidebar_stats.js +++ b/public/js/wn/views/sidebar_stats.js @@ -1,5 +1,5 @@ -// Copyright 2013 Web Notes Technologies Pvt Ltd -// License: MIT. See license.txt +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt wn.provide('wn.views'); diff --git a/public/js/wn/views/test_runner.js b/public/js/wn/views/test_runner.js index b307c26608..cd00b08b64 100644 --- a/public/js/wn/views/test_runner.js +++ b/public/js/wn/views/test_runner.js @@ -1,5 +1,5 @@ -// Copyright 2013 Web Notes Technologies Pvt Ltd -// MIT Licensed. See license.txt +// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +// MIT License. See license.txt wn.standard_pages["test-runner"] = function() { var wrapper = wn.container.add_page('test-runner'); diff --git a/webnotes/__init__.py b/webnotes/__init__.py index b12aedcb34..639491fa55 100644 --- a/webnotes/__init__.py +++ b/webnotes/__init__.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt """ globals attached to webnotes module + some utility functions that should probably be moved diff --git a/webnotes/auth.py b/webnotes/auth.py index 58101fad97..76db23d55f 100644 --- a/webnotes/auth.py +++ b/webnotes/auth.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/webnotes/boot.py b/webnotes/boot.py index 3525ba9b63..213a7f6af2 100644 --- a/webnotes/boot.py +++ b/webnotes/boot.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals """ diff --git a/webnotes/build.py b/webnotes/build.py index 9da3583d41..66f46bbdd1 100644 --- a/webnotes/build.py +++ b/webnotes/build.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals from webnotes.utils.minify import JavascriptMinify diff --git a/webnotes/client.py b/webnotes/client.py index 9fcd4c47d2..bc9db7a29f 100644 --- a/webnotes/client.py +++ b/webnotes/client.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/webnotes/country_info.py b/webnotes/country_info.py index c1724fce84..a04a02d544 100644 --- a/webnotes/country_info.py +++ b/webnotes/country_info.py @@ -1,3 +1,6 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + # all country info from __future__ import unicode_literals diff --git a/webnotes/db.py b/webnotes/db.py index 26cb3e0a60..7af2839490 100644 --- a/webnotes/db.py +++ b/webnotes/db.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt # Database Module # -------------------- diff --git a/webnotes/defaults.py b/webnotes/defaults.py index f10ba941d2..004e720dad 100644 --- a/webnotes/defaults.py +++ b/webnotes/defaults.py @@ -1,3 +1,6 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals import webnotes import memc diff --git a/webnotes/handler.py b/webnotes/handler.py index b77997f5e5..8c75b14ab8 100755 --- a/webnotes/handler.py +++ b/webnotes/handler.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import sys, os diff --git a/webnotes/install_lib/__init__.py b/webnotes/install_lib/__init__.py index 519ff49eac..b6d3294a00 100644 --- a/webnotes/install_lib/__init__.py +++ b/webnotes/install_lib/__init__.py @@ -1 +1,4 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals \ No newline at end of file diff --git a/webnotes/install_lib/install.py b/webnotes/install_lib/install.py index f758225e0b..012b906395 100755 --- a/webnotes/install_lib/install.py +++ b/webnotes/install_lib/install.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt # called from wnf.py # lib/wnf.py --install [rootpassword] [dbname] [source] diff --git a/webnotes/install_lib/setup_public_folder.py b/webnotes/install_lib/setup_public_folder.py index 71d97955b9..09899650f2 100644 --- a/webnotes/install_lib/setup_public_folder.py +++ b/webnotes/install_lib/setup_public_folder.py @@ -1,3 +1,6 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + # make public folders from __future__ import unicode_literals diff --git a/webnotes/memc.py b/webnotes/memc.py index 0c5cff35ac..4633dce625 100644 --- a/webnotes/memc.py +++ b/webnotes/memc.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import memcache, conf diff --git a/webnotes/model/__init__.py b/webnotes/model/__init__.py index db424f47c7..12f40ff4a6 100644 --- a/webnotes/model/__init__.py +++ b/webnotes/model/__init__.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt # model __init__.py from __future__ import unicode_literals diff --git a/webnotes/model/bean.py b/webnotes/model/bean.py index 29c0629eab..d6b831ac8f 100644 --- a/webnotes/model/bean.py +++ b/webnotes/model/bean.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals """ diff --git a/webnotes/model/code.py b/webnotes/model/code.py index 47bcec6a68..c5d5638961 100644 --- a/webnotes/model/code.py +++ b/webnotes/model/code.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals """ diff --git a/webnotes/model/controller.py b/webnotes/model/controller.py index d9f76270e6..34ba421291 100644 --- a/webnotes/model/controller.py +++ b/webnotes/model/controller.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/webnotes/model/create_new.py b/webnotes/model/create_new.py index d1857f451a..70250ff21f 100644 --- a/webnotes/model/create_new.py +++ b/webnotes/model/create_new.py @@ -1,3 +1,6 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals """ Create a new document with defaults set diff --git a/webnotes/model/db_schema.py b/webnotes/model/db_schema.py index 12842da9d3..198495b97e 100644 --- a/webnotes/model/db_schema.py +++ b/webnotes/model/db_schema.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals """ diff --git a/webnotes/model/doc.py b/webnotes/model/doc.py index 95ff233db8..7a37d32635 100755 --- a/webnotes/model/doc.py +++ b/webnotes/model/doc.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals """ diff --git a/webnotes/model/docfield.py b/webnotes/model/docfield.py index 06c23717ad..aca7424abc 100644 --- a/webnotes/model/docfield.py +++ b/webnotes/model/docfield.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals """docfield utililtes""" diff --git a/webnotes/model/doclist.py b/webnotes/model/doclist.py index 7f97c8c3e3..46e1e4bcce 100644 --- a/webnotes/model/doclist.py +++ b/webnotes/model/doclist.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt import webnotes import webnotes.model diff --git a/webnotes/model/doctype.py b/webnotes/model/doctype.py index 415b3ba92e..c727b47d5c 100644 --- a/webnotes/model/doctype.py +++ b/webnotes/model/doctype.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt """ Get metadata (main doctype with fields and permissions with all table doctypes) diff --git a/webnotes/model/mapper.py b/webnotes/model/mapper.py index 744bde7526..327dcbea4d 100644 --- a/webnotes/model/mapper.py +++ b/webnotes/model/mapper.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes, json diff --git a/webnotes/model/meta.py b/webnotes/model/meta.py index 271766cdd3..77077370a7 100644 --- a/webnotes/model/meta.py +++ b/webnotes/model/meta.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt # metadata diff --git a/webnotes/model/rename_doc.py b/webnotes/model/rename_doc.py index 564e9567a7..98f0113a38 100644 --- a/webnotes/model/rename_doc.py +++ b/webnotes/model/rename_doc.py @@ -1,3 +1,6 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals import webnotes from webnotes import _ diff --git a/webnotes/model/sync.py b/webnotes/model/sync.py index 8472647853..82f284c02c 100644 --- a/webnotes/model/sync.py +++ b/webnotes/model/sync.py @@ -1,3 +1,6 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals """ Sync's doctype and docfields from txt files to database diff --git a/webnotes/model/utils.py b/webnotes/model/utils.py index 08d895fa02..62afc0bd51 100644 --- a/webnotes/model/utils.py +++ b/webnotes/model/utils.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/webnotes/model/workflow.py b/webnotes/model/workflow.py index bea9c18d07..affa72826b 100644 --- a/webnotes/model/workflow.py +++ b/webnotes/model/workflow.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/webnotes/modules/__init__.py b/webnotes/modules/__init__.py index 0c1c55a6a3..94e49444a7 100644 --- a/webnotes/modules/__init__.py +++ b/webnotes/modules/__init__.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals """ diff --git a/webnotes/modules/export_file.py b/webnotes/modules/export_file.py index 7d9c1f2377..9e2be2c533 100644 --- a/webnotes/modules/export_file.py +++ b/webnotes/modules/export_file.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals diff --git a/webnotes/modules/import_file.py b/webnotes/modules/import_file.py index 73db8f2443..347395e837 100644 --- a/webnotes/modules/import_file.py +++ b/webnotes/modules/import_file.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals diff --git a/webnotes/modules/patch_handler.py b/webnotes/modules/patch_handler.py index 704af35279..ce8028cf88 100644 --- a/webnotes/modules/patch_handler.py +++ b/webnotes/modules/patch_handler.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals """ diff --git a/webnotes/modules/utils.py b/webnotes/modules/utils.py index 8eaa46e58a..4bc2de2c8d 100644 --- a/webnotes/modules/utils.py +++ b/webnotes/modules/utils.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals diff --git a/webnotes/profile.py b/webnotes/profile.py index 6f9c596c18..b5221a9ce8 100644 --- a/webnotes/profile.py +++ b/webnotes/profile.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals diff --git a/webnotes/sessions.py b/webnotes/sessions.py index 8a6cd3698a..3e63ea2657 100644 --- a/webnotes/sessions.py +++ b/webnotes/sessions.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals """ diff --git a/webnotes/test_runner.py b/webnotes/test_runner.py index 2d5b2697f6..e0a6dfae5d 100644 --- a/webnotes/test_runner.py +++ b/webnotes/test_runner.py @@ -1,3 +1,6 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals import sys diff --git a/webnotes/tests/__init__.py b/webnotes/tests/__init__.py index 05d62fc474..15be347679 100644 --- a/webnotes/tests/__init__.py +++ b/webnotes/tests/__init__.py @@ -1,23 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals diff --git a/webnotes/tests/test_db.py b/webnotes/tests/test_db.py index 67236cbcb4..df3f6540e4 100644 --- a/webnotes/tests/test_db.py +++ b/webnotes/tests/test_db.py @@ -1,23 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import unittest diff --git a/webnotes/tests/test_defaults.py b/webnotes/tests/test_defaults.py index a62900ef86..a259038670 100644 --- a/webnotes/tests/test_defaults.py +++ b/webnotes/tests/test_defaults.py @@ -1,3 +1,6 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + import webnotes, unittest from webnotes.defaults import * diff --git a/webnotes/tests/test_email.py b/webnotes/tests/test_email.py index e25c362cbe..6c6a0e4599 100644 --- a/webnotes/tests/test_email.py +++ b/webnotes/tests/test_email.py @@ -1,3 +1,6 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals import os, sys diff --git a/webnotes/tests/test_fmt_money.py b/webnotes/tests/test_fmt_money.py index 219ec0abbd..41b54095f7 100644 --- a/webnotes/tests/test_fmt_money.py +++ b/webnotes/tests/test_fmt_money.py @@ -1,3 +1,6 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + import webnotes from webnotes import _ from webnotes.utils import flt, cstr diff --git a/webnotes/tests/test_geo_ip.py b/webnotes/tests/test_geo_ip.py index be2a8523e4..c75b95cfaf 100644 --- a/webnotes/tests/test_geo_ip.py +++ b/webnotes/tests/test_geo_ip.py @@ -1,3 +1,6 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + import webnotes import unittest diff --git a/webnotes/translate.py b/webnotes/translate.py index a4270e46c9..f898a49834 100644 --- a/webnotes/translate.py +++ b/webnotes/translate.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals diff --git a/webnotes/utils/__init__.py b/webnotes/utils/__init__.py index 9aab825765..7fd69bcb4a 100644 --- a/webnotes/utils/__init__.py +++ b/webnotes/utils/__init__.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt # util __init__.py diff --git a/webnotes/utils/backups.py b/webnotes/utils/backups.py index cbfecbf5c4..5c2e47c5f5 100644 --- a/webnotes/utils/backups.py +++ b/webnotes/utils/backups.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals """ diff --git a/webnotes/utils/datautils.py b/webnotes/utils/datautils.py index 3c47e76e37..5285ad8977 100644 --- a/webnotes/utils/datautils.py +++ b/webnotes/utils/datautils.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/webnotes/utils/dateutils.py b/webnotes/utils/dateutils.py index bd4e8fdbb6..5ad3009c62 100644 --- a/webnotes/utils/dateutils.py +++ b/webnotes/utils/dateutils.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/webnotes/utils/email_lib/__init__.py b/webnotes/utils/email_lib/__init__.py index 2927a66eb0..726b0a9ec3 100644 --- a/webnotes/utils/email_lib/__init__.py +++ b/webnotes/utils/email_lib/__init__.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes, conf diff --git a/webnotes/utils/email_lib/bulk.py b/webnotes/utils/email_lib/bulk.py index 94c7522bf2..793b8fd470 100644 --- a/webnotes/utils/email_lib/bulk.py +++ b/webnotes/utils/email_lib/bulk.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/webnotes/utils/email_lib/html2text.py b/webnotes/utils/email_lib/html2text.py index 2e130ae2dd..c8c9f43969 100644 --- a/webnotes/utils/email_lib/html2text.py +++ b/webnotes/utils/email_lib/html2text.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt #!/usr/bin/env python from __future__ import unicode_literals diff --git a/webnotes/utils/email_lib/receive.py b/webnotes/utils/email_lib/receive.py index efde647729..2b2026d114 100644 --- a/webnotes/utils/email_lib/receive.py +++ b/webnotes/utils/email_lib/receive.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/webnotes/utils/email_lib/smtp.py b/webnotes/utils/email_lib/smtp.py index 0742d3c9f3..90fd0fb053 100644 --- a/webnotes/utils/email_lib/smtp.py +++ b/webnotes/utils/email_lib/smtp.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals """ diff --git a/webnotes/utils/file_manager.py b/webnotes/utils/file_manager.py index 20dd9f516e..b4f5c69b6a 100644 --- a/webnotes/utils/file_manager.py +++ b/webnotes/utils/file_manager.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/webnotes/utils/minify.py b/webnotes/utils/minify.py index a1a0ef35ed..1db07d0d19 100644 --- a/webnotes/utils/minify.py +++ b/webnotes/utils/minify.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt diff --git a/webnotes/utils/nestedset.py b/webnotes/utils/nestedset.py index 694b99f8bc..66ff9a0413 100644 --- a/webnotes/utils/nestedset.py +++ b/webnotes/utils/nestedset.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt # Tree (Hierarchical) Nested Set Model (nsm) # diff --git a/webnotes/utils/scheduler.py b/webnotes/utils/scheduler.py index 9a62e2f259..35e5a2123b 100644 --- a/webnotes/utils/scheduler.py +++ b/webnotes/utils/scheduler.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals """ diff --git a/webnotes/utils/webclient.py b/webnotes/utils/webclient.py index 3ed809e46c..69a1fa67fe 100644 --- a/webnotes/utils/webclient.py +++ b/webnotes/utils/webclient.py @@ -1,3 +1,6 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + # Simple Web service client for wnframework (ERPNext) # License MIT # diff --git a/webnotes/webutils.py b/webnotes/webutils.py index b5b2bcc895..21ffa983bf 100644 --- a/webnotes/webutils.py +++ b/webnotes/webutils.py @@ -1,3 +1,6 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals import os diff --git a/webnotes/widgets/__init__.py b/webnotes/widgets/__init__.py index baffc48825..c027a0e3b4 100644 --- a/webnotes/widgets/__init__.py +++ b/webnotes/widgets/__init__.py @@ -1 +1,4 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals diff --git a/webnotes/widgets/calendar.py b/webnotes/widgets/calendar.py index 75a4c7e1a7..587d8666a3 100644 --- a/webnotes/widgets/calendar.py +++ b/webnotes/widgets/calendar.py @@ -1,23 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals diff --git a/webnotes/widgets/event.py b/webnotes/widgets/event.py index a5ef988890..ab9557d0af 100644 --- a/webnotes/widgets/event.py +++ b/webnotes/widgets/event.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt # Event # ------------- diff --git a/webnotes/widgets/form/__init__.py b/webnotes/widgets/form/__init__.py index baffc48825..c027a0e3b4 100644 --- a/webnotes/widgets/form/__init__.py +++ b/webnotes/widgets/form/__init__.py @@ -1 +1,4 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt + from __future__ import unicode_literals diff --git a/webnotes/widgets/form/assign_to.py b/webnotes/widgets/form/assign_to.py index 0a729dc7f7..ff02fd0286 100644 --- a/webnotes/widgets/form/assign_to.py +++ b/webnotes/widgets/form/assign_to.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals """assign/unassign to ToDo""" diff --git a/webnotes/widgets/form/load.py b/webnotes/widgets/form/load.py index 2947b12d86..6dcec2109e 100644 --- a/webnotes/widgets/form/load.py +++ b/webnotes/widgets/form/load.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes, json diff --git a/webnotes/widgets/form/run_method.py b/webnotes/widgets/form/run_method.py index 00a9a14c16..ecd0680e7d 100644 --- a/webnotes/widgets/form/run_method.py +++ b/webnotes/widgets/form/run_method.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/webnotes/widgets/form/save.py b/webnotes/widgets/form/save.py index 9b9b95ee2a..f9cb9141aa 100644 --- a/webnotes/widgets/form/save.py +++ b/webnotes/widgets/form/save.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/webnotes/widgets/form/utils.py b/webnotes/widgets/form/utils.py index 1b08b2b344..9312dddb46 100644 --- a/webnotes/widgets/form/utils.py +++ b/webnotes/widgets/form/utils.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes, json diff --git a/webnotes/widgets/moduleview.py b/webnotes/widgets/moduleview.py index a98f4b35c3..0cd77cfcf3 100644 --- a/webnotes/widgets/moduleview.py +++ b/webnotes/widgets/moduleview.py @@ -1,5 +1,5 @@ -# Copyright 2013 Web Notes Technologies Pvt Ltd -# License: MIT. See license.txt +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes, json diff --git a/webnotes/widgets/notification.py b/webnotes/widgets/notification.py index 78c5f2887c..bc90a7444b 100644 --- a/webnotes/widgets/notification.py +++ b/webnotes/widgets/notification.py @@ -1,5 +1,5 @@ -# Copyright 2013 Web Notes Technologies Pvt Ltd -# License: MIT. See license.txt +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/webnotes/widgets/page.py b/webnotes/widgets/page.py index 2df8353b13..c05bb00ecc 100644 --- a/webnotes/widgets/page.py +++ b/webnotes/widgets/page.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/webnotes/widgets/page_body.py b/webnotes/widgets/page_body.py index 4eff223a4a..8be5ff7fb7 100644 --- a/webnotes/widgets/page_body.py +++ b/webnotes/widgets/page_body.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals redirect_template = ''' diff --git a/webnotes/widgets/query_builder.py b/webnotes/widgets/query_builder.py index cebfb76ef4..44de375df5 100644 --- a/webnotes/widgets/query_builder.py +++ b/webnotes/widgets/query_builder.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/webnotes/widgets/query_report.py b/webnotes/widgets/query_report.py index ce2cd88150..c3be9dd54b 100644 --- a/webnotes/widgets/query_report.py +++ b/webnotes/widgets/query_report.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals diff --git a/webnotes/widgets/report_dump.py b/webnotes/widgets/report_dump.py index 4f2fa1cb8e..a333b14b81 100644 --- a/webnotes/widgets/report_dump.py +++ b/webnotes/widgets/report_dump.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import webnotes diff --git a/webnotes/widgets/reportview.py b/webnotes/widgets/reportview.py index 182cecf703..784946700c 100644 --- a/webnotes/widgets/reportview.py +++ b/webnotes/widgets/reportview.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals """build query for doclistview and return results""" diff --git a/webnotes/widgets/search.py b/webnotes/widgets/search.py index 49d2eb937d..1b712e5a35 100644 --- a/webnotes/widgets/search.py +++ b/webnotes/widgets/search.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt # Search from __future__ import unicode_literals diff --git a/webnotes/widgets/tags.py b/webnotes/widgets/tags.py index 8bc58682f8..00776f2913 100644 --- a/webnotes/widgets/tags.py +++ b/webnotes/widgets/tags.py @@ -1,24 +1,5 @@ -# Copyright (c) 2012 Web Notes Technologies Pvt Ltd (http://erpnext.com) -# -# MIT License (MIT) -# -# 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, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the 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. -# +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals """ diff --git a/wnf.py b/wnf.py index 616c73e0ba..5f5c4e1602 100755 --- a/wnf.py +++ b/wnf.py @@ -1,7 +1,7 @@ #!/usr/bin/env python -# Copyright 2013 Web Notes Technologies Pvt Ltd -# License: MIT. See license.txt +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. +# MIT License. See license.txt from __future__ import unicode_literals import os, sys