Commit graph

3069 commits

Author SHA1 Message Date
Marie
321e7daab5
chore: add comments 2024-10-02 17:26:23 +02:00
dakkar
0bd6d48c7e merge: Customize Sidebar/Visitor/About separately from app icon. (!632)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/632

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2024-10-02 14:55:20 +00:00
dakkar
bf85d22a66 merge: Enhance: Add back buttons to Antenna and List Timelines, Tag Search, and Role Detail page. (!637)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/637

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2024-10-02 14:43:37 +00:00
dakkar
7bc0d4efff merge: Respect CWs in note previews (resolves #690) (!639)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/639

Closes #690

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2024-10-02 14:43:07 +00:00
Hazel K
c0583e5d5c don't leak boost / quote / reply contents when CW is in effect 2024-10-02 00:54:35 -04:00
Hazel K
cb10fe91bb preserve non-text details in note summaries 2024-10-01 18:28:25 -04:00
Hazel K
94ce7272a7 avoid TS errors in get-note-summary 2024-10-01 14:47:06 -04:00
Hazel K
34aeeb0862 respect CWs in note summaries 2024-10-01 14:47:06 -04:00
Julia Johannesen
91889dfed3
Add spacing in type signature
Again, to match the upstream PR.
2024-10-01 13:07:32 -04:00
Julia Johannesen
0aec0bb402
Fix to match upstream
Upstreams linter was mad about the attributes not being before the event
handlers, so this fixes that to match upstream when we end up merging
2024.9 (assuming it gets included in that release)
2024-10-01 10:30:02 -04:00
Julia Johannesen
7a1596cad9
Make post form attachments accessible
Adds a role="button", tabindex, and @keydown to MkPostFormAttaches in
order to make it accessible to keyboard users.
2024-10-01 10:06:40 -04:00
piuvas
de33ade423
fix wording for the branding setting 2024-09-29 11:45:35 -03:00
piuvas
4edce0cb48
classic view 2024-09-29 09:04:21 -03:00
piuvas
08711e144b
fix iconOnly view 2024-09-29 08:29:50 -03:00
丈槍由紀
025b2467b2 Add back button to the Roles page. 2024-09-27 23:00:08 -04:00
丈槍由紀
d9ba0f9f0d Add back button to antenna, list, and tag timelines. 2024-09-27 23:00:02 -04:00
dakkar
69efba9366 merge: Fetch sponsors from OC (!624)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/624

Closes #653

Approved-by: Julia <julia@insertdomain.name>
Approved-by: Tess K <me@thvxl.se>
2024-09-23 17:57:39 +00:00
piuvas silly
41edc4cfbd Update 4 files
- /packages/frontend/src/pages/admin/branding.vue
- /packages/backend/src/models/Meta.ts
- /packages/backend/src/server/api/endpoints/admin/meta.ts
- /packages/backend/src/server/api/endpoints/admin/update-meta.ts
2024-09-23 16:34:29 +00:00
piuvas silly
3ebef6ac47 Update navbar-for-mobile.vue 2024-09-23 16:26:33 +00:00
piuvas silly
15167d98c5 Update navbar.vue 2024-09-23 16:25:34 +00:00
piuvas silly
a220d327cd Update navbar-for-mobile.vue 2024-09-23 16:24:57 +00:00
piuvas
4ee2973303
requested fixes! 2024-09-22 17:32:46 -03:00
piuvas
73c0b11d1c
fix icon-only sidebar bug. 2024-09-22 15:36:10 -03:00
piuvas
d839c1eee1
sidebarlogo localization 2024-09-22 15:28:10 -03:00
piuvas
34392ff11a
fix formatting 2024-09-22 14:50:35 -03:00
piuvas
ec5b3c8788
frontend changes 2024-09-22 14:47:04 -03:00
piuvas
1af6f8c5da
backend configuring 2024-09-22 14:47:04 -03:00
Esurio
7aa956aca9
fix: use i18n in settings 2024-09-22 14:47:04 -03:00
Marie
1a6c4e3714
upd: remove duplication 2024-09-22 19:13:50 +02:00
Marie
730bdab5fa upd: add onCancel to esc 2024-09-21 18:04:31 +00:00
dakkar
d3710f0872 maybe fix #510 - try to not edit visibility
the frontend part is pretty straightforward, the backend part is ugly
but it shouldn't make things worse than they already are
2024-09-21 18:24:57 +01:00
dakkar
2017b763f2 fix #332 - classic view navbar now respects "side (icon only)"
* removed `menuDisplay` computed variable
* directly access `defaultStore` in `calcViewState`
* actually call `calcViewState` at setup!

all three these changes were copied from `universal.vue`, the default
view.
2024-09-21 17:10:05 +01:00
dakkar
1b58326dd6 alert when searching notes from widget, and search is disabled 2024-09-21 16:29:23 +01:00
Esurio
cc51f7038e fix: use i18n in settings 2024-09-19 12:37:56 +00:00
Marie
c5c3c26271
chore: vue lint 2024-09-16 02:11:41 +02:00
Marie
7d449b9009
chore: add spacing between { and } 2024-09-16 01:17:12 +02:00
Marie
696c76768d
chore: lint 2024-09-16 01:14:31 +02:00
Marie
d2564836ed
upd: prompt for confirmation on external links 2024-09-16 01:12:20 +02:00
Marie
e21e2530e6
fix: don't show quoted toast on cancel of quote note 2024-09-16 00:35:26 +02:00
Marie
bde6bb0bd2
upd: don't ignore new lines on file info 2024-09-16 00:15:06 +02:00
Marie
67257ee5c6
upd: fix audio showing multiple warnings 2024-09-16 00:08:15 +02:00
Marie
9b7301fb2e
upd: Prompt for confirmation when Plugin:open_url is used 2024-09-15 23:54:31 +02:00
Marie
b7815df134
upd: fetch sponsors from OC 2024-09-15 20:04:29 +02:00
dakkar
b211507a07 merge: Run eslint with caching (!618)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/618

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Tess K <me@thvxl.se>
2024-09-14 10:45:44 +00:00
Esurio
bd586c86ec fix: use i18n in SkSearchResultWindow 2024-09-14 16:41:31 +09:00
4censord
0a8cb21e9b
Run eslint with caching
This reduces the time for subsequent lints significantly.
e.g. for `package/frontend`, the first run takes ~10min.
With the cache, every subsequent run takes only a few seconds.
2024-09-14 00:58:02 +02:00
Julia
d4c5322f9c merge: 2024.8 (!610)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/610

Approved-by: Julia <julia@insertdomain.name>
2024-09-13 15:57:16 +00:00
dakkar
fcd63e0378 merge: chore: Update Donation button (!616)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/616

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Tess K <me@thvxl.se>
2024-09-08 16:33:24 +00:00
Marie
14ce6f7cbb chore: add missing person 2024-09-06 22:59:35 +00:00
Marie
ccc2cdb887 chore: update contributor section 2024-09-06 22:46:34 +00:00
Marie
19c90d8e9f chore: update Ko-Fi text to OpenCollective 2024-09-06 21:27:35 +00:00
Marie
9a7300489c chore: update donation links in backend and frontend 2024-09-06 21:25:38 +00:00
Essem
8669125f37
chore: Remove esm from about page 2024-09-04 16:06:15 -05:00
dakkar
e04c7ad09f copy changes from MkNote* to SkNote* 2024-08-30 12:12:44 +01:00
dakkar
6151099f5b Merge remote-tracking branch 'misskey/master' into feature/misskey-2024.8 2024-08-30 12:08:31 +01:00
Leah
717d22d4be remove extra line 2024-08-26 19:12:27 +02:00
Leah
ecbe595b34 added event to detect when control and enter are pressed to confirm it. Also escape now escapes the window 2024-08-26 19:09:30 +02:00
dakkar
d16f301d90 update testers for 2024.7
karilaa.app seems down, and I've not heard from them

plasmatrap has been running our release candidate for a few days
2024-08-22 14:07:21 +01:00
dakkar
a408d32bb7 fix button translation
that Japanese string exactly matches that i18n key
2024-08-19 20:49:47 +01:00
dakkar
f5560783ea merge: misskey 2024.7 (!583)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/583

Approved-by: Marie <github@yuugi.dev>
Approved-by: Julia Johannesen <julia@insertdomain.name>
2024-08-18 18:32:27 +00:00
かっこかり
b53ee54e4f
fix(frontend): focustrapがzindexを考慮するように (#14431) 2024-08-18 14:18:46 +09:00
syuilo
9b78ce8047 🎨 2024-08-18 10:12:42 +09:00
syuilo
427f4a2cda Update about-misskey.vue 2024-08-18 10:10:06 +09:00
woxtu
ba9c5c37b8
Remove undefined style (#14427) 2024-08-18 03:40:21 +09:00
かっこかり
4e0d57000c
fix(frontend): 以前のpopupの呼び出し方を修正 (#14421) 2024-08-17 18:04:52 +09:00
syuilo
c0de57c08d Update about-misskey.vue 2024-08-17 17:57:27 +09:00
かっこかり
75b0315ace
Update timeline.vue (refactor) 2024-08-17 15:24:29 +09:00
zyoshoka
fd744f44c1
enhance(backend): ページ、ギャラリー、Playのモデレーション強化 (#13523)
* enhance(backend): Page、ギャラリー、Playのモデレーション強化

* Update CHANGELOG.md

* fix: update misskey-js

* refactor(frontend): use `MkA`

* Update CHANGELOG.md

* fix(i18n): Page -> ページ
2024-08-17 15:01:08 +09:00
syuilo
383c41bdb6 🎨 2024-08-17 14:57:26 +09:00
かっこかり
059eb6d379
fix(frontend): リノートの判定が甘いのを修正 (#14396)
* fix(frontend): リノートの判定が甘いのを修正

* fix

* Update Changelog

* fix

* use type assertion

* fix + add comments

* lint

* misskey-jsに移動

* PureRenote -> Renote

* isRenote -> isPureRenote
2024-08-17 11:28:22 +09:00
syuilo
ef950a345b
suspend周りの改修 (#14409)
* enhance(backend): 凍結されたアカウントのフォローリクエストを表示しないように

* Update CHANGELOG.md

* wip

* Update gen-spec.ts

* Update packages/backend/src/server/api/endpoints/admin/suspend-user.ts

Co-authored-by: Kisaragi <48310258+KisaragiEffective@users.noreply.github.com>

* owa-

* revert misskey-js related changes (#14414)

---------

Co-authored-by: Kisaragi <48310258+KisaragiEffective@users.noreply.github.com>
Co-authored-by: anatawa12 <anatawa12@icloud.com>
2024-08-17 09:57:28 +09:00
Marie
5358c4f1d0 chore: fix typo in icon name 2024-08-16 13:50:02 +00:00
dakkar
90e9480b92 fix offestMode in MkPagination - fixes #622
3f73251df5 reworked the way `offsetMode`
is handled, to allow reactive `ComputedRef<boolean>` in addition to a
simple `boolean`, so that custom emoji search could easily switch
between the faster `sinceId`/`untilId` pagination and the slower
`offset` as needed.

Or it would have, if I had written the correct expression! I wrote
`props.offsetMode` instead of `props.pagination.offsetMode`, so it was
always `false`

I have *no idea* how I didn't notice, I swear I tested it ☹

Anyway, factoring out the nested ternaries makes the whole thing
clearer and less prone to mistakes. And I have tested it, this time.
2024-08-16 14:41:04 +01:00
かっこかり
571566d476
Update timeline.vue (fix wrong type) 2024-08-16 22:01:01 +09:00
anatawa12
748a7e8f6a
feat: localizable dialog title for enter section title (#14401)
* feat: localizable dialog title for enter section title

* refactor: define `getPageBlockList` in separated file and import instead of provide/inject
2024-08-16 21:47:44 +09:00
かっこかり
6db3c50e32
fix(frontend): Misskeyの利用中に使用できるタイムラインの種類が変化した場合、使用できないタイムラインが表示されないように (#14412)
* fix(frontend): Misskeyの利用中に使用できるタイムラインの種類が変化した場合、使用できないタイムラインが表示されないように

* Update timeline.vue

* Update timeline.vue
2024-08-16 21:43:20 +09:00
zyoshoka
26322048db
fix(frontend): correct condition to displayed as system account on moderation page (#14407) 2024-08-16 21:04:08 +09:00
syuilo
45d88574c3 enhance(frontend): improve usability 2024-08-15 20:02:53 +09:00
zyoshoka
b68b2ee8c6
refactor(frontend): remove stale reload method call on /admin/users page (#14406) 2024-08-14 20:29:33 +09:00
dakkar
c2b825b300 a few more fixes to os.popup calls 2024-08-14 12:28:57 +01:00
dakkar
5b808a97b2 update all our uses of os.popup 2024-08-14 11:50:39 +01:00
dakkar
917eb821e5 fix indent 2024-08-14 11:31:21 +01:00
dakkar
ee2bc0d370 move lines to same place as upstream 2024-08-14 11:30:43 +01:00
かっこかり
046f2435b2
fix(frontend): mCaptchaを使用していてもbotプロテクションに関する警告が消えないのを修正 (#14390)
* fix(frontend): mCaptchaを使用していてもbotプロテクションに関する警告が消えないのを修正

* Update Changelog

* refactor
2024-08-11 11:17:56 +09:00
かっこかり
7e3dedb045
fix(frontend): ページ遷移に失敗することがある問題を修正 (bump vue version) (#14380)
* fix(frontend): ページ遷移に失敗することがある問題を修正 (bump vue version)

* Update Changelog

---------

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-08-10 09:35:50 +09:00
zyoshoka
01a815f8a7
fix(general): some fixes and improvements of Play visibility (#14384)
* fix(backend): missing `visibility` param in packing flash

* fix(frontend): use `visibility` value got from API

* enhance(frontend): change preview appearance of private Play

* Update CHANGELOG.md
2024-08-10 09:34:49 +09:00
Daiki Mizukami
0d508db8a7
fix(backend): check visibility of following/followers of remote users / feat: moderators can see following/followers of all users (#14375)
* fix(backend): check visibility of following/followers of remote users

Resolves https://github.com/misskey-dev/misskey/issues/13362.

* test(backend): add tests for visibility of following/followers of remote users

* docs(changelog): update CHANGELOG.md

* feat: moderators can see following/followers of all users

* docs(changelog): update CHANGELOG.md

* refactor(backend): minor refactoring

`createPerson`と`if`の条件を統一するとともに、異常系の
処理をearly returnに追い出すための変更。

* feat(backend): moderators can see following/followers count of all users

As per https://github.com/misskey-dev/misskey/pull/14375#issuecomment-2275044908.
2024-08-09 12:10:51 +09:00
syuilo
6e3e7d7df1 Update about-misskey.vue 2024-08-08 20:22:25 +09:00
dakkar
652a8c5110 fix spacing 2024-08-06 20:33:25 +01:00
dakkar
ae12e216ab remove useless semicolon 2024-08-06 20:32:34 +01:00
dakkar
87deb87456 put back bits that were lost in the merge 2024-08-06 20:32:03 +01:00
dakkar
51b031d3fc avoid double spaces 2024-08-06 20:30:14 +01:00
dakkar
8a37ed668e fix variable name is MkMediaList 2024-08-06 20:28:50 +01:00
dakkar
65ae788d90 update our icons to the new custom font
mostly, `ph-bold` was replacing the font-family, so we're now using
`sk-icons-lg`
2024-08-06 18:05:15 +01:00
dakkar
34c1e9ea2b Merge branch 'develop' into feature/misskey-2024.07
fixing conflicts in `package.json`
2024-08-06 10:35:14 +01:00
dakkar
f0dd0b8993 revert AiScript hack for plugins
aiscript 0.19 should have fixed the problem, and no longer `abort`
when an error gets handled (or, in this case, logged)
2024-08-03 18:04:06 +01:00
dakkar
6b55713097 map new icons
phopshor doesn't have anything decent for "folder symlink", the
"folder dashed" I picked is pretty bad

the three classes not prefixed with `ti ` are inside a conditional in
`packages/frontend/src/pages/admin/abuse-report/notification-recipient.item.vue`
2024-08-02 13:23:15 +01:00
dakkar
4cba570f49 fixes for build 2024-08-02 13:11:12 +01:00
dakkar
b4624ce035 copy from MkNoteDetailed to SkNoteDetailed
plus some extra fixes in MkNoteDetailed
2024-08-02 13:01:12 +01:00
dakkar
3434092a10 copy from MkNote to SkNote 2024-08-02 12:45:57 +01:00