Commit Graph
100 Commits
Author SHA1 Message Date
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
arttu cc4a5b5d5f Persist column filter state in url for locality table 2024-04-11 12:43:59 +03:00
arttu 95d06fc276 Add compression to backend 2024-04-11 11:10:56 +03:00
arttu 432b072dd0 Send only necessary fields for localities 2024-04-11 11:10:48 +03:00
arttu 4a9ee70f90 Show table and use actual data from backend 2024-04-11 10:55:18 +03:00
arttu 480196c3b3 Restructure RTK api and add localities api 2024-04-11 10:11:45 +03:00
arttu 7eb006f095 Remove ping backend 2024-04-11 09:48:09 +03:00
arttu cc65c6b209 Add requests-dir to backend gitignore 2024-04-11 09:34:22 +03:00
arttu 7d700ce729 Add locality router and getall route 2024-04-11 09:27:59 +03:00
arttu 05562344bb Rename now_loc service file 2024-04-11 09:26:26 +03:00
arttu fcc556df41 Add material-react-table 2024-04-11 09:25:39 +03:00
arttu ea77105644 Add info about sequelize type-problem 2024-04-10 20:00:26 +03:00
arttu c1eff88119 Add retries of db connection: otherwise fails on first run 2024-04-10 19:59:58 +03:00
arttu c14f7fb839 Add login validation errors 2024-04-10 13:00:40 +03:00
arttu edea5ba32b Make passwords use hashing 2024-04-10 12:58:53 +03:00
arttu 9e44902f1c Improve README, remove frontend/README.md 2024-04-10 10:34:19 +03:00
arttu 4844b81847 Use MUI in login form 2024-04-10 10:21:03 +03:00
arttu 3694af26c8 Justify things in navbar 2024-04-10 10:20:29 +03:00
arttu a6a998c29d Center content 2024-04-10 10:19:51 +03:00
arttu 9b154fbccb Add react-hook-form 2024-04-09 16:34:09 +03:00
arttu 069c67d7ca Add react-data-table-component 2024-04-09 16:22:23 +03:00
arttu cc627ae14f Improve logging 2024-04-09 16:22:12 +03:00
arttu 094d54a6db add dump directory to gitignore 2024-04-09 14:11:14 +03:00