Add license headers

Closes #413
This commit is contained in:
Zed 2021-12-27 02:37:38 +01:00
parent 9e413e1f8c
commit 73b5b60ac3
39 changed files with 39 additions and 0 deletions

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import random, strformat, strutils, sequtils import random, strformat, strutils, sequtils
randomize() randomize()

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import asyncdispatch, httpclient, uri, strutils import asyncdispatch, httpclient, uri, strutils
import packedjson import packedjson
import types, query, formatters, consts, apiutils, parser import types, query, formatters, consts, apiutils, parser

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import httpclient, asyncdispatch, options, times, strutils, uri import httpclient, asyncdispatch, options, times, strutils, uri
import packedjson, zippy import packedjson, zippy
import types, tokens, consts, parserutils, http_pool import types, tokens, consts, parserutils, http_pool

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import parsecfg except Config import parsecfg except Config
import types, strutils import types, strutils

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import uri, sequtils import uri, sequtils
const const

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import strutils, strformat, times, uri, tables, xmltree, htmlparser import strutils, strformat, times, uri, tables, xmltree, htmlparser
import regex import regex
import types, utils, query import types, utils, query

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import asyncdispatch, httpclient import asyncdispatch, httpclient
type type

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import asyncdispatch, strformat import asyncdispatch, strformat
from net import Port from net import Port
from htmlgen import a from htmlgen import a

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import strutils, options, tables, times, math import strutils, options, tables, times, math
import packedjson import packedjson
import packedjson / deserialiser import packedjson / deserialiser

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import strutils, times, macros, htmlgen, unicode, options, algorithm import strutils, times, macros, htmlgen, unicode, options, algorithm
import regex, packedjson import regex, packedjson
import types, utils, formatters import types, utils, formatters

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import tables import tables
import types, prefs_impl import types, prefs_impl
from config import get from config import get

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import macros, tables, strutils, xmltree import macros, tables, strutils, xmltree
type type

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import strutils, strformat, sequtils, tables, uri import strutils, strformat, sequtils, tables, uri
import types import types

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import asyncdispatch, times, strutils, tables, hashes import asyncdispatch, times, strutils, tables, hashes
import redis, redpool, flatty, supersnappy import redis, redpool, flatty, supersnappy

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import asyncdispatch, strutils, options import asyncdispatch, strutils, options
import jester import jester
import ".."/[types, api], ../views/embed import ".."/[types, api], ../views/embed

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import strutils import strutils
import jester import jester

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import uri, strutils, httpclient, os, hashes, base64, re import uri, strutils, httpclient, os, hashes, base64, re
import asynchttpserver, asyncstreams, asyncfile, asyncnet import asynchttpserver, asyncstreams, asyncfile, asyncnet

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import strutils, uri, os, algorithm import strutils, uri, os, algorithm
import jester import jester

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import strutils import strutils
import jester import jester

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import strutils, sequtils, uri, tables import strutils, sequtils, uri, tables
from jester import Request, cookies from jester import Request, cookies

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import asyncdispatch, strutils, tables, times, hashes, supersnappy import asyncdispatch, strutils, tables, times, hashes, supersnappy
import jester import jester

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import strutils, uri import strutils, uri
import jester import jester

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import asyncdispatch, strutils, sequtils, uri, options import asyncdispatch, strutils, sequtils, uri, options
import jester, karax/vdom import jester, karax/vdom

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import asyncdispatch, strutils, sequtils, uri, options, times import asyncdispatch, strutils, sequtils, uri, options, times
import jester, karax/vdom import jester, karax/vdom

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import jester import jester
import router_utils import router_utils

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import asyncdispatch, httpclient, times, sequtils, json, math, random import asyncdispatch, httpclient, times, sequtils, json, math, random
import strutils, strformat import strutils, strformat
import zippy import zippy

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import times, sequtils, options, tables import times, sequtils, options, tables
import prefs_impl import prefs_impl

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import strutils, strformat, sequtils, uri, tables, base64 import strutils, strformat, sequtils, uri, tables, base64
import nimcrypto, regex import nimcrypto, regex

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import karax/[karaxdsl, vdom] import karax/[karaxdsl, vdom]
import markdown import markdown

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import options import options
import karax/[karaxdsl, vdom] import karax/[karaxdsl, vdom]

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import uri, strutils, strformat import uri, strutils, strformat
import karax/[karaxdsl, vdom] import karax/[karaxdsl, vdom]

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import strformat import strformat
import karax/[karaxdsl, vdom] import karax/[karaxdsl, vdom]

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import tables, macros, strutils import tables, macros, strutils
import karax/[karaxdsl, vdom] import karax/[karaxdsl, vdom]

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import strutils, strformat import strutils, strformat
import karax/[karaxdsl, vdom, vstyles] import karax/[karaxdsl, vdom, vstyles]

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import strutils import strutils
import karax/[karaxdsl, vdom, vstyles] import karax/[karaxdsl, vdom, vstyles]
import ".."/[types, utils] import ".."/[types, utils]

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import strutils, strformat, sequtils, unicode, tables import strutils, strformat, sequtils, unicode, tables
import karax/[karaxdsl, vdom] import karax/[karaxdsl, vdom]

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import uri import uri
import karax/[karaxdsl, vdom] import karax/[karaxdsl, vdom]

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import strutils, strformat, sequtils, algorithm, uri, options import strutils, strformat, sequtils, algorithm, uri, options
import karax/[karaxdsl, vdom] import karax/[karaxdsl, vdom]

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import strutils, sequtils, strformat, options import strutils, sequtils, strformat, options
import karax/[karaxdsl, vdom, vstyles] import karax/[karaxdsl, vdom, vstyles]