10ef0ab1c4
started backend test, fixed uniqueSlug
2019-04-30 19:05:03 +02:00
6de253fd32
Merge branch 'master' into 2019/kw15/User_can_change_its_username_to_emptystring
...
# Conflicts:
# webapp/components/_mixins/seo.js
# webapp/components/mixins/seo.js
# webapp/layouts/blank.vue
# webapp/layouts/default.vue
# webapp/mixins/seo.js
2019-04-19 12:09:24 +02:00
2efc77097f
match specification of Dennis - minimum 3 characters for username, no hint for user to change the username to "Anonymous", Toast error if userdata cannot be changed due to username restrictions, display "Anonymous" if no username is found in database (even tho this is against implemented rules)
2019-04-17 14:49:03 +02:00
e5f98f2cee
Merge branch 'master' into 2019/kw15/User_can_change_its_username_to_emptystring
...
# Conflicts:
# webapp/locales/de.json
# webapp/locales/en.json
# webapp/pages/profile/_id/_slug.vue
2019-04-17 13:59:30 +02:00
Robert Schäfer
65f96c2b28
Create notifications on UpdatePost, too
...
Note that we don't create duplicate notifications. I made use of the behaviour
of XSS-middleware: It removes all css classes from `<a>` anchors. Because
notifications rely on a css class `mention` which gets removed in a later
middleware, this gives us a nice behaviour for re-notifications without creating
duplicates. The downside is that it creates dependencies between middlewares and
it's not that obvious at all.
cc @mattwr18 @ulfgebhardt @appinteractive @Tirokk
2019-04-16 22:11:07 +02:00
Robert Schäfer
aa3762a095
Implement right order of notifications middleware
2019-04-16 17:48:42 +02:00
Robert Schäfer
b2d72ae74a
Implement parsing of mention links
2019-04-16 16:05:09 +02:00
Robert Schäfer
f30da038d9
Change backend test to parse html not plain text
2019-04-16 11:21:38 +02:00
Robert Schäfer
23a461d16e
Follow component directory strucutre in backend
2019-04-16 11:13:40 +02:00
Robert Schäfer
73f2ff59e4
Merge pull request #237 from Human-Connection/236-list-social-media-accounts
...
List socialMedia links
2019-04-15 12:07:10 +02:00
Robert Schäfer
0c8b478ce2
Update backend/src/middleware/passwordMiddleware.js
...
Co-Authored-By: Tirokk <wolle.huss@pjannto.com>
2019-04-12 17:32:20 +02:00
Matt Rider
366c5d776b
Fix lint
2019-04-11 22:28:18 -03:00
Wolfgang Huß
95a0567e69
Query of users "publicKey" 'throws "Not Authorised!"'
...
Changes password and permission middleware.
Thanks for your big help @roschaefer !
2019-04-11 20:01:20 +02:00
Wolfgang Huß
6794156c86
Merge branch 'master' of https://github.com/Human-Connection/Human-Connection into keep_private_rsa_key_secret_TirNew
2019-04-11 10:54:12 +02:00
Robert Schäfer
102a03f552
Merge remote-tracking branch 'origin/master' into 236-list-social-media-accounts
2019-04-10 15:17:18 +02:00
c70e6227ba
first implementation - unclear if specifications are correct
2019-04-10 13:35:24 +02:00
Robert Schäfer
b63200ac8e
Authorize and whitelist Notifications
2019-04-10 01:58:18 +02:00
Robert Schäfer
26caff5a9b
Fix lint
2019-04-10 01:58:18 +02:00
Robert Schäfer
0476c15163
Remove dots from matched @mention regex
2019-04-10 01:58:18 +02:00
Robert Schäfer
58019c8975
Avoid to send out notifications for email adresses
2019-04-10 01:58:18 +02:00
Robert Schäfer
771779348a
Fix test
2019-04-10 01:58:18 +02:00
Robert Schäfer
bab748e506
Create notifications on CreatePost
2019-04-10 01:58:18 +02:00
Robert Schäfer
4dead6e6f7
Sketch test to create a notificaion for a mention
2019-04-10 01:58:18 +02:00
Wolfgang Huß
a995c84ddf
Merge branch 'keep_private_rsa_key_secret' of https://github.com/Human-Connection/Human-Connection into keep_private_rsa_key_secret_TirNew
2019-04-05 18:43:47 +02:00
Wolfgang Huß
8713f61734
Added Tests to "user_management.spec.js"
...
Implemented suppression of "publicKey", now commented out for testing approach.
Use port 4001 for querying, but forgot that I have to generate the user on the same port, before I can query it with generated "publicKey".
Do this in next commit.
2019-04-05 17:44:43 +02:00
Matt Rider
24d4259510
Add validURLMiddleware, remove unused package, extract tests
2019-04-05 09:15:22 -03:00
Matt Rider
4d4978c0f2
Merge github.com:Human-Connection/Human-Connection into 236-list-social-media-accounts
2019-04-05 07:29:44 -03:00
Robert Schäfer
bb3a8525db
Only admins are allowed to query all notifications
2019-04-05 02:35:33 +02:00
Robert Schäfer
03d4c93f96
Add Notification type
2019-04-05 02:35:33 +02:00
Matt Rider
a51190d4e9
Add custom resolver for createSocialMedia
2019-04-04 15:43:06 -03:00
Robert Schäfer
8627d57906
Don't expose private RSA key
...
cc @Tirokk
2019-04-04 18:02:48 +02:00
Matt Rider
3f9916404e
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 236-list-social-media-accounts
2019-03-27 08:33:16 -03:00
Robert Schäfer
c9dfd0d294
Merge remote-tracking branch 'origin/master' into another-fix-of-activity-pub-implementation
2019-03-26 01:37:15 +01:00
Robert Schäfer
b1101bc03d
Merge pull request #239 from Human-Connection/238-default-feed-order
...
Order all resources by createdAt descending (as default)
2019-03-26 01:35:00 +01:00
Robert Schäfer
46c0d0659a
Fix routing/proxying of AP, works locally
...
RSA keys get seeded but not for tests
2019-03-26 01:24:52 +01:00
Matt Rider
e409d6508f
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 236-list-social-media-accounts
2019-03-25 17:32:06 -03:00
Robert Schäfer
b32c85b2de
Choose correct env var + proxy /activityPub
2019-03-25 15:52:34 +01:00
Robert Schäfer
dce9a3eea2
Better use defaultOrder only for posts
...
E.g. comments should be ordered exactly the opposite way.
2019-03-24 22:50:29 +01:00
Robert Schäfer
4d70ba68c5
Fix lint
2019-03-24 22:48:44 +01:00
Robert Schäfer
1cbab2a5c4
Implement #238
2019-03-24 19:58:17 +01:00
Robert Schäfer
b9a03b9b8e
Expose #238
2019-03-24 16:58:54 +01:00
Matt Rider
aca3562e22
Migrate PRs from archived repos to monorepo
...
Co-authored-by: Joseph Ngugi <jngugi88@gmail.com>
2019-03-22 14:44:43 -03:00
Robert Schäfer
9703e2d5e5
Import changes from @Tirokk
2019-03-21 23:53:29 +01:00
Robert Schäfer
7a72185c9e
Merging backend to master
2019-03-20 21:00:59 +01:00