Commit Graph

  • 84bd01087c Fix Escape key navigation and dynamic parent targeting in stacked modals main imacat 2026-04-19 09:09:31 +08:00
  • c10bf81d24 Add ARIA live regions and alerts for dynamic content announcements imacat 2026-04-18 17:58:58 +08:00
  • acf2a0fa87 Add BaseCombobox base class with listbox/option ARIA pattern imacat 2026-04-17 08:43:41 +08:00
  • 090acbd66b Convert clickable divs to buttons or add role="button" for keyboard accessibility imacat 2026-04-16 07:59:57 +08:00
  • 220dbaa683 Convert navbar dropdown span to button for accessibility imacat 2026-04-15 22:37:49 +08:00
  • 800832d15e Add BaseTablist base class with keyboard navigation imacat 2026-04-18 02:18:45 +08:00
  • 454ff8bb5f Add ARIA tablist markup to description editor and period chooser imacat 2026-04-15 12:02:53 +08:00
  • 9b002cd9a9 Add ARIA table roles to report tables for screen reader accessibility imacat 2026-04-15 12:02:48 +08:00
  • c1d5b46145 Add ARIA markup to icons, icon-only buttons, and pagination dropdown imacat 2026-04-14 07:02:17 +08:00
  • 46c6767a90 Add missing semicolon in journal-entry-account-selector.js constructor imacat 2026-04-17 06:56:15 +08:00
  • 381298adb1 Mark internal classes as private in JavaScript modules imacat 2026-04-17 06:01:29 +08:00
  • bfa42000d8 Fix indentation in unapplied and unmatched account report templates imacat 2026-04-16 11:20:03 +08:00
  • 0d02f41417 Fix the typo in the variable name from conform to confirm in period-chooser.js imacat 2026-04-16 11:09:07 +08:00
  • a26f1942f8 Fix incorrect comment reference in balance-sheet.html template imacat 2026-04-16 11:08:05 +08:00
  • 0a7bcdd9ec Remove period-chooser script from unapplied and unmatched report templates imacat 2026-04-16 11:07:24 +08:00
  • b6ea944eb5 Fix the typo in the block name from as_trasfer to as_transfer in the journal entry detail templates imacat 2026-04-13 16:56:01 +08:00
  • be9f4f3d83 Fix the receipt and transfer journal entry details to show credit_total instead of debit_total for the credit section total imacat 2026-04-13 16:53:45 +08:00
  • dc42a05959 Migrate from Flask-SQLAlchemy to Flask-SQLAlchemy-Lite imacat 2026-04-06 10:09:36 +08:00
  • 9c6cc1f3eb Replace db.Model with DeclarativeBase from SQLAlchemy for Flask-SQLAlchemy-Lite migration imacat 2026-04-06 01:49:44 +08:00
  • e6d25882fc Replace Flask-SQLAlchemy helpers (db.relationship, db.ForeignKey, etc.) with plain SQLAlchemy equivalents imacat 2026-04-06 01:16:10 +08:00
  • 970c2e9946 Migrate from SQLAlchemy 1.x legacy Query API to 2.x style select/delete statements imacat 2026-04-06 01:06:01 +08:00
  • 356950e2c7 Replace typing.Type with built-in type[] for Python 3.12. imacat 2026-04-05 21:49:17 +08:00
  • cca3f89bf1 Replace absolute imports with relative imports imacat 2026-04-05 21:20:37 +08:00
  • 674b0de3b2 Fix various type hints imacat 2026-04-05 08:27:40 +08:00
  • 29dfc6c5a4 Fix pycodestyle styling issues imacat 2026-04-05 07:05:20 +08:00
  • aa3bc1ed69 Add Claude Code and Codex files to .gitignore imacat 2026-04-04 23:40:55 +08:00
  • 1289d7cba6 Fix type hints in the console command test case. imacat 2026-01-11 11:58:27 +08:00
  • d62e295dc6 Add init options to skip data initialization and remove manual cleanup in test cases. imacat 2026-01-11 11:51:49 +08:00
  • 693c5890ca Add db.engine.dispose() in test tearDown to fix ResourceWarning from Python 3.13. imacat 2026-01-11 10:54:13 +08:00
  • 3adcaa61d3 Fix httpx dependency version in pyproject.toml. imacat 2026-01-08 21:52:11 +08:00
  • aea9dcae79 Advanced to version 1.6.1. v1.6.1 imacat 2024-12-03 07:13:01 +08:00
  • 40278eaf06 Fix test cases for compatibility with httpx 0.28.0. imacat 2024-12-02 08:09:17 +08:00
  • e00c14f277 Fixed the SQLite database URL for the in-memory database. imacat 2024-07-10 05:49:29 +08:00
  • f20c462685 Advanced to version 1.6.0. v1.6.0 imacat 2024-06-04 08:26:29 +08:00
  • 80ae4bd91c Revised the calculation of "today" to use the client's timezone instead of the server's timezone. imacat 2024-06-04 08:23:15 +08:00
  • 6ee3ee76ea Updated optional dependencies in pyproject.toml. imacat 2024-06-02 09:41:02 +08:00
  • 2bfcc8b889 Updated the dependencies in pyproject.toml. imacat 2024-06-02 09:08:49 +08:00
  • 99564c02d0 Updated the Bootstrap, FontAwesome, and Tempus-Dominus versions in the test site. imacat 2024-03-31 11:08:01 +08:00
  • 25d9904180 Applied the new type parameter syntax to the generic classes for Python 3.12. imacat 2024-03-03 07:39:37 +08:00
  • 1cf83adf87 Applied the "type" statement to type aliases for Python 3.12. imacat 2024-03-03 07:39:20 +08:00
  • 8e3d1f11b5 Updated Python version to 3.12. imacat 2024-03-03 07:38:59 +08:00
  • 0ab14aa34d Updated the copyright year in README.rst. imacat 2024-03-03 07:38:32 +08:00
  • e0ed81ad1f Advanced to version 1.5.11. v1.5.11 imacat 2023-12-16 21:52:15 +08:00
  • ece7481e9e Refined to enable the selection of the 3351-001 Accumulated Profit or Loss account. imacat 2023-12-16 21:51:14 +08:00
  • 50d4526e0b Advanced to version 1.5.10. v1.5.10 imacat 2023-11-28 08:27:31 +08:00
  • 3f0a0b4227 Fixed the form validator to enable the selection of Accumulated Profit or Loss accounts other than 3351-001. imacat 2023-11-28 08:26:37 +08:00
  • dcc9626b23 Fixed the release date of version 1.5.9 in the change log. imacat 2023-11-28 08:17:25 +08:00
  • 79eb077129 Advanced to version 1.5.9. v1.5.9 imacat 2023-11-28 08:07:20 +08:00
  • d5719ad223 Refined to enable the selection of Accumulated Profit or Loss accounts other than 3351-001, facilitating the consolidation of existing balances. imacat 2023-11-28 08:03:04 +08:00
  • 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 +05:30
  • 937908717b Advanced to version 1.5.8. v1.5.8 imacat 2023-10-24 04:54:38 +05:30
  • 0104fa4c21 Fixed an icon in the detail of the cash receipt journal entry. imacat 2023-10-24 04:43:11 +05:30
  • 14365ca255 Advanced to version 1.5.7. v1.5.7 imacat 2023-07-29 13:02:40 +08:00
  • cd86651606 Added the "accounting-titleize" console command to capitalize the existing account titles that were already initialized. imacat 2023-07-29 12:55:27 +08:00
  • 9147744ff7 Renamed the test_init test to test_init_db in the ConsoleCommandTestCase test case. imacat 2023-07-29 12:34:12 +08:00
  • 1a212a5330 Updated the documentation of the test_init test of the ConsoleCommandTestCase test case. imacat 2023-07-29 11:59:23 +08:00
  • 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. imacat 2023-07-29 11:57:44 +08:00
  • 545f49043b Updated the Sphinx documentation. imacat 2023-07-29 10:01:28 +08:00
  • cac0d66ca1 Updated the translation. imacat 2023-07-29 08:56:54 +08:00
  • 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. imacat 2023-07-26 20:49:06 +08:00
  • 9ae8c1bce9 Updated the translation. imacat 2023-06-10 10:43:35 +08:00
  • 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. imacat 2023-06-10 10:41:39 +08:00
  • 40a8080751 Removed unused imports from the test site. imacat 2023-06-10 10:33:57 +08:00
  • 736a4086ee Removed an unused import from testlib_journal_entry.py. imacat 2023-06-10 10:33:09 +08:00
  • 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. imacat 2023-06-10 10:32:33 +08:00
  • 0ae00bce79 Changed the properties of the test cases from public to private. imacat 2023-06-10 10:23:33 +08:00
  • 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. imacat 2023-06-10 09:35:51 +08:00
  • 501c4b1d22 Added missing documentation to the global variables, class properties, and object properties. imacat 2023-06-09 07:28:47 +08:00
  • 64b9c8c11f Removed an excess property declaration in the populate_obj method of the JournalEntryForm form. imacat 2023-06-09 05:45:50 +08:00
  • 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. imacat 2023-06-08 09:27:39 +08:00
  • 30fd9c2164 Fixed the documentation of the "is_default" property of the Period utility. imacat 2023-06-05 22:43:35 +08:00
  • 7cb01b4cee Revised the documentation of the columns of the data models. imacat 2023-06-05 16:54:38 +08:00
  • 9a4e04c41f Renamed the HTML ID "collapsible-navbar" to "accounting-collapsible-navbar" in the test site. imacat 2023-06-03 11:12:28 +08:00
  • a9c4fa9de0 Advanced to version 1.5.6. v1.5.6 imacat 2023-05-23 09:07:42 +08:00
  • 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. imacat 2023-05-23 09:05:30 +08:00
  • 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. imacat 2023-05-23 09:00:51 +08:00
  • 352867797d Advanced to version 1.5.5. v1.5.5 imacat 2023-05-23 08:44:08 +08:00
  • 09a344d749 Removed excess spaces from the test_change_date test of the JournalEntryReorderTestCase test case. imacat 2023-05-23 08:40:23 +08:00
  • 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. imacat 2023-05-23 08:24:12 +08:00
  • 822c8fc49b Renamed the "__get_next_uri" function to "__get_next" in the "accounting.utils.next_uri" module. imacat 2023-05-23 07:10:30 +08:00
  • 3b8a2e3bb1 Replaced the "accounting-dummy-form" name with the dummy CSRF token to work with OWASP ZAP CSRF token scans. imacat 2023-05-22 18:32:24 +08:00
  • 9e4927ee0b Replaced the get_errors_view with the get_messages_view in the create_test_app function in testlib.py. imacat 2023-05-22 00:03:13 +08:00
  • 3b030c577c Added the integrity value of the CDN stylesheet links in the base template of the test site. imacat 2023-05-19 18:08:33 +08:00
  • 60b33f2a3b Revised the link to the stylesheet of tempus dominus in the base template of the test site. imacat 2023-05-19 18:05:43 +08:00
  • 08fdf59844 Revised the indent of the flashed success messages in the base template of the test site. imacat 2023-05-19 18:04:08 +08:00
  • 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. imacat 2023-05-18 23:30:36 +08:00
  • abe90d3483 Advanced to version 1.5.4. v1.5.4 imacat 2023-05-18 00:06:16 +08:00
  • 65e7dcdf6d Replaced the "/next" next URI with the NEXT_URI constant in the test_reorder test of the JournalEntryReorderTestCase test case. imacat 2023-05-18 00:06:05 +08:00
  • 74e414badf Removed unnecessary f-strings from the test_reorder test of the JournalEntryReorderTestCase test case. imacat 2023-05-17 23:54:52 +08:00
  • 69175979ff Added the form name to the dummy forms so that they can be excluded by OWASP ZAP scanner for Anti-CSRF tokens. imacat 2023-05-17 22:56:47 +08:00
  • 2f69e0f215 Added the form name to the search forms so that they can be excluded by OWASP ZAP scanner for Anti-CSRF tokens. imacat 2023-05-17 21:43:21 +08:00
  • 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. imacat 2023-05-17 19:57:06 +08:00
  • a691cfd2da Applied the or_next utility to the set local route of the test site. imacat 2023-05-17 19:54:13 +08:00
  • 482a0faa23 Added safeguard to the next URI utilities from invalid or insecure next URI. imacat 2023-05-17 16:12:30 +08:00
  • 0ecf7b6617 Revised the documentation of the "accounting.utils.cast" module. imacat 2023-05-17 15:33:42 +08:00
  • 4408bbfc82 Updated the JavaScript library versions, and added decimal.js-light to the documentation. imacat 2023-05-06 23:59:06 +08:00
  • 433110f486 Revised the way to query accounts with Flask-SQLAlchemy style queries in the accounts method of the CurrentAccount data model. imacat 2023-05-04 09:35:14 +08:00
  • 0b1dd4f4fc Advanced to version 1.5.3. v1.5.3 imacat 2023-04-30 15:07:46 +08:00
  • 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. imacat 2023-04-30 14:46:13 +08:00
  • 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. imacat 2023-04-30 14:23:42 +08:00