Commit Graph

586 Commits

Author SHA1 Message Date
imacat f32d268494 Revised the order and sorting routes from "/base/" to "/bases/". 2023-02-03 12:57:53 +08:00
imacat 1c1be87f3e Revised the accounting reordering to handle the cases with only one account or no account. 2023-02-03 12:57:53 +08:00
imacat 589da0c1c6 Renamed "sorting" to "reorder", and the "sort-form" route to "order". 2023-02-03 12:57:53 +08:00
imacat 8363ce6602 Fixed the endpoint name in the account detail template. 2023-02-03 12:57:53 +08:00
imacat 6a83f95c9f Added the test_change_base test to the AccountTestCase test case. 2023-02-03 12:57:53 +08:00
imacat 7dc754174c Revised the documentation of the views. 2023-02-03 12:57:53 +08:00
imacat 5238168b2d Added support to sort the accounts under the same base account. 2023-02-03 12:57:53 +08:00
imacat eeb05b8616 Removed the unique constraint in the Account data model. 2023-02-03 12:57:53 +08:00
imacat 9920377266 Added a missing semicolon in account-form.js. 2023-02-03 12:57:53 +08:00
imacat 9f9c40c30e Revised the code to find the next number in the populate_obj method of the AccountForm form. 2023-02-03 12:57:53 +08:00
imacat d368c5e062 Renamed the variable in the new_id function from "new" to "obj_id", to be clear. 2023-02-03 12:57:53 +08:00
imacat 4aed2f6ba7 Renamed the "testsite" application to "test_site". 2023-02-03 12:57:53 +08:00
imacat 6876fdf75e Added the test_editor test to the AccountTestCase test case. 2023-02-03 12:57:53 +08:00
imacat d9624c7be6 Revised the AccountTestCase test case for simplicity. 2023-02-03 12:57:53 +08:00
imacat 8364025668 Split the BaseAccountTestCase into BaseAccountCommandTestCase and BaseAccountTestCase, and rewrote the BaseAccountTestCase for simplicity. 2023-02-03 12:57:53 +08:00
imacat dd3690dd6a Added the AccountTestCase test case with the test_nobody and test_viewer tests. 2023-02-03 12:57:53 +08:00
imacat 3312c835fd Added the AccountCommandTestCase test case. 2023-02-03 12:57:53 +08:00
imacat fce9d04896 Removed SQLALCHEMY_ECHO from the test site. 2023-02-03 12:57:53 +08:00
imacat c68786f78a Revised the import in the test_init test of the BaseAccountTestCase test case. 2023-02-03 12:57:53 +08:00
imacat 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
imacat 15007ada4f Advanced to version 0.1.0. v0.1.0 2023-02-03 12:57:53 +08:00
imacat e50d6267d5 Revised the options.package_data section in setup.cfg to include the static CSS and JavaScript files. 2023-02-03 12:55:59 +08:00
imacat 2359842e80 Added to query the "offset needed" in the get_account_query function. 2023-02-03 12:55:58 +08:00
imacat 9497fa371e Updated the translation. 2023-02-03 12:55:58 +08:00
imacat b0ef4fb059 Added the "offset needed" option and badge in the account list, account detail and account form. 2023-02-03 12:55:57 +08:00
imacat 9f63db174c Merged the search box to the action button group in the base account list and account list. 2023-02-03 12:55:56 +08:00
imacat 9b22331a5a Added the base account detail page that shows its descendant accounts. 2023-02-03 12:55:56 +08:00
imacat cb0dea58f1 Fixed the documentation of the AccountConverter converter. 2023-02-03 12:55:55 +08:00
imacat 241ad337c8 Added the "accounting.utils.next_uri" utilities to fixed how the next URI works. 2023-02-03 12:55:55 +08:00
imacat 2964f206a6 Revised the test site to use the secret key specified in the environment variables when possible, so that the secret key and session keeps in the development environment. 2023-02-03 12:55:55 +08:00
imacat 9118b631e4 Updated the translation. 2023-02-03 12:55:55 +08:00
imacat ce6c8508df Revised the titles of the base account list and the account list, to be clear. 2023-02-03 12:55:54 +08:00
imacat e29b99b0a7 Merged the "accounting.base_account.models" and "accounting.account.models" modules into the new "accounting.modules" module, so that the data models can reference one another. 2023-02-03 12:55:54 +08:00
imacat e9f6b769f4 Added the account management. 2023-02-03 12:55:54 +08:00
imacat 14638f574e Added the initial application with the main account list, the pagination, the query, the permission, the localization, the documentation, the test case, and a test demonstration site. v0.0.0 2023-02-03 12:55:33 +08:00
imacat 9c83ad97c1 Added .gitignore. 2023-01-27 01:29:35 +08:00