Skip to content

Commit f43e453

Browse files
medclluohoufu
andauthored
chore: update license header (#14)
Co-authored-by: Hardy <[email protected]>
1 parent ed3a04a commit f43e453

File tree

209 files changed

+4908
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

209 files changed

+4908
-2
lines changed

.licensure.yml

+144
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
1+
change_in_place: true
2+
3+
# Regexes which if matched by a file path will always be excluded from
4+
# getting a license header
5+
excludes:
6+
- NOTICE
7+
- .gitmodules
8+
- Makefile
9+
- justfile
10+
- \.gitignore
11+
- .*lock
12+
- .*json
13+
- \.git/.*
14+
- \.licensure\.yml
15+
- README.*
16+
- LICENSE.*
17+
- .*\.(nix|toml|yml|md|rst|txt)
18+
- config/.*
19+
- lib/.*
20+
- script/.*
21+
- tests/.*
22+
- website/.*
23+
- data/.*
24+
- docs/.*
25+
- src/gen/.*
26+
- gen/.*
27+
- distribution/.*
28+
- contrib/.*
29+
- bin/.*
30+
- benches/.*
31+
- assets/.*
32+
- /config/.*
33+
- \..*/.*
34+
# Definition of the licenses used on this project and to what files
35+
# they should apply.
36+
#
37+
# No default license configuration is provided. This section must be
38+
# configured by the user.
39+
#
40+
# Make sure to delete the [] below when you add your configs.
41+
licenses:
42+
- files: any
43+
ident: AGPL-3.0-or-later
44+
authors:
45+
- name: INFINI Labs Team
46+
47+
auto_template: false
48+
template: |
49+
Copyright (C) INFINI Labs & INFINI LIMITED.
50+
51+
The INFINI Console is offered under the GNU Affero General Public License v3.0
52+
and as commercial software.
53+
54+
For commercial licensing, contact us at:
55+
- Website: infinilabs.com
56+
57+
58+
Open Source licensed under AGPL V3:
59+
This program is free software: you can redistribute it and/or modify
60+
it under the terms of the GNU Affero General Public License as published by
61+
the Free Software Foundation, either version 3 of the License, or
62+
(at your option) any later version.
63+
64+
This program is distributed in the hope that it will be useful,
65+
but WITHOUT ANY WARRANTY; without even the implied warranty of
66+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
67+
GNU Affero General Public License for more details.
68+
69+
You should have received a copy of the GNU Affero General Public License
70+
along with this program. If not, see <http://www.gnu.org/licenses/>.
71+
72+
73+
unwrap_text: false
74+
commenter:
75+
type: line
76+
comment_char: "//"
77+
trailing_lines: 1
78+
# Define type of comment characters to apply based on file extensions.
79+
comments:
80+
# The extensions (or singular extension) field defines which file
81+
# extensions to apply the commenter to.
82+
- extensions:
83+
- js
84+
- rs
85+
- go
86+
# The commenter field defines the kind of commenter to
87+
# generate. There are two types of commenters: line and block.
88+
#
89+
# This demonstrates a line commenter configuration. A line
90+
# commenter type will apply the comment_char to the beginning of
91+
# each line in the license header. It will then apply a number of
92+
# empty newlines to the end of the header equal to trailing_lines.
93+
#
94+
# If trailing_lines is omitted it is assumed to be 0.
95+
commenter:
96+
type: line
97+
comment_char: "//"
98+
trailing_lines: 1
99+
- extensions:
100+
- css
101+
- cpp
102+
- c
103+
# This demonstrates a block commenter configuration. A block
104+
# commenter type will add start_block_char as the first character
105+
# in the license header and add end_block_char as the last character
106+
# in the license header. If per_line_char is provided each line of
107+
# the header between the block start and end characters will be
108+
# line commented with the per_line_char
109+
#
110+
# trailing_lines works the same for both block and line commenter
111+
# types
112+
commenter:
113+
type: block
114+
start_block_char: "/*\n"
115+
end_block_char: "*/"
116+
per_line_char: "*"
117+
trailing_lines: 1
118+
# In this case extension is singular and a single string extension is provided.
119+
- extension: html
120+
commenter:
121+
type: block
122+
start_block_char: "<!--\n"
123+
end_block_char: "-->"
124+
- extensions:
125+
- el
126+
- lisp
127+
commenter:
128+
type: line
129+
comment_char: ";;;"
130+
trailing_lines: 1
131+
# The extension string "any" is special and so will match any file
132+
# extensions. Commenter configurations are always checked in the
133+
# order they are defined, so if any is used it should be the last
134+
# commenter configuration or else it will override all others.
135+
#
136+
# In this configuration if we can't match the file extension we fall
137+
# back to the popular '#' line comment used in most scripting
138+
# languages.
139+
- extension: any
140+
commenter:
141+
type: line
142+
comment_char: '#'
143+
trailing_lines: 1
144+

LICENSE

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Copyright (C) INFINI Labs & INFINI LIMITED.
44

55
## Commercial Licensing
66

7-
The INFINI Framework is offered under the [GNU Affero General Public License v3.0](https://opensource.org/licenses/AGPL-3.0)
7+
The INFINI Console is offered under the [GNU Affero General Public License v3.0](https://opensource.org/licenses/AGPL-3.0)
88
and as commercial software.
99

1010
For commercial licensing, contact us at:
@@ -248,4 +248,5 @@ Also add information on how to contact you by electronic and paper mail.
248248

249249
If your software can interact with users remotely through a computer network, you should also make sure that it provides a way for users to get its source. For example, if your program is a web application, its interface could display a "Source" link that leads users to an archive of the code. There are many ways you could offer source, and different solutions will be better for different programs; see section 13 for the specific requirements.
250250

251-
You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.
251+
You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.
252+

bootstrap_check.go

+23
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
// Copyright (C) INFINI Labs & INFINI LIMITED.
2+
//
3+
// The INFINI Console is offered under the GNU Affero General Public License v3.0
4+
// and as commercial software.
5+
//
6+
// For commercial licensing, contact us at:
7+
// - Website: infinilabs.com
8+
// - Email: [email protected]
9+
//
10+
// Open Source licensed under AGPL V3:
11+
// This program is free software: you can redistribute it and/or modify
12+
// it under the terms of the GNU Affero General Public License as published by
13+
// the Free Software Foundation, either version 3 of the License, or
14+
// (at your option) any later version.
15+
//
16+
// This program is distributed in the hope that it will be useful,
17+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
18+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19+
// GNU Affero General Public License for more details.
20+
//
21+
// You should have received a copy of the GNU Affero General Public License
22+
// along with this program. If not, see <http://www.gnu.org/licenses/>.
23+
124
/* Copyright © INFINI Ltd. All rights reserved.
225
* web: https://infinilabs.com
326
* mail: hello#infini.ltd */

common/audit_log.go

+23
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
// Copyright (C) INFINI Labs & INFINI LIMITED.
2+
//
3+
// The INFINI Console is offered under the GNU Affero General Public License v3.0
4+
// and as commercial software.
5+
//
6+
// For commercial licensing, contact us at:
7+
// - Website: infinilabs.com
8+
// - Email: [email protected]
9+
//
10+
// Open Source licensed under AGPL V3:
11+
// This program is free software: you can redistribute it and/or modify
12+
// it under the terms of the GNU Affero General Public License as published by
13+
// the Free Software Foundation, either version 3 of the License, or
14+
// (at your option) any later version.
15+
//
16+
// This program is distributed in the hope that it will be useful,
17+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
18+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19+
// GNU Affero General Public License for more details.
20+
//
21+
// You should have received a copy of the GNU Affero General Public License
22+
// along with this program. If not, see <http://www.gnu.org/licenses/>.
23+
124
/* Copyright © INFINI Ltd. All rights reserved.
225
* Web: https://infinilabs.com
326
* Email: hello#infini.ltd */

common/elastic.go

+23
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
// Copyright (C) INFINI Labs & INFINI LIMITED.
2+
//
3+
// The INFINI Console is offered under the GNU Affero General Public License v3.0
4+
// and as commercial software.
5+
//
6+
// For commercial licensing, contact us at:
7+
// - Website: infinilabs.com
8+
// - Email: [email protected]
9+
//
10+
// Open Source licensed under AGPL V3:
11+
// This program is free software: you can redistribute it and/or modify
12+
// it under the terms of the GNU Affero General Public License as published by
13+
// the Free Software Foundation, either version 3 of the License, or
14+
// (at your option) any later version.
15+
//
16+
// This program is distributed in the hope that it will be useful,
17+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
18+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19+
// GNU Affero General Public License for more details.
20+
//
21+
// You should have received a copy of the GNU Affero General Public License
22+
// along with this program. If not, see <http://www.gnu.org/licenses/>.
23+
124
/* Copyright © INFINI Ltd. All rights reserved.
225
* Web: https://infinilabs.com
326
* Email: hello#infini.ltd */

core/auth.go

+23
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
// Copyright (C) INFINI Labs & INFINI LIMITED.
2+
//
3+
// The INFINI Console is offered under the GNU Affero General Public License v3.0
4+
// and as commercial software.
5+
//
6+
// For commercial licensing, contact us at:
7+
// - Website: infinilabs.com
8+
// - Email: [email protected]
9+
//
10+
// Open Source licensed under AGPL V3:
11+
// This program is free software: you can redistribute it and/or modify
12+
// it under the terms of the GNU Affero General Public License as published by
13+
// the Free Software Foundation, either version 3 of the License, or
14+
// (at your option) any later version.
15+
//
16+
// This program is distributed in the hope that it will be useful,
17+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
18+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19+
// GNU Affero General Public License for more details.
20+
//
21+
// You should have received a copy of the GNU Affero General Public License
22+
// along with this program. If not, see <http://www.gnu.org/licenses/>.
23+
124
package core
225

326
import (

core/elastic.go

+23
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
// Copyright (C) INFINI Labs & INFINI LIMITED.
2+
//
3+
// The INFINI Console is offered under the GNU Affero General Public License v3.0
4+
// and as commercial software.
5+
//
6+
// For commercial licensing, contact us at:
7+
// - Website: infinilabs.com
8+
// - Email: [email protected]
9+
//
10+
// Open Source licensed under AGPL V3:
11+
// This program is free software: you can redistribute it and/or modify
12+
// it under the terms of the GNU Affero General Public License as published by
13+
// the Free Software Foundation, either version 3 of the License, or
14+
// (at your option) any later version.
15+
//
16+
// This program is distributed in the hope that it will be useful,
17+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
18+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19+
// GNU Affero General Public License for more details.
20+
//
21+
// You should have received a copy of the GNU Affero General Public License
22+
// along with this program. If not, see <http://www.gnu.org/licenses/>.
23+
124
package core
225

326
import (

core/security/access_token.go

+23
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
// Copyright (C) INFINI Labs & INFINI LIMITED.
2+
//
3+
// The INFINI Console is offered under the GNU Affero General Public License v3.0
4+
// and as commercial software.
5+
//
6+
// For commercial licensing, contact us at:
7+
// - Website: infinilabs.com
8+
// - Email: [email protected]
9+
//
10+
// Open Source licensed under AGPL V3:
11+
// This program is free software: you can redistribute it and/or modify
12+
// it under the terms of the GNU Affero General Public License as published by
13+
// the Free Software Foundation, either version 3 of the License, or
14+
// (at your option) any later version.
15+
//
16+
// This program is distributed in the hope that it will be useful,
17+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
18+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19+
// GNU Affero General Public License for more details.
20+
//
21+
// You should have received a copy of the GNU Affero General Public License
22+
// along with this program. If not, see <http://www.gnu.org/licenses/>.
23+
124
/* Copyright © INFINI LTD. All rights reserved.
225
* Web: https://infinilabs.com
326
* Email: hello#infini.ltd */

core/security/adapter.go

+23
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
// Copyright (C) INFINI Labs & INFINI LIMITED.
2+
//
3+
// The INFINI Console is offered under the GNU Affero General Public License v3.0
4+
// and as commercial software.
5+
//
6+
// For commercial licensing, contact us at:
7+
// - Website: infinilabs.com
8+
// - Email: [email protected]
9+
//
10+
// Open Source licensed under AGPL V3:
11+
// This program is free software: you can redistribute it and/or modify
12+
// it under the terms of the GNU Affero General Public License as published by
13+
// the Free Software Foundation, either version 3 of the License, or
14+
// (at your option) any later version.
15+
//
16+
// This program is distributed in the hope that it will be useful,
17+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
18+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19+
// GNU Affero General Public License for more details.
20+
//
21+
// You should have received a copy of the GNU Affero General Public License
22+
// along with this program. If not, see <http://www.gnu.org/licenses/>.
23+
124
/* Copyright © INFINI Ltd. All rights reserved.
225
* web: https://infinilabs.com
326
* mail: hello#infini.ltd */

core/security/context.go

+23
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
// Copyright (C) INFINI Labs & INFINI LIMITED.
2+
//
3+
// The INFINI Console is offered under the GNU Affero General Public License v3.0
4+
// and as commercial software.
5+
//
6+
// For commercial licensing, contact us at:
7+
// - Website: infinilabs.com
8+
// - Email: [email protected]
9+
//
10+
// Open Source licensed under AGPL V3:
11+
// This program is free software: you can redistribute it and/or modify
12+
// it under the terms of the GNU Affero General Public License as published by
13+
// the Free Software Foundation, either version 3 of the License, or
14+
// (at your option) any later version.
15+
//
16+
// This program is distributed in the hope that it will be useful,
17+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
18+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19+
// GNU Affero General Public License for more details.
20+
//
21+
// You should have received a copy of the GNU Affero General Public License
22+
// along with this program. If not, see <http://www.gnu.org/licenses/>.
23+
124
/* Copyright © INFINI Ltd. All rights reserved.
225
* web: https://infinilabs.com
326
* mail: hello#infini.ltd */

0 commit comments

Comments
 (0)