diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index acd16c70d..613e0db4d 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -11,7 +11,7 @@ assignees: '' If you do not fill in this template, your issue will be closed without explanation. Use https://stackoverflow.com/questions/tagged/casl to ask technical questions and ask for help with technical issues. -Use https://gitter.im/stalniy-casl/casl to discuss roadmap, possible feature requests and anything else +Use https://discord.gg/TkyBtcNN to discuss roadmap, possible feature requests and anything else --> **Describe the bug** diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index f1bdb1546..543dd5807 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -11,7 +11,7 @@ assignees: '' If you do not fill in this template, your issue will be closed without explanation. Use https://stackoverflow.com/questions/tagged/casl to ask technical questions and ask for help with technical issues. -Use https://gitter.im/stalniy-casl/casl to discuss roadmap, possible feature requests and anything else +Use https://discord.gg/TkyBtcNN to discuss roadmap, possible feature requests and anything else --> **Is your feature request related to a problem? Please describe.** diff --git a/BACKERS.md b/BACKERS.md index ef844dfa6..da37a670b 100644 --- a/BACKERS.md +++ b/BACKERS.md @@ -4,7 +4,7 @@ CASL.js is an MIT-licensed open source project. It's an independent project with Maintaining and developing Open Source project takes considerable amount of time to: * read, analyze and prioritize issues -* answer questions in gitter chat and stackoverflow +* answer questions in support chat and stackoverflow * create articles and examples of how to use CASL So, I am currently exploring the possibility of working on CASL fulltime. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index dbbff7036..baa051d29 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -11,7 +11,7 @@ I would love for you to contribute to CASL and help make it even better than it ## Got a Question or Problem? -Do not open issues for general support questions as I want to keep GitHub issues for bug reports and feature requests. You've got much better chances of getting your question answered on [gitter chat][gitter] or [stackoverflow](https://stackoverflow.com/questions/tagged/casl). +Do not open issues for general support questions as I want to keep GitHub issues for bug reports and feature requests. You've got much better chances of getting your question answered on [support chat][chat] or [stackoverflow](https://stackoverflow.com/questions/tagged/casl). ## Found a Bug? @@ -88,5 +88,5 @@ The commit message format is borrowed from Angular projects and you can find [mo [commit-message-format]: https://docs.google.com/document/d/1QrDFcIiPjSLDn3EL15IJygNPiHORgU1_OOAqWjiDU5Y/edit# [github]: https://github.com/stalniy/casl -[gitter]: https://gitter.im/stalniy-casl/casl +[chat]: https://discord.gg/TkyBtcNN [js-style-guide]: https://github.com/airbnb/javascript diff --git a/README.md b/README.md index fea97fbbf..92e3a6f2b 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ [![Financial Contributors on Open Collective](https://opencollective.com/casljs/all/badge.svg?label=financial+contributors)](https://opencollective.com/casljs) ![build](https://github.com/stalniy/casl/workflows/CI/badge.svg) [![CASL codecov](https://codecov.io/gh/stalniy/casl/branch/master/graph/badge.svg)](https://codecov.io/gh/stalniy/casl) -[![CASL Join the chat at https://gitter.im/stalniy-casl/casl](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/stalniy-casl/casl) +[![CASL Join the chat at https://discord.gg/TkyBtcNN](https://img.shields.io/badge/Support-Discord%20channel-green?style=flat&link=https://discord.gg/TkyBtcNN&cacheSeconds=86400)](https://discord.gg/TkyBtcNN)

