Commit graph

2334 commits

Author SHA1 Message Date
Kainoa Kanter
373ed7028e Merge branch 'fix/unicode-15' into 'develop'
fix: ⬆️ switch from twemoji-parser to @twemoji/parser


See merge request firefish/firefish!10645
2023-12-04 04:45:42 +00:00
Kainoa Kanter
1d870fa78d fix: ⬆️ switch from twemoji-parser to @twemoji/parser 2023-12-04 04:45:42 +00:00
blueb
e1dcba9aba fix ignoring person._misskey_summary on updating remote profiles 2023-12-04 04:45:33 +00:00
mei23
831b3d4ee2
fix: filter featured collection
Co-authored-by: naskya <m@naskya.net>
2023-12-02 20:25:36 +09:00
naskya
e8b21b593a
chore: remove unneeded files 2023-12-02 06:23:37 +09:00
naskya
7d5bbfa180
Merge branch 'develop' into language 2023-12-01 07:16:58 +09:00
Essem
fe16b6e41d
fix: Don't provide lang when no language is selected 2023-11-29 00:32:23 -06:00
naskya
3570406b05
fix: nodeinfo 2.0 compliance 2023-11-29 04:22:11 +09:00
naskya
7803aa80d0
chore: format 2023-11-29 04:05:57 +09:00
Essem
8555496146
feat: Add "no language" option to language picker 2023-11-28 10:47:48 -06:00
naskya
b87a28622a
Revert "fix: ♻️ add data.localOnly back to dontFederateInitially check"
Closes #10817

This reverts commit 31ccedf177.
2023-11-29 00:48:10 +09:00
ThatOneCalculator
a6aa7d2b74
chore: 🔥 remove unused ID methods 2023-11-26 12:37:35 -08:00
ThatOneCalculator
8d3c35c0c6
chore: lint import order 2023-11-26 12:33:46 -08:00
Kainoa Kanter
c35dbe2645 Merge branch 'more-links' into 'develop'
feat: ability to pin custom pages to the help menu

Co-authored-by: naskya <m@naskya.net>

See merge request firefish/firefish!10640
2023-11-26 20:14:02 +00:00
naskya
e7e6ae69e0 feat: ability to pin custom pages to the help menu 2023-11-26 20:14:02 +00:00
ThatOneCalculator
2f7b3070ee
chore: format 2023-11-26 12:06:21 -08:00
Laura Hausmann
3272b908c6
fix: 🔒 Fix HTTP signature validation
Co-authored-by: perillamint <perillamint@silicon.moe>
Co-authored-by: yunochi <yuno@yunochi.com>
2023-11-26 12:04:17 -08:00
naskya
dadb45f609
fix: syntax error
at least this compiles
2023-11-27 01:11:07 +09:00
ThatOneCalculator
a256f48b74
fix 2023-11-24 18:06:24 -08:00
ThatOneCalculator
a8b33b5415
fix: 🐛 SOMETHING_HAPPENED_IN_PROMISE when LANGS isn't found 2023-11-24 18:04:06 -08:00
naskya
f8e935b120
Merge branch 'develop' into firefish-language 2023-11-22 22:02:27 +09:00
naskya
24deab1743
chore: remove unused dependencies 2023-11-18 19:21:23 +09:00
naskya
2dcc46a9e3
chore: remove language detection from backend 2023-11-17 17:50:20 +09:00
naskya
558867dac5
Merge branch 'develop' into firefish-language 2023-11-17 16:54:48 +09:00
naskya
2d9d6e9fb7
chore: lint 2023-11-17 05:18:19 +09:00
naskya
97bb495636
chore: upgrade dependencies (except for @swc/core and megalodon) 2023-11-17 05:15:02 +09:00
naskya
845f08893f
fix: upgrade AiScript!
There are braking changes in the AiScript syntax, so existing plugins must alse be upgraded
Also, I didn't include the function that can call remote servers' API (which is present in the latest Misskey)

Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
2023-11-17 05:04:05 +09:00
ThatOneCalculator
31ccedf177
fix: ♻️ add data.localOnly back to dontFederateInitially check
ref: https://git.joinfirefish.org/firefish/firefish/-/merge_requests/10639#note_2651
2023-11-12 10:46:28 -08:00
nakkaa
8ef1130330
fix: add missing entry in manifest.json so that PWA can use it 2023-11-11 02:20:33 +09:00
cg sama
7fa737e8b8 fix import notes federated initially
Co-authored-by: CGsama <CGsama@outlook.com>
2023-11-10 15:32:23 +00:00
naskya
7323f4f8a1 Merge branch 're2-update' into 'develop'
Fix build on node 21

Co-authored-by: Jegler <jegler@heckin.how>

See merge request firefish/firefish!10635
2023-11-07 14:02:26 +00:00
Jegler
fbfa4cd41f Fix build on node 21 2023-11-07 14:02:25 +00:00
naskya
70503d698f
fix: reactions_not_public condition 2023-10-31 14:00:54 +09:00
naskya
adee17b85a
chore: organize backend imports
* remove unused/duplicate imports
* replace paths like "../../../define.js" to be more readable
* add missing @types packages
2023-10-30 18:06:08 +09:00
ThatOneCalculator
b8a85257a0
refactor: 🔥 remove unused reference to MisskeyClient 2023-10-29 14:02:14 -07:00
ThatOneCalculator
981165ae8b
feat: Support for _misskey_summary
Co-authored-by: kakkokari-gtyih <daisho7308+f@gmail.com>
ref: https://github.com/misskey-dev/misskey/pull/12184
2023-10-29 13:37:28 -07:00
naskya
cb53dab8bd fix: check isIndexable in built-in post search 2023-10-29 10:03:07 +00:00
Kainoa Kanter
abceee2823 Merge branch 'develop' into 'develop'
Fix use of wrong library for CBOR authentication object

Co-authored-by: PrivateGER <privateger@privateger.me>

See merge request firefish/firefish!10629
2023-10-27 17:57:23 +00:00
naskya
9f1a7d90c6 remove integrations from nodeinfo 2023-10-27 15:56:57 +00:00
naskya
27d7e456cd fix: targetLang is xx-yy or xx_yy 2023-10-26 03:03:38 +00:00
naskya
993340bae6
fix: overlooked fix in cdf839bc 2023-10-23 18:32:49 +09:00
PrivateGER
64b83ddb9f
Fix use of wrong library for CBOR authentication object 2023-10-22 21:23:52 +02:00
naskya
e81ed199ae
Revert "chore: upgrade biome + lint & format"
This reverts commit a1cd9f73a1.
2023-10-22 17:33:40 +09:00
ThatOneCalculator
a1cd9f73a1
chore: upgrade biome + lint & format 2023-10-19 17:10:30 -07:00
ThatOneCalculator
53949b668a
docs: 📝 Misskey -> Firefish in documentation/comments/WebAuthn name 2023-10-19 17:01:02 -07:00
naskya
d1bb6e02e9
hotfix: don't use upstream megalodon for now 2023-10-19 04:59:38 +09:00
naskya
f8db9119c6
Merge branch 'develop' into firefish-language 2023-10-17 12:44:55 +09:00
ThatOneCalculator
d09a77cd2a
chore: format 2023-10-16 18:56:15 -07:00
Erin Shepherd
c4ec2d0942 fix: Refetch user keys when HTTP Signature validation fails
Co-authored-by: Erin Shepherd <erin.shepherd@e43.eu>
2023-10-17 01:27:26 +00:00
naskya
bdf3311402
fix: cache muted words 2023-10-17 07:55:07 +09:00
naskya
ae637ec85b
fix: consider hard mutes in antennas 2023-10-17 07:34:19 +09:00
naskya
93769b79b1
chore: minor refactor of check-word-mute 2023-10-17 07:28:58 +09:00
naskya
3b9f161251
chore: minor refactor of check-hit-antenna 2023-10-17 07:14:01 +09:00
naskya
2efb22de40
fix typo 2023-10-17 04:56:29 +09:00
naskya
cdf839bcc8 Remove integrations 2023-10-16 17:05:32 +00:00
Essem
6312935a54
fix: 🌐 Change Simplified/Traditional Chinese names 2023-10-15 12:55:51 -05:00
Essem
be163498c0
feat: 🌐 Add language picker to post form
This also refactors the langmap and makes many other small language-related changes to get it working.

