diff --git a/CHANGELOG.md b/CHANGELOG.md
index 70a3f09..5a9be4e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,70 +1,72 @@
-### [1.0.1-rc.1](https://github.com/AmazeIT/sunflower/compare/v1.0.0...v1.0.1-rc.1) (2023-07-02)
+## [1.0.0-rc.1](https://github.com/sunflower-ing/core/compare/...v1.0.0-rc.1) (2023-11-28)
-### π Refactor
+### :scissors:Refactor
-* add docs to helm chart ([6788b37](https://github.com/AmazeIT/sunflower/commit/6788b3751550a85d3c424ec8f7878dbe2733a979))
+* add docs to helm chart ([6788b37](https://github.com/sunflower-ing/core/commit/6788b3751550a85d3c424ec8f7878dbe2733a979))
+* pass precommits ([a29508a](https://github.com/sunflower-ing/core/commit/a29508acba2173b4102882eb281127425c0345fc))
### π Docs
-* add autogenerate docs ([d185e2c](https://github.com/AmazeIT/sunflower/commit/d185e2c0c096d4647cfcdd9bf46b3e61ee9b2dd7))
-* fix github url ([0e3751f](https://github.com/AmazeIT/sunflower/commit/0e3751f65641c6e8f4978ab6a4a6d7175bc82487))
-* seve under subpath ([eb4f559](https://github.com/AmazeIT/sunflower/commit/eb4f55957d4f6b6865ab24fe301096f1e7a3572d))
+* add autogenerate docs ([d185e2c](https://github.com/sunflower-ing/core/commit/d185e2c0c096d4647cfcdd9bf46b3e61ee9b2dd7))
+* fix github url ([0e3751f](https://github.com/sunflower-ing/core/commit/0e3751f65641c6e8f4978ab6a4a6d7175bc82487))
+* fix refactor image to π ([af706c1](https://github.com/sunflower-ing/core/commit/af706c1cbcbca80766ee28e2d3d21a4ceb7500be))
+* seve under subpath ([eb4f559](https://github.com/sunflower-ing/core/commit/eb4f55957d4f6b6865ab24fe301096f1e7a3572d))
### π Features
-* add docs image ([f406db0](https://github.com/AmazeIT/sunflower/commit/f406db05e6b0d984f0f8e98194c2e01db06875ff))
-* **crypto:** Add CRL distribution point and OCSP authority information access ([e2e5eee](https://github.com/AmazeIT/sunflower/commit/e2e5eeea8fe543c8e2befcc4afb80780e99b66f7))
-* **revocation:** Add CRL model and revocation possibility ([e85da09](https://github.com/AmazeIT/sunflower/commit/e85da09192134b6de35f9f94829c98bc7466b293))
+* add docs image ([f406db0](https://github.com/sunflower-ing/core/commit/f406db05e6b0d984f0f8e98194c2e01db06875ff))
+* Add unique_together for Source model to avoid sources duplication ([8625978](https://github.com/sunflower-ing/core/commit/86259780380c194c7ab8a2db897083d115464303))
+* **API:** Add REST API endpoints and remove templates ([5e2d64f](https://github.com/sunflower-ing/core/commit/5e2d64f873cb20cc564efe293e847fc1858428f9))
+* **api/me:** Add current logged user data view ([439da6d](https://github.com/sunflower-ing/core/commit/439da6de2f5f5278d2e98e983b56440396c02f69))
+* **auth:** Add token based auth + OCSP fixes ([7d6c88a](https://github.com/sunflower-ing/core/commit/7d6c88a859103d5a087bae7b7313d0f75869e074))
+* **crypto:** Add CRL distribution point and OCSP authority information access ([e2e5eee](https://github.com/sunflower-ing/core/commit/e2e5eeea8fe543c8e2befcc4afb80780e99b66f7))
+* **crypto:** Rework some crypto methods and corresponding models ([6bd33a9](https://github.com/sunflower-ing/core/commit/6bd33a9d33af0dfdb9e942a2585684da4df0500c))
+* **export:** Export key/cert methods. Some crypto/utils additions like key/cert der encoding. Added some usable methods to Certificate model ([7728735](https://github.com/sunflower-ing/core/commit/77287357334517fee32c3ae99b42ccc5c3590399))
+* **export:** Export key/cert methods. Some crypto/utils additions like key/cert der encoding. Added some usable methods to Certificate model ([3dde509](https://github.com/sunflower-ing/core/commit/3dde5096541f69956fdf359146c6dd9d4260c946))
+* **filtering:** Add filter functionality for Key,CSR and Certificate list methods ([c37714b](https://github.com/sunflower-ing/core/commit/c37714bbb39c6dafa1b0380e75b04be662de676f))
+* **filtering:** Add filter functionality for Key,CSR and Certificate list methods ([e536ada](https://github.com/sunflower-ing/core/commit/e536adadcb4ef2705f4e3092ffc8ffee5b72fa32))
+* **helm:** add liveness and readiness probe ([a0bb428](https://github.com/sunflower-ing/core/commit/a0bb42822d1dc341e6b592774a2ecb23de399aa6))
+* **import:** Import certificate functionality ([2c4337c](https://github.com/sunflower-ing/core/commit/2c4337c3e6e1b7dfd07ad5acb114e088c2e6bdb1))
+* **logging:** Add endpoints to retrieve logs ([6b7511a](https://github.com/sunflower-ing/core/commit/6b7511a0304c4d269b3b8c33dfa190b404ef4355))
+* **logging:** Add logging ([d26549e](https://github.com/sunflower-ing/core/commit/d26549ef21806058b5d89e7dac1627652e480efa))
+* **OCSP:** OCSP endpoint and much more shit ([424a801](https://github.com/sunflower-ing/core/commit/424a8015911796df01d8f78e0fede46f7b27690e))
+* **pagination:** Add pagination ([2de7632](https://github.com/sunflower-ing/core/commit/2de76323924dc78823d04b795b36bf3d2abcfc1b))
+* **revocation:** Add CRL model and revocation possibility ([e85da09](https://github.com/sunflower-ing/core/commit/e85da09192134b6de35f9f94829c98bc7466b293))
+* **revocation:** Add slug to CSR and update revocation code ([d4b9547](https://github.com/sunflower-ing/core/commit/d4b9547511c60a5eb49650a42c627520b7b5508f))
+* **search:** Add search by name field functionality for list endpoints ([370e436](https://github.com/sunflower-ing/core/commit/370e43629bf25539bfd57adbe91c12b2ad56a376))
+* **search:** Add search by name field functionality for list endpoints ([12380f1](https://github.com/sunflower-ing/core/commit/12380f1e6289bc488213716456aa767768963f91))
+* **swagger/redoc:** Add schema generation and swagger/redoc views ([33c579e](https://github.com/sunflower-ing/core/commit/33c579ec6e1cd9cb912b27eea5db7bae56fdcad4))
+* **swagger/redoc:** Add schema generation and swagger/redoc views ([6fc445a](https://github.com/sunflower-ing/core/commit/6fc445a0f7d5bf095a5cf59a51ac1e7957ae044e))
+* **system/groups:** Add endpoints for groups and permissions management ([620c27f](https://github.com/sunflower-ing/core/commit/620c27f5bd648fd25bd471597896be300d359be4))
+* **system/users:** Add endpoint for system users management ([3be751c](https://github.com/sunflower-ing/core/commit/3be751c5b9983325acbcfc38fe18d1342e3fee00))
### π Fixes
-* image name for application ([3538243](https://github.com/AmazeIT/sunflower/commit/35382436cabda02e3694e00bdd41cf3d762ff420))
-* images from werf ([262e0d8](https://github.com/AmazeIT/sunflower/commit/262e0d8df6c766a616fcac0d104774346e8d70d6))
-* lables for application in werf ingress ([0a20309](https://github.com/AmazeIT/sunflower/commit/0a20309e03be0a25f99d58727a76a5e49d06737c))
-* names for ingress ([a27b76d](https://github.com/AmazeIT/sunflower/commit/a27b76dd8ec6750db9da79e198845fb02f66811a))
-* new dockerfile for pull images ([5e79f0d](https://github.com/AmazeIT/sunflower/commit/5e79f0d63db8a09c8d18b24eee9b89952a826653))
-* sa and registry secret ([fe3f7b3](https://github.com/AmazeIT/sunflower/commit/fe3f7b343f217a0ae401d09784d0d1e82bad8a41))
-* werf only ingress ([b996b9b](https://github.com/AmazeIT/sunflower/commit/b996b9b15eefb3e18d26a5322497ae2d7f3b7777))
-* **migrations:** add migrations job ([8b72a3d](https://github.com/AmazeIT/sunflower/commit/8b72a3d294604209905a6a4f2623e4ecf98ff9b4))
-* **teleport:** move stage to teleport ([214a48b](https://github.com/AmazeIT/sunflower/commit/214a48bbd15d09612db37d68ea4186f518293f6c))
-
-## [1.0.0](https://github.com/AmazeIT/sunflower/compare/...v1.0.0) (2023-05-01)
-
-
-### π Refactor
-
-* pass precommits ([a29508a](https://github.com/AmazeIT/sunflower/commit/a29508acba2173b4102882eb281127425c0345fc))
-
-
-### π Features
-
-* **helm:** add liveness and readiness probe ([a0bb428](https://github.com/AmazeIT/sunflower/commit/a0bb42822d1dc341e6b592774a2ecb23de399aa6))
-
-
-### π Fixes
-
-* add dockerignore ([d0c9882](https://github.com/AmazeIT/sunflower/commit/d0c988227c5cba9356c9ee9808252669bfc4c38a))
-* crsf_trsuted_domains ([be19d79](https://github.com/AmazeIT/sunflower/commit/be19d79d3a73a6d48c261cda19dea9dd65c55984))
-* CSRF start from https ([c8e3bf8](https://github.com/AmazeIT/sunflower/commit/c8e3bf89dc9047ef8f8eb7c8bf537d8db46d06d0))
-* env for debug hosts and csrf ([99967cb](https://github.com/AmazeIT/sunflower/commit/99967cbb08ff2d57a4b318b61cd944dee69b4665))
-* makefile add kube-login ([5cde10d](https://github.com/AmazeIT/sunflower/commit/5cde10d60cda5470eae3b8db3ad27a751be17a7f))
-* migrations to correct pg host and True to debug ([8552d8a](https://github.com/AmazeIT/sunflower/commit/8552d8a768ce48f9bbe1ecdcbc3f4c1dd279e1db))
-
-## [1.0.0-rc.2](https://github.com/AmazeIT/sunflower/compare/v1.0.0-rc.1...v1.0.0-rc.2) (2023-04-26)
-
-## [1.0.0-rc.1](https://github.com/AmazeIT/sunflower/compare/...v1.0.0-rc.1) (2023-04-26)
-
-
-### π Refactor
-
-* pass precommits ([a29508a](https://github.com/AmazeIT/sunflower/commit/a29508acba2173b4102882eb281127425c0345fc))
-
-
-### π Fixes
-
-* add dockerignore ([d0c9882](https://github.com/AmazeIT/sunflower/commit/d0c988227c5cba9356c9ee9808252669bfc4c38a))
-* migrations to correct pg host and True to debug ([8552d8a](https://github.com/AmazeIT/sunflower/commit/8552d8a768ce48f9bbe1ecdcbc3f4c1dd279e1db))
+* Add corresponding migration ([a50d92c](https://github.com/sunflower-ing/core/commit/a50d92c77631965adc2e710314cf315030f67f1a))
+* add dockerignore ([d0c9882](https://github.com/sunflower-ing/core/commit/d0c988227c5cba9356c9ee9808252669bfc4c38a))
+* add external values ([a6a8d76](https://github.com/sunflower-ing/core/commit/a6a8d763847e31fa3f82532bde78a744b7062363))
+* Add migration ([d2b8a54](https://github.com/sunflower-ing/core/commit/d2b8a547f14f1f1c0af8099cf9317ecc64ad9855))
+* context for docs ([9e642a6](https://github.com/sunflower-ing/core/commit/9e642a6337fc4e849a104be7ccc58fbb291131bd))
+* crsf_trsuted_domains ([be19d79](https://github.com/sunflower-ing/core/commit/be19d79d3a73a6d48c261cda19dea9dd65c55984))
+* CSRF start from https ([c8e3bf8](https://github.com/sunflower-ing/core/commit/c8e3bf89dc9047ef8f8eb7c8bf537d8db46d06d0))
+* docs under /docs ([156c471](https://github.com/sunflower-ing/core/commit/156c47148c6a45b6e275bef8d69dc785a03b58c1))
+* env for debug hosts and csrf ([99967cb](https://github.com/sunflower-ing/core/commit/99967cbb08ff2d57a4b318b61cd944dee69b4665))
+* image name for application ([3538243](https://github.com/sunflower-ing/core/commit/35382436cabda02e3694e00bdd41cf3d762ff420))
+* images from werf ([262e0d8](https://github.com/sunflower-ing/core/commit/262e0d8df6c766a616fcac0d104774346e8d70d6))
+* lables for application in werf ingress ([0a20309](https://github.com/sunflower-ing/core/commit/0a20309e03be0a25f99d58727a76a5e49d06737c))
+* makefile add kube-login ([5cde10d](https://github.com/sunflower-ing/core/commit/5cde10d60cda5470eae3b8db3ad27a751be17a7f))
+* migrations to correct pg host and True to debug ([8552d8a](https://github.com/sunflower-ing/core/commit/8552d8a768ce48f9bbe1ecdcbc3f4c1dd279e1db))
+* names for ingress ([a27b76d](https://github.com/sunflower-ing/core/commit/a27b76dd8ec6750db9da79e198845fb02f66811a))
+* new dockerfile for pull images ([5e79f0d](https://github.com/sunflower-ing/core/commit/5e79f0d63db8a09c8d18b24eee9b89952a826653))
+* remove md from dockerignore ([626a212](https://github.com/sunflower-ing/core/commit/626a21218843078d274e8cced6d68636ebdfa222))
+* sa and registry secret ([fe3f7b3](https://github.com/sunflower-ing/core/commit/fe3f7b343f217a0ae401d09784d0d1e82bad8a41))
+* Update CSR serializer for KU & EKU ([9d63de7](https://github.com/sunflower-ing/core/commit/9d63de7d1202ac785daea050117e57e0d13b3d57))
+* werf only ingress ([b996b9b](https://github.com/sunflower-ing/core/commit/b996b9b15eefb3e18d26a5322497ae2d7f3b7777))
+* **#17:** Fix 400 on group creation ([ce4b6d9](https://github.com/sunflower-ing/core/commit/ce4b6d92063f87176b4cfcd8db76b5bd14e754c1))
+* **#18:** Fix duplicates on OCSP source creation ([9d91468](https://github.com/sunflower-ing/core/commit/9d9146840c7a14bce9d404349cb315c4a9315ff0))
+* **migrations:** add migrations job ([8b72a3d](https://github.com/sunflower-ing/core/commit/8b72a3d294604209905a6a4f2623e4ecf98ff9b4))
+* **teleport:** move stage to teleport ([214a48b](https://github.com/sunflower-ing/core/commit/214a48bbd15d09612db37d68ea4186f518293f6c))
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..0ad25db
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,661 @@
+ GNU AFFERO GENERAL PUBLIC LICENSE
+ Version 3, 19 November 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc.
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU Affero General Public License is a free, copyleft license for
+software and other kinds of works, specifically designed to ensure
+cooperation with the community in the case of network server software.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+our General Public Licenses are intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+ Developers that use our General Public Licenses protect your rights
+with two steps: (1) assert copyright on the software, and (2) offer
+you this License which gives you legal permission to copy, distribute
+and/or modify the software.
+
+ A secondary benefit of defending all users' freedom is that
+improvements made in alternate versions of the program, if they
+receive widespread use, become available for other developers to
+incorporate. Many developers of free software are heartened and
+encouraged by the resulting cooperation. However, in the case of
+software used on network servers, this result may fail to come about.
+The GNU General Public License permits making a modified version and
+letting the public access it on a server without ever releasing its
+source code to the public.
+
+ The GNU Affero General Public License is designed specifically to
+ensure that, in such cases, the modified source code becomes available
+to the community. It requires the operator of a network server to
+provide the source code of the modified version running there to the
+users of that server. Therefore, public use of a modified version, on
+a publicly accessible server, gives the public access to the source
+code of the modified version.
+
+ An older license, called the Affero General Public License and
+published by Affero, was designed to accomplish similar goals. This is
+a different license, not a version of the Affero GPL, but Affero has
+released a new version of the Affero GPL which permits relicensing under
+this license.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU Affero General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Remote Network Interaction; Use with the GNU General Public License.
+
+ Notwithstanding any other provision of this License, if you modify the
+Program, your modified version must prominently offer all users
+interacting with it remotely through a computer network (if your version
+supports such interaction) an opportunity to receive the Corresponding
+Source of your version by providing access to the Corresponding Source
+from a network server at no charge, through some standard or customary
+means of facilitating copying of software. This Corresponding Source
+shall include the Corresponding Source for any work covered by version 3
+of the GNU General Public License that is incorporated pursuant to the
+following paragraph.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the work with which it is combined will remain governed by version
+3 of the GNU General Public License.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU Affero General Public License from time to time. Such new versions
+will be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU Affero General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU Affero General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU Affero General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+
+ Copyright (C)
+
+ This program 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.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+
+Also add information on how to contact you by electronic and paper mail.
+
+ If your software can interact with users remotely through a computer
+network, you should also make sure that it provides a way for users to
+get its source. For example, if your program is a web application, its
+interface could display a "Source" link that leads users to an archive
+of the code. There are many ways you could offer source, and different
+solutions will be better for different programs; see section 13 for the
+specific requirements.
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU AGPL, see
+.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..28903de
--- /dev/null
+++ b/README.md
@@ -0,0 +1,44 @@
+![python](https://img.shields.io/badge/python-3.8%20%7C%203.9%20%7C%203.10%20%7C%203.11-blue) [![License: AGPL v3](https://img.shields.io/badge/License-AGPL%20v3-orange)](https://www.gnu.org/licenses/agpl-3.0) ![status](https://img.shields.io/badge/status-unstable-red)
+
+# Sunflower Core API
+
+This repository represents the development code for core components (API/OCSP/CRL).
+
+## Overview
+
+Sunflower API provides the RESTful API to base X.509 possibilities like issuing and revoking certificates, making CSR, and generating different types of keys. It also provides CRL-files serving and OCSP responder for online certificate status checking.
+
+## Requirements
+
+- Python 3.8+
+- Runs well in containers (Dockerfiles are provided) & Kubernetes ready
+
+
+## Running in development mode
+
+1. First, install Pipenv and dependencies:
+
+```bash
+pip install --user pipenv
+pipenv install
+pipenv install --dev
+```
+
+2. Copy the `.env.example` file to `.env` and fill in your credentials for PostgreSQL and Celery (consider PostgreSQL and Redis servers are already started and available).
+
+3. Activate the environment and run the project by executing `pyton manage.py runserver` command.
+
+4. If you want to Celery tasks be able to execute run commands `python -m celery -A core worker -l info` & `python -m celery -A core beat -l info` in the separate shells.
+
+
+## Documentation
+
+Documentation is available online at [https://docs.sunflower3455.com/](https://docs.sunflower3455.com/) and in the [docs](https://github.com/sunflower-ing/docs) repository.
+
+## Releases
+
+You can check [https://github.com/sunflower-ing/core/releases](https://github.com/sunflower-ing/core/releases) for the releases and release notes.
+
+## Contributing
+
+If you'd like to contribute to this project please follow the [Issues](https://github.com/sunflower-ing/core/issues)
diff --git a/docs/Dockerfile b/docs/Dockerfile
deleted file mode 100644
index 95781e4..0000000
--- a/docs/Dockerfile
+++ /dev/null
@@ -1,4 +0,0 @@
-FROM docker.io/polinux/mkdocs:1.4.2
-WORKDIR /mkdocs
-COPY . .
-RUN pip install -r docs/requirements.txt
diff --git a/docs/Examples/Swagger.md b/docs/Examples/Swagger.md
deleted file mode 100644
index f8cfac7..0000000
--- a/docs/Examples/Swagger.md
+++ /dev/null
@@ -1 +0,0 @@
-[OAD(docs/schemas/swagger.json)]
diff --git a/docs/Examples/code-snippets.md b/docs/Examples/code-snippets.md
deleted file mode 100644
index f24ebb6..0000000
--- a/docs/Examples/code-snippets.md
+++ /dev/null
@@ -1,14 +0,0 @@
-```sh
-brew install teleport
-```
-
-```yaml
-
-hello:
- world: here
-```
-
-```python
-import privet
-print(privet.ti)
-```
diff --git a/docs/Examples/diagrams.md b/docs/Examples/diagrams.md
deleted file mode 100644
index 66e3407..0000000
--- a/docs/Examples/diagrams.md
+++ /dev/null
@@ -1,3 +0,0 @@
-```kroki-excalidraw
-@from_file:schemas/example.excalidraw
-```
diff --git a/docs/Examples/images.md b/docs/Examples/images.md
deleted file mode 100644
index e774761..0000000
--- a/docs/Examples/images.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# Images example
-
-## Local cat
-![Local cat](/img/cat.jpg)
-
-## Base64 dog
-![Base64 dog](data:image/jpeg;base64,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)
-
-
-## Remote humster
-![Remote humster](https://static5.depositphotos.com/1012694/526/i/450/depositphotos_5268185-stock-photo-humster.jpg)
diff --git a/docs/README.md b/docs/README.md
deleted file mode 100644
index fe46a24..0000000
--- a/docs/README.md
+++ /dev/null
@@ -1,4 +0,0 @@
-# Simple mkdocs exmaple
-
-
-Here a little exmaple about how you can serve your docs via mkdocs
diff --git a/docs/img/cat.jpg b/docs/img/cat.jpg
deleted file mode 100644
index 9e4ee42..0000000
Binary files a/docs/img/cat.jpg and /dev/null differ
diff --git a/docs/js/syntax-highlight.js b/docs/js/syntax-highlight.js
deleted file mode 100644
index 8a22a38..0000000
--- a/docs/js/syntax-highlight.js
+++ /dev/null
@@ -1,3 +0,0 @@
-document$.subscribe(() => {
- hljs.highlightAll();
- });
diff --git a/docs/requirements.txt b/docs/requirements.txt
deleted file mode 100644
index 5654519..0000000
--- a/docs/requirements.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-neoteroi-mkdocs
-mkdocs-material
-mkdocs-pdf-export-plugin
-mkdocs-simple-plugin
-mkdocs-kroki-plugin
diff --git a/docs/schemas/example.excalidraw b/docs/schemas/example.excalidraw
deleted file mode 100644
index b133f2e..0000000
--- a/docs/schemas/example.excalidraw
+++ /dev/null
@@ -1,577 +0,0 @@
-{
- "type": "excalidraw",
- "version": 2,
- "source": "https://marketplace.visualstudio.com/items?itemName=pomdtr.excalidraw-editor",
- "elements": [
- {
- "type": "rectangle",
- "version": 29,
- "versionNonce": 1742663139,
- "isDeleted": false,
- "id": "4xlew863BQgtzQmJLQTp1",
- "fillStyle": "hachure",
- "strokeWidth": 1,
- "strokeStyle": "solid",
- "roughness": 1,
- "opacity": 100,
- "angle": 0,
- "x": 835,
- "y": 177,
- "strokeColor": "#000000",
- "backgroundColor": "transparent",
- "width": 221,
- "height": 185,
- "seed": 2036213511,
- "groupIds": [],
- "roundness": {
- "type": 3
- },
- "boundElements": [
- {
- "type": "text",
- "id": "doJ86bhdw3a4r7Tb6OrcL"
- },
- {
- "id": "xAVf46t5O2Wt5ZSpFcS97",
- "type": "arrow"
- }
- ],
- "updated": 1683916852434,
- "link": null,
- "locked": false
- },
- {
- "type": "text",
- "version": 18,
- "versionNonce": 1010406861,
- "isDeleted": false,
- "id": "doJ86bhdw3a4r7Tb6OrcL",
- "fillStyle": "hachure",
- "strokeWidth": 1,
- "strokeStyle": "solid",
- "roughness": 1,
- "opacity": 100,
- "angle": 0,
- "x": 908.3800354003906,
- "y": 257,
- "strokeColor": "#000000",
- "backgroundColor": "transparent",
- "width": 74.23992919921875,
- "height": 25,
- "seed": 1197968295,
- "groupIds": [],
- "roundness": null,
- "boundElements": [],
- "updated": 1683916852434,
- "link": null,
- "locked": false,
- "fontSize": 20,
- "fontFamily": 1,
- "text": "example",
- "textAlign": "center",
- "verticalAlign": "middle",
- "containerId": "4xlew863BQgtzQmJLQTp1",
- "originalText": "example",
- "lineHeight": 1.25,
- "baseline": 18
- },
- {
- "type": "ellipse",
- "version": 25,
- "versionNonce": 1848457603,
- "isDeleted": false,
- "id": "Mr02sEe0C_bhMgZvnzmFV",
- "fillStyle": "hachure",
- "strokeWidth": 1,
- "strokeStyle": "solid",
- "roughness": 1,
- "opacity": 100,
- "angle": 0,
- "x": 1139,
- "y": 145,
- "strokeColor": "#000000",
- "backgroundColor": "transparent",
- "width": 269,
- "height": 231,
- "seed": 223896391,
- "groupIds": [],
- "roundness": {
- "type": 2
- },
- "boundElements": [],
- "updated": 1683916852434,
- "link": null,
- "locked": false
- },
- {
- "type": "arrow",
- "version": 81,
- "versionNonce": 1098863661,
- "isDeleted": false,
- "id": "xAVf46t5O2Wt5ZSpFcS97",
- "fillStyle": "hachure",
- "strokeWidth": 1,
- "strokeStyle": "solid",
- "roughness": 1,
- "opacity": 100,
- "angle": 0,
- "x": 1063,
- "y": 269,
- "strokeColor": "#000000",
- "backgroundColor": "transparent",
- "width": 81,
- "height": 3,
- "seed": 1390315465,
- "groupIds": [],
- "roundness": {
- "type": 2
- },
- "boundElements": [],
- "updated": 1683916852434,
- "link": null,
- "locked": false,
- "startBinding": {
- "elementId": "4xlew863BQgtzQmJLQTp1",
- "focus": 0.03987730061349693,
- "gap": 7
- },
- "endBinding": null,
- "lastCommittedPoint": null,
- "startArrowhead": null,
- "endArrowhead": "arrow",
- "points": [
- [
- 0,
- 0
- ],
- [
- 81,
- -3
- ]
- ]
- },
- {
- "type": "text",
- "version": 67,
- "versionNonce": 401674531,
- "isDeleted": false,
- "id": "_XpzBrRgJIlYrtSn3hJz-",
- "fillStyle": "hachure",
- "strokeWidth": 1,
- "strokeStyle": "solid",
- "roughness": 1,
- "opacity": 100,
- "angle": 0,
- "x": 1231,
- "y": 259,
- "strokeColor": "#000000",
- "backgroundColor": "transparent",
- "width": 74.23992919921875,
- "height": 25,
- "seed": 27304519,
- "groupIds": [],
- "roundness": null,
- "boundElements": [],
- "updated": 1683916852434,
- "link": null,
- "locked": false,
- "fontSize": 20,
- "fontFamily": 1,
- "text": "example",
- "textAlign": "left",
- "verticalAlign": "top",
- "containerId": null,
- "originalText": "example",
- "lineHeight": 1.25,
- "baseline": 18
- },
- {
- "type": "ellipse",
- "version": 3018,
- "versionNonce": 1748911757,
- "isDeleted": false,
- "id": "NBOb4C8pbEu24fe2TZAgL",
- "fillStyle": "solid",
- "strokeWidth": 2,
- "strokeStyle": "solid",
- "roughness": 1,
- "opacity": 100,
- "angle": 0,
- "x": 1098.2111454407648,
- "y": 170.55929250647478,
- "strokeColor": "#000000",
- "backgroundColor": "transparent",
- "width": 22.962090852177305,
- "height": 25.196217843240962,
- "seed": 1207042509,
- "groupIds": [
- "bqiZS49-rpNZE9c3ANHh6",
- "oWzuTywZg7514ANG1RJ01"
- ],
- "roundness": null,
- "boundElements": [],
- "updated": 1683916852434,
- "link": null,
- "locked": false
- },
- {
- "type": "line",
- "version": 2993,
- "versionNonce": 1989735619,
- "isDeleted": false,
- "id": "b4OlC106Q4RtNvPS0e7fi",
- "fillStyle": "solid",
- "strokeWidth": 2,
- "strokeStyle": "solid",
- "roughness": 1,
- "opacity": 100,
- "angle": 0,
- "x": 1106.3437554328077,
- "y": 195.94930481527444,
- "strokeColor": "#000000",
- "backgroundColor": "#ced4da",
- "width": 1.2938947105974545,
- "height": 29.423758342517576,
- "seed": 323633197,
- "groupIds": [
- "bqiZS49-rpNZE9c3ANHh6",
- "oWzuTywZg7514ANG1RJ01"
- ],
- "roundness": {
- "type": 2
- },
- "boundElements": [],
- "updated": 1683916852434,
- "link": null,
- "locked": false,
- "lastCommittedPoint": null,
- "startArrowhead": null,
- "endArrowhead": null,
- "points": [
- [
- 0,
- 0
- ],
- [
- -1.2938947105974545,
- 29.423758342517576
- ]
- ]
- },
- {
- "type": "line",
- "version": 3000,
- "versionNonce": 321907949,
- "isDeleted": false,
- "id": "Kt1ad5b4IjmKGQ6Kq3Zzy",
- "fillStyle": "solid",
- "strokeWidth": 2,
- "strokeStyle": "solid",
- "roughness": 1,
- "opacity": 100,
- "angle": 0,
- "x": 1104.8456551849501,
- "y": 225.01612895257767,
- "strokeColor": "#000000",
- "backgroundColor": "#ced4da",
- "width": 8.027782545968531,
- "height": 16.381077520120563,
- "seed": 432779917,
- "groupIds": [
- "bqiZS49-rpNZE9c3ANHh6",
- "oWzuTywZg7514ANG1RJ01"
- ],
- "roundness": {
- "type": 2
- },
- "boundElements": [],
- "updated": 1683916852434,
- "link": null,
- "locked": false,
- "lastCommittedPoint": null,
- "startArrowhead": null,
- "endArrowhead": null,
- "points": [
- [
- 0,
- 0
- ],
- [
- 8.027782545968531,
- 16.381077520120563
- ]
- ]
- },
- {
- "type": "line",
- "version": 2973,
- "versionNonce": 1774412899,
- "isDeleted": false,
- "id": "YzLSC3jM0iIzKDqer7epF",
- "fillStyle": "solid",
- "strokeWidth": 2,
- "strokeStyle": "solid",
- "roughness": 1,
- "opacity": 100,
- "angle": 0,
- "x": 1104.4463343020163,
- "y": 224.41369712047072,
- "strokeColor": "#000000",
- "backgroundColor": "#ced4da",
- "width": 12.934412685499442,
- "height": 14.81557535082132,
- "seed": 137353453,
- "groupIds": [
- "bqiZS49-rpNZE9c3ANHh6",
- "oWzuTywZg7514ANG1RJ01"
- ],
- "roundness": {
- "type": 2
- },
- "boundElements": [],
- "updated": 1683916852434,
- "link": null,
- "locked": false,
- "lastCommittedPoint": null,
- "startArrowhead": null,
- "endArrowhead": null,
- "points": [
- [
- 0,
- 0
- ],
- [
- -12.934412685499442,
- 14.81557535082132
- ]
- ]
- },
- {
- "type": "line",
- "version": 2897,
- "versionNonce": 299747149,
- "isDeleted": false,
- "id": "3M1WStA6knuYx0KvJ6hBl",
- "fillStyle": "solid",
- "strokeWidth": 2,
- "strokeStyle": "solid",
- "roughness": 1,
- "opacity": 100,
- "angle": 0,
- "x": 1094.3443195588932,
- "y": 199.8250910485076,
- "strokeColor": "#000000",
- "backgroundColor": "#ced4da",
- "width": 11.314170923583024,
- "height": 10.859826216044992,
- "seed": 939537229,
- "groupIds": [
- "bqiZS49-rpNZE9c3ANHh6",
- "oWzuTywZg7514ANG1RJ01"
- ],
- "roundness": {
- "type": 2
- },
- "boundElements": [],
- "updated": 1683916852434,
- "link": null,
- "locked": false,
- "lastCommittedPoint": null,
- "startArrowhead": null,
- "endArrowhead": null,
- "points": [
- [
- 0,
- 0
- ],
- [
- 11.314170923583024,
- 10.859826216044992
- ]
- ]
- },
- {
- "type": "line",
- "version": 2925,
- "versionNonce": 1497292803,
- "isDeleted": false,
- "id": "djQTnQFxzuyqbOl0KxYFQ",
- "fillStyle": "solid",
- "strokeWidth": 2,
- "strokeStyle": "solid",
- "roughness": 1,
- "opacity": 100,
- "angle": 0,
- "x": 1104.8087593811376,
- "y": 209.9572147390418,
- "strokeColor": "#000000",
- "backgroundColor": "#ced4da",
- "width": 16.30455491235678,
- "height": 9.195541798215446,
- "seed": 362168749,
- "groupIds": [
- "bqiZS49-rpNZE9c3ANHh6",
- "oWzuTywZg7514ANG1RJ01"
- ],
- "roundness": {
- "type": 2
- },
- "boundElements": [],
- "updated": 1683916852434,
- "link": null,
- "locked": false,
- "lastCommittedPoint": null,
- "startArrowhead": null,
- "endArrowhead": null,
- "points": [
- [
- 0,
- 0
- ],
- [
- 16.30455491235678,
- -9.195541798215446
- ]
- ]
- },
- {
- "type": "line",
- "version": 3099,
- "versionNonce": 111236525,
- "isDeleted": false,
- "id": "6ZFOa9qbqmEVsLNgVXCAV",
- "fillStyle": "solid",
- "strokeWidth": 1,
- "strokeStyle": "solid",
- "roughness": 1,
- "opacity": 100,
- "angle": 0,
- "x": 1100.6778215766842,
- "y": 172.995237693558,
- "strokeColor": "#000000",
- "backgroundColor": "#4c6ef5",
- "width": 35.92743759704585,
- "height": 13.376796241548695,
- "seed": 1176208397,
- "groupIds": [
- "oWzuTywZg7514ANG1RJ01"
- ],
- "roundness": {
- "type": 2
- },
- "boundElements": [],
- "updated": 1683916852434,
- "link": null,
- "locked": false,
- "startBinding": null,
- "endBinding": null,
- "lastCommittedPoint": null,
- "startArrowhead": null,
- "endArrowhead": null,
- "points": [
- [
- 0,
- 0
- ],
- [
- 10.51338912439717,
- -10.252968819400877
- ],
- [
- 20.38646225315211,
- -0.03190277899463023
- ],
- [
- 19.236014855963816,
- 1.7057555141289393
- ],
- [
- 18.35006207196114,
- 3.1238274221478175
- ],
- [
- -15.36725231771717,
- 1.387934706783133
- ],
- [
- -15.54097534389374,
- -0.6670467447534376
- ],
- [
- 0.3688959711043456,
- -0.17438609570499786
- ]
- ]
- },
- {
- "type": "line",
- "version": 2270,
- "versionNonce": 789178275,
- "isDeleted": false,
- "id": "_n5aKOw301Wer0CcyCa2n",
- "fillStyle": "hachure",
- "strokeWidth": 1,
- "strokeStyle": "solid",
- "roughness": 0,
- "opacity": 100,
- "angle": 0,
- "x": 1111.5912118548874,
- "y": 163.94738874694488,
- "strokeColor": "#000000",
- "backgroundColor": "transparent",
- "width": 24.65967091745729,
- "height": 10.637051196030885,
- "seed": 227113581,
- "groupIds": [
- "oWzuTywZg7514ANG1RJ01"
- ],
- "roundness": {
- "type": 2
- },
- "boundElements": [],
- "updated": 1683916852434,
- "link": null,
- "locked": false,
- "startBinding": null,
- "endBinding": null,
- "lastCommittedPoint": null,
- "startArrowhead": null,
- "endArrowhead": null,
- "points": [
- [
- 0,
- 0
- ],
- [
- -0.26390072608214954,
- -5.266439928393932
- ],
- [
- -6.997999078476703,
- -5.274542143668375
- ],
- [
- -10.575705851809737,
- -10.637051196030885
- ],
- [
- 7.209814134937449,
- -2.4179325297615386
- ],
- [
- 14.083965065647554,
- -6.184305173056867
- ],
- [
- 0.7060501882022683,
- -4.784936849226437
- ]
- ]
- }
- ],
- "appState": {
- "gridSize": null,
- "viewBackgroundColor": "#ffffff"
- },
- "files": {}
-}
\ No newline at end of file
diff --git a/docs/schemas/swagger.json b/docs/schemas/swagger.json
deleted file mode 100644
index 9523f91..0000000
--- a/docs/schemas/swagger.json
+++ /dev/null
@@ -1,238 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "feature.proto",
- "version": "version not set"
- },
- "schemes": [
- "http",
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "paths": {
- "/ops/features": {
- "get": {
- "summary": "GET /ops/features",
- "operationId": "ListFeatures",
- "responses": {
- "200": {
- "description": "",
- "schema": {
- "$ref": "#/definitions/featureListFeaturesResponse"
- }
- }
- },
- "tags": [
- "Generic"
- ]
- }
- },
- "/ops/features/{uuid}": {
- "put": {
- "summary": "PUT /ops/features/:uuid",
- "operationId": "UpdateFeature",
- "responses": {
- "200": {
- "description": "",
- "schema": {
- "$ref": "#/definitions/featureUpdateFeatureResponse"
- }
- }
- },
- "parameters": [
- {
- "name": "uuid",
- "in": "path",
- "required": true,
- "type": "string",
- "format": "string"
- },
- {
- "name": "body",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/protobufStruct"
- }
- }
- ],
- "tags": [
- "Generic"
- ]
- }
- }
- },
- "definitions": {
- "featureFeature": {
- "type": "object",
- "properties": {
- "app_id": {
- "type": "string",
- "format": "string"
- },
- "args": {
- "type": "array",
- "items": {
- "type": "string",
- "format": "string"
- }
- },
- "enabled": {
- "type": "boolean",
- "format": "boolean"
- },
- "extra_data": {
- "$ref": "#/definitions/protobufStruct",
- "title": "extra data can be any json data\nFor parnter(ηΉζδΈεΊ) feature it shold be\nrepeated PartnerExtra extra_data = 10"
- },
- "method": {
- "$ref": "#/definitions/featureFeatureFetchMethod"
- },
- "requirements": {
- "type": "array",
- "items": {
- "type": "string",
- "format": "string"
- }
- },
- "type": {
- "$ref": "#/definitions/featureFeatureType"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time"
- },
- "uuid": {
- "type": "string",
- "format": "string"
- }
- }
- },
- "featureFeatureFetchMethod": {
- "type": "string",
- "enum": [
- "UNKNOWN_METHOD",
- "GET"
- ],
- "default": "UNKNOWN_METHOD"
- },
- "featureFeatureType": {
- "type": "string",
- "enum": [
- "UNKNOWN_FEATURE_TYPE",
- "URL"
- ],
- "default": "UNKNOWN_FEATURE_TYPE"
- },
- "featureListFeaturesRequest": {
- "type": "object"
- },
- "featureListFeaturesResponse": {
- "type": "object",
- "properties": {
- "features": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/featureFeature"
- }
- }
- }
- },
- "featureUpdateFeatureRequest": {
- "type": "object",
- "properties": {
- "extra_data": {
- "$ref": "#/definitions/protobufStruct"
- },
- "token": {
- "type": "string",
- "format": "string"
- },
- "uuid": {
- "type": "string",
- "format": "string"
- }
- }
- },
- "featureUpdateFeatureResponse": {
- "type": "object",
- "properties": {
- "feature": {
- "$ref": "#/definitions/featureFeature"
- }
- }
- },
- "protobufListValue": {
- "type": "object",
- "properties": {
- "values": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/protobufValue"
- },
- "description": "Repeated field of dynamically typed values."
- }
- },
- "description": "`ListValue` is a wrapper around a repeated field of values.\n\nThe JSON representation for `ListValue` is JSON array."
- },
- "protobufNullValue": {
- "type": "string",
- "enum": [
- "NULL_VALUE"
- ],
- "default": "NULL_VALUE",
- "description": "`NullValue` is a singleton enumeration to represent the null value for the\n`Value` type union.\n\n The JSON representation for `NullValue` is JSON `null`.\n\n - NULL_VALUE: Null value."
- },
- "protobufStruct": {
- "type": "object",
- "properties": {
- "fields": {
- "type": "object",
- "additionalProperties": {
- "$ref": "#/definitions/protobufValue"
- },
- "description": "Unordered map of dynamically typed values."
- }
- },
- "description": "`Struct` represents a structured data value, consisting of fields\nwhich map to dynamically typed values. In some languages, `Struct`\nmight be supported by a native representation. For example, in\nscripting languages like JS a struct is represented as an\nobject. The details of that representation are described together\nwith the proto support for the language.\n\nThe JSON representation for `Struct` is JSON object."
- },
- "protobufValue": {
- "type": "object",
- "properties": {
- "bool_value": {
- "type": "boolean",
- "format": "boolean",
- "description": "Represents a boolean value."
- },
- "list_value": {
- "$ref": "#/definitions/protobufListValue",
- "description": "Represents a repeated `Value`."
- },
- "null_value": {
- "$ref": "#/definitions/protobufNullValue",
- "description": "Represents a null value."
- },
- "number_value": {
- "type": "number",
- "format": "double",
- "description": "Represents a double value."
- },
- "string_value": {
- "type": "string",
- "format": "string",
- "description": "Represents a string value."
- },
- "struct_value": {
- "$ref": "#/definitions/protobufStruct",
- "description": "Represents a structured value."
- }
- },
- "description": "`Value` represents a dynamically typed value which can be either\nnull, a number, a string, a boolean, a recursive struct value, or a\nlist of values. A producer of value is expected to set one of that\nvariants, absence of any variant indicates an error.\n\nThe JSON representation for `Value` is JSON value."
- }
- }
-}
diff --git a/ocsp/views.py b/ocsp/views.py
index 125a7a7..c272895 100644
--- a/ocsp/views.py
+++ b/ocsp/views.py
@@ -1,6 +1,7 @@
from cryptography.x509 import ocsp
from django.http import HttpResponse
from django.views.decorators.csrf import csrf_exempt
+from django_filters.rest_framework import DjangoFilterBackend
from rest_framework import permissions, viewsets
from rest_framework.response import Response
@@ -123,6 +124,8 @@ class SourceViewSet(viewsets.ModelViewSet):
queryset = Source.objects.all()
serializer_class = SourceSerializer
permission_classes = [permissions.IsAuthenticated]
+ filter_backends = [DjangoFilterBackend]
+ filterset_fields = ["name", "host", "addr"]
def create(self, request, *args, **kwargs):
instance = None
diff --git a/utils/pagination.py b/utils/pagination.py
index 29bce4f..28acf39 100644
--- a/utils/pagination.py
+++ b/utils/pagination.py
@@ -3,6 +3,8 @@
class CustomPageNumberPagination(pagination.PageNumberPagination):
+ page_size_query_param = "items"
+
def get_paginated_response(self, data):
return Response(
{
@@ -17,6 +19,16 @@ def get_paginated_response(self, data):
}
)
+ def paginate_queryset(self, queryset, request, view):
+ if (
+ request.query_params.get("page")
+ and request.query_params.get("page") == "all"
+ ):
+ request.query_params._mutable = True
+ request.query_params.pop("page")
+ self.page_size = queryset.count()
+ return super().paginate_queryset(queryset, request, view)
+
def get_paginated_response_schema(self, schema):
return {
"type": "object",