@@ -73,7 +73,7 @@ A lot of detailed information about CASL, integrations and examples can be found ## Have a question? -Ask it in [chat](https://gitter.im/stalniy-casl/casl) or on [stackoverflow](https://stackoverflow.com/questions/tagged/casl). Please don't ask questions in issues, the issue list of this repo is **exclusively** for bug reports and feature requests. Questions in the issue list may be closed immediately without answers. +Ask it in [support chat][support-chat] or on [stackoverflow](https://stackoverflow.com/questions/tagged/casl). Please don't ask questions in issues, the issue list of this repo is **exclusively** for bug reports and feature requests. Questions in the issue list may be closed immediately without answers. ## CASL crash course @@ -271,3 +271,4 @@ Copyright (c) 2017-present, Sergii Stotskyi [react]: https://reactjs.org/ [aurelia]: http://aurelia.io [prisma]: https://www.prisma.io/ +[support-chat]: https://discord.gg/TkyBtcNN \ No newline at end of file diff --git a/docs-src/src/config/menu.yml b/docs-src/src/config/menu.yml index 5b95b148a..f2c007023 100644 --- a/docs-src/src/config/menu.yml +++ b/docs-src/src/config/menu.yml @@ -30,7 +30,7 @@ items: - name: questions url: https://stackoverflow.com/questions/tagged/casl - name: chat - url: https://gitter.im/stalniy-casl/casl + url: https://discord.gg/TkyBtcNN - heading: news - name: blog url: https://sergiy-stotskiy.medium.com diff --git a/docs-src/src/content/app/en.yml b/docs-src/src/content/app/en.yml index 4b2d9f59b..8ebef7b25 100644 --- a/docs-src/src/content/app/en.yml +++ b/docs-src/src/content/app/en.yml @@ -32,7 +32,7 @@ menu: help: Help questions: Ask a question - chat: Chat + chat: Support chat news: News blog: Blog support: Support CASL diff --git a/docs-src/src/content/pages/guide/intro/en.md b/docs-src/src/content/pages/guide/intro/en.md index e92dd7b7c..e729818c3 100644 --- a/docs-src/src/content/pages/guide/intro/en.md +++ b/docs-src/src/content/pages/guide/intro/en.md @@ -9,7 +9,7 @@ meta: [![@casl/ability NPM version](https://badge.fury.io/js/%40casl%2Fability.svg)](https://badge.fury.io/js/%40casl%2Fability) [![](https://img.shields.io/npm/dm/%40casl%2Fability.svg)](https://www.npmjs.com/package/%40casl%2Fability) -[![CASL Join the chat](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/stalniy-casl/casl) +[![CASL Join the chat at https://discord.gg/TkyBtcNN](https://img.shields.io/badge/Support-Discord%20channel-green?style=flat&link=https://discord.gg/TkyBtcNN&cacheSeconds=86400)](https://discord.gg/TkyBtcNN) ## What is CASL? diff --git a/packages/casl-ability/README.md b/packages/casl-ability/README.md index 2a7885c1a..50d4e06fa 100644 --- a/packages/casl-ability/README.md +++ b/packages/casl-ability/README.md @@ -1,4 +1,4 @@ -# [CASL Ability](https://stalniy.github.io/casl/) [![@casl/ability NPM version](https://badge.fury.io/js/%40casl%2Fability.svg)](https://badge.fury.io/js/%40casl%2Fability) [![](https://img.shields.io/npm/dm/%40casl%2Fability.svg)](https://www.npmjs.com/package/%40casl%2Fability) [![CASL Documentation](https://img.shields.io/badge/documentation-available-brightgreen.svg)](https://stalniy.github.io/casl/) [![CASL Join the chat](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/stalniy-casl/casl) +# [CASL Ability](https://stalniy.github.io/casl/) [![@casl/ability NPM version](https://badge.fury.io/js/%40casl%2Fability.svg)](https://badge.fury.io/js/%40casl%2Fability) [![](https://img.shields.io/npm/dm/%40casl%2Fability.svg)](https://www.npmjs.com/package/%40casl%2Fability) [![CASL Documentation](https://img.shields.io/badge/documentation-available-brightgreen.svg)](https://stalniy.github.io/casl/) [![CASL Join the chat at https://discord.gg/TkyBtcNN](https://img.shields.io/badge/Support-Discord%20channel-green?style=flat&link=https://discord.gg/TkyBtcNN&cacheSeconds=86400)](https://discord.gg/TkyBtcNN) This package is the core of CASL. It includes logic responsible for [checking and defining][intro] permissions. diff --git a/packages/casl-angular/README.md b/packages/casl-angular/README.md index af55b57c0..29fbb9623 100644 --- a/packages/casl-angular/README.md +++ b/packages/casl-angular/README.md @@ -2,7 +2,7 @@ [![@casl/angular NPM version](https://badge.fury.io/js/%40casl%2Fangular.svg)](https://badge.fury.io/js/%40casl%2Fangular) [![](https://img.shields.io/npm/dm/%40casl%2Fangular.svg)](https://www.npmjs.com/package/%40casl%2Fangular) -[![CASL Join the chat](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/stalniy-casl/casl) +[![CASL Join the chat at https://discord.gg/TkyBtcNN](https://img.shields.io/badge/Support-Discord%20channel-green?style=flat&link=https://discord.gg/TkyBtcNN&cacheSeconds=86400)](https://discord.gg/TkyBtcNN) This package allows to integrate `@casl/ability` with [Angular] application. It provides deprecated `AblePipe`, `AblePurePipe` and new `AbilityService` and `AbilityServiceSignal` to Angular templates, so you can show or hide components, buttons, etc based on user ability to see them. diff --git a/packages/casl-aurelia/README.md b/packages/casl-aurelia/README.md index b7806d5db..c497ef440 100644 --- a/packages/casl-aurelia/README.md +++ b/packages/casl-aurelia/README.md @@ -2,7 +2,7 @@ [![@casl/aurelia NPM version](https://badge.fury.io/js/%40casl%2Faurelia.svg)](https://badge.fury.io/js/%40casl%2Faurelia) [![](https://img.shields.io/npm/dm/%40casl%2Faurelia.svg)](https://www.npmjs.com/package/%40casl%2Faurelia) -[![CASL Join the chat](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/stalniy-casl/casl) +[![CASL Join the chat at https://discord.gg/TkyBtcNN](https://img.shields.io/badge/Support-Discord%20channel-green?style=flat&link=https://discord.gg/TkyBtcNN&cacheSeconds=86400)](https://discord.gg/TkyBtcNN) This package allows to integrate `@casl/ability` with [Aurelia] application. It provides `AbleValueConverter` and **deprecated** `CanValueConverter` to Aurelia templates, so you can show or hide components, buttons, etc based on user ability to see them. diff --git a/packages/casl-mongoose/README.md b/packages/casl-mongoose/README.md index c427c1898..d90a72e50 100644 --- a/packages/casl-mongoose/README.md +++ b/packages/casl-mongoose/README.md @@ -2,7 +2,7 @@ [![@casl/mongoose NPM version](https://badge.fury.io/js/%40casl%2Fmongoose.svg)](https://badge.fury.io/js/%40casl%2Fmongoose) [![](https://img.shields.io/npm/dm/%40casl%2Fmongoose.svg)](https://www.npmjs.com/package/%40casl%2Fmongoose) -[![CASL Join the chat](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/stalniy-casl/casl) +[![CASL Join the chat at https://discord.gg/TkyBtcNN](https://img.shields.io/badge/Support-Discord%20channel-green?style=flat&link=https://discord.gg/TkyBtcNN&cacheSeconds=86400)](https://discord.gg/TkyBtcNN) This package integrates [CASL] and [MongoDB]. In other words, it allows to fetch records based on CASL rules from MongoDB and answer questions like: "Which records can be read?" or "Which records can be updated?". diff --git a/packages/casl-prisma/README.md b/packages/casl-prisma/README.md index 05a640111..6852a7b60 100644 --- a/packages/casl-prisma/README.md +++ b/packages/casl-prisma/README.md @@ -2,7 +2,7 @@ [![@casl/prisma NPM version](https://badge.fury.io/js/%40casl%2Fprisma.svg)](https://badge.fury.io/js/%40casl%2Fprisma) [![](https://img.shields.io/npm/dm/%40casl%2Fprisma.svg)](https://www.npmjs.com/package/%40casl%2Fprisma) -[![CASL Join the chat](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/stalniy-casl/casl) +[![CASL Join the chat at https://discord.gg/TkyBtcNN](https://img.shields.io/badge/Support-Discord%20channel-green?style=flat&link=https://discord.gg/TkyBtcNN&cacheSeconds=86400)](https://discord.gg/TkyBtcNN) This package allows to define [CASL] permissions on [Prisma] models using Prisma `WhereInput`. And that brings a lot of power in terms of permission management in SQL world: diff --git a/packages/casl-react/README.md b/packages/casl-react/README.md index c7aa603d6..c53924332 100644 --- a/packages/casl-react/README.md +++ b/packages/casl-react/README.md @@ -2,7 +2,7 @@ [![@casl/react NPM version](https://badge.fury.io/js/%40casl%2Freact.svg)](https://badge.fury.io/js/%40casl%2Freact) [![](https://img.shields.io/npm/dm/%40casl%2Freact.svg)](https://www.npmjs.com/package/%40casl%2Freact) -[![CASL Join the chat](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/stalniy-casl/casl) +[![CASL Join the chat at https://discord.gg/TkyBtcNN](https://img.shields.io/badge/Support-Discord%20channel-green?style=flat&link=https://discord.gg/TkyBtcNN&cacheSeconds=86400)](https://discord.gg/TkyBtcNN) This package allows to integrate `@casl/ability` with [React] application. It provides `Can` component that allow to hide or show UI elements based on user ability to see them. diff --git a/packages/casl-vue/README.md b/packages/casl-vue/README.md index 759ae18f5..dc58a54c7 100644 --- a/packages/casl-vue/README.md +++ b/packages/casl-vue/README.md @@ -2,7 +2,7 @@ [![@casl/vue NPM version](https://badge.fury.io/js/%40casl%2Fvue.svg)](https://badge.fury.io/js/%40casl%2Fvue) [![](https://img.shields.io/npm/dm/%40casl%2Fvue.svg)](https://www.npmjs.com/package/%40casl%2Fvue) -[![CASL Join the chat](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/stalniy-casl/casl) +[![CASL Join the chat at https://discord.gg/TkyBtcNN](https://img.shields.io/badge/Support-Discord%20channel-green?style=flat&link=https://discord.gg/TkyBtcNN&cacheSeconds=86400)](https://discord.gg/TkyBtcNN) This package allows to integrate `@casl/ability` with [Vue 3] application. So, you can show or hide UI elements based on user ability to see them.