Skip to content

Commit

Permalink
Merge pull request #713 from The-Commit-Company/develop
Browse files Browse the repository at this point in the history
Merge Develop to rav-55
  • Loading branch information
sumitjain236 authored Feb 23, 2024
2 parents 406722c + baf80a5 commit 2e7b185
Show file tree
Hide file tree
Showing 133 changed files with 8,029 additions and 2,451 deletions.
25 changes: 25 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"name": "Frappe Bench",
"forwardPorts": [
8000,
9000,
6787
],
"remoteUser": "frappe",
"settings": {
"terminal.integrated.defaultProfile.linux": "bash",
"debug.node.autoAttach": "disabled"
},
"dockerComposeFile": "./docker-compose.yml",
"service": "frappe",
"workspaceFolder": "/workspace/frappe-bench",
"postCreateCommand": "bash /workspace/scripts/init.sh",
"shutdownAction": "stopCompose",
"extensions": [
"ms-python.python",
"ms-vscode.live-server",
"grapecity.gc-excelviewer",
"mtxr.sqltools",
"visualstudioexptteam.vscodeintellicode"
]
}
46 changes: 46 additions & 0 deletions .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
version: "3.7"
services:
mariadb:
image: mariadb:10.6
command:
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_unicode_ci
- --skip-character-set-client-handshake
- --skip-innodb-read-only-compressed # Temporary fix for MariaDB 10.6
environment:
MYSQL_ROOT_PASSWORD: 123
volumes:
- mariadb-data:/var/lib/mysql

# Enable PostgreSQL only if you use it, see development/README.md for more information.
# postgresql:
# image: postgres:11.8
# environment:
# POSTGRES_PASSWORD: 123
# volumes:
# - postgresql-data:/var/lib/postgresql/data

redis-cache:
image: redis:alpine

redis-queue:
image: redis:alpine

redis-socketio:
image: redis:alpine

frappe:
image: frappe/bench:latest
command: sleep infinity
environment:
- SHELL=/bin/bash
volumes:
- ..:/workspace:cached
working_dir: /workspace/frappe-bench
ports:
- 8000-8005:8000-8005
- 9000-9005:9000-9005

volumes:
mariadb-data:
postgresql-data:
91 changes: 91 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Bench Web",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/frappe-bench/apps/frappe/frappe/utils/bench_helper.py",
"args": [
"frappe",
"serve",
"--port",
"8000",
"--noreload",
"--nothreading"
],
"cwd": "${workspaceFolder}/frappe-bench/sites",
"env": {
"DEV_SERVER": "1"
}
},
{
"name": "Bench Default Worker",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/frappe-bench/apps/frappe/frappe/utils/bench_helper.py",
"args": [
"frappe",
"worker",
"--queue",
"default"
],
"cwd": "${workspaceFolder}/frappe-bench/sites",
"env": {
"DEV_SERVER": "1"
}
},
{
"name": "Bench Short Worker",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/frappe-bench/apps/frappe/frappe/utils/bench_helper.py",
"args": [
"frappe",
"worker",
"--queue",
"short"
],
"cwd": "${workspaceFolder}/frappe-bench/sites",
"env": {
"DEV_SERVER": "1"
}
},
{
"name": "Bench Long Worker",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/frappe-bench/apps/frappe/frappe/utils/bench_helper.py",
"args": [
"frappe",
"worker",
"--queue",
"long"
],
"cwd": "${workspaceFolder}/frappe-bench/sites",
"env": {
"DEV_SERVER": "1"
}
},
{
"name": "Honcho SocketIO Watch Schedule Worker",
"type": "python",
"request": "launch",
"program": "/home/frappe/.local/bin/honcho",
"cwd": "${workspaceFolder}/frappe-bench",
"console": "internalConsole",
"args": [
"start",
"socketio",
"watch",
"schedule",
"worker_short",
"worker_long",
"worker_default"
]
}
]
}
18 changes: 18 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"python.defaultInterpreterPath": "frappe-bench/env/bin/python",
"debug.node.autoAttach": "disabled",
"sqltools.connections": [
{
"mysqlOptions": {
"authProtocol": "default"
},
"previewLimit": 50,
"server": "mariadb",
"port": 3306,
"driver": "MariaDB",
"name": "MariaDB",
"username": "root",
"password": "123"
}
]
}
59 changes: 34 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,36 @@
<p align="center">
<a href="https://github.com/The-Commit-Company/Raven">
<img src="raven_logo.png" alt="Raven logo" height="100" />
<p align="center">Simple, open source team messaging platform</p>
</a>

