Donkie
44da991d47
Added a new backend settings system
...
This can be used for saving runtime-configurable settings in the database.
2024-01-16 19:17:06 +01:00
pdsccode
28a70d5190
Merged spool price testing into existing test methods
2024-01-07 14:24:14 +01:00
pdsccode
05dfb611cf
Revert "Fixed test error that asserts 404 on create"
...
This reverts commit f13c61b9e9 .
2024-01-07 14:17:59 +01:00
pdsccode
f13c61b9e9
Fixed test error that asserts 404 on create
2024-01-07 13:44:04 +01:00
pdsccode
44b20fb360
Fixed code formatting
2024-01-07 13:25:05 +01:00
pdsccode
a3be982632
Fixing test update spool issue
2024-01-06 23:04:53 +01:00
pdsccode
577ed1e680
Changed to show filament price if no spool price set and added tests
2024-01-06 21:42:09 +01:00
Donkie
cf8d7472f5
Added backend filament search by similar color
2023-12-19 21:37:07 +01:00
Donkie
9595aec675
Fixed registered field having wrong timezone
...
This happened with at least Postgres, which took it's server's timezone. It's complicated. Let's just set it from our side instead where we have some control.
2023-10-02 21:36:50 +02:00
Donkie
205574fa2c
Fixed timezone being returned incorrectly
...
Happened if you've set TZ to non-UTC.
Apparently astimezone and replace doesn't do the same thing even if tzinfo is None.
2023-10-02 21:36:50 +02:00
Donkie
597dca7c28
Fixed combining empty and non-empty filter
...
Previously it would then act as a wildcard filter
2023-09-20 21:02:49 +02:00
Donkie
b795680226
Added missing timezone in responses
...
Fixes #114
2023-09-20 20:13:02 +02:00
Donkie
6f94c17050
Renamed vendor.x to filament.vendor.x in spool API
2023-09-16 11:13:30 +02:00
Donkie
6ee3b8df70
Added support for multiple int where's
2023-09-16 11:13:30 +02:00
Donkie
6d68a40313
Added support for multiple string where's
2023-09-16 11:13:30 +02:00
Donkie
841cc8b6df
Added sort by remaining weight
2023-09-16 11:13:30 +02:00
Donkie
a4d14c5b52
Added X-Total-Count test asserts
...
Fixed issue with incorrect total count for vendors
2023-09-16 11:13:30 +02:00
Donkie
4e0851e7c3
Added full tests for vendor
2023-09-16 11:13:30 +02:00
Donkie
0f58ddfd88
Modernized vendor tests
2023-09-16 11:13:30 +02:00
Donkie
978773583a
Full testing done for filaments
...
Also added tests for having multiple sorts
2023-09-16 11:13:30 +02:00
Donkie
acc6ab56a5
Fixed tests for non-sqlite dbs
2023-09-16 11:13:30 +02:00
Donkie
aa28e51c28
Added offset and limit tests for spools
2023-09-16 11:13:30 +02:00
Donkie
13994c486f
Added module-level fixtures in tests
2023-09-16 11:13:30 +02:00
Donkie
e436aa4975
Added tests for spool find sorting
2023-09-16 11:13:30 +02:00
Donkie
9a7375d781
Added test cases for finding empty spool fields
2023-09-16 11:13:30 +02:00
Donkie
826fde6967
API find nested filters now specified using period
...
Previously you used underscore, like vendor_name. This made fields like filament_article_number have ambiguous underscores.
2023-09-16 11:13:30 +02:00
Donkie
8e9ca8e305
Fixed ruff in CI
2023-09-04 20:36:02 +02:00
Donkie
e6b30da55d
Split spool test_find into individual tests
2023-08-21 22:16:52 +02:00
Donkie
c820112e11
Split up integration tests into individual files
2023-08-21 22:16:52 +02:00
Donkie
4cb2542a41
Added support for color_hex alpha channel
2023-08-12 21:32:20 +02:00
Donkie
5798f91b60
Updated integration tests to support archived
2023-07-14 14:54:59 +02:00
Donkie
34257869ba
Minor ruff fixes in integration tests
2023-07-10 11:21:36 +02:00
Donkie
5654b5d7bc
Added used_length and remaining_length API fields
...
They're calculated from the weights
Resolves #37
2023-07-10 11:19:46 +02:00
Donkie
5c9b0c3fac
Run script now fails if docker build fails
2023-07-09 00:54:01 +02:00
Donkie
936b11de24
Backend now fully supports negative consumption
...
Updated integration tests to verify this.
2023-07-08 20:07:32 +02:00
Donkie
746b891703
Improve local integration test run script
...
Can now specify what targets to run
2023-07-08 20:05:28 +02:00
Donkie
2690cd747b
Updated backup integration test
2023-07-07 17:47:54 +02:00
Donkie
f24b9610e8
Added automatic nightly SQLite backups
...
Resolves #22
2023-07-04 14:59:05 +02:00
Donkie
94d8cbf227
SQLite dbs now handle concurrent reqs better
...
Closes #7
2023-06-30 22:28:01 +02:00
Donkie
1fd89807d4
Contract test for concurrent spool use
2023-06-30 21:53:01 +02:00
Donkie
11eec3c259
Improved local integration test script
2023-06-30 21:52:33 +02:00
Donkie
64aaf2a06a
404 error is now more descriptive
2023-06-28 20:44:22 +02:00
Donkie
3aec319b6a
Now correctly handles datetimes with timezone set
2023-06-25 17:57:17 +02:00
Donkie
4e409f6bb6
Added filament color code field
2023-06-01 19:56:24 +02:00
Donkie
235236d435
Ruff fixes
2023-05-28 22:55:11 +02:00
Donkie
6de7deb77f
Attempt to fix cockroachdb integration test
2023-05-28 22:32:26 +02:00
Donkie
7c7ee9296c
Added extruder/bed temp override settings
...
Closes #4
2023-05-28 21:52:51 +02:00
Donkie
424856c710
Improved tests for add in integration tests
2023-05-28 21:40:17 +02:00
Donkie
de1bf05922
Added Alembic for migrations
2023-05-27 23:14:06 +02:00
Donkie
adda3e6f25
Less yank mariadb healthcheck
2023-05-21 23:46:44 +02:00