Commit Graph

503 Commits

Author SHA1 Message Date
Peter Hormanns
f0237cc3f1 add meta-tag viewport 2019-07-31 20:32:20 +02:00
Travis Ralston
f8fa99a9f0
Merge pull request #297 from TheTimeWalker/docker-node-upgrade
Update Node to latest LTS since Node SASS dropped Node 9 support
2019-07-29 20:42:39 -06:00
Tony Stipanic
623bbaefee
Update Node to LTS 10.16.0
Fixes Node SASS download fail: https://github.com/sass/node-sass/issues/2564
2019-07-29 22:21:35 +02:00
Travis Ralston
a4c6720840 delint 2019-07-23 00:27:03 -06:00
Travis Ralston
dd53cb8484 Merge branch 'travis/msc2140-tos' 2019-07-22 18:09:41 -06:00
Travis Ralston
e006851465 Make terms of service endpoint match MSC 2019-07-22 18:09:25 -06:00
Travis Ralston
9cc1454527 Merge branch 'master' into travis/msc2140-tos 2019-07-10 22:22:50 -06:00
Travis Ralston
2737850e6f Format web code 2019-07-10 22:17:16 -06:00
Travis Ralston
2e19cec215 Format app code 2019-07-10 22:11:55 -06:00
Travis Ralston
c5108da67b Rename MSC things to be Matrix things 2019-07-10 22:10:10 -06:00
Travis Ralston
8f537ee078 Handle upstream policies too 2019-07-10 22:04:08 -06:00
Travis Ralston
c96366b647 Logout upstream as well (best effort) 2019-07-10 21:26:22 -06:00
Travis Ralston
18ee47fa49 Use the right scalar route for the request 2019-07-10 21:16:04 -06:00
Travis Ralston
cf212d8f4e Support terms handling on legacy scalar route 2019-07-10 20:59:39 -06:00
Travis Ralston
3b4aa7b0ba Use MSCSecurity for all auth 2019-07-10 19:30:06 -06:00
Travis Ralston
7d54948d7e Support legacy auth on account endpoints 2019-07-10 18:40:30 -06:00
Travis Ralston
852e737e33 Use a cache for published policies 2019-07-10 18:34:21 -06:00
Travis Ralston
ae42d673d7 Disable admin routes from policy checks 2019-07-10 18:12:23 -06:00
Travis Ralston
4e220bb6af
Merge pull request #289 from lava/master
Fix bugs related to custom sticker integration
2019-07-09 16:03:06 -06:00
Benno Evers
ee72ba7579 Add non-emptiness check for array.
The unconditional access to `widgets.response[0]` would fail if
results was null or empty, leading to an exception that prevented
replacing the sticker picker.
2019-07-09 23:54:36 +02:00
Benno Evers
7c1b0094b5 Always show dialog to add new sticker packs when custom packs are enabled.
The text box allowing a user to add a new sticker pack was behind
a `packs > 0` check, making it impossible to add new packs unless
at least one other pack was already present.
2019-07-09 23:54:11 +02:00
Travis Ralston
147d8a18ae Simple implementation of listing and accepting policies 2019-07-06 16:41:07 -06:00
Travis Ralston
6c6ae5c5ed Render terms of service as a widget 2019-07-06 15:40:32 -06:00
Travis Ralston
1c8b523114 Support editing and publishing terms 2019-07-06 15:22:47 -06:00
Travis Ralston
b9e616639e Support creating drafts of policies 2019-07-04 22:55:13 -06:00
Travis Ralston
77d34197c9 Early mockup of admin management for policies 2019-07-01 20:49:44 -06:00
Travis Ralston
e8d876b5d2 Remove legacy @angular/http package 2019-07-01 20:48:55 -06:00
Travis Ralston
a11e57db31 Early terms management UI 2019-06-30 23:05:33 -06:00
Travis Ralston
d9637b1d3d Very simple terms of service auth requirement 2019-06-30 19:38:24 -06:00
Travis Ralston
4ae49702bd Add quick script for only building the backend 2019-06-30 19:14:07 -06:00
Travis Ralston
fbc1173529 Support access token auth in the query string 2019-06-30 19:13:01 -06:00
Travis Ralston
293097f6fb Use new etherpad domain 2019-06-29 00:51:26 -06:00
Travis Ralston
8e077c7f72 Pin raw-loader at 1.0.0
See https://github.com/angular/angular-cli/issues/7245#issuecomment-506613047
2019-06-29 00:40:57 -06:00
Travis Ralston
f83268fbbc Upgrade angular 2019-06-29 00:40:24 -06:00
Travis Ralston
b79005d868 Use the new angular HttpClient 2019-06-29 00:21:56 -06:00
Travis Ralston
8882f4c8f6 Update Sequelize
Fixes https://github.com/turt2live/matrix-dimension/issues/287
2019-06-28 23:51:43 -06:00
Travis Ralston
9ff1a4bf3b Update packages 2019-06-27 21:55:09 -06:00
Travis Ralston
57d585d68a Implement MSC1961
See https://github.com/matrix-org/matrix-doc/pull/1961
2019-06-27 21:46:00 -06:00
Travis Ralston
d021974a22 Post JSON correctly to homeserver
Fixes https://github.com/turt2live/matrix-dimension/issues/284
2019-06-27 18:36:28 -06:00
Travis Ralston
4f92d56026
Merge pull request #285 from turt2live/travis/validate-certificates
Validate certificates as per Matrix 1.0
2019-06-11 10:14:32 -06:00
Travis Ralston
74cbe160db Validate certificates as per Matrix 1.0
Fixes https://github.com/turt2live/matrix-dimension/issues/238

See https://matrix.org/blog/2019/05/24/final-countdown-to-1-0
2019-06-02 15:27:15 -06:00
Travis Ralston
be66dd04f9 Handle upstream tokens more safely 2019-04-17 23:34:14 -06:00
Travis Ralston
109bceb924 Make ngbtooltip happier and not remount
When we use detectChanges(), ngbTooltip gets annoyed at us and stops working correctly. This commit also cleans up some of the attributes on the sticker button.

Fixes https://github.com/turt2live/matrix-dimension/issues/276
2019-04-17 22:58:18 -06:00
Travis Ralston
a3952a880c Don't replace sticker picker unless we have to 2019-04-17 22:57:30 -06:00
Travis Ralston
77d652d6c0 Handle offline integrations better 2019-04-14 16:39:44 -06:00
Travis Ralston
5aca4fde93 Fix colors of tables 2019-04-14 16:23:57 -06:00
Travis Ralston
1e98d60cf1 Override bootstrap styles for tables 2019-04-14 11:19:57 -06:00
Travis Ralston
77dddb270a
Merge pull request #272 from Perflyst/fix-256
Use local assets
2019-04-14 10:18:57 -06:00
Perflyst
8c8b296483
Fix build error 2019-04-14 09:06:11 +02:00
Perflyst
642a1d733d
Revert bootstrap changes 2019-04-14 08:57:02 +02:00