Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v1.4.1 #715

Merged
merged 56 commits into from
Feb 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
01b3e77
added UI for viewing files, button and table
janhvipatil Jan 29, 2024
cfc61bc
added API to fetch files in channel
janhvipatil Feb 2, 2024
ef2f326
added menu for file actions
janhvipatil Feb 2, 2024
61118af
adds the list of contibutors
ayushrai206 Feb 4, 2024
d407a01
Merge branch 'develop' into update-readme#297
ayushrai206 Feb 4, 2024
6c67c40
chore: updated packages on mobile app
nikkothari22 Feb 11, 2024
73a0164
fix: removed stupid placeholder
nikkothari22 Feb 11, 2024
16c1b19
fix: clamp reply block content
nikkothari22 Feb 11, 2024
3ffa49c
fix: color scheme on mobile app
nikkothari22 Feb 11, 2024
50cd8bd
fix: login method updated with frappe-react-sdk
nikkothari22 Feb 11, 2024
98c48d6
feat: show reactions on mobile app
nikkothari22 Feb 12, 2024
6208e32
wip: message reactions on command palette
nikkothari22 Feb 12, 2024
8177637
Merge pull request #657 from ayushrai206/update-readme#297
nikkothari22 Feb 15, 2024
4b087a7
Update README.md
nikkothari22 Feb 15, 2024
8cafc8b
feat(dev): added codespaces configuration
nikkothari22 Feb 15, 2024
f74a5f4
Merge pull request #676 from The-Commit-Company/675-add-codespaces-co…
nikkothari22 Feb 15, 2024
dbc59da
fixed count for file pagination
janhvipatil Feb 16, 2024
f354f52
added file button in dm channel header
janhvipatil Feb 16, 2024
486b9cc
RAV-72 Allow login via username [#677]
prathameshkurunkar7 Feb 19, 2024
6d9419b
RAV-72 Allow login via username [#677]
prathameshkurunkar7 Feb 19, 2024
9af3bef
Merge pull request #683 from The-Commit-Company/677-allow-login-via-u…
nikkothari22 Feb 19, 2024
199a6fb
fix: make reusable useFileURLCopy hook
nikkothari22 Feb 19, 2024
4d92a28
fix: avoid duplicate file creation
nikkothari22 Feb 19, 2024
ab447a9
fix: upload file API for JPEGs
nikkothari22 Feb 19, 2024
fb616aa
fix: API to fetch files
nikkothari22 Feb 19, 2024
c6ae1dd
feat: added image hover preview
nikkothari22 Feb 19, 2024
06b3aa7
Merge pull request #681 from The-Commit-Company/rav-49-add-a-files-bu…
nikkothari22 Feb 19, 2024
8b2cfc5
fix: last channel opened not being maintained in local storage
prathameshkurunkar7 Feb 20, 2024
f38d166
Merge pull request #684 from The-Commit-Company/678-last-channel-open…
nikkothari22 Feb 20, 2024
c237602
Merge branch 'develop' into 481-rav-4-add-support-for-reactions-on-mo…
nikkothari22 Feb 21, 2024
3234b8b
feat: show reactions under messages
nikkothari22 Feb 21, 2024
12dac5e
feat: allow users to react to messages on the mobile app
nikkothari22 Feb 21, 2024
6ac640b
chore: updated mobile deps
nikkothari22 Feb 21, 2024
a82b272
Merge pull request #689 from The-Commit-Company/481-rav-4-add-support…
nikkothari22 Feb 21, 2024
951b59e
fix(mobile): refresh messages when user reacts
nikkothari22 Feb 22, 2024
9755e4d
Merge pull request #695 from The-Commit-Company/690-reactions-on-mobi…
nikkothari22 Feb 22, 2024
9fe88d8
fix: API path for creating a DM channel via search
nikkothari22 Feb 22, 2024
b06f495
fix: only show enabled users on mentions and add members
nikkothari22 Feb 22, 2024
b449b69
fix: show error message if users have a role profile attached to them
nikkothari22 Feb 22, 2024
eb7e870
Merge pull request #696 from The-Commit-Company/691-cannot-create-dir…
nikkothari22 Feb 22, 2024
b5bbcb6
fix: autofocus tiptap editor
nikkothari22 Feb 22, 2024
abb3410
Merge pull request #698 from The-Commit-Company/refocus-tiptap-editor
nikkothari22 Feb 22, 2024
317de41
fix: permission checks + read channel type from cache
nikkothari22 Feb 23, 2024
f36608f
fix(ui): width of user avatar in message preview of mobile
nikkothari22 Feb 23, 2024
87fb1c8
Merge pull request #706 from The-Commit-Company/703-user-avatar-is-ge…
nikkothari22 Feb 23, 2024
f482f53
fix(ui): wrap reactions on mobile app
nikkothari22 Feb 23, 2024
3c5ff79
Merge pull request #707 from The-Commit-Company/699-not-able-to-see-m…
nikkothari22 Feb 23, 2024
de4d009
fix: create raven user for website users if role is assigned to them
nikkothari22 Feb 23, 2024
335267d
Merge pull request #708 from The-Commit-Company/704-not-able-to-add-r…
nikkothari22 Feb 23, 2024
045da43
fix: scroll to current selected item in mention list
nikkothari22 Feb 23, 2024
ac0d9f3
Merge pull request #711 from The-Commit-Company/700-mentions-are-not-…
nikkothari22 Feb 23, 2024
3b3149b
fix: do not fetch unread count for archived channels
nikkothari22 Feb 23, 2024
baf80a5
Merge pull request #712 from The-Commit-Company/709-count-of-the-unre…
nikkothari22 Feb 23, 2024
6a7c659
fix: mention list on mobile
nikkothari22 Feb 23, 2024
23dcba4
Merge pull request #714 from The-Commit-Company/702-not-able-to-menti…
nikkothari22 Feb 23, 2024
153ddb3
chore: bumped version to v1.4.1
nikkothari22 Feb 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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) |
70 changes: 35 additions & 35 deletions mobile/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mobile",
"private": true,
"version": "1.4.0",
"version": "1.4.1",
"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
Loading