<h3 align="center">Raven</h3>
<p align="center">Simple, open source team messaging platform
<br />
<br />
<a href="https://frappecloud.com/marketplace/apps/raven"><strong>Install on Frappe Cloud»</strong></a>
<br />
<br />
<a href="https://ravenapp.info"><strong>Learn More »</strong></a>
<br />
<br />
<a href="https://github.com/The-Commit-Company/Raven/issues">Issues</a>
·
<a href="https://github.com/The-Commit-Company/Raven/discussions">Discussions</a>
·
<a href="https://github.com/sponsors/The-Commit-Company?frequency=one-time">Sponsor Us!</a>
</p>
</p>
<p align="center">
<a href="https://github.com/The-Commit-Company/Raven/blob/main/LICENSE">
<img alt="license" src="https://img.shields.io/badge/license-AGPLv3-blue">
</a>
<a href="https://github.com/The-Commit-Company/Raven/stargazers"><img src="https://img.shields.io/github/stars/The-Commit-Company/Raven" alt="Github Stars"></a>
<a href="https://github.com/The-Commit-Company/Raven/pulse"><img src="https://img.shields.io/github/commit-activity/m/The-Commit-Company/Raven" alt="Commits-per-month"></a>
</p>

<br>

Raven is a simple work messaging tool that is built using [Frappe Framework](https://frappeframework.com) and can be installed on any new or existing Frappe site (e.g. in addition to ERPNext or [Gameplan](https://github.com/frappe/gameplan)). It is designed to help teams collaborate and communicate with each other and get work done. Teams can create their own channels (publically viewable or private) and send messages, emojis, files and images.
Raven is a simple work messaging tool that is built using [Frappe](https://frappeframework.com) and can be installed on any new or existing Frappe site (e.g. in addition to [ERPNext](https://erpnext.com/) or [FrappeHR](https://frappehr.com/)). It is designed to help teams collaborate and communicate with each other and get work done. Teams can create their own channels (publically viewable or private) and send messages, emojis, files and images.

<hr>

Expand Down Expand Up @@ -38,7 +58,7 @@ Raven was born out of a need to have a simple work communication tool that could

<hr>

## Tech Stack
## Built with

Raven is built using the [Frappe Framework](https://frappeframework.com) - an open-source full stack development framework.

Expand All @@ -49,11 +69,11 @@ These are some of the tools it's built on:
- [Socket.io](https://socket.io/)

The frontend is built using React and the following tools:
1. [ChakraUI](https://chakra-ui.com) - UI components
2. [frappe-react-sdk](https://github.com/nikkothari22/frappe-react-sdk) - simple React hooks to interface with a Frappe framework backend - built and maintained by us at The Commit Company.
3. [react-icons](https://react-icons.github.io) - Icon set
4. [Framer Motion](https://www.framer.com/motion/) - Animations
5. [Tiptap](https://www.tiptap.dev)
- [RadixUI](https://radix-ui.com)
- [frappe-react-sdk](https://github.com/nikkothari22/frappe-react-sdk) - simple React hooks to interface with a Frappe framework backend - built and maintained by us at The Commit Company.
- [react-icons](https://react-icons.github.io)
- [Tiptap](https://www.tiptap.dev)
- [Tailwind CSS](https://tailwindcss.com/)

The mobile app is built using [Ionic](https://ionicframework.com), [Tailwind CSS](tailwindcss.com) and [Capacitor](https://capacitorjs.com).

Expand Down Expand Up @@ -154,16 +174,15 @@ yarn dev

<hr>

## Repo Activity

## Future Plans
![Alt](https://repobeats.axiom.co/api/embed/044c9b441a0b61c450cebe6356051b9bacb4a3b4.svg "Repobeats analytics image")

We are currently working or will be working on the following features. Please head to our Github issues page and feel free to contribute:
## Contributors

1. Mobile app for Raven
2. Push notifications
3. Integration service - allowing other applications to create bots and send messages. Some popular services we are looking at are [Github](https://github.com), [Linear](https://linear.app), [Sentry](https://sentry.io), [Frappe Desk](https://frappedesk.com).

<hr>
<a href="https://github.com/The-Commit-Company/Raven/graphs/contributors">
<img src="https://contrib.rocks/image?repo=The-Commit-Company/Raven" />
</a>


## Reporting Bugs
Expand All @@ -176,13 +195,3 @@ If you find any bugs, feel free to report them here on [GitHub Issues](https://g
## License

AGPLv3

<hr>

## Maintainers

| Maintainer | GitHub | Social |
| -------------- | ----------------------------------------------- | ------------------------------------------------------------ |
| Janhvi Patil | [janhvipatil](https://github.com/janhvipatil) | [@janhvipatil\_](https://twitter.com/janhvipatil_) |
| Aditya Patil | [TITANiumRox](https://github.com/TITANiumRox) | | |
| Nikhil Kothari | [nikkothari22](https://github.com/nikkothari22) | [@nik_kothari22](https://twitter.com/nik_kothari22) |
72 changes: 36 additions & 36 deletions mobile/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mobile",
"private": true,
"version": "1.3.2",
"version": "1.4.0",
"type": "module",
"scripts": {
"dev": "vite",
Expand All @@ -10,58 +10,58 @@
"copy-html-entry": "cp ../raven/public/raven_mobile/index.html ../raven/www/raven_mobile.html"
},
"dependencies": {
"@capacitor/app": "^5.0.6",
"@capacitor/core": "^5.0.0",
"@capacitor/haptics": "^5.0.0",
"@ionic/react": "^7.5.2",
"@ionic/react-router": "^7.3.2",
"@capacitor/app": "^5.0.7",
"@capacitor/core": "^5.7.0",
"@capacitor/haptics": "^5.0.7",
"@ionic/react": "^7.7.3",
"@ionic/react-router": "^7.7.3",
"@ionic/storage": "^4.0.0",
"@tiptap/extension-code-block-lowlight": "^2.1.12",
"@tiptap/extension-highlight": "^2.1.12",
"@tiptap/extension-link": "^2.1.12",
"@tiptap/extension-mention": "^2.1.12",
"@tiptap/extension-placeholder": "^2.1.12",
"@tiptap/extension-typography": "^2.1.12",
"@tiptap/extension-underline": "^2.1.12",
"@tiptap/pm": "^2.1.12",
"@tiptap/react": "^2.1.12",
"@tiptap/starter-kit": "^2.1.12",
"@tiptap/suggestion": "^2.1.12",
"@tiptap/extension-code-block-lowlight": "^2.2.3",
"@tiptap/extension-highlight": "^2.2.3",
"@tiptap/extension-link": "^2.2.3",
"@tiptap/extension-mention": "^2.2.3",
"@tiptap/extension-placeholder": "^2.2.3",
"@tiptap/extension-typography": "^2.2.3",
"@tiptap/extension-underline": "^2.2.3",
"@tiptap/pm": "^2.2.3",
"@tiptap/react": "^2.2.3",
"@tiptap/starter-kit": "^2.2.3",
"@tiptap/suggestion": "^2.2.3",
"cal-sans": "^1.0.1",
"emoji-picker-element": "^1.18.4",
"frappe-react-sdk": "^1.3.8",
"emoji-picker-element": "^1.21.1",
"frappe-react-sdk": "^1.3.11",
"highlight.js": "^11.9.0",
"ionicons": "^7.1.2",
"ionicons": "^7.2.2",
"lowlight": "^3.1.0",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.45.4",
"react-icons": "^4.10.1",
"react-intersection-observer": "^9.5.2",
"react-markdown": "^8.0.7",
"react-hook-form": "^7.50.1",
"react-icons": "^5.0.1",
"react-intersection-observer": "^9.8.0",
"react-markdown": "^9.0.1",
"react-remark": "^2.1.0",
"react-router": "5.2.0",
"react-router-dom": "5.2.0",
"rehype-raw": "^7.0.0",
"rehype-sanitize": "^6.0.0",
"remark-gfm": "^3.0.1",
"swiper": "^10.2.0",
"remark-gfm": "^4.0.0",
"tippy.js": "^6.3.7",
"turndown": "^7.1.2"
},
"devDependencies": {
"@types/react": "^18.0.27",
"@types/react-dom": "^18.0.10",
"@capacitor/cli": "^5.7.0",
"@types/react": "^18.2.55",
"@types/react-dom": "^18.2.19",
"@types/react-router": "5.1.11",
"@types/react-router-dom": "^5.3.3",
"@types/turndown": "^5.0.3",
"@vitejs/plugin-react": "^4.0.4",
"autoprefixer": "^10.4.13",
"postcss": "^8.4.29",
"tailwindcss": "^3.2.7",
"@types/turndown": "^5.0.4",
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.4.17",
"postcss": "^8.4.35",
"tailwindcss": "^3.4.1",
"typescript": "^4.9.3",
"vite": "^4.4.9",
"vite-plugin-pwa": "^0.16.5"
"vite": "^5.1.4",
"vite-plugin-pwa": "^0.19.0"
}
}
}
Loading

0 comments on commit 2e7b185

Please sign in to comment.