Christoph Lienhard
101817276f
#11 Add create/edit/delete functionality for categories
2020-12-29 18:29:50 +01:00
Christoph Lienhard
9a1dc02a7f
#11 Finally align structure of question on category in db
2020-12-29 17:58:20 +01:00
Christoph Lienhard
3bb827b963
#11 Fix uncontrolled/controlled selection warning
2020-12-29 17:43:45 +01:00
Christoph Lienhard
825a7ae736
#11 Show line breaks properly in question/category description
2020-12-29 17:39:17 +01:00
Christoph Lienhard
dd48494ca9
#11 Implement delete question
2020-12-29 17:26:52 +01:00
Christoph Lienhard
7370a7c493
#11 Implement AddQuestion
...
Also introduce notistack/snackbar to handle async error/success messages
2020-12-29 13:02:50 +01:00
Christoph Lienhard
dd2f414f00
#11 backend: nodeId -> id and id -> rowId
...
To be more in sync with typical graphql servers.
2020-12-29 11:35:34 +01:00
Christoph Lienhard
96e78eb7f5
#11 Implement edit question
2020-12-29 01:02:57 +01:00
Christoph Lienhard
b6358c357b
#11 Refactor queries and mutations
...
* Use more apollo naming convention
* Take care of possible null/undefined fields in responses
2020-12-28 21:22:32 +01:00
Christoph Lienhard
57c338b7ef
#11 Add ChangeCategoryDialog w/o logic
...
For this the ChangeQuestionDialog was refactored to reuse several sub-components
2020-12-28 20:13:57 +01:00
Christoph Lienhard
ea21617cf8
#11 Add ChangeQuestionDialog w/o change functionality
2020-12-28 18:48:50 +01:00
Christoph Lienhard
524739cbbb
#11 Use nodeId (ID) instead of id (number) as identifier for apollo cache
2020-12-28 14:46:45 +01:00
Christoph Lienhard
8c450790c3
#11 Added Categories list to main page
...
For that the Question.tsx component was refactored to be reusable
for categories.
2020-12-28 13:47:30 +01:00
Christoph Lienhard
ebb276696e
#11 Introduce husky and run all tests before each commit
...
Also: Fix integration tests ;-)
2020-12-28 13:25:18 +01:00
Christoph Lienhard
c5e43a0bac
#11 Display list of questions
2020-12-28 13:15:24 +01:00
Christoph Lienhard
0fab3386bf
#11 Introduce question component
2020-12-28 12:50:26 +01:00
Christoph Lienhard
9cb707eede
Merge pull request 'feature/#7' ( #18 ) from feature/#7 into develop
...
Reviewed-on: Netzbegruenung/candymat#18
2020-12-27 22:17:52 +01:00
Christoph Lienhard
1dc967e23a
#7 Improve success/error messages in sign-up/in process
...
* Successful sign-up now redirects to sign-in and displays a success message on that page
* All messages, error or success, are now mui Alerts, which looks much nicer.
2020-12-27 22:12:16 +01:00
Christoph Lienhard
206a28d3b9
#7 Deal with render inside render error on sign-in
2020-12-27 21:18:41 +01:00
Christoph Lienhard
2979f1b1af
#7 Introduce proper error handling on sign-up
2020-12-27 21:18:15 +01:00
Christoph Lienhard
b6f6adac22
#7 Disable empty First- and Last Names as well as empty Passwords on Sign-Up
2020-12-27 21:18:15 +01:00
Christoph Lienhard
103a137a62
#7 Add integration tests for basic client routing
2020-12-27 21:18:14 +01:00
Christoph Lienhard
331e511368
#7 Add integration tests for sign-in process
...
Missing in this commit:
* take care of router stuff
2020-12-27 21:18:14 +01:00
Christoph Lienhard
6f277ef21f
#7 Make graphql calls more type-safe
2020-12-27 21:18:13 +01:00
Christoph Lienhard
88a4263b82
#7 Move typescript stuff to devDependencies
...
use latest version of typescript but at least 3.8
2020-12-27 21:18:13 +01:00
Christoph Lienhard
f25df13b26
#7 Actually register person in the backend on sign up
2020-12-27 21:18:12 +01:00
Christoph Lienhard
ba4a18e52d
#7 Added SignUp component and setup routes
...
Also:
* Commented out password forgot stuff and referenced to #17
2020-12-27 21:18:12 +01:00
Christoph Lienhard
720d8b5eed
#7 Introduce react-router
2020-08-23 18:37:08 +02:00
Christoph Lienhard
d9471d7842
Fix issue with redaktions app immediately closing down in docker-compose setup
...
See https://github.com/facebook/create-react-app/issues/8688#issuecomment-602110747
2020-08-23 18:36:08 +02:00
Christoph Lienhard
8c199b1fdb
Merge pull request 'feature/loginlogout' ( #16 ) from feature/loginlogout into develop
...
Reviewed-on: Netzbegruenung/candymat#16
2020-08-23 15:08:52 +02:00
Christoph Lienhard
0c66d6291b
#6 Implement logout
...
Also include a very basic main page with an app bar where one can logout.
2020-08-23 15:05:50 +02:00
Christoph Lienhard
c3ab197049
#6 Implement basic login
...
Including graphql backend
2020-08-23 13:13:29 +02:00
Christoph Lienhard
3b15baf5ac
#6 Add example material-ui login page
...
w/o further adjustments other than copyright statement.
Added materialui/core and icons as dependencies
2020-08-23 13:13:20 +02:00
Christoph Lienhard
47988c1e43
#6 Start from scratch with redaktionsapp
2020-08-23 13:13:09 +02:00
Christoph Lienhard
584e21d5c1
Add more test data
2020-08-22 21:39:19 +02:00
Christoph Lienhard
c2f5773d7d
Point submodule to full working user-app version
...
Also add a little bit to README.md
2020-08-22 21:23:51 +02:00
Christoph Lienhard
354d66cdb0
Added cors to postgraphile
...
Necessary for all apollo clients to work properly.
However, this is not optimal since preflight caching is not working properly.
This will be addressed in issue #15
2020-06-14 03:04:59 +02:00
Christoph Lienhard
3e858135fb
Merge remote-tracking branch 'origin/develop' into develop
2020-06-13 21:46:44 +02:00
Willi Junga
9838fdfa7e
more cleanup
...
* improve imprint
* rename party -> person in route
* remove unnecessary components in about and partner
* fix email addresses
* remove most of the theses for easier manual testing (will be replaced by backendcalls in the future anyways)
2020-06-13 14:50:10 +02:00
Willi Junga
c2d26108f6
Merge pull request 'security-setup' ( #3 ) from security-setup into develop
...
seems to work in my qubes VM
2020-05-31 15:31:10 +02:00
Christoph Lienhard
5e69a5f31e
Move password related env variables to docker compose .env file
2020-05-31 14:45:20 +02:00
Christoph Lienhard
2068dfd1af
Massively extend documentation
2020-05-31 14:45:20 +02:00
Christoph Lienhard
02845e65db
Introduce JWT Authentication
...
Added features:
* register
* authenticate
* RLS as summarized in security_considerations.md
Improve
* Use enhanced graphiql version to be able to set authentication headers
Remove:
* docker-compose.prod.yml since it is not updated for now (and we do not have a production env)
2020-05-31 14:29:17 +02:00
Christoph Lienhard
cce047a060
Merge pull request 'Basic Cleanup in docker-compose files for convenience and Readme fixing' ( #9 ) from dev-pm-cleanup into develop
2020-05-31 10:26:01 +02:00
Christoph Lienhard
eebf3a0989
Remove docker-compose.prod.yml since not actively maintained and there is no production
2020-05-31 10:17:13 +02:00
Pit-Storm
125da0b3d1
updated readme to provide correct information
2020-05-30 19:49:17 +02:00
Pit-Storm
b6dfb2e791
cleaned the compose files for convenience and more straigt foreward service access e.g. changed ports for redaktion-app and graphql
2020-05-30 19:47:59 +02:00
Pit-Storm
f398d01e68
... and set recent commit of submodule to recent commit of tracked branch
2020-05-30 14:47:49 +02:00
Pit-Storm
d21ad67195
set submodule tracking branch to develop-candymat
2020-05-30 14:46:47 +02:00
Christoph Lienhard
770a0ee0c0
Update commit id for candymat-user-app to current master
2020-05-30 14:25:35 +02:00