1
0
Fork 0
Commit Graph

131 Commits (6e10e46f96875ef15a1e1588e9b03d4f1f6b42a5)

Author SHA1 Message Date
informatic a7af16d37a hswaw/machines/customs: add htpasswd file support, expose label
This allows for generic service access to hswaw LAN sites.

Change-Id: I2b290b19ae83496d6b878005ae1c57b0d3955e73
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1603
Reviewed-by: vuko <vuko@hackerspace.pl>
2023-10-08 21:12:07 +00:00
radex d60a68d4f3 hswaw/ldapweb: bump app, simplify config
Change-Id: Ia1a0097c097c8d75b7123088b89b51b4cf5ab46c
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1632
Reviewed-by: informatic <informatic@hackerspace.pl>
2023-09-24 14:56:13 +00:00
q3k 94d96497b5 hswaw/site: implement recurring events
Change-Id: Ib3c570d058141c4d8441801010f0f1755ccfc0e7
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1624
Reviewed-by: radex <radex@hackerspace.pl>
2023-09-22 22:50:39 +00:00
q3k 937722e465 hswaw/ldapweb: give admin rights to radex
Change-Id: I5d0ce4b500e7d9c9750dc5f306ea182013362838
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1627
Reviewed-by: radex <radex@hackerspace.pl>
2023-09-22 22:49:05 +00:00
q3k 80cee0a987 hswaw/site: deploy
Already contains https://gerrit.hackerspace.pl/1624

Change-Id: I248c2f1653a3423d7dfc6ca5374229f072e111dc
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1626
Reviewed-by: q3k <q3k@hackerspace.pl>
2023-09-22 22:23:00 +00:00
q3k 88bec7a3c3 capacifier: lol, lmao even
This was never deployed. It is now.

It was broken. It is less now.

Change-Id: I37bcdc5d5d1ffc3484aadecd2226d41aea49bca4
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1625
Reviewed-by: q3k <q3k@hackerspace.pl>
2023-09-22 22:22:47 +00:00
radex f3d42d6ddc hswaw/site: add "upcoming events" section
Change-Id: Ic5d36a7ff35c210aff3b3c451e6f0024ed20e896
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1563
Reviewed-by: q3k <q3k@hackerspace.pl>
2023-09-22 22:19:11 +00:00
radex b8d4a8a902 ldapweb: migrate from mirko to standalone
Change-Id: I169598232b39b99bfd2d4ff3799b44083ba77e84
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1623
Reviewed-by: q3k <q3k@hackerspace.pl>
2023-09-22 21:54:20 +00:00
radex a7c36ed9f3 ldapweb: bump image and config
Change-Id: I5dd24c3dca84f191c45d453f31812f2091d3036c
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1622
Reviewed-by: q3k <q3k@hackerspace.pl>
2023-09-22 21:54:20 +00:00
q3k 97b5cd7b58 go: re-do the entire thing
This is a mega-change, but attempting to split this up further is
probably not worth the effort.

Summary:

1. Bump up bazel, rules_go, and others.
2. Switch to new go target naming (bye bye go_default_library)
3. Move go deps to go.mod/go.sum, use make gazelle generate from that
4. Bump up Python deps a bit

And also whatever was required to actually get things to work - loads of
small useless changes.

Tested to work on NixOS and Ubuntu 20.04:

   $ bazel build //...
   $ bazel test //...

