192 Commits
Author SHA1 Message Date
Sebastian Martinez 4bb0e72841 Remove hash routing
Since we don't have or want any deployments on IPFS, and we don't have
much use for hash routing else, we can clean up some code and remove
some tests.
2024-03-04 14:39:36 +01:00
Thomas Scholtes 7ba9429afb Cache requests for blob and tree objects 2024-02-28 10:59:06 +01:00
Sebastian Martinez 76ed6399c4 Remove caching projects found status 2024-02-08 12:45:58 -03:00
Georgios Jason Efstathiou b1411ae4a5 Implement new landing page 2024-02-01 17:29:40 +00:00
Sebastian Martinez 908c10b3a9 Update dependencies 2024-01-25 16:14:16 +00:00
Sebastian Martinez 9ee2a4578f Add share button 2024-01-24 21:58:18 +01:00
Sebastian Martinez 0ab1d1ba41 Replace exit-hook with custom event listeners
Instead of relying on the `exit-hook` dependency, we should listen to
`exit`, `SIGINT`, `SIGTERM` and other exceptions, and kill all running
processes.
2023-12-04 20:14:27 +01:00
Sebastian Martinez 0b331ba515 Update to vite@5 2023-11-17 11:53:53 +01:00
Rūdolfs Ošiņš 838ee1b420 Update transitive dependencies 2023-11-15 12:51:03 +01:00
Sebastian Martinez 3bdf21ec06 Update dependencies 2023-11-15 12:51:02 +01:00
Sebastian Martinez c5c609167e Update deps
Updates transitive dependencies

Fixes zod vulnerability
> Zod version 3.22.2 allows an attacker to perform a denial of service while validating emails.

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-10-12 09:22:31 +02:00
Sebastian Martinez bea8af8497 Update marked-katex-extension
This fixes the issue with rendering code blocks without a blank line
between text and the start of a codeblock that starts with a `$`

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-09-28 08:57:19 +02:00
Sebastian Martinez 9f68848bc0 Update dependencies
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-09-27 07:56:26 +02:00
Sebastian Martinez b079b7f51a Update node version to 18.17.1
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-08-23 14:33:30 +02:00
Sebastian Martinez 08683dc9e9 Update deps
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-08-23 10:07:15 +02:00
Rūdolfs Ošiņš c2031933b3 Update dependencies
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-08-09 11:09:18 +02:00
Sebastian Martinez 1f5751dbcb Remove some values that are now defaults
- prettier assumes now that we want to ignore files listed in .gitignore
  by default
- trailingComma: all is now the default value

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-07-31 09:28:49 +02:00
Rūdolfs Ošiņš b5980a12ac Update dependencies
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-07-26 10:36:50 +02:00
Sebastian Martinez 910f151c7f Update dependencies
Gets prettier to v3, which starts to write doctype in lowercase, see
https://prettier.io/blog/2023/07/05/3.0.0.html#print-html5-doctype-in-lowercase-7391httpsgithubcomprettierprettierpull7391-by-fiskerhttpsgithubcomfisker

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-07-19 16:32:37 +02:00
Sebastian Martinez e4a051b17a Add auto linking in Markdown components
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-07-19 09:07:01 +02:00
Sebastian Martinez 78b988af95 Replace custom extension with marked-katex-extension
- Add a visual test to check math rendering

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-07-17 17:18:07 +02:00
Sebastian Martinez 69946f5d8c Replace marked namespaces with Marked instance
Based on a new addition to marked, this commits replaces the imported
marked namespaces with a Marked class, that doesn't change when
`marked.use` introduces new options or extensions.

Also changes the naming slighty to use `markdown` as module, so it
sounds more generic.

Reference: https://github.com/markedjs/marked/pull/2831

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-07-17 14:47:53 +02:00
Sebastian Martinez 3cf5563c09 Run httpd-api unit tests with multiple threads
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-07-12 10:58:46 +02:00
Thomas Scholtes 50dd25a6b8 Use ESlint warnings and Prettier config
* We remove all styling related lints and use `eslint-config-prettier`.
  There’s no need to bother developers with styling lints because
  Prettier already takes care of that. (This is the [recommended
  integration with Prettier][1])

