Commit Graph

112 Commits

Author SHA1 Message Date
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
Winzlieb - 79e5da864b
Merge pull request #3 from internet4refugees/feature/search-frontend 2022-03-09 17:30:29 +01:00
Winzlieb - dbef635f3c fix object columns to string 2022-03-09 17:29:39 +01:00
Winzlieb - 48f897a78e add moment js 2022-03-09 17:28:25 +01:00
Johannes Lötzsch c4955c067d
Merge pull request #2 from internet4refugees/feature/search-frontend
next project scaffold + table for filtering and search
2022-03-09 17:21:58 +01:00
Winzlieb - 7479369abd enable date filtering 2022-03-09 17:19:45 +01:00
Winzlieb - 36a37d1ea5 bootstrap table using reactdatagrid 2022-03-09 17:01:11 +01:00
Winzlieb - e2b6aaf5a0 provide first query components 2022-03-09 17:01:11 +01:00
Winzlieb - 1a9088e3e9 provide config for codegen 2022-03-09 17:01:11 +01:00
Winzlieb - 344d1a8d0a next project scaffold 2022-03-09 17:01:11 +01:00
Johannes Lötzsch cf6fe58760 provisional id 2022-03-09 16:29:47 +01:00
Johannes Lötzsch d07b57670c generated dataset + testcase for complete offer schema 2022-03-09 15:33:50 +01:00
Johannes Lötzsch 01e0db2004 mapping_lifeline_wpforms 2022-03-09 14:24:03 +01:00
Johannes Lötzsch 015561b6f8 added codegen
`npm run generate`
2022-03-09 12:39:49 +01:00
Johannes Lötzsch de7624072d remove org.webjars 2022-03-09 09:46:03 +01:00
Johannes Lötzsch 2b401ee296 hotfix introspection
For introspection, specialist server is picky on specs.
TODO: provide specialist-server.type fix working with generators
2022-03-09 09:43:36 +01:00
Johannes Lötzsch bcaa84c11c create random datasets from schema
TODO: cleanup/refactoring
2022-03-09 09:18:04 +01:00
Johannes Lötzsch e95311318e
Merge pull request #1 from PluggPreagar/main
graphiql - init web interface
2022-03-09 08:41:04 +01:00
pluggpreagar - e3fee57a94 graphiql - init web interface 2022-03-09 08:10:35 +01:00
Johannes Lötzsch 9bc11c5bb8 fixed: default value of :import-file 2022-03-09 07:43:51 +01:00
Johannes Lötzsch 18ac205302 get_offers resolver + unify function 2022-03-09 00:31:35 +01:00
Johannes Lötzsch 3480d5887c doc: frontend/search feature requests 2022-03-08 10:19:28 +01:00
Johannes Lötzsch fb4eed42a1 added: backend/test 2022-03-07 21:16:13 +01:00