100 Commits
Author SHA1 Message Date
arttu 4d6bbc3f30 Add feedback link to frontpage 2024-08-07 14:15:09 +03:00
arttu 490c5d79cc Revert "Remove limit from combined export"
This reverts commit ee614faf02.
2024-08-07 12:57:17 +03:00
arttu ca7a5d3594 Remove husky (precommit thing) 2024-08-07 12:22:44 +03:00
arttu ee614faf02 Remove limit from combined export 2024-08-07 11:37:58 +03:00
arttu d1f8e9bf5a Write: Remove unnecessary 'finally' block 2024-08-07 11:37:58 +03:00
ShootingStar91 a561a060f1 Email: Fix time limit 2024-08-06 14:32:22 +03:00
arttu 5e35a5a65e Configure email sender as object instead 2024-08-06 12:45:43 +03:00
arttu 4def880488 Tiny code changes 2024-08-06 12:25:16 +03:00
arttu f84f4a8e48 Remove json-override from response logger as res.json calls .send causing double logging 2024-08-06 12:24:54 +03:00
arttu 7bed6a842b Add mesowear score calculation (results not yet verified) 2024-08-06 12:04:52 +03:00
arttu 26e0bab5eb Remove trailing slashes from api calls and block middleware 2024-08-06 12:01:00 +03:00
arttu 6186d23ac4 Add email to allowed routes 2024-08-06 12:00:25 +03:00
arttu 302e714e64 Fix deploy pipeline, again! 2024-08-06 11:23:21 +03:00
arttu 5bc68b1c08 Try to fix deploy pipeline 2024-08-06 11:15:09 +03:00
arttu 3a6e5026d5 Fix new notification not re-starting hide timer 2024-08-06 10:44:17 +03:00
ShootingStar91 929aec5b8c Remove unnecessary checkRowRestriction functions #no-deploy 2024-08-05 22:54:03 +03:00
ShootingStar91 d613d6178e Make age filters range-type 2024-08-05 22:49:46 +03:00
arttu e073096f63 Fix login expiration notification not disappearing #no-deploy 2024-08-05 21:10:08 +03:00
arttu 3d8e5f1122 [Frontpage]: Fix issues link 2024-08-05 21:09:34 +03:00
arttu 09315e083a [Workflow: Build] Add old image deletion 2024-08-05 20:12:18 +03:00
arttu 0fcbbbf27f Add simple tests to check frontend email user rights #no-deploy 2024-08-05 20:02:07 +03:00
arttu 979c112791 Add email sending feature 2024-08-05 17:12:15 +03:00
arttu 9d38f692ea Fix write routes block being applied always in dev 2024-08-05 17:08:19 +03:00
arttu c8778672fd Fix comment in env template 2024-08-05 17:07:29 +03:00
arttu e120809d3d Minor internal changes 2024-08-05 15:51:09 +03:00
arttu a3eff9fe0f Improve login errors and password change notifications 2024-08-05 11:58:33 +03:00
arttu 365b7eecad Add skipping tests in case of build yaml is only changed 2024-08-05 11:58:14 +03:00
arttu a2c9c3ede8 [Workflow: Build] Fix skip conditions again 2024-08-05 11:36:38 +03:00
arttu df6eb3bcb5 [Workflow: Build] Fix skip conditions 2024-08-05 11:35:55 +03:00
arttu 34d9acb501 [Workflow: build] Fix syntax 2024-08-05 11:18:44 +03:00
arttu 0dda819a99 Fix hominin skeletal remains status by checking as lowercase 2024-08-05 11:09:15 +03:00
arttu f6e7def0ac Backend dev.Dockerfile: Fix npm ci order, caused bcrypt issue
The COPY command replaced the container's node_modules (installed with npm ci) with the host systems node_modules, and for some reason this caused (on one PC) an issue where bcrypt.hash hanged forever.
2024-08-05 11:03:33 +03:00
arttu dc3609654c Add hominins calculated value 2024-08-05 10:23:14 +03:00
arttu c29f0e59cf Audit fix frontend npm dependencies 2024-08-03 18:35:34 +03:00
arttu 95228e7353 Fix dev dockerfile: remove node-production #no-deploy 2024-08-03 18:25:21 +03:00
arttu 10bbd41467 [Workflow: Build] Deploy skipping only checked for push event, plus requires hashtag #no-deploy 2024-08-03 14:54:54 +03:00
arttu 9203fec531 Skip deploy if commit has: no-deploy 2024-08-03 14:52:45 +03:00
arttu 787521fcfb Remove accidentally pushed file 2024-08-03 14:52:12 +03:00
arttu cd3aff0e45 [Workflow: Build] Configure staging build on pushes to main 2024-08-03 14:16:28 +03:00
ShootingStar91 f8a5fcc3c0 Fix request.user typing 2024-08-02 21:43:46 +03:00
ShootingStar91 7bbdb79263 [Backend] Add time of request to logs 2024-08-02 21:26:53 +03:00
ShootingStar91 61a16201b5 Fix docker build command options 2024-08-02 15:27:14 +03:00
ShootingStar91 aa67d28763 Debug build workflow 2024-08-02 15:15:53 +03:00
ShootingStar91 596c38c6bb Update env files 2024-08-02 14:49:13 +03:00
ShootingStar91 daafb3069e Handle build env vars via dockerfile args 2024-08-02 14:41:32 +03:00
ShootingStar91 0db334a4f1 [Workflow: Build] Hardcore backend url 2024-08-02 13:51:37 +03:00
ShootingStar91 eaba79fc3a [Workflow: Build] Add backend url env 2024-08-02 13:23:08 +03:00
ShootingStar91 026274e347 [Workflow: Build] Change latest tagging 2024-08-02 12:15:55 +03:00
ShootingStar91 8244210b7d Create build.yaml 2024-08-02 11:43:43 +03:00
ShootingStar91 d4f83c30c9 [Person table] Show person initials and user role in table 2024-08-02 10:15:27 +03:00
ShootingStar91 136add4af8 [Combined export] Show loading icon 2024-08-02 09:58:48 +03:00
ShootingStar91 c3aaded700 [Combined export] Raise limit to 4000 2024-08-02 09:58:32 +03:00
ShootingStar91 c9f9b8091e [Combined export] Change null values to empty 2024-08-02 09:58:11 +03:00
ShootingStar91 0bfc76ad6a Fix export 2024-07-22 16:08:53 +03:00
ShootingStar91 f5748dd5cb Adjust user creation more, allow route 2024-07-22 14:58:30 +03:00
ShootingStar91 b31698d649 Fix lint error 2024-07-22 14:31:36 +03:00
ShootingStar91 310b30f4f2 Adjust user creation route 2024-07-22 14:30:11 +03:00
ShootingStar91 25a257b60c Add password change route to allowed writes 2024-07-22 14:23:49 +03:00
ShootingStar91 c57f4f594c Add limitations to combined export 2024-07-19 17:52:41 +03:00
ShootingStar91 8a812ebdf1 Remove user creation secret 2024-07-19 17:33:46 +03:00
ShootingStar91 da83e0c00c Add log of frontend ENV 2024-07-19 15:49:43 +03:00
ShootingStar91 79719fd5ad Fixes to urls, allowedUrls, and env variables 2024-07-19 15:03:23 +03:00
ShootingStar91 efc0b4d878 Fix static build dockerfile, again 2024-07-19 15:02:25 +03:00
ShootingStar91 3f33e1830b Add locality & species combined export feature 2024-07-19 14:19:34 +03:00
ShootingStar91 e95603bbd0 Add paths-ignore also to lint.yaml 2024-07-18 23:43:04 +03:00
ShootingStar91 0f3a4be557 Update init.md 2024-07-18 23:42:20 +03:00
ShootingStar91 dab04e5d54 Update ignore paths in workflow 2024-07-18 23:42:10 +03:00
ShootingStar91 1d993c67cc Add ignore-paths to test workflow 2024-07-18 23:37:31 +03:00
ShootingStar91 7cc032efec Delete user rights doc file 2024-07-18 23:20:13 +03:00
ShootingStar91 e668ab0e0d Update README command list 2024-07-18 23:20:06 +03:00
ShootingStar91 fca9f79cc9 Update initialization guide 2024-07-18 23:11:52 +03:00
ShootingStar91 cf546ff53b Fix .env files more 2024-07-18 22:54:49 +03:00
ShootingStar91 d3795798b4 Revert wrong .anon.env change 2024-07-18 22:48:28 +03:00
ShootingStar91 41bdaccb26 Refactor notification state to be handled inside context provider 2024-07-18 22:16:40 +03:00
ShootingStar91 a575c1e477 Show notification to change password on first login 2024-07-18 21:44:41 +03:00
ShootingStar91 77d5e65fb6 Add notification 2024-07-18 21:41:07 +03:00
ShootingStar91 59441f0e1b Fix static built docker 2024-07-18 20:37:28 +03:00
ShootingStar91 aec46a98ef Fix first login and password changing logic 2024-07-18 20:37:16 +03:00
ShootingStar91 47555ec604 Add md5-package 2024-07-18 11:53:32 +03:00
ShootingStar91 37b6a7bced Update Login-page styles 2024-07-18 11:53:15 +03:00
ShootingStar91 b192444dcb Update anon env 2024-07-18 11:52:55 +03:00
ShootingStar91 b2e33d7c45 Add logic for first login and change pw prompt
Hashes don't match; need fixing
2024-07-17 23:56:59 +03:00
ShootingStar91 1ae8578108 Login expiration improved: It will be refreshed if possible, and if not, user is logged out and redirected to login page.
Added an environment variable for the grace period.
2024-07-17 22:15:38 +03:00
ShootingStar91 e71798f55e Fix navigation causing re-render loop in locality details 2024-07-17 21:26:50 +03:00
ShootingStar91 8cacd2e26d Remove dev-env template and update main template 2024-07-17 11:04:53 +03:00
ShootingStar91 ea2ccb5b7e Skip fetching time unit if creating new 2024-07-16 23:09:38 +03:00
ShootingStar91 b3e58007d2 Implement calculated crown-values 2024-07-16 23:09:16 +03:00
ShootingStar91 711e13d9b9 Update and document .env.template with comments 2024-07-16 18:25:04 +03:00
ShootingStar91 e2f0117502 Update env template file 2024-07-16 18:11:59 +03:00
ShootingStar91 2a14945ecf Make tabs scrollable if they don't fit screen 2024-07-16 18:07:29 +03:00
ShootingStar91 3d5866caee Fix table re-render loop 2024-07-16 16:52:58 +03:00
ShootingStar91 dc5e6442ee Add calculation of mean hypsodonty 2024-07-16 16:44:40 +03:00
ShootingStar91 bccf9b996e Return state handling in url to table view, was broken much earlier 2024-07-16 15:31:17 +03:00
ShootingStar91 7e70334c8e Fix export: Uses shown values of table, objects don't cause trouble anymore 2024-07-16 15:15:57 +03:00
ShootingStar91 352544be13 Don't send unused fields with time unit table request 2024-07-16 15:14:58 +03:00
ShootingStar91 3469acee7f Change password: Add check of old password, add validation 2024-07-16 13:46:26 +03:00
ShootingStar91 cf9f955892 Add user right checks to some detail routes 2024-07-16 13:20:16 +03:00
ShootingStar91 2e656207d7 Remove unnecessary noRights export object 2024-07-16 12:22:53 +03:00
ShootingStar91 5cf69cf604 Change import order 2024-07-16 12:22:27 +03:00
ShootingStar91 f383432386 Rename change password form 2024-07-16 12:10:29 +03:00