5303 Commits

Author SHA1 Message Date
Dariusz Niemczyk 8b56a55906 Merge pull request #18318 from vector-im/palid/feature/css-hmr
Add CSS hot module reload
2021-08-04 11:07:05 +02:00
David Baker 15d42a2fd2 Merge pull request #6537 from matrix-org/dbkr/allchange
Switch to new changelog generator
2021-08-04 10:02:48 +01:00
David Baker c2a956d589 Merge pull request #18370 from vector-im/dbkr/allchange
Switch to new changelog generator
2021-08-04 10:02:37 +01:00
James Salter 57f5c30af8 Merge pull request #6532 from matrix-org/posthog-analytics
Reinstate Posthog analytics PR fixing type definitions via installing dev dependencies
2021-08-04 09:47:39 +01:00
James Salter 17b935cbc4 Add @sentry/types and rrweb-snapshot as dev dependencies
This is neccessary to resolve re-exported types referred to by posthog-js' type definitions.

This isn't ideal, but

* We intend to start using sentry anyway
* Discussion with posthog maintainers about rrweb-snapshot at https://github.com/PostHog/posthog-js/issues/252, perhaps we can find another solution soon
2021-08-04 09:34:12 +01:00
James Salter 4b78edd652 Remove patch-package and postinstall-postinstall 2021-08-04 09:32:01 +01:00
Jaiwanth c3995eea5e Merge branch 'develop' of github.com:vector-im/element-web into export-conversations 2021-08-04 11:11:42 +05:30
David Baker 1c10292343 Switch to new changelog generator
See https://github.com/matrix-org/matrix-react-sdk/pull/6537 / https://github.com/matrix-org/matrix-js-sdk/pull/1824
2021-08-03 18:10:36 +01:00
David Baker 612384a6a3 Switch to new changelog generator
allchange is typescript so has a 'prepare' script to tsc it into
javascript so it can be a binscript - hopefully this won't cause
it to make too much of a pain of itself causing tsc to run on every
yarn add/install
2021-08-03 18:03:46 +01:00
David Baker cfb1aefbc6 Update eslint-plugin-matrix-org 2021-08-03 17:17:20 +01:00
David Baker 28f5dc483b Update eslint plugin & fix silly indenting
As per https://github.com/matrix-org/eslint-plugin-matrix-org/pull/15
this caused a bunch of silly indenting to creep in, so this fixes it
back to the previous style.
2021-08-03 17:07:37 +01:00
James Salter c66d0017de Patch posthog's type definitions using patch-package
Remove definitions for sentry and rrweb-snapshot
2021-08-03 11:59:54 +01:00
James Salter dc7aad1abf Revert "Revert "Add support for Posthog Analytics under a labs flag""
This reverts commit c5ea253181.
2021-08-03 11:55:02 +01:00
James Salter c5ea253181 Revert "Add support for Posthog Analytics under a labs flag" 2021-08-03 07:30:02 +01:00
Jaiwanth 46e2f67f54 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into export-conversations 2021-08-03 10:03:16 +05:30
James Salter a65b41be63 Merge pull request #6495 from matrix-org/posthog-analytics
Add support for Posthog Analytics under a labs flag
2021-08-02 14:46:17 +01:00
Dariusz Niemczyk a9f3f873a5 Add a .env config and explanation how to use HMR 2021-08-02 14:38:25 +02:00
Dariusz Niemczyk b677edbc58 Make CSS Hot-reload work in a hacky way 2021-08-02 14:38:25 +02:00
RiotRobot 2504c062f1 Reset matrix-react-sdk back to develop branch 2021-08-02 13:20:41 +01:00
RiotRobot 9d356aa931 Reset matrix-js-sdk back to develop branch 2021-08-02 13:20:30 +01:00
RiotRobot 245d13875f v1.7.34 2021-08-02 13:16:47 +01:00
RiotRobot e7cb419902 Released js-sdk & react-sdk 2021-08-02 13:10:00 +01:00
RiotRobot e2ef5d1737 Resetting package fields for development 2021-08-02 13:08:10 +01:00
RiotRobot e77f7319f2 v3.27.0 2021-08-02 13:06:29 +01:00
RiotRobot d1e7c48125 Upgrade matrix-js-sdk to 12.2.0 2021-08-02 13:05:48 +01:00
James Salter e4722ee457 Override posthog type definitions to point to a locally fixed type definition file
Posthog's type definitions refer to types in transitive dependencies we don't want to include.

