Commit graph

3052 commits

Author SHA1 Message Date
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
Freeplay
4c8c2364b2 fix not being able to click around there are new posts button 2023-02-23 20:50:58 -05:00
Freeplay
73478b4226 smaller reply avatars on mobile 2023-02-23 20:46:48 -05:00
Freeplay
0b73ebfd74 Make quotes clickable 2023-02-23 20:37:26 -05:00
Freeplay
65bcb91ca5 fix click events 2023-02-23 20:14:43 -05:00
Freeplay
5fa6b03423 change line color 2023-02-23 18:28:32 -05:00
Freeplay
1577f4771e line alignment fixes 2023-02-23 18:22:51 -05:00
Freeplay
f429766dd5 bruh why didn't I just do that 2023-02-23 16:44:15 -05:00
Freeplay
e10c630696 Merge branch 'develop' of https://codeberg.org/calckey/calckey into note-improvements 2023-02-23 16:21:54 -05:00
CutestNekoAqua
f013669e7b aa 2023-02-23 17:38:18 +01:00
CutestNekoAqua
066b4fa78d meow? 2023-02-23 17:20:34 +01:00
CutestNekoAqua
ac6cc1ea45 maybe buffer? 2023-02-23 17:13:35 +01:00
CutestNekoAqua
bab5577ee5 this is the sign I need a break 2023-02-23 17:07:49 +01:00
CutestNekoAqua
50687ef209 move file upload to new router 2023-02-23 17:02:02 +01:00
CutestNekoAqua
76a4228de3 oh ich hab verkackt 2023-02-23 16:57:21 +01:00
CutestNekoAqua
b712b67df3 use multer upload instead 2023-02-23 16:55:38 +01:00
CutestNekoAqua
6b97e42a7f update thingy? 2023-02-23 16:42:57 +01:00
CutestNekoAqua
678c3c2483 lol 2023-02-23 16:34:16 +01:00
CutestNekoAqua
506709d2eb fixed what ever calc did here, masto app didnt 2023-02-23 16:32:21 +01:00
CutestNekoAqua
273b86b9f4 ?? 2023-02-23 16:26:33 +01:00
CutestNekoAqua
b1d785b486 await the instance meta 2023-02-23 16:12:53 +01:00
CutestNekoAqua
83cc0c9828 import config 2023-02-23 15:58:54 +01:00
CutestNekoAqua
0ca238d680 import multer 2023-02-23 15:55:28 +01:00
CutestNekoAqua
75bd0baf99 remove not needed middleware handlers 2023-02-23 15:46:12 +01:00
CutestNekoAqua
e4a276a989 aaa 2023-02-23 00:31:14 +01:00
CutestNekoAqua
9ef7ac930d Merge branch 'develop' of https://codeberg.org/calckey/calckey into develop 2023-02-22 09:44:57 +01:00
CutestNekoAqua
e2ad9a94ec fix mastodon api stats 2023-02-22 09:44:47 +01:00
ThatOneCalculator
909900c2e9 fix: visibility picker 2023-02-21 16:04:00 -08:00
ThatOneCalculator
e3a14367fb fix: 🐛 url slicing 2023-02-21 15:51:46 -08:00
Freeplay
4dd7f5ef1b *Might* be something that can improve performance 2023-02-20 23:29:34 -05:00
Freeplay
c2f670d11c Prevent mention avatars from wrapping 2023-02-20 22:24:06 -05:00
ThatOneCalculator
67363f2e17 refactor: max 5 url previews
Closes #9654
2023-02-20 12:01:17 -08:00
Freeplay
ef431cada4 Revert footer changes 2023-02-20 13:30:15 -05:00
Freeplay
60461bbabb Use bolder font on active reaction 2023-02-20 13:19:12 -05:00
Freeplay
4c5119d680 use accent color for lines 2023-02-20 13:18:37 -05:00
Freeplay
4406671edf back to the smaller avatars 2023-02-19 20:56:28 -05:00
Freeplay
145b15ad04 Merge branch 'develop' of https://codeberg.org/calckey/calckey into note-improvements 2023-02-19 20:24:33 -05:00
Freeplay
4ea8fd4c67 add reply connectors, a 2023-02-19 20:12:01 -05:00