281 Commits (6e479406b9aa219990dacea5b0ff56e3c4805c0f)
 

Author SHA1 Message Date
MrWaradana 6e479406b9 add export route and add image data on response for equipment master 2 weeks ago
MrWaradana 7a4050ee4a feat: Add request validation middleware to enforce security and data integrity checks on items_per_page limitation 2 weeks ago
MrWaradana 18df242c6b feat: route for export all data 2 weeks ago
MrWaradana b11edfd98c jenkins 2 weeks ago
MrWaradana fa22434416 clean uneccesary testing 2 weeks ago
CIzz22 6268859798 Merge pull request 'chore: Comment out all test setup and fixtures in `conftest.py`.' (#3) from CIzz22/be-lcca:main into main
Reviewed-on: DigitalTwin/be-lcca#3
2 weeks ago
Cizz22 f4fee20c1f chore: Comment out all test setup and fixtures in `conftest.py`. 2 weeks ago
CIzz22 1c6176c1f7 Merge pull request 'fix dockerfile' (#2) from CIzz22/be-lcca:main into main
Reviewed-on: DigitalTwin/be-lcca#2
2 weeks ago
Cizz22 b20b8d5f47 fix dockerfile 2 weeks ago
CIzz22 2dd0ce14ec Merge pull request 'main' (#1) from CIzz22/be-lcca:main into main
Reviewed-on: DigitalTwin/be-lcca#1
2 weeks ago
Cizz22 36a1a60c2d Merge branch 'main' of 145.223.23.187:DigitalTwin/be-lcca 2 weeks ago
Cizz22 f26c4a736f Merge branch 'main' of 145.223.23.187:CIzz22/be-lcca 2 weeks ago
MrWaradana 99023ef295 add test guide markdown 2 weeks ago
MrWaradana 20786afa06 refactor: Update Pydantic schemas by removing redundant `nullable` attributes and add comprehensive test execution documentation. 2 weeks ago
Cizz22 8d9ce1ae90 feat: Improve logging with user context and error IDs, enhance request tracing, and strengthen security middleware with RCE/path traversal detection and pagination validation. 2 weeks ago
MrWaradana b0b68b06d3 unit test 2 weeks ago
MrWaradana f0142044cd update replace cost equipment logic 2 weeks ago
CIzz22 f978d883f6 Update 'Jenkinsfile' 3 weeks ago
CIzz22 07e2d75cb5 Update 'Jenkinsfile' 3 weeks ago
MrWaradana 9f9ef4e99d remove starletteHTTPException 3 weeks ago
MrWaradana f1fab9b1a3 fix to add starlette error handler import 3 weeks ago
MrWaradana 9876a4147d add sql alchemy error handler 3 weeks ago
MrWaradana 886fdaf3d2 configure exception handlers 3 weeks ago
MrWaradana 783841d37e add validation errors 4 weeks ago
MrWaradana 512031bf88 fix loggin level no error 4 weeks ago
MrWaradana 090dd1ff64 feat: Implement a simulation mode for equipment prediction and EAC, and extract execution time formatting into a helper function. 4 weeks ago
MrWaradana 498244052b feat: Implement reliability-based CM cost prediction using historical cost per failure and document the new prediction logic. 4 weeks ago
MrWaradana fbab85ff50 fix: Correct double backslash escaping of newlines in SSE responses. 4 weeks ago
MrWaradana 75bec015ea feat: Add token parameter to simulation endpoints and remove sign-in retry logic from Prediksi module. 4 weeks ago
MrWaradana 4ce0ad9765 feat: Set forecasting start year to acquisition year, archive historical data only when the acquisition year changes, and prevent duplicate history entries. 4 weeks ago
MrWaradana 8797b8cd96 feat: Enhance logging by defaulting request ID to SYSTEM, filtering internal attributes, and adding request lifecycle logs in the middleware. 4 weeks ago
MrWaradana c81bb21ef5 feat: Implement ANSI color formatting for JSON log output when writing to a terminal. 4 weeks ago
MrWaradana 1e8633ac5d add location logger json format 4 weeks ago
MrWaradana dac589ad9a refactor: standardise API update and delete endpoints to use POST method with `/update` and `/delete` paths. 4 weeks ago
MrWaradana 762460baa5 feat: Introduce `DEV_USERNAME` and `DEV_PASSWORD` configuration variables and use them as default credentials for sign-in functions. 1 month ago
MrWaradana 0c4e62a761 feat: Compile XSS and SQLi string patterns into regex objects. 1 month ago
MrWaradana 67342b463c feat: Add JSON logging, centralize request ID context management, and introduce schema validation for year and sequence fields. 1 month ago
MrWaradana 7bcc102f1b Refactor attribute access for clarity and robustness, and enhance subprocess command execution by using a list for arguments. 1 month ago
MrWaradana f381a46186 feat: Introduce `EquipmentHistoricalMasterData` model and expose replacement history in equipment details. 1 month ago
MrWaradana 8913ba6611 feat: Localize server-sent event messages from English to Indonesian. 1 month ago
MrWaradana bc56649e0f fix: Add lowercase `Content-type` header to event-stream responses for improved compatibility. 1 month ago
MrWaradana 27954e3a17 fix: Add standard Server-Sent Events headers to StreamingResponse for improved client compatibility. 1 month ago
MrWaradana 50153ef230 refactor: reorder the `get_equipment` endpoint definition within the router. 1 month ago
MrWaradana 3d0df4408b refactor: relocate the `get_equipment` endpoint to an earlier position in the router. 1 month ago
MrWaradana 0af5cceabd feat: Implement acquisition data change detection, historical archiving, and conditional re-insertion before simulation. 1 month ago
MrWaradana 47c333b318 fix: Re-insert actual data using `query_data` after database commit. 1 month ago
MrWaradana 6995aca3db Fix: Corrected `raw_loss_output_MW` parameter to be a string literal in data insertion and service functions. 1 month ago
MrWaradana 8f3a74c597 feat: Implement historical data archiving for equipment when acquisition year or cost is updated. 1 month ago
MrWaradana 151489a642 feat: Stream real-time status updates during equipment processing, enhance prediction robustness by validating asset data, and remove `await` from EAC calculation calls. 1 month ago
MrWaradana 9e9b526d46 feat: Move and enhance `update_initial_simulation_data` to fetch acquisition year and cost from `wo_maximo` and update equipment records before simulation. 1 month ago