Commit graph

54 commits

Author SHA1 Message Date
d7317b9e98 Bumped version nr. 2021-02-09 07:54:44 +01:00
ea94b7768c Added bg pattern, updated greeting text
New dot matrix pattern multiplied with the pattern.gif image.

Added a more colorful greeting text.

Removed redundant indentation of JS
2021-02-09 07:54:00 +01:00
471dc0d8da Fixed scope issue 2021-02-08 16:08:27 +01:00
ca08e18965 Added API router.php to gitignore override 2021-02-08 12:54:36 +01:00
b15983ceae Added status checker endpoint for Shields.io
Added status checker endpoint for Shields.io under "status.php"

Added router.php and reference in server.conf

Removed ping.php
2021-02-08 12:38:13 +01:00
70369f8163
Added subdirectory to try_files 2021-02-05 21:01:43 +01:00
46ccc6a568 Added stadia-avatar submodule.
Added gitmodules and cloned VictorWesterlund/stadia-avatar as the first submodule.

Added api endpoint to gitignore.
2021-02-05 15:48:18 +01:00
38bf06635e Extensionless php for API 2021-02-05 15:39:33 +01:00
4516299557 Added optional veto router.php index
Attempting an extensionless API URL.
2021-02-05 15:27:43 +01:00
6588be968d Removed router.php from config.
Renamed folder to victorwesterlund.com and removed fixed /router.php location from api
2021-02-05 15:16:53 +01:00
c0df341818 Added base API structure 2021-02-05 15:11:03 +01:00
4d74cc4607 Removed script file import
Combined both script.js and legacy.js into a single <script> tag on index.html.

The page uses less than 15 sloc of JS excluding the Service Worker.
2021-01-31 12:56:28 +01:00
a13b86765b
Bumped version 2021-01-22 19:56:35 +01:00
5b379e758d
Fixed #14 2021-01-22 19:53:38 +01:00
16d84e2840 Removed rouge console.log from SW 2021-01-01 22:56:33 +01:00
af9fbba1e4 Update PAGE_NOT_FOUND.html 2020-12-21 09:45:47 +01:00
f82f04241d Added NetWatch icon to error page
Added NetWatch icon to error page.

Added fixed min-width to NetWatch logo header.
2020-12-21 09:43:51 +01:00
Victor Westerlund
bac4097a75
Merge pull request #11 from VictorWesterlund/feature/netwatch
Cyberpunk 2077 inspired 404-page
2020-12-21 08:55:15 +01:00
922262daf3 WOMM fix #1 2020-12-21 08:52:31 +01:00
775179ddf8 Added Cyberpunk 2077 inspired cursor to error page 2020-12-21 08:45:58 +01:00
de4fbcfdaf Added Cyberpunk 2077 inspired 404-page 2020-12-21 08:28:02 +01:00
870920f83f Delete test directory 2020-12-15 14:50:02 +01:00
Victor Westerlund
04aeb9f393
Merge pull request #10 from VictorWesterlund/feature/sw
Removed caching of subdirectories
2020-12-15 14:47:50 +01:00
1e762a65ea Removed caching of subdirectories
Subdirectories with the exception of /assets/ will not get cached by the Service Worker. A normal network fetch() will be executed.

Added scope to Service Worker register.

Added "fetchContent()" which performs a normal network fetch() and follows redirects.
2020-12-15 14:46:41 +01:00
Victor Westerlund
4a181e15e9
Closes #7 (#9)
* dev-12140843

* dev-12140844

* Update sw.js

* Update not_found.html

* Update sw.js
2020-12-14 09:00:04 +01:00
c6e4eab25f Removed joining "/" between origin and cache root 2020-12-14 08:18:30 +01:00
a81fc8f212 Corrected SW root path
Corrected path for production.

