1
0
Fork 0
Commit Graph

61 Commits (9848e7e15f73226d56d3b5b3f7cbf173d7abb2c6)

Author SHA1 Message Date
q3k 0f11b3c850 hswaw/site: deploy
Change-Id: I3c8aff05f339f3154cb80831099482f0d97a360e
2021-09-04 21:32:30 +02:00
q3k 62e50da881 Merge "tweak blink animation & add gallery" 2021-09-04 18:41:07 +00:00
q3k 5001851808 Merge "hswaw/site: fix twitter link" 2021-09-04 18:40:50 +00:00
q3k d0c9c414cf hswaw/site: deploy
Change-Id: I2ea68f07c81859ffea99ad5b107b14876422288b
2021-09-04 18:38:42 +00:00
informatic 381514ead3 hswaw/site: fix twitter link
Change-Id: I7ec93e1cfe8ac7e4b8949d356109c060c51f187d
2021-09-02 11:07:20 +02:00
radex 41a3cfe04c tweak blink animation & add gallery
Change-Id: I1a1cd568e7982bf4e8e31f9e21897db53e59727f
2021-09-01 21:55:07 +02:00
radex d88a2e2377 improve fonts & animations
Change-Id: I2a586243035e84136b2a309dc6ce26ab21f8925d
2021-08-30 21:28:59 +02:00
q3k 717aad4ac6 hswaw/site: wip new layout
Change-Id: I4da3a668429dee42c7292accb9e24b93703f1538
2021-08-30 21:00:59 +02:00
q3k ec22027e19 hswaw/cebulacamp: update ticket info, fix CSS
Change-Id: I3c947080cec1ae93642cc124db20584e2767061f
2021-08-14 16:04:57 +00:00
q3k bbf56cf7e1 cebulacamp: deploy
Change-Id: I2a3d7e036e2cb222b37c19bd22a059775750b8cf
2021-08-11 16:50:30 +00:00
q3k bae0604e1e cebulacamp: update for new date
Change-Id: Idab6ae894d7d909150267d22ace1ce732e6f7b05
2021-08-11 15:56:59 +00:00
q3k 11b276d62d hswaw/site: add spaceapi
Change-Id: I81b223981c47ccdbfc8fe637e2f0cc11fce8c317
2021-07-18 13:18:13 +00:00
q3k d2271ded0d hswaw/site: add checkinator integration
Change-Id: I19a72da67410332d6d82d49e3a54f1dc0f81ff65
2021-07-18 13:18:11 +00:00
q3k 8ef457feee hswaw/site: add calendar/event library
This will let us populate upcoming events server-side on the website (or
serve this data in a format that can be more easily consumed by JS).

Change-Id: I0f6b5bf9831f4d07acebb4eb77a7d88b63fe8e46
2021-07-11 17:17:33 +00:00
q3k 383fefa14b hswaw/site: attempt multi-column layout
Change-Id: I19924b40cbed51866ed25260962bb5454fb8e544
2021-06-02 01:24:09 +00:00
q3k 1f0623064f hswaw/site: load leaflet from NPM package
Instead of manually packaging leaflet.js into the Git repository, this
uses an http_archive to download it on demand, and augments the static
serving code to accept different regexes as paths so that the
http_archive's contents can be served directly.

Change-Id: Icb8d624fea855fb748f107471133ac8adb5f2776
2021-06-01 22:25:23 +00:00
q3k 4d7b2f01ec hswaw/site: add landing page prototype
This rips out the existing HTML and CSS. In the end, we're not going to
use it.

In its place, it adds a simplistic landing page, hoping to gather more
attention and curiosity from other hackers that would like to make it
prettier.

Change-Id: I322b071a8510536bd6aad9252ae7aa8fe3a734bc
2021-06-01 21:53:47 +00:00
q3k 3c9092ad5f hswaw/site: render main page and blog feed
This reimplements the blog rendering functionality and the main/index
page.

www-main used to combine multiple atom feeds into one (Redmine and the
wordpress blog at blog.hackerspace.pl). We retain the functionality, but
only render the wordpress blog now (some other content might follow).

We also cowardly comment out the broken calendar iframe.

Change-Id: I9abcd8d85149968d06e1cb9c97d72eba7f0bc99f
2021-05-30 23:21:49 +00:00
q3k 56c888b443 hswaw/site: basic /about and /about_en rendering
This renders the About and About-but-in-English templates already
present.

It integrates header.html and rotimage_at.html into the basic template.
These were separates so that different webapps on boston-packets could
serve the same header file from the same sources, but this approach will
have to be abandoned for this version of the site anyway.