Clone posthog.d.ts locally, remove the offending types from it, and provide an overriding mapping in tsconfig.

If this proves annoying to maintain, posthog.d.ts could just be an empty file.
2021-07-28 17:14:36 +01:00
James Salter df6d772d8d Pin posthog version
We'd like to manually review each posthog change to avoid unanticipated tracking leakages;
each upgrade should include reviewing the data coming in on events
2021-07-28 14:40:32 +01:00
James Salter 55e8173ee9 remove whitespace 2021-07-28 12:12:10 +01:00
James Salter d96e7e3375 Add transitive dev dependencies of posthog
This is needed during tsc lint as posthog imports types from these
libraries into its type definitions
2021-07-28 12:08:55 +01:00
James Salter bd7e2dee3d Merge remote-tracking branch 'origin' into posthog-analytics 2021-07-28 11:13:22 +01:00
RiotRobot 37faa1caa9 v1.7.34-rc.1 2021-07-27 16:10:26 +01:00
RiotRobot e6e701f5e9 Upgrade matrix-react-sdk to 3.27.0-rc.1 2021-07-27 16:07:21 +01:00
RiotRobot c04daeaa20 Upgrade matrix-js-sdk to 12.2.0-rc.1 2021-07-27 16:06:42 +01:00
RiotRobot cc0ff41360 v3.27.0-rc.1 2021-07-27 16:01:52 +01:00
RiotRobot 78eb8ffc26 Upgrade matrix-js-sdk to 12.2.0-rc.1 2021-07-27 15:51:16 +01:00
Jaiwanth 0609ebc430 Add raw-loader to moduleNameMapper 2021-07-27 14:45:51 +05:30
Jaiwanth 371d1026fa Add jest-raw-loader 2021-07-27 12:11:08 +05:30
Jaiwanth 57590b9a8a Use raw-loaders to import svgs and exportJS 2021-07-27 11:37:47 +05:30
Jaiwanth 41bc2b6481 Move away from streamsaver(for now) 2021-07-26 22:15:05 +05:30
Michael Telatynski 481f67514b Update matrix-org-eslint-plugin and tighten max warning limit
Whilst it is down, make the most of it!
2021-07-23 16:12:07 +01:00
James Salter 2a48d3c9bc First pass at a PosthogAnalytics class 2021-07-21 07:40:39 +01:00
Jaiwanth 1ed316851a Merge upstream and resolve conflicts 2021-07-21 11:35:27 +05:30
Michael Telatynski d8c4ab53e0 Merge pull request #6347 from robintown/emojibase-updates 2021-07-20 12:57:00 +01:00
Jaiwanth 98aa1fe6b3 Move @types/streamsaver to devDependencies 2021-07-20 13:47:51 +05:30
Michael Telatynski e136afe2eb Conform to new typescript eslint rules 2021-07-19 22:47:32 +01:00
Michael Telatynski ce78cdf4ad Conform to new react and typescript eslint rules 2021-07-19 22:43:11 +01:00
RiotRobot 9d56b56116 Reset matrix-react-sdk back to develop branch 2021-07-19 16:27:02 +01:00
RiotRobot bdb03c4490 Reset matrix-js-sdk back to develop branch 2021-07-19 16:26:51 +01:00
RiotRobot cfa47eec00 Merge branch 'master' into develop 2021-07-19 16:26:38 +01:00
RiotRobot d75b0b4ee8 v1.7.33 2021-07-19 16:22:37 +01:00