Commit Graph

3171 Commits

Author SHA1 Message Date
ThatOneCalculator
3ec3be9abe Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-04-13 09:43:22 -07:00
ThatOneCalculator
224fdf4dc5 chore: up swc 2023-04-13 09:43:13 -07:00
naskya
5300129357 Change boost button labels 2023-04-13 11:58:42 +09:00
naskya
9751de9820 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
9ba0a3df24 Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-04-12 17:19:17 -07:00
ThatOneCalculator
b62549cf69 chore: formatting 2023-04-12 17:19:14 -07:00
naskya
845285fad6 correct position 2023-04-12 20:24:54 +09:00
naskya
58b3950680 Allow to mute my own boosts 2023-04-12 15:52:46 +09:00
ThatOneCalculator
3b251e3a46 fix lookup instance 2023-04-11 10:32:51 -07:00
ThatOneCalculator
53b21cd455 feat: lookup post action 2023-04-11 10:12:17 -07:00
ThatOneCalculator
fce8b16144 feat: index posts action 2023-04-11 10:07:03 -07:00
ThatOneCalculator
b1e1c1957c Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-04-11 10:03:31 -07:00
ThatOneCalculator
9b65711193 feat: admin lookup files/instance 2023-04-11 10:03:25 -07:00
naskya
9abd49bc88 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
5f0103dff1 fix chat metadata 2023-04-08 00:18:37 -07:00
Kainoa Kanter
ce9c671816 fix 2023-04-08 00:10:16 -07:00
Kainoa Kanter
a9a1f91658 Merge branch 'develop' of https://codeberg.org/calckey/calckey into develop 2023-04-07 23:56:06 -07:00
Kainoa Kanter
ca0189f1fd feat: mark all as read action in chat 2023-04-07 23:56:02 -07:00
Kainoa Kanter
9be3fca2b8 feat: messaging room banner 2023-04-07 23:55:42 -07:00
Kainoa Kanter
5f6358c4bd Merge pull request 'fix: retrieve remote user again when migrating' (#9826) from nmkj/calckey:fix-alsoknownas into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9826
2023-04-08 06:15:27 +00:00
Kainoa Kanter
6d5129c938 move hidden hashtag menu 2023-04-07 22:54:25 -07:00
Kainoa Kanter
79ae442ba3 back button 2023-04-07 22:46:41 -07:00
Kainoa Kanter
1affde0a8c chore: formatting 2023-04-07 22:46:10 -07:00
Namekuji
f2cf92aea1 fetch person again 2023-04-08 01:44:50 -04:00
naskya
0ef179e35f feat: per-user boost muting (#9825)
Cherry-picked from FoundKey/c414f24a2c ([commit](c414f24a2c))

This allows us to hide specified users' boosts from the timelines (the boosts will still be visible on their user page).

Co-authored-by: Hélène <pleroma-dev@helene.moe>
Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9825
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-04-08 05:44:36 +00:00
amy bones
d562f0c3c8 feat: add hidden hashtags management page
This simply adds a basic admin UI to blocklist some hashtags from displaying in
the trending widget. The facility existed already in the backend, but there was
no UI to manipulate the list save for executing raw SQL or API calls.
2023-04-07 18:57:52 -07:00
Kainoa Kanter
8cb98945e4 hotfix: fix crash 2023-04-07 17:58:29 -07:00
Kainoa Kanter
799ac84ee3 Revert "Revert "Incorporate calckey-js into calckey repository (#9820)""
This reverts commit 8033492c7c4827fbff05782d08ae65bc3440c080.
2023-04-07 17:44:27 -07:00
Kainoa Kanter
a5c4d0a7bd Revert "Incorporate calckey-js into calckey repository (#9820)"
This reverts commit 37c0423da6bce9b86b8f4f9a5b78f640166dd3d5.
2023-04-07 17:35:10 -07:00
Kainoa Kanter
4cf87ca92f fix: typo 2023-04-07 17:25:24 -07:00
Kainoa Kanter
0c17baa47f Merge pull request 'fix: followers transfer via account migration' (#9822) from nmkj/calckey:fix-move into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9822
2023-04-08 00:06:08 +00:00
Kainoa Kanter
8f35b66bbb fix: format script; chore: format 2023-04-07 17:01:42 -07:00
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