We'll have to figure out how/if to share these things between different
webapps, but probably only after we actually come up with a new site
theme. Let's keep it simple for now.

We also skip porting the 'subscribe to lists' template and
functionality, as it's broken right now anyway.

Change-Id: Ia89bfcaa1e250bd74d1771e095b3c8505b08c606
2021-05-30 21:55:40 +00:00
q3k 5c10652d1b hswaw/site: add README.md
Change-Id: I283fca8c1347723c8b8dd2ce3c7775e96f5c7362
2021-05-30 21:16:43 +00:00
q3k a7674679ec hswaw/site: serve static
This adds a minimum serving Go binary, and static/template file
embedding.

The templates are not yet served or even loaded. The static files are
served at /static/..., eg.:

    $ curl 127.0.0.1:8080/static/mapka.png

Change-Id: Iedd8696db2c2e5d434dc2e7fbd0199d0f6ee5fff
2021-05-30 21:15:50 +00:00
q3k 3f06905504 hswaw/site: init templates and static from www-main
Retrieved from code.hackerspace.pl/q3k/www-main at
afd7415f582b474e737f830037e4c23178220032 .

No cleanup/conversion yet - straight from the repository.

Change-Id: Ia7ef50483541863cb1a7509607d549cdfe15522e
2021-05-30 21:13:56 +00:00
q3k dad166800e cebulacamp/landing: update for 2021
Change-Id: I3f740ec0f7c6873905fb520d1d5803a5d999e6f0
2021-05-12 21:41:11 +00:00
q3k 95ba05d970 hswaw/kube: add cebula.camp
Change-Id: I7659640d4a1445b828a944769aa6d9a08bcd7bbe
2021-05-12 21:28:10 +00:00
q3k b9ed123ff2 cebulacamp/landing: build and push backend
Change-Id: I1336fb2fe52de7c42e5de0c4f1e05f42c32a9777
2021-05-12 21:16:18 +00:00
q3k 69c7f99810 cebulacamp/landing: rewrite to plain html and css
We don't have pug/scss in Bazel/hscloud, so we just go ahead and rewrite
this to the lowest common denominator of web technologies.

Alternatively, we could at least go for gcss, which does have Bazel
rules - but it's probably not worth the effort.

Change-Id: I379157d8fd8682c4bcb87768e9cfe1f051fe9033
2021-05-12 21:11:50 +00:00
q3k ed27a8bd7d hswaw/cebulacamp/landing: import from github.com/cebulacamp/queens-landing
License: WTFPL

At commit: c9b43f5c1e69d6d263a8380a15372bd7d3497ac2

Change-Id: Iedad211589438569c0288c1cc3c2a67846bfcac6
2021-05-12 21:11:50 +00:00
q3k 25c53fc048 hswaw/oodviewer: fix links from index
Change-Id: I98a9c96d0971a922264bd37175bed882b6b702d8
2021-03-16 20:35:32 +00:00
q3k 5e695e8f9b hswaw/oodviewer: init
This brings oodviewer into k0.

oodviewer started as a py2/flask script running on q3k's personal infra,
which is now being turned down.

This is a rewrite of that script into similarly mediocre Go, conforming
to the exact same mediocre JSON API and spartan HTML interface.

This also deploys it into k0 in the oodviewer-prod namespace. It's
already running, but the 'oodviewer.q3k.me' TTL has to expire before it
begins handling traffic.

Change-Id: Ieef1b0f8f0c60e6fa5dbe7701e0a07a4257f99ce
2021-03-07 16:57:02 +01:00
q3k be3adb9e09 hswaw/oodviewer: fix OWNERS
Change-Id: I9229323b411a387b05b93519408a270127183d1f
2021-03-07 14:47:10 +00:00
q3k 51f0b9aa1c hswaw/oodviewer: OWNERS
Change-Id: I2b7708be962b6465cf640be4e27b6443af136213
2021-03-07 14:45:20 +00:00
q3k b1de757249 laserproxy: add nix build
Change-Id: If93f4ba69afa028fed9098663a523f46d6134f7c
2020-10-29 00:43:43 +01:00
radex 81da4e5823 laserproxy: extend deadline to 60min & random changes
Change-Id: I2601d2da8da567d8dd6beecc630de911d5d161c3
2020-08-28 19:52:38 +02:00
q3k fceedd1bab hswaw/ldapweb: bump
This pulls in https://code.hackerspace.pl/q3k/ldap-web-public/commit/?id=1cced0d613f4ec8b454c1a6c6fd9bb01eed391e3

