Commit Graph

747 Commits

Author SHA1 Message Date
a41d381322 Added a warning to the last Django release. 2023-04-04 19:19:15 +08:00
c301f7ca74 Renamed the project from "Mia! Accounting" to "Mia! Accounting Django". 2023-04-04 19:01:57 +08:00
020555602d Removed the deprecated and unused USE_L10N setting from the test site. 2023-01-22 08:08:42 +08:00
9176be3c11 Added requirements.txt for readthedocs.io. 2022-12-08 01:07:08 +08:00
1d16b250d8 Revised the documentation. 2022-12-08 01:06:15 +08:00
72b9555e29 Added the build directory to .gitignore. 2022-12-08 00:53:03 +08:00
d09255432d Applied Sphinx autodoc, and added the automatically-generated module documents to the documentation. 2022-12-08 00:52:49 +08:00
64e81a64ef Added the Sphinx documentation skeleton. 2022-12-08 00:42:55 +08:00
e14a0432b2 Applied a random secret key to the settings of the test site, although it is not important. 2022-12-06 08:14:39 +08:00
7e7d428b52 Added the test URI variables in the test_run test of the RunTestCase test case. 2022-12-06 07:07:49 +08:00
353ebd7242 Revised the test_run test of the RunTestCase test case to test the failure adding the transfer transaction. 2022-12-06 07:07:25 +08:00
467739e0c8 Revised the test_run test of the RunTestCase test case to test if the result is successful. 2022-12-06 07:07:14 +08:00
999b593c64 Advanced to version 0.1.0. 2022-12-05 19:41:52 +08:00
f6f83fe323 Replaced "random.randint" with "secrets.randbelow" in the "new_pk" function. 2022-12-05 19:40:12 +08:00
607b5be9c0 Removed an unused variable in mia_core.models. 2022-12-05 19:36:06 +08:00
3792524022 Replaced the deprecated JavaScript String.substr with String.substring. 2022-12-05 19:32:43 +08:00
1c44d51e92 Renamed the "order" property to "ord" in the TransactionSortForm.Order class. 2022-12-05 19:27:53 +08:00
3d4d20614c Removed a redundant return in the _validate_code_parent_exists method of the AccountForm form. 2022-12-05 19:23:48 +08:00
4784100084 Removed an empty CSS rule in report.css. 2022-12-05 19:22:19 +08:00
56a9d565c1 Replaced "[0-9]" with \d in the regular expressions. 2022-12-05 19:21:37 +08:00
1967359142 Revised the variable in the "accounting_sample" management command. 2022-12-05 18:58:28 +08:00
e80aceb8ff Revised the regular expression in the JavaScript summary helper. 2022-12-05 18:57:34 +08:00
649f76d9db Replaced "random.randint" with "secrets.randbelow" in the "accounting_sample" management command. 2022-12-05 18:49:58 +08:00
30b00b1a67 Added the SonarQube files to .gitignore. 2022-12-05 18:45:15 +08:00
b3e06e3e5b Removed a redundant test in the RunTestCase test case. 2022-12-05 17:43:33 +08:00
8c3d6fd962 Added the simple RunTestCase test case. 2022-12-05 17:32:41 +08:00
d83a72bb8c Fixed the header of pyproject.toml. 2022-12-05 14:29:43 +08:00
bcb27594ad Added MANIFEST.in and pyproject.toml, and replaced setup.py with setup.cfg. 2022-12-05 08:52:13 +08:00
3cef0d7009 Moved the source files to the "src" subdirectory. 2022-12-05 08:46:20 +08:00
24c3b868e0 Fixed the README filename from README.md to README.rst in setup.py. 2022-12-05 08:33:59 +08:00
f57162a93c Fixed the save method of the LocalizedModel data model to find the l10n records only for existing models, to work with Django 4.1. 2022-12-04 23:01:02 +08:00
4afd072cc5 Fixed the records pseudo property of the Transaction data model to find the records only for existing transactions, to work with Django 4.1. 2022-08-13 20:48:26 +08:00
86b84bef7a Fixed the save() method of the Transaction data model to find the records to delete only for existing transactions, to work with Django 4.1. 2022-08-11 11:48:01 +08:00
a0382ad179 Fixed the JavaScript form validation logic from isValid && validateXxx() to validateXxx() && isValid, in order to correctly validate multiple fields at once. 2021-08-27 07:37:34 +08:00
62b59e7380 Renamed JavaScript variables isValidated to isValid in the forms. 2021-08-27 07:35:03 +08:00
dec53c09f3 Replaced JavaScript XMLHttpRequest.onreadystatechange with XMLHttpRequest.onload. 2021-08-27 07:27:42 +08:00
91d22d72cb Moved the cancel button to the start and the confirm button to the end in the bootstrap modals. 2021-08-27 07:18:35 +08:00
bbcedfd366 Added fade effect to the bootstrap modals. 2021-08-27 07:07:14 +08:00
bc863869c0 Merge branch 'main' of github.com:imacat/mia-accounting into main 2021-08-24 07:37:19 +08:00
874cbca320 Added the output_field when calculating the sum and coalesce in the views. 2021-08-24 07:34:56 +08:00
df6c961dc3 Added the output_field when calculating the balance in the cash report. 2021-08-24 07:10:47 +08:00
依瑪貓
fc6f1fd18a Revised README to be more readable. 2021-02-03 14:21:48 +08:00
依瑪貓
9af204322a Added the management commands to README. 2021-02-03 11:20:33 +08:00
依瑪貓
112201ee8b Revised README. 2021-02-03 11:20:13 +08:00
依瑪貓
1cc9b1732b Replaced the Markdown README with its reStructuredText version. 2021-02-03 10:57:24 +08:00
依瑪貓
ea8af57fcb Removed the mirror script from .gitignore. It is handled with the deployment function of the IDE now. 2021-02-03 10:56:25 +08:00
依瑪貓
b4d9a250db Revised the documentation of the make_trans management command. 2021-02-03 10:05:07 +08:00
500467432a Fixed the cash report to display income first then expense in a transaction, to prevent negative cash balance. 2021-01-31 00:51:09 +08:00
fd47f7bd94 Revised the smart_date filter in the Mia core application. 2021-01-17 00:37:34 +08:00
bb93f601ad Replaced urllib.parse.unquote() with urllib.parse.unquote_plus() in UrlBuilder. 2021-01-16 20:24:10 +08:00