mattwr18
dfd30cbaac
Remove check for setting name to null or undefined
...
- this was making things more likely to fail from the frontend, we would
need to consider doing a db manipulation for users from the old alpha
who have user.name as null.
- it only protects against someone who bypasses our UI and sends a
message directly to the backend, but if they can do that we have bigger
problems.
2019-12-13 10:17:19 +01:00
mattwr18
d375ebe7d9
Write test/refactor tests/resolvers/middleware
...
- write tests for userMiddleware
- checks the functionality of nodes/locations middleware
- refactor to not allow users to update to remove their name
debatable whether we want that or not, but we do not allow users to
create accounts with no name, so we should be consistent, before we were
using neode to validate this, but we have are removing neode from
production code, so we must validate ourselves
- collate UpdateUser mutations to one
2019-12-12 18:14:47 +01:00
roschaefer
9e2baf25d2
Don't remove dots in emails
2019-11-28 11:22:09 +01:00
Alina Beck
a210dd599d
Merge branch 'master' into migrate-styleguide-icons
2019-11-20 19:35:03 +03:00
Alina Beck
77f4810ddc
set up global localVue
...
by setting up localVue with all required plugins (such as styleguide and vuex)
in a separate testSetup file we can avoid doing this individually in all component tests
the testSetup is executed before each test suite, so each test file gets a fresh
instance of localVue
2019-11-20 12:31:40 +03:00
Alina Beck
4e6572a042
replace ds-icon with base-icon
2019-11-19 12:26:07 +03:00
Robert Schäfer
735a31ed00
Merge pull request #2101 from Human-Connection/1747-show-shouts
...
1747 show shouts
2019-11-18 17:00:43 +01:00
roschaefer
36062ffa8c
Fix lint
2019-11-16 14:34:23 +01:00
roschaefer
56a940285b
refactor: translations, tests
2019-11-15 14:29:33 +01:00
ogerly
e7056dd100
fix lint
2019-11-15 14:29:33 +01:00
ogerly
958b88ceda
2106-unblock a user in the user settings
2019-11-15 14:29:33 +01:00
Alina Beck
6213a25355
Merge branch 'master' into 1747-show-shouts
2019-11-14 09:37:54 +03:00
Alina Beck
1625e0705e
run update mutation when submitting shouts form
2019-11-13 11:02:53 +03:00
Alina Beck
6e3bd19267
set up privacy page in settings
2019-11-12 19:13:56 +03:00
mattwr18
084388a21e
Follow new file structure
...
- avoid nested directories
2019-11-11 08:50:35 +01:00
roschaefer
20b47b873e
refactor: add new email, display server response
2019-11-05 15:23:31 +01:00
roschaefer
0cf59743ab
refactor: replace 'isemail' with 'validator'
...
..and use `normalizeEmail` everywhere in the webapp.
2019-11-05 00:24:12 +01:00
mattwr18
dab05d9e67
Fix embeds settings page
...
- Dockerfile was not copying providers.json
- Fix file path to providers.json
- Update template to show message based on allowEmbedIframes
Co-authored-by: Robert Schäfer <git@roschaefer.de>
Co-authored-by: Mike Aono <aonomike@gmail.com>
2019-10-11 14:01:39 +02:00
roschaefer
ba27d2189d
Remove obsolete code
2019-10-10 19:38:52 +02:00
roschaefer
465a46c8d4
refactor: reduce code on settings/embeds
2019-10-10 19:29:35 +02:00
roschaefer
c3b2b4fcac
Structure translations based on file locations
2019-10-10 18:27:56 +02:00
ogerly
dbbece43b5
List of providers is always visible, button color changed, info text adapted
2019-10-09 16:52:48 +02:00
Alexander Friedland
39b3d71be4
Merge branch 'master' into Allow_embedded_code_in_posts_permanent_memory
2019-10-07 10:35:04 +02:00
roschaefer
56ce95a6fd
refactor: follow review of @alina-beck + @mattwr18
2019-10-02 15:50:35 +02:00
mattwr18
263b7d0aea
Fix lint
2019-10-02 10:11:39 +02:00
roschaefer
4ac80b0d58
refactor: align submit buttons consistently
...
@alina-beck said we have most buttons left-aligned, so I went with that:
https://github.com/Human-Connection/Human-Connection/pull/1711#discussion_r329505767
Also this uses icon `envelope` for emails. This makes sense, because we
could use icon `at` for slugs.
2019-10-02 01:10:28 +02:00
roschaefer
01e583b45e
Translate backend error and avoid $toast
2019-10-02 00:54:01 +02:00
roschaefer
76841d27f1
Styling
2019-10-02 00:54:01 +02:00
roschaefer
573edce788
Show at least the error message in SSR
2019-10-02 00:54:01 +02:00
roschaefer
3e3452c7bc
Better help messages, styling
2019-10-02 00:54:01 +02:00
roschaefer
69cd41d3eb
Test email verification page
2019-10-02 00:54:01 +02:00
roschaefer
6a212fb668
Test verify-nonce page
2019-10-02 00:54:01 +02:00
roschaefer
f61441d3e6
Test my-email-address settings page
2019-10-02 00:54:01 +02:00
roschaefer
89cc6da5f1
Don't redirect if email change was not successful
2019-10-02 00:54:01 +02:00
roschaefer
9808e1c4f8
Validate different email address
2019-10-02 00:54:01 +02:00
roschaefer
69542617ac
Split routes in two
...
So, to get a direct link it's better to have one route that calls a
mutation as soon as it is visited.
2019-10-02 00:54:01 +02:00
roschaefer
0592f685f6
Basic email change works
2019-10-02 00:54:01 +02:00
roschaefer
80ce079920
Implement first page to change email address
2019-10-02 00:54:01 +02:00
Alexander Friedland
deb21f6edb
Merge branch 'master' into Allow_embedded_code_in_posts_permanent_memory
2019-09-25 19:11:05 +02:00
ogerly
e8f771b59a
first mega PR crazy update, all work
2019-09-25 18:39:01 +02:00
ogerly
044e2bfed9
Allow embedded code in posts permanent in database
2019-09-23 20:08:45 +02:00
ogerly
4b11168687
confirm embeded iframes only frontend style
2019-09-23 16:11:20 +02:00
ogerly
e4c7c1125d
zwischenspeichern
2019-09-23 09:11:41 +02:00
roschaefer
c378505293
Add one test case for update user form
2019-09-20 20:30:57 +02:00
roschaefer
b4ffa13517
Fix webapp tests by disabling the slug validations
2019-09-20 20:05:27 +02:00
roschaefer
be6c4a6f7c
Refactor to use FormSchema
...
That way we can re-use the code for slug validation in the
CreateUserAccount component
2019-09-20 20:05:27 +02:00
roschaefer
efe9c96edb
Obviously your own slug does not matter
2019-09-20 20:05:27 +02:00
roschaefer
e6d7d1a936
Fix #1650
2019-09-20 20:05:27 +02:00
mattwr18
2aef2add3d
Add temporarily console.log statements to debug failed API call
...
- in production environment, the user locationName is updated, but it is
failing the `createOrUpdateLocations` function in backend/src/middleware/nodes/locations.js
For some reason, it seems like the API call is coming back with
something other than what we are looking for.
Need help debugging... we can remove this code after we figure out
what's wrong
2019-09-09 12:53:47 +02:00
mattwr18
e819ade8cb
Add console.log statement on error to help debug
...
- Geolocation is working in development, but not on staging or
production
2019-09-09 09:54:38 +02:00