486 Commits

Author SHA1 Message Date
4b04a6bb5c
- fixed webfinger test to work with docker(hackfix)
- fixed permissions middleware to properly authenticate users
2021-01-22 16:53:13 +01:00
Brandon Tripp
e33da64c10
Merge pull request #4104 from Ocelot-Social-Community/bgt-german-umlaut-slug
[WIP] fix: 🍰 Issue #3504 umlaut encoding #3676
2021-01-21 15:39:52 -07:00
Moriz Wahl
ca74c91fc9
language detect: remove unwanted db fields 2021-01-21 13:30:56 +01:00
Moriz Wahl
250d231a74
auto detect language. Input field in contribution form removed. 2021-01-21 13:30:56 +01:00
Moriz Wahl
5559a9bc06
detect languages removes html tags before detection 2021-01-21 13:25:46 +01:00
Moriz Wahl
3bd8a531f1
basic tests for language detection 2021-01-21 13:25:46 +01:00
Moriz Wahl
f3847e5c97
setup middleware for language detection 2021-01-21 13:25:46 +01:00
Brandon Tripp
00e0ccd7a4 The uniqueSlug charmap option was set to the multicharmap in order to keep the modified german umlaut settings to overide the internal settings for other diacritics. The test cases strings were extended to improve coverage of diacritic removal. 2021-01-20 18:49:04 -07:00
Moriz Wahl
828ba7547f
Merge pull request #4134 from Ocelot-Social-Community/remove-categories
refactor: Disable Categories
2021-01-20 18:54:26 +01:00
Brandon Tripp
c8ac972e20 Linting fix. 2021-01-19 15:38:21 -07:00
Brandon Tripp
da99ee596e Linting for code changes. 2021-01-19 14:51:19 -07:00
Brandon Tripp
4c8eeb506e A charmap added for slug to transliterate the german umlauts and the spanish enya. The package was updated but does not accept the setting properly. 2021-01-19 14:51:19 -07:00
Brandon Tripp
9d19eab35b linting adjustment. 2021-01-19 14:51:19 -07:00
Brandon Tripp
a5da718bb0 A slight change to the test cases to make sure the encoding is working for German and Spanish. 2021-01-19 14:51:19 -07:00
Brandon Tripp
e22e15bc77 Changed the uniqueSlug setting to include the deutsch locale to properly handle umlauts and tests. 2021-01-19 14:51:19 -07:00
Moriz Wahl
df327c6a3d remove categories: clean up backend 2021-01-19 17:40:02 +01:00
Moriz Wahl
f73c40c252 removed categories from posts 2021-01-19 17:40:02 +01:00
Moriz Wahl
f20e17dcc1 query for validation of invite code 2021-01-12 21:25:25 +01:00
Moriz Wahl
9449a55d42 qyery for generated invite codes 2021-01-12 16:43:34 +01:00
Moriz Wahl
dd6cafed4c basic specs for inviteCodes 2021-01-11 21:25:02 +01:00
Moriz Wahl
a1967815bf further invite code 2021-01-07 13:30:11 +01:00
Moriz Wahl
e47671c52a further changed requested by Tirokk 2020-11-24 19:10:46 +01:00
Moriz Wahl
16cdcc921e further changes 2020-11-23 13:44:16 +01:00
Moriz Wahl
6454e686e9 changes requested implemented 2020-11-23 13:34:07 +01:00
Moriz Wahl
5cfb73572e further rebranding 2020-11-16 09:43:15 +01:00
Moriz Wahl
ecb0bb3766 Starting rebranding to ocelot.social 2020-11-10 12:08:44 +01:00
Moriz Wahl
bd962bbfcc merging rebranding branch from / 2020-11-10 10:28:20 +01:00
Moriz Wahl
a67b74cae0 backend for export user data 2020-09-24 17:24:27 +02:00
roschaefer
9bb827a8ee Remove name "Human Connection" in email templates 2020-06-15 15:13:36 +02:00
roschaefer
dd09dfa721 Replace welcome image in email templates 2020-06-15 14:54:03 +02:00
roschaefer
16c7be1cc4 Parameterize emails in backend 2020-06-05 16:49:32 +02:00
roschaefer
276ea79e8f Update prettier to v2 2020-03-24 21:11:11 +01:00
mattwr18
698c85b262 fix(backend): Obfuscate avatar/image fix test
- Then Image.url can be non-nullable because we return null if the
  resource is deleted.
2020-03-23 19:16:10 +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
da165906e2 DRY user.spec.js 2020-03-10 18:28:41 +01:00
ogerly
b23328a211 docs(setup): changes undone and set in own branch 2020-03-10 18:21:45 +01:00
ogerly
3d8fe4d850 feature: Delete_user_as_admin_through_API_only 2020-03-10 18:21:45 +01:00
mattwr18
2640fcf967
Merge pull request #3120 from Human-Connection/new-link-setup-db
docs(setup): Fix links in tests
2020-02-21 12:48:04 +01:00
Robert Schäfer
e164104791
Merge pull request #3075 from Human-Connection/3074-don’t-expose-all-properties-of-report
feat: 🍰 Expose sensitive report type to moderators only
2020-02-21 12:43:28 +01:00
ogerly
597913555e change: New Link, Learn how to setup the database 2020-02-20 23:17:20 +01:00
Wolfgang Huß
82f3eb2a29 Delete comments 2020-02-20 11:09:43 +01:00
Wolfgang Huß
4bd7f61fcc Refactor GQL schema, resolvers and moderators report list
- Co-Authored-By: mattwr18 <mattwr18@gmail.com>
2020-02-20 10:35:37 +01:00
Wolfgang Huß
3421afe4e0 Refactor tests, next step 2020-02-19 13:33:00 +01:00
Wolfgang Huß
f380915b2c Refactor GQL and tests, first approach 2020-02-19 08:09:14 +01:00
mattwr18
a346632fff Avoid running cypher statement if not needed
- it just feels safer to not run a cypher statement if there is no user
  in the idsOfUsers array. Why risk notifications pointing to empty
nodes? It doesn't seem like this happens, but I'm not sure how to write
a test to verify, and why run cypher statements, if there is no need to?
2020-02-18 23:19:14 +01:00
mattwr18
54caaaaa0a Remove unnecessary guard clause
- filter returns an empty array, and no notification is created if
  idsOfUsers is an empty array
2020-02-18 22:43:19 +01:00
mattwr18
7fe6fb110b Remove unnecessary negation of negation, refactor
- tests to use `toMatchObject`, which checks that only one notification
  is indeed created
2020-02-18 22:21:49 +01:00
roschaefer
f32bfc7e36 fix(subscriptions): Don't publish undefined
Fix #3088
2020-02-18 16:25:11 +01:00
Wolfgang Huß
ba3cfa8e04 Set sensible report properties to moderators only in the permissionsMiddleware 2020-02-14 16:52:51 +01:00
mattwr18
f16c8b27e7 Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1703-add-vue-apollo-subsriptions 2020-02-10 17:37:34 +01:00