Change-Id: Ib676d09084bf1bd00bfa88eab980353550525729
2020-08-15 18:43:46 +00:00
q3k 96074a7859 laserproxy: document deployment
Change-Id: I4461b8c392f79781247605315b2e1b744bbb1acb
2020-07-30 20:55:46 +00:00
q3k de0330a07c laserproxy: init
Change-Id: I1900be6eea2d702548279176d796c58c34952dc8
2020-07-30 20:49:04 +02:00
implr cae27ecd99 Replace rules_pip with rules_python; use bazel built upstream grpc
instead of Python packages

As usual with Python sadness, the @pydeps wheels are built on the bazel
host, so stuffing them inside a container_image (or py_image) will cause
new and unexpected kinds of misery.

Change-Id: Id4e4d53741cf2da367f01aa15c21c133c5cf0dba
2020-07-08 18:55:34 +02:00
q3k 7371b7288b tools/secretstore: add sync command, re-encrypt
This kills two birds with one stone:

 - update the secretstore tool to be slightly smarter about secrets, to
   the point where we can now just point it at a secret directory and
   ask it to 'sync' all secrets in there
 - runs the new fancy sync command on all keys to update them, which
   is a follow up to gerrit/328.

Change-Id: I0eec4a3e8afcd9481b0b248154983aac25657c40
2020-06-04 19:25:07 +00:00
q3k 02aae3628c hswaw/kube: encrypt keys, update expired keys
cz2's key has expired. Removing it for now as there's no easy way to
force gpg to encrypt content for expired keys.

Change-Id: Ib27b9a09385fcead1ba2d48ebf45426038d8b647
2020-02-18 23:28:14 +01:00
q3k 74818e155c hswaw/kube: add pretalx
Change-Id: Ia7512aa988022c3c7fd89f81927fbad03f933cf1
2020-02-18 22:56:21 +01:00
q3k e95c0e2dfd hswaw/kube/frab: use more unique labels for postgres service
Change-Id: Ic118f8663acbd6f9559ad61c7e026b95c7628809
2020-02-15 12:40:25 +01:00
q3k f15da82393 lelegram: disable
Change-Id: I3e1deef6aa5984971d35905c9feabe196a6da201
2020-02-02 17:16:17 +01:00
q3k 649469611a hswaw/frab: deploy
Change-Id: I4e433fe8dac86c8c3309bb84e6f2ad9c4a281fdf
2020-02-02 17:15:55 +01:00
q3k e048331e25 teleimg: fix RE for IRC names
Change-Id: Ief1bda751553361bcbbd18031205ae70804f1dd4
2020-02-02 16:58:57 +01:00
q3k 83e2690070 lelegram: stuckness fixes, timeout
Change-Id: I3c1ad4e589ea66db846a56aab8a2c1698bdee539
2020-01-23 14:18:25 +01:00
q3k 92b48d6216 {matrix,lelegram}: pin to bc01n0{1,2}.hswaw.net
Only these nodes (and bc01n03( are #blesed by freenode.

In the future we should fix this by having custom node labels for
blessed nodes. But this will do for now.

Change-Id: Ia5d7cfcb9329da0de8d596ed40b20b0e0f286f43
2020-01-08 13:59:04 +01:00
q3k effafe9032 teleimg: allow underscores and hyphens in file id
Change-Id: I6f6cdd3a13cdbed41f57c40ac1b2e46c4707be32
2020-01-05 22:31:39 +01:00
q3k a07688fe74 lelegram: mutually exclude multimedia
Change-Id: I6c300e8627c825f5b2f1281efc8f4c33574289f7
2020-01-05 21:21:07 +01:00
q3k a885488fd0 lelegram: init
This is an IRC/Telegram bridge.

It does multi-account puppet-like access to IRC making everyone's life
easier.

Compared to teleirc it also:
 - is smarter about converting messages
 - uses teleimg for public image access
 - is not written in JS

Experimental for now.

Change-Id: I66ba3f83abdfdea6463ab3be5380d8d3f2769291
2020-01-05 21:01:07 +01:00
q3k c315aaccc7 teleimg: init
This is a shitty small proxy to unfuck telegram's bot image URLs, ie. do
not add content-disposition and send a proper MIME in content-type.

It also does some local caching and hides the Telegram API token.

Change-Id: I0afb29ca3f1807a13fa157fdcf486ee4c857f08d
2020-01-05 20:59:17 +01:00