Compare commits

..

54 commits

Author SHA1 Message Date
559feac56e 最新develop取得 (#5) (#6)
Co-authored-by: Oneric <oneric@oneric.stub>
Co-authored-by: Floatingghost <hannah@coffee-and-dreams.uk>
Co-authored-by: floatingghost <hannah@coffee-and-dreams.uk>
Co-authored-by: cevado <cevado@tutanota.com>
Co-authored-by: TudbuT <tudbut@tudbut.de>
Co-authored-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Reviewed-on: sliver/akkoma#5
Reviewed-on: sliver/akkoma#6
2024-12-22 05:52:32 +00:00
bd2e27d4a0 Calkey系からのMFM受付 (#4)
Co-authored-by: sino <sinosho@gmail.com>
Reviewed-on: sliver/akkoma#4
2024-12-22 03:47:56 +00:00
sino
295eb6395e メタデータ関連の追加位置を調整 2024-03-31 19:18:34 +09:00
sino
b58346385a ソフトウェア名を復旧 2024-03-31 17:53:07 +09:00
sino
1669ebec71 先ほどと同様 2024-03-31 17:38:55 +09:00
sino
e15d79294a リポジトリ周りのそれっぽいところを更新 2024-03-31 17:32:05 +09:00
06bfc5b9eb ForForkMerge (#2)
Reviewed-on: sliver/akkoma#2
2024-03-31 06:59:35 +00:00
f0602406ee stable (#1)
Some checks are pending
ci/woodpecker/pr/build-amd64 Pipeline is pending
ci/woodpecker/pr/build-arm64 Pipeline is pending
ci/woodpecker/pr/docs Pipeline is pending
ci/woodpecker/pr/lint Pipeline is pending
ci/woodpecker/pr/test Pipeline is pending
Reviewed-on: sliver/akkoma#1
2024-03-31 04:47:02 +00:00
sino
a052b05141 コメントを追加 2024-03-31 13:41:22 +09:00
d71d52302c Merge branch 'develop' into stable
Some checks are pending
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/build-arm64 Pipeline was successful
ci/woodpecker/push/build-amd64 Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/tag/build-amd64 Pipeline is pending
ci/woodpecker/tag/build-arm64 Pipeline is pending
ci/woodpecker/tag/docs Pipeline is pending
ci/woodpecker/tag/lint Pipeline is pending
ci/woodpecker/tag/test Pipeline is pending
2024-03-30 13:00:13 +00:00
11c305b64b Merge branch 'develop' into stable
Some checks are pending
ci/woodpecker/tag/build-amd64 Pipeline is pending
ci/woodpecker/tag/build-arm64 Pipeline is pending
ci/woodpecker/tag/docs Pipeline is pending
ci/woodpecker/tag/lint Pipeline is pending
ci/woodpecker/tag/test Pipeline is pending
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/build-arm64 Pipeline was successful
ci/woodpecker/push/build-amd64 Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
2024-03-30 11:45:18 +00:00
14515d8d4a Merge branch 'develop' into stable 2024-03-30 11:44:44 +00:00
a03f3a9d89 Merge branch 'develop' into stable
Some checks are pending
ci/woodpecker/tag/build-amd64 Pipeline is pending
ci/woodpecker/tag/build-arm64 Pipeline is pending
ci/woodpecker/tag/docs Pipeline is pending
ci/woodpecker/tag/lint Pipeline is pending
ci/woodpecker/tag/test Pipeline is pending
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/build-arm64 Pipeline was successful
ci/woodpecker/push/build-amd64 Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
2024-02-24 13:57:20 +00:00
sino
9a91b5e669 投稿ページとユーザーページのOGP対応 2023-10-19 16:49:59 +09:00
sino
86f05e0683 バブルソーシャル 2023-10-15 20:13:08 +09:00
sino
72186aaf4d テーマカラー指定 2023-10-11 21:05:09 +09:00
ebfb617b26 Update .woodpecker/build-amd64.yml
All checks were successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/build-arm64 Pipeline was successful
ci/woodpecker/push/build-amd64 Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
2023-08-26 13:41:52 +00:00
0af8e93135 bump version
Some checks are pending
ci/woodpecker/tag/build-amd64 Pipeline is pending
ci/woodpecker/tag/build-arm64 Pipeline is pending
ci/woodpecker/tag/docs Pipeline is pending
ci/woodpecker/tag/test Pipeline is pending
ci/woodpecker/push/build-amd64 Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/build-arm64 Pipeline was successful
2023-08-16 10:44:57 +01:00
98a64ab145 Mix format 2023-08-16 00:35:08 +01:00
94d1af2c4c Disallow nil hosts in should_federate 2023-08-16 00:34:59 +01:00
43c5fd5db0 bullseye build (you owe me for this one)
All checks were successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/build-arm64 Pipeline was successful
ci/woodpecker/push/build-amd64 Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
2023-08-08 22:43:24 +01:00
c887dd4f2e Merge branch 'develop' into stable
Some checks failed
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/build-amd64 Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/push/build-arm64 Pipeline was successful
ci/woodpecker/tag/test Pipeline was successful
ci/woodpecker/tag/build-amd64 Pipeline failed
ci/woodpecker/tag/docs unknown status
ci/woodpecker/tag/build-arm64 Pipeline failed
2023-08-06 15:13:13 +01:00
ba1ed37edf Merge branch 'develop' into stable
Some checks are pending
ci/woodpecker/tag/build-amd64 Pipeline is pending
ci/woodpecker/tag/build-arm64 Pipeline is pending
ci/woodpecker/tag/docs Pipeline is pending
ci/woodpecker/tag/test Pipeline is pending
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/build-amd64 Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/push/build-arm64 Pipeline was successful
2023-08-05 14:12:59 +01:00
f1de9bd9ba Merge branch 'develop' into stable
Some checks are pending
ci/woodpecker/tag/build-amd64 Pipeline is pending
ci/woodpecker/tag/build-arm64 Pipeline is pending
ci/woodpecker/tag/docs Pipeline is pending
ci/woodpecker/tag/test Pipeline is pending
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/build-amd64 Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/push/build-arm64 Pipeline was successful
2023-08-05 13:37:21 +01:00
a4bab7bdfa Merge branch 'develop' into stable 2023-08-05 13:36:43 +01:00
a7dbca885f Merge branch 'develop' into stable
Some checks failed
ci/woodpecker/tag/build-amd64 Pipeline is pending
ci/woodpecker/tag/build-arm64 Pipeline is pending
ci/woodpecker/tag/docs Pipeline is pending
ci/woodpecker/tag/test Pipeline is pending
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/build-amd64 Pipeline failed
ci/woodpecker/push/docs unknown status
ci/woodpecker/push/build-arm64 Pipeline failed
2023-08-05 13:26:54 +01:00
9d7c877de0 Merge branch 'develop' into stable
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-05-26 20:46:56 +01:00
39a878f530 Merge branch 'develop' into stable
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-05-26 12:07:05 +01:00
dcee1b109b Merge branch 'develop' into stable
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
2023-05-26 12:05:11 +01:00
9a8373a3f5 Merge branch 'develop' into stable
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-05-23 14:10:19 +01:00
ccae7ef824 Merge branch 'develop' into stable
Some checks are pending
ci/woodpecker/tag/woodpecker Pipeline is pending
ci/woodpecker/push/woodpecker Pipeline was successful
2023-04-14 18:10:07 +01:00
8504878187 Merge branch 'develop' into stable 2023-04-14 18:09:32 +01:00
fef4bae006 Merge branch 'develop' into stable
Some checks are pending
ci/woodpecker/tag/woodpecker Pipeline is pending
ci/woodpecker/push/woodpecker Pipeline was successful
2023-03-11 18:25:07 +00:00
86dcf273c5 Merge branch 'develop' into stable
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline failed
2023-03-11 17:26:58 +00:00
36cb19dbf2 Merge branch 'develop' into stable
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-02-15 22:13:30 +00:00
71d08991ea Merge branch 'develop' into stable
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-02-11 11:19:42 +00:00
d756607112 Merge branch 'develop' into stable
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-02-11 10:59:04 +00:00
367bc9c818 Merge branch 'develop' into stable
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-02-11 10:57:01 +00:00
81caf77223 Merge branch 'develop' into stable
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/tag/woodpecker Pipeline is pending
2023-02-11 10:49:01 +00:00
551f92dd50 Merge branch 'develop' into stable 2023-02-11 10:43:22 +00:00
d9508474b6 Merge pull request 'clean-up docs to avoid version-mismatches in BE and FE in new installs (for stable)' (#378) from stefan230/akkoma:stable into stable
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #378
2022-12-19 10:59:34 +00:00
f676007b18 clean-up docs to avoid mismatches in BE and FE. Clearly state that stable-versions are installed
Some checks are pending
ci/woodpecker/pr/woodpecker Pipeline is pending
2022-12-16 17:23:31 +01:00
63f2d1cbef Merge branch 'develop' into stable
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-12-10 14:50:35 +00:00
f91b896731 Merge branch 'develop' into stable
Some checks are pending
ci/woodpecker/tag/woodpecker Pipeline is pending
ci/woodpecker/push/woodpecker Pipeline was successful
2022-11-12 15:34:19 +00:00
af90a4e51b Merge branch 'develop' into stable
Some checks are pending
ci/woodpecker/tag/woodpecker Pipeline is pending
ci/woodpecker/push/woodpecker Pipeline was successful
2022-10-14 12:49:46 +01:00
5e7be063c7 Merge branch 'develop' into stable
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
2022-10-08 12:12:52 +01:00
a1317bf541 use on-release tag
Some checks failed
ci/woodpecker/tag/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline failed
2022-09-20 13:36:28 +01:00
a0dd670e68 ensure we use the same OTP for all releases 2022-09-20 13:34:50 +01:00
11d29d27b8 Ensure migrations succeed (#216)
Some checks failed
ci/woodpecker/tag/woodpecker Pipeline is pending
ci/woodpecker/push/woodpecker Pipeline failed
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: #216
2022-09-16 12:53:45 +01:00
44da806a77 Merge branch 'develop' into stable
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/tag/woodpecker Pipeline was successful
2022-09-10 17:13:49 +01:00
d7c805b0bb Merge pull request '2022.09 stable' (#208) from develop into stable
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #208
2022-09-10 16:06:18 +00:00
c52982e9c5 add finch outbound proxy support (#158)
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #158
2022-08-24 16:03:17 +01:00
2e433e106f generate-keys-at-registration-time (#181)
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #181
2022-08-24 15:39:30 +01:00
bfbe4e8dce Merge pull request 'stable release' (#160) from develop into stable
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #160
2022-08-12 15:25:01 +00:00
11 changed files with 51 additions and 10 deletions

View file

@ -77,6 +77,7 @@ steps:
- *clean
- echo "import Config" > config/prod.secret.exs
- *setup-hex
- *mix-clean
- *tag-build
- mix deps.get --only prod
- mix release --path release

View file

@ -362,6 +362,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## 2022.08
### Removed
- Non-finch HTTP adapters. `:tesla, :adapter` is now highly recommended to be set to the default.
## 2022.08
### Added
- extended runtime module support, see config cheatsheet
- quote posting; quotes are limited to public posts

View file

@ -30,8 +30,8 @@ theme:
extra_css:
- css/extra.css
repo_name: 'AkkomaGang/akkoma'
repo_url: 'https://akkoma.dev/AkkomaGang/akkoma'
repo_name: 'sliver/akkoma'
repo_url: 'https://akkoma.dev/sliver/akkoma'
extra:
repo_icon: gitea

View file

@ -38,10 +38,10 @@
{% endif %}
{% if page and page.url.startswith('backend') %}
{% set repo_url = "https://akkoma.dev/AkkomaGang/akkoma" %}
{% set repo_url = "https://akkoma.dev/sliver/akkoma" %}
{% set repo_name = "AkkomaGang/akkoma" %}
{% elif page and page.url.startswith('frontend') %}
{% set repo_url = "https://akkoma.dev/AkkomaGang/akkoma-fe" %}
{% set repo_url = "https://akkoma.dev/sliver/akkoma-fe" %}
{% set repo_name = "AkkomaGang/akkoma-fe" %}
{% else %}
{% set repo_url = config.repo_url %}

View file

@ -180,10 +180,11 @@ defp fix(data) do
|> fix_tag()
|> fix_replies()
|> fix_source()
|> Transmogrifier.fix_content_map()
|> fix_misskey_content()
|> Transmogrifier.fix_attachments()
|> Transmogrifier.fix_emoji()
|> Transmogrifier.fix_content_map()
# |> Transmogrifier.fix_content_map()
|> fix_content_map_languages()
end

View file

@ -37,7 +37,7 @@ def redirector_with_meta(conn, params) do
tags = build_tags(conn, params)
preloads = preload_data(conn, params)
title = "<title>#{Pleroma.Config.get([:instance, :name])}</title>"
title = "<title>akkoma.flyerdonut</title>"
response =
index_content

View file

@ -1,6 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
# メモ:タイムライン取得系です
defmodule Pleroma.Web.MastodonAPI.TimelineController do
use Pleroma.Web, :controller
@ -176,7 +177,7 @@ def bubble(%{assigns: %{user: user}} = conn, params) do
Logger.debug("TimelineController.bubble: fetching activities")
activities =
activities_from_bubble =
params
|> Map.put(:type, ["Create"])
|> Map.put(:blocking_user, user)
@ -187,6 +188,35 @@ def bubble(%{assigns: %{user: user}} = conn, params) do
Logger.debug("TimelineController.bubble: rendering")
#ここからホーム取得の追加
followed_hashtags =
user
|> User.followed_hashtags()
|> Enum.map(& &1.id)
params =
params
|> Map.put(:type, ["Create", "Announce"])
|> Map.put(:blocking_user, user)
|> Map.put(:muting_user, user)
|> Map.put(:reply_filtering_user, user)
|> Map.put(:announce_filtering_user, user)
|> Map.put(:user, user)
|> Map.put(:local_only, params[:local])
|> Map.put(:followed_hashtags, followed_hashtags)
|> Map.delete(:local)
%{nickname: nickname} = user
Logger.debug("TimelineController.home: #{nickname} - fetching activities")
activities_from_user_following =
[user.ap_id | User.following(user)]
|> ActivityPub.fetch_activities(params)
|> Enum.reverse()
#取得結果を結合
activities = activities_from_bubble ++ activities_from_user_following
conn
|> add_link_headers(activities)
|> render("index.json",

View file

@ -107,7 +107,9 @@ defp build_attachments(%{data: %{"attachment" => attachments}}) do
"image" ->
[
{:meta, [property: "og:image", content: MediaProxy.url(url["href"])], []},
{:meta, [property: "og:image:alt", content: attachment["name"]], []}
{:meta, [property: "og:image", content: MediaProxy.url(url["href"])], []},
# note用のタグを追加
{:meta, [property: "note:card", content: "summary_large_image"], []}
| acc
]
|> maybe_add_dimensions(url)

View file

@ -79,7 +79,8 @@ def get_nodeinfo("2.0") do
local: !Config.restrict_unauthenticated_access?(:timelines, :local),
bubble: !Config.restrict_unauthenticated_access?(:timelines, :bubble)
},
federatedTimelineAvailable: Config.get([:instance, :federated_timeline_available], true)
federatedTimelineAvailable: Config.get([:instance, :federated_timeline_available], true),
themeColor: "#ffebf1",
}
}
end

View file

@ -1,6 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
# メモ:ルーターです
defmodule Pleroma.Web.Router do
use Pleroma.Web, :router

View file

@ -18,7 +18,7 @@ def project do
# Docs
name: "Akkoma",
homepage_url: "https://akkoma.dev/",
source_url: "https://akkoma.dev/AkkomaGang/akkoma",
source_url: "https://akkoma.dev/sliver/akkoma",
docs: [
source_url_pattern: "https://akkoma.dev/AkkomaGang/akkoma/blob/develop/%{path}#L%{line}",
logo: "priv/static/logo-512.png",