* We use the “warning” level for lints that are code style related. This
  allows developers to distinguish issues that need to be fixed now
  (like type errors) and issues that can be fixed later (like style
  errors). We do enforce all lints on CI by settings
  `--max-warnings=0`.

[1]: https://prettier.io/docs/en/integrating-with-linters.html

Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
2023-07-11 11:08:27 +02:00
Sebastian Martinez bde2d97c9b Update dependencies
We had to change the eventDispatcher for events that shouldn't have a
second parameter to `null` instead of `never`.

See: https://github.com/sveltejs/svelte/pull/8872

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-07-09 14:02:58 +02:00
Rūdolfs Ošiņš becfd5d8c5 Upgrade dependencies
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-06-28 12:07:33 +02:00
Sebastian Martinez ba57506d6d Update svelte to version 4
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-06-26 14:13:22 +02:00
Rūdolfs Ošiņš 6df3d4d714 Update dependencies
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-06-19 09:03:04 +02:00
Sebastian Martinez 98364ba31b Add no-only-test linter rule
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-06-12 09:48:25 +02:00
Sebastian MartinezandRūdolfs Ošiņš c230731ce0 Redesign Connect button to reflect httpd status
Co-authored-by: Rūdolfs Ošiņš <rudolfs@osins.org>
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-06-01 14:49:22 +02:00
Rūdolfs Ošiņš 17a8696c34 Update dependencies
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-05-31 15:03:03 +02:00
Rūdolfs Ošiņš 930210da80 Replace deprecated eslint-plugin-svelte3 with eslint-plugin-svelte
We were using a deprecated plugin that wasn't working. This new plugin
is also more performant.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-05-29 15:54:00 +02:00
Sebastian Martinez c95b879edd Update dependencies
Also update node to v18.16

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-05-17 09:59:09 +02:00
Sebastian Martinez c32b303744 Add CLI tooling to create seed fixtures on the fly
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-05-12 14:23:10 +02:00
Rūdolfs Ošiņš 85dc1c3552 Port mutexExecutor from Upstream
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-05-11 10:50:26 +02:00
Sebastian Martinez 03c05edeca Updates marked to v5.0
Disables some of the deprecated options to avoid the console warnings.
Removes obfuscation of plain-text emails.

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-05-08 10:35:24 +02:00
Rūdolfs Ošiņš 6ae0add137 Update deps
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-05-05 13:56:41 +02:00
Rūdolfs Ošiņš df57c15a37 Upgrade dependencies
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-04-17 09:51:28 +02:00
Rūdolfs Ošiņš c8c251fabd Add httpd-client api library
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-04-11 15:31:08 +02:00
Sebastian Martinez 4c3bd7ee04 Fix statically replaced HASH_ROUTING env variables
Also moves the HASH_ROUTING env variable from being modified inside the
hashRouter.spec.ts into the webserver config in the
playwright.config.ipfs.ts

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-04-03 11:50:24 +02:00
Rūdolfs Ošiņš 46666fd6da Fix tsconfig
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-03-28 18:12:12 +02:00
Rūdolfs Ošiņš 30105e2845 Update dependencies
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-03-28 18:12:12 +02:00
Sebastian Martinez c39ad9f520 Update dependencies
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-03-28 09:26:26 +02:00
Rūdolfs Ošiņš a552bb75a4 Update npm packages
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-03-13 15:07:39 +01:00
Rūdolfs Ošiņš ce36068c57 Update nodejs version
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-03-13 15:04:20 +01:00
Rūdolfs Ošiņš 742fe4dec0 Update deps
And re-enable Firefox tests.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-03-06 11:53:55 +01:00
Sebastian Martinez d1168dc6ff Add issue creation
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-03-01 15:12:03 +01:00
Rūdolfs Ošiņš 55cc5c319a Update dependencies
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-02-27 15:11:54 +01:00
Sebastian Martinez 25135c7025 Remove Ethereum functionality
This commit removes everything Ethereum related, this includes:
- profile pages (which relied on Ethereum information)
- testnet faucet
- vesting contract lookup
- .radicle.eth ENS registrations

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-01-30 11:30:41 +01:00
Sebastian Martinez a07518c327 Update dependencies
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-01-16 22:39:17 +01:00