Commit graph

46 commits

Author SHA1 Message Date
520febd542
Linter: Don't warn about build files not located in the src directory 2023-05-29 01:38:50 +02:00
90642ee9c8
Index: Stash tokens and spans on the window object to make them inspectable 2023-05-29 01:38:50 +02:00
a4c234be81
Index: Add paragraph about website source code 2023-05-29 01:38:49 +02:00
168f4e802b
Index: Add link to Discord user 2023-05-29 01:38:49 +02:00
20a1286c4f
LICENCE: Use BSD-2-Clause 2023-05-29 01:38:45 +02:00
a847197cf1 Hightlighter: Make CommentTokens italic 2022-01-05 16:08:31 +01:00
5a56b27c1c Index: Fix typo 2022-01-05 16:03:05 +01:00
e6be98a831 Container: Add source files to public directory 2022-01-05 15:54:53 +01:00
3a36bb4ef7 Public: Add favicon.png 2022-01-05 15:46:34 +01:00
28fc10aeed Public: Add gpg.key 2022-01-05 15:44:06 +01:00
b8147c90d1 Git: Unignore *.key files 2022-01-05 15:43:52 +01:00
617fb7a5d6 Everywhere: Remove leftover files from previous website 2022-01-05 15:33:12 +01:00
e544decc9d Container: Don't try to copy .npmrc 2022-01-05 15:31:10 +01:00
e2de46a15b CI: Initial commit 2022-01-05 15:30:21 +01:00
71ef498c7e Everywhere: Use branch self-highlighting as website from now on 2022-01-05 15:28:52 +01:00
5cbcb50e41 Git: Ignore public/script 2022-01-05 15:25:36 +01:00
266f9ff234 Container: Initial configuration 2022-01-05 15:25:36 +01:00
b4d1a28824 Everywhere: Move files into public and src directories 2022-01-05 15:25:26 +01:00
fa85024316 Dependencies: Add eslint and required plugins 2022-01-05 15:21:10 +01:00
a7ae16b7a5 Linter: Initial configuration 2022-01-05 15:20:16 +01:00
b5aaee998c Assertions: Allow typescript to infer condition correctly 2022-01-04 00:42:06 +01:00
979d8a5e74 Tokenizer: Fix invalid state switch in BeforeDOCTYPEName 2022-01-04 00:41:46 +01:00
afbdf9151c Tokenizer: Fix wrong alpha* helpers 2022-01-04 00:41:03 +01:00
9cc468a997 Guard: Add Constructor<T> 2022-01-04 00:40:45 +01:00
cba7f2b58f Token: Rewrite using classes, initial range implementation 2022-01-04 00:40:12 +01:00
fea3ba16a9 NPM: Initial commit
This patch adds a package configuration for convenient scripts in development
2021-10-25 19:35:31 +02:00
712340ab65 HTML: Handle highlighting of script tags without characters 2021-10-25 19:33:46 +02:00
49071c7d58 HTML: Convert more throw new Error() statements to assertions 2021-10-25 19:30:21 +02:00
be84284020 Everywhere: Remove source location prefix from assertions
When an assertion gets called the stacktrace provides enough
source information anyways
2021-10-24 23:11:34 +02:00
5afae11193 Everywhere: Replace calls to console.assert and throws with assertions
This patch replaces console.assert calls and random throw new Error
calls to crash on undefined behavior with predefined assertion
functions from utils.
2021-10-24 23:06:35 +02:00
4d71efb394 Util: Add assertions 2021-10-24 23:01:26 +02:00
c7cdec7d22 Util: Move guards into util 2021-10-24 22:55:20 +02:00
586546ee57 Everywhere: Rework website concept completely
This patch removes the Next.js React project that was contained
by this repository previously. The replacement is a vanilla HTML
page with TypeScript that parses it's own HTML source and highlights
it using on load.

The concept will be iterated on in following commits, planned are
on hover tooltips showing metadata about HTML tokens as well as
tokenizing (perhaps parsing) of JavaScript and CSS to be able to
highlight those sections as well. To properly determent the range
of script and style sections it might be required to also implement
HTML tree building, however on read execution of JavaScript or
on the fly parsing as well as fragment parsing is not required for
the site.

This commit merely represents a start and is made to better track
the progress of changes.
2021-10-24 22:36:38 +02:00
Niklas Schrötler
853a713ad6 Added CopyrightNotice
ToDo: Fix VisibilitySensor
2021-04-04 22:21:31 +02:00
Niklas Schrötler
750e6d73ad Finished GitActivity component 2021-04-04 21:50:45 +02:00
5a0b607f11 Merge branch 'master' of https://gitlab.upi.li/networkException/nwex.de 2021-04-04 21:08:09 +02:00
38d7bd2c40 Api: Make getGitActivity return an array with datapoint objects 2021-04-04 21:07:43 +02:00
Niklas Schrötler
a7f833769d Cleaned getGitActivity route 2021-04-04 20:49:53 +02:00
Niklas Schrötler
8d7235bb82 Added /api/getGitActivity, added boilerplate for GitActivity
(yarn install is required after pull)
2021-04-04 20:38:59 +02:00
Niklas Schrötler
d4d7e0d4f0 Fixed bug where images would be squished/stretched in SocialBadge 2021-04-04 19:42:47 +02:00
Niklas Schrötler
6fa69bceca Finalised first SocialBadge revision 2021-04-04 18:02:52 +02:00
ece8b40efa Tailwind: Extended color configuration with brand colors 2021-04-04 17:36:26 +02:00
Niklas Schrötler
1762d6215a Added SocialBadge, moved assets 2021-04-04 17:33:34 +02:00
f0ee842a1b Reference: Added tokenizer code from temporary project 2021-04-04 16:53:23 +02:00
e08394bd16 Assets: Imported fonts and social badge icons from temporary project 2021-04-04 16:51:45 +02:00
Niklas Schrötler
899acea719 Added Next.js with TS and Storybook with Boilerplate 2021-04-04 16:46:47 +02:00