|
25d9904180
|
Applied the new type parameter syntax to the generic classes for Python 3.12.
|
2024-03-03 07:39:37 +08:00 |
|
|
1cf83adf87
|
Applied the "type" statement to type aliases for Python 3.12.
|
2024-03-03 07:39:20 +08:00 |
|
|
501c4b1d22
|
Added missing documentation to the global variables, class properties, and object properties.
|
2023-07-29 10:11:44 +08:00 |
|
|
cda9e4e3c6
|
Replaced importing the "typing" module as "t" with importing the individual names in the "typing" module. Since Python 3.9 introduced type hinting generics in standard collections, we do not have as many names to import now. This is also to be consistent with the practices of most major and standard packages and examples.
|
2023-04-26 18:22:45 +08:00 |
|
|
4c2dcc5070
|
Renamed the project from "Mia! Accounting Flask" to "Mia! Accounting".
|
2023-04-04 18:26:54 +08:00 |
|
|
f7efacad75
|
Added the unauthorized method to the UserUtilityInterface interface, so that when the user has not logged in, the permission decorator can ask the user to log in instead of failing with HTTP 403 Forbidden.
|
2023-04-03 19:50:47 +08:00 |
|
|
761d5a5824
|
Added the option management, and moved the configuration of the default currency, the default account for the income and expenses log, and the recurring expenses and incomes to the options.
|
2023-03-22 15:34:28 +08:00 |
|
|
8061a23fdc
|
Renamed the AbstractUserUtils class to UserUtilityInterface, and added the can_view and can_edit functions to the UserUtilityInterface interface. There is no need to separately supply two additional can_view and can_edit callbacks.
|
2023-03-14 17:03:18 +08:00 |
|
|
cd8a480cd0
|
Revised the documentation of the AbstractUserUtils class.
|
2023-03-14 17:03:16 +08:00 |
|
|
31dc8fab04
|
Changed the type hint of the "current_user" pseudo property of the AbstractUserUtils class to return None when the user has not logged in.
|
2023-02-07 16:00:51 +08:00 |
|
|
dc24af1db0
|
Added the get_current_user function to the "accounting.utils.user" module to retrieve the currently logged-in user and cache it in the current request.
|
2023-02-07 16:00:47 +08:00 |
|
|
399afe56c8
|
Added the initial values for the database instance, the user class and the user primary key column, to allow the Sphinx documentation system to work properly.
|
2023-02-07 11:40:48 +08:00 |
|
|
581e803707
|
Moved the user utilities from the "accounting.database" module to the "accounting.utils.users" module, and simplified its use.
|
2023-02-03 12:57:53 +08:00 |
|