Commit Graph

  • f20c462685 Advanced to version 1.6.0. main v1.6.0 依瑪貓 2024-06-04 08:26:29 +0800
  • 80ae4bd91c Revised the calculation of "today" to use the client's timezone instead of the server's timezone. 依瑪貓 2024-06-04 08:23:15 +0800
  • 6ee3ee76ea Updated optional dependencies in pyproject.toml. 依瑪貓 2024-06-02 09:41:02 +0800
  • 2bfcc8b889 Updated the dependencies in pyproject.toml. 依瑪貓 2024-06-02 09:08:49 +0800
  • 99564c02d0 Updated the Bootstrap, FontAwesome, and Tempus-Dominus versions in the test site. 依瑪貓 2024-03-31 11:08:01 +0800
  • 25d9904180 Applied the new type parameter syntax to the generic classes for Python 3.12. 依瑪貓 2024-03-03 07:39:37 +0800
  • 1cf83adf87 Applied the "type" statement to type aliases for Python 3.12. 依瑪貓 2024-03-03 07:39:20 +0800
  • 8e3d1f11b5 Updated Python version to 3.12. 依瑪貓 2024-03-03 07:38:59 +0800
  • 0ab14aa34d Updated the copyright year in README.rst. 依瑪貓 2024-03-03 07:38:32 +0800
  • e0ed81ad1f Advanced to version 1.5.11. v1.5.11 依瑪貓 2023-12-16 21:52:15 +0800
  • ece7481e9e Refined to enable the selection of the 3351-001 Accumulated Profit or Loss account. 依瑪貓 2023-12-16 21:51:14 +0800
  • 50d4526e0b Advanced to version 1.5.10. v1.5.10 依瑪貓 2023-11-28 08:27:31 +0800
  • 3f0a0b4227 Fixed the form validator to enable the selection of Accumulated Profit or Loss accounts other than 3351-001. 依瑪貓 2023-11-28 08:26:37 +0800
  • dcc9626b23 Fixed the release date of version 1.5.9 in the change log. 依瑪貓 2023-11-28 08:17:25 +0800
  • 79eb077129 Advanced to version 1.5.9. v1.5.9 依瑪貓 2023-11-28 08:07:20 +0800
  • d5719ad223 Refined to enable the selection of Accumulated Profit or Loss accounts other than 3351-001, facilitating the consolidation of existing balances. 依瑪貓 2023-11-28 08:03:04 +0800
  • eb3fa8f414 Added docs/requirements.txt and the "sphinx_rtd_theme" theme to the readthedocs configuration, as Read the Docs does not install sphinx_rtd_theme by default after August 7, 2023. imacat 2023-10-24 05:11:39 +0530
  • 937908717b Advanced to version 1.5.8. v1.5.8 imacat 2023-10-24 04:54:38 +0530
  • 0104fa4c21 Fixed an icon in the detail of the cash receipt journal entry. imacat 2023-10-24 04:43:11 +0530
  • 14365ca255 Advanced to version 1.5.7. v1.5.7 依瑪貓 2023-07-29 13:02:40 +0800
  • cd86651606 Added the "accounting-titleize" console command to capitalize the existing account titles that were already initialized. 依瑪貓 2023-07-29 12:55:27 +0800
  • 9147744ff7 Renamed the test_init test to test_init_db in the ConsoleCommandTestCase test case. 依瑪貓 2023-07-29 12:34:12 +0800
  • 1a212a5330 Updated the documentation of the test_init test of the ConsoleCommandTestCase test case. 依瑪貓 2023-07-29 11:59:23 +0800
  • 0614457b7b Moved dropping tables from the setUp method to the test_init test in the ConsoleCommandTestCase test case. The other tests may not need to drop the tables first. 依瑪貓 2023-07-29 11:57:44 +0800
  • 545f49043b Updated the Sphinx documentation. 依瑪貓 2023-07-29 10:01:28 +0800
  • cac0d66ca1 Updated the translation. 依瑪貓 2023-07-29 08:56:54 +0800
  • 5ffd37c859 Revised to capitalize the account titles when initializing the base accounts instead of when displaying the account titles, so that the titles of the user-added accounts are not capitalized incorrectly. 依瑪貓 2023-07-26 20:49:06 +0800
  • 9ae8c1bce9 Updated the translation. 依瑪貓 2023-06-10 10:43:35 +0800
  • ec0ff3e2e6 Updated the log in message at the home page, and removed the next URI from the log in link. The next URI is not clear text but encrypted now. There is no need to attach the next URI, as it defaults redirects to the accounting application without the next URI. 依瑪貓 2023-06-10 10:41:39 +0800
  • 40a8080751 Removed unused imports from the test site. 依瑪貓 2023-06-10 10:33:57 +0800
  • 736a4086ee Removed an unused import from testlib_journal_entry.py. 依瑪貓 2023-06-10 10:33:09 +0800
  • 6723077b72 Revised the code to read from the CSV data files in the __test_base_account_data method of the ConsoleCommandTestCase test case, to prevent PyCharm from complaining. 依瑪貓 2023-06-10 10:32:33 +0800
  • 0ae00bce79 Changed the properties of the test cases from public to private. 依瑪貓 2023-06-10 10:23:33 +0800
  • 356d2010cc Removed the CSRF token from the get_client function in testlib.py, so that type hints and documentation can be added to the client and the CSRF token properties separately. 依瑪貓 2023-06-10 09:35:51 +0800
  • 501c4b1d22 Added missing documentation to the global variables, class properties, and object properties. 依瑪貓 2023-06-09 07:28:47 +0800
  • 64b9c8c11f Removed an excess property declaration in the populate_obj method of the JournalEntryForm form. 依瑪貓 2023-06-09 05:45:50 +0800
  • 9072de82d4 Added the "decode_next" utility in the "accounting.utils.next_uri" module, and applied the "encode_next" and "decode_next" utilities to the NextUriTestCase test case, so that the test case do not need to get involved into the detail of the next URI encryption. 依瑪貓 2023-06-08 09:27:39 +0800
  • 30fd9c2164 Fixed the documentation of the "is_default" property of the Period utility. 依瑪貓 2023-06-05 22:43:35 +0800
  • 7cb01b4cee Revised the documentation of the columns of the data models. 依瑪貓 2023-06-05 16:54:38 +0800
  • 9a4e04c41f Renamed the HTML ID "collapsible-navbar" to "accounting-collapsible-navbar" in the test site. 依瑪貓 2023-06-03 11:12:28 +0800
  • a9c4fa9de0 Advanced to version 1.5.6. v1.5.6 依瑪貓 2023-05-23 09:07:42 +0800
  • 3a676e0b5a Fixed the back URL of the creation forms, applying the accounting_or_next filter for the decoded next URI instead of getting the next URI directly. 依瑪貓 2023-05-23 09:05:30 +0800
  • 9cc7b64bb3 Moved the "__as_next" utility from the test site to the "accounting.utils.next_uri" module, and applied it to the template of the unmatched offset list. 依瑪貓 2023-05-23 09:00:51 +0800
  • 352867797d Advanced to version 1.5.5. v1.5.5 依瑪貓 2023-05-23 08:44:08 +0800
  • 09a344d749 Removed excess spaces from the test_change_date test of the JournalEntryReorderTestCase test case. 依瑪貓 2023-05-23 08:40:23 +0800
  • 818c357613 Revised the next URI utilities to apply URLSafeSerializer for encoding and decoding the next URI, in order to prevent tampering with the next URI. 依瑪貓 2023-05-23 08:24:12 +0800
  • 822c8fc49b Renamed the "__get_next_uri" function to "__get_next" in the "accounting.utils.next_uri" module. 依瑪貓 2023-05-23 07:10:30 +0800
  • 3b8a2e3bb1 Replaced the "accounting-dummy-form" name with the dummy CSRF token to work with OWASP ZAP CSRF token scans. 依瑪貓 2023-05-22 18:32:24 +0800
  • 9e4927ee0b Replaced the get_errors_view with the get_messages_view in the create_test_app function in testlib.py. 依瑪貓 2023-05-22 00:03:13 +0800
  • 3b030c577c Added the integrity value of the CDN stylesheet links in the base template of the test site. 依瑪貓 2023-05-19 18:08:33 +0800
  • 60b33f2a3b Revised the link to the stylesheet of tempus dominus in the base template of the test site. 依瑪貓 2023-05-19 18:05:43 +0800
  • 08fdf59844 Revised the indent of the flashed success messages in the base template of the test site. 依瑪貓 2023-05-19 18:04:08 +0800
  • b397515457 Removed the size restriction in the next URI utilities. Buffer overflow may happen with any parameter, not only the "next" parameter. It should be solved in uWSGI, but not the application. 依瑪貓 2023-05-18 23:30:36 +0800
  • abe90d3483 Advanced to version 1.5.4. v1.5.4 依瑪貓 2023-05-18 00:06:16 +0800
  • 65e7dcdf6d Replaced the "/next" next URI with the NEXT_URI constant in the test_reorder test of the JournalEntryReorderTestCase test case. 依瑪貓 2023-05-18 00:06:05 +0800
  • 74e414badf Removed unnecessary f-strings from the test_reorder test of the JournalEntryReorderTestCase test case. 依瑪貓 2023-05-17 23:54:52 +0800
  • 69175979ff Added the form name to the dummy forms so that they can be excluded by OWASP ZAP scanner for Anti-CSRF tokens. 依瑪貓 2023-05-17 22:56:47 +0800
  • 2f69e0f215 Added the form name to the search forms so that they can be excluded by OWASP ZAP scanner for Anti-CSRF tokens. 依瑪貓 2023-05-17 21:43:21 +0800
  • 961385c389 Added SESSION_COOKIE_SAMESITE and SESSION_COOKIE_SECURE to create_app of the test site, to set the SameSite and Secure flags for the session cookie. 依瑪貓 2023-05-17 19:57:06 +0800
  • a691cfd2da Applied the or_next utility to the set local route of the test site. 依瑪貓 2023-05-17 19:54:13 +0800
  • 482a0faa23 Added safeguard to the next URI utilities from invalid or insecure next URI. 依瑪貓 2023-05-17 16:12:30 +0800
  • 0ecf7b6617 Revised the documentation of the "accounting.utils.cast" module. 依瑪貓 2023-05-17 15:33:42 +0800
  • 4408bbfc82 Updated the JavaScript library versions, and added decimal.js-light to the documentation. imacat 2023-05-06 23:59:06 +0800
  • 433110f486 Revised the way to query accounts with Flask-SQLAlchemy style queries in the accounts method of the CurrentAccount data model. 依瑪貓 2023-05-04 09:35:14 +0800
  • 0b1dd4f4fc Advanced to version 1.5.3. v1.5.3 依瑪貓 2023-04-30 15:07:46 +0800
  • 46bd27e126 Revised the saveOriginalLineItem method of the JavaScript JournalEntryLineItemEditor class not to override the existing amount when the existing amount is less than the net balance. This make it easier when updating the existing journal entries. 依瑪貓 2023-04-30 14:46:13 +0800
  • b718d19450 Resolved an issue where, in cases where there was no existing localized title and the default title was submitted, the submitted account title or currency name would be erroneously saved as the localized title. 依瑪貓 2023-04-30 14:23:42 +0800
  • 2969e83afe Advanced to version 1.5.2. v1.5.2 依瑪貓 2023-04-30 06:39:53 +0800
  • a732656746 Revised the coding style in the "__get_line_items" method of the OffsetMatcher class. 依瑪貓 2023-04-30 06:38:43 +0800
  • 1daed940b6 Corrected the definition of the "is_offset" property in the "__get_line_items" method of the OffsetMatcher class. 依瑪貓 2023-04-30 06:38:01 +0800
  • f29cb00aec Advanced to version 1.5.1. v1.5.1 依瑪貓 2023-04-30 05:53:37 +0800
  • 693f07a49c Removed the "timestamp" and "user_pk" type aliases for the columns in the data models. They do not work with the current version of Flask-SQLAlchemy when creating Sphinx documentation. 依瑪貓 2023-04-30 05:51:31 +0800
  • 8c899776f2 Corrected the filename in the csv method of the AccountsWithUnmatchedOffsets report class. 依瑪貓 2023-04-30 05:35:13 +0800
  • f9aa226bf9 Removed an unnecessary f-string from the csv method of the AccountsWithUnappliedOriginalLineItems report class. 依瑪貓 2023-04-30 05:34:34 +0800
  • c9bb4197be Fixed the error calling the old "setEnableDescriptionAccount" method in the saveOriginalLineItem method of the JavaScript JournalEntryLineItemEditor class. 依瑪貓 2023-04-30 05:25:28 +0800
  • 9ae8d587d8 Removed the unused "random_pk" annotated type alias. 依瑪貓 2023-04-29 04:16:11 +0800
  • 158058dcfb Updated the documentation of the created_at, created_by, updated_at, updated_by, and visited_at columns of the data models, for consistency. 依瑪貓 2023-04-28 21:53:11 +0800
  • 0bc9947234 Revised the documentation of the new_id function. 依瑪貓 2023-04-26 20:35:23 +0800
  • 8c58a9083a Added type hint subscription for the cls parameter of the new_id function. 依瑪貓 2023-04-26 18:31:13 +0800
  • f45663754c Fixed the documentation of the "accounting.utils.random_id" module. 依瑪貓 2023-04-26 18:27:56 +0800
  • 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 +0800
  • ee5b447c23 Renamed the "journal_entry_date" variable to "date" in the "__form" method of the JournalEntryData class in the lib module of the test site. 依瑪貓 2023-04-26 13:42:47 +0800
  • 25bfcf4aa4 Fixed the documentation of the balance pseudo property of the JournalEntryLineItem data model. 依瑪貓 2023-04-26 13:39:40 +0800
  • 5956d2cd4c Renamed the "match" parameter to "value" in the setter of the "match" pseudo property of the JournalEntryLineItem data model, for consistency. 依瑪貓 2023-04-26 13:39:01 +0800
  • 833285d924 Renamed the "is_offset" parameter to "value" in the setter of the "is_offset" pseudo property of the JournalEntryLineItem data model, for consistency. 依瑪貓 2023-04-26 13:38:25 +0800
  • dee4f5e83f Renamed the "balance" parameter to "value" in the setter of the "balance" pseudo property of the JournalEntryLineItem data model, for consistency. 依瑪貓 2023-04-26 13:38:02 +0800
  • f0d1cae32d Renamed the "net_balance" parameter to "value" in the setter of the "net_balance" pseudo property of the JournalEntryLineItem data model, for consistency. 依瑪貓 2023-04-26 13:37:47 +0800
  • 5dc71697b3 Renamed the "credit" parameter to "value" in the setter of the "credit" pseudo property of the JournalEntryLineItem data model, for consistency. 依瑪貓 2023-04-26 13:37:33 +0800
  • 1bb1e03c08 Renamed the "debit" parameter to "value" in the setter of the "debit" pseudo property of the JournalEntryLineItem data model, for consistency. 依瑪貓 2023-04-26 13:37:09 +0800
  • 914ff92e0f Renamed the "count" parameter to "value" in the setter of the "count" pseudo property of the Account data model, for consistency. 依瑪貓 2023-04-26 13:35:51 +0800
  • 8a1cf463b1 Renamed the "journal_entry_date" parameter to "date" in the constructor of the CSVRow class in the "accounting.report.reports.ledger" module. 依瑪貓 2023-04-26 13:34:14 +0800
  • d4cf224d6b Renamed the "journal_entry_date" parameter to "date" in the constructor of the CSVRow class in the "accounting.report.reports.income_expenses" module. 依瑪貓 2023-04-26 13:33:50 +0800
  • 8d412ec00a Renamed the "journal_entry_date" parameter to "date" in the show_journal_entry_order route. 依瑪貓 2023-04-26 13:32:42 +0800
  • 2986c518ce Renamed the "journal_entry_date" parameter to "date" in the sort_journal_entries route. 依瑪貓 2023-04-26 13:32:30 +0800
  • f1351243a6 Renamed the "journal_entry_date" parameter to "date" in the constructor of the JournalEntryReorderForm form. 依瑪貓 2023-04-26 13:29:55 +0800
  • 969e8c76a6 Renamed the "journal_entry_date" parameter to "date" in the "sort_journal_entries_in" function in the "accounting.journal_entry.forms.reorder" module. 依瑪貓 2023-04-26 13:29:14 +0800
  • 10f5e75752 Renamed the "journal_entry_date" variable to "date" in the "test_reorder" test of the JournalEntryReorderTestCase test case. 依瑪貓 2023-04-26 13:28:07 +0800
  • 169b3c292a Renamed the "journal_entry_date" variable to "date" in the "__get_journal_entry_condition" method of the LineItemCollector class in the "accounting.report.reports.search" module. 依瑪貓 2023-04-26 13:26:38 +0800
  • 3eb3aef2f2 Renamed the "j_date" parameter to "date" in the "__next_j_no" method of the BaseTestData class in the lib module of the test site. 依瑪貓 2023-04-26 13:24:19 +0800
  • 6c455a615c Renamed the "j_date" variable to "date" in the "_add_journal_entry" method of the BaseTestData class in the lib module of the test site. 依瑪貓 2023-04-26 13:23:53 +0800