vabene1111
7dba36d210
switched to space stats
2024-11-12 16:15:01 +01:00
vabene1111
0dea5c9877
api stats
2024-11-12 15:53:13 +01:00
vabene1111
17d34c5ca7
improved allowed hosts docs, default config and added a system warning
2024-06-27 13:48:11 +02:00
Rich Schumacher
7957413ca0
bug: Fix TypeError at /system due to invalid PostgreSQL values [ Closes #3053 ]
...
The bug was a missing tuple index introduced in #3027 . Added the index
and also wrapped everything in a try/catch to prevent future issues.
2024-03-23 15:31:44 -04:00
vabene1111
a6e8fa8ddf
Merge branch 'develop' of https://github.com/TandoorRecipes/recipes into develop
2024-03-09 07:44:36 +01:00
vabene1111
37fb0418ac
fixed default page setting and made PWA respect that setting
2024-03-09 07:44:32 +01:00
Rich Schumacher
3489216daf
bug: Fix decimal.InvalidOperation on /system for some PG versions
...
In https://github.com/TandoorRecipes/recipes/pull/2730 the /system page was improved to warn the user if the version of Postgres they are using is out of date and should be updated. The current code attempts to determine the major versions by replacing `00` with `.` and then converting to a `Decimal`. Unfortunately, it appears the only value this method _does not_ work for are initial releases of major versions, like `16.0.0`.
For reference, either Postgres or the PsyCog driver represents the semver values but without the dots, so `16.0.0` becomes `1600000`.
This change removes the string replace and Decimal conversion in favor of using the divmod() function. In this application it will return a tuple with the first element being the major version of Postgres. This is then used as before to compare against deprecated versions.
2024-03-07 20:47:40 -05:00
vabene1111
1a31847223
Merge branch 'develop' into deprecate_old_code
2024-02-28 17:10:03 +01:00
vabene1111
63f9d5c181
Merge pull request #2974 from smilerz/logging_api_paging
...
paginate cooklog and viewlog tables on history view
2024-02-26 07:56:00 +01:00
vabene1111
6de68707ed
fixed missing servings get parameter breaking view in some cases
2024-02-24 11:16:09 +01:00
smilerz
64ab768add
paginate cooklog and viewlog tables on history view
2024-02-23 07:23:10 -06:00
smilerz
a4849adb4c
remove recipebook and recipebookentry pages
2024-02-20 17:30:29 -06:00
smilerz
da9a2b4dc2
remove Supermarket view and template
2024-02-20 17:17:43 -06:00
smilerz
c8c8792ea8
remove ShoppingList model and tests
2024-02-20 17:09:18 -06:00
vabene1111
1883da5e49
Merge branch 'develop' into deprecate_settings_form
2024-02-16 19:58:31 +01:00
smilerz
9506f2889a
deprecate unused forms
2024-02-16 09:21:27 -06:00
Patrick Magauran
cf190734b2
Switches to named GET Parameter for servings
2024-02-13 20:59:04 -05:00
Patrick Magauran
13f532a67b
Add serving size to recipe url so it loads with num
2024-02-06 22:21:37 -05:00
vabene1111
bb52f8902d
added max spaces per user + added custom app name + fixed theming tests
2024-01-15 07:41:51 +08:00
vabene1111
2ba2b97f9c
moved manifest to use main theming function
2024-01-14 08:40:05 +08:00
vabene1111
c6fa635af2
basics of custom icons
2024-01-06 23:23:17 +08:00
vabene1111
0fed6b9fb3
added migration status to system page
2023-12-16 14:03:32 +01:00
smilerz
4f3e6d3765
added Postgres version to system page.
...
Added warnings for out of date Postgres versions
2023-12-10 07:54:43 -06:00
smilerz
46a50d7835
view and delete orphaned files
...
miscelaneous bug fixes discovered during testing
2023-12-10 07:54:37 -06:00
vabene1111
3e083e2168
fully integrated property editor
2023-12-02 18:02:22 +01:00
smilerz
e89c1742fb
remove deprecated django.db.backends.postgresql_psycopg2
2023-10-30 21:42:57 -05:00
vabene1111
cb6d98a357
fixed system page permission
2023-10-05 18:58:38 +02:00
vabene1111
dae7cbfb85
version script updates and system page fix
2023-08-05 10:56:27 +02:00
vabene1111
0688f46d8b
new version script
2023-07-29 08:32:10 +02:00
vabene1111
6a39148e5f
fixed try catch and added git to permanent dependency
2023-07-28 15:59:48 +02:00
vabene1111
22dfb40fd5
improved system info even more
2023-07-27 20:48:51 +02:00
vabene1111
2b5a86ce53
improved system page
2023-07-27 20:40:25 +02:00
vabene1111
e77016ea9b
playing around
2023-07-27 18:49:39 +02:00
vabene1111
9988a61da7
added version number to system screen
2023-07-27 18:39:21 +02:00
vabene1111
b599c4f6a9
added internal notes and improved invite link form
2023-06-30 23:09:22 +02:00
vabene1111
3302dacdc3
properties structure imporioved
2023-05-25 16:13:16 +02:00
vabene1111
2cc7278865
extremly innefficent WIP
2023-05-06 20:54:36 +02:00
vabene1111
60f31608b9
added recipe properties
2023-05-06 19:14:25 +02:00
vabene1111
7d9fcac0c7
basic food property viewer in recipe view
2023-04-11 16:48:38 +02:00
vabene1111
b8cbda10f1
disable space creation for demo user on hosted instance
2023-03-28 23:21:57 +02:00
vabene1111
24f331c208
improved ingredient parser handling of amount unit without space
2022-11-09 14:24:12 +01:00
vabene1111
d02b253242
fixed search settings not working with sqlite DB
2022-09-23 16:16:44 +02:00
vabene1111
6605b87c5c
new settings page finished
2022-08-05 16:54:53 +02:00
vabene1111
f7af0741fe
fixed bookmarklet
2022-08-04 18:45:40 +02:00
vabene1111
3ec4afb02f
fixed scoping and permissions for tokens
2022-08-04 18:33:45 +02:00
vabene1111
3f77b73a61
add multiple API tokens per user, removes old API tokens
2022-08-04 17:24:54 +02:00
vabene1111
ce1f55ffd1
settings wip
2022-07-15 17:12:01 +02:00
vabene1111
8700e2df69
basics of new settings page working
2022-07-14 17:50:20 +02:00
vabene1111
ba473123ba
added ability to use invite link more than once
2022-07-14 11:28:13 +02:00
vabene1111
51076d4ced
Merge branch 'master' into develop
2022-07-13 10:25:39 +02:00