Commit graph

23421 commits

Author SHA1 Message Date
daikei
13af804543 Discard notes made before Fedi's existence, or after today (#9605)
This PR should kill #9531 - Safeguarding against posts that are made before 2007 (Identica being made in 2008, the 'first ever activitypub software' according to wikipedia.)

Personally, if gone unnoticed, I believe that notes from the past can be used as an attack vector to silently flood a database.

Co-authored-by: Kio-td <kio.thedev@gmail.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9605
Co-authored-by: daikei <daikei@noreply.codeberg.org>
Co-committed-by: daikei <daikei@noreply.codeberg.org>
2023-02-11 21:05:31 +00:00
ThatOneCalculator
1e7f8c3ab8 chore: up calckey.js 2023-02-11 13:04:22 -08:00
daikei
7e7c47f143 Merge branch 'develop' into develop 2023-02-11 20:29:44 +00:00
GeopJr
ccba7fc9db feat: don't depend on an external service for urn:ietf:wg:oauth:2.0:oob (#9602)
Co-authored-by: GeopJr <evan@geopjr.dev>
Co-committed-by: GeopJr <evan@geopjr.dev>
2023-02-11 20:08:12 +00:00
Kio-td
7465e8461d Fix bad math 2023-02-11 07:18:56 -05:00
Kio-td
1a90496318 Merge branch 'develop' of https://codeberg.org/Daikei/calckey into develop 2023-02-11 06:26:31 -05:00
Kio-td
4ff3b39ba3 Discard if 3 days in the future 2023-02-11 06:26:05 -05:00
daikei
7c64103668 Merge branch 'develop' into develop 2023-02-11 11:18:22 +00:00
Kio-td
1104db515e Semi-Kill #9531 2023-02-11 06:13:55 -05:00
Kainoa Kanter
572f97771f Add source SVG logo files 2023-02-11 06:11:02 +00:00
cutestnekoaqua
49ad84b754 floor created at 2023-02-11 01:51:14 +01:00
cutestnekoaqua
ec23cb65d4 parse client id 2023-02-11 01:17:35 +01:00
cutestnekoaqua
10f5d49fc6 do more change 2023-02-11 01:08:20 +01:00
cutestnekoaqua
ecc0397dd3 make secure check 2023-02-11 01:07:44 +01:00
cutestnekoaqua
f4861e9dc5 remove multipart here? 2023-02-11 00:57:43 +01:00
cutestnekoaqua
bd7910d741 i need to seperate 404 to own route 2023-02-11 00:51:50 +01:00
ThatOneCalculator
13238973b6 chore: Rome Formatting 2023-02-10 15:41:19 -08:00
cutestnekoaqua
955994c93d meow 2023-02-11 00:40:04 +01:00
cutestnekoaqua
657f40e771 ree 2023-02-11 00:35:30 +01:00
cutestnekoaqua
e58b839339 split routers 2023-02-11 00:33:01 +01:00
cutestnekoaqua
0f928bfb23 revert it for now 2023-02-11 00:19:52 +01:00
cutestnekoaqua
1b3308bd4b Revert "use formidable instead"
This reverts commit b8406ecaa40c08576d2644b797e05363533b0cfb.
2023-02-11 00:19:52 +01:00
cutestnekoaqua
73ad1f1a31 Revert "meow?"
This reverts commit 6e79148152cfa3cd3757b1545af6db804f4aa166.
2023-02-11 00:19:52 +01:00
cutestnekoaqua
fccf6f4de8 Revert "remove body parser settings for now"
This reverts commit 41ce22aa1c718dde7585609da2addd75985394a0.
2023-02-11 00:19:52 +01:00
ThatOneCalculator
5664405c3a up ver 2023-02-10 15:19:02 -08:00
ThatOneCalculator
64c4aa4599 chore: 🎨 new dummy images 2023-02-10 15:17:56 -08:00
cutestnekoaqua
ed6736adf0 remove body parser settings for now 2023-02-11 00:08:26 +01:00
cutestnekoaqua
fd60486bca meow? 2023-02-11 00:02:20 +01:00
cutestnekoaqua
1d3e01ee8e use formidable instead 2023-02-10 23:50:27 +01:00
Cleo
475b130eef fix(client): use proxied image for instance icon 2023-02-10 22:46:56 +00:00
Cleo
2ca1717f2a fix(client): use proxied image for instance icon 2023-02-10 22:46:08 +00:00
cutestnekoaqua
465cb5a570 use multer instead 2023-02-10 23:29:29 +01:00
cutestnekoaqua
2ff3e68d94 me forgorr 2023-02-10 23:17:29 +01:00
cutestnekoaqua
23aa51102b migrate middleware usage
Co-authored-by Natty <natty.sh.git@gmail.com>
2023-02-10 23:15:47 +01:00
cutestnekoaqua
9b2cd8f2e8 this is super cursed 2023-02-10 23:00:15 +01:00
cutestnekoaqua
9703b2496f temp test 2023-02-10 22:30:19 +01:00
cutestnekoaqua
1024e4d027 merge more multipart stuff 2023-02-10 21:16:55 +01:00
cutestnekoaqua
78463f5f36 ree 2023-02-10 20:53:27 +01:00
cutestnekoaqua
ebd53e1f90 weird merge error 2023-02-10 20:52:58 +01:00
cutestnekoaqua
c19b075845 make build work after calcks merge 2023-02-10 20:50:42 +01:00
cutestnekoaqua
3f73e2ff84 Merge Masto Api changes
Co-authored-by Natty <natty.sh.git@gmail.com>
2023-02-10 20:45:29 +01:00
cutestnekoaqua
8ddfd9630c Revert "yeet koabody"
This reverts commit d5eb131f582ad1900392eafbf3e1f6d3e55f1d5f.
2023-02-10 20:40:54 +01:00
Kainoa Kanter
3adb72230f Merge pull request 'fix/security' (#9600) from fix/security into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9600
2023-02-10 19:17:07 +00:00
ThatOneCalculator
76011a3f28 fix: 🔒 prevent issues 2023-02-10 11:14:33 -08:00
syuilo
e917dc6be3 fix(client): validate urls to improve security 2023-02-10 11:08:08 -08:00
Cleo
7c554747f7 Merge pull request 'Replace Error with logger.debug' (#9593) from daikei/calckey:develop into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9593
2023-02-10 15:40:54 +00:00
daikei
506a38e197 Merge branch 'develop' into develop 2023-02-10 08:18:23 +00:00
Cleo
b2ebf7c7fa „packages/backend/src/server/index.ts“ ändern 2023-02-10 08:01:38 +00:00
Cleo
a0e4927f4c revert da2368bf7af1d4e3a7f2fb4b8703b68a1f8c8ceb
revert fix: some Masotdon API compat issues (#9592)
Co-authored-by: GeopJr <geopjr@noreply.codeberg.org>
Co-committed-by: GeopJr <geopjr@noreply.codeberg.org>
2023-02-10 07:56:46 +00:00
Cleo
045f6efd5d Meow 2023-02-10 07:00:47 +00:00