65 Commits

Author SHA1 Message Date
entermex
bd688ecd6b Fix: proxyApiUrl in chat rooms for the avatars 2023-08-18 11:43:28 +02:00
ogerly
c8af90f0a6 add chat base-button in header menu 2023-07-05 15:51:55 +02:00
Markus
708c769a3b added chat code as plugin for client rendering 2023-07-04 21:42:14 +02:00
18ccddeaf8
fix translatability of maintenance page 2023-02-24 01:16:59 +01:00
Wolfgang Huß
67d01f8e32 Add mapbox 'MglFullscreenControl' 2023-01-10 11:25:27 +01:00
Wolfgang Huß
bde5002650 Add mapbox controls 2023-01-10 11:06:25 +01:00
9a3f88ca80
lint fix 2023-01-04 13:34:59 +01:00
be41815b1a
working prototype v-mapbox 2023-01-04 13:32:05 +01:00
Wolfgang Huß
0d44d8ae04 Cleanup
- Reduce tooltip delay to 750ms.
2022-09-26 11:42:44 +02:00
Wolfgang Huß
7f397b4669 Set Vue tooltip delay to 1500 ms and remove unneeded properties 2022-09-16 07:05:21 +02:00
Wolfgang Huß
652665d1fb Change naming and negation for better readability 2022-05-06 10:50:38 +02:00
Wolfgang Huß
ac16345def Adjust comment 2022-01-21 21:11:06 +01:00
Wolfgang Huß
8a20b994cf Fix Cypress test 2022-01-21 21:09:01 +01:00
Wolfgang Huß
d0985ca804 Add comment for 'sameSite' cookie option 2022-01-20 18:16:15 +01:00
Wolfgang Huß
33f0459883 Get browser language 2022-01-20 13:31:43 +01:00
Wolfgang Huß
d491c1bad6 Add expiration date and sameSite attribute to lacale cookie 2022-01-19 09:24:27 +01:00
Wolfgang Huß
b266e81727 Add comments to truncate functions 2021-03-29 13:03:59 +02:00
Wolfgang Huß
6f79bba69d Fix truncate via adding 'truncateStr'
- Because the 'truncate' function uses 'trunc-html' which seem not to function anymore like expected what has to be investigated further.
2021-03-29 11:27:27 +02:00
Moriz Wahl
ae61baadfb add plugin vue-observe-visibility 2021-03-01 15:24:38 +01:00
Wolfgang Huß
ac27d6ac96 Resolve WEBSOCKETS_URI config problem
- Value was not overtaken from .env.
2021-02-15 15:42:00 +01:00
Moriz Wahl
43852a5f26 name of cookie is set by metadata.js 2020-12-21 13:41:42 +01:00
Moriz Wahl
5cfb73572e further rebranding 2020-11-16 09:43:15 +01:00
roschaefer
77b031083e Make four static pages
* imprint
* data privacy
* terms of service
* code of conduct
2020-06-15 14:08:45 +02:00
roschaefer
4a910664eb Parameterize entire html of terms+conditions 2020-06-14 17:57:40 +02:00
Raphael Beer
38233da6d0
review: apply suggestions
Co-Authored-By: Alina Beck <alina.beck@mail.com>
2020-04-09 23:01:54 +02:00
Raphael Beer
15d5933821
Change: v-focus directive looking for input +
Searches children and uses first <input> child.
  if target of v-focus is not instanceof HTMLInputElement

  Also, adds vue-directives to storybook and tests
