Commit graph

178 commits

Author SHA1 Message Date
Brian Wiborg
715b7a030a
🐛 Createsuperuser in single asyncio task 2025-10-26 21:47:03 +01:00
Brian Wiborg
4a5bafd889
🔖 0.5.3 2025-10-25 11:18:07 +02:00
Brian Wiborg
b50cbc4341
🐛 Fix /auth/refresh 2025-10-25 11:17:05 +02:00
Brian Wiborg
10681cc15b
🚚 Move hmac_hash() to ohmyapi_auth.utils 2025-10-24 20:54:16 +02:00
Brian Wiborg
58f1387aaf
🔖 0.5.2 2025-10-22 11:26:50 +02:00
Brian Wiborg
6b87bfeefb
🐛 email_hash is not optional 2025-10-22 11:25:40 +02:00
Brian Wiborg
812e89ede9
🔖 0.5.1 2025-10-11 13:31:28 +02:00
Brian Wiborg
e25c9d1715
🩹 Define explicit user_groups proxy-table 2025-10-11 13:30:46 +02:00
Brian Wiborg
d494396728
✏️ Fix typo 2025-10-11 13:12:48 +02:00
Brian Wiborg
2e1ec5d780
🔖 0.5.0 2025-10-11 13:06:34 +02:00
Brian Wiborg
ce47e3f60e
🎨 Auto-prefix table_names with "{app_label}_"
There is no support for auto-prefixing implicit proxy-tables in
Tortoise. If you need to prefix a proxy-table, explicitly define the
Model for the proxy table. Being an explicit model, it will then be
auto-prefixed.
2025-10-11 13:03:31 +02:00
Brian Wiborg
acd4844a25
🎨 Export tortoise.functions as ohmyapi.db.functions 2025-10-11 04:31:30 +02:00
Brian Wiborg
74f625ab1d
🔖 0.4.7 2025-10-11 02:22:15 +02:00
Brian Wiborg
a45f03b92f
🐛 Fix maybe_authenticated 2025-10-11 02:20:59 +02:00
Brian Wiborg
de043ddd97
🐛 Fix authenticate method 2025-10-11 02:20:45 +02:00
Brian Wiborg
80163ce994
🐛 Make settings module available, first 2025-10-11 02:06:42 +02:00
Brian Wiborg
66176e9af7
🔖 0.4.6 2025-10-11 01:21:03 +02:00
Brian Wiborg
cf106e8855
🐛 maybe_authenticated with export 2025-10-11 01:20:32 +02:00
Brian Wiborg
d7f7db338f
🔖 0.4.5 2025-10-11 01:08:50 +02:00
Brian Wiborg
643a6b2eb7
🔒️ Add optionally_authenticated permission 2025-10-11 01:07:55 +02:00
Brian Wiborg
1c42b44d41
🔖 0.4.4 2025-10-10 15:49:57 +02:00
Brian Wiborg
2239480dc0
🎨 Also export tortoise.query_utils.Prefetch 2025-10-10 15:49:14 +02:00
Brian Wiborg
3e15aa7722
🐛 Support apps without any models 2025-10-10 15:48:40 +02:00
Brian Wiborg
e1f5ce589c
🔖 0.4.3 2025-10-08 13:56:23 +02:00
Brian Wiborg
4ec2f87ce2
🐛 Fix ohmyapi.core.runtime.App.models 2025-10-08 13:55:57 +02:00
Brian Wiborg
e3abc642ed
🔖 0.4.2 2025-10-08 13:40:28 +02:00
Brian Wiborg
b1222c64d6
🐛 Fix ModuleNotFoundError typo 2025-10-08 13:39:11 +02:00
Brian Wiborg
1ef64c2b17
🔖 0.4.1 2025-10-08 13:20:32 +02:00
Brian Wiborg
49c24b7f0c
🐛 Fix createsuperuser 2025-10-08 13:19:47 +02:00
Brian Wiborg
4c11297d65
🔖 0.4.0 2025-10-08 13:10:30 +02:00
Brian Wiborg
c23576b393
🩹 Remove ohmyapi from template deps 2025-10-08 13:09:16 +02:00
Brian Wiborg
0deb5706f8
🎨 Single line initialization is more readable 2025-10-08 13:07:31 +02:00
Brian Wiborg
f579972466
🎨 Allow overriding base prefix 2025-10-08 13:06:42 +02:00
Brian Wiborg
cb9acd52d0
📝 Small improvements 2025-10-08 12:54:42 +02:00
Brian Wiborg
67d89a94f4
Integrate logging 2025-10-08 12:45:27 +02:00
Brian Wiborg
e848601f79
🐛 Use set_email in createsuperuser 2025-10-08 12:41:05 +02:00
Brian Wiborg
6120c151f1
🎨 Add Postgress service as comment 2025-10-06 21:31:10 +02:00
Brian Wiborg
3e029e1fb7
🔥 Remove poetry lock 2025-10-06 21:30:50 +02:00
Brian Wiborg
9ac95af005
🎨 Add option to pull in asyncpg 2025-10-06 21:29:52 +02:00
Brian Wiborg
33a9c94042
♻️ Refactor ohmyapi_auth
- remove middlewares (should come from user)
- save symmetrically hased e-mail instead of raw
2025-10-06 21:27:16 +02:00
Brian Wiborg
cc3872cf74
Add support for middleware in apps 2025-10-02 21:50:42 +02:00
Brian Wiborg
5c632cbe8f
🎨 Add Q to exports 2025-10-02 17:15:39 +02:00
Brian Wiborg
ad8986abb1
🔖 0.3.2 2025-10-02 15:11:19 +02:00
Brian Wiborg
bcdd23652f
🐛 Revoke support for table_name prefixes
Unfortunately, Aerich seems a bit awkward in respecting
Model.Meta.table. Also proxy-tables can not be prefixed at all.

If there is no concise way to prefix all tables of an app, we shouldn't
prefix it at all and leave the collision-problem for the user to keep an
eye on.
2025-10-02 15:09:02 +02:00
Brian Wiborg
856ea12f52
🔖 0.3.1 2025-10-02 14:47:15 +02:00
Brian Wiborg
bb8884f419
🐛 Remember to alias builtin apps before inferring 2025-10-02 14:46:32 +02:00
Brian Wiborg
63d2c31763
🔖 0.3.0 2025-10-02 14:32:47 +02:00
Brian Wiborg
64e98f9f0a
🏗️ Automatically prefix table_names with app_label 2025-10-02 14:30:53 +02:00
Brian Wiborg
c411a9795c
🔖 0.2.8 2025-10-02 05:48:48 +02:00
Brian Wiborg
e2f968bac4
👷 Add dockerize command 2025-10-02 05:47:48 +02:00