diff --git a/bin/genieacs-cwmp b/bin/genieacs-cwmp index eeaed5e..3ff1db5 100755 --- a/bin/genieacs-cwmp +++ b/bin/genieacs-cwmp @@ -1,4 +1,24 @@ #!/usr/bin/env -S node -r esm -r ts-node/register/transpile-only + +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import * as config from "../lib/config"; import * as logger from "../lib/logger"; import * as cluster from "../lib/cluster"; diff --git a/bin/genieacs-ext b/bin/genieacs-ext index 07130b0..13eb893 100755 --- a/bin/genieacs-ext +++ b/bin/genieacs-ext @@ -1,7 +1,7 @@ #!/usr/bin/env -S node -r esm -r ts-node/register/transpile-only /** - * Copyright 2013-2018 Zaid Abdulla + * Copyright 2013-2019 GenieACS Inc. * * This file is part of GenieACS. * diff --git a/bin/genieacs-fs b/bin/genieacs-fs index a772b91..4612894 100755 --- a/bin/genieacs-fs +++ b/bin/genieacs-fs @@ -1,4 +1,24 @@ #!/usr/bin/env -S node -r esm -r ts-node/register/transpile-only + +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import * as config from "../lib/config"; import * as logger from "../lib/logger"; import * as cluster from "../lib/cluster"; diff --git a/bin/genieacs-nbi b/bin/genieacs-nbi index 5a9208e..6c740ce 100755 --- a/bin/genieacs-nbi +++ b/bin/genieacs-nbi @@ -1,4 +1,24 @@ #!/usr/bin/env -S node -r esm -r ts-node/register/transpile-only + +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import * as config from "../lib/config"; import * as logger from "../lib/logger"; import * as cluster from "../lib/cluster"; diff --git a/bin/genieacs-ui b/bin/genieacs-ui index 9413d0c..93fe15c 100755 --- a/bin/genieacs-ui +++ b/bin/genieacs-ui @@ -1,4 +1,24 @@ #!/usr/bin/env -S node -r esm -r ts-node/register/transpile-only + +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import * as config from "../lib/config"; import * as logger from "../lib/logger"; import * as cluster from "../lib/cluster"; diff --git a/build/build.ts b/build/build.ts index c2cb8bb..b671010 100644 --- a/build/build.ts +++ b/build/build.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import * as path from "path"; import * as fs from "fs"; import { promisify } from "util"; diff --git a/lib/api-functions.ts b/lib/api-functions.ts index 378d8cc..07a02bf 100644 --- a/lib/api-functions.ts +++ b/lib/api-functions.ts @@ -1,5 +1,5 @@ /** - * Copyright 2013-2018 Zaid Abdulla + * Copyright 2013-2019 GenieACS Inc. * * This file is part of GenieACS. * diff --git a/lib/auth.ts b/lib/auth.ts index 7ea4735..32bb40f 100644 --- a/lib/auth.ts +++ b/lib/auth.ts @@ -1,5 +1,5 @@ /** - * Copyright 2013-2018 Zaid Abdulla + * Copyright 2013-2019 GenieACS Inc. * * This file is part of GenieACS. * diff --git a/lib/cache.ts b/lib/cache.ts index d64e4e7..6da33eb 100644 --- a/lib/cache.ts +++ b/lib/cache.ts @@ -1,5 +1,5 @@ /** - * Copyright 2013-2018 Zaid Abdulla + * Copyright 2013-2019 GenieACS Inc. * * This file is part of GenieACS. * diff --git a/lib/cluster.ts b/lib/cluster.ts index c26f02d..6cd96fd 100644 --- a/lib/cluster.ts +++ b/lib/cluster.ts @@ -1,5 +1,5 @@ /** - * Copyright 2013-2018 Zaid Abdulla + * Copyright 2013-2019 GenieACS Inc. * * This file is part of GenieACS. * diff --git a/lib/common.ts b/lib/common.ts index 2752ae5..7fed1af 100644 --- a/lib/common.ts +++ b/lib/common.ts @@ -1,5 +1,5 @@ /** - * Copyright 2013-2018 Zaid Abdulla + * Copyright 2013-2019 GenieACS Inc. * * This file is part of GenieACS. * diff --git a/lib/common/authorizer.ts b/lib/common/authorizer.ts index 2af104b..170607d 100644 --- a/lib/common/authorizer.ts +++ b/lib/common/authorizer.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import { PermissionSet, Expression } from "../types"; import { evaluate } from "./expression"; diff --git a/lib/common/expression-cnf.ts b/lib/common/expression-cnf.ts index 43f80ad..c5e44fa 100644 --- a/lib/common/expression-cnf.ts +++ b/lib/common/expression-cnf.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import { map, parseLikePattern } from "./expression-parser"; import { Expression } from "../types"; diff --git a/lib/common/expression-parser.ts b/lib/common/expression-parser.ts index cb34db6..b78cf55 100644 --- a/lib/common/expression-parser.ts +++ b/lib/common/expression-parser.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import * as parsimmon from "parsimmon"; import { Expression } from "../types"; diff --git a/lib/common/expression.ts b/lib/common/expression.ts index f383df3..efa12af 100644 --- a/lib/common/expression.ts +++ b/lib/common/expression.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import { map, mapAsync, parseLikePattern } from "./expression-parser"; import { booleanCnf } from "./expression-cnf"; import { naiveDpll } from "./sat-solver"; diff --git a/lib/common/memoize.ts b/lib/common/memoize.ts index 1048a66..236310e 100644 --- a/lib/common/memoize.ts +++ b/lib/common/memoize.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + let cache1 = new Map(); let cache2 = new Map(); const keys = new WeakMap(); diff --git a/lib/common/path-set.ts b/lib/common/path-set.ts index 10bb564..c2b7b73 100644 --- a/lib/common/path-set.ts +++ b/lib/common/path-set.ts @@ -1,5 +1,5 @@ /** - * Copyright 2013-2018 Zaid Abdulla + * Copyright 2013-2019 GenieACS Inc. * * This file is part of GenieACS. * diff --git a/lib/common/path.ts b/lib/common/path.ts index e13413c..52d47d6 100644 --- a/lib/common/path.ts +++ b/lib/common/path.ts @@ -1,5 +1,5 @@ /** - * Copyright 2013-2019 Zaid Abdulla + * Copyright 2013-2019 GenieACS Inc. * * This file is part of GenieACS. * diff --git a/lib/config.ts b/lib/config.ts index bd4c754..31d0248 100644 --- a/lib/config.ts +++ b/lib/config.ts @@ -1,5 +1,5 @@ /** - * Copyright 2013-2018 Zaid Abdulla + * Copyright 2013-2019 GenieACS Inc. * * This file is part of GenieACS. * diff --git a/lib/connection-request.ts b/lib/connection-request.ts index b626680..dfd9439 100644 --- a/lib/connection-request.ts +++ b/lib/connection-request.ts @@ -1,5 +1,5 @@ /** - * Copyright 2013-2019 Zaid Abdulla + * Copyright 2013-2019 GenieACS Inc. * * This file is part of GenieACS. * diff --git a/lib/cwmp.ts b/lib/cwmp.ts index c5788f4..4a1bf5d 100644 --- a/lib/cwmp.ts +++ b/lib/cwmp.ts @@ -1,5 +1,5 @@ /** - * Copyright 2013-2018 Zaid Abdulla + * Copyright 2013-2019 GenieACS Inc. * * This file is part of GenieACS. * diff --git a/lib/db.ts b/lib/db.ts index 3fb404f..2324990 100644 --- a/lib/db.ts +++ b/lib/db.ts @@ -1,5 +1,5 @@ /** - * Copyright 2013-2018 Zaid Abdulla + * Copyright 2013-2019 GenieACS Inc. * * This file is part of GenieACS. * diff --git a/lib/debug.ts b/lib/debug.ts index ed32606..5352725 100644 --- a/lib/debug.ts +++ b/lib/debug.ts @@ -1,5 +1,5 @@ /** - * Copyright 2013-2019 Zaid Abdulla + * Copyright 2013-2019 GenieACS Inc. * * This file is part of GenieACS. * diff --git a/lib/default-provisions.ts b/lib/default-provisions.ts index fe74590..d7eb244 100644 --- a/lib/default-provisions.ts +++ b/lib/default-provisions.ts @@ -1,5 +1,5 @@ /** - * Copyright 2013-2018 Zaid Abdulla + * Copyright 2013-2019 GenieACS Inc. * * This file is part of GenieACS. * diff --git a/lib/device.ts b/lib/device.ts index 7f4fc3e..e14ab4f 100644 --- a/lib/device.ts +++ b/lib/device.ts @@ -1,5 +1,5 @@ /** - * Copyright 2013-2018 Zaid Abdulla + * Copyright 2013-2019 GenieACS Inc. * * This file is part of GenieACS. * diff --git a/lib/extensions.ts b/lib/extensions.ts index 7a5790e..660a2a3 100644 --- a/lib/extensions.ts +++ b/lib/extensions.ts @@ -1,5 +1,5 @@ /** - * Copyright 2013-2018 Zaid Abdulla + * Copyright 2013-2019 GenieACS Inc. * * This file is part of GenieACS. * diff --git a/lib/fs.ts b/lib/fs.ts index 7ad7698..b30f3a0 100644 --- a/lib/fs.ts +++ b/lib/fs.ts @@ -1,5 +1,5 @@ /** - * Copyright 2013-2018 Zaid Abdulla + * Copyright 2013-2019 GenieACS Inc. * * This file is part of GenieACS. * diff --git a/lib/gpn-heuristic.ts b/lib/gpn-heuristic.ts index 35d3324..e4b9e89 100644 --- a/lib/gpn-heuristic.ts +++ b/lib/gpn-heuristic.ts @@ -1,5 +1,5 @@ /** - * Copyright 2013-2018 Zaid Abdulla + * Copyright 2013-2019 GenieACS Inc. * * This file is part of GenieACS. * diff --git a/lib/instance-set.ts b/lib/instance-set.ts index 17c0376..8724f96 100644 --- a/lib/instance-set.ts +++ b/lib/instance-set.ts @@ -1,5 +1,5 @@ /** - * Copyright 2013-2018 Zaid Abdulla + * Copyright 2013-2019 GenieACS Inc. * * This file is part of GenieACS. * diff --git a/lib/local-cache.ts b/lib/local-cache.ts index a826b3d..366587c 100644 --- a/lib/local-cache.ts +++ b/lib/local-cache.ts @@ -1,5 +1,5 @@ /** - * Copyright 2013-2018 Zaid Abdulla + * Copyright 2013-2019 GenieACS Inc. * * This file is part of GenieACS. * diff --git a/lib/logger.ts b/lib/logger.ts index da073ec..ad5b0d9 100644 --- a/lib/logger.ts +++ b/lib/logger.ts @@ -1,5 +1,5 @@ /** - * Copyright 2013-2018 Zaid Abdulla + * Copyright 2013-2019 GenieACS Inc. * * This file is part of GenieACS. * diff --git a/lib/mongodb-functions.ts b/lib/mongodb-functions.ts index cd00614..371817e 100644 --- a/lib/mongodb-functions.ts +++ b/lib/mongodb-functions.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import { ObjectID } from "mongodb"; import { map, parse, stringify } from "./common/expression-parser"; import { likePatternToRegExp, evaluate } from "./common/expression"; diff --git a/lib/nbi.ts b/lib/nbi.ts index 16b0865..d1b1e15 100644 --- a/lib/nbi.ts +++ b/lib/nbi.ts @@ -1,5 +1,5 @@ /** - * Copyright 2013-2018 Zaid Abdulla + * Copyright 2013-2019 GenieACS Inc. * * This file is part of GenieACS. * diff --git a/lib/query.ts b/lib/query.ts index da3220b..558a87c 100644 --- a/lib/query.ts +++ b/lib/query.ts @@ -1,5 +1,5 @@ /** - * Copyright 2013-2018 Zaid Abdulla + * Copyright 2013-2019 GenieACS Inc. * * This file is part of GenieACS. * diff --git a/lib/sandbox.ts b/lib/sandbox.ts index c32f1f4..f40c2ce 100644 --- a/lib/sandbox.ts +++ b/lib/sandbox.ts @@ -1,5 +1,5 @@ /** - * Copyright 2013-2018 Zaid Abdulla + * Copyright 2013-2019 GenieACS Inc. * * This file is part of GenieACS. * diff --git a/lib/scheduling.ts b/lib/scheduling.ts index a9293ec..68a63a5 100644 --- a/lib/scheduling.ts +++ b/lib/scheduling.ts @@ -1,5 +1,5 @@ /** - * Copyright 2013-2018 Zaid Abdulla + * Copyright 2013-2019 GenieACS Inc. * * This file is part of GenieACS. * diff --git a/lib/server.ts b/lib/server.ts index a8cf510..7a2ee3e 100644 --- a/lib/server.ts +++ b/lib/server.ts @@ -1,5 +1,5 @@ /** - * Copyright 2013-2018 Zaid Abdulla + * Copyright 2013-2019 GenieACS Inc. * * This file is part of GenieACS. * diff --git a/lib/session.ts b/lib/session.ts index 4cadfbc..4f5dba4 100644 --- a/lib/session.ts +++ b/lib/session.ts @@ -1,5 +1,5 @@ /** - * Copyright 2013-2018 Zaid Abdulla + * Copyright 2013-2019 GenieACS Inc. * * This file is part of GenieACS. * diff --git a/lib/soap-libxmljs.ts b/lib/soap-libxmljs.ts index 166c9a9..6f8be92 100644 --- a/lib/soap-libxmljs.ts +++ b/lib/soap-libxmljs.ts @@ -1,5 +1,5 @@ /** - * Copyright 2013-2018 Zaid Abdulla + * Copyright 2013-2019 GenieACS Inc. * * This file is part of GenieACS. * diff --git a/lib/soap.ts b/lib/soap.ts index 87c783c..c859a42 100644 --- a/lib/soap.ts +++ b/lib/soap.ts @@ -1,5 +1,5 @@ /** - * Copyright 2013-2019 Zaid Abdulla + * Copyright 2013-2019 GenieACS Inc. * * This file is part of GenieACS. * diff --git a/lib/types.ts b/lib/types.ts index 833bf6b..e743139 100644 --- a/lib/types.ts +++ b/lib/types.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import Path from "./common/path"; import PathSet from "./common/path-set"; import VersionedMap from "./versioned-map"; diff --git a/lib/ui.ts b/lib/ui.ts index e3cea59..13b4474 100644 --- a/lib/ui.ts +++ b/lib/ui.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import { Z_SYNC_FLUSH } from "zlib"; import Koa from "koa"; import Router from "koa-router"; diff --git a/lib/ui/api-functions.ts b/lib/ui/api-functions.ts index 28b8466..92c461f 100644 --- a/lib/ui/api-functions.ts +++ b/lib/ui/api-functions.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import { exec } from "child_process"; import { ObjectID } from "mongodb"; import * as db from "./db"; diff --git a/lib/ui/api.ts b/lib/ui/api.ts index 90d848c..e79d86e 100644 --- a/lib/ui/api.ts +++ b/lib/ui/api.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import * as stream from "stream"; import Router from "koa-router"; import * as db from "./db"; diff --git a/lib/ui/db.ts b/lib/ui/db.ts index 401cfdc..c478b11 100644 --- a/lib/ui/db.ts +++ b/lib/ui/db.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import { MongoClient, GridFSBucket } from "mongodb"; import { Script } from "vm"; import * as config from "../config"; diff --git a/lib/versioned-map.ts b/lib/versioned-map.ts index cd52a1c..2a5d925 100644 --- a/lib/versioned-map.ts +++ b/lib/versioned-map.ts @@ -1,5 +1,5 @@ /** - * Copyright 2013-2018 Zaid Abdulla + * Copyright 2013-2019 GenieACS Inc. * * This file is part of GenieACS. * diff --git a/lib/xml-parser.ts b/lib/xml-parser.ts index 95fbbe2..4dae031 100644 --- a/lib/xml-parser.ts +++ b/lib/xml-parser.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + const CHAR_SINGLE_QUOTE = 39; const CHAR_DOUBLE_QUOTE = 34; const CHAR_LESS_THAN = 60; diff --git a/tools/configure-ui b/tools/configure-ui index d45b1df..8369ed7 100755 --- a/tools/configure-ui +++ b/tools/configure-ui @@ -1,4 +1,24 @@ #!/usr/bin/env -S node -r esm -r ts-node/register/transpile-only + +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import { MongoClient } from "mongodb"; import { get } from "../lib/config"; import { hashPassword, generateSalt } from "../lib/auth"; diff --git a/tools/dump-data-model b/tools/dump-data-model index 771d005..baad55b 100755 --- a/tools/dump-data-model +++ b/tools/dump-data-model @@ -1,6 +1,7 @@ #!/usr/bin/env -S node -r esm -r ts-node/register/transpile-only + /** - * Copyright 2013-2017 Zaid Abdulla + * Copyright 2013-2019 GenieACS Inc. * * This file is part of GenieACS. * diff --git a/ui/admin-menu.ts b/ui/admin-menu.ts index 46d2424..ae87d37 100644 --- a/ui/admin-menu.ts +++ b/ui/admin-menu.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import m from "mithril"; import { ClosureComponent, Component } from "mithril"; diff --git a/ui/app.ts b/ui/app.ts index 0f0334a..541af8a 100644 --- a/ui/app.ts +++ b/ui/app.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import m, { RouteResolver } from "mithril"; import layout from "./layout"; import * as store from "./store"; diff --git a/ui/autocomplete-compnent.ts b/ui/autocomplete-compnent.ts index 8bf76d4..a33b305 100644 --- a/ui/autocomplete-compnent.ts +++ b/ui/autocomplete-compnent.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + export default class Autocomplete { private callback: ( value: string, diff --git a/ui/change-password-component.ts b/ui/change-password-component.ts index d7bcd4d..3a080a1 100644 --- a/ui/change-password-component.ts +++ b/ui/change-password-component.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import { VnodeDOM, ClosureComponent, Component } from "mithril"; import * as notifications from "./notifications"; import { changePassword } from "./store"; diff --git a/ui/code-editor-component.ts b/ui/code-editor-component.ts index 0eeadee..bb872bb 100644 --- a/ui/code-editor-component.ts +++ b/ui/code-editor-component.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import { ClosureComponent, Component } from "mithril"; import { m } from "./components"; import { codeMirror } from "./dynamic-loader"; diff --git a/ui/components.ts b/ui/components.ts index 5e57510..66193eb 100644 --- a/ui/components.ts +++ b/ui/components.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import m, { Static, Attributes, diff --git a/ui/components/all-parameters.ts b/ui/components/all-parameters.ts index ce94781..f121754 100644 --- a/ui/components/all-parameters.ts +++ b/ui/components/all-parameters.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import { ClosureComponent, Component } from "mithril"; import { m } from "../components"; import * as taskQueue from "../task-queue"; diff --git a/ui/components/container.ts b/ui/components/container.ts index 3ae7a59..6bd0fac 100644 --- a/ui/components/container.ts +++ b/ui/components/container.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import { ClosureComponent, Component } from "mithril"; import { m } from "../components"; import * as store from "../store"; diff --git a/ui/components/device-actions.ts b/ui/components/device-actions.ts index 3dda48d..9cf8c2c 100644 --- a/ui/components/device-actions.ts +++ b/ui/components/device-actions.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import { ClosureComponent, Component } from "mithril"; import { m } from "../components"; import * as taskQueue from "../task-queue"; diff --git a/ui/components/device-faults.ts b/ui/components/device-faults.ts index 85c0179..c49ba3f 100644 --- a/ui/components/device-faults.ts +++ b/ui/components/device-faults.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import { ClosureComponent, Component } from "mithril"; import { m } from "../components"; import * as store from "../store"; diff --git a/ui/components/device-link.ts b/ui/components/device-link.ts index 12508e0..e925398 100644 --- a/ui/components/device-link.ts +++ b/ui/components/device-link.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import { ClosureComponent, Component } from "mithril"; import { m } from "../components"; diff --git a/ui/components/overview-dot.ts b/ui/components/overview-dot.ts index 0dda69a..519bb7b 100644 --- a/ui/components/overview-dot.ts +++ b/ui/components/overview-dot.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import { ClosureComponent, Component } from "mithril"; import { m } from "../components"; import config from "../config"; diff --git a/ui/components/parameter-list.ts b/ui/components/parameter-list.ts index 72eb002..9805086 100644 --- a/ui/components/parameter-list.ts +++ b/ui/components/parameter-list.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import { ClosureComponent, Component, VnodeDOM } from "mithril"; import { m } from "../components"; diff --git a/ui/components/parameter-table.ts b/ui/components/parameter-table.ts index 41e6332..a222ab7 100644 --- a/ui/components/parameter-table.ts +++ b/ui/components/parameter-table.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import { ClosureComponent, Component } from "mithril"; import { m } from "../components"; import * as taskQueue from "../task-queue"; diff --git a/ui/components/parameter.ts b/ui/components/parameter.ts index c8da983..3407132 100644 --- a/ui/components/parameter.ts +++ b/ui/components/parameter.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import { ClosureComponent, Component, VnodeDOM } from "mithril"; import { m } from "../components"; import * as taskQueue from "../task-queue"; diff --git a/ui/components/ping.ts b/ui/components/ping.ts index 3c98e13..d25ee41 100644 --- a/ui/components/ping.ts +++ b/ui/components/ping.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import { ClosureComponent, Component } from "mithril"; import { m } from "../components"; import * as store from "../store"; diff --git a/ui/components/summon-button.ts b/ui/components/summon-button.ts index 5c2b3f5..c3d7620 100644 --- a/ui/components/summon-button.ts +++ b/ui/components/summon-button.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import { ClosureComponent, Component } from "mithril"; import { m } from "../components"; import * as taskQueue from "../task-queue"; diff --git a/ui/components/tags.ts b/ui/components/tags.ts index 39e2467..d1fccf7 100644 --- a/ui/components/tags.ts +++ b/ui/components/tags.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import { ClosureComponent, Component } from "mithril"; import { m } from "../components"; import * as notifications from "../notifications"; diff --git a/ui/config-functions.ts b/ui/config-functions.ts index 154fe5e..96f042b 100644 --- a/ui/config-functions.ts +++ b/ui/config-functions.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + interface Config { _id: string; value: string; diff --git a/ui/config-page.ts b/ui/config-page.ts index 67784bc..fe0db95 100644 --- a/ui/config-page.ts +++ b/ui/config-page.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import { m } from "./components"; import * as store from "./store"; import * as notifications from "./notifications"; diff --git a/ui/config.ts b/ui/config.ts index b6452cb..454b1e5 100644 --- a/ui/config.ts +++ b/ui/config.ts @@ -1,2 +1,21 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + export default window.clientConfig; export const configSnapshot = window.configSnapshot; diff --git a/ui/css/app.css b/ui/css/app.css index 8d0b485..9268ec6 100644 --- a/ui/css/app.css +++ b/ui/css/app.css @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + @import "normalize.css"; @import "codemirror/lib/codemirror.css"; diff --git a/ui/device-page.ts b/ui/device-page.ts index 5ebf571..9e7f06a 100644 --- a/ui/device-page.ts +++ b/ui/device-page.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import { ClosureComponent, Component } from "mithril"; import { m } from "./components"; import config from "./config"; diff --git a/ui/devices-page.ts b/ui/devices-page.ts index 07922c6..49309cf 100644 --- a/ui/devices-page.ts +++ b/ui/devices-page.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import { ClosureComponent, Component, Children } from "mithril"; import { m } from "./components"; import config from "./config"; diff --git a/ui/drawer-component.ts b/ui/drawer-component.ts index 480a144..6aaf874 100644 --- a/ui/drawer-component.ts +++ b/ui/drawer-component.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import m, { Children, Child, diff --git a/ui/dynamic-loader.ts b/ui/dynamic-loader.ts index d0c2cde..34964af 100644 --- a/ui/dynamic-loader.ts +++ b/ui/dynamic-loader.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + export let codeMirror; export let yaml; diff --git a/ui/error-page.ts b/ui/error-page.ts index 0475378..318100a 100644 --- a/ui/error-page.ts +++ b/ui/error-page.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import { ClosureComponent, Component } from "mithril"; import { m } from "./components"; diff --git a/ui/faults-page.ts b/ui/faults-page.ts index acbac2a..419b9d7 100644 --- a/ui/faults-page.ts +++ b/ui/faults-page.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import { ClosureComponent, Component, Children } from "mithril"; import { m } from "./components"; import config from "./config"; diff --git a/ui/files-page.ts b/ui/files-page.ts index a2699a8..951f115 100644 --- a/ui/files-page.ts +++ b/ui/files-page.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import { ClosureComponent, Component, Children } from "mithril"; import { m } from "./components"; import config from "./config"; diff --git a/ui/filter-component.ts b/ui/filter-component.ts index 34b66b7..dede1b0 100644 --- a/ui/filter-component.ts +++ b/ui/filter-component.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import m, { ClosureComponent, Component } from "mithril"; import { parse, stringify, map } from "../lib/common/expression-parser"; import memoize from "../lib/common/memoize"; diff --git a/ui/index-table-component.ts b/ui/index-table-component.ts index a00c060..2ecfc40 100644 --- a/ui/index-table-component.ts +++ b/ui/index-table-component.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import { ClosureComponent, Component, Children } from "mithril"; import { m } from "./components"; diff --git a/ui/layout.ts b/ui/layout.ts index 01a9a26..7565eff 100644 --- a/ui/layout.ts +++ b/ui/layout.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import m, { ClosureComponent, Component } from "mithril"; import menu from "./menu"; import drawerComponent from "./drawer-component"; diff --git a/ui/login-page.ts b/ui/login-page.ts index 81ac1eb..8f52c38 100644 --- a/ui/login-page.ts +++ b/ui/login-page.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import { ClosureComponent, Component, Children } from "mithril"; import { m } from "./components"; import * as store from "./store"; diff --git a/ui/long-text-component.ts b/ui/long-text-component.ts index 8d6f0b3..e7753bd 100644 --- a/ui/long-text-component.ts +++ b/ui/long-text-component.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import m, { ClosureComponent, Component } from "mithril"; import * as overlay from "./overlay"; diff --git a/ui/menu.ts b/ui/menu.ts index a5a94b0..5d577a6 100644 --- a/ui/menu.ts +++ b/ui/menu.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import m, { ClosureComponent, Component } from "mithril"; const component: ClosureComponent = (): Component => { diff --git a/ui/notifications.ts b/ui/notifications.ts index 29b314e..32867c5 100644 --- a/ui/notifications.ts +++ b/ui/notifications.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import m from "mithril"; interface Notification { diff --git a/ui/overlay.ts b/ui/overlay.ts index eab65ba..db6f43a 100644 --- a/ui/overlay.ts +++ b/ui/overlay.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import m, { Children } from "mithril"; type OverlayCallback = () => Children; diff --git a/ui/overview-page.ts b/ui/overview-page.ts index 7cfa6fb..5bc5f87 100644 --- a/ui/overview-page.ts +++ b/ui/overview-page.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import { ClosureComponent, Component } from "mithril"; import { m } from "./components"; import config from "./config"; diff --git a/ui/permissions-page.ts b/ui/permissions-page.ts index e5a86b6..b014860 100644 --- a/ui/permissions-page.ts +++ b/ui/permissions-page.ts @@ -1,7 +1,23 @@ -"use strict"; +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ import { m } from "./components"; - import config from "./config"; import * as store from "./store"; import * as notifications from "./notifications"; diff --git a/ui/pie-chart-component.ts b/ui/pie-chart-component.ts index 7fc91a9..f35069b 100644 --- a/ui/pie-chart-component.ts +++ b/ui/pie-chart-component.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import { ClosureComponent, Component, Children } from "mithril"; import { m } from "./components"; import { stringify } from "../lib/common/expression-parser"; diff --git a/ui/presets-page.ts b/ui/presets-page.ts index c6624a9..1861794 100644 --- a/ui/presets-page.ts +++ b/ui/presets-page.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import { ClosureComponent, Component, Children } from "mithril"; import { m } from "./components"; import config from "./config"; diff --git a/ui/provisions-page.ts b/ui/provisions-page.ts index 9f07d52..e16d13a 100644 --- a/ui/provisions-page.ts +++ b/ui/provisions-page.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import { ClosureComponent, Component, Children } from "mithril"; import { m } from "./components"; import config from "./config"; diff --git a/ui/put-form-component.ts b/ui/put-form-component.ts index 1d2d0b1..9cf2c51 100644 --- a/ui/put-form-component.ts +++ b/ui/put-form-component.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import { VnodeDOM, ClosureComponent, Component, Children } from "mithril"; import { m } from "./components"; import codeEditorComponent from "./code-editor-component"; diff --git a/ui/smart-query.ts b/ui/smart-query.ts index a3eb448..7a4a56a 100644 --- a/ui/smart-query.ts +++ b/ui/smart-query.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import config from "./config"; import { Expression } from "../lib/types"; diff --git a/ui/store.ts b/ui/store.ts index 0f63ee6..4b9ecf6 100644 --- a/ui/store.ts +++ b/ui/store.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import m from "mithril"; import { map, stringify } from "../lib/common/expression-parser"; import { or, and, not, evaluate, subset } from "../lib/common/expression"; diff --git a/ui/task-queue.ts b/ui/task-queue.ts index 1b39b6a..fcdd958 100644 --- a/ui/task-queue.ts +++ b/ui/task-queue.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import * as store from "./store"; const queue = new Set(); diff --git a/ui/timeago.ts b/ui/timeago.ts index e03d23d..dd2dd17 100644 --- a/ui/timeago.ts +++ b/ui/timeago.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + const UNITS = { year: 12 * 30 * 24 * 60 * 60 * 1000, month: 30 * 24 * 60 * 60 * 1000, diff --git a/ui/ui-config-component.ts b/ui/ui-config-component.ts index 19ad405..2223469 100644 --- a/ui/ui-config-component.ts +++ b/ui/ui-config-component.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import { ClosureComponent, Component } from "mithril"; import { m } from "./components"; import * as store from "./store"; diff --git a/ui/user-menu.ts b/ui/user-menu.ts index 3e4da8a..e57bb2a 100644 --- a/ui/user-menu.ts +++ b/ui/user-menu.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import m, { ClosureComponent, Component } from "mithril"; import * as store from "./store"; import * as notifications from "./notifications"; diff --git a/ui/users-page.ts b/ui/users-page.ts index 5547706..e32cf3f 100644 --- a/ui/users-page.ts +++ b/ui/users-page.ts @@ -1,7 +1,23 @@ -"use strict"; +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ import { m } from "./components"; - import config from "./config"; import * as store from "./store"; import * as notifications from "./notifications"; diff --git a/ui/virtual-parameters-page.ts b/ui/virtual-parameters-page.ts index 4099ccb..cf42975 100644 --- a/ui/virtual-parameters-page.ts +++ b/ui/virtual-parameters-page.ts @@ -1,3 +1,22 @@ +/** + * Copyright 2013-2019 GenieACS Inc. + * + * This file is part of GenieACS. + * + * GenieACS is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * GenieACS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with GenieACS. If not, see . + */ + import { ClosureComponent, Component, Children } from "mithril"; import { m } from "./components"; import config from "./config";