Browse Source

chore(docs): Add code of conduct, licensing info.

jackyalcine 10 months ago
parent
commit
bee58d4cb2
Signed by: Jacky Alciné <yo@jacky.wtf> GPG Key ID: 36CD7728BDFD66FF

+ 18
- 6
.credo.exs View File

@@ -1,9 +1,21 @@
1
-# This file contains the configuration for Credo and you are probably reading
2
-# this after creating it with `mix credo.gen.config`.
3
-#
4
-# If you find anything wrong or unclear in this file, please report an
5
-# issue on GitHub: https://github.com/rrrene/credo/issues
6
-#
1
+# Koype: a IndieWeb-focused, single-tenant website engine for people.
2
+# 
3
+# Copyright © 2019 Jacky Alciné <jacky.is@black.af>
4
+# 
5
+# This file belongs to the Koype project.
6
+# 
7
+# This program is free software: you can redistribute it and/or modify
8
+# it under the terms of the GNU Affero General Public License as published by
9
+# the Free Software Foundation, either version 3 of the License, or
10
+# (at your option) any later version.
11
+# 
12
+# This program is distributed in the hope that it will be useful,
13
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
+# GNU Affero General Public License for more details.
16
+# 
17
+# You should have received a copy of the GNU Affero General Public License
18
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
7 19
 %{
8 20
   #
9 21
   # You can have as many configs as you like in the `configs:` field.

+ 18
- 0
.formatter.exs View File

@@ -1,3 +1,21 @@
1
+# Koype: a IndieWeb-focused, single-tenant website engine for people.
2
+# 
3
+# Copyright © 2019 Jacky Alciné <jacky.is@black.af>
4
+# 
5
+# This file belongs to the Koype project.
6
+# 
7
+# This program is free software: you can redistribute it and/or modify
8
+# it under the terms of the GNU Affero General Public License as published by
9
+# the Free Software Foundation, either version 3 of the License, or
10
+# (at your option) any later version.
11
+# 
12
+# This program is distributed in the hope that it will be useful,
13
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
+# GNU Affero General Public License for more details.
16
+# 
17
+# You should have received a copy of the GNU Affero General Public License
18
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
1 19
 [
2 20
   inputs: ["mix.exs", "{web,config,lib,test}/**/*.{ex,exs}"],
3 21
   line_length: 120,

+ 76
- 0
CODE_OF_CONDUCT.markdown View File

@@ -0,0 +1,76 @@
1
+# Contributor Covenant Code of Conduct
2
+
3
+## Our Pledge
4
+
5
+In the interest of fostering an open and welcoming environment, we as
6
+contributors and maintainers pledge to making participation in our project and
7
+our community a harassment-free experience for everyone, regardless of age, body
8
+size, disability, ethnicity, sex characteristics, gender identity and expression,
9
+level of experience, education, socio-economic status, nationality, personal
10
+appearance, race, religion, or sexual identity and orientation.
11
+
12
+## Our Standards
13
+
14
+Examples of behavior that contributes to creating a positive environment
15
+include:
16
+
17
+* Using welcoming and inclusive language
18
+* Being respectful of differing viewpoints and experiences
19
+* Gracefully accepting constructive criticism
20
+* Focusing on what is best for the community
21
+* Showing empathy towards other community members
22
+
23
+Examples of unacceptable behavior by participants include:
24
+
25
+* The use of sexualized language or imagery and unwelcome sexual attention or
26
+  advances
27
+* Trolling, insulting/derogatory comments, and personal or political attacks
28
+* Public or private harassment
29
+* Publishing others' private information, such as a physical or electronic
30
+  address, without explicit permission
31
+* Other conduct which could reasonably be considered inappropriate in a
32
+  professional setting
33
+
34
+## Our Responsibilities
35
+
36
+Project maintainers are responsible for clarifying the standards of acceptable
37
+behavior and are expected to take appropriate and fair corrective action in
38
+response to any instances of unacceptable behavior.
39
+
40
+Project maintainers have the right and responsibility to remove, edit, or
41
+reject comments, commits, code, wiki edits, issues, and other contributions
42
+that are not aligned to this Code of Conduct, or to ban temporarily or
43
+permanently any contributor for other behaviors that they deem inappropriate,
44
+threatening, offensive, or harmful.
45
+
46
+## Scope
47
+
48
+This Code of Conduct applies both within project spaces and in public spaces
49
+when an individual is representing the project or its community. Examples of
50
+representing a project or community include using an official project e-mail
51
+address, posting via an official social media account, or acting as an appointed
52
+representative at an online or offline event. Representation of a project may be
53
+further defined and clarified by project maintainers.
54
+
55
+## Enforcement
56
+
57
+Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+reported by contacting the project team at yo@jacky.wtf. All
59
+complaints will be reviewed and investigated and will result in a response that
60
+is deemed necessary and appropriate to the circumstances. The project team is
61
+obligated to maintain confidentiality with regard to the reporter of an incident.
62
+Further details of specific enforcement policies may be posted separately.
63
+
64
+Project maintainers who do not follow or enforce the Code of Conduct in good
65
+faith may face temporary or permanent repercussions as determined by other
66
+members of the project's leadership.
67
+
68
+## Attribution
69
+
70
+This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
72
+
73
+[homepage]: https://www.contributor-covenant.org
74
+
75
+For answers to common questions about this code of conduct, see
76
+https://www.contributor-covenant.org/faq

+ 2
- 4
README.markdown View File

@@ -8,17 +8,15 @@ still interact with [social media platforms][5] - on their own terms. The notion
8 8
 Koype is that everything you post is _your data_ and **you** are your own source of truth.
9 9
 
10 10
 - Setup information is in [`INSTALL`][2].
11
+- License information is in [LICENSE][6]
11 12
 - General documentation can be found in [`docs/`][3].
12 13
 
13
-### Licensing
14
-
15
-This project's source code is licensed under the [AGPL3][1].
16
-
17 14
 [1]: https://choosealicense.com/licenses/agpl-3.0/
18 15
 [2]: ./INSTALL.markdown
19 16
 [3]: ./docs
20 17
 [4]: https://indieweb.org/ownyourdata
21 18
 [5]: https://indieweb.org/silo
19
+[6]: ./LICENSE.Koype
22 20
 [badge:build:image]: https://ci.jacky.wtf/api/badges/indieweb/koype/status.svg
23 21
 [badge:build:link]: https://ci.jacky.wtf/indieweb/koype
24 22
 [badge:donate:image]: http://img.shields.io/liberapay/receives/jackyalcine.svg?logo=liberapay

+ 18
- 0
lib/indieweb/app.ex View File

@@ -1,3 +1,21 @@
1
+# Koype: a IndieWeb-focused, single-tenant website engine for people.
2
+# 
3
+# Copyright © 2019 Jacky Alciné <jacky.is@black.af>
4
+# 
5
+# This file belongs to the Koype project.
6
+# 
7
+# This program is free software: you can redistribute it and/or modify
8
+# it under the terms of the GNU Affero General Public License as published by
9
+# the Free Software Foundation, either version 3 of the License, or
10
+# (at your option) any later version.
11
+# 
12
+# This program is distributed in the hope that it will be useful,
13
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
+# GNU Affero General Public License for more details.
16
+# 
17
+# You should have received a copy of the GNU Affero General Public License
18
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
1 19
 defmodule IndieWeb.App do
2 20
   @moduledoc "High-level abstraction for application info resolution."
3 21
   require Logger

+ 18
- 0
lib/indieweb/mf2.ex View File

@@ -1,3 +1,21 @@
1
+# Koype: a IndieWeb-focused, single-tenant website engine for people.
2
+# 
3
+# Copyright © 2019 Jacky Alciné <jacky.is@black.af>
4
+# 
5
+# This file belongs to the Koype project.
6
+# 
7
+# This program is free software: you can redistribute it and/or modify
8
+# it under the terms of the GNU Affero General Public License as published by
9
+# the Free Software Foundation, either version 3 of the License, or
10
+# (at your option) any later version.
11
+# 
12
+# This program is distributed in the hope that it will be useful,
13
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
+# GNU Affero General Public License for more details.
16
+# 
17
+# You should have received a copy of the GNU Affero General Public License
18
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
1 19
 defmodule IndieWeb.MF2 do
2 20
   require Logger
3 21
 

+ 18
- 0
lib/indieweb/micropub.ex View File

@@ -1,3 +1,21 @@
1
+# Koype: a IndieWeb-focused, single-tenant website engine for people.
2
+# 
3
+# Copyright © 2019 Jacky Alciné <jacky.is@black.af>
4
+# 
5
+# This file belongs to the Koype project.
6
+# 
7
+# This program is free software: you can redistribute it and/or modify
8
+# it under the terms of the GNU Affero General Public License as published by
9
+# the Free Software Foundation, either version 3 of the License, or
10
+# (at your option) any later version.
11
+# 
12
+# This program is distributed in the hope that it will be useful,
13
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
+# GNU Affero General Public License for more details.
16
+# 
17
+# You should have received a copy of the GNU Affero General Public License
18
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
1 19
 defmodule IndieWeb.Micropub do
2 20
   @actionable_keys ~w(replace add delete)
3 21
   @reserved_mp_param_keys ~w(h action url content) ++ @actionable_keys

+ 18
- 0
lib/indieweb/post.ex View File

@@ -1,3 +1,21 @@
1
+# Koype: a IndieWeb-focused, single-tenant website engine for people.
2
+# 
3
+# Copyright © 2019 Jacky Alciné <jacky.is@black.af>
4
+# 
5
+# This file belongs to the Koype project.
6
+# 
7
+# This program is free software: you can redistribute it and/or modify
8
+# it under the terms of the GNU Affero General Public License as published by
9
+# the Free Software Foundation, either version 3 of the License, or
10
+# (at your option) any later version.
11
+# 
12
+# This program is distributed in the hope that it will be useful,
13
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
+# GNU Affero General Public License for more details.
16
+# 
17
+# You should have received a copy of the GNU Affero General Public License
18
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
1 19
 defmodule IndieWeb.Post do
2 20
   alias Phoenix.HTML.SimplifiedHelpers.Truncate, as: T
3 21
 

+ 18
- 0
lib/indieweb/relme.ex View File

@@ -1,3 +1,21 @@
1
+# Koype: a IndieWeb-focused, single-tenant website engine for people.
2
+# 
3
+# Copyright © 2019 Jacky Alciné <jacky.is@black.af>
4
+# 
5
+# This file belongs to the Koype project.
6
+# 
7
+# This program is free software: you can redistribute it and/or modify
8
+# it under the terms of the GNU Affero General Public License as published by
9
+# the Free Software Foundation, either version 3 of the License, or
10
+# (at your option) any later version.
11
+# 
12
+# This program is distributed in the hope that it will be useful,
13
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
+# GNU Affero General Public License for more details.
16
+# 
17
+# You should have received a copy of the GNU Affero General Public License
18
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
1 19
 defmodule IndieWeb.RelMe do
2 20
   @moduledoc "Handles logic for parsing rel-me information."
3 21
   alias Koype.Repo.RelMe

+ 18
- 0
lib/indieweb/syndication.ex View File

@@ -1,3 +1,21 @@
1
+# Koype: a IndieWeb-focused, single-tenant website engine for people.
2
+# 
3
+# Copyright © 2019 Jacky Alciné <jacky.is@black.af>
4
+# 
5
+# This file belongs to the Koype project.
6
+# 
7
+# This program is free software: you can redistribute it and/or modify
8
+# it under the terms of the GNU Affero General Public License as published by
9
+# the Free Software Foundation, either version 3 of the License, or
10
+# (at your option) any later version.
11
+# 
12
+# This program is distributed in the hope that it will be useful,
13
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
+# GNU Affero General Public License for more details.
16
+# 
17
+# You should have received a copy of the GNU Affero General Public License
18
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
1 19
 defmodule IndieWeb.Syndication do
2 20
   def targets() do
3 21
     []

+ 18
- 0
lib/indieweb/webmention.ex View File

@@ -1,3 +1,21 @@
1
+# Koype: a IndieWeb-focused, single-tenant website engine for people.
2
+# 
3
+# Copyright © 2019 Jacky Alciné <jacky.is@black.af>
4
+# 
5
+# This file belongs to the Koype project.
6
+# 
7
+# This program is free software: you can redistribute it and/or modify
8
+# it under the terms of the GNU Affero General Public License as published by
9
+# the Free Software Foundation, either version 3 of the License, or
10
+# (at your option) any later version.
11
+# 
12
+# This program is distributed in the hope that it will be useful,
13
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
+# GNU Affero General Public License for more details.
16
+# 
17
+# You should have received a copy of the GNU Affero General Public License
18
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
1 19
 defmodule IndieWeb.Webmention do
2 20
   @moduledoc """
3 21
   """

+ 18
- 0
lib/repo/category.ex View File

@@ -1,3 +1,21 @@
1
+# Koype: a IndieWeb-focused, single-tenant website engine for people.
2
+# 
3
+# Copyright © 2019 Jacky Alciné <jacky.is@black.af>
4
+# 
5
+# This file belongs to the Koype project.
6
+# 
7
+# This program is free software: you can redistribute it and/or modify
8
+# it under the terms of the GNU Affero General Public License as published by
9
+# the Free Software Foundation, either version 3 of the License, or
10
+# (at your option) any later version.
11
+# 
12
+# This program is distributed in the hope that it will be useful,
13
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
+# GNU Affero General Public License for more details.
16
+# 
17
+# You should have received a copy of the GNU Affero General Public License
18
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
1 19
 defmodule Koype.Repo.Category do
2 20
   @moduledoc false
3 21
 

+ 18
- 0
lib/repo/entry.ex View File

@@ -1,3 +1,21 @@
1
+# Koype: a IndieWeb-focused, single-tenant website engine for people.
2
+# 
3
+# Copyright © 2019 Jacky Alciné <jacky.is@black.af>
4
+# 
5
+# This file belongs to the Koype project.
6
+# 
7
+# This program is free software: you can redistribute it and/or modify
8
+# it under the terms of the GNU Affero General Public License as published by
9
+# the Free Software Foundation, either version 3 of the License, or
10
+# (at your option) any later version.
11
+# 
12
+# This program is distributed in the hope that it will be useful,
13
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
+# GNU Affero General Public License for more details.
16
+# 
17
+# You should have received a copy of the GNU Affero General Public License
18
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
1 19
 defmodule Koype.Repo.Entry do
2 20
   use Koype.Web, :model
3 21
   use Arc.Ecto.Schema

+ 18
- 0
lib/repo/otp_secret.ex View File

@@ -1,3 +1,21 @@
1
+# Koype: a IndieWeb-focused, single-tenant website engine for people.
2
+# 
3
+# Copyright © 2019 Jacky Alciné <jacky.is@black.af>
4
+# 
5
+# This file belongs to the Koype project.
6
+# 
7
+# This program is free software: you can redistribute it and/or modify
8
+# it under the terms of the GNU Affero General Public License as published by
9
+# the Free Software Foundation, either version 3 of the License, or
10
+# (at your option) any later version.
11
+# 
12
+# This program is distributed in the hope that it will be useful,
13
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
+# GNU Affero General Public License for more details.
16
+# 
17
+# You should have received a copy of the GNU Affero General Public License
18
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
1 19
 defmodule Koype.Repo.OtpSecret do
2 20
   @moduledoc "Logic for OTP secrets."
3 21
   @secret_age 60 * 60 * 24 * 30

+ 18
- 0
lib/repo/relme.ex View File

@@ -1,3 +1,21 @@
1
+# Koype: a IndieWeb-focused, single-tenant website engine for people.
2
+# 
3
+# Copyright © 2019 Jacky Alciné <jacky.is@black.af>
4
+# 
5
+# This file belongs to the Koype project.
6
+# 
7
+# This program is free software: you can redistribute it and/or modify
8
+# it under the terms of the GNU Affero General Public License as published by
9
+# the Free Software Foundation, either version 3 of the License, or
10
+# (at your option) any later version.
11
+# 
12
+# This program is distributed in the hope that it will be useful,
13
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
+# GNU Affero General Public License for more details.
16
+# 
17
+# You should have received a copy of the GNU Affero General Public License
18
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
1 19
 defmodule Koype.Repo.RelMe do
2 20
   use Koype.Web, :model
3 21
 

+ 18
- 0
lib/repo/setting.ex View File

@@ -1,3 +1,21 @@
1
+# Koype: a IndieWeb-focused, single-tenant website engine for people.
2
+# 
3
+# Copyright © 2019 Jacky Alciné <jacky.is@black.af>
4
+# 
5
+# This file belongs to the Koype project.
6
+# 
7
+# This program is free software: you can redistribute it and/or modify
8
+# it under the terms of the GNU Affero General Public License as published by
9
+# the Free Software Foundation, either version 3 of the License, or
10
+# (at your option) any later version.
11
+# 
12
+# This program is distributed in the hope that it will be useful,
13
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
+# GNU Affero General Public License for more details.
16
+# 
17
+# You should have received a copy of the GNU Affero General Public License
18
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
1 19
 defmodule Koype.Repo.Setting do
2 20
   use Ecto.Schema
3 21
   import Ecto.Changeset

+ 18
- 0
lib/repo/webmention.ex View File

@@ -1,3 +1,21 @@
1
+# Koype: a IndieWeb-focused, single-tenant website engine for people.
2
+# 
3
+# Copyright © 2019 Jacky Alciné <jacky.is@black.af>
4
+# 
5
+# This file belongs to the Koype project.
6
+# 
7
+# This program is free software: you can redistribute it and/or modify
8
+# it under the terms of the GNU Affero General Public License as published by
9
+# the Free Software Foundation, either version 3 of the License, or
10
+# (at your option) any later version.
11
+# 
12
+# This program is distributed in the hope that it will be useful,
13
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
+# GNU Affero General Public License for more details.
16
+# 
17
+# You should have received a copy of the GNU Affero General Public License
18
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
1 19
 defmodule Koype.Repo.Webmention do
2 20
   use Koype.Web, :model
3 21
   use Arc.Ecto.Schema

+ 18
- 0
lib/storage/image.ex View File

@@ -1,3 +1,21 @@
1
+# Koype: a IndieWeb-focused, single-tenant website engine for people.
2
+# 
3
+# Copyright © 2019 Jacky Alciné <jacky.is@black.af>
4
+# 
5
+# This file belongs to the Koype project.
6
+# 
7
+# This program is free software: you can redistribute it and/or modify
8
+# it under the terms of the GNU Affero General Public License as published by
9
+# the Free Software Foundation, either version 3 of the License, or
10
+# (at your option) any later version.
11
+# 
12
+# This program is distributed in the hope that it will be useful,
13
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
+# GNU Affero General Public License for more details.
16
+# 
17
+# You should have received a copy of the GNU Affero General Public License
18
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
1 19
 defmodule Koype.Storage.Image do
2 20
   use Arc.Definition
3 21
   use Arc.Ecto.Definition

+ 18
- 0
lib/storage/json.ex View File

@@ -1,3 +1,21 @@
1
+# Koype: a IndieWeb-focused, single-tenant website engine for people.
2
+# 
3
+# Copyright © 2019 Jacky Alciné <jacky.is@black.af>
4
+# 
5
+# This file belongs to the Koype project.
6
+# 
7
+# This program is free software: you can redistribute it and/or modify
8
+# it under the terms of the GNU Affero General Public License as published by
9
+# the Free Software Foundation, either version 3 of the License, or
10
+# (at your option) any later version.
11
+# 
12
+# This program is distributed in the hope that it will be useful,
13
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
+# GNU Affero General Public License for more details.
16
+# 
17
+# You should have received a copy of the GNU Affero General Public License
18
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
1 19
 defmodule Koype.Storage.Json do
2 20
   @moduledoc """
3 21
   Stores JSON information to disk.

+ 18
- 0
lib/storage/video.ex View File

@@ -1,3 +1,21 @@
1
+# Koype: a IndieWeb-focused, single-tenant website engine for people.
2
+# 
3
+# Copyright © 2019 Jacky Alciné <jacky.is@black.af>
4
+# 
5
+# This file belongs to the Koype project.
6
+# 
7
+# This program is free software: you can redistribute it and/or modify
8
+# it under the terms of the GNU Affero General Public License as published by
9
+# the Free Software Foundation, either version 3 of the License, or
10
+# (at your option) any later version.
11
+# 
12
+# This program is distributed in the hope that it will be useful,
13
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
+# GNU Affero General Public License for more details.
16
+# 
17
+# You should have received a copy of the GNU Affero General Public License
18
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
1 19
 defmodule Koype.Storage.Video do
2 20
   use Arc.Definition
3 21
   use Arc.Ecto.Definition

+ 20
- 1
mix.exs View File

@@ -1,3 +1,21 @@
1
+# Koype: a IndieWeb-focused, single-tenant website engine for people.
2
+# 
3
+# Copyright © 2019 Jacky Alciné <jacky.is@black.af>
4
+# 
5
+# This file belongs to the Koype project.
6
+# 
7
+# This program is free software: you can redistribute it and/or modify
8
+# it under the terms of the GNU Affero General Public License as published by
9
+# the Free Software Foundation, either version 3 of the License, or
10
+# (at your option) any later version.
11
+# 
12
+# This program is distributed in the hope that it will be useful,
13
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
+# GNU Affero General Public License for more details.
16
+# 
17
+# You should have received a copy of the GNU Affero General Public License
18
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
1 19
 defmodule Koype.Mixfile do
2 20
   use Mix.Project
3 21
 
@@ -6,6 +24,7 @@ defmodule Koype.Mixfile do
6 24
   def project do
7 25
     [
8 26
       app: :koype,
27
+      name: "Koype",
9 28
       version: @version,
10 29
       elixir: "~> 1.6",
11 30
       elixirc_paths: elixirc_paths(Mix.env()),
@@ -80,7 +99,7 @@ defmodule Koype.Mixfile do
80 99
       {:ecto, "~> 2.2.0"},
81 100
       {:ex_aws, "~> 2.0"},
82 101
       {:ex_aws_s3, "~> 2.0"},
83
-      {:ex_doc, ">= 0.0.0", only: :dev},
102
+      {:ex_doc, ">= 0.19.0", only: :dev},
84 103
       {:ex_image_info, "~> 0.2.3"},
85 104
       {:ex_machina, "~> 2.2", only: :test},
86 105
       {:excoveralls, "~> 0.8", only: :test},

+ 1
- 0
mix.lock View File

@@ -55,6 +55,7 @@
55 55
   "jason": {:hex, :jason, "1.1.2", "b03dedea67a99223a2eaf9f1264ce37154564de899fd3d8b9a21b1a6fd64afe7", [:mix], [{:decimal, "~> 1.0", [hex: :decimal, repo: "hexpm", optional: true]}], "hexpm"},
56 56
   "jose": {:hex, :jose, "1.8.4", "7946d1e5c03a76ac9ef42a6e6a20001d35987afd68c2107bcd8f01a84e75aa73", [:mix, :rebar3], [{:base64url, "~> 0.0.1", [hex: :base64url, repo: "hexpm", optional: false]}], "hexpm"},
57 57
   "jsx": {:hex, :jsx, "2.8.3", "a05252d381885240744d955fbe3cf810504eb2567164824e19303ea59eef62cf", [:mix, :rebar3], [], "hexpm"},
58
+  "licensir": {:hex, :licensir, "0.2.7", "ad902c337560ccd70de843e5b208c1db08ba2f879ee01c9389023b779131f30a", [:mix], [], "hexpm"},
58 59
   "logster": {:hex, :logster, "0.10.0", "5ba89528f1b143328c2ef2050ced34e4f0c981482a1cfab94393139a9b5189b6", [:mix], [{:jason, "~> 1.1", [hex: :jason, repo: "hexpm", optional: false]}, {:plug, "~> 1.0", [hex: :plug, repo: "hexpm", optional: false]}], "hexpm"},
59 60
   "makeup": {:hex, :makeup, "0.5.5", "9e08dfc45280c5684d771ad58159f718a7b5788596099bdfb0284597d368a882", [:mix], [{:nimble_parsec, "~> 0.4", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm"},
60 61
   "makeup_elixir": {:hex, :makeup_elixir, "0.10.0", "0f09c2ddf352887a956d84f8f7e702111122ca32fbbc84c2f0569b8b65cbf7fa", [:mix], [{:makeup, "~> 0.5.5", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm"},

+ 4
- 0
package.json View File

@@ -91,6 +91,10 @@
91 91
     ],
92 92
     "*.scss": [
93 93
       "stylelint --fix"
94
+    ],
95
+    "*.ex": [
96
+      "scripts/license-update.sh",
97
+      "git add"
94 98
     ]
95 99
   }
96 100
 }

+ 30
- 0
priv/repo/seeds/entry.exs View File

@@ -1,3 +1,33 @@
1
+# Koype: a IndieWeb-focused, single-tenant website engine for people.
2
+# 
3
+# Copyright © 2019 Jacky Alciné <jacky.is@black.af>
4
+# 
5
+# This program is free software: you can redistribute it and/or modify
6
+# it under the terms of the GNU Affero General Public License as published by
7
+# the Free Software Foundation, either version 3 of the License, or
8
+# (at your option) any later version.
9
+# 
10
+# This program is distributed in the hope that it will be useful,
11
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
+# GNU Affero General Public License for more details.
14
+# 
15
+# You should have received a copy of the GNU Affero General Public License
16
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
17
+# Copyright © 2019 Jacky Alcine <yo@jacky.wtf>
18
+# 
19
+# This program is free software: you can redistribute it and/or modify
20
+# it under the terms of the GNU Affero General Public License as published by
21
+# the Free Software Foundation, either version 3 of the License, or
22
+# (at your option) any later version.
23
+# 
24
+# This program is distributed in the hope that it will be useful,
25
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
26
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
27
+# GNU Affero General Public License for more details.
28
+# 
29
+# You should have received a copy of the GNU Affero General Public License
30
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
1 31
 import Seedex
2 32
 
3 33
 seed Koype.Repo.Entry, fn entry ->

+ 3
- 0
scripts/license-update.sh View File

@@ -0,0 +1,3 @@
1
+#!/usr/bin/env sh
2
+
3
+licensing apply lib/**/*\.ex web/**/*\.ex mix.exs .credo.exs .formatter.exs -r --force

+ 18
- 0
web/channels/user_socket.ex View File

@@ -1,3 +1,21 @@
1
+# Koype: a IndieWeb-focused, single-tenant website engine for people.
2
+# 
3
+# Copyright © 2019 Jacky Alciné <jacky.is@black.af>
4
+# 
5
+# This file belongs to the Koype project.
6
+# 
7
+# This program is free software: you can redistribute it and/or modify
8
+# it under the terms of the GNU Affero General Public License as published by
9
+# the Free Software Foundation, either version 3 of the License, or
10
+# (at your option) any later version.
11
+# 
12
+# This program is distributed in the hope that it will be useful,
13
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
+# GNU Affero General Public License for more details.
16
+# 
17
+# You should have received a copy of the GNU Affero General Public License
18
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
1 19
 defmodule Koype.Web.UserSocket do
2 20
   use Phoenix.Socket
3 21
 

+ 18
- 0
web/controllers/auth_controller.ex View File

@@ -1,3 +1,21 @@
1
+# Koype: a IndieWeb-focused, single-tenant website engine for people.
2
+# 
3
+# Copyright © 2019 Jacky Alciné <jacky.is@black.af>
4
+# 
5
+# This file belongs to the Koype project.
6
+# 
7
+# This program is free software: you can redistribute it and/or modify
8
+# it under the terms of the GNU Affero General Public License as published by
9
+# the Free Software Foundation, either version 3 of the License, or
10
+# (at your option) any later version.
11
+# 
12
+# This program is distributed in the hope that it will be useful,
13
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
+# GNU Affero General Public License for more details.
16
+# 
17
+# You should have received a copy of the GNU Affero General Public License
18
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
1 19
 defmodule Koype.Web.AuthController do
2 20
   use Koype.Web, :controller
3 21
   alias Koype.Repo.OtpSecret

+ 18
- 0
web/controllers/category_controller.ex View File

@@ -1,3 +1,21 @@
1
+# Koype: a IndieWeb-focused, single-tenant website engine for people.
2
+# 
3
+# Copyright © 2019 Jacky Alciné <jacky.is@black.af>
4
+# 
5
+# This file belongs to the Koype project.
6
+# 
7
+# This program is free software: you can redistribute it and/or modify
8
+# it under the terms of the GNU Affero General Public License as published by
9
+# the Free Software Foundation, either version 3 of the License, or
10
+# (at your option) any later version.
11
+# 
12
+# This program is distributed in the hope that it will be useful,
13
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
+# GNU Affero General Public License for more details.
16
+# 
17
+# You should have received a copy of the GNU Affero General Public License
18
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
1 19
 defmodule Koype.Web.CategoryController do
2 20
   use Koype.Web, :controller
3 21
 

+ 18
- 0
web/controllers/entry_controller.ex View File

@@ -1,3 +1,21 @@
1
+# Koype: a IndieWeb-focused, single-tenant website engine for people.
2
+# 
3
+# Copyright © 2019 Jacky Alciné <jacky.is@black.af>
4
+# 
5
+# This file belongs to the Koype project.
6
+# 
7
+# This program is free software: you can redistribute it and/or modify
8
+# it under the terms of the GNU Affero General Public License as published by
9
+# the Free Software Foundation, either version 3 of the License, or
10
+# (at your option) any later version.
11
+# 
12
+# This program is distributed in the hope that it will be useful,
13
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
+# GNU Affero General Public License for more details.
16
+# 
17
+# You should have received a copy of the GNU Affero General Public License
18
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
1 19
 defmodule Koype.Web.EntryController do
2 20
   use Koype.Web, :controller
3 21
   alias Koype.Repo.Entry

+ 18
- 0
web/controllers/fallback_controller.ex View File

@@ -1,3 +1,21 @@
1
+# Koype: a IndieWeb-focused, single-tenant website engine for people.
2
+# 
3
+# Copyright © 2019 Jacky Alciné <jacky.is@black.af>
4
+# 
5
+# This file belongs to the Koype project.
6
+# 
7
+# This program is free software: you can redistribute it and/or modify
8
+# it under the terms of the GNU Affero General Public License as published by
9
+# the Free Software Foundation, either version 3 of the License, or
10
+# (at your option) any later version.
11
+# 
12
+# This program is distributed in the hope that it will be useful,
13
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
+# GNU Affero General Public License for more details.
16
+# 
17
+# You should have received a copy of the GNU Affero General Public License
18
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
1 19
 defmodule Koype.Web.FallbackController do
2 20
   use Phoenix.Controller
3 21
 

+ 18
- 0
web/controllers/page_controller.ex View File

@@ -1,3 +1,21 @@
1
+# Koype: a IndieWeb-focused, single-tenant website engine for people.
2
+# 
3
+# Copyright © 2019 Jacky Alciné <jacky.is@black.af>
4
+# 
5
+# This file belongs to the Koype project.
6
+# 
7
+# This program is free software: you can redistribute it and/or modify
8
+# it under the terms of the GNU Affero General Public License as published by
9
+# the Free Software Foundation, either version 3 of the License, or
10
+# (at your option) any later version.
11
+# 
12
+# This program is distributed in the hope that it will be useful,
13
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
+# GNU Affero General Public License for more details.
16
+# 
17
+# You should have received a copy of the GNU Affero General Public License
18
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
1 19
 defmodule Koype.Web.PageController do
2 20
   use Koype.Web, :controller
3 21
 

+ 18
- 0
web/controllers/settings_controller.ex View File

@@ -1,3 +1,21 @@
1
+# Koype: a IndieWeb-focused, single-tenant website engine for people.
2
+# 
3
+# Copyright © 2019 Jacky Alciné <jacky.is@black.af>
4
+# 
5
+# This file belongs to the Koype project.
6
+# 
7
+# This program is free software: you can redistribute it and/or modify
8
+# it under the terms of the GNU Affero General Public License as published by
9
+# the Free Software Foundation, either version 3 of the License, or
10
+# (at your option) any later version.
11
+# 
12
+# This program is distributed in the hope that it will be useful,
13
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
+# GNU Affero General Public License for more details.
16
+# 
17
+# You should have received a copy of the GNU Affero General Public License
18
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
1 19
 defmodule Koype.Web.SettingsController do
2 20
   use Koype.Web, :controller
3 21
   alias Koype.Repo

+ 18
- 0
web/controllers/setup_controller.ex View File

@@ -1,3 +1,21 @@
1
+# Koype: a IndieWeb-focused, single-tenant website engine for people.
2
+# 
3
+# Copyright © 2019 Jacky Alciné <jacky.is@black.af>
4
+# 
5
+# This file belongs to the Koype project.
6
+# 
7
+# This program is free software: you can redistribute it and/or modify
8
+# it under the terms of the GNU Affero General Public License as published by
9
+# the Free Software Foundation, either version 3 of the License, or
10
+# (at your option) any later version.
11
+# 
12
+# This program is distributed in the hope that it will be useful,
13
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
+# GNU Affero General Public License for more details.
16
+# 
17
+# You should have received a copy of the GNU Affero General Public License
18
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
1 19
 defmodule Koype.Web.SetupController do
2 20
   use Koype.Web, :controller
3 21
   alias Koype.{Setup, Profile}

+ 18
- 0
web/views/auth_view.ex View File

@@ -1,3 +1,21 @@
1
+# Koype: a IndieWeb-focused, single-tenant website engine for people.
2
+# 
3
+# Copyright © 2019 Jacky Alciné <jacky.is@black.af>
4
+# 
5
+# This file belongs to the Koype project.
6
+# 
7
+# This program is free software: you can redistribute it and/or modify
8
+# it under the terms of the GNU Affero General Public License as published by
9
+# the Free Software Foundation, either version 3 of the License, or
10
+# (at your option) any later version.
11
+# 
12
+# This program is distributed in the hope that it will be useful,
13
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
+# GNU Affero General Public License for more details.
16
+# 
17
+# You should have received a copy of the GNU Affero General Public License
18
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
1 19
 defmodule Koype.Web.AuthView do
2 20
   use Koype.Web, :view
3 21
 

+ 18
- 0
web/views/category_view.ex View File

@@ -1,3 +1,21 @@
1
+# Koype: a IndieWeb-focused, single-tenant website engine for people.
2
+# 
3
+# Copyright © 2019 Jacky Alciné <jacky.is@black.af>
4
+# 
5
+# This file belongs to the Koype project.
6
+# 
7
+# This program is free software: you can redistribute it and/or modify
8
+# it under the terms of the GNU Affero General Public License as published by
9
+# the Free Software Foundation, either version 3 of the License, or
10
+# (at your option) any later version.
11
+# 
12
+# This program is distributed in the hope that it will be useful,
13
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
+# GNU Affero General Public License for more details.
16
+# 
17
+# You should have received a copy of the GNU Affero General Public License
18
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
1 19
 defmodule Koype.Web.CategoryView do
2 20
   use Koype.Web, :view
3 21
   alias Koype.Repo.Category

+ 18
- 0
web/views/entry_view.ex View File

@@ -1,3 +1,21 @@
1
+# Koype: a IndieWeb-focused, single-tenant website engine for people.
2
+# 
3
+# Copyright © 2019 Jacky Alciné <jacky.is@black.af>
4
+# 
5
+# This file belongs to the Koype project.
6
+# 
7
+# This program is free software: you can redistribute it and/or modify
8
+# it under the terms of the GNU Affero General Public License as published by
9
+# the Free Software Foundation, either version 3 of the License, or
10
+# (at your option) any later version.
11
+# 
12
+# This program is distributed in the hope that it will be useful,
13
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
+# GNU Affero General Public License for more details.
16
+# 
17
+# You should have received a copy of the GNU Affero General Public License
18
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
1 19
 defmodule Koype.Web.EntryView do
2 20
   use Koype.Web, :view
3 21
   alias Koype.Repo.Entry

+ 18
- 0
web/views/error_view.ex View File

@@ -1,3 +1,21 @@
1
+# Koype: a IndieWeb-focused, single-tenant website engine for people.
2
+# 
3
+# Copyright © 2019 Jacky Alciné <jacky.is@black.af>
4
+# 
5
+# This file belongs to the Koype project.
6
+# 
7
+# This program is free software: you can redistribute it and/or modify
8
+# it under the terms of the GNU Affero General Public License as published by
9
+# the Free Software Foundation, either version 3 of the License, or
10
+# (at your option) any later version.
11
+# 
12
+# This program is distributed in the hope that it will be useful,
13
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
+# GNU Affero General Public License for more details.
16
+# 
17
+# You should have received a copy of the GNU Affero General Public License
18
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
1 19
 defmodule Koype.Web.ErrorView do
2 20
   use Koype.Web, :view
3 21
 

+ 18
- 0
web/views/layout_view.ex View File

@@ -1,3 +1,21 @@
1
+# Koype: a IndieWeb-focused, single-tenant website engine for people.
2
+# 
3
+# Copyright © 2019 Jacky Alciné <jacky.is@black.af>
4
+# 
5
+# This file belongs to the Koype project.
6
+# 
7
+# This program is free software: you can redistribute it and/or modify
8
+# it under the terms of the GNU Affero General Public License as published by
9
+# the Free Software Foundation, either version 3 of the License, or
10
+# (at your option) any later version.
11
+# 
12
+# This program is distributed in the hope that it will be useful,
13
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
+# GNU Affero General Public License for more details.
16
+# 
17
+# You should have received a copy of the GNU Affero General Public License
18
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
1 19
 defmodule Koype.Web.LayoutView do
2 20
   use Koype.Web, :view
3 21
 

+ 18
- 0
web/views/page_view.ex View File

@@ -1,3 +1,21 @@
1
+# Koype: a IndieWeb-focused, single-tenant website engine for people.
2
+# 
3
+# Copyright © 2019 Jacky Alciné <jacky.is@black.af>
4
+# 
5
+# This file belongs to the Koype project.
6
+# 
7
+# This program is free software: you can redistribute it and/or modify
8
+# it under the terms of the GNU Affero General Public License as published by
9
+# the Free Software Foundation, either version 3 of the License, or
10
+# (at your option) any later version.
11
+# 
12
+# This program is distributed in the hope that it will be useful,
13
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
+# GNU Affero General Public License for more details.
16
+# 
17
+# You should have received a copy of the GNU Affero General Public License
18
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
1 19
 defmodule Koype.Web.PageView do
2 20
   use Koype.Web, :view
3 21
 

+ 18
- 0
web/views/settings_view.ex View File

@@ -1,3 +1,21 @@
1
+# Koype: a IndieWeb-focused, single-tenant website engine for people.
2
+# 
3
+# Copyright © 2019 Jacky Alciné <jacky.is@black.af>
4
+# 
5
+# This file belongs to the Koype project.
6
+# 
7
+# This program is free software: you can redistribute it and/or modify
8
+# it under the terms of the GNU Affero General Public License as published by
9
+# the Free Software Foundation, either version 3 of the License, or
10
+# (at your option) any later version.
11
+# 
12
+# This program is distributed in the hope that it will be useful,
13
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
+# GNU Affero General Public License for more details.
16
+# 
17
+# You should have received a copy of the GNU Affero General Public License
18
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
1 19
 defmodule Koype.Web.SettingsView do
2 20
   use Koype.Web, :view
3 21
 

+ 18
- 0
web/views/setup_view.ex View File

@@ -1,3 +1,21 @@
1
+# Koype: a IndieWeb-focused, single-tenant website engine for people.
2
+# 
3
+# Copyright © 2019 Jacky Alciné <jacky.is@black.af>
4
+# 
5
+# This file belongs to the Koype project.
6
+# 
7
+# This program is free software: you can redistribute it and/or modify
8
+# it under the terms of the GNU Affero General Public License as published by
9
+# the Free Software Foundation, either version 3 of the License, or
10
+# (at your option) any later version.
11
+# 
12
+# This program is distributed in the hope that it will be useful,
13
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
+# GNU Affero General Public License for more details.
16
+# 
17
+# You should have received a copy of the GNU Affero General Public License
18
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
1 19
 defmodule Koype.Web.SetupView do
2 20
   use Koype.Web, :view
3 21
   import Plug.Conn, only: [get_session: 2]

Loading…
Cancel
Save