依瑪貓 imacat
imacat pushed to main at imacat/mia-accounting 2023-02-08 11:06:06 +08:00
e24ed61b99 Added 7 currencies.
354f1ff3d8 Moved the currency data from the "accounting.currency.commands" module into the currencies.csv file, separating the code and the data. Rewrote the test case to test against each all the content imported. The locales are read from the CSV file instead of hard-coded in the code, so that the translations are not hard-coded to Mandarin.
d8e0e30c41 Revised the coding style in the test_init test of the BaseAccountCommandTestCase test case.
d58859bcf3 Removed the unused BaseAccountData data type.
40e64c4d2e Rewrote the test_init test of the BaseAccountCommandTestCase test case to test all the content imported. The translations are not hard-coded to Mandarin now.
Compare 7 commits »
imacat pushed to main at imacat/mia-accounting 2023-02-07 21:45:19 +08:00
356d10eb6e Added the test_api_exists test to the CurrencyTestCase test case.
imacat pushed tag v0.2.0 to imacat/mia-accounting 2023-02-07 20:58:02 +08:00
imacat pushed to main at imacat/mia-accounting 2023-02-07 20:57:59 +08:00
8dc340dbf1 Advanced to version 0.2.0.
4b5b348270 Implemented the incremental search (search-as-you-type) in the base account selector of the account form.
Compare 2 commits »
imacat pushed to main at imacat/mia-accounting 2023-02-07 20:20:38 +08:00
c785409dc4 Implemented the incremental search (search-as-you-type) in the base account selector of the account form.
d9585f0e53 Fixed a translated message.
5737d6cef4 Fixed the error message in the Javascript validateAsyncCodeIsDuplicated function in currency-form.js.
1d61fa93d3 Prepend all the HTML ID and class names with "accounting-" to avoid name conflict.
Compare 4 commits »
imacat pushed to main at imacat/mia-accounting 2023-02-07 17:57:57 +08:00
128447b84e Prepend all the HTML ID and class names with "accounting-" to avoid name conflict.
b1c7bc61c4 Renamed the can_view_accounting and can_edit_accounting template functions to accounting_can_view and accounting_can_edit, respectively.
708a434b5d Renamed the append_next, inherit_next, and or_next template filters to accounting_append_next, accounting_inherit_next, and accounting_or_next, to avoid name conflict.
8e524674a3 Added the init_app function to the "accounting.utils.next_url" module to initialize the template filters, and apply it to the init_app function of the accounting application.
699db20308 Revised the init_app function of the "accounting.utils.permission" module to register the "can_view" and "can_edit" functions under the blueprint instead of the whole application.
Compare 9 commits »
imacat pushed to main at imacat/mia-accounting 2023-02-07 16:23:55 +08:00
85480804e7 Updated the translation.
imacat deleted tag v0.2.0 from imacat/mia-accounting 2023-02-07 16:15:45 +08:00
imacat pushed tag v0.2.0 to imacat/mia-accounting 2023-02-07 16:05:08 +08:00
imacat deleted tag v0.2.0 from imacat/mia-accounting 2023-02-07 16:04:25 +08:00
imacat pushed to main at imacat/mia-accounting 2023-02-07 16:03:22 +08:00
576b5207cc Advanced to version 0.2.0.
9e85c14431 Changed the can_edit permission to at least require the user to log in first.
Compare 2 commits »
imacat pushed tag v0.2.0 to imacat/mia-accounting 2023-02-07 16:02:32 +08:00
imacat pushed to main at imacat/mia-accounting 2023-02-07 16:02:29 +08:00
1d727637d7 Advanced to version 0.2.0.
5ab0725ee1 Changed the can_edit permission to require the user to log in first.
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.
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.
Compare 4 commits »
imacat pushed to main at imacat/mia-accounting 2023-02-07 14:17:11 +08:00
imacat deleted tag v0.1.2 from imacat/mia-accounting 2023-02-07 14:15:53 +08:00
imacat pushed to main at imacat/mia-accounting 2023-02-07 11:42:26 +08:00
da847b3ca8 Advanced to version 0.1.2.
59795635ee Updated the Sphinx documentation.
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.
Compare 3 commits »
imacat pushed tag v0.1.2 to imacat/mia-accounting 2023-02-07 11:42:26 +08:00
imacat pushed to main at imacat/mia-accounting 2023-02-07 11:33:00 +08:00
16e2a146db Fixed the documentation in the Account data model.
f7ce94902f Revised the AccountTestCase test case, added the test_add, test_basic_update, test_update_not_modified, test_created_updated_by, test_l10n, and test_delete test to replace the simple test_change_base test.
5cf3cb1e11 Added the "is_modified" pseudo property to the Account data model, and applied it to the update_account view, to count the localized titles for modification.
a78057a8c3 Renamed the variable in the test_created_updated_by test of the CurrencyTestCase test case.
0491614ae4 Added the PREFIX constant to simplify the CurrencyTestCase test case.
Compare 22 commits »
imacat pushed to main at imacat/mia-accounting 2023-02-06 09:50:36 +08:00
50f8f06687 Revised the translation.
cd5b1b97fd Added a different the page title of the search result in the base account list and account list, to be clear.
b7dd53d2f9 Added a complex query to the test_malformed test of the QueryKeywordParserTestCase test case.
b07b0e3be4 Added a complex query to the test_default test of the QueryKeywordParserTestCase test case.
e7fb2288ce Revised the parse_query_keywords utility to handle the case with an open double quotation mark without its corresponding close double quotation mark.
Compare 27 commits »
imacat pushed to main at imacat/mia-accounting 2023-02-04 09:51:27 +08:00
0d8cf85ec0 Removed an excess blank line in test_utils.py.
6e212f0e33 Revised the Pagination utility to handle the malformed and illegal page number and page size values.
2fbe137243 Added test_utils.py with the NextUriTestCase, QueryKeywordParserTestCase, and PaginationTestCase test cases for the independent utilities.
f4e2c21ece Added test_temp.py to .gitignore, for temporary tests that should not be committed.
fff07a2552 Removed node_models from .gitignore.
Compare 5 commits »