Fixes #9692
2023-10-05 22:28:12 -05:00
naskya
92758a29f1
partially fix Mastodon API 2023-10-05 00:56:56 +09:00
Kainoa Kanter
92c45ff02f Merge branch 'refactor/upstream-megalodon' into 'develop'
refactor: ♻️ use upstream megalodon


See merge request firefish/firefish!10605
2023-10-03 07:54:13 +00:00
Kainoa Kanter
a9167c0265 refactor: ♻️ use upstream megalodon 2023-10-03 07:54:13 +00:00
ThatOneCalculator
af730e75b6
fix: 🐛 strange heart reaction behavior 2023-10-02 22:31:04 -07:00
naskya
b121e4bc9d
fix format/lint command 2023-10-03 01:32:36 +09:00
naskya
c3ffb4c52d
chore: add a description of an API parameter 2023-09-30 19:02:28 +09:00
naskya
789d05bed3
fix: this "else" is unneeded 2023-09-30 18:50:45 +09:00
ThatOneCalculator
01dd71c4d3
feat: 💄 Use Atkinson Hyperlegible as default font 2023-09-26 14:23:38 -07:00
ThatOneCalculator
cd7c10b7eb
refactor: 🍱 use webp for error images instead of avif
Ended up having better compression and wider compatibility
2023-09-25 20:57:14 -07:00
naskya
3ba12772d8
bring back Chinese cat mode 2023-09-24 18:12:29 +09:00
naskya
6d899518b3
chore: make language detection a reusable function in frontend as well 2023-09-24 17:58:21 +09:00
naskya
87c54575c1
filter out MFM syntaxes before detecting the post language 2023-09-24 17:50:23 +09:00
ThatOneCalculator
284795fdf5
fix: 🐛 when favorouting/unfavouriting with Mastodon API, send instance default reaction 2023-09-23 22:05:25 -07:00
Kainoa Kanter
081d723cff Merge branch 'refactor/firefishjs-imports' into 'develop'
Refactor: firefishjs imports


See merge request firefish/firefish!10607
2023-09-24 04:27:16 +00:00
Kainoa Kanter
9ea046c011 Refactor: firefishjs imports 2023-09-24 04:27:16 +00:00
naskya
0928a3d93a
chore: remove unused import 2023-09-24 12:38:17 +09:00
ThatOneCalculator
3ee3413006
feat: 🍱 new error images
ref: https://minazukey.uk/notes/9jzr3jsrwvcmlcjp
2023-09-23 08:42:33 -07:00
naskya
17d94c5ff7 fix: non-Firefish cats not being nyanified 2023-09-23 05:08:20 +00:00
Essem
22ef74d92c feat: Implement module player 2023-09-22 03:48:54 +00:00
ThatOneCalculator
260f444fb8
chore: 🎨 format 2023-09-21 20:21:15 -07:00
Essem
4aceb2e119
fix: 🐛 normalize post language strings
ref: !10603
NOTE: if you upgraded to 4a7bad11c6 but before this commit, manually download and run this migration: 0f5e09d3ae/packages/backend/migration/1695348946091-normalize-locales.js
2023-09-21 19:42:10 -07:00
Kainoa Kanter
012fe2c920 Revert "Merge branch 'fix/normalize-lang-locales' into 'develop'" 2023-09-22 02:36:57 +00:00
Essem
0efa3e170c Normalize post language strings 2023-09-22 02:33:56 +00:00
Essem
4a7bad11c6 feat: Add post language data to backend and API 2023-09-22 01:29:33 +00:00
Essem
bac39db74b Add contentMap to outgoing posts via language detection 2023-09-21 21:13:09 +00:00
ThatOneCalculator
6e8aa76f2d
chore: 🎨 format 2023-09-20 23:30:19 -07:00
ThatOneCalculator
d9274de0a7
refactor: ♻️ unessicary function 2023-09-20 22:53:00 -07:00
ThatOneCalculator
bbb2396d89
refactor: 💥 properly deprecate legacy reactions 2023-09-20 22:48:50 -07:00
ThatOneCalculator
ecb0956d20
refactor: 🔥 remove old tests 2023-09-20 22:43:55 -07:00
ThatOneCalculator
b13e0b0a54
Revert "refactor: 🔥 remove legacy reactions"
This reverts commit c119abc36c.
2023-09-20 22:42:37 -07:00
ThatOneCalculator
05b7fd0fc5
Merge branch 'develop' of git.joinfirefish.org:firefish/firefish into develop 2023-09-20 22:35:14 -07:00
ThatOneCalculator
baba9b068b
fix: 🐛 properly decode reaction 2023-09-20 22:35:10 -07:00
naskya
e31f86aa19 chore: change function name
I used `detectLanguage_` in client just because I wanted to use the name `detectLanguage` for another function (and the name `detect` sounds ambiguous)
2023-09-21 05:30:13 +00:00
ThatOneCalculator
238f80ae02
add back _misskey_quote & _misskey_vote extensions 2023-09-20 22:25:46 -07:00
ThatOneCalculator
f06aebca98
Revert "refactor: 🔥 remove _misskey_reaction and _misskey_votes"
This reverts commit b0be07fb0a.
2023-09-20 22:25:18 -07:00
ThatOneCalculator
06f7c8eb20
fix: 🐛 Add missing references to speakAsCat 2023-09-20 21:55:51 -07:00
ThatOneCalculator
b838331129
fix: 🐛 speakLikeCat -> speakAsCat 2023-09-20 21:29:08 -07:00
ThatOneCalculator
f81baa373c
chore: 🎨 format 2023-09-20 21:20:22 -07:00
ThatOneCalculator
7bb8473fc7
refactor: Make speakAsCat an ActivityPub extension
https://joinfirefish.org/ns/#speakascat
Closes #10744
2023-09-20 21:19:39 -07:00
ThatOneCalculator
b0be07fb0a
refactor: 🔥 remove _misskey_reaction and _misskey_votes
BREAKING: breaks poll federation with very old Misskey versions
2023-09-20 21:16:03 -07:00
ThatOneCalculator
a67fb5dc7a
refactor: 🔥 Remove _misskey_content and _misskey_quote
Should improve federation performance by removing duplicate content

