2891 Commits

Author SHA1 Message Date
Matt Rider
30d0ff3cc7 Search for button with text "Comment" in cypress test 2019-04-26 11:31:18 -03:00
Matt Rider
8d7fdec17f Update the cypress test for new button text 2019-04-26 09:22:57 -03:00
Matt Rider
5891129662 Ordered comments like alpha, move HcCommentForm, mobile responsive
- in the first instance, we will be importing posts/comments from the alpha, so to maintain consistency, we've ordered them alike. In the future, we could support user choice of order.
- Gives more space for HcCommentForm, user can see comments added to list, helps with mobile responsiveness

Co-authored-by: Tirokk <wolle.huss@pjannto.com>
Co-authored-by: Mike Aono <aonomike@gmail.com>
2019-04-26 08:57:29 -03:00
Matt Rider
05ad8ccc30 Remove unused variable/method 2019-04-25 16:36:59 -03:00
Matt Rider
c387760046 Extract CommentForm component
- Cypress test is now passing as a result

Co-authored-by: Tirokk <wolle.huss@pjannto.com>
2019-04-25 14:20:00 -03:00
Matt Rider
3882cfcc48 Merge branch '260-add-comment-form' of github.com:Human-Connection/Human-Connection into 260-add-comment-form 2019-04-25 10:11:47 -03:00
Matt Rider
092dcd7122 Get cypress test passing in a hacky way 2019-04-25 10:10:08 -03:00
Robert Schäfer
629df47104 Merge remote-tracking branch 'origin/master' into 260-add-comment-form 2019-04-25 14:24:57 +02:00
Robert Schäfer
3cfa5b0cd4
Merge pull request #485 from Human-Connection/353-restore_neo4j_backup
Refactor maintenance-worker docker image
2019-04-25 12:48:57 +02:00
Robert Schäfer
43ac10f7d7 Nice catch @Tirokk 2019-04-25 11:43:43 +02:00
Robert Schäfer
7d7e039adc
Merge pull request #500 from Human-Connection/dependabot/npm_and_yarn/backend/eslint-plugin-jest-22.5.0
Bump eslint-plugin-jest from 22.4.1 to 22.5.0 in /backend
2019-04-25 11:43:01 +02:00
Robert Schäfer
3eaedd8f70
Merge pull request #501 from Human-Connection/dependabot/npm_and_yarn/webapp/tippy.js-4.3.0
Bump tippy.js from 4.2.1 to 4.3.0 in /webapp
2019-04-25 11:42:34 +02:00
Wolfgang Huß
18458d23f5 Localisations corrected
Had some old failures and some criss-cross with German and English.
2019-04-25 10:36:03 +02:00
dependabot[bot]
418b93e4fd
Bump tippy.js from 4.2.1 to 4.3.0 in /webapp
Bumps [tippy.js](https://github.com/atomiks/tippyjs) from 4.2.1 to 4.3.0.
- [Release notes](https://github.com/atomiks/tippyjs/releases)
- [Commits](https://github.com/atomiks/tippyjs/compare/v4.2.1...v4.3.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-25 04:54:26 +00:00
dependabot[bot]
473bf63946
Bump eslint-plugin-jest from 22.4.1 to 22.5.0 in /backend
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 22.4.1 to 22.5.0.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v22.4.1...v22.5.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-25 04:46:46 +00:00
Matt Rider
bc35ab835f Modify cypress tests, attempt to get them to work
- they are still not triggering a change in form.content, therefore sending an empty string and either failing the back end validations, or if removed creating a comment with an empty string
2019-04-24 20:56:57 -03:00
Matt Rider
7fafa1eb6e Get clear working properly 2019-04-24 20:56:15 -03:00
Robert Schäfer
c350fb37a9 Fine tuning documentation 2019-04-24 23:55:49 +02:00
Robert Schäfer
86c0307ddb Reclaim volume claims for maintenance worker 2019-04-24 23:46:06 +02:00
Robert Schäfer
3edb590849 Dedicate extra chapter to volumes 2019-04-24 22:48:39 +02:00
Matt Rider
05d393064a Disable Submit Button if comment is less than 3 characters 2019-04-24 14:58:22 -03:00
Matt Rider
f6cf05743a Add users to post for mentions 2019-04-24 12:47:20 -03:00
Matt Rider
d72b2ed271 Merge branch '260-add-comment-form' of github.com:Human-Connection/Human-Connection into 260-add-comment-form 2019-04-24 12:30:49 -03:00
Matt Rider
8ae632be7b Fix component test, comment out form submission from cypress
- Added $t function to test now that it is being localised
- We are submitting the form by clicking on the button as a normal user would
- Cypress test still broken due to peculiarities of tiptap editor
2019-04-24 12:28:53 -03:00
Wolfgang Huß
bf19fc2b28 Added some translations 2019-04-24 17:10:02 +02:00
Wolfgang Huß
fa80716f6b Merge branch '260-add-comment-form' of https://github.com/Human-Connection/Human-Connection into 260-add-comment-form 2019-04-24 16:42:39 +02:00
Robert Schäfer
783d34f53a Fix README for minikube 2019-04-24 14:30:35 +02:00
Matt Rider
546e2c99ad Localise text, remove frontend validations
- validations are not working for the editor, they only work for our ds-input
2019-04-24 09:15:41 -03:00
Matt Rider
0078b743fe Validate comments length, presence/test
- Co-authored-by: Wolfgang Huss <wolle.huss@pjannto.com>
- Co-authored-by: Mike Aono <aonomike@gmail.com>
2019-04-24 09:11:33 -03:00
Wolfgang Huß
3fa064986e Merge branch '260-add-comment-form' of https://github.com/Human-Connection/Human-Connection into 260-add-comment-form 2019-04-24 14:09:41 +02:00
Robert Schäfer
7f2df14ef3 Update human connection specific configuration 2019-04-24 12:52:10 +02:00
Matt Rider
23b0bbfbbe Merge branch 'master' of github.com:Human-Connection/Human-Connection into 260-add-comment-form 2019-04-24 07:41:25 -03:00
Robert Schäfer
31cff10206 Clean up kubernetes config for maintenance-worker
We're going into the direction of removing the backend and database
deployments, accessing `/uploads` and `/data` through the maintenance
worker pod and carrying out tasks from there.
2019-04-24 01:10:35 +02:00
Robert Schäfer
6ed5ad58d5 Merge maintenance with deployment 2019-04-24 00:27:58 +02:00
Robert Schäfer
f1c28ee0cc Further structuring in https + dashboard chapters 2019-04-24 00:15:08 +02:00
Robert Schäfer
8b83a27da1 Structure DO and minikube into separate pages 2019-04-23 23:56:35 +02:00
Matt Rider
11a1f7991e Remove PostQuery.js
- to be added in a separate ticket(?)
2019-04-23 18:19:48 -03:00
Matt Rider
3b00a34199 Add cypress step to check the editor is cleared 2019-04-23 18:19:11 -03:00
Robert Schäfer
543b7c6888 Configure neo4j deployment to have 1 pod max 2019-04-23 23:12:16 +02:00
Robert Schäfer
c50394630c Simplify maintenance-worker once again
After learning how to restore a neo4j database in kubernetes I believe
the best way to seed is to seed locally, create a backup and then
restore the backup to the kubernetes cluster.
2019-04-23 23:12:16 +02:00
Robert Schäfer
56c0f8dfdc Create private SSH key from base64 encoded env 2019-04-23 23:12:16 +02:00
Robert Schäfer
abc17b2adc Fix import_legacy_uploads 2019-04-23 23:12:16 +02:00
Robert Schäfer
a5f8426325 Add missing env, import mongo collections to neo4j 2019-04-23 23:12:16 +02:00
Robert Schäfer
af4f391e28 Simplify migration script 2019-04-23 23:12:16 +02:00
Robert Schäfer
542c37a32b Make maintenance-worker independent of backend 2019-04-23 23:12:16 +02:00
Robert Schäfer
45c0dbd5a8 Provision maintenance-worker to seed/reset db 2019-04-23 23:12:16 +02:00
Robert Schäfer
be9980f2aa Tag maintenance image consitently 2019-04-23 23:12:16 +02:00
Robert Schäfer
c7a08b792e Move maintenance & neo4j in dedicated folders 2019-04-23 23:12:16 +02:00
Robert Schäfer
0352154742 Removing unused docker-compose.yml in backend/ 2019-04-23 23:12:00 +02:00
Robert Schäfer
77ac0ce7a6 Rename db-migration-worker to maintenance-worker 2019-04-23 23:12:00 +02:00