Commit Graph

91 Commits

Author SHA1 Message Date
Johannes Lötzsch
871a4c0852 frontend hotfix: prevent jumping of table 2022-03-14 16:27:49 +01:00
Johannes Lötzsch
c0c7da457c
Merge pull request #7 from internet4refugees/feature/split-pane-map
clean up and split pane with map
2022-03-14 16:24:25 +01:00
381d53ccd8 get original functionality from main working again 2022-03-14 15:32:57 +01:00
654e1da0c2 pass additional props to wrapper 2022-03-14 14:22:03 +01:00
36d752610a managed filtering
gives the ability to pass filtered data to outer elements
2022-03-14 14:18:29 +01:00
97236fdd59 add Splitpane with map 2022-03-14 13:46:38 +01:00
de8b222a2e clean up and fix type definitions 2022-03-14 13:46:38 +01:00
05cf024e0b add ide specific files to ignore list 2022-03-14 13:46:38 +01:00
c8b4619e0c separate definitions from table 2022-03-14 13:46:38 +01:00
Johannes Lötzsch
31bf7a263f schema: prepared geocoding
TODO: replace mock_geocoding by real geocoding on import + serving from db
2022-03-14 12:27:09 +01:00
Johannes Lötzsch
4fd80a04d4 fix: StringFilter behaviour when undefined 2022-03-14 00:12:29 +01:00
Johannes Lötzsch
3e5a367dba fix: react dependencies 2022-03-13 23:53:05 +01:00
Johannes Lötzsch
9114c0fa03 additional writable columns
+ stacked columns
2022-03-13 23:37:29 +01:00
Johannes Lötzsch
57fa871354 writable column (first version)
TODO:
* save author (+timestamp)
* other additional columns
* show updated table while still writing+refetching
2022-03-13 01:06:16 +01:00
Johannes Lötzsch
570f33986a frontend: filter date_from with beforeOrOn 2022-03-12 18:12:14 +01:00
Johannes Lötzsch
2728e722a2 frontend: added columnsRaw.defaultWidth 2022-03-12 17:48:09 +01:00
Johannes Lötzsch
1ac545ae87 backend: support persistent JWT_SECRET 2022-03-12 16:04:21 +01:00
Johannes Lötzsch
220dacb949 frontend: minimal Login
from https://github.com/johannesloetzsch/swlkup/blob/master/frontend/components/Login.tsx
2022-03-12 14:03:35 +01:00
Johannes Lötzsch
5abc0e7a8b backend: defscalar int_string
Using `defscalar` fixes introspection errors.

Be aware, that UNION types are not implemented till now:
https://github.com/ajk/specialist-server/issues/3

Also `->Int` was moved from an explicit mapping postprocessing function
into the conformer.
2022-03-12 01:44:19 +01:00
Johannes Lötzsch
b851df5476 backend: ->Int fallback to string 2022-03-11 22:59:37 +01:00
Johannes Lötzsch
0231a5b4f9 lifeline_wpforms: fix language separator 2022-03-11 22:43:46 +01:00
Johannes Lötzsch
e1eed84bd7 updated README.md 2022-03-11 19:04:19 +01:00
Johannes Lötzsch
1f5154e2af backend: warning when started without DB_SEED 2022-03-11 17:10:07 +01:00
Johannes Lötzsch
73bdda8fa2 frontend: readable error messages when fetching fails 2022-03-11 16:46:22 +01:00
Johannes Lötzsch
df0df1affd cors: allow-origin FRONTEND_BASE_URL 2022-03-11 16:37:24 +01:00
Johannes Lötzsch
a51eddd187 hotfix: Box height 100%->100vh 2022-03-11 14:28:09 +01:00
Johannes Lötzsch
f05a49d695
Merge pull request #6 from internet4refugees/feature/search-frontend
finalize merge
2022-03-11 13:35:37 +01:00
5a8aa98b9a add onUpdateBounds to callback deps 2022-03-11 12:11:18 +01:00
a9f6bfadeb put container into wrapper 2022-03-11 12:11:16 +01:00
baed5ba267 wrap updateBounds into useCallback
avoids call on every rerender
2022-03-11 12:11:06 +01:00
28f422162d use split pane for separation 2022-03-11 12:10:45 +01:00
a6da732354 fixing ts buid errors and warnings 2022-03-11 12:09:57 +01:00
cfe65adda7 add leaflet map 2022-03-11 12:09:38 +01:00
62465086fc add leaflet libs i
from @montgommery because of resizing bug in the new version
2022-03-11 12:09:27 +01:00
0fdfabda73 include id property 2022-03-11 12:09:03 +01:00
992ec2cf7b add missing dependency for codegeneration 2022-03-11 12:09:03 +01:00
af089ea2c6 refactor to allow declarative value mapping 2022-03-11 12:09:01 +01:00
93464045bf use split pane for separation 2022-03-11 12:08:35 +01:00
82cc673803 make table 100% height 2022-03-11 12:08:10 +01:00
1e8b5456c7 add missing language selector component 2022-03-11 12:08:10 +01:00
2054df1103 make table 100% height 2022-03-11 12:08:10 +01:00
c216030c8a show i18n table capability 2022-03-11 12:08:08 +01:00
Johannes Lötzsch
31dcf44d75 close direct access without reverse proxy 2022-03-11 10:23:02 +01:00
Johannes Lötzsch
1c28b834a3 csv2edn 2022-03-10 23:17:49 +01:00
Johannes Lötzsch
7e763ee267 deployment: sops + basicAuth
created with htpasswd from pkgs.apache2-utils

+ ensured the database is not seeded with test logins
2022-03-10 22:27:18 +01:00
Johannes Lötzsch
64be1ecd70 frontend: title 2022-03-10 13:38:04 +01:00
Johannes Lötzsch
1c330ebaef deployment: added nginx+acme
Services are till now started via:

backend/src/beherbergung/webserver/handler.clj

(wrap-cors :access-control-allow-origin [#"http://localhost:3000" #".*.broenradio.org"]

> lein run

frontend/search/public/config.json

{"base_url": "https://search.beherbergung.broenradio.org",
 "backend_base_url": "https://backend.beherbergung.broenradio.org"}

> yarn && yarn build && yarn start
2022-03-10 13:17:53 +01:00
Johannes Lötzsch
38a9850142 frontend: optimized fetching behaviour 2022-03-10 11:50:33 +01:00
Johannes Lötzsch
d48e138422 frontend: column order 2022-03-10 11:28:40 +01:00
Johannes Lötzsch
f19516a7a4 deployment: added dns 2022-03-10 10:17:51 +01:00