BREAKING: Breaks MFM content and quote compatibility with Misskey before v12/v11(?)
2023-09-20 20:51:05 -07:00
ThatOneCalculator
c119abc36c
refactor: 🔥 remove legacy reactions
BREAKING: Breaks emoji reaction compatibility with Misskey versions before custom reactions were added (v9?)
2023-09-20 20:48:13 -07:00
ThatOneCalculator
70ad42c49c
fix: 🚑 downgrade swc to 1.3.78
Closes #10751
2023-09-20 10:17:00 -07:00
ThatOneCalculator
71ea5c4f93
rm langdetect 2023-09-19 17:18:00 -07:00
ThatOneCalculator
2a1f119944
rm src/@types/cld.d.ts 2023-09-19 17:16:56 -07:00
ThatOneCalculator
414f6df104
simplify 2023-09-19 17:15:13 -07:00
ThatOneCalculator
5964a10571
cld -> tinyld 2023-09-19 17:11:37 -07:00
cg sama
90f01edddc Adding language filter feature
Co-authored-by: CGsama <CGsama@outlook.com>
2023-09-20 00:07:41 +00:00
ThatOneCalculator
bf6b480f49
pin swc 2023-09-19 16:14:53 -07:00
Kainoa Kanter
e07c9e9e50 Merge branch 'fix/timeline-query' into 'develop'
fix: ⚗️ Fix variables?


