169b3c292aRenamed 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
3eb3aef2f2Renamed 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
6c455a615cRenamed 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
4f3339bf68Renamed the "j_date" variable to "date" in the "__add_usd_recurring" method of the SampleData class in the reset module of the test site.依瑪貓2023-04-26 13:23:23 +0800
b5aa7e923fRenamed the "j_date" variable to "date" in the "_init_data" method of the ReportTestData class in test_report.py.依瑪貓2023-04-26 13:22:46 +0800
359c335662Revised the way to import from the datetime package, to avoid name conflict with the common "date" and "time" names.依瑪貓2023-04-26 13:17:31 +0800
c11ae23885Removed an unused import from the "accounting.utils.cast" module.依瑪貓2023-04-26 13:15:18 +0800
e083b11394Removed the random_pk type alias, because autoincrement=False does not seem to work with it.依瑪貓2023-04-24 23:29:58 +0800
167990fc4cRenamed the random_id type alias to random_pk.依瑪貓2023-04-24 20:22:33 +0800
d5c1be3d80Rewrote the data model declaration of the test site with the mapped type hint and the mapped columns in SQLAlchemy 2.0.依瑪貓2023-04-24 14:02:56 +0800
f6567794e0Added the documentation to the authentication blueprint of the test site.依瑪貓2023-04-24 14:00:32 +0800
ded85d88f7Added the timestamp, user_pk, and random_id type aliases to simplify the column definition of the data models.依瑪貓2023-04-24 03:37:33 +0800
6d780e9296Revised the title of the change log.依瑪貓2023-04-23 22:19:01 +0800
71e97721aaRemoved the documentation link from the documentation in intro.rst. It does not make sense for a circular link to itself.依瑪貓2023-04-23 18:41:51 +0800
5815608288Added the VERSION constant to the accounting module for the package version, and revised pyproject.toml and conf.py to read the version from it.依瑪貓2023-04-23 18:35:03 +0800
118c4b458eAdded the change log.依瑪貓2023-04-23 13:46:34 +0800
3f7e4c0ddaRewrote the data model declaration with the mapped type hint and the mapped columns in SQLAlchemy 2.0. Added "SQLAlchemy >= 2" to the dependencies.依瑪貓2023-04-23 11:54:37 +0800
eed4c923f6Removed the "be" cast function to cast data type for the binary expressions. It is to be replaced by the mapped type hints.依瑪貓2023-04-23 10:35:50 +0800
09dd5ae541Revised the long line in the JournalEntryConverter converter.依瑪貓2023-04-23 09:52:21 +0800
172a12b134Fixed the type hint of the "currency_options" function.依瑪貓2023-04-23 09:44:25 +0800
988757d30eRevised the JavaScript journal entry line item editor to only override the description with the description of the original line item when there is no existing description.依瑪貓2023-04-20 00:28:28 +0800
50cea90d1bRevised the JavaScript journal entry line item editor to allow editing the description for offsets and partially-offset original items.依瑪貓2023-04-20 00:26:58 +0800
be628b4aa1Updated the Sphinx documentation.依瑪貓2023-04-18 09:33:00 +0800
5d444adec4Updated the translation.依瑪貓2023-04-18 09:32:38 +0800
014d67f7b8Removed the period filter from the unapplied original line items and unmatched offsets. It does not make sense for these two reports.依瑪貓2023-04-18 09:21:42 +0800
26b4d4388fRevised the imports in the "accounting.report.reports.unmatched" module.依瑪貓2023-04-18 09:10:25 +0800
6e2e92d0fbRemoved the redundant currency from the title of the reports when the currency is the default currency.依瑪貓2023-04-18 08:46:23 +0800
b1f87cb707Updated the icon of the unmatched offsets.依瑪貓2023-04-18 08:20:51 +0800
928dea8312Added the account information to the original line item selector of the journal entry form.依瑪貓2023-04-18 08:15:33 +0800
b8cec8a2afRevised the account options in the report toolbar to be scrollable.依瑪貓2023-04-18 08:03:06 +0800
b6ae946f32Removed the account code from the journal entry form for mobile screens.依瑪貓2023-04-18 07:55:00 +0800
a9acc18a6fRemoved the account code from the journal entry detail for mobile screens.依瑪貓2023-04-18 07:13:10 +0800
5468010c87Removed the account code from the account list with unmatched offsets for mobile screens.依瑪貓2023-04-18 07:10:26 +0800
b505e380dfRemoved the account code from the account list with unapplied original line items for mobile screens.依瑪貓2023-04-18 07:10:15 +0800
412da170e1Added the get_net_balances function to the "accounting.report.utils.unapplied" module to replace the __get_net_balances methods of the OffsetMatcher and UnappliedOriginalLineItems classes.依瑪貓2023-04-18 07:04:00 +0800
fa237795cfSimplified the query for the unapplied original line items, replacing the offset matcher with its own query.依瑪貓2023-04-18 01:26:02 +0800
e2f854b5ccChanged the unmatched offsets from a module to a report, and to show both the unapplied original line items and the unmatched offsets instead of only the unmatched offsets, and added the accumulated balance, in order for ease of use. Removed the match information from the unapplied original line item report. Added the currency and period filters to both the unapplied original line item report and unmatched offset reports.依瑪貓2023-04-18 01:12:04 +0800
f8895e3bffRevised the documentation of the "__get_unmatched_offsets" method of the OffsetMatcher class.依瑪貓2023-04-16 22:52:14 +0800
84ad065782Merged the "accounting.utils.unapplied" module into the "accounting.utils.offset_matcher" module as the "__get_unapplied" method of the OffsetMatcher class. It is only used in the offset matcher.依瑪貓2023-04-16 22:46:05 +0800
cd039520b6Added permission checks to the reset routes in the test site.依瑪貓2023-04-13 09:39:52 +0800
05e652aa62Changed the "_journal_entries" and "_line_items" properties in the BaseTestData class from protected to private, renaming them to "__journal_entries" and "__line_items", respectively. There is no need to access it from the child classes anymore.依瑪貓2023-04-13 09:28:53 +0800
5c9bf0638cRemoved the "csv_data" pseudo property from BaseTestData.依瑪貓2023-04-13 09:25:50 +0800
bbc78433fdMoved the sample data generation from the make-sample.py script to the test site. The sample data is generated at real time. This avoids the problem with pre-recorded sample data that the beginning of the months and weeks changes with the day resetting the sample data.依瑪貓2023-04-13 09:23:04 +0800
7bcc2b28b2Moved the JournalEntryLineItemData, JournalEntryCurrencyData, JournalEntryData, and BaseTestData classes from testlib.py to the ".lib" module in the test site.依瑪貓2023-04-13 08:30:07 +0800
c1d9ca284cChanged the new_form and update_form methods of the JournalEntryData class in testlib.py to receive the next URI as the parameter instead of the constant, so that the JournalEntryData class can move to other places.依瑪貓2023-04-13 08:23:52 +0800
165e28441aChanged the sample data format from JSON to CSV for the test site live demonstration.依瑪貓2023-04-12 21:32:21 +0800
6ad36cfaa3Updated the translation of the test site.依瑪貓2023-04-12 18:00:26 +0800
20b0412091Added the sample data generation and database reset on the test site for live demonstration.依瑪貓2023-04-12 17:43:05 +0800
3ca246d3e0Revised the strings in babel-utils.py and babel-utils-test-site.py.依瑪貓2023-04-12 15:04:32 +0800
85d1b13ccdAdded the "populate" method to the BaseTestData class, and changed it so that the tests need to call the "populate" method to populate the data, so that it may return the data with populating the database in the future.依瑪貓2023-04-12 12:28:34 +0800
3bada28b8fRevised the BaseTestData class in testlib.py to add journal entries directly to the database instead of through the API, in order to allow the data to be reused, and to speed up the test.依瑪貓2023-04-12 12:12:11 +0800
8f2cef8d81Revised the imports in the accounting.journal_entry.converters module.依瑪貓2023-04-12 00:41:29 +0800
a560ff175aUpdated the Sphinx documentation.依瑪貓2023-04-11 00:06:17 +0800
4be1ead6b5Added the "accounting-init-db" console command to the database initialization of the test site, for simplicity.依瑪貓2023-04-10 23:58:08 +0800
700e4f822aMerged the "init-db" console command to the Flask application initialization in the test site, to simplify the code.依瑪貓2023-04-10 23:50:16 +0800
c4a8326bfcAdded the "accounting-init-db" console command to replace the trivial "accounting-init-base", "accounting-init-accounts" and "accounting-init-currencies" console commands.依瑪貓2023-04-10 23:14:04 +0800
371c80f668Removed the unused CurrencyData custom type from the "accounting.currency.commands" module.依瑪貓2023-04-10 22:57:54 +0800
1224d6f83eAdded the CSV_MIME constant to test_report.py to simplify the ReportTestCase test case.依瑪貓2023-04-09 12:09:52 +0800
3a8618f7c3Fixed the csv_download function when downloading data with non-US-ASCII filenames in the "accounting.report.utils.csv_export" module.依瑪貓2023-04-09 12:07:31 +0800
5d87205659Changed the data in the ReportTestData class to be non-US-ASCII.依瑪貓2023-04-09 11:55:15 +0800
04de4f5c5eMerged testlib_offset.py into testlib.py.依瑪貓2023-04-09 11:38:22 +0800
f8ea863b80Moved the add_journal_entry and match_journal_entry_detail functions from testlib_journal_entry.py to testlib.py. They are used by everyone, and testlib_journal_entry.py is only for test_journal_entry.py to shorten the code in one single file.依瑪貓2023-04-09 11:35:28 +0800
5ae0d03b32Revised the imports in testlib_journal_entry.py.依瑪貓2023-04-09 11:25:22 +0800
a9a3ad5871Fixed the data type of the original line item ID in the forms in the OffsetTestCase test case.依瑪貓2023-04-09 11:05:52 +0800
5edc95afceMoved the TestData class from testlib_offset.py to test_offset.py, and renamed it to OffsetTestData. It is only used in test_offset.py now.依瑪貓2023-04-09 11:00:38 +0800
943ace6fc7Added ReportTestData as the test data for the ReportTestCase test case.依瑪貓2023-04-09 10:57:30 +0800
a63bc977e9Added the _add_simple_journal_entry method to the BaseTestData class in testlib_offset.py to simplify the code.依瑪貓2023-04-09 10:50:11 +0800
dabe6ddbcaRenamed the _set_is_need_offset method to _set_need_offset in the BaseTestData class in testlib_offset.py.依瑪貓2023-04-09 10:34:33 +0800
f47e9b3150Renamed the CurrencyData class to JournalEntryCurrencyData in testlib_offset.py, to be clear.依瑪貓2023-04-09 10:04:12 +0800
bb5383febeRemoved the test data from the OptionTestCase test case. It does not need data.依瑪貓2023-04-09 09:55:52 +0800
87f9063cebAdded the BaseTestData class in testlib_offset.py to simplify the test data, and changed the TestData, DifferentTestData, and SameTestData classes to its subclasses.依瑪貓2023-04-09 09:53:53 +0800
51f0185bcfAdded to test the search in the ReportTestCase test case.依瑪貓2023-04-09 09:28:11 +0800
7ca08d6cc8Added to test the CSV download in the ReportTestCase test case.依瑪貓2023-04-09 09:23:55 +0800
c8e9e562beFixed a URL in the test_nobody test of the ReportTestCase test case.依瑪貓2023-04-09 09:16:18 +0800
ba43bd7e90Simplify the URL of the default reports.依瑪貓2023-04-09 09:14:03 +0800
4e550413baRevised the styles for blueprints to specify the URL, for consistency in the base account, account, currency, and journal entry management.依瑪貓2023-04-09 08:59:13 +0800
59a3cbb472Added the ReportTestCase test case.依瑪貓2023-04-09 08:56:06 +0800
d1b64d069eAdded the test_empty_db test to the UnmatchedOffsetTestCase test case.依瑪貓2023-04-09 08:42:20 +0800
d823d3254fFixed the date in test_unmatched_offset.py.依瑪貓2023-04-09 08:36:39 +0800
5e9a2fb0c3Renamed test_offset_matcher.py to test_unmatched_offset.py, and the OffsetMatcherTestCase test case to UnmatchedOffsetTestCase.依瑪貓2023-04-09 08:34:13 +0800
3f2e659ba5Added the test_nobody, test_viewer, and test_editor tests to test the permissions in the OffsetMatcherTestCase test case.依瑪貓2023-04-09 08:32:49 +0800
9f7bb6b9deAdded match_uri to the tests of the OffsetMatcherTestCase test case, for readability.依瑪貓2023-04-09 08:25:34 +0800