Commit graph

231 commits

Author SHA1 Message Date
Christoph J. Scherr
959c493a5f
refactor: split scan.html js into new static file
Refs: OPS-84
2025-03-23 18:12:52 +01:00
Alivecow
1691a7c04b fix: Fix merge conflicts
Refs: OPS-64
2025-03-23 18:12:45 +01:00
0xjrx
fbdd07c0fb
Merge branch 'devel' into feat/OPS-56 2025-03-23 18:11:44 +01:00
Alivecow
f17d29c39c refactor: Change line length to apease flake8
Refs: OPS-68
2025-03-23 18:09:57 +01:00
0xjrx
ce7316246e
fix/feat: hopefully fixes the speech synthesis and adds more voices
Refs: OPS-56
2025-03-23 18:08:24 +01:00
An0nymous
315c38d5c9
Merge branch 'devel' into docs/OPS-68 2025-03-23 16:46:27 +00:00
Alivecow
2e3987ab8b refactor: add precommit autochanges and fix merge error
Refs: OPS-68
2025-03-23 17:44:04 +01:00
Christoph J. Scherr
bf3f70ed2f
Merge pull request #39 from senju1337/test/OPS-70
Add more tests for the haiku and store manager classes
2025-03-23 17:36:21 +01:00
Christoph J. Scherr
7df683f3fe
test: add more edgecase tests for the store manager
Refs: OPS-70 OPS-82
2025-03-23 17:35:31 +01:00
Christoph J. Scherr
08a7bd45ec
chore: fix flake8 warnings in test_haiku.py
Refs: OPS-70 OPS-81
2025-03-23 17:33:58 +01:00
Christoph J. Scherr
0c0554e931
test: move test_temp_data_dir to store tests
Refs: OPS-70
2025-03-23 17:33:58 +01:00
Christoph J. Scherr
e700c0d4cb
chore: remove trivial test_tests_are_loaded test
Refs: Ops-70
2025-03-23 17:33:58 +01:00
Christoph J. Scherr
2fa911c665
test: add test_request_haiku_respondse_bad
Refs: OPS-70 OPS-81
2025-03-23 17:33:57 +01:00
Christoph J. Scherr
4887047cbf
test: add asserts to the haiku tests
Refs: OPS-70 OPS-81
2025-03-23 17:33:57 +01:00
Christoph J. Scherr
df6e964751
chore: fix flake8 warnings in haiku and test_haiku
Refs: OPS-70
2025-03-23 17:33:57 +01:00
Christoph J. Scherr
3889809d07
fix: request_haiku method did not work with a simple 3 line haiku
Refs: OPS-70
2025-03-23 17:33:57 +01:00
Christoph J. Scherr
897bf80e38
tests: add test for request_haiku
Refs: OPS-70
2025-03-23 17:33:57 +01:00
Christoph J. Scherr
aa236775ba
tests: add some tests to test the methods of Haiku
Refs: OPS-70
2025-03-23 17:33:57 +01:00
An0nymous
827f770d35
Merge branch 'devel' into docs/OPS-68 2025-03-23 16:33:47 +00:00
Guts
0ce42f595c
Merge pull request #40 from senju1337/feat/OPS-83
feat: add useful error message for when the store manager cant be initialized
2025-03-23 17:31:07 +01:00
Guts
b300987b1f
Merge pull request #41 from senju1337/feat/OPS-65
load default haiku if no haikus exist yet
2025-03-23 17:30:01 +01:00
An0nymous
88f391cdd0
Merge pull request #44 from senju1337/fix/OPS-86
fix/OPS-86: fix Java Script
2025-03-23 16:25:30 +00:00
0xjrx
569b83a647
feat: Fix java script and remove redundant input length enforcement in js
Refs: OPS-86
2025-03-23 17:17:40 +01:00
An0nymous
7e2f6b7676
Merge branch 'devel' into docs/OPS-68 2025-03-23 16:09:14 +00:00
Alivecow
8a3c997cf7 docs: Add module level dockstrings and change other
Refs: OPS-68
2025-03-23 17:06:54 +01:00
Christoph J. Scherr
1570325256
chore: fix flake8 warnings
Refs: OPS-65
2025-03-23 14:27:44 +01:00
Christoph J. Scherr
da52e643a7
feat: display the default haiku in the frontend with a small note
Refs: OPS-65
2025-03-23 14:26:54 +01:00
Christoph J. Scherr
8f3ccb94d1
refactor: integrate get_latest_haiku_or_default into load_haiku
Refs: OPS-65
2025-03-23 14:14:27 +01:00
Christoph J. Scherr
cf48ac8164
test: add tests for get_latest_haiku_or_default
Refs: OPS-65
2025-03-23 14:09:26 +01:00
Christoph J. Scherr
69db48af8b
feat: add get_latest_haiku_or_default to store
Resf: OPS-65
2025-03-23 14:09:08 +01:00
Christoph J. Scherr
45519743bd
feat: add useful error message for when the store manager cant be initialized
Refs: OPS-83
2025-03-23 13:58:06 +01:00
An0nymous
2c7394edfa
Merge pull request #31 from senju1337/fix/OPS-64
Fix/ops 64 Fix the poem extraction from the ai to drastically reduce regeneraions
2025-03-21 15:36:54 +00:00
An0nymous
ee16a4bf8d
Merge pull request #33 from senju1337/feat/OPS-63-docsgen
setup a simple generation for the documentation OPS-63
2025-03-21 15:36:25 +00:00
An0nymous
30228afa0c
Merge pull request #35 from senju1337/fix/OPS-69
fix: remove foobar functions which was only used to test if sphinx works
2025-03-21 15:35:39 +00:00
0xjrx
f52deafc18
Merge branch 'devel' into feat/OPS-56 2025-03-21 16:34:46 +01:00
0xjrx
3234cf0e6b
fix: remove unnecessary stuff
Refs: OPS-56
2025-03-21 16:34:11 +01:00
Alivecow
ab47d13938 refactor: Apply precommit autochanges 2025-03-21 16:27:28 +01:00
Alivecow
e6da82595a docs: Add docstrings for the store manager and main
Refs: OPS-68
2025-03-21 16:22:12 +01:00
Guts
23e715d847
Merge branch 'devel' into fix/OPS-64 2025-03-21 16:14:21 +01:00
Guts
7880919e06
Merge pull request #37 from senju1337/feat/OPS-54
Feat/ops-54: Add a maximum input length fo the prompt
2025-03-21 16:03:02 +01:00
github-actions[bot]
740358ae72 ci: automatic Python Formatter changes 2025-03-21 14:56:43 +00:00
0xjrx
c705e863d1
fix: fix js to limit user input
Reps: OPS-54
2025-03-21 15:56:08 +01:00
Alivecow
3c3cf80aaf docs: Add docstrings for the haiku class
Refs: OPS-68
2025-03-21 15:33:21 +01:00
0xjrx
36c3d0a83f
fix: changed html error code to the correct one
Refs: OPS-54
2025-03-21 15:31:51 +01:00
0xjrx
1ca1bc525b
fix: remove unnecessary import
Refs: OPS-54
2025-03-21 15:26:30 +01:00
0xjrx
8223437f9e
feat: increase input length and enforce length in js as well as backend
Refs: OPS-54
2025-03-21 15:23:02 +01:00
An0nymous
1022baa886
Merge pull request #36 from senju1337/docs
docs: components
2025-03-21 14:12:20 +00:00
Christoph J. Scherr
2ed42fc9a5
docs: components 2025-03-21 15:08:20 +01:00
0xjrx
a89ad5cba9
feat: Add a maximum input length fo the prompt
Refs: OPS-54
2025-03-21 15:06:26 +01:00
Christoph J. Scherr
862c0d915c
fix: remove foobar functions which was only used to test if sphinx works
Refs: OPS-69
2025-03-21 15:06:09 +01:00