Commit graph

587 commits

Author SHA1 Message Date
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
Perflyst ae2ad21996
Use correct path 2019-04-14 08:49:05 +02:00
Travis Ralston d36436eca4 Don't fail to register for tokens when upstreams are offline 2019-04-13 17:25:30 -06:00
Travis Ralston 087d15eeaa Filter out bridges which aren't configured 2019-04-13 17:19:55 -06:00
Travis Ralston 266cf8c0d8 Don't crash if bridges are offline
Fixes https://github.com/turt2live/matrix-dimension/issues/131
2019-04-13 17:06:43 -06:00
Travis Ralston 8cd5067e73 Assume upstream tokens are valid if they are offline 2019-04-13 16:58:20 -06:00
Travis Ralston 52f3c72db6 Add a bit of safety around the IRC bridge and other integrations 2019-04-13 16:31:02 -06:00
Travis Ralston 0c66f0f5d2 Don't let the title attribute carry into child elements 2019-04-13 16:29:53 -06:00
Travis Ralston 5a7997450d Upgrade web packages too 2019-04-13 14:37:56 -06:00
Travis Ralston 95e8d93e39 Misc package updates 2019-04-13 13:26:48 -06:00
Perflyst e31f975ae8
Move fonts into public folder 2019-04-12 14:58:45 +02:00
Perflyst aad1f1fa40
Add opensans100-roboto300.ttf locally 2019-04-06 19:24:09 +02:00
Perflyst 2f66cd228a
Use local assets 2019-04-06 19:17:02 +02:00
Travis Ralston f8b7f9dd82 Acknowledge OpenID credentials are received
This stops Riot from printing irrelevant stack traces
2019-04-01 19:40:40 -06:00
Travis Ralston 4712bdc9b7 Reduce chance of sticker duplication
Fixes https://github.com/turt2live/matrix-dimension/issues/264
2019-03-29 18:47:10 -06:00
Travis Ralston 80f4a8053e Add docs for installing, troubleshooting, and non-federated environments
Fixes https://github.com/turt2live/matrix-dimension/issues/248
Fixes https://github.com/turt2live/matrix-dimension/issues/160
Fixes https://github.com/turt2live/matrix-dimension/issues/258
2019-03-27 20:52:07 -06:00
Travis Ralston 0c0429df46 Merge branch 'travis/token-security' 2019-03-27 08:30:12 -06:00