Commit Graph

731 Commits

Author SHA1 Message Date
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
21281da3ed Fixed the line length in the data models for PEP8. 2020-11-05 22:49:54 +08:00
a554974ea0 Simplified the stored post forms in a way that only store one form for use at once, like PHP Laravel, and merge it to the Mia core utilities in the Mia core application. 2020-10-20 22:51:00 +08:00
54d18ca8b3 Added the short_value template filter that strips the excess trailing decimal zeros in the accounting form in the accounting application. 2020-10-20 22:01:56 +08:00
2db018f18b Revised documentation and type hints of the template filters to format the numbers. 2020-10-20 21:54:10 +08:00
eb162c95df Added the record order to the returning records of the _get_records() method in SearchListView in the accounting application. 2020-09-10 21:06:12 +08:00
依瑪貓
7358b3ed9d Added the database initialization to README. 2020-09-09 09:17:11 +08:00
15ad595ad1 Updated the version in setup.py. 2020-09-09 07:02:50 +08:00
47b41a86e3 Added the GitHub project information to README. 2020-09-08 21:08:16 +08:00
943fd44c44 Updated README to install with pip. 2020-09-07 23:32:24 +08:00
b6ac650bfd Added dist and *.egg-info to .gitignore. 2020-09-07 23:29:42 +08:00
5f6f142a7a Added setup.py. 2020-09-07 23:28:04 +08:00
0620759ca3 Added the advanced settings to README. 2020-09-07 22:53:33 +08:00
0b4977041e Added the project description, and moved the license to the end of README. 2020-09-07 21:53:02 +08:00
依瑪貓
267ac952fe Fixed the typo in README. 2020-09-07 10:12:23 +08:00
依瑪貓
a7571b8af0 Added the instruction to the base template in README. 2020-09-07 09:32:44 +08:00
774fb28981 Revised the README. 2020-09-07 07:18:12 +08:00