Change-Id: I8364bdaa1406b9ae4d0385a6b607f3e7989f98a9
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1583
Reviewed-by: q3k <q3k@hackerspace.pl>
2023-09-22 21:50:19 +00:00
q3k 603b4f7293 hswaw/kube: add radex to admins
Change-Id: I4f60b139bb86b52399ad84a5373ac5e1eb8828f9
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1621
Reviewed-by: radex <radex@hackerspace.pl>
2023-09-22 20:44:29 +00:00
informatic 69dd2bfd2a hswaw/paperless: grant access to zarzad *and* paperless-admin groups
Change-Id: I622ee8818da2097914cf0da433e3832d680286db
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1587
Reviewed-by: arsenicum <arsenicum@hackerspace.pl>
2023-09-17 22:33:19 +00:00
radex 8036d7f4da hswaw/site: update README, fix non-breaking whitespace and nitpicks
Change-Id: Id9dac11a1b4f2ac527dacf96e3b5c6fb79f1f3a4
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1561
Reviewed-by: q3k <q3k@hackerspace.pl>
2023-09-02 16:35:40 +00:00
radex 6715080ebc doc/codelabs: stub of bazel-go.md
Change-Id: Icf408f9edddfb5e446b2675485c6f9e17ff7357a
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1564
Reviewed-by: q3k <q3k@hackerspace.pl>
2023-09-02 16:32:48 +00:00
q3k b6504238e7 *: add gomod placeholders for generated files
Change-Id: I8a4824ff31590185cd45fd43cc065bb8e2fa7bb2
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1580
Reviewed-by: q3k <q3k@hackerspace.pl>
2023-09-01 16:50:48 +00:00
q3k 7459bbcd89 hswaw/kube: give ar prod access
Change-Id: I1d03232389a53f7e3a52a3f695071e719482355b
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1544
Reviewed-by: ar <ar@hackerspace.pl>
2023-08-17 12:40:32 +00:00
ar 844b9b4353 hswaw/site: update deployment
Change-Id: If9a652956743e69cdb822b8686729b389b269e34
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1539
Reviewed-by: q3k <q3k@hackerspace.pl>
2023-07-24 13:49:33 +00:00
ar 2861c69298 hswaw/site: link statute of the association on the main page
Change-Id: I431bd047bba923c3180266b98781762d3b0c24fd
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1538
Reviewed-by: q3k <q3k@hackerspace.pl>
2023-07-23 13:24:20 +00:00
ar 3cc078e27f hswaw/site: mention fediverse in the social media list
Change-Id: I47dc9b0dbd427e99961e8a81a3d3d191633d54b2
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1537
Reviewed-by: q3k <q3k@hackerspace.pl>
2023-07-23 11:35:14 +00:00
q3k 00c7be3fd3 hacklock: document
Change-Id: I949937a050857e3790645cc4ad93ead7a141ccf8
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1526
Reviewed-by: q3k <q3k@hackerspace.pl>
2023-07-09 13:02:12 +00:00
q3k 0ec2e31e83 hacklock: init at rev a
Change-Id: Ic0481ae37ca354233658ff0d8d2a9b5d7c7a5a2a
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1525
Reviewed-by: q3k <q3k@hackerspace.pl>
2023-07-09 13:02:12 +00:00
q3k 2e632b9247 hswaw/sound: add q3k's key
Change-Id: Ic1ee340cb875cb0858af7738d27c3c5b1f13a738
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1523
Reviewed-by: informatic <informatic@hackerspace.pl>
2023-06-19 23:15:28 +00:00
informatic 8e22f6c7db hswaw/pretalx: config drift - remove cronjob
Change-Id: I829a80eeed162b654151dc85e467ced85e3fa6a0
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1513
Reviewed-by: q3k <q3k@hackerspace.pl>
2023-06-19 21:20:53 +00:00
informatic 7e841065b0 *: post-certmanager manifests update
Change-Id: I745c850268c31777c5722a9833c8152a55615aed
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1512
Reviewed-by: q3k <q3k@hackerspace.pl>
2023-06-19 21:20:44 +00:00
q3k 0aa2910d00 hswaw/capacifier: rewrite it in go
This reimplements capacifier, one of the earliest
just-some-flask-code-on-boston-packets services, in Go.

It's a minimum reimplementation, as this service is generally deprecated
- but some stuff still depends on it. So we do away with capacifier v0's
bespoke rule language and just hardcode everything. It's not like any of
these rules ever changed, anyway.

This is not yet deployed.

Change-Id: Id65ef92784a524c32ae5223cd5460736ac683116
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1509
Reviewed-by: ironbound <ironbound@hackerspace.pl>
2023-04-07 18:15:11 +00:00
vuko a5dd6d5338 hswaw/customs: fix openvpn member auth
Change-Id: I3f29d45563772d9bf90aa107ee4e90dc86435123
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1458
Reviewed-by: informatic <informatic@hackerspace.pl>
2023-03-31 19:33:26 +00:00
vuko ca6dba9902 hswaw/customs: send cron mails to both
Change-Id: I9776ee7eadc77f8bddf09eee7dee6331f9088c29
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1457
Reviewed-by: informatic <informatic@hackerspace.pl>
2023-03-31 19:33:17 +00:00
vuko 3125aa1186 hswaw/customs: improve unbound config
Change-Id: Ic616033897b87f692ee92a106b417423a09d630b
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1456
Reviewed-by: informatic <informatic@hackerspace.pl>
2023-03-31 19:33:17 +00:00
vuko ee8f1d5e2c hswaw/customs: disable DynamicUser for dhcpd / checkinator
Change-Id: I9c7feccf8eb908bf3808afb2ffc5adac50d7abd9
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1455
Reviewed-by: q3k <q3k@hackerspace.pl>
2023-03-31 19:33:17 +00:00
vuko aa077968f9 hswaw/customs: hotfix laserproxy build by using old hscloud
Change-Id: I5a00d138ed7e5080e55997912413bf2f776cd295
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1451
Reviewed-by: vuko <vuko@hackerspace.pl>
2023-01-29 16:22:37 +00:00
vuko 32624090e4 hswaw/customs use ip address in spejsiot proxy
Change-Id: I2148783d9470c09234feaa59e935606bdb21f6f4
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1450
Reviewed-by: vuko <vuko@hackerspace.pl>
2023-01-29 16:22:37 +00:00
vuko 740a52dec9 hswaw/customs: fix warnings after nixpkgs update
Change-Id: I4d62e8fa73f16dbb51a1cacfa1bc70183b6bff2d
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1449
Reviewed-by: vuko <vuko@hackerspace.pl>
2023-01-29 16:22:37 +00:00
vuko 8fcffb2fa2 hswaw/laserproxy: improve username suggestions
Change-Id: I64a683d83ec383fa1cf289c1795cc9ed61144239
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1454
Reviewed-by: q3k <q3k@hackerspace.pl>
2023-01-29 16:21:36 +00:00
vuko 142c8e6504 hswaw/sound: add password file to mosquitto
Change-Id: Ifda90bb0fb6be681a04381335d18d19ffab81298
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1448
Reviewed-by: vuko <vuko@hackerspace.pl>
2022-12-27 21:04:12 +00:00
vuko 6204ccdf92 hswaw/sound: open mosquitto firewall port
Change-Id: Ie46cbe27b1d47bc0ad90bde193283f134ba767be
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1447
Reviewed-by: vuko <vuko@hackerspace.pl>
2022-12-27 21:04:00 +00:00
vuko f0ab6c498a hswaw/sound: add spejsiot-api
Change-Id: If40cdbeadb570d8c33b4c950482c01f4b2bbd1c4
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1446
Reviewed-by: vuko <vuko@hackerspace.pl>
2022-12-27 21:03:49 +00:00
vuko aa7303ec45 hswaw/sound: use officiall ip address
Change-Id: I7b99762e280884eb83f69a6803eddbb86fedc3b3
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1445
Reviewed-by: informatic <informatic@hackerspace.pl>
2022-12-27 21:03:34 +00:00
vuko 4fe6e02942 hswaw/sound: refactor home-assistant
Change-Id: I80442defc97fc7aaf4422f8e2fe6b956b1e130cf
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1444
Reviewed-by: informatic <informatic@hackerspace.pl>
2022-12-27 21:03:26 +00:00
q3k 08c32996e5 hswaw: deploy 1405
Change-Id: If765bdc35d662d644701d2b81a3817ac56ccecb9
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1406
Reviewed-by: informatic <informatic@hackerspace.pl>
2022-11-07 00:24:09 +00:00
q3k 15b5bc1783 hswaw/site: fix catch-all, add robots.txt
Change-Id: I23db4e18185f029a094ea4f69ac0f469d3dd8a8e
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1405
Reviewed-by: informatic <informatic@hackerspace.pl>
2022-11-07 00:24:09 +00:00
vuko deeeff861e hswaw/machines: add sound.waw.hackerspace.pl
Change-Id: Id0e6a02d9ae4cf61d758713a99d21c6da0c72b66
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1401
Reviewed-by: vuko <vuko@hackerspace.pl>
Reviewed-by: informatic <informatic@hackerspace.pl>
2022-10-09 19:35:18 +00:00
informatic aa67387717 hswaw/machines/tv: enable avahi
This fixes webrtc mdns discovery. (to be used sometime later for desktop
casting in a separate tool)

Change-Id: Ic3d454c67ff930d13990481b7ed33f9bf1f5c5e0
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1341
Reviewed-by: q3k <q3k@hackerspace.pl>
2022-09-28 23:01:55 +00:00
q3k 467ff086f1 hswaw/site: deploy
Change-Id: If2589a5fdf0e7fdedbce0cfac7c73e36ef96341b
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1383
Reviewed-by: q3k <q3k@hackerspace.pl>
2022-08-30 17:30:50 +00:00
q3k a8f3efc410 hswaw/site: update visiting info
Change-Id: I1f2ca212224343db76064963cf447937aa128ce5
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1361
Reviewed-by: woju <woju@hackerspace.pl>
2022-08-26 11:24:28 +00:00
woju b56b8fca92 hswaw/checkinator: add notice about random MACs
Nowadays both smartphones and iphones have MAC address randomisation
turned on by default. This breaks checkinator because, while the claim
works as intended, the address added to the database is the random one
and on the next visit the address is different, so the device is
categorised as unknown.

The simplest way to fix this is by the user to ensure that MAC address
is randomised per network, not per-connection (which at least on Android
is itself a per-network knob). This change adds a notice to remind the
user about this.

Signed-off-by: Wojtek Porczyk <woju@hackerspace.pl>
Change-Id: Ieee74d09114e6f0479f44429d9828e47c95eb6bd
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1362
Reviewed-by: q3k <q3k@hackerspace.pl>
2022-08-26 10:30:10 +00:00
informatic a7dbf25588 hswaw/signage: reuse compiled shader, better error handling
Shader will now only be recompiled whenever its code changes. This helps
with hangs on node transitions on underpowered devices.

If shader reload failed an error message will now be rendered over an
existing shader.

File load errors are properly handled.

Change-Id: I97a75b85620614252040b76e4f3aaa0ea1f0a7e3
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1337
Reviewed-by: q3k <q3k@hackerspace.pl>
2022-07-11 08:35:12 +00:00
informatic 8f986c181b hswaw/signage: add development tip
Change-Id: I6dff93498ba2de959f1c7760a21c0972c2277037
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1336
Reviewed-by: q3k <q3k@hackerspace.pl>
2022-07-11 08:35:12 +00:00
q3k 18c1a263cf signage: bring in from external repo
This is b28e6f07aa48f1e2f01eb37bffa180f97a7b03bd from
https://code.hackerspace.pl/q3k/love2d-signage/. We only keep code
commited by inf and q3k, and we're both now licensing this code under
the ISC license, as per COPYING in the root of hscloud.

Change-Id: Ibeee2e6923605e4b1a17a1d295867c056863ef59
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1335
Reviewed-by: informatic <informatic@hackerspace.pl>
Reviewed-by: q3k <q3k@hackerspace.pl>
2022-07-07 23:09:07 +00:00
informatic 9c5d866105 h/m/customs/beyondspace: oauth2-based members-only proxy
Change-Id: I4f7102b4c4ddd9d0f085653ad08e071f172f289d
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1307
Reviewed-by: vuko <vuko@hackerspace.pl>
2022-07-07 20:24:01 +00:00
q3k dcdbd8425c hswaw/machines: add tv2
Change-Id: I657c316bcc663c79b6886d5843b9de5cbf17f1c3
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1333
Reviewed-by: informatic <informatic@hackerspace.pl>
2022-07-07 18:07:18 +00:00