Commit graph

713 commits

Author SHA1 Message Date
Vyr Cossont
ce805031ce Mastodon API: support pinned param for account statuses 2023-08-01 23:39:06 +00:00
Vyr Cossont
2bcb5dcd73 Report max reactions in Mastodon instance API 2023-07-29 10:42:47 -07:00
Kainoa Kanter
3824083446 Merge branch 'gh-fa55fa5e/10491/unknown/feat/relevance-search' into 'develop'
[PR]: Meilisearch relevancy search

See merge request firefish/firefish!10491
2023-07-29 03:03:29 +00:00
ThatOneCalculator
f973b1986f
feat: 🔒 allow admins to reset users' 2FA and passkeys
ref: https://frfsh.plus.st/notes/9hqswpwiwjaihcgo
2023-07-28 17:57:32 -07:00
ThatOneCalculator
97d395ce2a
chore: 🎨 format 2023-07-25 23:46:43 -07:00
ThatOneCalculator
03ddc970d5
fix: 🐛 don't show server stats in widget if reporting is disabled
Closes #10527
2023-07-25 21:49:09 -07:00
Laura Hausmann
466917feb6
Improve /api/v1/instance accuracy 2023-07-25 21:25:37 -07:00
Kainoa Kanter
8ff1c9b722 Merge branch 'mastodon-api-emoji-reactions' into 'develop'
Support proposed Glitch emoji reactions API

Closes #10537

See merge request firefish/firefish!10532
2023-07-25 01:24:35 +00:00
ThatOneCalculator
548de39e3c
fix? 2023-07-24 17:28:47 -07:00
Vyr Cossont
5fedfd2599 Support proposed Glitch emoji reactions API
Fixes #10537
2023-07-24 17:11:10 -07:00
ThatOneCalculator
7ef99069e6
fix: 🐛 revert last part of c0eac56355 to properly paginate antennas/notes query 2023-07-24 16:27:53 -07:00
ThatOneCalculator
bec0aae418
chore: 🎨 format 2023-07-24 16:03:58 -07:00
ThatOneCalculator
c0eac56355
fix: 🐛 antenna notes pagination repeat 2023-07-23 14:13:46 -07:00
Vyr Cossont
0394f22c4f
fix: convert quoted status and reaction accounts in Mastodon API layer 2023-07-21 16:23:15 -07:00
Kainoa Kanter
a2d81850e4 Merge branch 'fix/10332-internal-error-on-nonexisting-emoji' into 'develop'
Throw a proper ApiError with statusCode 404 when GETting a non-existing emoji.

Closes #10332

