Johann150
ebfdc0ffe3
add link without preview
ci/woodpecker/push/lint-backend Pipeline was successful
Details
ci/woodpecker/push/lint-client Pipeline was successful
Details
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
Details
ci/woodpecker/push/build Pipeline was successful
Details
ci/woodpecker/push/lint-sw Pipeline was successful
Details
ci/woodpecker/pr/build Pipeline was successful
Details
ci/woodpecker/pr/lint-backend Pipeline was successful
Details
ci/woodpecker/pr/lint-client Pipeline was successful
Details
ci/woodpecker/pr/lint-foundkey-js Pipeline was successful
Details
ci/woodpecker/pr/lint-sw Pipeline was successful
Details
ci/woodpecker/push/test Pipeline was successful
Details
ci/woodpecker/pr/test Pipeline was successful
Details
2023-05-27 17:41:22 +02:00
Johann150
020a5bc5b8
remove unused resoectSilentFlag parameter
2023-05-27 17:38:07 +02:00
Johann150
cab80c49c0
add comments for regex's
2023-05-27 15:18:02 +02:00
Johann150
59c880b909
add position, scale, fg and bg MFM functions
2023-05-27 15:11:49 +02:00
Johann150
51b95e272c
fix link label rendering
2023-05-27 12:29:15 +02:00
Johann150
424a9ce7d1
fix some MFM effects not working sometimes
2023-05-27 12:29:14 +02:00
Johann150
ada0a7fa5a
make sure markdown is rendered only once
2023-05-27 12:29:14 +02:00
Johann150
1766ae1e0f
remove unused code
2023-05-27 12:29:14 +02:00
Johann150
d34d0161b6
fix line breaks again
2023-05-27 12:29:13 +02:00
Johann150
10f07029f6
fix newlines in code blocks
2023-05-27 12:29:13 +02:00
Johann150
cc78d3fc5f
add more MFM features & specialties
2023-05-27 12:29:13 +02:00
Johann150
95aa73c614
clean up markdown parsing
2023-05-27 12:29:13 +02:00
Johann150
5fe51d063c
respect animated mfm switch for markdown too
2023-05-27 12:29:12 +02:00
Johann150
4ca3f4d8f2
use MFM style sheet in MFM component too
...
This allows the MFM component to be simplified and use fewer inline styles.
2023-05-27 12:29:05 +02:00
Johann150
636ac82bcc
separate animated mfm
2023-05-27 12:16:28 +02:00
Johann150
b22e627089
add MFM style sheet
2023-05-27 12:16:28 +02:00
Johann150
f6387323c2
separate markdown parsing and rendering
2023-05-27 12:16:28 +02:00
Johann150
ae8946378f
chore: update package manager files
2023-05-27 12:16:27 +02:00
Johann150
f5c2fc5f14
client: hint at markdown support
2023-05-27 12:16:27 +02:00
Johann150
048cd549dd
client: add Markdown component
2023-05-27 12:16:27 +02:00
Johann150
989f0ce41d
fix MFM fg/bg color regex
...
CSS colors are either 3 or 6 hex digits, not 3 to 6 (which would allow
4 and 5 digit hex codes, which are not accepted).
Also adds an explicit null/undefined check.
Changes the default color for the $[bg ] function to something different
than the fg color so if you use both functions on a piece of text with
default values, the text stays somewhat readable.
2023-05-27 12:12:29 +02:00
Johann150
3f9b09e3e7
simplify MFM position CSS
2023-05-27 12:12:29 +02:00
Johann150
a72f4300aa
remove unused rootScale and scale params
2023-05-27 12:12:29 +02:00
Puniko
404bb3b6b6
parseSimple in backend
2023-05-27 12:12:28 +02:00
Puniko
f6ff21ee53
update mfm-js lib
2023-05-27 12:12:28 +02:00
Puniko
a45b611a7e
add fg and bg tag
...
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-05-27 12:12:13 +02:00
Puniko
11121bbb4c
add scale tag
...
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-05-27 12:10:34 +02:00
Puniko
a16e921ffc
add position token
...
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-05-27 12:05:14 +02:00
Johann150
35e814fab4
fix: don't use psql 13 functions
...
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
Details
ci/woodpecker/push/lint-client Pipeline failed
Details
ci/woodpecker/push/lint-backend Pipeline failed
Details
ci/woodpecker/push/build Pipeline was successful
Details
ci/woodpecker/push/lint-sw Pipeline failed
Details
ci/woodpecker/push/test Pipeline failed
Details
The function GEN_RANDOM_UUID was only introduced to built in postgresql
in version 13, however, the installation guide specifies that version 12
should be sufficient.
2023-05-27 11:18:06 +02:00
Johann150
9859537b02
BREAKING migrate note favorites to clips
...
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
Details
ci/woodpecker/push/lint-client Pipeline failed
Details
ci/woodpecker/push/lint-backend Pipeline failed
Details
ci/woodpecker/push/build Pipeline was successful
Details
ci/woodpecker/push/lint-sw Pipeline failed
Details
ci/woodpecker/push/test Pipeline failed
Details
The following endpoints are removed:
- `api/i/favorites`
- `api/notes/favorites/create`
- `api/notes/favorites/delete`
The following endpoints are changed:
- `api/notes/state`
- `api/users/stats`
closes #374
Changelog: Removed
2023-05-26 21:17:04 +02:00
Johann150
aa7171e116
server: remove favorites
2023-05-26 20:59:53 +02:00
Johann150
de81fac334
client: remove favorites
2023-05-26 20:59:52 +02:00
Johann150
6695171b6a
remove outdated misskey-js api report
2023-05-26 20:59:52 +02:00
Johann150
ffdb112867
foundkey-js: remove favorites
2023-05-26 20:59:52 +02:00
Johann150
a3c7571670
add missing comma
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
Details
ci/woodpecker/push/lint-client Pipeline failed
Details
ci/woodpecker/push/lint-backend Pipeline failed
Details
ci/woodpecker/push/build Pipeline was successful
Details
ci/woodpecker/push/lint-sw Pipeline failed
Details
ci/woodpecker/push/test Pipeline failed
Details
ci/woodpecker/tag/lint-backend Pipeline was successful
Details
ci/woodpecker/tag/lint-foundkey-js Pipeline was successful
Details
ci/woodpecker/tag/lint-client Pipeline was successful
Details
ci/woodpecker/tag/build Pipeline was successful
Details
ci/woodpecker/tag/lint-sw Pipeline was successful
Details
ci/woodpecker/tag/test Pipeline was successful
Details
2023-05-23 23:56:30 +02:00
Johann150
79acdd7652
fix: properly await file deletion
ci/woodpecker/push/lint-client Pipeline failed
Details
ci/woodpecker/push/lint-backend Pipeline failed
Details
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
Details
ci/woodpecker/push/build Pipeline was successful
Details
ci/woodpecker/push/lint-sw Pipeline failed
Details
ci/woodpecker/push/test Pipeline failed
Details
2023-05-23 22:56:51 +02:00
Johann150
f54fa0ad02
server: remove unnecessary complex loop
2023-05-23 22:56:27 +02:00
Johann150
dfe12cba75
show stack trace from API handler
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
Details
ci/woodpecker/push/lint-client Pipeline failed
Details
ci/woodpecker/push/lint-backend Pipeline failed
Details
ci/woodpecker/push/build Pipeline was successful
Details
ci/woodpecker/push/lint-sw Pipeline failed
Details
ci/woodpecker/push/test Pipeline failed
Details
2023-05-23 22:44:56 +02:00
Johann150
e75123602f
fix reference error from isNull
2023-05-23 22:44:15 +02:00
Johann150
c81368f617
update changelog and version number
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
Details
ci/woodpecker/push/lint-client Pipeline failed
Details
ci/woodpecker/push/lint-backend Pipeline failed
Details
ci/woodpecker/tag/build Pipeline was successful
Details
ci/woodpecker/tag/lint-backend Pipeline was successful
Details
ci/woodpecker/tag/lint-client Pipeline was successful
Details
ci/woodpecker/tag/lint-sw Pipeline was successful
Details
ci/woodpecker/tag/lint-foundkey-js Pipeline was successful
Details
ci/woodpecker/tag/test Pipeline was successful
Details
ci/woodpecker/push/build Pipeline was successful
Details
ci/woodpecker/push/lint-sw Pipeline failed
Details
ci/woodpecker/push/test Pipeline failed
Details
2023-05-23 21:59:14 +02:00
Johann150
4307010a9f
fix new occurences of isDeleted
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
Details
ci/woodpecker/push/lint-client Pipeline failed
Details
ci/woodpecker/push/lint-backend Pipeline failed
Details
ci/woodpecker/push/build Pipeline was successful
Details
ci/woodpecker/push/lint-sw Pipeline failed
Details
ci/woodpecker/push/test Pipeline failed
Details
2023-05-23 21:49:34 +02:00
Johann150
e584937b4f
fix: missing paren, type error
2023-05-23 21:49:34 +02:00
Johann150
4312393169
Revert 'Revert "server: fix user deletion race condition"'
...
This reverts commit bb3ec8bafe
.
2023-05-23 21:49:33 +02:00
Johann150
2fde652b4a
server: fix drive quota for remote users
...
ci/woodpecker/pr/build Pipeline was successful
Details
ci/woodpecker/pr/lint-foundkey-js Pipeline was successful
Details
ci/woodpecker/pr/lint-client Pipeline was successful
Details
ci/woodpecker/pr/lint-backend Pipeline was successful
Details
ci/woodpecker/pr/lint-sw Pipeline was successful
Details
ci/woodpecker/pr/test Pipeline was successful
Details
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
Details
ci/woodpecker/push/lint-client Pipeline failed
Details
ci/woodpecker/push/lint-backend Pipeline failed
Details
ci/woodpecker/push/build Pipeline was successful
Details
ci/woodpecker/push/lint-sw Pipeline failed
Details
ci/woodpecker/push/test Pipeline failed
Details
This deletes as many files as necessary to ensure the drive quota for
remote users is kept. Previously only one file would have been deleted
for each file added.
Changelog: Fixed
Co-authored-by: CGsama <CGsama@outlook.com>
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-05-23 21:36:35 +02:00
Johann150
efa8305e0b
BREAKING rename environment variables from MK_... to FK_...
...
Changelog: Changed
2023-05-23 19:49:55 +02:00
Johann150
e6a8173378
refactor onlyQueue and onlyServer configuration
...
Instead of checking this configuration in the respective component (queue)
or not at all (server), the configuration can be checked when starting the
respective workers.
2023-05-23 19:49:55 +02:00
Johann150
239a52eb99
add "quiet" log level
...
This log level replaces the "MK_QUIET" environment variable to unify
the interface in a sensible way. This also removes the "MK_VERBOSE"
environment variable which was unused.
2023-05-23 19:49:55 +02:00
Johann150
38c2d86983
add log level environment variable
...
To avoid a circular dependency this requires moving the log level
definitions. Also to avoid a circular dependency the env.ts file cannot
use a logger and instead uses plain `console.log`.
2023-05-23 19:49:55 +02:00
Ignas Kiela
6b9a3259f5
fix: log levels order
...
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
Details
ci/woodpecker/push/lint-client Pipeline failed
Details
ci/woodpecker/push/lint-backend Pipeline failed
Details
ci/woodpecker/push/build Pipeline was successful
Details
ci/woodpecker/push/lint-sw Pipeline failed
Details
ci/woodpecker/push/test Pipeline failed
Details
Most important messages are the ones with the highest value
This is a fixup for commit c5327f74d4
.
2023-05-23 18:12:48 +02:00
Ignas Kiela
296c40c5b4
fix: stop sending pings on every pong
...
This resulted in endless ping-pong traffic on the websocket, happening
every interval of network latency to the server (e.g. for me, with 40ms
latency to my server, it was about every 40ms). On my server this ended
up taking about 20% of foundkey's CPU usage. Now, just send pings every
30s, and check if we have received any pong's in last 60 seconds to
check that the connection is still alive.
Changelog: Fixed
2023-05-23 18:08:08 +02:00