summaryrefslogtreecommitdiff
path: root/test (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-02-15Linter: Fix all lint errorsPhilip Molares2-8/+8
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-08-23Add test for dropbox csp ruleErik Michelson1-0/+10
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2020-08-23Added dropbox.appKey to test config to fix failing testsErik Michelson1-1/+4
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2020-02-01Update RevealJS to version 3.9.2Sheogorath1-1/+1
This update of revealJS helps us to get rid of the headjs depedency integration using webpack. It updates reveal.js to 3.9.2 and updates the csp hash accordingly for using the slide mode. Background for this update is the critical security vulnerability described by snyk in their disclosure: https://snyk.io/vuln/SNYK-JS-REVEALJS-543841 Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2019-05-13polyfilling scrypt for node 8.5+Claudius1-1/+1
Signed-off-by: Claudius <opensource@amenthes.de>
2019-05-13asyncified setting and verifying the passwordClaudius1-4/+31
Signed-off-by: Claudius <opensource@amenthes.de>
2019-05-13Adding the first few lines of user model testClaudius1-0/+37
Signed-off-by: Claudius <opensource@amenthes.de>
2019-03-17Use libravatar as drop-in replacement for gravatarSheogorath1-2/+2
Since libravatar got a default fallback to Gravatar and in generell allows federated image hosting for avatars this shouldn't break any existing implementations. The federation functionality is not added yet. This would require to use the libravatar library. Details: https://wiki.libravatar.org/api/ Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2019-03-03Fix names with spaces in letter-avatarsSheogorath1-2/+41
Seems like there is a possible problem when a name containing a space is passed to this function. using urlencode on the name should fix possible problems here. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2019-01-21Add linting for testsSheogorath1-7/+9
The tests are currently not linted. This causes a different coding style than the rest of the sources. This patch adds the `./test` directory to the eslint testing and fixes linting for existing tests. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2019-01-19Add tests for csp.jsSheogorath1-0/+124
Since we lack of tests but got some great point to start, let's write more tests. This patch provides some basic tests for our CSP library. It's more an integration than a unit test, but gets the job done. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-12-22Add a test for gravatar urlsDaan Sprenkels1-0/+11
Signed-off-by: Daan Sprenkels <hello@dsprenkels.com>