Commit Graph

288 Commits

Author SHA1 Message Date
vabene1111
2a6a785453 wip service worker 2025-06-19 17:48:06 +02:00
vabene1111
78e2ee6631 fixed external recipes not sharable 2025-06-09 11:05:54 +02:00
vabene1111
302528256c fixed external recipe viewer 2025-04-26 18:53:14 +02:00
vabene1111
e9f87bb475 fixed share link generation 2025-03-16 15:22:10 +01:00
vabene1111
4234c5b35f allow opening shared recipes and redirect old urls 2025-02-09 12:18:06 +01:00
vabene1111
3880f205b6 various fixes 2025-01-30 10:29:21 +01:00
vabene1111
749f2bff02 fixed path reload matching 2025-01-16 07:39:46 +01:00
vabene1111
cd8f8bb90c fixed manifest and added v3 redirect 2025-01-14 19:17:52 +01:00
vabene1111
3a031bbbaf shortcut icons 2025-01-14 19:03:20 +01:00
vabene1111
f4b1acb757 changed paths to have vue3 as standard 2025-01-14 18:18:13 +01:00
vabene1111
679957b48c vue 3 permission generally set to guest 2024-12-21 10:33:55 +01:00
vabene1111
3e3780028b improved code quality of start page scrollers 2024-12-19 21:16:15 +01:00
vabene1111
1c9d19fc76 fixed navigating with global search 2024-12-19 20:21:00 +01:00
vabene1111
425f00860f Merge branch 'develop' into feature/vue3
# Conflicts:
#	docs/features/authentication.md
2024-11-27 15:56:28 +01:00
vabene1111
d4dc4a30b8 fixed system page 2024-11-23 13:26:12 +01:00
vabene1111
c107f2f497 fixed system view 2024-11-14 16:06:58 +01:00
vabene1111
3aca96148d Merge branch 'develop' into feature/vue3
# Conflicts:
#	cookbook/views/api.py
#	cookbook/views/views.py
#	requirements.txt
2024-11-12 16:45:21 +01:00
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
ddaeb054d0 added v3 beta setting 2024-09-26 07:35:35 +02:00
vabene1111
17d34c5ca7 improved allowed hosts docs, default config and added a system warning 2024-06-27 13:48:11 +02:00
smilerz
2c12ce3edf added permissions to docs/api
added swagger api view
added authentication method to openapi schema
added logo to docs/api
fixed tree and merge schemas
2024-03-27 15:45:51 -05:00
vabene1111
bb6356cfa8 first vue 3 commit 2024-03-27 08:34:18 -05: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