|
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 |
|
|
5d87205659
|
Changed the data in the ReportTestData class to be non-US-ASCII.
|
2023-04-09 11:55:15 +08:00 |
|
|
04de4f5c5e
|
Merged testlib_offset.py into testlib.py.
|
2023-04-09 11:46:55 +08:00 |
|
|
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 |
|
|
5ae0d03b32
|
Revised the imports in testlib_journal_entry.py.
|
2023-04-09 11:46:55 +08:00 |
|
|
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 |
|
|
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 |
|
|
943ace6fc7
|
Added ReportTestData as the test data for the ReportTestCase test case.
|
2023-04-09 11:46:46 +08:00 |
|
|
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 |
|
|
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 |
|
|
f47e9b3150
|
Renamed the CurrencyData class to JournalEntryCurrencyData in testlib_offset.py, to be clear.
|
2023-04-09 10:42:18 +08:00 |
|
|
bb5383febe
|
Removed the test data from the OptionTestCase test case. It does not need data.
|
2023-04-09 10:42:18 +08:00 |
|
|
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 |
|
|
51f0185bcf
|
Added to test the search in the ReportTestCase test case.
|
2023-04-09 10:08:23 +08:00 |
|
|
7ca08d6cc8
|
Added to test the CSV download in the ReportTestCase test case.
|
2023-04-09 10:08:23 +08:00 |
|
|
c8e9e562be
|
Fixed a URL in the test_nobody test of the ReportTestCase test case.
|
2023-04-09 10:08:23 +08:00 |
|
|
ba43bd7e90
|
Simplify the URL of the default reports.
|
2023-04-09 10:08:23 +08:00 |
|
|
59a3cbb472
|
Added the ReportTestCase test case.
|
2023-04-09 10:08:22 +08:00 |
|
|
d1b64d069e
|
Added the test_empty_db test to the UnmatchedOffsetTestCase test case.
|
2023-04-09 10:08:11 +08:00 |
|
|
d823d3254f
|
Fixed the date in test_unmatched_offset.py.
|
2023-04-09 10:07:56 +08:00 |
|
|
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 |
|
|
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 |
|
|
9f7bb6b9de
|
Added match_uri to the tests of the OffsetMatcherTestCase test case, for readability.
|
2023-04-09 08:25:34 +08:00 |
|
|
6857164702
|
Added the PREFIX constant to simplify the OffsetMatcherTestCase test case.
|
2023-04-09 08:22:25 +08:00 |
|
|
b65cae9252
|
Added the OffsetMatcherTestCase test case.
|
2023-04-09 00:39:46 +08:00 |
|
|
285c12406b
|
Revised the property names in the TestData class in testlib_offset.py.
|
2023-04-09 00:39:46 +08:00 |
|
|
eb9ad57e72
|
Updated the translation.
|
2023-04-06 02:55:17 +08:00 |
|
|
7ed29115ed
|
Revised the inclusion in the base template of the test site.
|
2023-04-06 02:01:05 +08:00 |
|
|
02fcabb0ce
|
Updated the URI of the reports to be the default views of the application.
|
2023-04-05 08:06:00 +08:00 |
|
|
4c2dcc5070
|
Renamed the project from "Mia! Accounting Flask" to "Mia! Accounting".
|
2023-04-04 18:26:54 +08:00 |
|
|
3a0f0873e2
|
Added documentation to the bp, babel_js, csrf, and db variables in the test site.
|
2023-04-03 22:18:58 +08:00 |
|
|
f7efacad75
|
Added the unauthorized method to the UserUtilityInterface interface, so that when the user has not logged in, the permission decorator can ask the user to log in instead of failing with HTTP 403 Forbidden.
|
2023-04-03 19:50:47 +08:00 |
|
|
cb16b2f0ff
|
Updated the translation of the test site.
|
2023-03-24 08:53:35 +08:00 |
|
|
d2f11e8779
|
Replaced the "editor" and "editor2" accounts in the test site with "admin" and "editor", to be clear.
|
2023-03-24 08:53:35 +08:00 |
|
|
5e320729d7
|
Removed an excess blank line in testlib.py.
|
2023-03-23 17:30:38 +08:00 |
|
|
7515032082
|
Moved the Accounts shortcut from testlib_journal_entry.py to testlib.py.
|
2023-03-23 17:26:27 +08:00 |
|
|
361b18e411
|
Moved the duplicated NEXT_URI constant from test_account.py and testlib_journal_entry.py to testlib.py.
|
2023-03-23 17:22:57 +08:00 |
|
|
7e1388735e
|
Added the OptionTestCase test case.
|
2023-03-22 23:50:14 +08:00 |
|
|
283758ebe9
|
Revised the shortcut accounts in testlib_journal_entry.py.
|
2023-03-22 22:56:37 +08:00 |
|
|
761d5a5824
|
Added the option management, and moved the configuration of the default currency, the default account for the income and expenses log, and the recurring expenses and incomes to the options.
|
2023-03-22 15:34:28 +08:00 |
|
|
6fd37b21d9
|
Fixed so that the journal entries that has offset cannot be deleted.
|
2023-03-22 00:59:43 +08:00 |
|
|
bbf3ee3320
|
Added the limitation so that the default currency and the currencies in use cannot be deleted.
|
2023-03-22 00:37:39 +08:00 |
|
|
b60cc7902d
|
Revised the test_delete test in the AccountTestCase test case.
|
2023-03-22 00:37:26 +08:00 |
|
|
623313b58a
|
Renamed the constants to be upper-cased in test_account.py.
|
2023-03-22 00:37:26 +08:00 |
|
|
d0d2d77a2e
|
Added the limitation so that essential accounts, like cash, and the accounts in use, cannot be deleted.
|
2023-03-22 00:37:26 +08:00 |
|
|
678d0aa773
|
Fixed the CSS version of Tempus-Dominus in the base template of the test site.
|
2023-03-21 21:22:48 +08:00 |
|
|
446087b212
|
Added the ACCOUNTING_DEFAULT_CURRENCY and ACCOUNTING_DEFAULT_IE_ACCOUNT configuration to the test site configuration, for demonstration.
|
2023-03-21 21:15:14 +08:00 |
|
|
a42e7d13a2
|
Renamed the configuration DEFAULT_CURRENCY, DEFAULT_IE_ACCOUNT, and RECURRING to "ACCOUNTING_DEFAULT_CURRENCY", "ACCOUNTING_DEFAULT_IE_ACCOUNT", and "ACCOUNTING_RECURRING", respectively.
|
2023-03-21 21:13:03 +08:00 |
|
|
3455827c09
|
Added the recurring transactions.
|
2023-03-21 19:45:56 +08:00 |
|
|
079dc1ab6d
|
Renamed the "eid" field to "id" in the LineItemForm form, since the problem is found. It was the "id" property of the enclosing FormField. If we extract the form from FormField, we can still access the "id" field.
|
2023-03-20 23:06:57 +08:00 |
|