Browse Source

Follow GNU guidelines

Zebulon McCorkle 6 months ago
parent
commit
dc51d754e1
No account linked to committer's email address
12 changed files with 54 additions and 25 deletions
  1. 18
    0
      AUTHORS
  2. 7
    0
      AUTHORS.template
  3. 0
    0
      COPYING.md
  4. 4
    0
      README.md
  5. 1
    1
      src/crypt3.ts
  6. 1
    1
      src/index.ts
  7. 18
    18
      src/promised-ldap.ts
  8. 1
    1
      src/routes/index.ts
  9. 1
    1
      src/routes/info.ts
  10. 1
    1
      src/routes/update.ts
  11. 1
    1
      static/index.html
  12. 1
    1
      views/user.hbs

+ 18
- 0
AUTHORS View File

@@ -0,0 +1,18 @@
1
+If you have recieved this project from Git, run git shortlog for the latest
2
+author list.
3
+
4
+This file was generated with the following shell command:
5
+
6
+    (cat AUTHORS.template && git shortlog) > AUTHORS
7
+
8
+Zebulon McCorkle (9):
9
+      Initial commit
10
+      Fix lack of copyright header on file
11
+      Add general error handling
12
+      Add Drone file
13
+      Add README.md (#1)
14
+      Fix CI badge
15
+      Fix link in README
16
+      Add more to README
17
+      Merge branch 'fix-ci-badge-with-right-commit' of asymptote/account into master
18
+

+ 7
- 0
AUTHORS.template View File

@@ -0,0 +1,7 @@
1
+If you have recieved this project from Git, run git shortlog for the latest
2
+author list.
3
+
4
+This file was generated with the following shell command:
5
+
6
+    (cat AUTHORS.template && git shortlog) > AUTHORS
7
+

LICENSE.md → COPYING.md View File


+ 4
- 0
README.md View File

@@ -13,3 +13,7 @@ yarn run build
13 13
 ```
14 14
 
15 15
 Generates an "account" file in the current directory which can be deployed.
16
+
17
+# License
18
+
19
+LGPL 3.0 or later

+ 1
- 1
src/crypt3.ts View File

@@ -1,6 +1,6 @@
1 1
 /*
2 2
     LDAP account manager, made for Asymptote Club
3
-    Copyright (C) 2018 Zebulon McCorkle and Asymptote Club contributors
3
+    Copyright (C) 2018 ACAM authors (see AUTHORS file)
4 4
 
5 5
     This program is free software: you can redistribute it and/or modify
6 6
     it under the terms of the GNU Affero General Public License as published by

+ 1
- 1
src/index.ts View File

@@ -1,6 +1,6 @@
1 1
 /*
2 2
     LDAP account manager, made for Asymptote Club
3
-    Copyright (C) 2018 Zebulon McCorkle and Asymptote Club contributors
3
+    Copyright (C) 2018 ACAM authors (see AUTHORS file)
4 4
 
5 5
     This program is free software: you can redistribute it and/or modify
6 6
     it under the terms of the GNU Affero General Public License as published by

+ 18
- 18
src/promised-ldap.ts View File

@@ -1,3 +1,21 @@
1
+/*
2
+    LDAP account manager, made for Asymptote Club
3
+    Copyright (C) 2018 ACAM authors (see AUTHORS file)
4
+
5
+    This program is free software: you can redistribute it and/or modify
6
+    it under the terms of the GNU Affero General Public License as published by
7
+    the Free Software Foundation, either version 3 of the License, or
8
+    (at your option) any later version.
9
+
10
+    This program is distributed in the hope that it will be useful,
11
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
+    GNU Affero General Public License for more details.
14
+
15
+    You should have received a copy of the GNU Affero General Public License
16
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
+*/
18
+
1 19
 import { Filter, Control, Change, SearchOptions, Client } from 'ldapjs';
2 20
 import * as Logger from 'bunyan';
3 21
 import { TlsOptions } from 'tls';
@@ -19,24 +37,6 @@ interface SearchResult {
19 37
     references: any[];
20 38
 }
21 39
 
22
-/*
23
-    LDAP account manager, made for Asymptote Club
24
-    Copyright (C) 2018 Zebulon McCorkle and Asymptote Club contributors
25
-
26
-    This program is free software: you can redistribute it and/or modify
27
-    it under the terms of the GNU Affero General Public License as published by
28
-    the Free Software Foundation, either version 3 of the License, or
29
-    (at your option) any later version.
30
-
31
-    This program is distributed in the hope that it will be useful,
32
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
33
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
34
-    GNU Affero General Public License for more details.
35
-
36
-    You should have received a copy of the GNU Affero General Public License
37
-    along with this program.  If not, see <http://www.gnu.org/licenses/>.
38
-*/
39
-
40 40
 interface AuthenticateUserResult {
41 41
     name: string;
42 42
     email: string;

+ 1
- 1
src/routes/index.ts View File

@@ -1,6 +1,6 @@
1 1
 /*
2 2
     LDAP account manager, made for Asymptote Club
3
-    Copyright (C) 2018 Zebulon McCorkle and Asymptote Club contributors
3
+    Copyright (C) 2018 ACAM authors (see AUTHORS file)
4 4
 
5 5
     This program is free software: you can redistribute it and/or modify
6 6
     it under the terms of the GNU Affero General Public License as published by

+ 1
- 1
src/routes/info.ts View File

@@ -1,6 +1,6 @@
1 1
 /*
2 2
     LDAP account manager, made for Asymptote Club
3
-    Copyright (C) 2018 Zebulon McCorkle and Asymptote Club contributors
3
+    Copyright (C) 2018 ACAM authors (see AUTHORS file)
4 4
 
5 5
     This program is free software: you can redistribute it and/or modify
6 6
     it under the terms of the GNU Affero General Public License as published by

+ 1
- 1
src/routes/update.ts View File

@@ -1,6 +1,6 @@
1 1
 /*
2 2
     LDAP account manager, made for Asymptote Club
3
-    Copyright (C) 2018 Zebulon McCorkle and Asymptote Club contributors
3
+    Copyright (C) 2018 ACAM authors (see AUTHORS file)
4 4
 
5 5
     This program is free software: you can redistribute it and/or modify
6 6
     it under the terms of the GNU Affero General Public License as published by

+ 1
- 1
static/index.html View File

@@ -2,7 +2,7 @@
2 2
 
3 3
 <!--
4 4
     LDAP account manager, made for Asymptote Club
5
-    Copyright (C) 2018 Zebulon McCorkle and Asymptote Club contributors
5
+    Copyright (C) 2018 ACAM authors (see AUTHORS file)
6 6
 
7 7
     This program is free software: you can redistribute it and/or modify
8 8
     it under the terms of the GNU Affero General Public License as published by

+ 1
- 1
views/user.hbs View File

@@ -2,7 +2,7 @@
2 2
 
3 3
 <!--
4 4
     LDAP account manager, made for Asymptote Club
5
-    Copyright (C) 2018 Zebulon McCorkle and Asymptote Club contributors
5
+    Copyright (C) 2018 ACAM authors (see AUTHORS file)
6 6
 
7 7
     This program is free software: you can redistribute it and/or modify
8 8
     it under the terms of the GNU Affero General Public License as published by