Commit Graph

26 Commits

Author SHA1 Message Date
Kristaps Fabians Geikins b966f20fdb refactor(server): typescript support (#874)
Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
2022-08-04 14:21:39 +02:00
Fabians a10c49e731 feat: stream comment attachments 2022-06-28 15:26:38 +03:00
Fabians 1b963ee44d feat: smart text editor & integration into stream comments 2022-06-10 16:46:57 +03:00
Gergő Jedlicska 67cb97a262 gergo/testCommentsGQL (#775)
* yarn first go

* fix frontend build cache loader

* yarn workspaces built server Docker

* build(yarn): add workspaces plugin config

* chore(package defs): clean package*.json -s

* chore(gitignore): ignore yarn error log

* build(yarn): update yarn lock

* build(preview-service webpack): add extra resolved path to preview service webpack config

because of yarn package hoisting, there are no package level node_modules folder anymore.

* build(docker): update dockerignore with yarn specific configs

* build(docker): update Dockerfiles for yarn workspaces utilization

* ci(circleci): update server test job to yarn

* ci(circle): disable cache restore

* ci(circleci): trying the node orb yarn-run

* ci(circleci): yarn-run again

* ci(circleci): disable node orb

* ci(circleci): change base node image for tests

* ci(circleci): add yarn cache

* ci(circleci): remove node install step

* ci(circleci): add server specific cache archives

* ci(circleci): test build and publish

* ci(circleci): change npm auth method to suit yarn

* ci(circleci): trying new builder image

* ci(circleci): another base image, maybe this works

* ci(circleci): force a specific docker engine version

* ci(circleci): add yarn version plugin and its changes

* ci(circleci): cleanup and remove temp branch config

* chore(package defs): moving from npm run to yarn

* explicitly specifying webpack4 as a frontend dep

* chore(package defs): replace npm with yarn everywhere

* docs(root readme): update with some yarn specific docs

* test(server comments gql): add wip server comments gql tests

* test(server comments graphql): add missing test operations and generate a bunch of testcases

* test(server comments graphql api): fix all authz test cases for comments

* test(server comments service): fix comments service failing test

* fix(tests): do not look inside

Co-authored-by: Fabians <fabis94@live.com>
Co-authored-by: Dimitrie Stefanescu <didimitrie@gmail.com>
2022-06-02 11:15:27 +02:00
Kristaps Fabians Geikins e5880e73f2 feat(backend): comment reply text xss fix (#761)
* feat(backend): comment reply text xss fix

* fix(root): pre-commit npx to yarn

* chore(server): added test
2022-05-23 17:44:28 +03:00
Gergő Jedlicska 0ac118e05c (refactor) server for less app-root-path 2022-05-03 13:10:00 +02:00
Fabians 1c7436e7ff extra prefer-const & object-shorthand 2022-04-04 19:00:24 +03:00
Gergő Jedlicska 1355ddab6f style(all): some extra formatting fixes 2022-04-01 09:40:47 +02:00
Gergő Jedlicska 7906307a8f fix(server tests): fixed all non awaited rejected promisses 2022-03-31 15:21:13 +02:00
Gergő Jedlicska 569b4688fa style(all): reformat with print width 88 2022-03-29 19:46:49 +02:00
Fabians aa5e94d640 chore: reformatting everything with prettier 2022-03-29 17:12:31 +03:00
Dimitrie Stefanescu d0be5eaced tests(comments): exclude archived comms from resource total count calcs 2022-03-20 10:07:03 +00:00
Dimitrie Stefanescu 5ede207f7d feat(comments): adds comment counts to streams, commits and objects + tests 2022-03-19 20:50:52 +00:00
Dimitrie Stefanescu 663c158422 feat(comments): fixes some tests & resolvers 2022-03-19 14:46:13 +00:00
Gergő Jedlicska c6c86cdc7c test(server comments): cleanup tests 2022-03-17 21:50:46 +01:00
Dimitrie Stefanescu e9e96d26ab resolves merge conflicts 2022-03-17 17:54:08 +00:00
Dimitrie Stefanescu 2cf11831da test(comments): adds test for not commenting on resources not belonging to the stream 2022-03-17 17:10:22 +00:00
Gergő Jedlicska b8040eebb5 test(server comments): add archival tests 2022-03-17 17:58:09 +01:00
Dimitrie Stefanescu 9ab1fca8ed test(comments): adds viewed at test 2022-03-16 20:26:38 +00:00
Dimitrie Stefanescu 1c00fbd80b fix(comments): tests 2022-03-16 19:41:40 +00:00
Gergő Jedlicska 2463b84170 fix(server comments): update comments table migration, add some more tests 2022-03-16 09:43:31 +01:00
Gergő Jedlicska cdc77b1acb test(server comments): add more tests 2022-03-15 11:53:05 +01:00
Gergő Jedlicska 7dd1bfc8bb feat(server comments): add archival mutation to comments, query also supports it 2022-03-11 11:46:10 +01:00
Gergő Jedlicska 519ea2ec2c fix(server comments): fix pagination time confilct js <-> postgres 2022-03-11 10:31:59 +01:00
Gergő Jedlicska a9e545ae60 fix(server comments): no mandatory stream as comment target resource 2022-03-10 11:33:33 +01:00
Gergő Jedlicska f1276b03fe feat(server): add screenshot to comments 2022-03-09 12:36:10 +01:00