Commit Graph
100 Commits
Author SHA1 Message Date
arttu 294929ba19 Prepare production version of backend 2024-04-30 14:17:23 +03:00
arttu e62cd48fa9 Log db attempt host and port 2024-04-30 14:17:01 +03:00
arttu e45b8e9892 Remove unused dependencies / change to dev 2024-04-30 14:16:30 +03:00
arttu ced36d1892 Require login for all data in production, for now 2024-04-30 14:14:49 +03:00
arttu 0ad2af6aff Readme change 2024-04-30 11:28:59 +03:00
arttu 4507f4a9ea Rename Species file to SpeciesTable 2024-04-30 10:40:47 +03:00
arttu a883c857e0 Remove commented code 2024-04-30 10:40:37 +03:00
arttu 96b53851aa Merge species_list to development 2024-04-30 10:37:43 +03:00
arttu c5f9b5c498 Make TableView detail button url changeable 2024-04-30 10:33:44 +03:00
arttu c2409b319f Try to fix dockerfile frontend 2024-04-29 16:10:08 +03:00
arttu a2b0e6cbb2 Fix import issue 2024-04-29 15:44:02 +03:00
arttu 526a8904c2 Add LocalityTable.tsx which missed in the last commit 2024-04-29 15:24:59 +03:00
arttu 166dcb182e Add editabletable & rename localities to LocalityTable 2024-04-29 15:23:41 +03:00
arttu 9fe8d6831f TableView: Don't save state in url when in modal 2024-04-29 11:13:34 +03:00
arttu 4b9bfcd5ae Make TableView to have a version for selecting items; adjust modal styles 2024-04-29 10:35:04 +03:00
arttu 9b9e247aee Readme fix 2024-04-27 15:48:51 +03:00
arttu 35f2dc28de Add commands in readme 2024-04-27 15:44:59 +03:00
arttu 2c41fca2ab Make static build version work, also use volume for db better 2024-04-26 14:57:46 +03:00
ShootingStar91 fb6b8bdc37 Prod container stuff 2024-04-26 11:57:45 +03:00
ShootingStar91 b31c6b8f36 Use backend url from env variables 2024-04-25 19:13:56 +03:00
ShootingStar91 75b2c46e1f Set textfield value to '' instead of null 2024-04-25 19:13:27 +03:00
arttu 2103df0ca4 Add museum files 2024-04-25 11:17:44 +03:00
arttu 501c525ac3 Add shared types folder in root 2024-04-25 11:17:26 +03:00
arttu 4f31c586a1 Bring museum list into locality object 2024-04-25 11:16:23 +03:00
arttu 4907d1484f Fix key error 2024-04-25 11:15:26 +03:00
arttu d8f41388df Added modal component 2024-04-24 11:06:41 +03:00
arttu 62f59ae411 Added id-column which is hidden by default 2024-04-24 11:05:38 +03:00
arttu c64ea273f3 DetailView: Add component for multiselection 2024-04-24 10:12:48 +03:00
arttu 27347e33d2 Fix ArrayToTable so that the first column takes less space, rest more 2024-04-24 09:13:45 +03:00
ShootingStar91 17981dd980 DetailView: Add radio selection component 2024-04-24 09:05:42 +03:00
ShootingStar91 5a7147cfa0 Import types to frontend via single backendTypes-file 2024-04-23 12:55:53 +03:00
ShootingStar91 d0cfbd1afb Fix typo 2024-04-23 12:55:13 +03:00
arttu 374b6c3ef6 Adjust action column styles to suit compact view 2024-04-22 13:00:18 +03:00
arttu 9bd9f63285 Import locality from backend instead of copypaste 2024-04-22 12:50:12 +03:00
arttu d70cf7ea4a TableView: Improve table settings & shown items in toolbar 2024-04-22 12:49:49 +03:00
arttu a9ce1b847e Remove unused import 2024-04-22 11:04:33 +03:00
arttu a1de9ee43b Add path aliases 2024-04-22 10:49:21 +03:00
arttu 19f0159c3e In dev mode, expose ports only to localhost 2024-04-22 09:16:59 +03:00
arttu 56d15fed05 Improve model generation guide 2024-04-19 16:48:06 +03:00
arttu 690cfc9d10 Fix models problem, hopefully for good this time 2024-04-19 16:22:01 +03:00
arttu 8eeb244ae4 improve build dockerfile 2024-04-19 15:25:41 +03:00
arttu c374ca5a40 Only send private localities if user is logged in. Added login error message in frontend 2024-04-19 15:13:37 +03:00
arttu a8304f2b4b Adjust detail view styles 2024-04-19 14:37:44 +03:00
arttu 2dd0fe3411 Fix login valid env variable 2024-04-19 14:03:28 +03:00
arttu 107992b99e Improve userExtractor & add token expiration 2024-04-19 13:58:26 +03:00
arttu cbcbc594f1 Fix error handler, add tokenExtractor 2024-04-19 12:37:11 +03:00
arttu d17e895c99 Put middlewares into own folder 2024-04-19 12:05:58 +03:00
arttu b38ad6ad4a Add types file and send-logger 2024-04-19 12:04:11 +03:00
arttu 222a03b5c7 Backend: Add response logger & refactor 2024-04-19 12:01:55 +03:00
arttu 281e7fdb8b Send token with each request & Reset cache on logout/login 2024-04-19 10:59:40 +03:00
arttu e0bd9a6554 Remove unused imports from models 2024-04-19 09:40:02 +03:00
ShootingStar91 56a3df4b88 Fix windows hot reload 2024-04-18 19:27:19 +03:00
ShootingStar91 bbfc6d99a9 Revert "Fix sequelize-auto models issue"
This reverts commit aeea7aa5dd.
2024-04-18 19:05:26 +03:00
arttu d2809c2a4f Fix restriction status: changed to boolean on non-raw querying 2024-04-18 11:52:25 +03:00
arttu 89871a6d8a reformat doc links 2 2024-04-18 11:47:48 +03:00
arttu cf3dc81cb1 reformat doc links 2024-04-18 11:47:08 +03:00
arttu 5b7ac3475c Move class diagram and link it to README 2024-04-18 11:46:08 +03:00
arttu aeea7aa5dd Fix sequelize-auto models issue 2024-04-18 11:36:26 +03:00
arttu daffc5bed5 Remove console logs 2024-04-18 10:49:48 +03:00
arttu 701a739179 TableView: Also save pagination to url 2024-04-18 10:42:40 +03:00
arttu fc7185ddbd TableView: Save sorting state to url also 2024-04-18 09:55:58 +03:00
arttu 71f1637ddf Remove unnecessary typecast 2024-04-18 09:28:33 +03:00
arttu a359bde1fa Add more docs part 2 2024-04-17 16:46:20 +03:00
arttu 2723cb0daf Add more docs 2024-04-17 16:39:30 +03:00
arttu 07e7e16666 readme 2024-04-17 16:08:13 +03:00
arttu 3432de4bfe improve readme more 2024-04-17 16:07:33 +03:00
arttu 825e6cb3c0 Fix icons readme 2024-04-17 16:06:00 +03:00
arttu 7e741dd821 Restructure documentation 2024-04-17 16:04:36 +03:00
arttu 373742f8a6 Bring info about locality publicity, show icon 2024-04-17 15:51:01 +03:00
arttu 484a9d60f9 Remove unnecessary divs 2024-04-17 15:02:38 +03:00
arttu 1bf1b642c9 Style detail button 2024-04-17 14:59:49 +03:00
arttu d3cb538bd8 Fix login text firefox 2024-04-17 14:59:28 +03:00
arttu 066389ac54 Remove view-column header 2024-04-17 14:52:15 +03:00
arttu da2d3e932d Use real localities type 2024-04-17 14:49:09 +03:00
arttu 0ed7644d49 Remove unused imports 2024-04-17 14:46:31 +03:00
arttu 73c53b87cc Improve 'Action' Column: disable features & put icon 2024-04-17 14:41:04 +03:00
arttu 4d9729f698 TableView: Fix columnfilters not emptying from url 2024-04-17 14:10:52 +03:00
arttu 04d0668c0c Fix key warning 2024-04-17 14:07:33 +03:00
arttu 540290eb2f TableView: Always show filters 2024-04-17 12:25:16 +03:00
arttu e87011fcd1 Add locality tab 2024-04-17 11:56:30 +03:00
arttu 88cba6b4b4 Ivory cards & paper elevation 2024-04-17 11:56:19 +03:00
arttu 8de9c49dd6 Remove unused LabeledItems 2024-04-17 11:25:15 +03:00
arttu ee7926b4a0 Some styling changes 2024-04-17 11:24:28 +03:00
arttu 1c14e7f078 Move ArrayToTable and ArrayFrame to appropriate file 2024-04-16 20:22:35 +03:00
arttu 39eea288f6 Refactor age tab even neater 2024-04-16 20:19:22 +03:00
arttu 386024644b Write the rest of Age-tab 2024-04-16 20:05:20 +03:00
arttu 108c03632f Extract AgeFrame from AgeTab 2024-04-16 19:51:41 +03:00
arttu e88b0311d0 Replace LabeledItems with ArrayToTable: simpler & more powerful way to build a grid 2024-04-16 19:34:15 +03:00
arttu 433ad1ef30 Add height to make editing fields not change row height 2024-04-16 16:55:09 +03:00
arttu 58cc2892e4 Move labeledItems to FormComponents 2024-04-16 16:38:53 +03:00
arttu 211d687b00 More refactor to detailview 2024-04-16 16:37:10 +03:00
arttu cdab8fc7fe Reorder files/directories, also make DataValue edit component better 2024-04-16 15:57:08 +03:00
arttu 7535ebcf02 Add typesafe state handling to detail context 2024-04-16 15:08:14 +03:00
arttu 291d85ab76 Style edit button 2024-04-15 19:29:30 +03:00
arttu 56f71d7c39 First version of detail view with editable fields & generic type 2024-04-15 19:20:56 +03:00
arttu 2f88aa11e0 Loc detail: Improve return-button style 2024-04-12 17:55:18 +03:00
arttu e82d9eafc0 Loc details: Remove empty tab 2024-04-12 17:51:47 +03:00
arttu e21f25bb1c Table: Extract logic of table from localities component to re-usable one 2024-04-12 17:47:28 +03:00
arttu b745fe6ae6 Add view for locality details 2024-04-12 17:17:33 +03:00
arttu f735f9b561 Table: only load state from url on first render, not on every change 2024-04-12 14:44:42 +03:00