Commit graph

3309 commits

Author SHA1 Message Date
Kainoa Kanter
1309bafb07 chore: rome formatting 2023-04-07 16:47:04 -07:00
Namekuji
a5468a8204 fix move inbox 2023-04-07 17:48:25 -04:00
Kaity A
21905514d4 Incorporate calckey-js into calckey repository (#9820)
Closes #9712.

Co-authored-by: Kaity A <kaity@theallans.com.au>
Co-authored-by: Ken Allan <ken@norganna.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9820
Co-authored-by: Kaity A <supakaity@noreply.codeberg.org>
Co-committed-by: Kaity A <supakaity@noreply.codeberg.org>
2023-04-07 14:25:22 +00:00
Namekuji
177e9a50b2 fix id of move activity 2023-04-07 06:39:29 -04:00
Kainoa Kanter
07180d073b menu opts 2023-04-06 23:02:07 -07:00
Kainoa Kanter
dac3b02a3f days for featured 2023-04-06 22:48:07 -07:00
Kainoa Kanter
ae53b4e5d3 refactor 2023-04-06 22:28:44 -07:00
Kainoa Kanter
7b3993c83e feat: blur muted text 2023-04-06 22:11:10 -07:00
Kainoa Kanter
37d82c3b75 Merge pull request 'feat: give reason for soft word mutes' (#9815) from amybones/calckey:feat_soft_mute_reasons into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9815
2023-04-07 05:07:24 +00:00
Kainoa Kanter
d92cfb8cdf formatting 2023-04-06 18:56:46 -07:00
amy bones
3819e921cc feat: give reason for soft mutes
Bad UX when a post is muted and it just says "Some chick said something". Now
provide some context too to help people decide if they want to view something
potentially triggering.
2023-04-05 21:28:26 -07:00
Nya Candy
98e95d79b7 fix(client): userpage ui (#9179)
* fix(unverified): clip pages ui

* fix(unverified): user page width

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-04-05 15:45:16 -07:00
ThatOneCalculator
ada9d8206c Revert "mkv13 media list"
This reverts commit c2ac53c66b5cade26afd5622ad800bec7edffa92.
2023-04-04 23:58:55 -07:00
ThatOneCalculator
6718b7e26b typo 2023-04-04 22:59:41 -07:00
ThatOneCalculator
6e032b5203 oops 2023-04-04 22:55:36 -07:00
ThatOneCalculator
6d247bbdac chore: back button in more places 2023-04-04 22:52:41 -07:00
ThatOneCalculator
0c44ffcca2 chore: back button in control panel 2023-04-04 22:49:17 -07:00
ThatOneCalculator
a47a8afa56 final fix? 2023-04-04 22:41:57 -07:00
ThatOneCalculator
20c33e9cdf import i18n 2023-04-04 22:22:35 -07:00
ThatOneCalculator
6ce03980c0 more fix 2023-04-04 22:12:55 -07:00
ThatOneCalculator
4d04fc68e5 fix 2023-04-04 22:03:24 -07:00
ThatOneCalculator
45b6449106 display back button in note 2023-04-04 21:59:35 -07:00
ThatOneCalculator
29799e36aa back button in settings 2023-04-04 21:59:11 -07:00
ThatOneCalculator
c030a227e5 dont change state 2023-04-04 21:53:17 -07:00
ThatOneCalculator
6c2bafe062 mkv13 media list 2023-04-04 21:47:30 -07:00
amybones
89e27d8418 fix: toggling the blocking state from the instance-info admin view (#9809)
Because the admin meta information was never loaded on this page, no amount of toggling the block or suspend sliders on the instance-info page (e.g. `https://calckey.example.com/instance-info/instance.tld`) will result in the instance actually being added to the blocklist. You could still do it from the bulk blocklist management page, but that can get unwieldy quickly if you just want to do a quick block of an instance.

Co-authored-by: amy bones <amy@spookygirl.boo>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9809
Co-authored-by: amybones <amybones@noreply.codeberg.org>
Co-committed-by: amybones <amybones@noreply.codeberg.org>
2023-04-04 03:46:23 +00:00
ThatOneCalculator
3e7d64ac4b feat: push notifs button
Co-authored-by: Tamania <tamaina@hotmail.co.jp>
2023-04-03 20:36:59 -07:00
ThatOneCalculator
13bae2e165 fix: 🐛 go to last timeline selected 2023-04-03 16:02:09 -07:00
ThatOneCalculator
3bf522db1e fix: buttons not showing 2023-04-03 10:03:35 -07:00
Kainoa Kanter
8cdadd70ba Merge pull request 'Require timeline endpoints to return the requested limit of notes.' (#9805) from supakaity/hajkey:hk/notes-pagination into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9805
2023-04-03 17:02:01 +00:00
Kaity A
d7e253eb62 Requested limit to be fulfilled if possible 2023-04-04 02:50:53 +10:00
amy bones
3f3bf0a9e7 fix: changing passwords, 2fa, and password resets.
The argon2 usage was only implemented for sign-ins which broke a bunch of other
endpoints and features.
2023-04-03 05:14:50 -07:00
Free
6d8d5bc5aa note-improvements (#9799)
Boop!

Co-authored-by: Freeplay <Freeplay@duck.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9799
Co-authored-by: Free <freeplay@duck.com>
Co-committed-by: Free <freeplay@duck.com>
2023-04-02 21:39:25 +00:00
Kaity A
eaa6bc2da3 Separate cat-avatar mode and speak-as-cat nyanification 2023-04-02 21:24:12 +10:00
ThatOneCalculator
461678394e styling 2023-04-02 01:00:40 -07:00
ThatOneCalculator
4b770363f5 remove console.log 2023-04-02 00:42:35 -07:00
ThatOneCalculator
de75999833 attempt fix 2023-04-02 00:21:43 -07:00
ThatOneCalculator
eb6b4b83fd correct color for help button 2023-04-02 00:13:26 -07:00
ThatOneCalculator
1576c4ff64 fix: dialogs not coming up 2023-04-02 00:07:48 -07:00
ThatOneCalculator
b98c8c526c fix button alignments 2023-04-01 23:53:31 -07:00
ThatOneCalculator
db77425eac don't show delete button if profile is default 2023-04-01 23:44:59 -07:00
ThatOneCalculator
261b71dac5 style 2023-04-01 23:34:02 -07:00
ThatOneCalculator
c5522d0207 fix import 2023-04-01 23:28:55 -07:00
ThatOneCalculator
a4540eb708 don't need extra template 2023-04-01 21:39:48 -07:00
ThatOneCalculator
33718bdd5d chore: 🎨 format 2023-04-01 21:10:31 -07:00
ThatOneCalculator
cb1b13e879 fix: 🛂 no longer need 2fa for webauthn 2023-04-01 21:04:22 -07:00
ThatOneCalculator
6f79abbcfc fix help button alignment iconsOnly 2023-04-01 16:18:01 -07:00
ThatOneCalculator
d13dbe060d fix #9784 2023-04-01 16:14:11 -07:00
ThatOneCalculator
3b726e73b4 Revert "fix: 🐛 make recently used group"
This reverts commit 806591cb35d3155177ed86883a7412dfd08c3141.
2023-04-01 12:22:46 -07:00
ThatOneCalculator
cab3a19d0a fix: 🐛 make recently used group
Closes #9784
2023-04-01 12:19:27 -07:00
ThatOneCalculator
7522cdf445 fix migration 2023-04-01 12:14:54 -07:00
ThatOneCalculator
cc02298f8e add top margin to help button 2023-04-01 12:05:27 -07:00
ThatOneCalculator
64d6b987ab chore: add cleanup migration 2023-04-01 12:03:49 -07:00
ThatOneCalculator
711ef03f39 feat: help menu in navbar 2023-04-01 11:56:43 -07:00
ThatOneCalculator
58afaee630 fix search import 2023-04-01 11:39:27 -07:00
ThatOneCalculator
f07bcf2c5a feat: search now searches posts and users 2023-04-01 11:28:34 -07:00
Kainoa Kanter
e583bd9665 Merge pull request 'fix: another bug in KaTeX macro expander' (#9795) from naskya/calckey:fix/katex-macro-2 into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9795
2023-04-01 16:28:48 +00:00
Kaitlyn Allan
52f06a2e14 Clarify variable names 2023-04-01 22:49:14 +10:00
naskya
928c539440 Fix a bug in macro expander 2023-04-01 21:18:55 +09:00
Kaitlyn Allan
a86f8d4911 Improve performance of charts
Fix some undefined !== deleted issues
2023-04-01 21:42:03 +10:00
naskya
55cf59667b feat: add option to boost with Home and Followers-only visibility (#9788)
Closes: #9777

This pull request includes UI changes (please check the attached images).

Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9788
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-04-01 06:53:29 +00:00
ThatOneCalculator
1f6fcdad69 audio on mobile fix 2023-03-31 22:06:21 -07:00
kabo2468
021f667976 fix: don't nyaize quoted text 2023-03-31 23:30:57 +09:00
ThatOneCalculator
df83d4c211 add argon 2023-03-30 19:19:09 -07:00
ThatOneCalculator
19c4a59513 formatting 2023-03-30 19:10:03 -07:00
ThatOneCalculator
5be627b869 feat: 🔒 add argon2 support
Passwords will be automatically re-hashed on sign-in. All new password hashes will be argon2 by default.  This uses argon2id and is not configurable. In the very unlikely case someone has more specific needs, a fork is recommended.  ChangeLog: Added  Co-authored-by: Chloe Kudryavtsev <code@toast.bunkerlabs.net>

Breaks Calckey -> Misskey migration, but fixes Foundkey -> Calckey migration
2023-03-30 19:09:44 -07:00
s1idewhist1e
981d3ee725 Refactor: use rust for native mastodon id conversion (#9786)
This uses [napi-rs](https://napi.rs/) to allow for automatic generation of node bindings for the native code.

I also changed the `isolatedModules` TS flag to false to allow for `static enum` to be shared across modules. It doesn't seem to be necessary for the build system that CK uses.

Currently this method does not work with ID generators with longer IDs. Likely the best solution is to add another key in the database.

Some benchmarks for 1 million conversions:

```
	node, x1_000_000: 2.847s
	rust, x1_000_000: 1.265s
```

There are still optimizations that can be made, but I think this is a good starting point and a good way to bring rust into the CK stack.

Co-authored-by: s1idewhist1e <trombonedude05@gmail.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9786
Co-authored-by: s1idewhist1e <s1idewhist1e@noreply.codeberg.org>
Co-committed-by: s1idewhist1e <s1idewhist1e@noreply.codeberg.org>
2023-03-31 01:58:28 +00:00
naskya
7c568eefff Fix a bug in the macro expander 2023-03-31 06:31:18 +09:00
cutestnekoaqua
3b7b0f3339 send vlaue 2023-03-30 18:05:39 +02:00
cutestnekoaqua
fd05f18c40 make sure its not checked for akkoma 2023-03-30 17:52:38 +02:00
cutestnekoaqua
1b61d1a58d check for signatures while post import 2023-03-30 17:52:17 +02:00
cutestnekoaqua
cf5671cb05 nyaa 2023-03-30 17:31:29 +02:00
Cleo
7a31740e20 remove debug msgs 2023-03-30 09:30:38 +00:00
Cleo
69daa49403 „packages/backend/src/server/api/endpoints/i/import-posts.ts“ ändern
Signed-off-by: Cleo <cutestnekoaqua@noreply.codeberg.org>
2023-03-30 09:12:51 +00:00
Cleo
fcbdde47d0 Yeet mentions 2023-03-30 08:40:20 +00:00
naskya
c2883ea95b fix: direct boost (#9783)
Sorry to create PR multiple times. I should have included this in #9778.

Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9783
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-03-30 03:15:06 +00:00
naskya
2f47d41b00 feat: custom KaTeX macro (#9779)
Closes: #9759
Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9779
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-03-30 03:11:57 +00:00
ThatOneCalculator
6aa4a43ca1 fix sounds settings 2023-03-29 13:38:59 -07:00
ThatOneCalculator
ec599f2eeb typo 2023-03-29 13:35:10 -07:00
ThatOneCalculator
203eccaa87 feat: button in admin dash to index posts 2023-03-29 13:30:02 -07:00
ThatOneCalculator
806f2bb8cf fix: 🐛 formlink -> button
fixes notifications and drive in settings
2023-03-29 12:53:07 -07:00
ThatOneCalculator
e80578e911 better icons 2023-03-29 12:47:25 -07:00
ThatOneCalculator
0d1583ada0 Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-03-29 12:39:17 -07:00
ThatOneCalculator
7e7a7e788a Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-03-29 12:38:55 -07:00
cutestnekoaqua
4df655126d get post details from object 2023-03-29 21:38:52 +02:00
ThatOneCalculator
5317c9aca8 header icon for queue page 2023-03-29 12:38:38 -07:00
cutestnekoaqua
db392efae8 catch text parsing error 2023-03-29 21:25:28 +02:00
cutestnekoaqua
41c7dfe208 add info 2023-03-29 21:16:45 +02:00
cutestnekoaqua
da322a086b catch errors 2023-03-29 21:15:06 +02:00
cutestnekoaqua
d640af9714 handle mastodon style posts 2023-03-29 21:10:01 +02:00
cutestnekoaqua
365d9bc40a dont ping users 2023-03-29 20:01:56 +02:00
cutestnekoaqua
dfb6178ddf actually increase line num 2023-03-29 19:37:31 +02:00
cutestnekoaqua
f43b5a2537 update post job 2023-03-29 19:36:23 +02:00
cutestnekoaqua
d0f2cbd664 note import debug logs 2023-03-29 19:23:37 +02:00
cutestnekoaqua
b9b693c233 temporary set import limit to infinity for debug 2023-03-29 19:16:39 +02:00
naskya
3eccb04e92 Merge branch 'develop' into fix/followers-only-boost 2023-03-29 02:24:21 +00:00
cutestnekoaqua
86e02468ce why is this git ignored? 2023-03-29 00:09:31 +02:00
cutestnekoaqua
c05703001c why is this git ignored? 2023-03-28 23:48:27 +02:00
cutestnekoaqua
624f305d9c feat: experimental post import 2023-03-28 23:33:16 +02:00
Kagami Sascha Rosylight
4e78a4e0b0 fix: allow announces with followers visibility 2023-03-29 04:55:16 +09:00
naskya
2eaece9778 Try to fix calckey/calckey#9770 2023-03-28 03:59:07 +09:00
Free
89d59b5ea0 note-improvements (#9768)
Fixes #9745, quote icon, note spacing adjustments, border radius's in noGap

Co-authored-by: Freeplay <Freeplay@duck.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9768
Co-authored-by: Free <freeplay@duck.com>
Co-committed-by: Free <freeplay@duck.com>
2023-03-26 03:33:44 +00:00
cutestnekoaqua
23da34f495 [PATCH] set workers to reduce their processing priority
Authored-by: Kaitlyn Allan <kaitlyn.allan@enlabs.cloud>
2023-03-25 12:35:30 +01:00
ThatOneCalculator
cdcd4320a9 fix? 2023-03-24 13:14:41 -07:00
ThatOneCalculator
e122f8170a Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-03-24 12:45:32 -07:00
ThatOneCalculator
bf358a2fb3 dev15 2023-03-24 12:45:25 -07:00
Namekuji
7111b5cbdb fix callback url 2023-03-24 06:55:23 -04:00
ThatOneCalculator
2497c5b4f6 don't show buttons if mobile 2023-03-24 00:42:36 -07:00
ThatOneCalculator
ed4baf9aed fix 2023-03-24 00:34:13 -07:00
ThatOneCalculator
a5de287cb8 fix 2023-03-24 00:04:00 -07:00
ThatOneCalculator
7a4e670565 console log 2023-03-23 23:59:42 -07:00
ThatOneCalculator
ba64c15231 feat: new chat button on mobile 2023-03-23 23:51:59 -07:00
ThatOneCalculator
8d1c7c787c feat: post metadata uses full @
Closes #9660
2023-03-23 18:03:50 -07:00
ThatOneCalculator
9fa73242a0 chore: 📦 upgrade megalodon 2023-03-23 16:20:21 -07:00
ThatOneCalculator
21061b6803 feat: masto api add display name 2023-03-23 16:16:27 -07:00
ThatOneCalculator
6b298823ff Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-03-23 09:07:25 -07:00
ThatOneCalculator
ae9ba9b2c3 Revert "refactor: nyaize on the frontend"
This reverts commit aff90b3ef225e5d4453469b36b7bf3a8565c7a68.
2023-03-23 09:06:32 -07:00
yawhn
ac935ac764 feat: swap home timeline with social's functionality (#9597)
The Home timeline functionality is swapped with social's. Meaning that Home timeline now consists of followee's and local posts. Social from now on will contain only followee's posts. See more info in the attached ticket.

Some changes applied in english locales as well. Probably the rest of the languages need to be fixed though.

This PR closes the ticket: https://codeberg.org/calckey/calckey/issues/9552

Co-authored-by: yawhn <kordaris@gmail.com>
Co-authored-by: ThatOneCalculator <kainoa@t1c.dev>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9597
Co-authored-by: yawhn <yawhn@noreply.codeberg.org>
Co-committed-by: yawhn <yawhn@noreply.codeberg.org>
2023-03-23 16:02:37 +00:00
amy bones
88295aad8f fix: relay signature handling
A change sometime ago moved to setting some signature fields in the incoming
object to undefined as opposed to deleting them. The trouble is that downstream
code checks against existence, not undefinedness and rejects the message.

Resolves: #9665
2023-03-22 17:32:49 -07:00
ThatOneCalculator
35cacf704e fix color in follow button 2023-03-22 14:29:07 -07:00
ThatOneCalculator
b82c3c796b Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-03-22 12:24:45 -07:00
yawhn
92a8323f57 fix: a bug in ads 2023-03-22 12:24:37 -07:00
Kainoa Kanter
10d8d41580 Merge pull request 'fix: max user profile length to db field length' (#9750) from amybones/calckey:fix-profile-length into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9750
2023-03-22 18:58:32 +00:00
ThatOneCalculator
a23d554e76 fix: 🐛 no nyaizing undefined text
Closes #9752
2023-03-22 11:54:38 -07:00
Free
55add2d7f6 Allows ctrl+clicking internal links (#9603) (#9743)
Co-authored-by: Freeplay <Freeplay@duck.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9743
Co-authored-by: Free <freeplay@duck.com>
Co-committed-by: Free <freeplay@duck.com>
2023-03-22 18:50:30 +00:00
cutestnekoaqua
abfbb15fef Masto api :) 2023-03-22 17:43:05 +01:00
cutestnekoaqua
d8fe02042c allow client credentials not just for tapbots 2023-03-22 14:40:59 +01:00
amy bones
b5130abc25 fix: max user profile length to db field length
Resolves: #9749
2023-03-22 02:10:43 -07:00
Free
cca4156804 note-improvements (#9742)
Increases the limit of the replies loaded above the focused post from 10 to 30

Co-authored-by: Freeplay <Freeplay@duck.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9742
Co-authored-by: Free <freeplay@duck.com>
Co-committed-by: Free <freeplay@duck.com>
2023-03-21 04:41:50 +00:00
naskya
138d329a60 fix: local time for users 2023-03-21 08:24:02 +09:00
Free
a4107d01a8 note-improvements (#9739)
fixes #9735, translations, plus other tweaks

Co-authored-by: Freeplay <Freeplay@duck.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9739
Co-authored-by: Free <freeplay@duck.com>
Co-committed-by: Free <freeplay@duck.com>
2023-03-20 20:26:05 +00:00
ThatOneCalculator
ea9efcc81a typo 2023-03-19 20:19:40 -07:00
ThatOneCalculator
8250c14646 fix: make sure cw button is on new line 2023-03-19 20:15:49 -07:00
ThatOneCalculator
7420f6ce56 validate blank messages on backend 2023-03-19 20:03:49 -07:00
ThatOneCalculator
82c9428b45 fix: 🐛 can't send blank messages
Closes #9661
2023-03-19 20:02:14 -07:00
ThatOneCalculator
d90be23e00 Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-03-19 19:59:36 -07:00
ThatOneCalculator
887673ecdd refactor: nyaize on the frontend 2023-03-19 19:59:00 -07:00
Free
1913648047 note-improvements (#9734)
Not sure if this is the best way to jump to the post

This also lets you select text w/out clicking to the post (and clicking normally on top of the text opens the post)

Co-authored-by: Freeplay <Freeplay@duck.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9734
Co-authored-by: Free <freeplay@duck.com>
Co-committed-by: Free <freeplay@duck.com>
2023-03-20 02:31:02 +00:00
ThatOneCalculator
10a9a2121d change follow button background, finally 2023-03-19 19:30:08 -07:00
ThatOneCalculator
9302a10a71 theme names 2023-03-19 18:49:25 -07:00
ThatOneCalculator
bd29f6bf2e feat: more themes! 2023-03-19 18:44:08 -07:00
ThatOneCalculator
7fc19c4ea5 generic color for online user count 2023-03-19 16:58:54 -07:00
ThatOneCalculator
efef445eef fix: repo url 2023-03-19 16:53:49 -07:00
cutestnekoaqua
a0bcf42b88 chore: add emoji aliases 2023-03-20 00:37:49 +01:00
cutestnekoaqua
eee4d0ae4b Revert "fix: unicode aliases"
This reverts commit 989b4975883849f81684e29c1235e881d28a9bb9.
2023-03-20 00:30:05 +01:00
cutestnekoaqua
67c6f55a4e fix: unicode aliases 2023-03-20 00:24:33 +01:00
Kainoa Kanter
3e835c49a7 Merge pull request 'bug: Fix error saving drive file caption > 512 chars' (#9729) from supakaity/hajkey:hk/fix-9728 into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9729
2023-03-19 21:54:38 +00:00
kakkokari-gtyih
ba4c2f65ae fix: don't show smartphone UI when settings icon is double-clicked 2023-03-19 21:43:07 +09:00
Kaitlyn Allan
ebef0b14c6 Fix error saving drive file caption > 512 chars 2023-03-19 20:06:24 +10:00
ThatOneCalculator
c1da33a658 cli images 2023-03-19 02:33:44 -07:00
ThatOneCalculator
26cbcba6a6 fix cli more 2023-03-19 02:08:08 -07:00
ThatOneCalculator
472164f573 feat: spruce up CLI 2023-03-19 01:59:33 -07:00
Kaity A
77c12cba8d Add sonic full-text search support (#9714)
This pull request adds support for the [sonic](https://github.com/valeriansaliou/sonic) full text indexing server into Calckey.

In addition to this, a stateful endpoint has been added that will completely (re-)index all notes into any (elasticsearch and/or sonic) indexing server defined in your config at `/api/admin/search/index-all`. It can (optionally) take input data to define the starting point, such as:

```
{"cursor": "9beg3lx6ad"}
```

Currently if both sonic and elasticsearch are defined in the config, sonic will take precedence for searching, but both indexes will continue to be updated for new note creations. Future enhancements may include the ability to choose which indexer to use (or combine multiple).

Co-authored-by: Kaitlyn Allan <kaitlyn.allan@enlabs.cloud>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9714
Co-authored-by: Kaity A <supakaity@noreply.codeberg.org>
Co-committed-by: Kaity A <supakaity@noreply.codeberg.org>
2023-03-19 08:26:47 +00:00
ThatOneCalculator
1a92cbe328 Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-03-19 00:26:32 -07:00
ThatOneCalculator
923eeaa4cc feat: compile time compression 2023-03-19 00:26:26 -07:00
naskya
94eb321431 feat: set license information for custom emojis (#9719)
Closes: #9711 (please check this issue first)

I cherry-picked two commits ([1](8ae9d2eaa8), [2](ed51209172)) from [Misskey](https://github.com/misskey-dev/misskey) and made a few changes.
「ライセンス」should be written as "License" in the following screenshots, but it has not yet been translated.

It would be nice if we could include multiple lines of text, but I just ported what's been implemented so far in Misskey not to mess things up.

This is my first pull request (aside from typo correction). Feel free to point out any issues!

![](https://cdn.discordapp.com/attachments/823878222897741868/1086372711841935440/2023-03-18_042011.png)
![](https://cdn.discordapp.com/attachments/823878222897741868/1086373178214981853/01.png)
![](https://cdn.discordapp.com/attachments/823878222897741868/1086373336709341246/2023-03-18_042629.png)

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9719
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-03-19 07:22:28 +00:00
ThatOneCalculator
e4a6580a60 Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-03-19 00:14:08 -07:00
ThatOneCalculator
d8c0ba0795 fix: when count is actually 0 2023-03-19 00:13:30 -07:00
Free
5315201032 note-improvements (#9721)
boop

Co-authored-by: Freeplay <Freeplay@duck.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9721
Co-authored-by: Free <freeplay@duck.com>
Co-committed-by: Free <freeplay@duck.com>
2023-03-19 07:13:02 +00:00
ThatOneCalculator
59b3bd2a58 Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-03-19 00:12:33 -07:00
ThatOneCalculator
e08ec0dfaf fix: mobile button alignment 2023-03-19 00:12:24 -07:00
Kainoa Kanter
451b61e38f Merge pull request 'Don't show channel edit button unless owner' (#9722) from supakaity/hajkey:hk-channel-owner-edit into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9722
2023-03-18 23:11:47 +00:00
cutestnekoaqua
3122701186 pass auth to metadata 2023-03-18 13:06:49 +01:00
cutestnekoaqua
3e748cb401 fix: intermediarily convert ids 2023-03-18 12:23:03 +01:00
cutestnekoaqua
9c0416df65 add 404 as replacements 2023-03-18 12:09:43 +01:00
cutestnekoaqua
25896f0093 chore: update megalodon 2023-03-18 11:52:18 +01:00
Kaitlyn Allan
4cfa9b0a83 Don't show channel edit button unless owner 2023-03-18 18:27:56 +10:00
Free
f2f9c1a7bd note-improvements (#9720)
Co-authored-by: Free <freeplay@duck.com>
Co-committed-by: Free <freeplay@duck.com>
2023-03-18 00:44:00 +00:00
ThatOneCalculator
015d1c62f2 Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-03-17 09:31:47 -07:00
ThatOneCalculator
d437653729 fix: send button 2023-03-17 09:31:39 -07:00
fruye
3d7868c9dc fix: Parse mastoAPI limit argument in more places & Improve converting arguments to boolean (#9716)
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9716
Authored-by: fruye <fruye@unix.dog>
Signed-off-by: Cleo John <waterdev@galaxycrow.de>
Co-authored-by: fruye <fruye@unix.dog>
Co-committed-by: fruye <fruye@unix.dog>
2023-03-17 13:58:01 +00:00
Cleo
dc67a88174 Merging 'New thread view + other post improvements' (#9648) from Freeplay/calckey:note-improvements courtesy Freeplay
Signed-of-by: Cleo John <waterdev@galaxycrow.de>
2023-03-17 13:48:09 +00:00
s1idewhist1e
5eec5ac2ef feat: Make follower counts for remote users correct (#9705)
#9293

Not sure if this is the right approach for this

Co-authored-by: s1idewhist1e <trombonedude05@gmail.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9705
Co-authored-by: s1idewhist1e <s1idewhist1e@noreply.codeberg.org>
Co-committed-by: s1idewhist1e <s1idewhist1e@noreply.codeberg.org>
2023-03-17 01:16:31 +00:00
ThatOneCalculator
d4e77ccd9b better border color 2023-03-16 15:37:49 -07:00
Freeplay
95d67c9ab6 fix deck view margins 2023-03-15 22:29:48 -04:00
Freeplay
6c147fe618 Change reply icon (also align the icon in the posting form) 2023-03-15 21:24:12 -04:00
Freeplay
0842eeeef1 *actually* fix the line alignment 2023-03-15 20:26:13 -04:00
Freeplay
0c56144f92 fix line alignment in smaller windows 2023-03-15 19:53:22 -04:00
Freeplay
f0a22b3ae4 fix line in boosted text 2023-03-15 19:18:26 -04:00
Freeplay
3e26fa255e fix footer icons 2023-03-15 18:58:35 -04:00
Freeplay
9e2bcbbb2b Merge branch 'develop' of https://codeberg.org/calckey/calckey into note-improvements 2023-03-15 18:40:21 -04:00
fruye
b62b1d43d6 fix: Run to boolean conversion in mastoAPI public and hashtag timelines
The `only_media` query parameter in `/api/v1/timelines/public` and
`/api/v1/timelines/tag/:hashtag` was previously passed directly as-is to
the Misskey API, which made it pretty upset because it was receiving a
string named 'true' instead of the value 'true'.

Needed for pleromaFE to display a timeline.
2023-03-15 23:09:19 +01:00
fruye
77ff4ca78f fix: Isolate unicode characters in display names (#9702)
This fixes a 'Follows you' badge on a profile page and account addresses in threads from being drawn backwards when an account has some special Unicode characters that change the direction of text in their name (i.e. U+202E RIGHT-TO-LEFT OVERRIDE).

Co-authored-by: fruye <fruye@unix.dog>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9702
Co-authored-by: fruye <fruye@noreply.codeberg.org>
Co-committed-by: fruye <fruye@noreply.codeberg.org>
2023-03-15 07:18:18 +00:00
ThatOneCalculator
ff7aae02dd fix: mona is free 2023-03-14 16:23:40 -07:00
ThatOneCalculator
61a5c3a7c9 Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-03-14 16:21:01 -07:00
ThatOneCalculator
d09c36f1cc apps: mona 2023-03-14 16:20:46 -07:00
Cleo John
c1a6e342e9 webhook mastodon fixes 2023-03-14 17:18:30 +01:00
Kainoa Kanter
af12727909 Further Masto API work, focus on Ivory compatibility (#9703) 2023-03-13 07:25:17 +00:00
Luna
f02b1429e9 Small fix to Masto ID conversion code 2023-03-13 00:44:38 -04:00
ThatOneCalculator
036c699da9 chore: up icons 2023-03-12 13:43:37 -07:00
Luna
75fd6d068d Sorta kinda handle client_credentials auth flow 2023-03-11 23:19:17 -05:00
ThatOneCalculator
540d3892cc how did vscode not catch these? 2023-03-11 13:59:36 -08:00
ThatOneCalculator
8e3036fc51 forgot about the fill icons 2023-03-11 13:52:11 -08:00
ThatOneCalculator
fae58085dd chore: phosphor 2.0.2
adds woff2 as of 2.0.2 (my pr)
2023-03-11 13:44:57 -08:00
ThatOneCalculator
7f81d3c2b8 style: inlie-flex on ph-fw 2023-03-11 13:36:40 -08:00
ThatOneCalculator
471f7c4c00 rm unessicary file 2023-03-11 13:29:18 -08:00
ThatOneCalculator
8cb2efa186 fix? 2023-03-11 13:07:51 -08:00
Luna
2d7225a179 Proxy object IDs for Mastodon API to prevent Calckey ID format incompatibilities 2023-03-11 16:02:35 -05:00
Luna
36566d3dfe Clean up auth.vue 2023-03-11 16:02:35 -05:00
Luna
07d45c6a70 Convert limit parameter to int for certain Mastodon account endpoints 2023-03-11 16:02:35 -05:00
Luna
bd15a1d8d6 Enable multipart for masto oauth endpoints to fix Ivory 2023-03-11 16:02:35 -05:00
ThatOneCalculator
1979a60ff8 icons 2023-03-11 13:01:04 -08:00
ThatOneCalculator
7157d54fbd refactor: ⬆️ phosphor 2, sorta
thank you sammy
2023-03-11 13:00:52 -08:00
ThatOneCalculator
437d4167dc chore: apps 2023-03-11 12:22:54 -08:00
Kaity A
be4d51fcad Expand caption limit to 1500 characters 2023-03-05 16:51:44 +10:00
Kaity A
55b2708009 Set movedToUri & alsoKnownAs null when undefined 2023-03-04 08:24:22 +00:00
Kainoa Kanter
8f4558fa90 chore: notes --> posts 2023-03-03 22:12:11 -08:00
Kainoa Kanter
cc0d324fd7 fix mobile navbar 2023-03-03 22:09:57 -08:00
Kainoa Kanter
1cd7b8bc38 fix: post button text alignment 2023-03-03 22:01:08 -08:00
Kainoa Kanter
296f786458 Merge pull request 'Add divider to header' (#9678) from Freeplay/calckey:a into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9678
2023-03-04 03:25:49 +00:00
cutestnekoaqua
a176e5b9aa parse full multipart data to media endpoints 2023-03-01 15:53:40 +01:00
cutestnekoaqua
83216f0b3b fix import 2023-03-01 15:07:35 +01:00
cutestnekoaqua
1c674fcf01 some quick fixes 2023-03-01 15:04:01 +01:00
Freeplay
4229ea9ca0 Add divider to header 2023-02-28 17:12:29 -05:00
Cleo John
447547b911 fix errors 2023-02-28 17:38:48 +01:00
Cleo John
83494b707d more mastodon work 2023-02-28 17:23:04 +01:00
Freeplay
43d23b1721 change continue thread text 2023-02-27 09:42:11 -05:00
Freeplay
7af448b8e7 Don't think that needed a reverse 2023-02-27 09:32:24 -05:00
Freeplay
f1275de03c Only use regular reply icon 2023-02-26 11:33:38 -05:00
Freeplay
8201f0390c fix indents on this ? 2023-02-25 21:51:37 -05:00
Freeplay
af8460e90a don't know why that was like that oops 2023-02-25 21:49:41 -05:00
Freeplay
a4b0c5a1fa fix small window sizes 2023-02-25 21:22:23 -05:00
Freeplay
48ea54e498 Tweak reaction animation 2023-02-25 20:36:00 -05:00
Freeplay
353198ed2f fix subnote body clip area™ 2023-02-25 20:22:17 -05:00
Freeplay
9d3aa98dfe increase clip area of subnote body 2023-02-25 20:08:53 -05:00
Freeplay
0e306779bc padding tweaks 2023-02-25 19:59:58 -05:00
Freeplay
e8d11d57e1 change line height 2023-02-25 19:48:10 -05:00
Freeplay
4b79ad9a3e remove unneeded bit 2023-02-25 15:51:51 -05:00
Freeplay
87641518a5 a 2023-02-25 15:38:36 -05:00
Freeplay
55ac72100c Only animate in if newly added 2023-02-25 15:36:35 -05:00
Freeplay
02fe1f270e add some animations to reactions 2023-02-25 13:50:24 -05:00
Freeplay
50556220cf style fixes 2023-02-25 12:36:57 -05:00
Freeplay
28a0936dda Remove content-visibility oh god that did not work as I expected 2023-02-25 12:15:35 -05:00
Freeplay
a76e94c941 sort of fix replies count ? 2023-02-25 11:57:16 -05:00
Freeplay
6652636e09 fix line alignment 2023-02-25 11:10:48 -05:00
Freeplay
6e6a09e024 Fix 'close' button in posts not sticking to bottom
thanmk you overlfow clip
2023-02-25 01:18:21 -05:00
Freeplay
300fcc3b99 allow mfm to overflow w/out it blocking any buttons 2023-02-25 01:15:42 -05:00
Freeplay
72b951dc78 add footer hover thingy to subnote too 2023-02-25 00:39:43 -05:00
Freeplay
c823e770cd comment out unneeded bit (maybe for now) 2023-02-25 00:21:37 -05:00
Freeplay
805dbe03d0 change reply hover 2023-02-25 00:19:39 -05:00
Freeplay
759923c36f fix alignment 2023-02-24 22:37:17 -05:00
Freeplay
46d8528739 increase size when indents decrease 2023-02-24 22:35:37 -05:00
Freeplay
d407d355b2 style view thread continuation button + fix link underline 2023-02-24 22:33:21 -05:00
Freeplay
180cdc4e27 larger pfp's for first column of replies on mobile 2023-02-24 20:37:36 -05:00
Kainoa Kanter
e594e791d5 Merge pull request 'fix: multiple Ads' bugs & feat: Ads widget' (#9668) from yawhn/elreqkey:9080_ads_widget into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9668
2023-02-24 17:22:46 +00:00
Freeplay
50290f8887 Reduce detailed note spacing on mobile 2023-02-24 11:55:51 -05:00
yawhn
d2f1268195 fix: multiple Ads' bugs.
feat: Ads widget

https://codeberg.org/calckey/calckey/issues/9138
https://codeberg.org/calckey/calckey/issues/9080
2023-02-24 13:58:45 +02:00
Masaya Suzuki
00e42db681 Check redis connection
---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-02-23 22:04:47 -08:00
Freeplay
9dd68d0c42 Change reply order from oldest to newest 2023-02-23 22:45:12 -05:00
Freeplay
d4139fff72 also add hover to link previews 2023-02-23 22:03:38 -05:00