See merge request firefish/firefish!10523
2023-07-21 23:14:49 +00:00
yumeko
c9526b9a31 Throw a proper ApiError with statusCode 404 when GETting a non-existing emoji.
Closes #10332
2023-07-21 23:15:53 +03:00
yumeko
47f5cb2e76 Don't leak error details (including the stack trace) upon API call failure to client in production 2023-07-21 22:32:39 +03:00
ThatOneCalculator
e35b38302d
refactor: ♻️ new git repo
for real this time
2023-07-21 09:44:29 -07:00
ThatOneCalculator
03077a157e
refactor: ♻️ create drive file endpoint
Adjusts ratelimit to 250 files every 10 minutes, fixes error text, fixes reused variable name.
2023-07-20 16:13:10 -07:00
ThatOneCalculator
b4ed4dec47
v1.0.1 2023-07-19 15:20:22 -07:00
ThatOneCalculator
1eea65386e
docs: 📝 codeberg -> gitlab 2023-07-19 10:22:36 -07:00
ThatOneCalculator
aa24a3c172
links 2023-07-19 08:58:59 -07:00
ThatOneCalculator
8422807031
Merge branch 'rebrand' into develop 2023-07-19 08:55:26 -07:00
ThatOneCalculator
7dce4cccae
repo 2023-07-18 21:21:48 -07:00
PrivateGER
457bd6c2e5 Fix broken lists 2023-07-18 16:00:48 +02:00
PrivateGER
933a4d2aa2 Use MS sorting rather than manual JS 2023-07-18 02:12:33 +02:00
Kainoa Kanter
19934043c5 Merge pull request '[PR]: Store antennas in cache instead of postgres' (#10442) from refactor/antennas-in-cache into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10442
2023-07-17 16:51:33 +00:00
Kainoa Kanter
15ffb8cf40 feat: verify links with rel=me (#10506)
Adds Mastodon-style `rel=me` link verification, and creates a background job to verify said links

Closes #9341

![image](/attachments/861e01eb-660f-4c62-8d83-d824cb79da48)

Co-authored-by: ThatOneCalculator <kainoa@t1c.dev>
Co-authored-by: Namekuji <nmkj@waah.day>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10506
2023-07-17 05:31:34 +00:00
naskya
04c43ed3ef Merge branch 'develop' into refactor/antennas-in-cache 2023-07-17 04:43:03 +00:00
ThatOneCalculator
ff08ec77ee
we be renamin 2023-07-15 14:21:17 -07:00
ThatOneCalculator
bb22a671b0
Merge branch 'develop' into rebrand 2023-07-15 14:15:01 -07:00
ThatOneCalculator
63b3666b71
chore: 🎨 format 2023-07-15 00:06:53 -07:00
ThatOneCalculator
9f38f8bbca
refactor: 🗑️ deprecate DB_MAX_NOTE_TEXT_LENGTH 2023-07-15 00:06:42 -07:00
ThatOneCalculator
e3b8c05e47
docs: 📝 descriptions for notes/children+conversation endpoints 2023-07-14 23:16:50 -07:00
ThatOneCalculator
c467db2ea2
refactor: ♻️ correct params for notes/children+conversion 2023-07-14 23:13:32 -07:00
ThatOneCalculator
c99480529f
feat: seperate sponsors and patrons 2023-07-14 23:03:07 -07:00
ThatOneCalculator
7be2b16215
remove trailing slash 2023-07-14 18:38:53 -07:00
PrivateGER
c9c183fec0 formattin~ 2023-07-15 02:15:10 +02:00
PrivateGER
f1c18e0b09 Allow relevancy sorting of Meilisearch 2023-07-15 02:10:42 +02:00
ThatOneCalculator
8f650e6e3a
refactor: 🚸 filter out https on recommended instances 2023-07-14 16:51:21 -07:00
naskya
22102d6c38
fix 2023-07-13 16:10:13 +00:00
naskya
8ad603cba8 Merge branch 'develop' into chore/findOneBy-exist 2023-07-13 15:44:42 +00:00
naskya
ae70f02bb0
More replacements which aren't covered by f4870d6e 2023-07-13 15:31:40 +00:00
naskya
65dcff4a66
Stop using the name 'exist' if it's not for existence check 2023-07-13 15:28:44 +00:00
okayurisotto
f4870d6e4a
refactor(backend): Use exist to check existence
* refactor(backend): 存在確認の`findOneBy`を`exist`に置き換え

* cleanup
2023-07-13 15:08:36 +00:00
naskya
c9448bb281 fix #10483 (2) 2023-07-13 13:25:45 +00:00
naskya
f451e97505 fix #10483 2023-07-13 13:22:50 +00:00
ThatOneCalculator
64322721b6
refactor: ♻️ substr -> slice 2023-07-12 23:56:22 -07:00
ThatOneCalculator
9a68e77f92
refactor: add aria labels to buttons 2023-07-12 23:22:58 -07:00
naskya
6129d6eddb chore: forgot to remove a debug print stmt? 2023-07-13 00:45:26 +00:00
ThatOneCalculator
6b5d9f7454
fix: 🐛 give donation link in non-admin meta 2023-07-12 00:54:28 -07:00
ThatOneCalculator
acb6edef3c
refactor: ♻️ donation link logic, add link to /about, fix typo 2023-07-11 23:42:59 -07:00
ThatOneCalculator
04224bfc66
feat: Donation pop-up with optional admin link
Co-authored-by: Syuilo <syuilotan@yahoo.co.jp>
2023-07-11 23:23:44 -07:00
Laura Hausmann
3e1b112f92
Revert "Revert "[mastodon-client] send actual default post privacy instead of fallback value""
This reverts commit a441cc6067.
2023-07-10 18:58:15 +02:00
ThatOneCalculator
a441cc6067
Revert "[mastodon-client] send actual default post privacy instead of fallback value"
This reverts commit 81145570fcb458a9239f88fe9a273d6c2f1810d3.
2023-07-09 20:12:16 -07:00
Laura Hausmann
ec06d62d61
[mastodon-client] return 404 instead of 401 on NO_SUCH_NOTE 2023-07-09 23:39:48 +02:00
Laura Hausmann
28992db8e4
[server/api/notes/show] return correct status code 2023-07-09 23:35:23 +02:00
Laura Hausmann
76a10c0a54
[mastodon-client] fix posting polls 2023-07-09 23:32:01 +02:00
marcin mikołajczak
49c68c7d07 Merge branch 'develop' into develop 2023-07-09 16:36:13 +00:00
marcin mikołajczak
d2e4769fa4 Fix Mastodon compatibility string
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-07-09 18:22:53 +02:00
naskya
8442beae92
fix reactions_not_public condition 2023-07-09 13:58:58 +00:00
ThatOneCalculator
6d7acfb7d3
Merge remote-tracking branch 'origin/develop' into refactor/antennas-in-cache 2023-07-08 23:21:14 -07:00
ThatOneCalculator
c33313f797
typo 2023-07-08 16:10:12 -07:00
ThatOneCalculator
01064dd3c6
fix 2023-07-08 15:59:47 -07:00
Laura Hausmann
12d7246bf3
[mastodon-client] media caption support 2023-07-09 00:58:45 +02:00
Laura Hausmann
2775ab324e
[mastodon-client] send actual default post privacy instead of fallback value 2023-07-09 00:58:45 +02:00
Laura Hausmann
68ec7b3d94
[mastodon-client] remove reactions reply 2023-07-09 00:58:44 +02:00
Kainoa Kanter
523bf79273 Merge pull request '[PR]: feat: notify announcements with popups' (#10441) from naskya/calckey:feat/announcement-popup into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10441
2023-07-08 22:41:54 +00:00
Syuilo
fd1bc109d9
refactor: antenna notes in cache
Co-authored-by: Kainoa Kanter <kainoa@t1c.dev>
2023-07-08 15:39:42 -07:00
Syuilo
5e85d0761e
fix: 🐛 prevent creation of empty antennas 2023-07-08 15:06:59 -07:00
naskya
83d754c7ed
Merge remote-tracking branch 'calckey/develop' into feat/announcement-popup 2023-07-08 19:52:49 +00:00
naskya
75b352b721
Add showPopup, isGoodNews & Update API 2023-07-08 19:48:20 +00:00
Laura Hausmann
f6f00100a4
increase ap/show rate limit 2023-07-08 04:11:41 +02:00
Laura Hausmann
42ac4510eb
[mastodon-client] handle user & note URLs in search 2023-07-08 04:11:41 +02:00
Laura Hausmann
7ffe30dcdb
[mastodon-client] fix search type param 2023-07-07 23:47:21 +02:00
Laura Hausmann
2d47cdf53f
[mastodon-client] implement favorited_by 2023-07-07 22:42:39 +02:00
Laura Hausmann
72887f54e0
[mastodon-client] populate user details for all notes 2023-07-07 21:50:42 +02:00
Laura Hausmann
7b64cf9688
[mastodon-client] Fix global timeline 2023-07-07 19:30:23 +02:00
ThatOneCalculator
cf83065254
chore: 🎨 format 2023-07-06 12:47:33 -07:00
Laura Hausmann
c2e17fbaff [mastodon-client] code cleanup, remove redundant function calls 2023-07-06 02:16:51 +00:00
Laura Hausmann
a8f58fa912 [mastodon-client] general code cleanup, rename megalodon package 2023-07-06 02:16:51 +00:00
Laura Hausmann
2a5edd3ca1 [mastodon-client] Disable emoji reactions preview in TL 2023-07-06 02:16:51 +00:00
Laura Hausmann
9fd44339e8 [mastodon-client] Code formatting pass 2023-07-06 02:16:51 +00:00
Laura Hausmann
6606abd7d9 [mastodon-client] Fix posting statuses with attachment 2023-07-06 02:16:51 +00:00
Laura Hausmann
147e9f1e89 [mastodon-client] megalodon compat changes 2023-07-06 02:16:51 +00:00
Laura Hausmann
c0517b57a0 [mastodon-client] Add endpoints 2023-07-06 02:16:51 +00:00
ThatOneCalculator
092c439993
refactor: ♻️ read patrons from local file for fallback instead of empty array 2023-07-05 18:44:29 -07:00
ThatOneCalculator
c392697b4c
chore: 🎨 format 2023-07-02 23:08:33 -07:00
Namekuji
af4797bb8e
throw error if failed 2023-07-02 22:25:58 -04:00
Namekuji
355b1e0063
no more infinity caches 2023-07-02 22:14:31 -04:00
Namekuji
76c9422d53
add cache prefix 2023-07-02 20:55:20 -04:00
Syuilo
703f28a1ab
refactor: make identicons and server metrics optional
Co-authored-by: Kainoa Kanter <kainoa@t1c.dev>
2023-07-02 16:23:11 -07:00
ThatOneCalculator
6da5a5b89b
find and replace 2023-07-02 15:18:30 -07:00
ThatOneCalculator
17009455da
fix: 🐛 patron timeout 2023-07-02 00:16:01 -07:00
ThatOneCalculator
d9af4f3a27
refactor: 🚩 post editing is no longer experimental 2023-07-01 20:00:51 -07:00
ThatOneCalculator
6fbe508403
refactor: ♻️ force patrons update on about-calckey 2023-06-30 23:33:54 -07:00
ThatOneCalculator
24cc6a925d
feat: introduce local user select dialog
Used for selecting group members and proxy account.

Closes #7987, API change: users/search-by-username-and-host now takes `maxDaysSinceLastActive` parameter and doesn't have any active threshold anymore by default.
2023-06-29 19:53:46 -07:00
ThatOneCalculator
5343c14184
fix: 🐛 don't convert time since epoch for ratelimit
https://calckey.social/notes/9gkasnzglmi07rpa
2023-06-28 23:04:40 -07:00
Laura Hausmann
b20298ceb1
Fix AP resolver history on reuse for authorized fetch 2023-06-28 02:30:00 +02:00
Laura Hausmann
d9fc2c061d
Add signature to remote note lookup 2023-06-28 01:05:25 +02:00