Commit Graph

24 Commits

Author SHA1 Message Date
b1c003a935 Chore: Upgrade to Angular v14 2022-07-11 20:12:38 +05:30
6d0d95070b Moved the batch integrity report from settings to its own report in products with permission of product ledger.
It also automatically fixes the issue prices.
2021-09-24 14:40:51 +05:30
57ef355170 Fix: Login deleting old clients was conflicting with login history
Chore: Moved to angular linting using the recommended plugins / settings
2020-12-08 12:09:19 +05:30
2972203148 Removed the use of any and enabled the rule in eslint.
Now according to me the conversion is final.
Testing is required.
2020-11-24 08:03:43 +05:30
1b84ef0b11 Upgrade to angular v11 2020-11-23 17:12:27 +05:30
afe746ecdc Strict done!! 2020-11-23 16:42:54 +05:30
af343cb7f9 All datasources done. Now to wire them up in the components.
Plus ElementRefs are now optional as they cannot be initialized
2020-11-23 10:25:53 +05:30
39e3cc51bb Moving to strict.
Create form has now moved to constructor and route data subscribe is type safe.
2020-11-23 09:18:02 +05:30
5ea09df272 Prettied, Linted and updated angular.json according to the latest schematic of Angular CLI.
Now all that is needed is to make it ready for strict compiling.
Removed eslint-plugin-prettier as it is not recommended and causes errors for both eslint and prettier

Bumped to v8.0.0
2020-10-10 08:45:05 +05:30
438a98334d Showing the frontend and backend version in the settings panel.
Bumped the version to 7.6.0
2020-10-07 23:27:54 +05:30
cefb3ebdcc Removed old rules from eslint
Tried hand at testing by fixing the spec files with import. However, still many errors and given up now.
2020-10-02 16:24:29 +05:30
1350870f9e Moved from tslint to eslint as tslint was depreciated.
Added prettier and also prettied all the typescript files using prettier

ESLint is using the AirBnB rules which are the most strict to lint the files.
2020-10-01 21:28:12 +05:30
005d45032f Fix: Reset stock was not working because:
1. The frontend did not set the date format and that mangled the date string sent
 2. Backend was broken and was not acceping data in json format

Fix: Ledger would occasionally crap out due to rounding and floating point madness, removed the rounding limitation
2020-09-20 09:56:35 +05:30
cb66700157 Feature/Fix: Auth service will check local storage during get user in case another window has refreshed the token 2020-09-13 08:34:47 +05:30
ad8a2d2cc3 Fix: Save account error was because in constructor type did not end in underscore
Fix: Employee save as checking for in None instead of is None

Feature: Checking the existing token for validity in constructor of auth service, this should prevent last login showing
Feature: Moved the middleware secret key into the env file

Chore: Replaced my own GUID() with postgres UUID() type
2020-06-30 11:44:19 +05:30
013fce2e96 Settings working now. Everything working now.
Time for docker and beta test
2020-05-30 23:39:02 +05:30
d5bc818632 Clients also implemented.
I think the only things left are the login history and other past errors
2020-05-30 15:41:55 +05:30
7edac38435 Sliding session implemented by using jwt interceptor to refresh the token 10 minutes before expiry 2020-05-30 14:09:38 +05:30
tanshu
6dbab6442f Renamed groups to roles in the frontend
Working:
 Account
 Cost Centre
 Employee
 Product Group
 Product
 Role
 User
 Client
2020-05-12 01:44:57 +05:30
tanshu
cd764be49c angular2-hotkeys beyond this breaks with Angular 8.x
logout now works.
Only the clientID does not work as of now
2020-05-12 00:31:53 +05:30
tanshu
ae8c46084c Working as a drop-in replacement for the last 2020-05-11 23:45:52 +05:30
Amritanshu
72044476a8 Feature: Lazy loading
Lazy loaded everything
TODO: The cash flow module when clicking on sub-links, it reloads the whole page, it needs to be diagnosed and fixed, this problem also exists in the other modules
TODO: Rename folders and modules such as account to accounts to match the url
2019-06-13 16:36:43 +05:30
Amritanshu
fea48e1a3e Chore: Upgraded to Angular, Angular Material and Angular Flex layout 8.0 2019-06-12 17:25:10 +05:30
tanshu
6be1dd5a3a Moved to Angular 6.0
----

Pending
* Table width for the points column in incentive
* Linting
* keyboard navigation where it was used earlier
* can remove the unused totals calculated serverside in productledger
* spinner and loading bars
* Activate Guard for Employee Function tabs
* Progress for Fingerprint uploads
* deleted reconcile and receipe features as they were not being used
* focus the right control on component load
2018-06-09 17:05:11 +05:30