Commit Graph

84 Commits

Author SHA1 Message Date
Winzlieb - 05cf024e0b add ide specific files to ignore list 2022-03-14 13:46:38 +01:00
Winzlieb - 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
Winzlieb - 5a8aa98b9a add onUpdateBounds to callback deps 2022-03-11 12:11:18 +01:00
Winzlieb - a9f6bfadeb put container into wrapper 2022-03-11 12:11:16 +01:00
Winzlieb - baed5ba267 wrap updateBounds into useCallback
avoids call on every rerender
2022-03-11 12:11:06 +01:00
Winzlieb - 28f422162d use split pane for separation 2022-03-11 12:10:45 +01:00
Winzlieb - a6da732354 fixing ts buid errors and warnings 2022-03-11 12:09:57 +01:00
Winzlieb - cfe65adda7 add leaflet map 2022-03-11 12:09:38 +01:00
Winzlieb - 62465086fc add leaflet libs i
from @montgommery because of resizing bug in the new version
2022-03-11 12:09:27 +01:00
Winzlieb - 0fdfabda73 include id property 2022-03-11 12:09:03 +01:00
Winzlieb - 992ec2cf7b add missing dependency for codegeneration 2022-03-11 12:09:03 +01:00
Winzlieb - af089ea2c6 refactor to allow declarative value mapping 2022-03-11 12:09:01 +01:00
Winzlieb - 93464045bf use split pane for separation 2022-03-11 12:08:35 +01:00
Winzlieb - 82cc673803 make table 100% height 2022-03-11 12:08:10 +01:00
Winzlieb - 1e8b5456c7 add missing language selector component 2022-03-11 12:08:10 +01:00
Winzlieb - 2054df1103 make table 100% height 2022-03-11 12:08:10 +01:00
Winzlieb - 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
root fcc22aaf7d deployment: trivial setup
TODO:
* systemd-service
* reverse-proxy
2022-03-10 02:23:44 +01:00
root 4402cebab6 deployment: added server config 2022-03-10 01:31:06 +01:00
Winzlieb - 09259d997f
Merge pull request #5 from internet4refugees/feature/search-frontend 2022-03-09 22:01:18 +01:00
Winzlieb - 5b2a80a909 fixing some type errors 2022-03-09 22:00:10 +01:00
Johannes Lötzsch 03f209f0bd fixed: test after date was modified in sample-data 2022-03-09 18:33:49 +01:00
Johannes Lötzsch 82a669207e
Merge pull request #4 from internet4refugees/feature/search-frontend
add custom renderer for bool and email
2022-03-09 18:30:59 +01:00
Winzlieb - 8fdb3293ff add custom renderer for bool and email 2022-03-09 18:23:27 +01:00