Commit Graph
100 Commits
Author SHA1 Message Date
tanshu b1ca758e9d Added custom serializer to Decimal for all Models to output as number and not string.
This should mitigate all hacks earlier and reverted the earlier hacks.
2023-08-16 22:29:22 +05:30
tanshu c26f433182 Version Bump v11.3.1 2023-08-15 06:39:17 +05:30
tanshu 84728eb037 Fix: Since pydantic v2 is sending decimal as string. It is fucking things up. 2023-08-15 06:39:02 +05:30
tanshu c0458ed96e Chore: Update fastapi 2023-08-15 06:38:28 +05:30
tanshu b62bf1bcca Chore: Refactored import of BaseModel from pydantic 2023-08-15 06:38:19 +05:30
tanshu d3741a63ed Version Bump v11.3.0 2023-08-12 08:39:43 +05:30
tanshu 1705d58dbc Fix: Recipe now checks for recursion (hopefully)
Feature: Recipe prices are now calculated based on periods and saved
Feature: The recipe export excel now has prices
2023-08-12 08:29:21 +05:30
tanshu 72843feaac Version Bump v11.2.1 2023-08-10 13:32:47 +05:30
tanshu e072e77663 Fix: Recipe add was not working and removed unused rate input in the recipe detail component 2023-08-10 13:32:35 +05:30
tanshu 9a3bd413d6 Version Bump v11.2.0 2023-08-08 13:07:00 +05:30
tanshu 2fa346e084 Fix: Fingerprints should have the right constraint
Fix: Client list was not working
2023-08-08 13:06:42 +05:30
tanshu ecd3e45632 Version Bump v11.1.9 2023-08-07 12:48:02 +05:30
tanshu 48ec2df10d Fix: Fingerprint was ignoring the time aspect which is obviously very important 2023-08-07 12:47:57 +05:30
tanshu bc61eeacd3 Version Bump v11.1.8 2023-08-07 10:58:49 +05:30
tanshu a051071a1b Fix: Fingerprint upload was broken 2023-08-07 10:58:41 +05:30
tanshu a0b939ccd7 Version Bump v11.1.7 2023-08-07 09:20:37 +05:30
tanshu 0fc8fac5aa Fix: docker should upload to gondor now not beacon 2023-08-07 09:20:21 +05:30
tanshu 220c15b3fa Fix: Pydantic v2 is sending decimals as strings and fucking things up 2023-08-07 09:19:48 +05:30
tanshu a514c97409 Version Bump v11.1.6 2023-08-07 07:33:21 +05:30
tanshu 77e2411a88 Chore: Refactored the ansible playbook to use one .env file and vars
Chore: Moved to gondor
2023-08-07 07:32:28 +05:30
tanshu 5565e923ab Fix: Create account now working. Dataclasses need ALL the members in the default init created. 2023-08-07 07:27:53 +05:30
tanshu 45d5b658e8 Version Bump v11.1.5 2023-08-06 09:37:39 +05:30
tanshu f0cbe4a7de Chore: Started using gunicorn 2023-08-06 09:09:02 +05:30
tanshu 9ad411af65 Chore: Just made it look nicer 2023-08-05 08:05:14 +05:30
tanshu 7843acea28 Version Bump v11.1.4 2023-08-04 21:01:51 +05:30
tanshu 1188bd1fd8 Added the ignore for search 2023-08-04 21:01:12 +05:30
tanshu ac868257b7 Chore: Reformatted everthing
Fix: Product ledger was not totalling.
This is because for some reason, pydantic was sending the data as string when the field was nullable
2023-08-04 21:00:26 +05:30
tanshu af27bf74ef Version Bump v11.1.3 2023-08-04 19:16:00 +05:30
tanshu 0fd84135dd Fix: Employee things were not working 2023-08-04 19:15:41 +05:30
tanshu 26c412e169 Version Bump v11.1.2 2023-08-04 16:19:58 +05:30
tanshu 1cd8c05f73 Fix: Dockerfile wouldnt build 2023-08-04 16:19:23 +05:30
tanshu 91cf1fa04f Fix: Account delete did not work due to not using unique
Chore: Sqlalchemy using the right way to write expressions.
2023-08-04 16:02:30 +05:30
tanshu 3109b4bec0 Chore: Updated to fastapi 0.100.0 and pydantic v2.0
Chore: Added ruff to lint code
2023-07-25 07:46:46 +05:30
tanshu 78d98f979d Chore: Updated to Angular 16 2023-07-23 09:01:18 +05:30
tanshu 9589081046 Removed VSCode Dev Container 2023-07-23 09:00:19 +05:30
tanshu e2b8d02063 VSCode Dev Container 2023-07-23 08:12:42 +05:30
tanshu 22cac61761 Feature: Adding recipe templates to print recipes.
Feautre: Recipe export to xlsx
Chore: Python 11 style type annotations
Chore: Moved to sqlalchemy 2.0
Chore: Minimum python is 3.11
Fix: Fix nullability of a lot of fields in the database.
2023-07-23 08:12:21 +05:30
tanshu d2d26ab1ae Version Bump v11.1.0 2023-01-31 17:52:22 +05:30
tanshu 26d4506ca3 Feature: Added hinchco 2023-01-31 17:51:37 +05:30
tanshu 979004d29c Chore: Updated the dockerfile to python 3.11 and also with poetry 2023-01-31 17:51:20 +05:30
tanshu c99762e6a9 Fix: The date format is more flexible. This is to accommodate the new machine installed in 26. 2023-01-31 17:50:29 +05:30
tanshu 10aca4071a Chore: Updated mat inputs to better match the style guide. Removed placeholders in favour of labels. 2023-01-31 17:49:15 +05:30
tanshu a28727756b Version Bump v11.0.1 2022-12-12 12:08:45 +05:30
tanshu 3b73d468ea Chore: upgraded fastapi 2022-12-12 12:08:40 +05:30
tanshu 6c79fb3f53 Version Bump v11.0.0 2022-12-12 12:01:24 +05:30
tanshu 129664e564 Chore: Upgraded to angular 15
Chore: Moved from angular/flex-layout to Tailwind
Chore: Upgrade completed
2022-12-12 12:00:24 +05:30
tanshu 4a85a9133e Chore: Removed @angular/flex-layout and replaced it with tailwind.
Chore: Upgraded some packages
2022-12-11 07:50:45 +05:30
tanshu b9fbdd4b99 Version Bump v10.7.0 2022-10-31 09:24:40 +05:30
tanshu 21fa2ae139 Chore: Updated dependencies 2022-10-31 09:24:06 +05:30
tanshu a023e4ce37 Chore: Compress down the multiple alembic versions into 2. One for the structure and another for the data.
Also got rid of defunt initaliedb for the initial data
2022-10-31 08:53:46 +05:30
tanshu e5dbe741f0 Some git cleanup 2022-07-29 07:28:09 +05:30
tanshu 3fbc11d3e3 Version Bump v10.6.0 2022-07-28 22:18:35 +05:30
tanshu 3eb715e2de Created a period table for date ranges and made the recipes dependent on it instead of having arbitrary date ranges. This will enable easy copying into new months. 2022-07-28 22:16:28 +05:30
tanshu 492b80e116 Version Bump v10.5.5 2022-07-24 18:25:09 +05:30
tanshu 4b97c4228a Fix: FormArrays were not getting cleared and were basically fucking the whole thing up.
Fix: EmployeeAttendance was borking because the inital employee was null.
2022-07-24 18:25:02 +05:30
tanshu c7bc379032 Version Bump v10.5.4 2022-07-24 06:45:03 +05:30
tanshu 49b1ac61cf Fix: At times the report would fail with numbers not in multiples of .01 2022-07-24 06:44:11 +05:30
tanshu c03210d965 Version Bump v10.5.3 2022-07-18 23:41:16 +05:30
tanshu e02cdfbe9c Fix: Ledger and product ledger on init would fail because account/product ledger was null. Fixed 2022-07-18 23:41:09 +05:30
tanshu 836858deb1 Version Bump v10.5.2 2022-07-17 14:31:25 +05:30
tanshu bddd5ec749 Fix: Autocomplete could fuck up and was definitely doing it in product.
When checking for .name, it would error out if the input was null

