imacat
|
7bcc2b28b2
|
Moved the JournalEntryLineItemData, JournalEntryCurrencyData, JournalEntryData, and BaseTestData classes from testlib.py to the ".lib" module in the test site.
|
2023-04-13 08:30:07 +08:00 |
|
imacat
|
c1d9ca284c
|
Changed 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 +08:00 |
|
imacat
|
165e28441a
|
Changed the sample data format from JSON to CSV for the test site live demonstration.
|
2023-04-12 21:33:34 +08:00 |
|
imacat
|
621020b0f0
|
Advanced to version 1.3.2.
|
2023-04-12 18:05:13 +08:00 |
|
imacat
|
6ad36cfaa3
|
Updated the translation of the test site.
|
2023-04-12 18:05:13 +08:00 |
|
imacat
|
20b0412091
|
Added the sample data generation and database reset on the test site for live demonstration.
|
2023-04-12 18:05:13 +08:00 |
|
imacat
|
3ca246d3e0
|
Revised the strings in babel-utils.py and babel-utils-test-site.py.
|
2023-04-12 15:04:32 +08:00 |
|
imacat
|
85d1b13ccd
|
Added 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 +08:00 |
|
imacat
|
3bada28b8f
|
Revised 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 +08:00 |
|
imacat
|
8f2cef8d81
|
Revised the imports in the accounting.journal_entry.converters module.
|
2023-04-12 00:41:29 +08:00 |
|
imacat
|
e62316c477
|
Advanced to version 1.3.1.
|
2023-04-11 22:32:22 +08:00 |
|
imacat
|
24ddb0c278
|
Updated the translation of the test site.
|
2023-04-11 22:27:31 +08:00 |
|
imacat
|
536f3390aa
|
Revised the home page of the test site.
|
2023-04-11 22:27:31 +08:00 |
|
imacat
|
fadd8e73b6
|
Revised the log in process of the test site to return to the previous page after logging in.
|
2023-04-11 22:27:11 +08:00 |
|
imacat
|
12ccf658bf
|
Revised the documentation in README.rst and intro.rst.
|
2023-04-11 21:56:49 +08:00 |
|
imacat
|
e30d1257e5
|
Revised the navigation bar so that viewers do not see the menu of the unmatched offsets.
|
2023-04-11 07:50:10 +08:00 |
|
imacat
|
404b902d88
|
Advanced to version 1.3.0.
|
2023-04-11 00:08:53 +08:00 |
|
imacat
|
a560ff175a
|
Updated the Sphinx documentation.
|
2023-04-11 00:06:17 +08:00 |
|
imacat
|
4be1ead6b5
|
Added the "accounting-init-db" console command to the database initialization of the test site, for simplicity.
|
2023-04-10 23:58:08 +08:00 |
|
imacat
|
700e4f822a
|
Merged the "init-db" console command to the Flask application initialization in the test site, to simplify the code.
|
2023-04-10 23:50:16 +08:00 |
|
imacat
|
c21ed59dfe
|
Replaced SQLAlchemy 1.x-style bulk_save_objects(objects) with SQLAlchemy 2.x-style execute(insert(model), data).
|
2023-04-10 23:38:31 +08:00 |
|
imacat
|
c4a8326bfc
|
Added 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:38:27 +08:00 |
|
imacat
|
371c80f668
|
Removed the unused CurrencyData custom type from the "accounting.currency.commands" module.
|
2023-04-10 23:12:49 +08:00 |
|
imacat
|
40be3fb664
|
Replaced SQLAlchemy 1.x-style bulk_insert_mappings(model, data) with SQLAlchemy 2.x-style execute(insert(model), data).
|
2023-04-10 19:56:16 +08:00 |
|
imacat
|
1e56403b35
|
Advanced to version 1.2.1.
|
2023-04-09 21:04:18 +08:00 |
|
imacat
|
650c26036a
|
Fixed the search result to allow full year/month/day specification.
|
2023-04-09 21:03:18 +08:00 |
|
imacat
|
b19a6e5ffe
|
Advanced to version 1.2.0.
|
2023-04-09 12:16:20 +08:00 |
|
imacat
|
1224d6f83e
|
Added the CSV_MIME constant to test_report.py to simplify the ReportTestCase test case.
|
2023-04-09 12:09:52 +08:00 |
|
imacat
|
3a8618f7c3
|
Fixed 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 +08:00 |
|
imacat
|
5d87205659
|
Changed the data in the ReportTestData class to be non-US-ASCII.
|
2023-04-09 11:55:15 +08:00 |
|
imacat
|
04de4f5c5e
|
Merged testlib_offset.py into testlib.py.
|
2023-04-09 11:46:55 +08:00 |
|
imacat
|
f8ea863b80
|
Moved 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:46:55 +08:00 |
|
imacat
|
5ae0d03b32
|
Revised the imports in testlib_journal_entry.py.
|
2023-04-09 11:46:55 +08:00 |
|
imacat
|
a9a3ad5871
|
Fixed the data type of the original line item ID in the forms in the OffsetTestCase test case.
|
2023-04-09 11:46:55 +08:00 |
|
imacat
|
5edc95afce
|
Moved 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:46:55 +08:00 |
|
imacat
|
943ace6fc7
|
Added ReportTestData as the test data for the ReportTestCase test case.
|
2023-04-09 11:46:46 +08:00 |
|
imacat
|
a63bc977e9
|
Added the _add_simple_journal_entry method to the BaseTestData class in testlib_offset.py to simplify the code.
|
2023-04-09 10:50:50 +08:00 |
|
imacat
|
dabe6ddbca
|
Renamed the _set_is_need_offset method to _set_need_offset in the BaseTestData class in testlib_offset.py.
|
2023-04-09 10:42:18 +08:00 |
|
imacat
|
f47e9b3150
|
Renamed the CurrencyData class to JournalEntryCurrencyData in testlib_offset.py, to be clear.
|
2023-04-09 10:42:18 +08:00 |
|
imacat
|
bb5383febe
|
Removed the test data from the OptionTestCase test case. It does not need data.
|
2023-04-09 10:42:18 +08:00 |
|
imacat
|
87f9063ceb
|
Added 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 10:31:44 +08:00 |
|
imacat
|
51f0185bcf
|
Added to test the search in the ReportTestCase test case.
|
2023-04-09 10:08:23 +08:00 |
|
imacat
|
7ca08d6cc8
|
Added to test the CSV download in the ReportTestCase test case.
|
2023-04-09 10:08:23 +08:00 |
|
imacat
|
c8e9e562be
|
Fixed a URL in the test_nobody test of the ReportTestCase test case.
|
2023-04-09 10:08:23 +08:00 |
|
imacat
|
ba43bd7e90
|
Simplify the URL of the default reports.
|
2023-04-09 10:08:23 +08:00 |
|
imacat
|
4e550413ba
|
Revised the styles for blueprints to specify the URL, for consistency in the base account, account, currency, and journal entry management.
|
2023-04-09 10:08:22 +08:00 |
|
imacat
|
59a3cbb472
|
Added the ReportTestCase test case.
|
2023-04-09 10:08:22 +08:00 |
|
imacat
|
d1b64d069e
|
Added the test_empty_db test to the UnmatchedOffsetTestCase test case.
|
2023-04-09 10:08:11 +08:00 |
|
imacat
|
d823d3254f
|
Fixed the date in test_unmatched_offset.py.
|
2023-04-09 10:07:56 +08:00 |
|
imacat
|
5e9a2fb0c3
|
Renamed test_offset_matcher.py to test_unmatched_offset.py, and the OffsetMatcherTestCase test case to UnmatchedOffsetTestCase.
|
2023-04-09 10:06:53 +08:00 |
|
imacat
|
3f2e659ba5
|
Added the test_nobody, test_viewer, and test_editor tests to test the permissions in the OffsetMatcherTestCase test case.
|
2023-04-09 10:06:33 +08:00 |
|
imacat
|
9f7bb6b9de
|
Added match_uri to the tests of the OffsetMatcherTestCase test case, for readability.
|
2023-04-09 08:25:34 +08:00 |
|
imacat
|
6857164702
|
Added the PREFIX constant to simplify the OffsetMatcherTestCase test case.
|
2023-04-09 08:22:25 +08:00 |
|
imacat
|
6bac76be64
|
Fixed an error in the formatted string in the translation.
|
2023-04-09 01:41:42 +08:00 |
|
imacat
|
370d2668e5
|
Advanced to version 1.1.0.
|
2023-04-09 00:48:57 +08:00 |
|
imacat
|
5e3e695e62
|
Updated the Sphinx documentation.
|
2023-04-09 00:41:14 +08:00 |
|
imacat
|
510d369e9c
|
Updated the translation.
|
2023-04-09 00:39:46 +08:00 |
|
imacat
|
b65cae9252
|
Added the OffsetMatcherTestCase test case.
|
2023-04-09 00:39:46 +08:00 |
|
imacat
|
285c12406b
|
Revised the property names in the TestData class in testlib_offset.py.
|
2023-04-09 00:39:46 +08:00 |
|
imacat
|
df240472a4
|
Changed the permission to the offset matcher so that editors can use it.
|
2023-04-09 00:39:45 +08:00 |
|
imacat
|
1218b224fc
|
Renamed the "accounting.unmatched_offset.forms" module to "accounting.utils.offset_matcher".
|
2023-04-09 00:39:45 +08:00 |
|
imacat
|
79689ac0e5
|
Revised the unapplied original line item report to mark matched offsets for administrators when there are unmatched offsets.
|
2023-04-09 00:39:45 +08:00 |
|
imacat
|
1660e66766
|
Revised the background color of the report tables, for better look on non-white backgrounds.
|
2023-04-09 00:39:45 +08:00 |
|
imacat
|
12d00c9c7d
|
Added the unmatched offset list and the offset matcher.
|
2023-04-09 00:39:11 +08:00 |
|
imacat
|
428018e4a9
|
Added the match pseudo property to the JournalEntryLineItem data model.
|
2023-04-08 18:12:57 +08:00 |
|
imacat
|
a8f318b0bb
|
Reordered the methods in the JournalEntryLineItem data model.
|
2023-04-08 18:12:57 +08:00 |
|
imacat
|
a3507494e5
|
Added the refundable deposit accounts to the default list of accounts that need offset in the accounting-init-accounts console command.
|
2023-04-08 18:12:57 +08:00 |
|
imacat
|
3aa6c8d6f6
|
Removed the empty value in the __is_need_offset function in the "accounting.account.commands" console.command.
|
2023-04-08 18:12:56 +08:00 |
|
imacat
|
052b62cdd4
|
Moved the __query_line_items method in the UnappliedOriginalLineItems report to the new "accounting.utils.unapplied" module, to share this query.
|
2023-04-08 18:12:56 +08:00 |
|
imacat
|
3728a4037d
|
Renamed the UnappliedAccountConverter path converter to NeedOffsetAccountConverter.
|
2023-04-08 18:12:56 +08:00 |
|
imacat
|
6eee17d44f
|
Added the account list as the default page for the unapplied original line items.
|
2023-04-08 18:12:55 +08:00 |
|
imacat
|
e5cc2b5a2f
|
Added the "count" pseudo property to the Account data model.
|
2023-04-08 18:12:55 +08:00 |
|
imacat
|
ac3b5523b1
|
Fixed the documentation of the default_currency and default_ie_account pseudo property in the Options class.
|
2023-04-08 18:12:55 +08:00 |
|
imacat
|
5af6fd9619
|
Moved the "accounting.journal_entry.utils.offset_alias" module to "accounting.utils.offset_alias".
|
2023-04-08 18:12:55 +08:00 |
|
imacat
|
71a20cba29
|
Replaced the "default_currency_text" pseudo property with the "default_currency" pseudo property in the Options class.
|
2023-04-08 18:12:54 +08:00 |
|
imacat
|
4a4cf1ea40
|
Removed the redundant "default_ie_account_code_text" pseudo property from the Options class.
|
2023-04-08 18:12:54 +08:00 |
|
imacat
|
e9824808ec
|
Added the UnappliedAccountConverter path converter to only allow the accounts that need offsets.
|
2023-04-08 18:12:54 +08:00 |
|
imacat
|
c984d2d596
|
Renamed the IncomeExpensesAccountConverter path converter to CurrentAccountConverter.
|
2023-04-08 18:12:54 +08:00 |
|
imacat
|
720e77c814
|
Fixed the documentation of the PeriodConverter and IncomeExpensesAccountConverter path converters.
|
2023-04-08 18:12:54 +08:00 |
|
imacat
|
0f0412827d
|
Added the unapplied original line item report.
|
2023-04-08 18:12:45 +08:00 |
|
imacat
|
3a0e978f76
|
Removed an unused import from the "accounting.journal_entry.forms.line_item" module.
|
2023-04-08 00:44:13 +08:00 |
|
imacat
|
8c10d42d7b
|
Added documentation to the currency and account parameters of the CSVRow class, and the pagination parameter of the PageParams class in the "accounting.report.reports.journal" module.
|
2023-04-08 00:44:13 +08:00 |
|
imacat
|
04ec51afbe
|
Changed the "offsets" relationship to a pseudo property, to apply the correct but complex ordering rules.
|
2023-04-07 16:04:54 +08:00 |
|
imacat
|
fe7a8842ce
|
Fixed the query in the JournalEntryConverter converter.
|
2023-04-07 15:31:06 +08:00 |
|
imacat
|
66daa5c42c
|
Fixed the query in the KeepAccountWhenHavingOffset validator.
|
2023-04-07 15:29:17 +08:00 |
|
imacat
|
27fb44937d
|
Fixed the incorrect query in the "offsets" pseudo property of the LineItemForm form.
|
2023-04-07 15:11:04 +08:00 |
|
imacat
|
7026ed3a65
|
Fixed the order of the items in the "offsets" pseudo property of the LineItemForm form.
|
2023-04-07 15:01:22 +08:00 |
|
imacat
|
fdd3e93778
|
Fixed the net balance in the line items in the journal entry detail.
|
2023-04-07 14:57:24 +08:00 |
|
imacat
|
def7559457
|
Fixed the #filterOptions in the JavaScript JournalEntryAccountSelector to show the "more" option when there is no matches, but it is not showing all the accounts.
|
2023-04-07 12:34:24 +08:00 |
|
imacat
|
7905820d68
|
Revised the imports in the "accounting.base_account.views" and "accounting.currency.views" modules.
|
2023-04-06 16:09:36 +08:00 |
|
imacat
|
7ae332c975
|
Moved the "Test Site and Live Demonstration" section to the front of the documentation.
|
2023-04-06 10:00:24 +08:00 |
|
imacat
|
86c5b91697
|
Advanced to version 1.0.1.
|
2023-04-06 08:43:14 +08:00 |
|
imacat
|
9168840e64
|
Fixed an error in the example configuration.
|
2023-04-06 08:38:39 +08:00 |
|
imacat
|
21b9cfa8b8
|
Revised the documentation.
|
2023-04-06 08:31:19 +08:00 |
|
imacat
|
b0b3b3acb1
|
Moved the history section out from README.rst and intro.rst, to the new history.rst.
|
2023-04-06 08:21:32 +08:00 |
|
imacat
|
cb1d254cf0
|
Advanced to version 1.0.0. Hooray!
|
2023-04-06 02:55:19 +08:00 |
|
imacat
|
eb9ad57e72
|
Updated the translation.
|
2023-04-06 02:55:17 +08:00 |
|
imacat
|
ec26f8ef4d
|
Added the documentation.
|
2023-04-06 02:54:45 +08:00 |
|
imacat
|
7ed29115ed
|
Revised the inclusion in the base template of the test site.
|
2023-04-06 02:01:05 +08:00 |
|
imacat
|
95955197ac
|
Updated the copyright year in pyproject.toml.
|
2023-04-05 22:50:54 +08:00 |
|