2020-03-25 12:51:38 +01:00
roschaefer
276ea79e8f Update prettier to v2 2020-03-24 21:11:11 +01:00
Robert Schäfer
512ef672bf
feat: Introduce graphql image type (#3043)
* refactor(graphql): Introduce image type

* Undo changes to .travis.yml

* chore: Upgrade travis to node LTS

- URL is available since v10

* chore: use lts

Co-authored-by: mattwr18 <mattwr18@gmail.com>
2020-03-16 15:32:19 +01:00
roschaefer
2e19cf6592 fix(nuxt-env): Configuration issue with websockets
After some intensive debugging I found out that `req` (on the server)
and `nuxtState` (on the client) have access to the configurations
changed at runtime.

How did I debug it:
```
yarn run build
env WEBSOCKET_URI=whatever yarn run start
```
I also put a `console.log` into `plugins/apollo-client.js`.
2020-02-17 23:30:50 +01:00
mattwr18
6cf067937d Clean up
- remove the code for subscriptions to Post as we won't implement this
  at this time... I've created a new branch with the code that can be
built on later
- remove unused subscription path
- add possibility to use websockets uri for production env.
2020-02-05 20:24:23 +01:00
mattwr18
2f43069ea0 Subscribe to notifications/remove polling
- We want to publish when a notification occurs for a specific user, not
  have the client poll the backend for ever user every minute.

- Co-authored-by: @Tirokk <wolle.huss@pjannto.com>
2020-02-05 17:37:38 +01:00
roschaefer
3be5dee08b Draft: Setup subsriptions for backend+frontend
Please clean up this commit and squash it later on.
2020-01-24 17:25:45 +01:00
Alina Beck
a210dd599d Merge branch 'master' into migrate-styleguide-icons 2019-11-20 19:35:03 +03:00
Alina Beck
4347bdd1ed replace require.context babel plugin 2019-11-20 15:12:51 +03:00
Robert Schäfer
f6550b9b00
Merge pull request #2248 from Human-Connection/2240-infinite-scrolling-out-of-control
Fix infinite scrolling out of control
2019-11-15 17:03:31 +01:00
mattwr18
a6c169c2e0 Fix infinite scrolling out of control 2019-11-15 14:35:08 +01:00
roschaefer
db25403429 Fix lint 2019-11-15 11:20:50 +01:00
Alina Beck
2504fff3ba make BaseComponents globally available 2019-11-14 13:56:53 +03:00
Mogge
8728feaa37
fix: Only one ellipse is displayed 2019-10-21 11:33:26 +02:00
roschaefer
b2dccfb51c refactor: improve locale imports
While refactoring the login form component I found many inconsistent
ways of importing the list of locales. So I decided to refactor the
imports altogether. Don't use `process.env` to import locales!
2019-10-15 16:41:33 +02:00
mattwr18
d6ae96f94b Use same npm package as excerptMiddleware in truncate
- We want to remove the html from the count, and trucate just the
content; otherwise, we can have a situation where a person mentions
several people, but only the the first user's name appears, and not a
predetermined number of characters.
2019-09-23 08:47:10 +02:00
Wolfgang Huß
199079cff8 Merge branch 'master' of https://github.com/Human-Connection/Human-Connection into 1455-fix-update-comment-list 2019-09-12 08:46:36 +02:00
roschaefer
d6b7374ddb Change strategy, only build docker image
I couldnt' get the local build to run with the alternative
`nuxt.config.js`. So I'm building docker only now.
2019-09-11 08:43:26 +02:00
Wolfgang Huß
9f203cda3b Refactor by melting EditCommentForm.vue into CommentForm.vue 2019-09-09 13:06:44 +02:00
roschaefer
c585b23d7a Fix notification queries in webapp 2019-08-30 16:00:32 +02:00
Wolfgang Huß
f653bac9e1 Merge branch 'master' of https://github.com/Human-Connection/Human-Connection into 1017-send-out-notifications-on-create-omment
# Conflicts:
#	backend/src/middleware/handleHtmlContent/handleContentData.spec.js
2019-08-16 18:22:36 +02:00
Wolfgang Huß
efb5c75c24 Refactor after Roberts suggestions, number I
Start writing tests
2019-08-16 16:56:14 +02:00
Robert Schäfer
f5c939472b Fix console.errors in frontend tests
@MoldaB here's how you can register plugins in a frontend test. Pro tip:
You can run `yarn run test --run-in-band` to find out where the
console.errors come from. Jest, by default, runs in parallel which makes
it a little difficult to debug errors that don't fail the test.
2019-08-15 11:08:42 +02:00
molda
8f7ec2efe6 added vue-infinite-scroll plugin 2019-08-15 11:08:42 +02:00
Robert Schäfer
5d57f7b376 No global import - Thank you @JorgenVatle! ❤️
In version `v4.2.0` of `vue-sweetalert-icons` the local import is back, see:
https://github.com/JorgenVatle/vue-sweetalert-icons/issues/3#issuecomment-519497796
2019-08-09 13:21:54 +02:00