Removed "offline.txt" from cache.
2020-12-14 08:11:26 +01:00
Victor Westerlund
a9d7083e23
Merge pull request #6 from VictorWesterlund/feature/sw
Service Worker & Offline Caching
2020-12-14 08:06:49 +01:00
a2f002dcad Added Service Worker for offline caching
Removed Google Analytics script.
2020-12-14 08:01:37 +01:00
a4eae3ec05 Merge branch 'master' into feature/sw 2020-12-14 07:34:29 +01:00
Victor Westerlund
cd184f5b49
Merge pull request #5 from VictorWesterlund/feature/ga
Added GA Tracking
2020-12-11 13:14:50 +01:00
ea119b44eb Replaced GA tracking script with GTM 2020-12-11 12:58:46 +01:00
988ee48500 Added GA tracking script 2020-12-11 12:46:31 +01:00
9a2e937f1b Update sw.js 2020-12-09 08:08:54 +01:00
e8dd97a291 Added pattern.gif "redirect" with SW
Added placeholder 'pattern.php' script.

SW:
Added uniform version control.
'handleRequest()' is now 'fetchContent()' and automatically saves response to 'bucket' Cahce Storage (removed between SW versions)

Added uniform same-origin check with 'const origin'.

Fixed issue where "cache lookup -> fetch fallback" wouldn't actually load content from cache.
2020-12-07 07:27:40 +01:00
e30593f849 dev12060537 - ServiceWorker basic boilerplate
Added a boilerplate for a offline-first sw.

Need to add support for non-standard same-origin assets
2020-12-06 05:38:36 +01:00
3a43d9d773 Added link to PGP Key
Added download link to PGP Key on GCS.

Added EOD line breaks.
2020-12-05 03:26:50 +01:00
a87045cca3 Merge branch 'master' of https://github.com/VictorWesterlund/victorwesterlund.com 2020-11-30 07:50:20 +01:00
3bf5e3ce73 Update server.conf
Made a "try_files"-less conf of the FastCGI snippet for NGINX.

This new conf looks for a router.php as the FastCGI index, and also allows for location block try_files
2020-11-30 07:50:00 +01:00
Victor Westerlund
757ddfd4f6
Update README.md 2020-11-30 07:34:23 +01:00
Victor Westerlund
96ed8d34dc
Merge pull request #3 from VictorWesterlund/develop
alpha-11300724 Pre-release
2020-11-30 07:28:47 +01:00
Victor Westerlund
b3706804ca
Merge branch 'master' into develop 2020-11-30 07:28:34 +01:00
9fda2e2e36 Added dummy file to "api/" and made it canonial in server.conf
Added "router.php" which will function as a proxy for all api requests
2020-11-30 07:21:38 +01:00
26ec726238 0.2.0 Pre-Release
Added intro text and replaced "Programming languages" with an email address instead. I feel that "exposing" my languges as some sort of trophy is a bit bold.

Got rid of the contact page "nav" for now. Altough the only thing I want to add besides e-mail is a PGP-key; I might go about it another way.

More love should be put into the responsivness of this page, especially the "not_found.html" style.

Not to mention Service Workers..
2020-11-30 07:14:18 +01:00
83223d66a8 1.0.0-dev11292157
Added NGINX server.conf and 404/403 error pages.

Changed default logo size to use 'em' units instead of 'vw'
2020-11-29 21:59:57 +01:00
953b647d25 Updated canonical name
https://www.victorwesterlund.com
.. changed to ..
https://victorwesterlund.com
2020-11-29 01:24:18 +01:00
919f0fa13b Added "api" server and HTTP/2 listeners
Added servers for "api.victorwesterlund.com" along with an HTTP/2 listener for both 'api' and 'www'.

Added ".well-known/" to gitignore
2020-11-28 18:37:48 +01:00
ed5bda63b0 Added new repo to NGINX config
Replaced folder root with GitHub-cloned repo
2020-11-28 17:30:09 +01:00
Victor Westerlund
4957cf1f75
Merge pull request #2 from VictorWesterlund/0.1.0
0.1.0_dev-11260308
2020-11-28 16:01:51 +01:00
c5f103a129 0.1.0_dev-11260308 2020-11-26 03:08:13 +01:00