Commit Graph

20763 Commits

Author SHA1 Message Date
Johann150 0965d3cbd9
merge: simplify pages
FoundKeyGang/FoundKey#49
2022-08-19 09:16:49 +02:00
Johann150 6db0c68503
add changelog entry 2022-08-19 09:12:10 +02:00
Norm db97ed31e8 Update CHANGELOG for PR #62
Ref: FoundKeyGang/FoundKey#62
2022-08-18 20:58:13 +00:00
Norm 27c56a4dcc Merge pull request 'security: update multer to 1.4.5-lts.1' (#69) from fix/multer-security into main
Reviewed-on: FoundKeyGang/FoundKey#69
2022-08-18 17:39:33 +00:00
Johann150 5d41384708
fix: await promises in migration 2022-08-18 18:26:17 +02:00
Johann150 01a4f3a7b8
enhance page editor
Using a plain textarea looks ugly and it is very small by default. Using
a MkTextarea fixes this.

For the readonly view, the individual fields should respectively be readonly.
2022-08-18 17:34:21 +02:00
Johann150 7ae5d6b1b8
backend: fix packing pages 2022-08-18 17:34:20 +02:00
Johann150 c781210ea1
fix router for new page editor path 2022-08-18 17:34:20 +02:00
Johann150 c0b0720ede
add best effort migration for pages 2022-08-18 17:34:20 +02:00
Johann150 5489ce4053
client: siplify page display 2022-08-18 17:34:19 +02:00
Johann150 b662ce8460
client: simplify page editor 2022-08-18 17:34:18 +02:00
Johann150 90d35b951f
adjust types & api for pages 2022-08-18 17:32:01 +02:00
Johann150 95d92a711a
remove unused locale strings 2022-08-18 17:32:00 +02:00
Johann150 bc79d721c8
remove client code related to pages 2022-08-18 17:31:51 +02:00
Johann150 1ca6ad080c
fix: binding is not defined 2022-08-18 15:15:17 +02:00
Johann150 b137a39160
merge: remove promo notes
FoundKeyGang/FoundKey#62
2022-08-18 14:26:48 +02:00
Johann150 5a6b183175
merge: remove Twitter preview 2022-08-18 14:25:14 +02:00
Norm c11fbc7a86 Update changelog to reflect multer update 2022-08-18 05:57:41 +00:00
Norm f30e02dc73 security: update multer to 1.4.5-lts.1
This version of multer contains a fix for
CVE-2022-24434 which affects a transitive dependency.

> This affects all versions of package dicer. A malicious attacker can
> send a modified form to server, and crash the nodejs service. An
> attacker could sent the payload again and again so that the service
> continuously crashes.

Ref: https://nvd.nist.gov/vuln/detail/CVE-2022-24434
2022-08-18 01:37:39 -04:00
Chloe Kudryavtsev 3c31e7b3ca chore: add sublime-text gitignore 2022-08-17 13:40:21 -04:00
Norm 46d550687a
Note change in CHANGELOG 2022-08-17 12:37:13 -04:00
Norm ec4e720f8f
remove expandTweet from locales 2022-08-17 12:35:21 -04:00
Norm 74c71f5ce5
Remove twitter embed
Fixes FoundKeyGang/FoundKey#46
2022-08-17 12:35:11 -04:00
Norm 2fc7a34018
Update changelog
Created a section for v13.0.0-preview1 and added in changes that were
made since that version was tagged.
2022-08-16 01:41:31 -04:00
Johann150 298febeb9c
enhance: add re-collapsing to quoted notes 2022-08-15 22:28:29 +02:00
Norm bb073670ef Merge pull request 'Fix birthday time offset and date locale' (#66) from fix/date into main
Reviewed-on: FoundKeyGang/FoundKey#66
2022-08-15 18:45:56 +00:00
Norm 1cb5856f7c Fix birthday time offset and date locale
The user's configred birthday is stored as UTC time, so use that for display as well.
This means the birthday won't be shown as a day behind or ahead depending on the user's browser timezone.

Also use the locale configured in the user's client settings in Misskey for date formatting.
2022-08-15 13:11:53 -04:00
Johann150 a07b464690
fix missed parentheses 2022-08-14 17:32:25 +02:00
Johann150 4e41fa8767
refactor user page to use MkTime component 2022-08-14 14:46:18 +02:00
Johann150 5548b585df
refactor MkTime component
Add the datetime property to the HTML5 time tag for a machine readable
timestamp.

Add the ability to display only the date or the time.

Change the computation of the relative time string to have precision
based on the format chosen based on the choice above. Also changed the
threshold for what is considered a date in the future so people do not
see "future" on notes they just created and thus try to stop them from
time traveling.
2022-08-14 14:14:29 +02:00
Johann150 39b85f4a08
client: remove _prId_
That property was set on promo notes in the backend. Since it is no longer
being used it should also be removed from the client.
2022-08-14 13:14:17 +02:00
Johann150 f0bdd9666f
remove empty import statements 2022-08-14 12:26:18 +02:00
Johann150 c8afce6b2c
fix blocking of remote accounts
The property name was misspelled.
2022-08-14 11:33:08 +02:00
Chloe Kudryavtsev 9e6bc30a66 client: remove unused windowHeader references
All of them exist in separate header/body components.
Changed to have the entire component have the same background,
rather than setting it twice.
2022-08-12 21:25:06 +00:00
Chloe Kudryavtsev 8d99f69c90 client: remove _acrylic
Acrylic is defined as having a background
similar to panel + transparency and backdrop.
Simply change everything that is _acrylic to be _panel instead.
2022-08-12 21:25:06 +00:00
Norm 7abad139f8 fix: uploadFile when folder is undefined
In uploadFile, folder can be undefined when uploading to the parent
folder.
2022-08-12 21:21:38 +00:00
Johann150 745df85809
remove promo note locales 2022-08-12 19:42:14 +02:00
Johann150 e028a852f6
remove more code referencing promo notes 2022-08-12 19:39:48 +02:00
Johann150 2209490cc8
client: fix syntax error in reaction-icon.vue 2022-08-12 09:07:13 +02:00
Johann150 5b4c0ffdf3
client: fix some lints
Mostly focused on "@typescript-eslint/no-unused-vars" but also fixed some
other lints along the way.
2022-08-12 08:35:22 +02:00
Norm a267e7afdc Merge pull request 'remove okteto config and helm chart' (#61) from feature/remove-okteto into main
Reviewed-on: FoundKeyGang/FoundKey#61
2022-08-11 21:48:32 +00:00
Andy 7f806ca06b Remove client promotion code 2022-08-11 23:15:56 +02:00
Andy c7bf29fd49 Remove promo entities and endpoints 2022-08-11 23:13:09 +02:00
Andy c877c5738d remove okteto config and helm chart 2022-08-11 22:27:14 +02:00
Norm 534666f762 remove allowEmpty 2022-08-11 04:07:29 -04:00
Norm 21b78274aa more syntax fixes 2022-08-10 20:57:20 -04:00
Norm 091bf0f77b fix syntax error 2022-08-10 20:49:40 -04:00
Norm ed52a39476 Remove unneeded imports/return annotations 2022-08-10 20:25:30 -04:00
Norm 0ce09d6753 refactor: post-form-attaches to composition api 2022-08-10 20:25:21 -04:00
Johann150 4934303956
remove unused code 2022-08-11 00:38:56 +02:00