See merge request firefish/firefish!10594
2023-09-19 22:36:05 +00:00
Kainoa Kanter
bb7f743127 fix: ⚗️ Fix variables? 2023-09-19 22:36:05 +00:00
ThatOneCalculator
1914e568bb
perf: use existing response 2023-09-17 21:08:28 -07:00
naskya
d004df52be
fix: "show replies in timeline" refactoring was not backward compatible 2023-09-16 12:20:23 +09:00
naskya
b4bb455c09
fix?: speakAsCat not being federated 2023-09-13 10:07:16 +09:00
naskya
b84a10a6ec
make word mutes case insensitive (close #10724) 2023-09-10 05:00:06 +09:00
Kainoa Kanter
4565867b8b perf: Replace JSDOM with Happy DOM 2023-09-08 03:24:01 +00:00
Kainoa Kanter
6d1965ce94 feat: indexable User property 2023-09-04 02:34:04 +00:00
ThatOneCalculator
5acb6c449d
chore: 🎨 format 2023-09-03 14:06:30 -07:00
naskya
f1451c659d
fix: require credentials in the notes/translate endpoint 2023-09-03 11:18:48 +09:00
ThatOneCalculator
7e0c9ddc11
artifacting 2023-09-02 12:23:58 -07:00
Namekuji
fc97614782 fix: release redis locks 2023-09-02 19:22:13 +00:00
ThatOneCalculator
7cdd6af262
fix: 🐛 smaller maskable icon 2023-09-02 12:15:15 -07:00
ThatOneCalculator
d1a4bbf597
maskable icon 2023-09-02 11:55:53 -07:00
ThatOneCalculator
86cad1056c
docs: 🔒 robots.txt asset
Closes #10640, #10608
2023-09-02 11:44:31 -07:00
ThatOneCalculator
f72c9b818c
fix: 💡 biome still uses rome-ignore 2023-09-02 11:44:31 -07:00
Kainoa Kanter
684d4344ba
perf: seperate web and queue workers
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2023-09-02 11:42:47 -07:00
ThatOneCalculator
ea954bdf4c
fix: 🐛 natural PWA orientation
fixes chrome mobile rotating screen even when device rotation is off
2023-09-02 09:01:02 -07:00
ThatOneCalculator
1deeb78878
build: ♻️ Rome -> Biome
Rome is now discontinued, and Biome has taken its place
2023-09-01 21:16:14 -07:00
ThatOneCalculator
68dea6f0c3
fix: 🐛 more strange unlock calls 2023-09-01 19:26:53 -07:00
ThatOneCalculator
805230341e
fix: 🐛 unlock undefined 2023-09-01 19:19:42 -07:00
ThatOneCalculator
4ed0b60621
refactor: 🥚 ansi art for master.ts 2023-09-01 19:12:25 -07:00
ThatOneCalculator
4ea3cbd7a9
refactor: 🥚 new ansi art 2023-09-01 19:12:17 -07:00
Kainoa Kanter
bbfc9bc832
Merge branch 'feature/manifest-scope' into 'develop'
feat: add `"scope": "/"` to the web app manifest

See merge request firefish/firefish!10564
2023-09-01 19:11:49 -07:00
ThatOneCalculator
9ea5cc3f5f
fix: ♻️ Manifest (icons, name, orientation)
Closes #10694
2023-09-01 19:11:42 -07:00
ThatOneCalculator
2fb65cdd86
chore: ⬆️ up deps (properly) 2023-09-01 19:11:27 -07:00
ThatOneCalculator
a75a19cd17
chore: 🚨 lint megalodon 2023-09-01 16:36:33 -07:00
ThatOneCalculator
34e2f7ada6
chore: 🔧 linting config 2023-09-01 16:32:41 -07:00
ThatOneCalculator
2442a7535d
Revert "perf: delete transformedOptions key -> assign undefined with key literal"
This reverts commit 652ecd2d16.
2023-09-01 09:42:38 -07:00
Kainoa Kanter
9ea14ceed6 Merge branch 'traditional-chinese-post-translation' into 'develop'
feat: post translation in Traditional Chinese

Closes #9827

See merge request firefish/firefish!10580
2023-08-30 21:01:23 +00:00
Namekuji
d0e92c69cd fix: remove native-utils from migration's dependencies 2023-08-30 20:59:40 +00:00
naskya
82e5114576
feat: post translation in Traditional Chinese 2023-08-30 19:39:14 +09:00
naskya
e9361a9907 clean up debug prints 2023-08-27 04:02:02 +00:00
Essem
32fdddb20a
fix: 🐛 caching wrong DNS entry when federating with an instance that cannot properly handle inbound IPv6 requests 2023-08-26 16:33:21 -07:00
ThatOneCalculator
031170c56a
chore: 🎨 format 2023-08-26 16:30:30 -07:00
naskya
c51e6ad3ae update stop words 2023-08-26 05:33:29 +00:00
ThatOneCalculator
f309d17667
Revert "fix: 🐛 fix DNS lookup issue"
This reverts commit bd61468f2f.
2023-08-23 22:31:50 -07:00
ThatOneCalculator
bd61468f2f
fix: 🐛 fix DNS lookup issue
https://github.com/szmarczak/cacheable-lookup/pull/62
2023-08-23 22:21:44 -07:00
ThatOneCalculator
7047ddce3e
refactor: ♻️ types in AP kernel
This file seriously needs to be refactored properly...
2023-08-23 19:55:26 -07:00
ThatOneCalculator
8b57431ca8
chore: 🎨 format 2023-08-23 19:49:20 -07:00
ThatOneCalculator
a518f51814
fix: 🐛 cannot quote own note 2023-08-22 20:02:10 -07:00
ThatOneCalculator
91b1b5fb53
fix: 🔒 cannot change note visibility 2023-08-22 20:00:00 -07:00
ThatOneCalculator
c7f98e381c
fix: ✏️ "can not" -> "cannot" 2023-08-22 19:52:11 -07:00
ThatOneCalculator
652ecd2d16
perf: delete transformedOptions key -> assign undefined with key literal 2023-08-21 11:12:42 -07:00
Laura Hausmann
29bb1453fc
Fix local-only posts for timeline websocket stream 2023-08-19 20:59:21 -04:00
AAGaming
09d96c1a36
fix: change character limits to allow for long instance domains 2023-08-18 22:05:42 -04:00
EpicKitty
4a848adc34 fix: 🚑 thumbnail serving 2023-08-18 21:28:04 +00:00
Namekuji
dc2fde0a75
fix: remove brackets 2023-08-18 06:22:51 -04:00
Namekuji
ad93bc80f8
refactor: remove regex 2023-08-18 05:51:41 -04:00
Namekuji
c3944f49ef
fix: exclude ula and lla 2023-08-18 05:45:10 -04:00
Namekuji
cd75d65271
fix: exclude localhost 2023-08-18 05:01:19 -04:00
Namekuji
5520c6ff3d
fix: veiry url 2023-08-18 04:57:19 -04:00
Daniel Hernández
59e989c0bb Validate before delivering to keep federation working on valid inboxes 2023-08-17 04:41:27 +00:00
Essem
4174e3d070
Fix report emails and modmail sanitization 2023-08-15 16:16:25 -05:00
Essem
7d49af822a Add address bind config option 2023-08-15 03:44:06 +00:00
Vyr Cossont
6773ef711a Mastodon API: convert IDs in conversations 2023-08-14 12:18:57 -07:00
Namekuji
7b9f0f3687
chore: codeberg → gitlab 2023-08-13 09:06:00 -04:00
Kainoa Kanter
c4018c969c Merge branch 'Marie-develop-patch-33974' into 'develop'
feat: Fetch total posts of users on create/update

Closes #10652

See merge request firefish/firefish!10558
2023-08-12 01:00:29 +00:00
Marie Piontek
ee42edfccd feat: Fetch total posts of users on create/update 2023-08-12 01:00:29 +00:00
Kainoa Kanter
3e598c3ed0 Merge branch 'Marie-develop-patch-60099' into 'develop'
fix: updatePerson's Followings.update call not working if no sharedInbox

Closes #10650

See merge request firefish/firefish!10559
2023-08-12 00:45:51 +00:00
Marie Piontek
046fc88a6c fix: updatePerson's Followings.update call not working if no sharedInbox 2023-08-11 10:25:32 +00:00
ThatOneCalculator
cb424e37f5
fix: 🚸 make importing emoji packs clearer 2023-08-10 13:04:16 -07:00
ThatOneCalculator
ced8f56e34
fix: 🚑 proper conditional
I need sleep... or coffee
2023-08-09 19:46:56 -07:00
ThatOneCalculator
cf8a733927
refactor: 🚸 only index public posts 2023-08-09 19:39:01 -07:00
ThatOneCalculator
73dcf4f8fa
chore: 🎨 format 2023-08-08 18:03:21 -07:00
ThatOneCalculator
06fcef60a1
chore: ⬆️ up deps 2023-08-08 17:38:03 -07:00
ThatOneCalculator
dc8d17e50d
refactor: ♻️ better offline page 2023-08-08 17:18:51 -07:00
ThatOneCalculator
47fa0c68d9
fix: 🐛 null host meilisearch 2023-08-08 16:07:06 -07:00
naskya
3ffee23a3e delete 10 posts at once on account deletion 2023-08-07 22:08:51 +00:00
Kainoa Kanter
7bf4e3e839 Merge branch 'fix/antenna-pagination' into 'develop'
fix: antenna pagination

Closes #10535

See merge request firefish/firefish!10553
2023-08-07 16:45:38 +00:00
ThatOneCalculator
2448b2ce99
fix: 🐛 double-slash in proxy url 2023-08-06 12:30:00 -07:00
Namekuji
10e81de1a6
fix: add original id to the stream 2023-08-06 15:04:14 -04:00
Namekuji
1a34dee366
add migration to fix corrupted stream ids 2023-08-06 14:35:10 -04:00
Namekuji
738b4933ae
fix: generate stream id with timestamp 2023-08-06 02:34:44 -04:00
Kainoa Kanter
26fa212f18 Merge branch 'mastodon-api-quote_id' into 'develop'
Mastodon API: convert quote_id format

Closes #10600

See merge request firefish/firefish!10550
2023-08-02 00:45:40 +00:00
Vyr Cossont
0842ae0709 Mastodon API: convert quote_id format 2023-08-02 00:45:40 +00:00
ThatOneCalculator
72011f8f37
refactor: ♻️ MkGoogle uses local search 2023-08-01 17:45:22 -07:00
Vyr Cossont
ce805031ce Mastodon API: support pinned param for account statuses 2023-08-01 23:39:06 +00:00
Namekuji
5847e986fb
fix: call default user if empty. resolves #10604 2023-08-01 12:52:00 -04:00
CGsama
109ed0aa80 import all misskey self note thread and allow import multiple times to restore missing parts 2023-07-31 15:42:31 -04:00
Kainoa Kanter
6a9820da58 Merge branch 'feature/vscode-debug' into 'develop'
feat: backend debug in vscode

See merge request firefish/firefish!10541
2023-07-30 20:46:45 +00:00
Kainoa Kanter
3e024066a1 Merge branch 'fix-ios-video' into 'develop'
fix iOS video playback (fixes #10517)

Closes #10517

See merge request firefish/firefish!10540
2023-07-30 20:38:57 +00:00
John Regan
432f840efe fix iOS video playback (fixes #10517) 2023-07-30 20:38:57 +00:00
ThatOneCalculator
d76b4f2321
fix: 🐛 rel=me verification with multiple rels besides me
Closes #10595
2023-07-30 13:30:25 -07:00
Namekuji
32fac53e8d
feat: backend debug in vscode 2023-07-30 16:27:13 -04:00
ThatOneCalculator
f4443f4506
Merge branch 'develop' of git.joinfirefish.org:firefish/firefish into develop 2023-07-29 15:03:02 -07:00
ThatOneCalculator
5cb5faa386
refactor: ♻️ use const for non-reassigned vars 2023-07-29 15:02:56 -07:00
Vyr Cossont
2bcb5dcd73 Report max reactions in Mastodon instance API 2023-07-29 10:42:47 -07:00
ThatOneCalculator
8d02cfe999
fix: ✏️ log typo 2023-07-28 22:39:42 -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
naskya
da99f9c3aa Fix typo (https://github.com/misskey-dev/misskey/pull/11347) 2023-07-28 19:05:36 +00:00
ThatOneCalculator
01c29cef20
chore: 🎨 format 2023-07-28 11:35:58 -07:00
Kainoa Kanter
6d1f93a022 Merge branch 'gh-fa55fa5e/10502/unknown/add-bind-addr-config' into 'develop'
[PR]: Add bind address option

See merge request firefish/firefish!10502
2023-07-28 18:32:34 +00:00
Kainoa Kanter
19762bd955 Merge branch 's3-logging' into 'develop'
Log the concatenated S3 url if constructing the S3 client fails.

See merge request firefish/firefish!10531
2023-07-28 18:30:53 +00:00
yumeko
72d194f7a1
Fix indents 2023-07-27 12:54:42 +03:00
yumeko
a4838c7ee4 Merge branch firefish:develop into fix/10404-object-storage-prefix 2023-07-27 09:53:16 +00:00
ThatOneCalculator
dacce643fe
fix: 🔒 Show 404 error on files not found 2023-07-27 01:28:02 -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
Laura Hausmann
56bf7a0ffb
Fix cpu/memory stats widget 2023-07-25 21:23:21 -07:00
Viv Lim
74179aafdf Log the assembled S3 url if constructing a S3 client fails.
I was configuring an instance and didn't notice that I had pasted a space into the `endpoint` field. It was not obvious from the logs why the URL was invalid.
2023-07-24 20:34: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
Kainoa Kanter
a7fbc02ca5 Merge branch 'enhance/log-backend-error-objects' into 'develop'
Log backend error objects

See merge request firefish/firefish!10528
2023-07-24 23:04:42 +00:00
ThatOneCalculator
bec0aae418
chore: 🎨 format 2023-07-24 16:03:58 -07:00
Namekuji
5832940d7a
fix: rename copyright to firefish 2023-07-24 13:10:35 -04:00
yumeko
ae22abd61b Merge branch firefish:develop into fix/10404-object-storage-prefix 2023-07-24 10:08:38 +00:00
ThatOneCalculator
c0eac56355
fix: 🐛 antenna notes pagination repeat 2023-07-23 14:13:46 -07:00
yumeko
19311e683c
Dump to console the error data associated with logger error calls. 2023-07-22 22:12:52 +03:00
yumeko
4e23b77aff Replace URL generation code in the drive file uploader with something more robust.
Closes #10404, hopefully.
2023-07-22 14:03:40 +03: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
8de79198a1
fix: 🩹 version manifest assets based on instance version 2023-07-20 23:31:51 -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
7364ebdca8
fix: 🍱 asset versioning, screenshots 2023-07-19 20:32:04 -07:00
ThatOneCalculator
76ad0a19b3
fix: 🍱 fix old favicon 2023-07-19 19:13:54 -07:00
ThatOneCalculator
b4ed4dec47
v1.0.1 2023-07-19 15:20:22 -07:00
ThatOneCalculator
0a7b4bdb8a
logo 2023-07-19 11:53:03 -07:00
ThatOneCalculator
cac284a79d
fix: 🐛 merge somehow stripped style.css of splash style 2023-07-19 10:24:42 -07:00
ThatOneCalculator
1eea65386e
docs: 📝 codeberg -> gitlab 2023-07-19 10:22:36 -07:00
ThatOneCalculator
e67633298e
docs: 🚚 new website 2023-07-19 10:06:57 -07:00
ThatOneCalculator
5e3bc675ef
add 2023-07-19 09:58:14 -07:00
ThatOneCalculator
ebf7fb1a04
fix: 🐛 gitignore causing wrong file to be pushed 2023-07-19 09:56:16 -07:00
DVD
6e296320e0
fix: skip attachment import if undefined 2023-07-19 09:45:00 -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
73d023930b
error 2023-07-18 23:42:42 -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
ThatOneCalculator
b54dfff32f
chore: 🎨 format 2023-07-17 17:38:27 -07:00
PrivateGER
933a4d2aa2 Use MS sorting rather than manual JS 2023-07-18 02:12:33 +02:00
Kainoa Kanter
2c1df97c15 Merge pull request '[PR]: Import mastodon note package' (#10499) from cgsama/calckey:import-masto-package into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10499
2023-07-17 16:54:45 +00: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
コルセット姫@がんばらない
cb3b7ef5be Merge branch 'develop' into import-masto-package 2023-07-17 09:47:04 +00:00
Namekuji
0775ad96f9
fix: use hostname as prefix instead of host 2023-07-17 01:48:53 -04: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
Syuilo
5d4af6b69e
refactor: improve performance of contextmenu 2023-07-16 22:12:42 -07:00
naskya
04c43ed3ef Merge branch 'develop' into refactor/antennas-in-cache 2023-07-17 04:43:03 +00:00
Mizunashi Mana
b7c72b902d fix: Branch by bind address 2023-07-17 09:52:35 +09:00
CGsama
f5adccecb8 Merge commit '97a0127dbf0b96203902fb075b1d51659a921bfc'
Conflicts:
	pnpm-lock.yaml
2023-07-16 20:39:26 -04:00
Kainoa Kanter
fa02334ddb Merge branch 'develop' into move-json5-to-prod-dependencies 2023-07-16 22:34:49 +00:00
ThatOneCalculator
bdc35a343e
refactor: 🚨 linting fix 2023-07-16 15:32:32 -07:00
ThatOneCalculator
a88133c4bc
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-07-16 13:57:46 -07:00
ThatOneCalculator
04c0993f23
Merge branch 'fix/ssrf' into develop 2023-07-16 13:57:27 -07:00
Mizunashi Mana
b9db50de08 fix: Add error message on initialization failed 2023-07-16 20:59:41 +09:00
Mizunashi Mana
e5360536f3 feat: Add bind address option 2023-07-16 20:13:24 +09:00
CGsama
4bb6d7105a support new zip file by mastodon 2023-07-16 06:24:37 -04:00
Mizunashi Mana
1f441507f7 feat: Move json5 to prod dependencies 2023-07-16 19:00:51 +09:00
CGsama
35f09d0067 change wording 2023-07-16 03:24:37 -04:00
CGsama
0c9ab9fdfa fix format 2023-07-16 01:47:06 -04:00
CGsama
809d418018 use gunzip-maybe tar-stream to replace exec 2023-07-16 01:41:57 -04:00
CGsama
324d1a932d handle import mastodon package 2023-07-15 23:02:00 -04:00
コルセット姫@がんばらない
cae6ba0edb feat: Add media to Mastodon and Calckey post imports (#10496)
### What does this PR do?

Adding files fields in the export notes option, and corresponding import notes

Current the mastodon import does not import any attachments, this pr will use the "upload from url" feature to include medias if its a valid URL.

There are many way to convert the outbox.json file, can be simple as upload media_attachments to any web hosting and do string replace on the json file.

I also create a tool that upload the tar.gz file with auto convert and host the media as simplify the process at https://tempfile.moegirl.live

Detail example can be found at https://fedi.moegirl.live/notes/9h76gtqnp2gwl5dz

https://r2temp.moegirl.live/2023/7/15/15356683-050f-423a-b331-c9a05561f52a/shana-settings-_-meng-zhai-le-yuan-xyou-yu-ou-xiang-de-luo-ke-ke-wu-yan-moe-otaku-elysian-x-gloomily-idol-s-rococo-luncheon----mozilla-firefox-private-browsing-2023-07-15-18-36-37.mp4

Co-authored-by: CGsama <CGsama@outlook.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10496
Co-authored-by: コルセット姫@がんばらない <cgsama@noreply.codeberg.org>
Co-committed-by: コルセット姫@がんばらない <cgsama@noreply.codeberg.org>
2023-07-15 22:56:09 +00:00
ThatOneCalculator
bd57b95a97
docs: 💡 going past DB_MAX_NOTE_TEXT_LENGTH 2023-07-15 15:32:39 -07:00
ThatOneCalculator
49b0a52f9f
fix: 🔧 max post length 100000
Pleroma doesn't accept >100K (ref: https://blob.cat/objects/82f33d96-534f-45ee-902a-f77c2723db8b)
2023-07-15 14:50:23 -07: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
d64389543c
fix: 🔒 prevent potential SSRF through media proxy 2023-07-15 14:13:21 -07:00
ThatOneCalculator
9c2264fb8e
fix: 🐛 allow up to 1024 chars for SMTP login
Closes #10472
2023-07-15 00:19:09 -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
102b57424e
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-07-14 16:51:31 -07:00
ThatOneCalculator
8f650e6e3a
refactor: 🚸 filter out https on recommended instances 2023-07-14 16:51:21 -07:00
freeplay
f67ea7a609 fix: Follow Request labeling
resolves #10368
2023-07-14 00:17:20 -04:00
ThatOneCalculator
133c9f775c
Revert "refactor: use blurhash-as for encoding and decoding"
This reverts commit ae059881fb.
2023-07-13 19:06:57 -07:00
ThatOneCalculator
ae059881fb
refactor: use blurhash-as for encoding and decoding 2023-07-13 19:00:26 -07:00
ThatOneCalculator
cd5c4ff191
refactor: ♻️ no autobind 2023-07-13 17:52:19 -07:00
ThatOneCalculator
cb561ddef8
fix: 💄 different default font if cjk 2023-07-13 17:11:59 -07:00
Namekuji
3fc381c050
refactor: use copy_limit if greater than 0 2023-07-13 18:19:08 -04: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
DVD
c5eeb5e583
Fix CW Import 2023-07-13 09:07:35 +08: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
ThatOneCalculator
36ef3600c3
build: ⬆️ up backend deps 2023-07-10 21:29:01 -07:00
ThatOneCalculator
8d9154c8c0
perf: use fast-blurhash for blurhash decoding, up deps 2023-07-10 21:09:07 -07:00
PrivateGER
b46d437971 Fix Postgres error loop when indexing notes 2023-07-10 23:44:31 +02: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
Namekuji
5291fd4f10
fix: add db to redis uri 2023-07-10 03:54:28 -04:00
Namekuji
b9794dd625
make unused dependencies optional 2023-07-10 03:48:46 -04:00
Namekuji
4f0c6c94aa
remove unnecessary migration file 2023-07-10 03:43:44 -04:00
Namekuji
b6d909f79d
fix config parser 2023-07-10 03:23:38 -04:00
Namekuji
a9ac5fcfec
add environment variable of read size 2023-07-10 02:51:54 -04:00
Namekuji
74eb19acdd
add environment variable to skip copying antenna 2023-07-10 02:31:50 -04:00
Namekuji
4d36c7f4ed
fix: renew entity models 2023-07-10 02:17:30 -04:00
Namekuji
61f0f52d42
copy existing posts in antenna to redis at migration 2023-07-10 01:59:14 -04:00
ThatOneCalculator
ba4e96ee1e
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-07-09 20:12:34 -07: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
naskya
6e6c3c5845 revert Chinese cat mode for now
https://codeberg.org/calckey/calckey/issues/9746#issuecomment-978014
2023-07-10 03:05:27 +00: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
Kainoa Kanter
b841ed5be8 Merge pull request '[PR]: Fix Mastodon compatibility string' (#10447) from mkljczk/calckey:develop into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10447
2023-07-09 21:26:48 +00:00
naskya
3237a0c27c Nya-ify capital Greek alphabets 2023-07-09 21:19:09 +00:00
Kainoa Kanter
0cab9d1825 Merge pull request '[PR]: enhance: Implement speak-as-cat for Chinese and Greek' (#10449) from sinofp/calckey:miao into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10449
2023-07-09 21:09:51 +00:00
sinofp
d850381376 Implement speak-as-cat for Chinese and Greek
The Chinese meow character is 喵, whose pinyin is miāo.
妙, 庙, 描, 渺, 瞄, 秒, 苗, and 藐 are all the miao characters from *3500 commonly used Chinese characters.xls*

@naskya proposed to include 廟 and να.

Download the spreadsheet from https://faculty.blcu.edu.cn/xinghb/zh_CN/article/167473/content/1045.htm

See the discussion at https://codeberg.org/calckey/calckey/issues/9746#issuecomment-974699
2023-07-09 18:54:12 +01: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
45de86370f
chore: 🎨 format 2023-07-08 16:21:15 -07:00
ThatOneCalculator
6883234517
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-07-08 16:20:55 -07:00
ThatOneCalculator
364266da0a
fix: 🐛 server stats setting, meta fetching 2023-07-08 16:20:38 -07:00
ThatOneCalculator
1f5cf72ae7
fix: 🐛 server stats setting, meta fetching 2023-07-08 16:19:55 -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
Kainoa Kanter
63da6ac437 Merge pull request '[PR]: Cache server' (#10419) from refactor/cache-server into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10419
2023-07-06 21:55:44 +00:00
Kainoa Kanter
1ad0eec00d revert 49fd403474
revert fix: 🐛 fix quotes with CW-only quotes
2023-07-06 21:53:44 +00:00
Namekuji
3705a1ecb1
refactor: cache relays for a longer time 2023-07-06 17:49:41 -04:00
Namekuji
f5edaaf130
perf: use msgpackr to encode and decode 2023-07-06 17:22:15 -04:00
Namekuji
c51e5074cf
fix: use host as prefix of cacheServer if undefined 2023-07-06 17:06:31 -04:00
ThatOneCalculator
cf83065254
chore: 🎨 format 2023-07-06 12:47:33 -07:00
Johann150
49fd403474
fix: 🐛 fix quotes with CW-only quotes 2023-07-06 12:46:19 -07:00
ThatOneCalculator
1548250360
feat: cache server 2023-07-06 11:50:34 -07:00
Laura Hausmann
c2e17fbaff [mastodon-client] code cleanup, remove redundant function calls 2023-07-06 02:16:51 +00:00
Laura Hausmann
a315c101d4 Remove debug logging 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
ab18c22fa9 [mastodon-client] Move megalodon to main repo 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
eae145eb53 [mastodon-client] Add transparent.png asset 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
e2ff531172
chore: ⬆️ up prettier, pnpm 2023-07-05 18:28:27 -07:00
Namekuji
bc13416f8e
fix: do not deliver poll result if local-only 2023-07-04 01:59:43 -04:00
ThatOneCalculator
e603745f97
fix: immediately fail jobs with invalid signature 2023-07-03 10:29:52 -07:00
ThatOneCalculator
c392697b4c
chore: 🎨 format 2023-07-02 23:08:33 -07:00
Namekuji
722ccf04f9
rename arg 2023-07-02 23:14:43 -04: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
Namekuji
947163fde2
store cache values to redis 2023-07-02 20:37:46 -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
39aa318840
images 2023-07-02 15:54:11 -07:00
ThatOneCalculator
6da5a5b89b
find and replace 2023-07-02 15:18:30 -07:00
ThatOneCalculator
eec54dd6f7
ascii art 2023-07-02 15:17:58 -07:00
Kainoa Kanter
c0348add7a Merge pull request '[PR]: Embedded all attachment, renotes and discussion history into rss feed content & improve title, and not generate feed for locked account' (#10388) from cgsama/calckey:feedenhance into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10388
2023-07-02 21:50:09 +00:00
ThatOneCalculator
63c193f9fc
Revert "Merge pull request '[PR]: fix: use redis-based mutex to prevent memory leak' (#10389) from nmkj/calckey:fix-cache-leak into develop"
This reverts commit 224b1d585b, reversing
changes made to b5907fb86d.
2023-07-02 10:10:25 -07:00
ThatOneCalculator
73edce511f
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-07-02 08:30:25 -07:00
ThatOneCalculator
5004da0ea3
adjust timeout for indexing notes 2023-07-02 00:47:55 -07:00
ThatOneCalculator
17009455da
fix: 🐛 patron timeout 2023-07-02 00:16:01 -07:00
Namekuji
eee80b3ff6
set log level to debug 2023-07-02 02:03:14 -04:00
Namekuji
ac2b057f85
fix: use redis-semaphore for global mutex and memory leak prevention 2023-07-02 01:47:11 -04:00
Kainoa Kanter
599fc3d7a3 Merge pull request '[PR]: fix: publication logic involving relays' (#10383) from nmkj/calckey:fix-boost-publication into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10383
2023-07-02 05:28:01 +00:00
Laura Hausmann
6c29a2ae01
Fix mastodon api conversion for new note id type 2023-07-01 22:07:08 -07:00
CGsama
ba680211ca Embedded all attachment, renotes and discussion history into rss feed content & improve title, and not generate feed for locked account 2023-07-01 23:58:36 -04:00
ThatOneCalculator
d9af4f3a27
refactor: 🚩 post editing is no longer experimental 2023-07-01 20:00:51 -07:00
Namekuji
49e17e776c
refactor: examine by get instead of exists 2023-07-01 04:09:04 -04:00
Namekuji
ab789f2ca8
fix: await release 2023-07-01 03:49:44 -04:00
Namekuji
4bf1dbbd83
change mutex key 2023-07-01 03:49:43 -04:00
Namekuji
38d4d34713
refactor: use redis-semaphore for mutex across workers 2023-07-01 03:49:43 -04:00
Namekuji
f53fa96fc6
refactor: no url instantiation 2023-07-01 03:49:43 -04:00
Namekuji
159f788696
fix: ignore if post boosted by relay is local 2023-07-01 03:49:42 -04:00
Namekuji
44bf99e0c1
fix: multiple boost publication by relay 2023-07-01 03:49:39 -04:00
ThatOneCalculator
ee5a08efdc
chore: 🎨 format 2023-06-30 23:35:45 -07:00
ThatOneCalculator
6fbe508403
refactor: ♻️ force patrons update on about-calckey 2023-06-30 23:33:54 -07:00
cgsama
42ede2ce6a Merge branch 'develop' into cgsama-patch-1 2023-06-30 06:40:53 +00:00
cgsama
7a93c81a3f proper expire remote user drivefile over limits at adding time 2023-06-30 06:26:22 +00: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
97e74198ff
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-06-28 23:04:50 -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
Namekuji
2d4eda2c1d
fix: disable redis tls if undefined in config 2023-06-28 02:44:16 -04:00
ThatOneCalculator
0015afaca8
chore: 🎨 format 2023-06-27 23:37:24 -07:00
Kainoa Kanter
06f569756b Merge pull request '[PR]: Add signature to remote note lookups' (#10374) from e2net/calckey:fix/authenticated-remote-note-lookups into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10374
2023-06-28 06:02:28 +00:00
Namekuji
89e4e3ea5b
refactor: simplify getSignatureUser 2023-06-28 01:46:52 -04:00
ThatOneCalculator
487e7ba43c
fixes 2023-06-28 01:46:38 -04:00
sparrow
022d478fa8 format 2023-06-28 03:55:29 +01:00
sparrow
f0256b08ff expose redis tls settings directly to config 2023-06-28 03:09:22 +01:00
Laura Hausmann
516e0f8ecf
Allow follower-only notes to be fetched by properly authorized remote users 2023-06-28 04:06:39 +02:00
sparrow
2f1e9696a8 empty object instead of undefined 2023-06-28 02:11:02 +01:00
sparrow
cc32d09913 Remove static postgres tls settings
They can be configured through `extra` in config.
2023-06-28 01:48:55 +01:00
Laura Hausmann
b20298ceb1
Fix AP resolver history on reuse for authorized fetch 2023-06-28 02:30:00 +02:00
sparrow
75518ed1f1 Merge remote-tracking branch 'upstream/develop' into develop 2023-06-28 00:42:07 +01:00
sparrow
1b77d101ee Make redis and postgres tls optional and opt-in 2023-06-28 00:41:44 +01:00
Laura Hausmann
d9fc2c061d
Add signature to remote note lookup 2023-06-28 01:05:25 +02:00
Namekuji
9d56db0fbf
index note url 2023-06-27 15:34:30 -04:00
Laura Hausmann
e0e957c721 Also search for url field when looking for existing note in database 2023-06-27 18:37:16 +00:00
ThatOneCalculator
e53d1f6bdc
fix: 🩹 use redis user for bull and postgres cache interface
Follow up #10366, d96877033b
2023-06-26 15:06:32 -07:00
ThatOneCalculator
d96877033b
refactor: 🔧 allow redis user to be configured
Follow up #10366, 3df3c97deb
2023-06-26 15:02:54 -07:00
Ashex
3df3c97deb
fix: 🐛 support for SSL data when loading redis and postgres configs
Closes #10366
2023-06-26 14:54:16 -07:00
Namekuji
4fdbf1c712
fix: back from the future 2023-06-26 07:47:56 -04:00
ThatOneCalculator
ae14da7014
fix: 🩹 make cacheRemoteFiles false by default for new instances 2023-06-24 13:25:25 -07:00
ThatOneCalculator
15e8db0563
feat: 🔒 expand /api/v1/instance/peers to proper endpoint and check for private mode
Closes #10358
2023-06-24 13:00:50 -07:00
Namekuji
fd6b655a7c
fix compile error 2023-06-24 04:07:19 -04:00
ThatOneCalculator
2eea153ba1
chore: 🎨 format 2023-06-23 21:22:44 -07:00
ThatOneCalculator
1fddd319c4
fix: 🐛 remove cw in post edit
Closes #10353
2023-06-23 21:18:04 -07:00
ThatOneCalculator
be83ac8f43
fix: 🐛 start transaction with multi 2023-06-23 18:21:00 -07:00
ThatOneCalculator
c0f6a53223
fix: 🐛 race condition between workers when creating note
Closes #10345
Discovered here: https://codeberg.org/calckey/calckey/issues/10345#issuecomment-950475
2023-06-23 17:27:25 -07:00
ThatOneCalculator
7ca519560f
feat: display remaining time on ratelimits 2023-06-22 17:14:27 -07:00
ThatOneCalculator
8a45d25912
fix: ✏️ typo in API docs + errors
Co-authored-by: naskya <m@naskya.net>
2023-06-22 16:53:56 -07:00
Kainoa Kanter
17018c9b99 Merge pull request '[PR]: enhance (docker): proper caching and smaller image size' (#10349) from nmkj/calckey:v14-docker into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10349
2023-06-22 23:42:50 +00:00
naskya
d5854c2324
fix: 🐛 proper isDuplicateKeyValueError handling
Closes #10340
Co-authored-by: Kainoa Kanter <kainoa@t1c.dev>
2023-06-22 16:25:27 -07:00
Namekuji
f7631772a3
cache native-utils 2023-06-22 16:25:42 -04:00
Namekuji
99e1f1ad84
chore: format 2023-06-22 16:00:28 -04:00
Namekuji
3780be57c0
clean unnecessary artifacts 2023-06-22 16:00:28 -04:00
Namekuji
e232332a46
fix build and clean scripts 2023-06-22 16:00:28 -04:00
Lily Cohen
48f58feae6
precompile rust components 2023-06-22 16:00:28 -04:00
Namekuji
4bd0838f29
fix: 🐛 empty fs stat 2023-06-21 16:26:43 -07:00
daikei
87145bd823 Merge branch 'develop' into allow-mods-to-see-mod-notes 2023-06-19 15:41:38 +00:00
daikei
0bc68a4b6f Fix formatting 2023-06-19 14:14:15 +00:00
daikei
a3d26eaf31 Allow moderators to see moderation notes 2023-06-19 14:08:34 +00:00
ThatOneCalculator
2339c63fcb
fix: 🩹 duplicate update 2023-06-18 19:38:32 -07:00
ThatOneCalculator
b179970f15
fix: 🐛 properly index edited post 2023-06-18 19:04:04 -07:00
ThatOneCalculator
6fd240a764
fix: 🐛 when editing polls, keep votes for unmodified choices 2023-06-18 18:36:26 -07:00
ThatOneCalculator
37be746812
fix: 💄 white foreground on forced black background
Remedies the problem introduced by 020c4f5788 causing black text to appear over a black-ish background
2023-06-18 16:37:46 -07:00
Namekuji
739a80a94e
shorten cache expire 2023-06-18 18:04:26 -04:00
Namekuji
4c9153fd14
add refresh button to poll 2023-06-18 17:14:38 -04:00
Namekuji
68cc264f5f
don't broadcast poll updates 2023-06-18 13:23:59 -04:00
Freeplay
020c4f5788 Prevent white flash during loading screen
no longer have to deal with getting flashbanged every time! :D
2023-06-17 22:22:35 -04:00
ThatOneCalculator
35445f8591
Revert "refactor: 🦺 replace js-yaml with yaml"
This reverts commit 837a45bd98.
2023-06-16 14:09:42 -07:00
Kainoa Kanter
27965f708d Merge pull request '[PR]: fix: publish posts boosted by relays' (#10309) from nmkj/calckey:fix-aode-relay into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10309
2023-06-16 16:59:10 +00:00
Namekuji
aa46f5f1bb
skip if actor is not found or has been already deleted 2023-06-16 04:49:11 -04:00
Namekuji
c5ccd68c08
remove unused import 2023-06-16 04:17:32 -04:00
Namekuji
2b1e16d489
add comments 2023-06-16 03:48:40 -04:00
Namekuji
fda6a1b1d2
wait a bit more 2023-06-16 03:48:39 -04:00
Namekuji
6236661d62
use redis 2023-06-16 03:48:39 -04:00
Namekuji
0c9cce7c7c
fix aode-relay compatibility 2023-06-16 03:48:39 -04:00
ThatOneCalculator
837a45bd98
refactor: 🦺 replace js-yaml with yaml
Technically mitigates CVE-2023-2251, but users never input YAML to Calckey. Still, this does no harm, and it's a good idea to keep dependencies like these up-to-date, as js-yaml was last updated 2 years ago.
2023-06-16 00:13:41 -07:00
ThatOneCalculator
1dbe44b211
fix: 🐛 sonic logged connection despite not existing 2023-06-15 16:21:51 -07:00
ThatOneCalculator
46af585cf7
feat: 🔒 Improve 2FA/keypass experience
Co-authored-by: Tamania <tamaina@hotmail.co.jp>
Co-authored-by: Syuilo <syuilotan@yahoo.co.jp>
2023-06-15 16:12:32 -07:00
Kainoa Kanter
55902208e7 docs: 📝 fix formatting 2023-06-15 03:49:17 +00:00
ThatOneCalculator
9fa71f37d7
docs: 📝 sea orm migration "Setting Up Migration" doc link 2023-06-14 20:47:49 -07:00
ThatOneCalculator
fe5834e470
docs: 📝 rudamentary sea-orm-cli instructions 2023-06-14 20:46:54 -07:00
ThatOneCalculator
0850950449
chore: 🎨 format 2023-06-14 20:34:00 -07:00
ThatOneCalculator
8f61ff7f33
fix: 🚸 make "show replies in timeline" work as expected
Co-authored-by: Syuilo <syuilotan@yahoo.co.jp>
2023-06-14 20:17:56 -07:00
ThatOneCalculator
c80d91dc38
chore: formatting 2023-06-13 17:04:17 -07:00
Freeplay
e8ae6738d1 Set font size directly rather than using classes, add 18px font size option, fixes 2023-06-13 14:42:18 -04:00
PrivateGER
8e46059d61 Merge branch 'develop' into fix/search-filter-behavior 2023-06-12 14:54:44 +00:00
PrivateGER
40f7756176 use actually correct webfinger check 2023-06-12 16:46:30 +02:00
PrivateGER
cb47c585f9 Add webfinger support to from: and allow UNIX timestamps in date filters 2023-06-12 16:35:04 +02:00
ThatOneCalculator
1d9ce9c288
refactor: ♻️ import from @/db 2023-06-12 01:28:39 -07:00
ThatOneCalculator
4b1fc747e4
refactor: ⚰️ remove old db calls, add todo 2023-06-12 01:23:53 -07:00
ThatOneCalculator
bd9f28246b
perf: use charts data for stats endpoint 2023-06-12 01:16:36 -07:00
ThatOneCalculator
266534d35c
fix typo 2023-06-11 23:12:22 -07:00
ThatOneCalculator
69d4a3aee5
chore: formatting 2023-06-11 21:57:20 -07:00
ThatOneCalculator
c3b332acf9
seperate error for null followers 2023-06-11 21:56:56 -07:00
naskya
4e382c9124
fix boost mutes 2023-06-11 11:46:18 +00:00
Essem
84be788034
Fix CSP 2023-06-09 11:15:49 -05:00
ThatOneCalculator
c5d102021e
perf: set patrons in redis 2023-06-08 13:19:46 -07:00
ThatOneCalculator
f2d8882fd5
Merge branch 'patron-labels' into develop 2023-06-08 12:33:51 -07:00
ThatOneCalculator
5769bdcc69
chore: formatting 2023-06-08 11:01:00 -07:00
Kainoa Kanter
cfa339a51b Merge pull request '[PR]: fix: take invalid expiresAt of polls as null' (#10279) from nmkj/calckey:fix-poll-expire into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10279
2023-06-08 16:46:14 +00:00
Konni (im Schloss)
2d8ad9389c fixes #10284, fixes #10208; passing in all pugVariables needed in base.pug, fixes csp 2023-06-07 20:35:24 +02:00
Namekuji
ab9b9e5bff
fix inbox stall 2023-06-07 10:01:16 -04:00
ThatOneCalculator
90c0e4e9ed
allow iframes for notes 2023-06-06 21:00:16 -07:00
ThatOneCalculator
0c5be99d77
perf: limit number of antennas 2023-06-06 18:47:06 -07:00
ThatOneCalculator
6825595bdc
feat: patron labels 2023-06-06 18:43:05 -07:00
ThatOneCalculator
eda82780de
feat: searchFilters meta property 2023-06-06 16:19:13 -07:00
ThatOneCalculator
349411ac76
typo 2023-06-06 12:16:49 -07:00
ThatOneCalculator
f621e58efa
fix: post editing meta 2023-06-06 12:11:15 -07:00
CaffeeLake
cb8f1617c7
Fix: #10955 TypeError: JSON5.parse is not a function (#10956)
* Fix: JSON5.parse is not a function

* update changelog

* update chglog

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-06-06 04:32:22 -04:00
ThatOneCalculator
c5a0c01e4e
Revert "chore: formatting"
This reverts commit 36283b9a35.
2023-06-05 21:15:49 -07:00
ThatOneCalculator
9bd03cc92e
update cargo.lock 2023-06-05 18:55:27 -07:00
ThatOneCalculator
5483dd567f
Don't ignore Cargo.lock 2023-06-05 18:49:27 -07:00
ThatOneCalculator
ed674f2dac
chore: format 2023-06-05 17:27:40 -07:00
Freeplay
96b6c433c8 Merge branch 'develop' of https://codeberg.org/calckey/calckey into upstream/develop 2023-06-05 20:15:21 -04:00