Commit graph

3274 commits

Author SHA1 Message Date
fruye
f8178a9535 fix: Get list titles from Form data when creating and updating lists
This change will actually make it possible for Mastodon clients to
create and rename lists, as they send the title in a Form data instead
of a query string.

https://docs.joinmastodon.org/methods/lists/#form-data-parameters
2023-04-27 22:42:10 +02:00
fruye
e5fcde758f fix: Make statusModel created_at fields be ISO 8601 strings
This makes the 'Reactions to this post' status (seen when viewing
a status context) send the correct data type for `created_at` fields.

https://docs.joinmastodon.org/entities/Account/#created_at
https://docs.joinmastodon.org/entities/Status/#created_at
2023-04-27 21:54:51 +02:00
Kainoa Kanter
dd58a9a3ff Merge pull request 'add additional information & show more button in user preview popup' (#9926) from Freeplay/calckey:userpopup into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9926
2023-04-27 13:24:13 +00:00
Freeplay
bd8d8af9ac add additional information & show more button in user preview popup 2023-04-27 08:16:25 -04:00
ThatOneCalculator
0fdb5c4230
hide for now 2023-04-27 01:22:50 -07:00
ThatOneCalculator
9db2930f68
it's always pleroma 2023-04-27 01:17:09 -07:00
ThatOneCalculator
8a950d6a3e
fix disabled, formatting 2023-04-27 01:16:33 -07:00
ThatOneCalculator
d223007295
import formradio 2023-04-27 01:12:02 -07:00
ThatOneCalculator
17b05511aa
refactor: change import type to radio 2023-04-27 01:08:28 -07:00
ThatOneCalculator
df8db1171a
fix: style email with inline styles 2023-04-26 20:21:30 -07:00
ThatOneCalculator
a47d05dcda
im dumb 2023-04-26 20:10:42 -07:00
ThatOneCalculator
e048d951fc
try to fix email style... 2023-04-26 20:04:58 -07:00
ThatOneCalculator
ddc487cb39
mfw 2023-04-26 20:03:04 -07:00
ThatOneCalculator
a44fee3aae
fix? 2023-04-26 19:58:26 -07:00
ThatOneCalculator
8e22a211d1
fix: add route 2023-04-26 19:51:25 -07:00
ThatOneCalculator
0a2335ff75
feat: frontend interface for post-account creation email verification 2023-04-26 19:44:38 -07:00
ThatOneCalculator
868489d5ac
notes -> posts 2023-04-26 19:02:38 -07:00
ThatOneCalculator
9177825990
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-04-26 15:10:48 -07:00
ThatOneCalculator
2c98d43996
chore: more rpine for server activity widget 2023-04-26 15:10:33 -07:00
yawhn
e7fe452f22 Fix: Inline Ads bug (#9922)
This PR fixes this issue: https://codeberg.org/calckey/calckey/issues/9747

Co-authored-by: ThatOneCalculator <kainoa@t1c.dev>
Co-authored-by: yawhn <kordaris@gmail.com>
Co-authored-by: Otto Richter <otto@codeberg.org>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9922
Co-authored-by: yawhn <yawhn@noreply.codeberg.org>
Co-committed-by: yawhn <yawhn@noreply.codeberg.org>
2023-04-26 21:38:44 +00:00
ThatOneCalculator
1bab53fed2
chore: formatting 2023-04-26 14:20:27 -07:00
ThatOneCalculator
3dfb43be84
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-04-26 14:20:02 -07:00
ThatOneCalculator
fca37cd86e
Revert "chore: update summaly"
This reverts commit b60a3b509e.
2023-04-26 14:19:55 -07:00
Namekuji
eebfdf8559 feat: reserved usernames (#9917)
This PR adds a feature to prevent users from creating a new account with a reserved username such as root, admin, system, proxy, info, etc...

Reserved usernames can be configured via the config file.

The administrator can create an account with a reserved username via the first setup screen or the control panel.

The existing account of reserved usernames will not be affected.

Co-authored-by: Namekuji <nmkj@mx.kazuno.co>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9917
Co-authored-by: Namekuji <nmkj@noreply.codeberg.org>
Co-committed-by: Namekuji <nmkj@noreply.codeberg.org>
2023-04-26 20:06:18 +00:00
Free
48b8aeaf62 super minor styling stuff (#9918)
Co-authored-by: Freeplay <Freeplay@duck.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9918
Co-authored-by: Free <freeplay@duck.com>
Co-committed-by: Free <freeplay@duck.com>
2023-04-26 20:03:32 +00:00
naskya
eea98cb6c2
fix an instance ticker bug 2023-04-27 03:29:07 +09:00
ThatOneCalculator
6b87d708f3
posts 2023-04-25 19:05:29 -07:00
ThatOneCalculator
47744afdbc
rm todo 2023-04-25 18:40:10 -07:00
ThatOneCalculator
d2fd719cab
use chartLimit 2023-04-25 18:34:04 -07:00
ThatOneCalculator
19783a9002
mmm matrix math yummy 2023-04-25 18:31:04 -07:00
ThatOneCalculator
a6761ec278
see if this works 2023-04-25 18:21:15 -07:00
ThatOneCalculator
8fa0919810
typo 2023-04-25 18:16:14 -07:00
ThatOneCalculator
221bac64db
feat: heatmap option for activity widget 2023-04-25 18:06:21 -07:00
ThatOneCalculator
9b129be524
throw different error if following is null 2023-04-25 08:31:05 -07:00
ThatOneCalculator
b2e80db219
revert messaging room 2023-04-24 15:45:34 -07:00
naskya
df8294bde3 fix: boost muting in the recommended timeline (#9906)
Closes: #9905
Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9906
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-04-24 19:47:56 +00:00
ThatOneCalculator
64a1c24686
chore: up pakcages 2023-04-23 15:34:50 -07:00
fruye
1a39e7a48e feat: Implement reading Announcements from MastoAPI 2023-04-23 22:17:02 +02:00
ThatOneCalculator
591e44ccd6
chore: formatting 2023-04-22 17:22:53 -07:00
Free
29818a067b Notes refactoring (?) + new CW design (#9888)
Moved a lot of the duplicated code in the different note components into the SubNoteContent component

I've also replaced the detailed note stuff with just the MkNote component

Co-authored-by: Freeplay <Freeplay@duck.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9888
Co-authored-by: Free <freeplay@duck.com>
Co-committed-by: Free <freeplay@duck.com>
2023-04-23 00:21:38 +00:00
tinaxd
4974088061
fix: ドライブアップロードで413が返ってきたときにエラーメッセージを表示 (#10680) 2023-04-22 17:19:52 -07:00
naskya
00b45ad726 security: validate image url (#9882)
It looks like url validations are added in f7564d87b0, but I found another validation commit not applied in Calckey, so I cherry-picked 0da0cc80b9 from [Misskey](https://github.com/misskey-dev/misskey).

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9882
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-04-21 01:50:47 +00:00
naskya
e0d76ef8ef feat: make it toggleable whether to disable emojis in notifications (#9880)
I talked about feature #9865 on my fedi account and received a comment like, "I don't care about emoji reactions in my timelines, but I do care what reactions I get!"

Adding too many options is bad, but I agreed that making it toggleable whether to disable emojis in notifications is helpful, so I added this feature. This allows you to check emoji reactions to your posts in notifications while using the simple UI. I'd say this provides an experience that neither Mastodon nor Misskey has.

The new setting item shows up only when you disable emoji reactions.

Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9880
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-04-20 07:57:36 +00:00
ThatOneCalculator
b60a3b509e
chore: update summaly 2023-04-19 21:28:43 -07:00
ThatOneCalculator
89d2a83d7a
email styling 2023-04-19 21:26:49 -07:00
ThatOneCalculator
a1f723a18e
chore: formatting 2023-04-19 21:06:05 -07:00
ThatOneCalculator
08930c6de2
fix header tabs 2023-04-19 21:05:41 -07:00
ThatOneCalculator
e3e3ee8bb0
why was the order reversed? 2023-04-19 21:02:12 -07:00
ThatOneCalculator
f584c460e3
fix tag on explore 2023-04-19 21:00:01 -07:00
ThatOneCalculator
c6f0047aed
reaction settings auto reload 2023-04-19 20:46:37 -07:00
naskya
0a173a3c1c feat: add an option to disable emoji reactions (#9878)
Closes: #9865
Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9878
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-04-20 02:53:28 +00:00
naskya
70e4b36bd3
Fix the search bar bug on iOS 2023-04-20 04:21:28 +09:00
ThatOneCalculator
1ddb15909d
gallery styling 2023-04-18 11:58:04 -07:00
ThatOneCalculator
d6a4ecb495
Revert "update locales for calckey"
This reverts commit 8ab6a4c442.
2023-04-17 15:37:05 -07:00
daikei
2cdaad588c [Fix] Properly replace koa-fix-trailing-slashes with inhouse script (#9870)
This follows up #9869, with an awaited ``next()``, fixing the script.

> I'm looking to remove another 5kb package, replacing it with an in-house script. The commit i'm proposing translates the entire job of koa-remove-trailing-slashes into a 206 byte script that gets the job done well.

(just to show the code does work)
![](https://s3.kitsunes.club/storage/41c7854d-d01e-4f4c-94dd-8b651e2d7367.gif)

Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9870
Co-authored-by: daikei <daikei@noreply.codeberg.org>
Co-committed-by: daikei <daikei@noreply.codeberg.org>
2023-04-17 22:36:22 +00:00
ThatOneCalculator
8ab6a4c442
update locales for calckey 2023-04-17 03:07:07 -07:00
ThatOneCalculator
48ff0254b1
chore: formatting 2023-04-17 01:47:53 -07:00
ThatOneCalculator
c0fe351bed
Revert "[Fix] remove-trailing-slashes with inhouse script (#9869)"
This reverts commit 07db141fc0.
2023-04-17 01:22:31 -07:00
ThatOneCalculator
1ed5ff7caf
Revert "formatting"
This reverts commit b32e1b56fa.
2023-04-17 01:22:25 -07:00
ThatOneCalculator
b32e1b56fa
formatting 2023-04-17 01:03:56 -07:00
daikei
07db141fc0 [Fix] remove-trailing-slashes with inhouse script (#9869)
I'm looking to remove another 5kb package, replacing it with an in-house script. The commit i'm proposing translates the entire job of `koa-remove-trailing-slashes` into a 206 byte script that gets the job done well.

Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9869
Co-authored-by: daikei <daikei@noreply.codeberg.org>
Co-committed-by: daikei <daikei@noreply.codeberg.org>
2023-04-17 08:02:29 +00:00
ThatOneCalculator
ca5d9377a1
MkNumber for data in MkUserInfo 2023-04-16 19:26:57 -07:00
ThatOneCalculator
d2a1c947a4
style announcement image 2023-04-16 19:04:28 -07:00
ThatOneCalculator
8a80dd0438
move hover to entire ticker 2023-04-16 17:52:14 -07:00
ThatOneCalculator
57a4360165
remove duplicate styles 2023-04-16 17:51:34 -07:00
ThatOneCalculator
dfd20a3a22
capitalize string 2023-04-16 17:50:05 -07:00
ThatOneCalculator
2a8b9dc92a
feat: software name on hover icon in instance ticker 2023-04-16 17:35:10 -07:00
Kaity A
011b482e98 Add continuation for thread reply level (#9821)
I think this will solve the continuation issue in threads where the reply level reaches 12 deep in the conversation thread, without getting to indent depth 5.

Co-authored-by: Kaity A <kaity@theallans.com.au>
Co-authored-by: Kaity A <supakaity@blahaj.zone>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9821
Co-authored-by: Kaity A <supakaity@noreply.codeberg.org>
Co-committed-by: Kaity A <supakaity@noreply.codeberg.org>
2023-04-15 21:56:17 +00:00
ThatOneCalculator
0a3259993b
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-04-15 13:16:17 -07:00
ThatOneCalculator
1ecc91b0d3
read messages with dialog 2023-04-15 13:16:13 -07:00
naskya
f7602be0e7 fix: disable "Search" keyword (#9856)
Related: #9816 #9830
I was so careless that I didn't know "Search" was also a keyword. I disabled that and fixed a minor bug.

Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9856
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-04-15 17:53:17 +00:00
naskya
dde2679875
feat: rename workspaces 2023-04-16 01:05:18 +09:00
ThatOneCalculator
1824b27e16
chore: formatting 2023-04-14 15:35:18 -07:00
Kainoa Kanter
4f6cae7643 Merge pull request '[feat] Replace Koa-FavICO with a smaller router' (#9853) from daikei/calckey:modularize-favico into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9853
2023-04-14 22:33:49 +00:00
naskya
429b926fcf
change regex priority 2023-04-15 01:41:49 +09:00
naskya
f531ed2ab2
fix a bug 2023-04-15 01:37:53 +09:00
daikei
c959d4185c remove koa-favicon 2023-04-14 16:20:27 +00:00
daikei
1b9a776220 replace koa-favicon with a small patch of code
This should remove a needless dependency and replace it with a tiny, simple koa router
2023-04-14 16:18:50 +00:00
naskya
a2e56314fe
prevent crashes due to timezone === null 2023-04-15 01:01:36 +09:00
naskya
4d0245f1a5
allow acute accent 2023-04-15 01:00:43 +09:00
naskya
afa8f06ef6
improve city search 2023-04-15 00:40:13 +09:00
ThatOneCalculator
9501e8a882
only show index posts action if admin 2023-04-13 20:11:39 -07:00
ThatOneCalculator
25f45f8b4b
fix: 🔒 don't show notes with CW on welcome screen
Closes #9849
2023-04-13 19:46:52 -07:00
ThatOneCalculator
4125e3704e
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-04-13 09:43:22 -07:00
ThatOneCalculator
4694e30573
chore: up swc 2023-04-13 09:43:13 -07:00
naskya
d5ce896bd2
Change boost button labels 2023-04-13 11:58:42 +09:00
naskya
daf07089b4 chore: update mfm-js version (#9844)
This resolves #9757.

Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9844
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-04-13 00:33:53 +00:00
ThatOneCalculator
8f7c136f48
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-04-12 17:19:17 -07:00
ThatOneCalculator
7f9d3f9d54
chore: formatting 2023-04-12 17:19:14 -07:00
naskya
e8566b95aa
correct position 2023-04-12 20:24:54 +09:00
naskya
46864916d9
Allow to mute my own boosts 2023-04-12 15:52:46 +09:00
ThatOneCalculator
07b9e17665
fix lookup instance 2023-04-11 10:32:51 -07:00
ThatOneCalculator
6b359071be
feat: lookup post action 2023-04-11 10:12:17 -07:00
ThatOneCalculator
b6d2b15948
feat: index posts action 2023-04-11 10:07:03 -07:00
ThatOneCalculator
0979ba6b8f
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-04-11 10:03:31 -07:00
ThatOneCalculator
c5b0b07027
feat: admin lookup files/instance 2023-04-11 10:03:25 -07:00
naskya
c3431b928a Partially disable search MFM (#9830)
Honestly, this workaround is pure garbage when this can be achieved by deleting a small piece of code from mfm-js, but this closes #9816 anyway 😅

Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9830
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-04-10 05:42:17 +00:00
Kainoa Kanter
63c35871b2 fix chat metadata 2023-04-08 00:18:37 -07:00
Kainoa Kanter
8491a757bc fix 2023-04-08 00:10:16 -07:00
Kainoa Kanter
ee83b5b1a3 Merge branch 'develop' of https://codeberg.org/calckey/calckey into develop 2023-04-07 23:56:06 -07:00