Commit Graph
120 Commits
Author SHA1 Message Date
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
Rūdolfs Ošiņš ccacd824a6 Update dependencies
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-01-09 10:39:48 +01:00
Sebastian Martinez 4b58539eff Vendor onig WASM dependency
Instead of letting `starry-night` fetch the `vscode-oniguruma` WASM, we
fetch it from the `node_modules` folder and do the same in the e2e
tests.
For this to work we need to update `starry-night` to version `1.5.0`

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-01-05 14:51:26 +01:00
Sebastian Martinez ca10a69ee5 Update dependencies
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-12-28 22:43:56 +01:00
Rūdolfs Ošiņš d7f8156725 Format yaml files with prettier
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-16 15:51:13 +01:00
Sebastian Martinez 569b660134 Move syntax highlighting to web client
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-12-16 11:00:17 +01:00
Rūdolfs Ošiņš 795ab5253d Upgrade transitive dependencies
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-13 10:08:00 +01:00
Rūdolfs Ošiņš 9e71823a99 Remove SIWE functionality
It's not working with our current seed nodes and is confusing to users.
It also prevents us from upgrading transitive dependencies.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-12 20:24:19 +01:00
Sebastian Martinez 7be0a366b3 Update dependencies
Includes the move from the `svelte-preprocess` package for preprocessing
to `@sveltejs/vite-plugin-svelte` which allows us to use Vite also for
preprocessing.

Also had to remove the `vite-plugin-rewrite-all` again since they don't
support vite@4. So I wrote the plugin myself and without the dependecies
used by `vite-plugin-rewrite-all`.

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-12-12 10:46:42 +01:00
Sebastian Martinez 3aa99ca4df Update dependencies
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-12-01 16:13:45 +01:00
Rūdolfs OšiņšandSebastian Martinez 9cb9332e88 Replace Cypress with Playwright
Playwright is more flexible and has better developer experience than Cypress.
We add end to end tests covering:

  - project source browsing
    - tree view
    - commit list view
    - commit view
  - routing
    - hash based
    - history API based
  - clipboard copy paste functionality
  - seed view
  - project search
  - landing page view
  - settings

Co-authored-by: Sebastian Martinez <me@sebastinez.dev>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-01 15:54:56 +01:00
Sebastian Martinez 31e037eb16 Add postinstall scripts to build step
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-11-24 10:51:48 +01:00
Sebastian Martinez e1caae028c Update dependencies
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-11-23 21:17:00 +01:00
Sebastian Martinez 2816333a4a Switch plausible script for npm package
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-11-18 11:04:02 +01:00
Sebastian Martinez 3fbd832ef1 Update dependencies
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-11-15 23:59:22 +01:00
Sebastian Martinez 3a352eab4c Fix markup being wrapped by self-closing anchor tags
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-11-15 16:30:07 +01:00
Sebastian Martinez f38893407a Add hash routing
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-11-15 15:24:12 +01:00
Sebastian Martinez cd60ad7298 Convert emojis to twemojis
To provide the same emoji experience on all browsers and OS we use
Twemoji and replace all emojis where possible.

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-11-15 15:10:48 +01:00
Rūdolfs Ošiņš 1254d15d3d Upgrade dependencies
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-11-07 18:05:06 +01:00
Rūdolfs Ošiņš 7088a990a2 Use node 18.12.1 LTS everywhere consistently
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-11-07 15:23:21 +01:00
Sebastian MartinezandRūdolfs Ošiņš f8ddbbf5da Remove svelte-routing and add custom routing
Co-authored-by: Rūdolfs Ošiņš <rudolfs@osins.org>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-11-07 08:57:37 +01:00
Rūdolfs Ošiņš 053af7a25c Upgrade dependencies
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-11-03 16:40:23 +01:00
Rūdolfs Ošiņš 87c1d0f6e2 Upgrade dependencies
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-26 15:29:07 +02:00