Commit Graph
267 Commits
Author SHA1 Message Date
ShootingStar91 bd9da2caba Locality > Taphonomy: Make adding collection method work 2024-08-23 10:34:50 +03:00
ShootingStar91 7a80632ae0 Fix time bound write route 2024-08-23 10:34:19 +03:00
ShootingStar91 2001131358 Add creating synonym to species 2024-08-23 09:56:23 +03:00
ShootingStar91 cad7701bff Write: Log also newly created id's 2024-08-23 09:55:50 +03:00
ShootingStar91 d73fc8a048 Write: Skip logging if nothing was written 2024-08-22 22:00:38 +03:00
ShootingStar91 30e8e0cbd2 Write: Add id column for sed_struct 2024-08-22 21:43:05 +03:00
ShootingStar91 6043acfaca Add WIP delete route & service for locality 2024-08-22 21:39:15 +03:00
ShootingStar91 61d4491a6e Time unit: Add sequence route and make sequence properly editable 2024-08-22 13:58:38 +03:00
ShootingStar91 271f296938 Block middleware: ignore trailing slash 2024-08-22 13:48:26 +03:00
ShootingStar91 6ba6544c66 Remove comment 2024-08-22 08:39:49 +03:00
ShootingStar91 99e00d0177 Fix log rows not showing up in time unit updates 2024-08-22 08:34:44 +03:00
ShootingStar91 7094d2a6b3 Added reference saving in update events 2024-08-22 08:14:30 +03:00
ShootingStar91 8d99117467 Show time bound information in time unit details 2024-08-21 21:27:46 +03:00
ShootingStar91 f808ed80f9 Fix missing arguments in write routes 2024-08-20 15:21:27 +03:00
ShootingStar91 e825f81165 Fix type #no-deploy 2024-08-20 13:33:07 +03:00
ShootingStar91 775afe5fcc Add edit action type to writeContext, meaning update/add type is logged correctly 2024-08-20 11:58:32 +03:00
ShootingStar91 e4023054b6 Fix deletions showing id's as new value in log rows instead of old value 2024-08-18 23:34:15 +03:00
ShootingStar91 3386f2ee4e Clean up code & fix reference types 2024-08-18 22:59:27 +03:00
ShootingStar91 7cdc69ab83 Cleanup some errors from code, write routes etc 2024-08-18 19:51:32 +03:00
ShootingStar91 dad9e541fe Merge branch 'reWrite2' 2024-08-18 19:39:38 +03:00
ShootingStar91 c470e122a5 Large fix/refactor/documentation of write feature
Fixed log rows and update entries not being correctly created for relation entries, fixed action type showing correctly, logging deletions also. Refactored some of write code and commented it.
2024-08-18 19:37:10 +03:00
arttu 104a8460d8 Remove filtering of 'private' species: it is deprecated, all are public 2024-08-16 21:52:32 +03:00
ShootingStar91 2a8b1bd635 Combined export is processed in chunks to save memory. Also using view 2024-08-15 13:04:23 +03:00
ShootingStar91 62dad97ff9 Adjust time bound rights 2024-08-13 11:37:57 +03:00
ShootingStar91 ba6ef6dc3e Fix eslint error & remove husky script 2024-08-08 13:04:28 +03:00
ShootingStar91 522875ff5e Combined export: Refactoring & text update 2024-08-08 12:44:04 +03:00
arttu 61c4fb692b Try to use mariadb connector for the combined export in order to do it quicker & less memory 2024-08-07 20:05:37 +03:00
arttu 4f061b7034 Improve error handler: Log internal errors 2024-08-07 19:20:13 +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 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 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 e120809d3d Minor internal changes 2024-08-05 15:51:09 +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 95228e7353 Fix dev dockerfile: remove node-production #no-deploy 2024-08-03 18:25:21 +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 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 8a812ebdf1 Remove user creation secret 2024-07-19 17:33:46 +03:00
ShootingStar91 79719fd5ad Fixes to urls, allowedUrls, and env variables 2024-07-19 15:03:23 +03:00