Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
cd039520b6
Added permission checks to the reset routes in the test site.
05e652aa62
Changed 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.
5c9bf0638c
Removed the "csv_data" pseudo property from BaseTestData.
bbc78433fd
Moved 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.
3d6575dbdb
Updated the translation of the test site.
f4a2183237
Added the sample data generation and database reset on the test site.
3ca246d3e0
Revised the strings in babel-utils.py and babel-utils-test-site.py.
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.
4be1ead6b5
Added the "accounting-init-db" console command to the database initialization of the test site, for simplicity.
700e4f822a
Merged the "init-db" console command to the Flask application initialization in the test site, to simplify the code.
c21ed59dfe
Replaced SQLAlchemy 1.x-style bulk_save_objects(objects) with SQLAlchemy 2.x-style execute(insert(model), data).
c4a8326bfc
Added the "accounting-init-db" console command to replace the trivial "accounting-init-base", "accounting-init-accounts" and "accounting-init-currencies" console commands.
371c80f668
Removed the unused CurrencyData custom type from the "accounting.currency.commands" module.
1224d6f83e
Added the CSV_MIME constant to test_report.py to simplify the ReportTestCase test case.
3a8618f7c3
Fixed the csv_download function when downloading data with non-US-ASCII filenames in the "accounting.report.utils.csv_export" module.
5d87205659
Changed the data in the ReportTestData class to be non-US-ASCII.
04de4f5c5e
Merged testlib_offset.py into testlib.py.
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.