Fix: Journal addRow reset would reset Debit/Credit
2022-07-17 14:31:19 +05:30
tanshu 9f70ec2917 Switched on the @typescript-eslint/no-non-null-assertion rule in eslint.
Fixed the errors it threw up.
2022-07-17 09:17:20 +05:30
tanshu c76696e022 Version Bump v10.5.1 2022-07-17 08:17:30 +05:30
tanshu dbdd00119a Instanceof operator was not working so changed the way of checking it 2022-07-17 08:17:13 +05:30
tanshu 4072733dfe Version Bump v10.5.0 2022-07-15 13:25:13 +05:30
tanshu 28f9bf2180 Chore: Moved from Untyped to Stongly Typed forms. 2022-07-15 13:24:25 +05:30
tanshu facf2df91e Forgot to lint earlier 2022-07-11 20:14:22 +05:30
tanshu d44c5b3e02 Fix: Download closing stock report was borked as product was an object not a string. 2022-07-11 20:13:05 +05:30
tanshu b1c003a935 Chore: Upgrade to Angular v14 2022-07-11 20:12:38 +05:30
tanshu a4c3ae1035 Chore: Move from remote database host to linked docker container 2022-07-05 07:09:44 +05:30
tanshu 97767e0c11 Renamed playbook 2022-06-20 08:47:34 +05:30
tanshu 92023caadc Added the inventory information for ansible in the project and made it so that the file is only run once.
Updated python dependencies
2022-06-07 18:30:39 +05:30
tanshu 98d3e212c3 Version Bump v10.4.1 2022-05-10 00:46:45 +05:30
tanshu b87079813c Fix: Pre-commit depends on cfgv which is not 3.10 compatible 2022-05-10 00:46:11 +05:30
tanshu 6b6b46c2e1 Version Bump v10.4.0 2022-05-09 23:58:38 +05:30
tanshu 763af272d1 Fix: Rebase
Chore: Updated dependencies
Chore: Python 3.10
Chore: Node 18
Chore: Ansible to support new layouts
2022-05-09 23:56:51 +05:30
tanshu 13df9614bb Version Bump v10.3.5 2022-01-16 16:08:55 +05:30
tanshu 7065a3b911 Allow downloading of fingerprint data. 2022-01-16 16:08:19 +05:30
tanshu 1806ae1b06 Version Bump v10.3.4 2022-01-06 16:54:27 +05:30
tanshu 4a5556347c Fix: Didn't commit all the changes 2022-01-06 16:54:16 +05:30
tanshu b83a0b0d29 Version Bump v10.3.3 2022-01-06 16:16:39 +05:30
tanshu a4c98444aa Fix: Client router failed as not all fields were populated and the right config for missing 2022-01-06 16:16:13 +05:30
tanshu f9436da74b Version Bump v10.3.2 2021-12-26 06:58:20 +05:30
tanshu 68390a1eb6 Fix: The batch integrity report was not taking into account the closing stock entries and resetting stock to wrong levels. Fixed 2021-12-26 06:57:37 +05:30
tanshu 9f2e28a035 Merge branch 'ansible' into main 2021-12-17 10:19:07 +05:30
tanshu b85621dee8 Version Bump v10.3.1 2021-12-17 05:44:18 +05:30
tanshu d27d1076ce Fix: Account creation failed because of missing code.
Chore: Some more mypy settings and their fixes.
2021-12-17 05:43:58 +05:30
tanshu 0b9ffc652b Mypy: The OTP Field is nullable 2021-11-23 09:57:09 +05:30
tanshu af3fea3ca7 Docker and ansible files needed to deploy the project. 2021-11-23 09:56:36 +05:30
tanshu 997f47aa58 Version Bump v10.3.0 2021-11-21 12:18:39 +05:30
tanshu 9d088aa95e Extensive mypy checking. 2021-11-21 12:18:26 +05:30
tanshu 529e50b3ba Version Bump v10.2.9 2021-11-21 11:52:03 +05:30
tanshu 7c352eb2e2 Fix: Fingerprints were ignoring the time and only recording the date 2021-11-21 11:50:53 +05:30
tanshu d21d4e2a09 Version Bump v10.2.8 2021-11-15 21:47:00 +05:30
tanshu 8e9babd1dc Fix: Recipe recursion and updating of product price on updating recipe 2021-11-15 21:46:29 +05:30
tanshu b0de2d5ae4 Version Bump v10.2.7 2021-11-14 12:02:58 +05:30
tanshu ee7f036ced Chore: Mypy work going on
Fix: Recipes costing of semi items would show very high cost of the whole recipe for per unit as ingredient
2021-11-14 12:02:22 +05:30
tanshu ddd389a899 Version Bump v10.2.6 2021-11-11 21:17:18 +05:30
tanshu 1159db5007 Nothing much 2021-11-11 21:17:02 +05:30
tanshu 65d75bcaad Version Bump v10.2.5 2021-11-11 20:52:56 +05:30