Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
2791ce9a
Commit
2791ce9a
authored
Dec 23, 2018
by
kaniini
Browse files
add license boilerplate to pleroma core
parent
005b4194
Changes
137
Hide whitespace changes
Inline
Side-by-side
lib/pleroma/PasswordResetToken.ex
View file @
2791ce9a
# Pleroma: A lightweight social networking server
# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule
Pleroma
.
PasswordResetToken
do
use
Ecto
.
Schema
...
...
lib/pleroma/activity.ex
View file @
2791ce9a
# Pleroma: A lightweight social networking server
# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule
Pleroma
.
Activity
do
use
Ecto
.
Schema
alias
Pleroma
.
{
Repo
,
Activity
,
Notification
}
...
...
lib/pleroma/application.ex
View file @
2791ce9a
# Pleroma: A lightweight social networking server
# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule
Pleroma
.
Application
do
use
Application
import
Supervisor
.
Spec
...
...
lib/pleroma/captcha/captcha.ex
View file @
2791ce9a
# Pleroma: A lightweight social networking server
# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule
Pleroma
.
Captcha
do
use
GenServer
...
...
lib/pleroma/captcha/captcha_service.ex
View file @
2791ce9a
# Pleroma: A lightweight social networking server
# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule
Pleroma
.
Captcha
.
Service
do
@doc
"""
Request new captcha from a captcha service.
...
...
lib/pleroma/captcha/kocaptcha.ex
View file @
2791ce9a
# Pleroma: A lightweight social networking server
# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule
Pleroma
.
Captcha
.
Kocaptcha
do
alias
Calendar
.
DateTime
...
...
lib/pleroma/config.ex
View file @
2791ce9a
# Pleroma: A lightweight social networking server
# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule
Pleroma
.
Config
do
defmodule
Error
do
defexception
[
:message
]
...
...
lib/pleroma/emails/mailer.ex
View file @
2791ce9a
# Pleroma: A lightweight social networking server
# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule
Pleroma
.
Mailer
do
use
Swoosh
.
Mailer
,
otp_app:
:pleroma
end
lib/pleroma/emails/user_email.ex
View file @
2791ce9a
# Pleroma: A lightweight social networking server
# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule
Pleroma
.
UserEmail
do
@moduledoc
"User emails"
...
...
lib/pleroma/emoji.ex
View file @
2791ce9a
# Pleroma: A lightweight social networking server
# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule
Pleroma
.
Emoji
do
@moduledoc
"""
The emojis are loaded from:
...
...
lib/pleroma/filter.ex
View file @
2791ce9a
# Pleroma: A lightweight social networking server
# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule
Pleroma
.
Filter
do
use
Ecto
.
Schema
import
Ecto
.
{
Changeset
,
Query
}
...
...
lib/pleroma/formatter.ex
View file @
2791ce9a
# Pleroma: A lightweight social networking server
# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule
Pleroma
.
Formatter
do
alias
Pleroma
.
User
alias
Pleroma
.
Web
.
MediaProxy
...
...
lib/pleroma/gopher/server.ex
View file @
2791ce9a
# Pleroma: A lightweight social networking server
# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule
Pleroma
.
Gopher
.
Server
do
use
GenServer
require
Logger
...
...
lib/pleroma/html.ex
View file @
2791ce9a
# Pleroma: A lightweight social networking server
# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule
Pleroma
.
HTML
do
alias
HtmlSanitizeEx
.
Scrubber
...
...
lib/pleroma/http/connection.ex
View file @
2791ce9a
# Pleroma: A lightweight social networking server
# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule
Pleroma
.
HTTP
.
Connection
do
@moduledoc
"""
Connection for http-requests.
...
...
lib/pleroma/http/http.ex
View file @
2791ce9a
# Pleroma: A lightweight social networking server
# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule
Pleroma
.
HTTP
do
@moduledoc
"""
...
...
lib/pleroma/http/request_builder.ex
View file @
2791ce9a
# Pleroma: A lightweight social networking server
# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule
Pleroma
.
HTTP
.
RequestBuilder
do
@moduledoc
"""
Helper functions for building Tesla requests
...
...
lib/pleroma/list.ex
View file @
2791ce9a
# Pleroma: A lightweight social networking server
# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule
Pleroma
.
List
do
use
Ecto
.
Schema
import
Ecto
.
{
Changeset
,
Query
}
...
...
lib/pleroma/mime.ex
View file @
2791ce9a
# Pleroma: A lightweight social networking server
# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule
Pleroma
.
MIME
do
@moduledoc
"""
Returns the mime-type of a binary and optionally a normalized file-name.
...
...
lib/pleroma/notification.ex
View file @
2791ce9a
# Pleroma: A lightweight social networking server
# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule
Pleroma
.
Notification
do
use
Ecto
.
Schema
alias
Pleroma
.
{
User
,
Activity
,
Notification
,
Repo
,
Object
}
...
...
Prev
1
2
3
4
5
…
7
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment