Commit Graph

84 Commits

Author SHA1 Message Date
efim 42c73c5902 feat: prometheus nixos module & test-container
for testing grafana in container
export QEMU_NET_OPTS="hostfwd=tcp::3000-:3000"
 nixos-rebuild build-vm --flake .#test-container
and then run the container, login is test/test

and the grafana port is forwarded to host machine, yay
2023-12-02 08:19:13 +00:00
efim 0a8db09fe8 feat: reporting basic metrics to prometheus 2023-12-02 06:54:11 +00:00
efim 5cab5d88d9 feat: simplest room expiration 2023-12-01 04:14:23 +00:00
efim a502ee72a0 fix: request context to rooms manager 2023-12-01 04:13:10 +00:00
efim cc33c3f742 feat: expire & prolong sessions 2023-12-01 04:09:17 +00:00
efim e0bd77fe3b fix: page names 2023-11-30 04:17:54 +00:00
efim de8a661952 fix: mark return logic
setting marks for all levels between current speaker and next speker (on
conversation level raise)

and for 'count from' - check higher levels for a mark for potential use
so that 'extend' raised to 'meta' would still count 'next topic' as
going from previously 'extending' person

now going down by many levels - starts from marked person due to 'count from' logic
that uses marks from higher level if current level doesn't have a mark
but also going down by 1 step keeps the marks until we return to initially diverged
conversation layer
2023-11-28 06:29:07 +00:00
efim 60f04cf044 fix: open the source repo in new tab 2023-11-27 07:01:55 +00:00
efim e3f7a38dba fix: layouts cleanup 2023-11-27 05:58:37 +00:00
efim 4e5c6b4bd8 feat: semi pretty styling of room 2023-11-27 05:50:14 +00:00
efim 34679b6079 doc: makefile way to start dev redis 2023-11-27 04:57:35 +00:00
efim 42b24b3e14 feat: testing vm recipe
what i'm still figuring out is port forward (and how to target dns resolution?),
otherwise i'd need to add graphical session and a browser into vm
2023-11-27 04:57:32 +00:00
efim f279f8ae05 fix: nginx sse in reverse proxy 2023-11-26 04:51:08 +00:00
efim 1a567c6e12 fix: pick up redisPort param 2023-11-26 03:55:52 +00:00
efim 97544ab816 feat: nixos module for server and redis 2023-11-25 19:50:14 +00:00
efim 887b517445 feat: build with nix 2023-11-25 15:40:01 +00:00
efim 0d4e10be40 fix: failing tests after Mark logic 2023-11-25 15:29:50 +00:00
efim 31e3f06f3b doc: affero gpl license and link to sourc code 2023-11-25 15:10:43 +00:00
efim cc3dcffcd1 fix: Mark logic for all lover gestures 2023-11-25 14:09:09 +00:00
efim a091a26d0d fix: raised&mark brick logic 2023-11-25 08:57:50 +00:00
efim 85b3a3f89e feat: separate 'speaker controls'
specifically for 'i have finished speaking' and not allowing to change
the state
2023-11-25 08:42:13 +00:00
efim 1b91b9f083 refactor: toggling state by same button 2023-11-24 05:13:39 +00:00
efim 4680d96a97 feat: initial toggling controls 2023-11-24 03:40:27 +00:00
efim e3422c0e95 feat: gesture img in controls 2023-11-23 15:28:32 +00:00
efim 16ee8a7cd5 feat: controls styling from gesture info 2023-11-23 15:01:51 +00:00
efim dbae803ead refactor: pass GestureInfo into brick fragment 2023-11-23 14:25:48 +00:00
efim 82a96ea9d7 refactor: start grouping brick attributes info 2023-11-23 14:07:36 +00:00
efim 2e68b8d8e7 refactor: self serving minimized htmx 2023-11-23 07:26:07 +00:00
efim d2015c57ff feat: bold for self name 2023-11-23 06:25:23 +00:00
efim 550841e882 fix: display correct button on unauthed room page 2023-11-23 06:14:54 +00:00
efim f7def011f5 fix: make single person visitor 2023-11-23 04:33:27 +00:00
efim 3d466953d2 fix: mark & active brick type 2023-11-23 04:15:11 +00:00
efim fad258a537 fix: person bricks should center name
otherwise bricks are at the left and -50% translateY puts them
off-center, while centering long name
2023-11-22 06:14:58 +00:00
efim f4c331983c fix: allow arrow to draw full circle 2023-11-22 05:39:50 +00:00
efim 077537a1e3 fix: having mark and same raised gesture
previously didn't check everyone, and person with mark and gesture is
last in the circle
2023-11-22 05:03:14 +00:00
efim 017cf465da feat: dynamic arrow drawing 2023-11-21 19:21:36 +00:00
efim 183df0959c feat: function to get room next speaker index 2023-11-21 18:57:03 +00:00
efim a10e3433a4 fix: test compilation 2023-11-21 18:07:41 +00:00
efim 793eb16881 feat: initial circle arrow svg 2023-11-21 17:25:27 +00:00
efim b13a43aa71 fix: spread out low person count
for 2 people tan is huge, so radius becomes ~0, hardcode for radius
~image size

and in css --r add part of image for 'offces from center'
2023-11-19 06:47:43 +00:00
efim af53bda10e feat: display room with current person in bottom 2023-11-19 05:57:30 +00:00
efim e4c56506be refactor: data structs for template + method
enclosing rooms.Room into roomTableData, with methods to be used in
tempalte to get other template related derived data structures
2023-11-19 05:41:03 +00:00
efim 8b23103e8e feat: rotated table display 2023-11-19 05:07:34 +00:00
efim 495443e12a fix: logout inserting html into page 2023-11-18 14:06:44 +00:00
efim d87c102d95 feat: create|login on room path 2023-11-18 13:41:54 +00:00
efim c8f28bf0de feat: login form or room info on index page 2023-11-18 12:18:56 +00:00
efim 0e804b21e5 refactor: login section to reuse in unauthed pages 2023-11-18 08:34:45 +00:00
efim c9e1bf65fa feat: passwords hashing 2023-11-18 07:41:52 +00:00
efim 8bb1509786 feat: go to room on create/login 2023-11-18 04:07:13 +00:00
efim cdd31e186a fix: rendering index page after login 2023-11-18 03:47:58 +00:00